WO1995032463A1 - A system for generating globally unique object indentities - Google Patents

A system for generating globally unique object indentities Download PDF

Info

Publication number
WO1995032463A1
WO1995032463A1 PCT/US1995/002139 US9502139W WO9532463A1 WO 1995032463 A1 WO1995032463 A1 WO 1995032463A1 US 9502139 W US9502139 W US 9502139W WO 9532463 A1 WO9532463 A1 WO 9532463A1
Authority
WO
WIPO (PCT)
Prior art keywords
globally unique
range
oid
client process
unique identifiers
Prior art date
Application number
PCT/US1995/002139
Other languages
French (fr)
Inventor
Winslow R. Cuthbert
Craig S. Harris
Craig R. Leckband
Paul Martel
Original Assignee
Ontos, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ontos, Inc. filed Critical Ontos, Inc.
Priority to JP53026595A priority Critical patent/JP3689713B2/en
Priority to EP95911061A priority patent/EP0803090A1/en
Publication of WO1995032463A1 publication Critical patent/WO1995032463A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/465Distributed object oriented systems

Definitions

  • the invention relates to the field of distributed object oriented databases and more particularly to the generation of globally unique object identifiers for distributed object oriented database systems.
  • ODB object oriented database
  • object identity is an inalienable characteristic of an object which can be used to differentiate the object from all other objects, even if other objects are otherwise similar, and to retrieve the object from a persistent storage device such as a magnetic disk and transfer the object into computer memory.
  • any pattern of bits can serve to implement the object identifier (OID) , so long as that pattern is never used to implement the identity of any other object.
  • OID object identifier
  • a machine or system which generates unique bit patterns would be sufficient for providing persistent OIDs so long as the same bit pattern was never generated twice.
  • performance considerations prefer OIDs that are as small as possible and systems which generate OIDs as quickly as possible.
  • OIDs are as small as possible and systems which generate OIDs as quickly as possible.
  • a distributed computing system consisting of multiple processors executing multiple client processes and interconnected by a network, there is a special challenge in assuring that each client process can locally assign OIDs that are globally unique across all client processes. Typically three basic approaches to this challenge have been attempted.
  • each client process independently generates globally unique OIDs.
  • One typical technique is to form OIDs by concatenating a processor identifier with a date-time stamp. Since each processor on the network has a unique identifier (for the purpose of network communication) and since the date-time stamp is monotonically increasing, each OID created is guaranteed to be unique.
  • each client process independently generates locally unique OIDs, which are then changed to globally unique OIDs (if necessary) by an independent agent, such as a central server.
  • each client process appeals to an independent agent such as a central server to generate globally unique OIDs each time the client process needs to create an object.
  • the second approach generates locally unique OIDs (LUIDs) and when these LUIDs happen to be also recognizably globally unique, this approach performs well.
  • problems arise in concurrent environments when the LUIDs must be converted or remapped into GUIDs. The cost of this conversion is at least proportional to the number of newly created objects and may be much greater, since all objects which reference newly created objects must have those references converted from LUID to GUID as well.
  • the third approach avoids both the conversion expense of the second approach, and the large GUIDs of the first approach.
  • performance problems associated with this method result from the more frequent communication with the server or coordinating agent than in either of the other approaches. Such frequent communication causes the performance to degrade very quickly in the presence of a large amount of network traffic.
  • the invention relates to a system for generating globally unique identifiers for objects in a distributed object oriented database.
  • the system comprises at least two processors each of which may execute one or more client processes and each of which is connected by means of a network to a server which provides globally unique identifiers for objects throughout the network.
  • Each client process on the network may transmit a request to the server which provides globally unique identifiers when the client process requires a globally unique object identifier to identify objects which the requesting client process is creating.
  • the server transmits a range of globally unique object identifiers to the requesting client process.
  • the requesting client process then allocates object identifiers from this range of globally unique object identifiers. Upon completion of the allocation of the globally unique object identifiers, to objects which it has created, the requesting client process then releases the unused globally unique object identifiers back to the server for use by other client processes.
  • Fig. 1 is a block diagram of an embodiment of the system of the invention
  • Fig. 2 is a block diagram of the communication between client processes and the globally unique identification server of the invention of Fig. 1;
  • Fig. 3 is a block diagram of the object identifier space of the present invention
  • Fig. 4 is a block diagram of a globally unique identification space during the process-server communications shown in Fig. 2;
  • Fig. 5 is a flow diagram of an embodiment of the system of Fig. 1 depicting the creation and transfer of a globally unique object identifier space object between client processes and a server process;
  • Fig. 6 is a flow diagram of another embodiment of the system of Fig. 1 depicting the transfer of parameter data between client processes and a server process.
  • a distributed object oriented database system (ODB) 8 includes a network 10 connecting at least three processors 12, 14 and 16.
  • Processors 12 and 14 are each executing two different client processes 18, 22 and 20, 24 respectively.
  • These client processes 18, 20, 22, 24 may be different incarnations of a single application program, or they may be different application programs.
  • client processes 18, 20, 22, 24 are running concurrently, and each is generating objects and hence using OIDs that must be globally unique.
  • Processor 16 is executing a server process 26 which provides globally unique identifiers for objects on the network.
  • Server process 26 may perform many functions, but for the purposes of this invention, server process 26 must at least assist in the generation of globally unique OIDs.
  • Server process 26 is hereinafter also referred to as a GUID Server 26.
  • processor 16 executing the GUID server process 26 may be running other unrelated processes 28 and need not be dedicated to the GUID generation task.
  • the distributed object oriented database system 8 will not require client processes 18, 20, 22, 24 to communicate with the GUID server 26 each time a globally unique object identifier is required. Instead, each client process 18, 20, 22, 24 will request a range of globally unique object identifiers from the GUID server 26 infrequently.
  • Step 50 Each time a client process 18, 20, 22, 24 requests a range of globally unique object identifiers from the GUID server 26, the client process 18, 20, 22, 24 is reserving a block of globally unique object identifiers.
  • a given client process, for example 18, has a range of OIDs reserved
  • no other client process, for example 20 can use OIDs in that range.
  • Each other client process 20, 22, 24 must reserve its own range instead. This guarantees that no two client processes 18, 20, 22, 24 can assign the same OID to objects it creates, and hence assures global uniqueness.
  • Step 52 The performance advantage of this method of OID generation accrues from the fact that a client process 18, 20, 22, 24 does not need to communicate with the GUID server 26 each time it needs an OID. In fact, additional requests to the GUID server 26 will only occur when a client process 18, 20, 22, 24 exhausts all the OIDs it previously reserved.
  • client process 18 is allocating OIDs to the objects it is creating, another client process 20 is reserving a different block of globally unique object identifiers.
  • client process 20 Once client process 20 has received its block of OIDs from GUID server 26, it too may begin allocating OIDs to objects it is creating. (Step 56)
  • client process 18 When client process 18 finishes allocating OIDs to objects it creates, client process 18 communicates with the GUID server 26 again to return any unused OIDs from the reserved range.
  • GUID server 26 After the client process 18 has returned the unused portion of the range of OIDs it previously reserved, GUID server 26 is free to provide the unused OIDs to any client process 18, 20, 22, 24 to honor subsequent reservation requests.
  • the technique of the invention may also be used to generate unique OIDs in an embodiment in which multiple ODB clients are executed on the same processor. In this embodiment, the client processes and the server process are able to communicate through shared memory. The performance improvement due to the method of the invention in such an embodiment is not as great as it is in an embodiment incorporating a network.
  • globally unique OID generation is coordinated by the GUID Server 26 using an object which is referred to as the OID Space 80.
  • OID Space 80 an object which is referred to as the OID Space 80.
  • a benefit of using the OID Space object is that this object allows multiple client processes 18, 20, 22, 24 executing concurrently on different processors 12, 14, to create new objects with new object identifiers, without the danger of creating duplicate OIDs.
  • the invention uses an OID Space object 80 to map sequential integers, from 0 through 2 3I -1, into the bit patterns which form the OID. Therefore, the number of valid OIDs in the space is equal to the number of integers in the sequence. This results in what is referred to as the cardinality of the OID Space object 80.
  • the GUID server 26 partitions the space of all valid OIDs into a number of non-overlapping OID ranges (1 through n) 82, 84, 86, 88, 90 in the OID Space object 80. These are the ranges which are reserved by client processes 18, 20, 22, 24 when object identifiers are required. At any given time, a given range, for example range_l 82, may be reserved by at most one client 18, 20, 22, 24. This means that number of OID Space ranges 82, 84, 86, 88, 90 is equal to the maximum number of client processes 18, 20, 22, 24 which can be generating objects and hence which will require OIDs at the same time.
  • a client process 18, 20, 22, 24 generally reserves a range of OIDs for the duration of the transaction which is creating objects. At the end of the transaction, when the client process has finished allocating OIDs, the client process 18, 20, 22, 24 records, for each range the client process has reserved, the highest OID 92, 94, 96, 98 that the client process actually allocated. Thus the unused portions of the reserved ranges may then be returned to the GUID server 26 for use by the same or other processes at a later time. If a client process 18, 20, 22, 24 has not used any OIDs in a range that the client process 18, 20, 22, 24 has reserved, the client process 18, 20, 22, 24 simply cancels the reservation.
  • Both the cardinality of the OID Space object 80 and the number of partitioned ranges are specified at the time the OID Space object 80 is created.
  • both the cardinality and the number of partitions may be any natural number (provided the number of partitions is less than or equal the cardinality)
  • the embodiment shown limits both numbers to being powers of 2. This permits the space to be divided into equal ranges and permits the quick computation of the start and end of each range by bit-shift operations.
  • OID Space object 80 is a data structure comprising three space parameters (Number_0f_0IDs, Number_Of_Partitions, Number_Of_Partitions_Created) , which are described below, and a High_Water_Vector 81.
  • the OID Space object 80 has a cardinality of 2 31 and has 2 7 partitions.
  • the OID Space object 80 depicted is capable of allocating about 2 billion OIDs, partitioned into 128 ranges 82, 84, 86, 88, 90 with about 16 million OIDs per range.
  • Each range 82, 84, 86, 88, 90 has a start OID 100, 102, 104, 106, 110 and an end OID.
  • the end OID of one range is an OID which is one less than the start OID 102, 104, 106, 108, 110 of the next subsequent range.
  • Fig. 3 depicts the numerical value of the start of each range, 100, 102, 104, 106, 108, 110.
  • Each range 82, 84, 86, 88, 90 may has a high water mark 92, 94, 96, 98, which indicates the last OID in that range to have been allocated. It should be noted that one complication of using an OID
  • Space object 80 to generate GUIDs is that the OID Space object 80 must itself have a globally unique identifier. This issue may be addressed in several ways.
  • a first method is to assign an OID in the OID Space object 80 to itself. Thus, for example, assigning the bit string 0 to the OID Space object 80, the first partition would have one less OID than the other partitions, but the first OID would be predetermined to belong to the OID Space object 80.
  • a second method is to simply make the OID Space object 80 one object in a larger OID object space which itself may have a prereserved OID.
  • Fig. 4 depicts the changes in OID Space object 80' as the communication between GUID server 26 and client processes 18 and 20 (as shown in Fig. 2) occur.
  • the OID Space object 80' is partitioned into 4 ranges 82', 84', 86', 88'.
  • Ranges 82', 84' and 86' each have allocated OIDs and hence have high water marks 92', 94' and 96' as indicated.
  • range 86' has a high water mark 96' which encompasses the entire range 86' and hence no further OIDs may be allocated from it.
  • range 88' has no OIDs allocated and hence its high water mark is at its start.
  • OIDs 130 in range 82' from the previous high water mark 92' to the end of the range 82' are marked as reserved (Step 50) .
  • OIDs 132 in a different range 84' from the previous high water mark 94' to the end of the range 84' are marked as reserved (Step 54).
  • client process 18 contacts GUID server 26 to return the unused portion of its reserved range 130 (Step 58) the high water mark 92'' in range 82' is increased to the level of the last used OID.
  • OIDs 134 between the new high water mark 92'' and the end of the range 82' are then marked as unreserved. If client process 18 then makes a request to the GUID server 26 to reserve a new range of OIDs (Step 60) , OIDs 136 from any unreserved range, in this example, 88', may then be allocated.
  • a client process 18 creates an OID Space object 80, partitions it into a number of ranges 82, 84, 86, 88, (Step 150) and then transfers OID object 80 to server process 26 (Step 152) .
  • Server process 26 is now responsible for storing the OID Space object 80 and for controlling locks on the object that prevent the object from being modified by more than one client process 18, 20 at a time.
  • client process 18 When client process 18 wishes to reserve a range of OIDs, client process 18 requests a range (Step 154) and, in response, server process 26 institutes a lock on the OID Space object 80 and transfers OID Space object 80 to client process 18 (Step 156) .
  • Client process 18 then reserves range 86 of OIDs (Step 158) .
  • Client process 18 therefore has a range of OIDs available for allocation as demarcated by the start and end of the range. At this time, no other concurrent client process can allocate OIDs in the range reserved by client process 18.
  • Client process 18 then transfers the object 80 back to server process 26, which releases the lock (Step 160) permitting client processes 18, 20, 22, 24 access to OID Space object 80.
  • Client process 18 then allocates an OID from this reserved range of OIDs to each object it creates.
  • client process 18 is allocating OIDs, client process 20 requests a range of OIDs (Step 162) and server process 26 again institutes a lock.
  • Server process 26 then transfers the OID Space object 80 to client process 20 (Step 164) .
  • Client process 20 reserves a range 82 of OIDs (Step 166) and returns the OID Space object 80 to server process 26, which releases the lock (Step 168).
  • client process 18 When client process 18 wishes to release its unused OIDs, it sends a request to server process 26 (Step 170) , which institutes a lock and transfers OID Space object 80 to client process 18 (Step 172) . When client process 18 has released the unused OIDs and reset the high water mark 180
  • Step 174 the OID Space object 80 is again transferred to server process 26 (Step 176) , which releases the lock.
  • the release of unused OIDs is initiated after the client has completed allocating OIDs from its reserved range. This completion usually occurs when the client's transaction completes (either by committing the transaction to disk or aborting) or, although rarely, when the client has exhausted its reserved range and must reserve a new range.
  • server process 26 creates an OID Space object 80 and partitions it into a number of ranges 82, 84, 86, 88, (Step 180).
  • Server process 26 is responsible for storing and maintaining the OID Space object.
  • client process 18 requests a range (Step 182) and, in response, server process 26 reserves a range of OIDs (Step 184) and transfers the OIDs at the lower and upper bounds of the reserved range to client process 18 (Step 186) .
  • Client process 18 therefore has a range of OIDs available for allocation demarcated by the start and end of the range. At this point no other concurrent client process 20 can allocate OIDs in the range reserved by client process 18. Client process 18 then allocates an OID from this range of OIDs to each object it creates.
  • process 20 requests a range of OIDs (Step 188) .
  • Server process 26 reserves a range of OIDs (Step 190) and transfers the lower and upper OIDs of the reserved range to process 20 (Step 192) .
  • client process 18 When client process 18 wishes to release its unused OIDs, it sends a request to server process 26 (Step 194) , which contains the last OID it used.
  • the release of unused OIDs is initiated after the client process has completed allocating OIDs from its reserved range. Again, this completion usually occurs when the client's transaction completes or, rarely, when the client process has exhausted its reserved range and must reserve a new range.
  • server process 26 resets the high water mark 180' (Step 196) and releases the remaining OIDs in the range for use.
  • Create and Partition an OID Object A function termed, Create_OID_Space_Object, of the form
  • Number_of_OID_Bits defines the number of bits which form the OID.
  • the number of bits in an OID is set to 31 by default and hence the OID Space contains 2 31 (-2 billion) OIDs. This default value assures that by default, the OIDs created will fit into a 32-bit long word. However, there is no theoretical upper bound on the size of OID. It should also be noted that one can place a lower bound on the size of an OID as well. In one embodiment a value of Number_Of_OID_Bits of less than eight bits is rounded up to eight.
  • the Number_of_Partition_Bits parameter defines the maximum number of client processes which can each reserve a range of OIDs concurrently, and hence is equal to the number of partitions in the OID Space object 80. In one embodiment the default value permits 128 partitions, so as many as 128 client processes can each reserve a range of OIDs concurrently.
  • the creation of the OID Space object 80 also results in the creation of a data structure termed a High_Water_Vector 81, which is a vector array.
  • Each entry in the vector represents a particular partition or OID range.
  • the vector would be 128 locations long; one location for each of the 128 partitions.
  • the number stored in a given location in the vector is the current largest OID which has been allocated from the range which corresponds to that entry location.
  • the high order, most significant bit (for example bit 32, for a 31 bit OID) of each location in the vector is interpreted as an ,, in-use" indicator. That is, if that bit is set (1) , the OID range represented by that location has been reserved. If the bit is 0, the range is available to be reserved.
  • these bit flags, one per OID range are stored in a separate vector.
  • NUMBER_OF_PARTITIO NS to maximum of NUMBER_OF_PARTITIO
  • N_BITS and NUMBER_OF_OIDS set NUMBER_OF_PARTITIONS_CREATED to 2 NUMBER - OF - PARTT ⁇ NS allocate High_Water_Vector to hold (Number_of_Partitions_Created) times
  • Reserve_Partition A function termed, Reserve_Partition, of the form
  • the function is a Boolean function which returns TRUE if the reservation is successful and FALSE if no range can be reserved. The FALSE return occurs only when all partitions are in use, or when those that are not in use have been exhausted. If the reservation is successful, the function sets the output parameters Beginning_OID and Ending_OID to the starting and ending OIDs respectively in the reserved partition or range. If this function is executed by a client process 18, 20, 22, 24, this function is followed immediately by the returning of the OID Space object 80, back to the server process 26, in order to release the lock and make the OID Space object 80 available for other users.
  • Cancel_Reservation of the form [Cancel_Reservation (An_OID_In_Reserved_Range) ] cancels the reservation for the range of OIDs that contains the OID referenced in the parameter An_OID_In_Reserved_Range.
  • this function is a Boolean function which returns TRUE if the cancellation is successful and FALSE if the cancellation failed because the OID in the parameter An_OID_In_Reserved_Range is not in a reserved range.
  • this function permits the client process 18, 20, 22, 24 to clear the high order bit in the High_Water_Vector 81 to indicate that the partition containing An_OID_In_Reserved_Range is no longer reserved, prior to transferring the OID Space object 80 from the client process 18, 20, 22, 24 to server process 26.
  • the server process 26 does not need to update the high water mark, since the Cancel_Reservation function indicates that no OIDs were allocated by the client process 18, 20, 22, 24.
  • the partition containing An_OID_In_Reserved_Range is marked as unreserved.
  • Set_New_High_Water_Mark of the form
  • [Set_New_High_Water_Mark (New_High_Water_Mark) ] is intended for use in conjunction with the Reserve_Partition function.
  • the parameter New_High_Water_Mark designates the last OID allocated by a client process 18, 20, 22, 24.
  • a client process 18, 20, 22, 24 first reserves a range of OIDs with the Reserve_Partition function, then allocates OIDs from that range as needed when new objects are created, and finally, uses
  • Set_New_High_Water_Mark to record the highest OID allocated at the end of a transaction.
  • a subsequent call to Reserve_Partition will return a start value which is one greater than the previous high water mark.
  • Locate_High_Water_Mark of the form [Locate_High_Water_Mark (Partition_Number) ] returns the last OID allocated within the specified Partition_Number.
  • the function can also be used to determine whether a given OID has been allocated yet. If a given OID is above the high water mark for its respective partition, it has not been allocated. If the OID is below the high water mark, it has been allocated, although there is no guarantee that it is still in use by an object.
  • Partition_Number This function is implemented such that the first OID of the range is returned whether or not it has already been allocated.
  • Get_First_OID_In_Range One use for Get_First_OID_In_Range is to find all the OIDs in use, but it is also used to find the last OID in the previous partition.
  • the following pseudocode demonstrates an embodiment of the implementation of this function: if (Partition_Number > number of partitions) then begin-then error end-then shift Partition_Number left by (NUMBER_OF_OID_BITS - NUMBER_OF_PARTITION_BITS) + 1 bits return result
  • the transferring of the OID Space object 80 between the client processes 18, 20, 22, 24 and server process 26 requires that the server process 26 be able to institute locks on the OID Space object 80 to prevent the object 80 from being changed by more than one client process 18, 20, 22, 24 simultaneously.
  • One method of providing a lock for object 80 is by making object 80 an instant update object (IUO) .
  • An instant update object is an object with the property that changes can be made to the object by one client application at a time and once these changes are complete, they become immediately visible to other client applications regardless of the current transaction mechanism. This is true even if the modifying client's transaction is not complete or even if the modifying client's transaction ultimately aborts. It should be noted that the treatment of an object as an IUO need not be inherent to the object or the object's type. In one embodiment, an object is an IUO if and only if it is locked with a particular kind of lock, called an Instant Update Lock.
  • OID Space object 80 is treated as an IUO so that when one client modifies the OID Space object 80 so as to reserve a range of OIDs, other clients see the modified OID Space object 80 so as to avoid reserving the same range but are not precluded from immediately reserving other ranges.
  • IUOs allow clients to see modifications to the object that have been made by others, IUOs must prevent clients from seeing modifications that are in the process of being made. Therefore, the purpose of locking the OID Space object 80 with an Instant Update Lock is twofold. First, the existence of an Instant Update Lock informs the server process to treat the locked object as an IUO. Second, the presence of the Instant Update Lock also blocks any other clients from reading the OID Space object 80 until it is released.
  • CA1 client application 1
  • CA2 client application 2
  • one embodiment requires that when a client application acquires an instant Update lock, it must make its modifications and release the lock before acquiring any other locks.
  • a client application attempts to acquire a lock while holding an instant Update Lock, an error condition occurs.
  • the server process maintains each instant update object as an element (an IUO_List Element) in a list.
  • Each IUO_List Element contains the globally unique identifier of an object (that is, the OID space object) , a pointer to the disk representation of the object (the OID space object) , an indication of whether the OID space object is modified, and if locked, a pointer to the transaction which has locked the underlying OID space object.
  • Each IU0_List Element contains a reference to the next IU0_List Element in the list. There is a static pointer to the start of the list.
  • SERVER FUNCTIONS The following server functions, read, write, commit and abort, handle access to data on the persistent storage device.
  • Server_Read_Procedure of the form [Server_Read_Procedure (OID, Lock_Type) ] reads an OID Space object 80, having an OID as indicated in parameter OID, and locks the OID Space object 80 with a lock of the type specified in parameter Lock_Type.
  • IUO_List_Element in the event the client transaction is aborted.
  • the server checks to see it held any instant update locks (on OID Space objects) and if so, it releases these locks so that other clients may access these objects.
  • the OID Space object 80 When the OID Space object 80 requested is not already in memory, the OID Space object 80 is read from disk and the variable Need_Recovery is set to true.
  • the recovery function iterates over the OID Space object's High_Water_Mark vector or bit flag and for each partition clears the bit used to indicate that the corresponding range of OIDs is reserved. Since the OID Space object 80 has just been read into memory, it cannot have any ranges reserved, so any reservations must have been left over from a previous session which terminated abnormally before it could clear this reserved bit.
  • one embodiment of the system has also implemented the following functions to provide increased functionality, although these functions need not be implemented to utilize the invention.
  • Ranges_In_Use of the form
  • OID Space object 80
  • Highest_Range_Used of the form [Highest_Range_Used] , returns a value equal to the highest range used for OID allocation. It should be noted that while no range higher than the returned range can contain allocated OIDs, the converse is not necessarily true. There may be unused ranges that are lower than the highest range. For example, if N clients reserved ranges and if K of those clients cancelled their reservations and the Nth client did not cancel, then there could be K ranges which are unused.
  • a function Get_OID_Size of the form, [Get_OID_Size] returns a value which is the number of bits in the OID, which is equal to the value of the Number_Of_OID_Bits input parameter to the Create_OID_Space_Object function.
  • a server process creates an OID Space object and writes the object to disk.
  • a client process requests the OID Space object and the server process reads the OID Space object from disk and locks the object.
  • the client process then sequentially reserves a range of OIDs, allocates OIDs from the reserved range and returns any unused OIDs.
  • the server process then unlocks the OID Space object and writes the OID Space object to disk.
  • N ew_H i gh_Wa t e r_Ma rk B e g i n n i n g_O I D +
  • the client process presently requests a range

Abstract

A system for generating globally unique identifiers for objects in a distributed object oriented database (8). In one embodiment the system comprises at least two processors (12, 14) connected by means of a network (10) to a processor (16) executing a server process (26) which provides globally unique identifiers for objects throughout the network (10). Each processor (12, 14) on the network (10) may execute one or more client processes (18, 20, 22, 24), each of which may run transactions against the database (8). Each such client process (18, 20, 22, 24) transmits a request to the server process (26) which provides the globally unique identifiers when that client process (18, 20, 22, 24) requires a globally unique object identifier for objects which the requesting client process (18, 20, 22, 24) is creating. In response to the request, the server (26) which provides globally unique identifiers transmits a range of globally unique object indentifiers to the requesting client process (18, 20, 22, 24). The requesting client process (18, 20, 22, 24) then allocates object indentifiers to the object it is creating. Upon completion of the allocation of the globally unique object indentifiers to the objects which have been created, the requesting client process (18, 20, 22, 24) then returns any unused globally unique object identifiers to the server (26) for use by other client processes (18, 20, 22, 24).

Description

A SYSTEM FOR GENERATING GLOBALLY UNIQUE
OBJECT IDENTITIES
FIELD OF THE INVENTION The invention relates to the field of distributed object oriented databases and more particularly to the generation of globally unique object identifiers for distributed object oriented database systems.
BACKGROUND OF THE INVENTION Critical to any object oriented database (ODB) is the concept of persistent object identity. In the most general sense, object identity is an inalienable characteristic of an object which can be used to differentiate the object from all other objects, even if other objects are otherwise similar, and to retrieve the object from a persistent storage device such as a magnetic disk and transfer the object into computer memory.
In theory, any pattern of bits can serve to implement the object identifier (OID) , so long as that pattern is never used to implement the identity of any other object. Thus, a machine or system which generates unique bit patterns would be sufficient for providing persistent OIDs so long as the same bit pattern was never generated twice. In practice, performance considerations prefer OIDs that are as small as possible and systems which generate OIDs as quickly as possible. In a distributed computing system consisting of multiple processors executing multiple client processes and interconnected by a network, there is a special challenge in assuring that each client process can locally assign OIDs that are globally unique across all client processes. Typically three basic approaches to this challenge have been attempted.
In the first approach each client process independently generates globally unique OIDs. One typical technique is to form OIDs by concatenating a processor identifier with a date-time stamp. Since each processor on the network has a unique identifier (for the purpose of network communication) and since the date-time stamp is monotonically increasing, each OID created is guaranteed to be unique. In another approach, each client process independently generates locally unique OIDs, which are then changed to globally unique OIDs (if necessary) by an independent agent, such as a central server. In a third approach to the problem, each client process appeals to an independent agent such as a central server to generate globally unique OIDs each time the client process needs to create an object.
Each of these approaches has performance trade-offs. Because the first approach generates globally unique ids (GUIDs) locally, it saves the expense of network communication with a server or coordinating agent that is incurred by the other approaches. However, the price incurred by this lack of communication is that the OIDs in this approach tend to be large. Larger OIDs require more disk storage and also require more time to read, write, and process.
The second approach generates locally unique OIDs (LUIDs) and when these LUIDs happen to be also recognizably globally unique, this approach performs well. However, problems arise in concurrent environments when the LUIDs must be converted or remapped into GUIDs. The cost of this conversion is at least proportional to the number of newly created objects and may be much greater, since all objects which reference newly created objects must have those references converted from LUID to GUID as well. The third approach avoids both the conversion expense of the second approach, and the large GUIDs of the first approach. However, performance problems associated with this method result from the more frequent communication with the server or coordinating agent than in either of the other approaches. Such frequent communication causes the performance to degrade very quickly in the presence of a large amount of network traffic.
What is required then is a system which will generate globally unique object identifiers without the large GUID size required of locally generated identifiers, without the performance degradation due to identifier conversion, and without the excessive network traffic which typically accompanies the use of an identification server.
SUMMARY OF THE INVENTION The invention relates to a system for generating globally unique identifiers for objects in a distributed object oriented database. In one embodiment the system comprises at least two processors each of which may execute one or more client processes and each of which is connected by means of a network to a server which provides globally unique identifiers for objects throughout the network.
Each client process on the network may transmit a request to the server which provides globally unique identifiers when the client process requires a globally unique object identifier to identify objects which the requesting client process is creating. In response to the request, the server transmits a range of globally unique object identifiers to the requesting client process.
The requesting client process then allocates object identifiers from this range of globally unique object identifiers. Upon completion of the allocation of the globally unique object identifiers, to objects which it has created, the requesting client process then releases the unused globally unique object identifiers back to the server for use by other client processes.
DESCRIPTION OF THE DRAWINGS This invention is pointed out with particularity in the appended claims. The above and further advantages of this invention may be better understood by referring to the following description taken in conjunction with the accompanying drawing, in which:
Fig. 1 is a block diagram of an embodiment of the system of the invention; Fig. 2 is a block diagram of the communication between client processes and the globally unique identification server of the invention of Fig. 1;
Fig. 3 is a block diagram of the object identifier space of the present invention; Fig. 4 is a block diagram of a globally unique identification space during the process-server communications shown in Fig. 2;
Fig. 5 is a flow diagram of an embodiment of the system of Fig. 1 depicting the creation and transfer of a globally unique object identifier space object between client processes and a server process; and
Fig. 6 is a flow diagram of another embodiment of the system of Fig. 1 depicting the transfer of parameter data between client processes and a server process.
DETAILED DESCRIPTION OF THE INVENTION
Referring to Fig. 1, in one embodiment a distributed object oriented database system (ODB) 8 includes a network 10 connecting at least three processors 12, 14 and 16. Processors 12 and 14, in this embodiment, are each executing two different client processes 18, 22 and 20, 24 respectively. These client processes 18, 20, 22, 24 may be different incarnations of a single application program, or they may be different application programs. For the purposes of this discussion, client processes 18, 20, 22, 24 are running concurrently, and each is generating objects and hence using OIDs that must be globally unique.
Processor 16 is executing a server process 26 which provides globally unique identifiers for objects on the network. Server process 26 may perform many functions, but for the purposes of this invention, server process 26 must at least assist in the generation of globally unique OIDs. Server process 26 is hereinafter also referred to as a GUID Server 26. Further, processor 16 executing the GUID server process 26 may be running other unrelated processes 28 and need not be dedicated to the GUID generation task.
In brief overview, and referring to Fig. 2, in order to improve performance, the distributed object oriented database system 8 will not require client processes 18, 20, 22, 24 to communicate with the GUID server 26 each time a globally unique object identifier is required. Instead, each client process 18, 20, 22, 24 will request a range of globally unique object identifiers from the GUID server 26 infrequently.
Each time a client process 18, 20, 22, 24 requests a range of globally unique object identifiers from the GUID server 26, the client process 18, 20, 22, 24 is reserving a block of globally unique object identifiers. (Step 50) While a given client process, for example 18, has a range of OIDs reserved, no other client process, for example 20, can use OIDs in that range. Each other client process 20, 22, 24 must reserve its own range instead. This guarantees that no two client processes 18, 20, 22, 24 can assign the same OID to objects it creates, and hence assures global uniqueness.
After reserving a range of OIDs, the client process, for example 18 will locally allocate OIDs out of this range of OIDs to the objects which client process 18 creates. (Step 52) The performance advantage of this method of OID generation accrues from the fact that a client process 18, 20, 22, 24 does not need to communicate with the GUID server 26 each time it needs an OID. In fact, additional requests to the GUID server 26 will only occur when a client process 18, 20, 22, 24 exhausts all the OIDs it previously reserved.
At the same time that client process 18 is allocating OIDs to the objects it is creating, another client process 20 is reserving a different block of globally unique object identifiers. (Step 54) Once client process 20 has received its block of OIDs from GUID server 26, it too may begin allocating OIDs to objects it is creating. (Step 56)
When client process 18 finishes allocating OIDs to objects it creates, client process 18 communicates with the GUID server 26 again to return any unused OIDs from the reserved range. (Step 58) Typically, the number of OIDs actually allocated to objects by a client process 18, 20, 22, 24 will be much smaller than the number reserved for use by the client process 18, 20, 22, 24. After the client process 18 has returned the unused portion of the range of OIDs it previously reserved, GUID server 26 is free to provide the unused OIDs to any client process 18, 20, 22, 24 to honor subsequent reservation requests. (Step 60) The technique of the invention may also be used to generate unique OIDs in an embodiment in which multiple ODB clients are executed on the same processor. In this embodiment, the client processes and the server process are able to communicate through shared memory. The performance improvement due to the method of the invention in such an embodiment is not as great as it is in an embodiment incorporating a network.
In more detail and referring also to Fig. 3, in the embodiment shown, globally unique OID generation is coordinated by the GUID Server 26 using an object which is referred to as the OID Space 80. A benefit of using the OID Space object is that this object allows multiple client processes 18, 20, 22, 24 executing concurrently on different processors 12, 14, to create new objects with new object identifiers, without the danger of creating duplicate OIDs.
In one embodiment, the invention uses an OID Space object 80 to map sequential integers, from 0 through 23I-1, into the bit patterns which form the OID. Therefore, the number of valid OIDs in the space is equal to the number of integers in the sequence. This results in what is referred to as the cardinality of the OID Space object 80. The GUID server 26 partitions the space of all valid OIDs into a number of non-overlapping OID ranges (1 through n) 82, 84, 86, 88, 90 in the OID Space object 80. These are the ranges which are reserved by client processes 18, 20, 22, 24 when object identifiers are required. At any given time, a given range, for example range_l 82, may be reserved by at most one client 18, 20, 22, 24. This means that number of OID Space ranges 82, 84, 86, 88, 90 is equal to the maximum number of client processes 18, 20, 22, 24 which can be generating objects and hence which will require OIDs at the same time.
A client process 18, 20, 22, 24 generally reserves a range of OIDs for the duration of the transaction which is creating objects. At the end of the transaction, when the client process has finished allocating OIDs, the client process 18, 20, 22, 24 records, for each range the client process has reserved, the highest OID 92, 94, 96, 98 that the client process actually allocated. Thus the unused portions of the reserved ranges may then be returned to the GUID server 26 for use by the same or other processes at a later time. If a client process 18, 20, 22, 24 has not used any OIDs in a range that the client process 18, 20, 22, 24 has reserved, the client process 18, 20, 22, 24 simply cancels the reservation. Both the cardinality of the OID Space object 80 and the number of partitioned ranges are specified at the time the OID Space object 80 is created. Although both the cardinality and the number of partitions may be any natural number (provided the number of partitions is less than or equal the cardinality) , the embodiment shown limits both numbers to being powers of 2. This permits the space to be divided into equal ranges and permits the quick computation of the start and end of each range by bit-shift operations.
In the embodiment shown, OID Space object 80 is a data structure comprising three space parameters (Number_0f_0IDs, Number_Of_Partitions, Number_Of_Partitions_Created) , which are described below, and a High_Water_Vector 81. The OID Space object 80 has a cardinality of 231 and has 27 partitions. Thus the OID Space object 80 depicted is capable of allocating about 2 billion OIDs, partitioned into 128 ranges 82, 84, 86, 88, 90 with about 16 million OIDs per range. Each range 82, 84, 86, 88, 90 has a start OID 100, 102, 104, 106, 110 and an end OID. For all but the last range, the end OID of one range is an OID which is one less than the start OID 102, 104, 106, 108, 110 of the next subsequent range. . Fig. 3 depicts the numerical value of the start of each range, 100, 102, 104, 106, 108, 110. Each range 82, 84, 86, 88, 90 may has a high water mark 92, 94, 96, 98, which indicates the last OID in that range to have been allocated. It should be noted that one complication of using an OID
Space object 80 to generate GUIDs is that the OID Space object 80 must itself have a globally unique identifier. This issue may be addressed in several ways. A first method is to assign an OID in the OID Space object 80 to itself. Thus, for example, assigning the bit string 0 to the OID Space object 80, the first partition would have one less OID than the other partitions, but the first OID would be predetermined to belong to the OID Space object 80. A second method is to simply make the OID Space object 80 one object in a larger OID object space which itself may have a prereserved OID.
Fig. 4 depicts the changes in OID Space object 80' as the communication between GUID server 26 and client processes 18 and 20 (as shown in Fig. 2) occur. Initially (Step 48) the OID Space object 80' is partitioned into 4 ranges 82', 84', 86', 88'. Ranges 82', 84' and 86' each have allocated OIDs and hence have high water marks 92', 94' and 96' as indicated. In this example, it should be noted that range 86' has a high water mark 96' which encompasses the entire range 86' and hence no further OIDs may be allocated from it. Conversely, range 88' has no OIDs allocated and hence its high water mark is at its start.
Once client process 18 has contacted GUID server 26 and has reserved a range of OIDs, OIDs 130 in range 82' from the previous high water mark 92' to the end of the range 82' are marked as reserved (Step 50) . When process 20 contacts GUID server 26 to reserve a range of OIDs, OIDs 132 in a different range 84' from the previous high water mark 94' to the end of the range 84' are marked as reserved (Step 54). When client process 18 contacts GUID server 26 to return the unused portion of its reserved range 130 (Step 58) , the high water mark 92'' in range 82' is increased to the level of the last used OID. The OIDs 134 between the new high water mark 92'' and the end of the range 82' are then marked as unreserved. If client process 18 then makes a request to the GUID server 26 to reserve a new range of OIDs (Step 60) , OIDs 136 from any unreserved range, in this example, 88', may then be allocated.
In brief overview, and referring to Fig. 5, in one embodiment of the system for generating globally unique identifiers, a client process 18 creates an OID Space object 80, partitions it into a number of ranges 82, 84, 86, 88, (Step 150) and then transfers OID object 80 to server process 26 (Step 152) . Server process 26 is now responsible for storing the OID Space object 80 and for controlling locks on the object that prevent the object from being modified by more than one client process 18, 20 at a time. When client process 18 wishes to reserve a range of OIDs, client process 18 requests a range (Step 154) and, in response, server process 26 institutes a lock on the OID Space object 80 and transfers OID Space object 80 to client process 18 (Step 156) .
Client process 18 then reserves range 86 of OIDs (Step 158) . Client process 18 therefore has a range of OIDs available for allocation as demarcated by the start and end of the range. At this time, no other concurrent client process can allocate OIDs in the range reserved by client process 18. Client process 18 then transfers the object 80 back to server process 26, which releases the lock (Step 160) permitting client processes 18, 20, 22, 24 access to OID Space object 80. Client process 18 then allocates an OID from this reserved range of OIDs to each object it creates. While client process 18 is allocating OIDs, client process 20 requests a range of OIDs (Step 162) and server process 26 again institutes a lock. Server process 26 then transfers the OID Space object 80 to client process 20 (Step 164) . Client process 20 then reserves a range 82 of OIDs (Step 166) and returns the OID Space object 80 to server process 26, which releases the lock (Step 168).
When client process 18 wishes to release its unused OIDs, it sends a request to server process 26 (Step 170) , which institutes a lock and transfers OID Space object 80 to client process 18 (Step 172) . When client process 18 has released the unused OIDs and reset the high water mark 180
(Step 174) , the OID Space object 80 is again transferred to server process 26 (Step 176) , which releases the lock. The release of unused OIDs is initiated after the client has completed allocating OIDs from its reserved range. This completion usually occurs when the client's transaction completes (either by committing the transaction to disk or aborting) or, although rarely, when the client has exhausted its reserved range and must reserve a new range.
There are two means of returning the reserved range: transmitting to the server the last OID used, and cancelling the reservation. The former is more common, occurring when the client has allocated, to an object, at least one OID from a reserved range. The cancel reservation option is used either when the client has allocated no OIDs from the range or when it intends to abort its transaction. The two means of returning unused OIDs are described more fully below. Referring to Fig. 6, in an alternative embodiment of the system for generating globally unique identifiers, server process 26 creates an OID Space object 80 and partitions it into a number of ranges 82, 84, 86, 88, (Step 180). Server process 26 is responsible for storing and maintaining the OID Space object. When client process 18 wishes to reserve a range of
OIDs, client process 18 requests a range (Step 182) and, in response, server process 26 reserves a range of OIDs (Step 184) and transfers the OIDs at the lower and upper bounds of the reserved range to client process 18 (Step 186) . Client process 18 therefore has a range of OIDs available for allocation demarcated by the start and end of the range. At this point no other concurrent client process 20 can allocate OIDs in the range reserved by client process 18. Client process 18 then allocates an OID from this range of OIDs to each object it creates.
At the same time that client process 18 is allocating OIDs to objects it has generated, process 20 requests a range of OIDs (Step 188) . Server process 26 reserves a range of OIDs (Step 190) and transfers the lower and upper OIDs of the reserved range to process 20 (Step 192) .
When client process 18 wishes to release its unused OIDs, it sends a request to server process 26 (Step 194) , which contains the last OID it used. The release of unused OIDs is initiated after the client process has completed allocating OIDs from its reserved range. Again, this completion usually occurs when the client's transaction completes or, rarely, when the client process has exhausted its reserved range and must reserve a new range.
Again, there are two means of returning the reserved range: transmitting to the server the last OID used, and cancelling the reservation. The former is more common, occurring when the client process has allocated at least one OID from a reserved range to an object which the client process wants to commit to disk. The cancel reservation option is used either when the client has allocated no OIDs from the range or when it intends to abort its transaction. Once the reserved range has been returned, server process 26 resets the high water mark 180' (Step 196) and releases the remaining OIDs in the range for use.
FUNCTIONS COMMON TO EITHER EMBODIMENT To implement either of these embodiments, the following functions are executed either by the client process 18, 20, 22, 24 (for the first embodiment) or the server process 26 (for the alternative embodiment) .
Create and Partition an OID Object: A function termed, Create_OID_Space_Object, of the form
[Create_OID_Space_Object (Number_of_OID_Bits, Number_of_Partition_Bits) ] creates an OID Space and partitions the space into a number of ranges. The Number_of_OID_Bits parameter defines the number of bits which form the OID. In one embodiment the number of bits in an OID is set to 31 by default and hence the OID Space contains 231 (-2 billion) OIDs. This default value assures that by default, the OIDs created will fit into a 32-bit long word. However, there is no theoretical upper bound on the size of OID. It should also be noted that one can place a lower bound on the size of an OID as well. In one embodiment a value of Number_Of_OID_Bits of less than eight bits is rounded up to eight.
The Number_of_Partition_Bits parameter defines the maximum number of client processes which can each reserve a range of OIDs concurrently, and hence is equal to the number of partitions in the OID Space object 80. In one embodiment the default value permits 128 partitions, so as many as 128 client processes can each reserve a range of OIDs concurrently.
In addition, the creation of the OID Space object 80 also results in the creation of a data structure termed a High_Water_Vector 81, which is a vector array. Each entry in the vector represents a particular partition or OID range. Thus in the default example above, the vector would be 128 locations long; one location for each of the 128 partitions. The number stored in a given location in the vector is the current largest OID which has been allocated from the range which corresponds to that entry location. In one embodiment, the high order, most significant bit (for example bit 32, for a 31 bit OID) of each location in the vector is interpreted as an ,,in-use" indicator. That is, if that bit is set (1) , the OID range represented by that location has been reserved. If the bit is 0, the range is available to be reserved. In an alternative embodiment, these bit flags, one per OID range, are stored in a separate vector.
The following pseudocode demonstrates an embodiment of the implementation of this function: //define maximum and minimum values define MAXIMUM_OID_SIZE as 31 //default maximum OID size define MINIMUM_OID_SIZE as 8 //default minimum OID size
//determine whether to use default values set NUMBER_OF_OIDS to minimum of Number_Of_OID_Bits and MAXIMUM_OID_SIZE set NUMBER_OF_OIDS to maximum of NUMBER_OF_OIDS erd MINIMUM_OID_SIZE s e t
NUMBER_OF_PARTITIO NS to maximum of NUMBER_OF_PARTITIO
N_BITS and NUMBER_OF_OIDS set NUMBER_OF_PARTITIONS_CREATED to 2NUMBER-OF-PARTTπθNS allocate High_Water_Vector to hold (Number_of_Partitions_Created) times
(Number_of_OIDs + 1) bits
//initialize high water mark for each partition to the //last OID used, which will have 0 in the low order bits for each slot in High_Water_Vector begin-for set value at slot to siot*2 jMω-OF-oros- jrøER-OF-PARTmθNS) end-for The parameters (Number_Of_OIDs, Number_Of_Partitions, Number_Of_Partitions_Created) are attributes of the data structure of OID Space object 80 (Fig. 3) .
Reserve a Partition: A function termed, Reserve_Partition, of the form
[Reserve_Partition (Beginning_OID, Ending_OID) ] reserves a range of object identifiers. In one embodiment the function is a Boolean function which returns TRUE if the reservation is successful and FALSE if no range can be reserved. The FALSE return occurs only when all partitions are in use, or when those that are not in use have been exhausted. If the reservation is successful, the function sets the output parameters Beginning_OID and Ending_OID to the starting and ending OIDs respectively in the reserved partition or range. If this function is executed by a client process 18, 20, 22, 24, this function is followed immediately by the returning of the OID Space object 80, back to the server process 26, in order to release the lock and make the OID Space object 80 available for other users. The following pseudocode demonstrates an embodiment of the implementation of this function: for each partition begin-for if not (partition exhausted or partition reserved) then begin-then set Beginning_OID to partition's high water mark+1 set Ending OID to 1 less than start next partition mark partition as being reserved return true end-then end-for return false
Cancel a Reservation:
A function termed, Cancel_Reservation, of the form [Cancel_Reservation (An_OID_In_Reserved_Range) ] cancels the reservation for the range of OIDs that contains the OID referenced in the parameter An_OID_In_Reserved_Range. In one embodiment, this function is a Boolean function which returns TRUE if the cancellation is successful and FALSE if the cancellation failed because the OID in the parameter An_OID_In_Reserved_Range is not in a reserved range.
In the first embodiment described, the use of this function permits the client process 18, 20, 22, 24 to clear the high order bit in the High_Water_Vector 81 to indicate that the partition containing An_OID_In_Reserved_Range is no longer reserved, prior to transferring the OID Space object 80 from the client process 18, 20, 22, 24 to server process 26. In the second embodiment described, the server process 26 does not need to update the high water mark, since the Cancel_Reservation function indicates that no OIDs were allocated by the client process 18, 20, 22, 24. However, the partition containing An_OID_In_Reserved_Range is marked as unreserved.
The following pseudocode demonstrates an embodiment of the implementation of this function: find partition containing An_OID_In_Reserved_Range if (partition reserved) then begin-then mark partition as being unreserved return true end-then return false
Set the New High Water Mark A function termed, Set_New_High_Water_Mark, of the form
[Set_New_High_Water_Mark (New_High_Water_Mark) ] is intended for use in conjunction with the Reserve_Partition function. The parameter New_High_Water_Mark designates the last OID allocated by a client process 18, 20, 22, 24. Thus, for example, a client process 18, 20, 22, 24 first reserves a range of OIDs with the Reserve_Partition function, then allocates OIDs from that range as needed when new objects are created, and finally, uses
Set_New_High_Water_Mark to record the highest OID allocated at the end of a transaction. Upon the successful completion of the function, a subsequent call to Reserve_Partition will return a start value which is one greater than the previous high water mark.
The following pseudocode demonstrates an embodiment of the implementation of this function: find partition containing New_High_Water_Mark if (partition reserved and New_High_Water_Mark > previous high water mark) then begin-then remember New_High_Water_Mark return true end-then otherwise begin-otherwise return false end-otherwise
Locate the High Water Mark
A function termed Locate_High_Water_Mark, of the form [Locate_High_Water_Mark (Partition_Number) ] returns the last OID allocated within the specified Partition_Number. The function can also be used to determine whether a given OID has been allocated yet. If a given OID is above the high water mark for its respective partition, it has not been allocated. If the OID is below the high water mark, it has been allocated, although there is no guarantee that it is still in use by an object.
The following pseudocode demonstrates an embodiment of the implementation of this function: if (Partition_Number > number of partitions) then begin-then error end-then Return contents of the High_Water_Vector for the Partition Number First OID in Range
A function termed Get_First_OID_In_Range, of the form
[Get_First_OID_In_Range (Partition_Number) ] returns the first
OID of the partition specified by Partition_Number. This function is implemented such that the first OID of the range is returned whether or not it has already been allocated.
One use for Get_First_OID_In_Range is to find all the OIDs in use, but it is also used to find the last OID in the previous partition. The following pseudocode demonstrates an embodiment of the implementation of this function: if (Partition_Number > number of partitions) then begin-then error end-then shift Partition_Number left by (NUMBER_OF_OID_BITS - NUMBER_OF_PARTITION_BITS) + 1 bits return result
ADDITIONAL FUNCTIONS REQUIRED FOR THE FIRST EMBODIMENT
In the first embodiment, the transferring of the OID Space object 80 between the client processes 18, 20, 22, 24 and server process 26 requires that the server process 26 be able to institute locks on the OID Space object 80 to prevent the object 80 from being changed by more than one client process 18, 20, 22, 24 simultaneously. One method of providing a lock for object 80 is by making object 80 an instant update object (IUO) .
An instant update object is an object with the property that changes can be made to the object by one client application at a time and once these changes are complete, they become immediately visible to other client applications regardless of the current transaction mechanism. This is true even if the modifying client's transaction is not complete or even if the modifying client's transaction ultimately aborts. It should be noted that the treatment of an object as an IUO need not be inherent to the object or the object's type. In one embodiment, an object is an IUO if and only if it is locked with a particular kind of lock, called an Instant Update Lock.
By allowing updates made by one client to be immediately visible to other clients, IUOs provide a very high degree of concurrency. The method for OID generation described herein requires this kind of high concurrency. Specifically, the OID Space object 80 is treated as an IUO so that when one client modifies the OID Space object 80 so as to reserve a range of OIDs, other clients see the modified OID Space object 80 so as to avoid reserving the same range but are not precluded from immediately reserving other ranges.
Although IUOs allow clients to see modifications to the object that have been made by others, IUOs must prevent clients from seeing modifications that are in the process of being made. Therefore, the purpose of locking the OID Space object 80 with an Instant Update Lock is twofold. First, the existence of an Instant Update Lock informs the server process to treat the locked object as an IUO. Second, the presence of the Instant Update Lock also blocks any other clients from reading the OID Space object 80 until it is released.
The presence of such locks produces an additional complication which must be dealt with. For example, consider that two client applications called client application 1 (CA1) and client application 2 (CA2) require access to two objects called objl and obj2 with Instant Update Locks. Suppose that CA1 locks objl and CA2 locks obj2. When CA1 then tries to lock obj2, it will be blocked (as described above) because CA2 has obj2 locked. When CA2 then tries to lock objl, it will be blocked because CA1 has objl locked. Both applications could thus be blocked forever, each waiting for the other to release its Instant Update Locks. To avoid this situation (called a deadlock or deadly embrace) , one embodiment requires that when a client application acquires an instant Update lock, it must make its modifications and release the lock before acquiring any other locks. When a client application attempts to acquire a lock while holding an instant Update Lock, an error condition occurs.
The server process maintains each instant update object as an element (an IUO_List Element) in a list. Each IUO_List Element contains the globally unique identifier of an object (that is, the OID space object) , a pointer to the disk representation of the object (the OID space object) , an indication of whether the OID space object is modified, and if locked, a pointer to the transaction which has locked the underlying OID space object. Each IU0_List Element contains a reference to the next IU0_List Element in the list. There is a static pointer to the start of the list. SERVER FUNCTIONS The following server functions, read, write, commit and abort, handle access to data on the persistent storage device.
Server Read Procedure
The function, Server_Read_Procedure, of the form [Server_Read_Procedure (OID, Lock_Type) ] reads an OID Space object 80, having an OID as indicated in parameter OID, and locks the OID Space object 80 with a lock of the type specified in parameter Lock_Type.
The following pseudocode demonstrates an embodiment of the implementation of this function: if (Lock_Type is an Instant_Update_Lock) then begin-then look for IUO_List_Element containing the requested OID if (IUO_List_Element found) then begin-then if (IUO_List_Element locked by another process) then begin-then indicate that client process should wait until lock is released end-then set IUO_List_Element locker to requesting process end-then end-then else (IUO_List_Element not found) begin-else create IUO_List_Element insert new IUO_List_Element into IUO__LIST for each partition of OID_Space_Object mark partition as not reserved end-else if (IUO not in memory) then begin-then read latest state of IUO from disk end-then end-then return OID Space object to client
Server Write Procedure The function, Server_Write_Procedure, of the form
[Server_Write_Procedure (OID_Space_object) ] writes the object designated by the parameter OID_Space_object to disk and unlocks the OID Space object 80.
The following pseudocode demonstrates an embodiment of the implementation of this function. if (current transaction has locked a IUO) then begin-then delete old version of IUO_List_Element object set IUO_List_Element object to (OID_Space_object) set IUO_List_Element modified indicator to true set IU0_List_Element transaction locker to 0 indicate current transaction has not locked an IUO end-then
Server Commit Procedure
The function, Server_Commit_Procedure, of the form
[Server_Commit_Procedure ()], modifies the IUO_List_Element in the event the client transaction is committed. At commit time, the modified OID Space objects 80 held on the server's list of IUOs are written to disk.
The following pseudocode demonstrates an embodiment of the implementation of this function. for each IUO List Element begin-for if (next IUO List Element modified indicator is true) then begin-then write the IUO_List_Element object to disk set the IUO_List_Element_modified_indicator to false end-then end-for continue with normal commit procedure
Server Abort Procedure
The function, Server_Abort_Procedure () , modifies the
IUO_List_Element in the event the client transaction is aborted. When a transaction is aborted, the server checks to see it held any instant update locks (on OID Space objects) and if so, it releases these locks so that other clients may access these objects.
The following pseudocode demonstrates an embodiment of the implementation of this function. if (current transaction has locked an IUO) then begin-then set the IUO_List_Element_locker to 0 indicate the current transaction has not locked an
IUO end-then continue with normal abort procedure
Server Error Recovery Detection and Correction It should be noted that if a client application reserves a range of OIDs, and then sometime later, prior to returning or cancelling the reservation, the client application or the server process terminates abnormally while a range of OIDs was reserved, steps must be taken to correct the reservations in the OID Space object. In one embodiment, the OID Space object is recovered by cancelling all apparent reservations.
When the OID Space object 80 requested is not already in memory, the OID Space object 80 is read from disk and the variable Need_Recovery is set to true. The recovery function iterates over the OID Space object's High_Water_Mark vector or bit flag and for each partition clears the bit used to indicate that the corresponding range of OIDs is reserved. Since the OID Space object 80 has just been read into memory, it cannot have any ranges reserved, so any reservations must have been left over from a previous session which terminated abnormally before it could clear this reserved bit.
MISCELLANEOUS FUNCTIONS
In addition to the functions described, one embodiment of the system has also implemented the following functions to provide increased functionality, although these functions need not be implemented to utilize the invention.
Ranges in Use
A function termed Ranges_In_Use, of the form,
[Ranges_In_Use] , returns a value equal to the number of ranges currently in use. This number equals the number of client applications concurrently allocating OIDs using this
OID Space object 80.
The following pseudocode demonstrates an embodiment of the implementation of this function: initialize Range_Count to 0 for each partition begin-for if (partition is marked in use) then begin-then increment Range_Count end-then end-for return Range_Count
Highest Range Used
A function termed Highest_Range_Used, of the form [Highest_Range_Used] , returns a value equal to the highest range used for OID allocation. It should be noted that while no range higher than the returned range can contain allocated OIDs, the converse is not necessarily true. There may be unused ranges that are lower than the highest range. For example, if N clients reserved ranges and if K of those clients cancelled their reservations and the Nth client did not cancel, then there could be K ranges which are unused.
The following pseudocode demonstrates an embodiment of the implementation of this function: initialize result to 0 for each partition begin-for find the high water mark for the partition i f ( h i g h w a t e r m a r k >
Start_For_Given_Range(partition) ) then begin-then result = partition end-then end-for return result
OID Size
A function Get_OID_Size of the form, [Get_OID_Size] returns a value which is the number of bits in the OID, which is equal to the value of the Number_Of_OID_Bits input parameter to the Create_OID_Space_Object function.
Partitions
A function Get_Number_Of_Partitions of the form, [Get_Number_Of_Partitions] returns a value, which is the number of partitions with which the OID Space object was created. This value will be equal to the
Number_Of_Partition_Bits input parameter to the Create_OID_Space_Object function.
EXAMPLE OF OID GENERATION
The overall flow of processing involved in allocating globally unique OIDs is shown below in pseudocode. For the purpose of this example, a server process creates an OID Space object and writes the object to disk. At some later time, a client process requests the OID Space object and the server process reads the OID Space object from disk and locks the object. The client process then sequentially reserves a range of OIDs, allocates OIDs from the reserved range and returns any unused OIDs. The server process then unlocks the OID Space object and writes the OID Space object to disk.
/ /Create an OID Space object having a 32 bit OID and 128 partitions
/Write the OID Space object to disk
/
Create_OID_Space__Object (32, 7) Server_Write_Procedure (OID_Space__Object)
/
/Server read and lock OID Space object
/
Server_Read_Procedure (OID_Space_Object, IUO_Lock) /
/Reserve a range of OIDs in OID Space object /
Reserve_Partition(Beginning_OID,Ending_OID) Remember Beginning_OID and Ending_OID Set Number_Of_Allocated_OIDs to 0
/
/Server write and unlock OID object with range reserved so that /other clients can reserve other ranges
/ Server_Write_Procedure (OID_Space_Object)
/
/Allocate OIDs from the reserved range
/ increment Number_Of_Allocated_OIDs for each OID allocated
N ew_H i gh_Wa t e r_Ma rk = B e g i n n i n g_O I D +
Number_Of_Allocated_OIDs
/
/Return the reserved range / Read the OID Space object / Set new high water mark / Write the OID Space object /
Server_Read_Procedure (OID_Space_Object, IUO_Lock) Set_New_High_Water_Mark (New_High_Water_Mark)
Server_Write_Procedure (OID_Space_Object) It should be noted that although the embodiment described partitions the OID Space object 80 into a finite number of equal partitions, such is not necessary. The function which creates the OID Space object 80 and partitions the object space can, without much more effort, utilize an algorithm to partition the space into unequal partitions. Thus it would be possible to have a number of large partitions to satisfy the needs of client programs creating a large number of objects and a number of smaller partitions for client programs creating few objects.
Further, although the client process presently requests a range, it is also possible for the client process to request a defined number of OIDs (for example 200 OIDs are required) or sets of ranges of OIDs (for example OIDs from 200 to 400 and 800 to 1200) . Neither of these modifications will be outside of the general description of the invention as described herein.
Having shown the preferred embodiments, those skilled in the art will realize many variations are possible which will still be within the scope and spirit of the claimed invention. Therefore, it is the intention to limit the invention only as indicated by the scope of the claims.

Claims

CLAIMSWhat is claimed is:
1. A system for allocating a globally unique identifier to an object created in a distributed object oriented database, said system comprising: a network; at least two processors connected to said network, one of said at least two processors executing at least one client process and one of said at least two processors executing a globally unique identifier server process, one of said at least one client process requesting a range of globally unique identifiers from said globally unique identifier server process, said globally unique identifier server process reserving a range of globally unique identifiers for said one of said at least one client process requesting a range of globally unique identifiers, said one of said at least one client process requesting a range of globally unique identifiers allocating a globally unique identifier from said range of globally unique identifiers for each object created by said one of said at least one client process requesting a range of globally unique identifiers, and said one of said at least one client process releasing an unused portion of said range of globally unique identifiers to said globally unique identifier server process upon completion of said allocation of globally unique identifiers.
2. The system of claim 1 wherein said globally unique identifier server process transmits a first globally unique identifier and a last globally unique identifier from said range of globally unique identifiers to said one of said at least one client process requesting a range of globally unique identifiers after reserving said range of globally unique identifiers.
3. The system of claim 2 wherein said range of globally unique identifiers is selected from a plurality of ranges of globally unique identifiers.
4. The system of claim 3 wherein each range of said plurality of ranges of globally unique identifiers contains the same number of globally unique identifiers.
5. The system of claim 3 wherein each range of globally unique identifiers is contiguous.
6. The system of claim 3 wherein said plurality of ranges of globally unique identifiers are maintained in an OID Space object by said globally unique identifier server process.
7. The system of claim 6 wherein said OID Space object is created by said globally unique identifier server process.
8. The system of claim 7 wherein said OID Space object is created by said at least one client process and is transferred to said globally unique identifier server process.
9. The system of claim 1 wherein said at least one client process requesting said range of globally unique identifiers from said globally unique identifier server process specifies a number of globally unique identifiers to be reserved.
10. A system for allocating a globally unique identifier to an object created in a distributed object oriented database, said system comprising: a network; and at least two processors connected to said network, one of said at least two processors executing at least one client process and one of said at least two processors executing a globally unique identifier server process, one of said at least one client process requesting a range of globally unique identifiers from said globally unique identifier server process, said globally unique identifier server process transmitting an object identifier space object having a plurality of ranges of globally unique identifiers to said one of said at least one client process requesting a range of globally unique identifiers, said one of said at least one client process requesting a range of globally unique identifiers reserving a range of globally unique identifiers within said object identifier space object,
said one of said at least one client process requesting a range of globally unique identifiers allocating a globally unique identifier from said reserved range of globally unique identifiers reserved to each object created by said one of said at least one client process requesting a range of globally unique identifiers, said one of said at least one client process requesting a range of globally unique identifiers releasing an unused portion of said reserved range of globally unique identifiers, and said one of said at least one client process requesting a range of globally unique identifiers transmitting said object identifier space object to said globally unique identifier server process.
11. The system of claim 10 wherein said object identifier space object is created by said at least one client process and is transferred to said globally unique identifier server process.
12. The system of claim 10 said globally unique identifier server process includes a locking device which locks said object identifier space object prior to transmitting said object identifier space object having said plurality of ranges of globally unique identifiers to said one of said at least one client process requesting a range of globally unique identifiers.
13. The system of claim 10 wherein said one of said at least one client process requesting a range of globally unique identifiers unlocks and returns said object identifier space object prior to allocating said globally unique identifier from said reserved range of globally unique identifiers to each object.
14. A method for allocating a globally unique identifier to an object created in a distributed object oriented database, said method comprising: requesting a range of globally unique object identifiers; reserving a range of object identifiers to said at least one client process; allocating a globally unique object identifier to each object created by said at least one client process from said reserved range of object identifiers; releasing an unused portion of said range of object identifiers upon completion of said allocation of said globally unique object identifiers.
15. A method for allocating a globally unique identifier to an object created in a distributed object oriented database having a network, said method comprising: requesting a range of globally unique identifiers; retrieving an object identifier space object having a plurality of ranges of globally unique identifiers in response to said request; reserving a range of globally unique identifiers within said object identifier space object; allocating a globally unique identifier from said reserved range of globally unique identifiers reserved to each object created by said one of said at least one client process requesting a range of globally unique identifiers; releasing an unused portion of said reserved range of globally unique identifiers; and returning said object identifier space object.
PCT/US1995/002139 1994-05-19 1995-02-21 A system for generating globally unique object indentities WO1995032463A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP53026595A JP3689713B2 (en) 1994-05-19 1995-02-21 A system for generating a comprehensive and unique object identification
EP95911061A EP0803090A1 (en) 1994-05-19 1995-02-21 A system for generating globally unique object indentities

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/246,065 US5522077A (en) 1994-05-19 1994-05-19 Object oriented network system for allocating ranges of globally unique object identifiers from a server process to client processes which release unused identifiers
US08/246,065 1994-05-19

Publications (1)

Publication Number Publication Date
WO1995032463A1 true WO1995032463A1 (en) 1995-11-30

Family

ID=22929196

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1995/002139 WO1995032463A1 (en) 1994-05-19 1995-02-21 A system for generating globally unique object indentities

Country Status (4)

Country Link
US (1) US5522077A (en)
EP (1) EP0803090A1 (en)
JP (1) JP3689713B2 (en)
WO (1) WO1995032463A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997003387A1 (en) * 1995-07-12 1997-01-30 Siemens Aktiengesellschaft System of automation devices
JPH09305468A (en) * 1996-05-15 1997-11-28 Hitachi Ltd Object managing method
EP1094651A1 (en) * 1999-10-21 2001-04-25 Sun Microsystems, Inc. Method and apparatus for assigning unique device identifiers accross a distributed computer system
EP1178643A1 (en) * 2000-08-01 2002-02-06 Sun Microsystems, Inc. Using a centralized server to coordinate assignment of identifiers in a distributed system
WO2002052444A2 (en) * 2000-12-21 2002-07-04 Amdocs Software Systems Limited Method and apparatus for distributing and reusing object identifiers
WO2006136027A1 (en) * 2005-06-22 2006-12-28 Research In Motion Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
WO2007103512A1 (en) * 2006-03-08 2007-09-13 Omneon Video Networks Techniques for use of a system-unique identifier in an architecture having a file system utilizing distributed metadata servers
US7567992B1 (en) * 2006-12-29 2009-07-28 Unisys Corporation Replicating of plurality of instances of an object model in memory arrangement using portable object references where each object attribute assigned GUID
US7801782B2 (en) 1998-07-31 2010-09-21 Jpmorgan Chase Bank, Na Object oriented system for managing complex financial instruments

Families Citing this family (84)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5613158A (en) * 1994-05-25 1997-03-18 Tandem Computers, Inc. System for specifying addresses by creating a multi-bit ranked ordered anchor pattern and creating next address by shifting in the direction of the superior position
US6408333B1 (en) * 1994-11-23 2002-06-18 Horizon Technologies Inc. System for portable establishing network server
EP0733972B1 (en) * 1995-03-22 2003-07-09 Sun Microsystems, Inc. Method and apparatus for managing relationships among objects in a distributed object environment
US6047312A (en) * 1995-07-07 2000-04-04 Novell, Inc. System for replicating and associating file types with application programs among plurality of partitions in a server
US5692129B1 (en) * 1995-07-07 1999-08-17 Novell Inc Managing application programs in a computer network by using a database of application objects
JPH09511858A (en) * 1995-08-18 1997-11-25 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン Parallel execution of requests in OSI agent
US5892946A (en) * 1995-09-12 1999-04-06 Alcatel Usa, Inc. System and method for multi-site distributed object management environment
US5887275A (en) * 1996-02-08 1999-03-23 Oracle Corporation Method and apparatus for locating a first set of data using a global identifier and a virtual addressing data structure
US6128771A (en) 1996-02-09 2000-10-03 Sun Microsystems, Inc. System and method for automatically modifying database access methods to insert database object handling instructions
US5881230A (en) * 1996-06-24 1999-03-09 Microsoft Corporation Method and system for remote automation of object oriented applications
US5857203A (en) * 1996-07-29 1999-01-05 International Business Machines Corporation Method and apparatus for dividing, mapping and storing large digital objects in a client/server library system
JP3747525B2 (en) * 1996-08-28 2006-02-22 株式会社日立製作所 Parallel database system search method
US5854904A (en) * 1996-10-15 1998-12-29 Brown; Erik Lee Object-oriented modular electronic component system
AP9901621A0 (en) * 1997-01-13 1999-09-30 John Overton Automated system for image archiving.
US5905889A (en) * 1997-03-20 1999-05-18 International Business Machines Corporation Resource management system using next available integer from an integer pool and returning the integer thereto as the next available integer upon completion of use
US6662216B1 (en) * 1997-04-14 2003-12-09 International Business Machines Corporation Fixed bus tags for SMP buses
US6151639A (en) * 1997-06-19 2000-11-21 Sun Microsystems, Inc. System and method for remote object invocation
US5966705A (en) * 1997-06-30 1999-10-12 Microsoft Corporation Tracking a user across both secure and non-secure areas on the Internet, wherein the users is initially tracked using a globally unique identifier
US5920725A (en) * 1997-07-02 1999-07-06 Adaptivity Inc. Run-time object-synthesis and transparent client/server updating of distributed objects using a meta server of all object descriptors
US6182129B1 (en) * 1997-09-11 2001-01-30 International Business Machines Corporation Apparatus, methods and computer program products for managing sessions with host-based application using session vectors
US6687707B1 (en) 1997-11-28 2004-02-03 International Business Machines Corporation Unique object identification in a network of computing systems
US6148349A (en) * 1998-02-06 2000-11-14 Ncr Corporation Dynamic and consistent naming of fabric attached storage by a file system on a compute node storing information mapping API system I/O calls for data objects with a globally unique identification
US6247077B1 (en) 1998-02-06 2001-06-12 Ncr Corporation Highly-scalable parallel processing computer system architecture
US6256740B1 (en) * 1998-02-06 2001-07-03 Ncr Corporation Name service for multinode system segmented into I/O and compute nodes, generating guid at I/O node and exporting guid to compute nodes via interconnect fabric
US7233978B2 (en) * 1998-07-08 2007-06-19 Econnectix, Llc Method and apparatus for managing location information in a network separate from the data to which the location information pertains
US7103640B1 (en) 1999-09-14 2006-09-05 Econnectix, Llc Network distributed tracking wire transfer protocol
US6886012B1 (en) * 1998-11-18 2005-04-26 International Business Machines Corporation Providing traditional update semantics when updates change the location of data records
US6670934B1 (en) 1999-02-03 2003-12-30 William H. Gates, III Method and system for distributing art
US6684246B1 (en) * 1999-02-03 2004-01-27 William H. Gates, III Method and system for tracking clients
AU3222500A (en) * 1999-02-03 2000-08-25 Gates, William H. Iii Method and system for implementing virtual functions of an interface
US6519697B1 (en) 1999-11-15 2003-02-11 Ncr Corporation Method and apparatus for coordinating the configuration of massively parallel systems
US6418526B1 (en) 1999-11-15 2002-07-09 Ncr Corporation Method and apparatus for synchronizing nodes in massively parallel systems
US6745240B1 (en) 1999-11-15 2004-06-01 Ncr Corporation Method and apparatus for configuring massively parallel systems
US6412002B1 (en) 1999-11-15 2002-06-25 Ncr Corporation Method and apparatus for selecting nodes in configuring massively parallel systems
US7331058B1 (en) * 1999-12-16 2008-02-12 International Business Machines Corporation Distributed data structures for authorization and access control for computing resources
US7265854B1 (en) 2000-01-24 2007-09-04 International Business Machines Corporation Method and apparatus for managing complex presentation objects using globally-unique identifiers
US20020029207A1 (en) * 2000-02-28 2002-03-07 Hyperroll, Inc. Data aggregation server for managing a multi-dimensional database and database management system having data aggregation server integrated therein
US6816881B1 (en) * 2000-03-13 2004-11-09 International Business Machines Corporation Method and apparatus for inter-application communication in wireless networks
US6542907B1 (en) 2000-03-31 2003-04-01 International Business Machines Corporation Method and apparatus for decentralized, invertible generation of bounded-length globally unique replica identifiers
US6728694B1 (en) * 2000-04-17 2004-04-27 Ncr Corporation Set containment join operation in an object/relational database management system
US20080005275A1 (en) * 2000-06-02 2008-01-03 Econnectix, Llc Method and apparatus for managing location information in a network separate from the data to which the location information pertains
US6826600B1 (en) * 2000-11-02 2004-11-30 Cisco Technology, Inc. Methods and apparatus for managing objects in a client-server computing system environment
US7305678B2 (en) * 2001-05-17 2007-12-04 International Business Machines Corporation Method and system for reducing synchronization waits when allocating sequenced identifiers in a multi-threaded server
US7089561B2 (en) * 2001-06-01 2006-08-08 Microsoft Corporation Methods and systems for creating and communicating with computer processes
US6934710B1 (en) * 2002-05-02 2005-08-23 Palmsource, Inc. Generating coherent global identifiers for efficient data identification
US7430569B2 (en) * 2002-11-27 2008-09-30 Sap Ag Computerized replication of data objects
US7464091B2 (en) * 2002-11-27 2008-12-09 Sap Ag Method and software for processing data objects in business applications
US7409412B2 (en) * 2002-11-27 2008-08-05 Sap Ag Data element and structure for data processing
CA2631756A1 (en) * 2005-12-01 2007-06-07 Firestar Software, Inc. System and method for exchanging information among exchange applications
US7739688B1 (en) * 2006-01-03 2010-06-15 Emc Corporation Techniques for managing distribution of well-defined objects in a client/server system
WO2007134008A2 (en) * 2006-05-08 2007-11-22 Firestar Software, Inc. System and method for exchanging transaction information using images
US7984651B2 (en) * 2006-11-10 2011-07-26 Penrith Corporation Transducer array imaging system
US9295444B2 (en) * 2006-11-10 2016-03-29 Siemens Medical Solutions Usa, Inc. Transducer array imaging system
US20080114246A1 (en) * 2006-11-10 2008-05-15 Penrith Corporation Transducer array imaging system
US8220334B2 (en) * 2006-11-10 2012-07-17 Penrith Corporation Transducer array imaging system
US7590672B2 (en) * 2006-12-11 2009-09-15 Bycast Inc. Identification of fixed content objects in a distributed fixed content storage system
US8468211B2 (en) * 2007-10-30 2013-06-18 Schlage Lock Company Llc Communication and synchronization in a networked timekeeping environment
US7899850B2 (en) 2008-02-22 2011-03-01 Bycast, Inc. Relational objects for the optimized management of fixed-content storage systems
US8180891B1 (en) 2008-11-26 2012-05-15 Free Stream Media Corp. Discovery, access control, and communication with networked services from within a security sandbox
US9986279B2 (en) 2008-11-26 2018-05-29 Free Stream Media Corp. Discovery, access control, and communication with networked services
US9961388B2 (en) 2008-11-26 2018-05-01 David Harrison Exposure of public internet protocol addresses in an advertising exchange server to improve relevancy of advertisements
US9386356B2 (en) 2008-11-26 2016-07-05 Free Stream Media Corp. Targeting with television audience data across multiple screens
US10631068B2 (en) 2008-11-26 2020-04-21 Free Stream Media Corp. Content exposure attribution based on renderings of related content across multiple devices
US9026668B2 (en) 2012-05-26 2015-05-05 Free Stream Media Corp. Real-time and retargeted advertising on multiple screens of a user watching television
US10419541B2 (en) 2008-11-26 2019-09-17 Free Stream Media Corp. Remotely control devices over a network without authentication or registration
US9154942B2 (en) 2008-11-26 2015-10-06 Free Stream Media Corp. Zero configuration communication between a browser and a networked media device
US10880340B2 (en) 2008-11-26 2020-12-29 Free Stream Media Corp. Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
US9519772B2 (en) 2008-11-26 2016-12-13 Free Stream Media Corp. Relevancy improvement through targeting of information based on data gathered from a networked device associated with a security sandbox of a client device
US10977693B2 (en) 2008-11-26 2021-04-13 Free Stream Media Corp. Association of content identifier of audio-visual data with additional data through capture infrastructure
US10334324B2 (en) 2008-11-26 2019-06-25 Free Stream Media Corp. Relevant advertisement generation based on a user operating a client device communicatively coupled with a networked media device
US10567823B2 (en) 2008-11-26 2020-02-18 Free Stream Media Corp. Relevant advertisement generation based on a user operating a client device communicatively coupled with a networked media device
US8898267B2 (en) * 2009-01-19 2014-11-25 Netapp, Inc. Modifying information lifecycle management rules in a distributed system
US9021491B2 (en) * 2010-03-15 2015-04-28 International Business Machines Corporation Dual mode reader writer lock
US8375066B2 (en) * 2010-04-26 2013-02-12 International Business Machines Corporation Generating unique identifiers
US8560698B2 (en) 2010-06-27 2013-10-15 International Business Machines Corporation Allocating unique identifiers using metadata
US9298499B2 (en) * 2012-01-27 2016-03-29 Microsoft Technology Licensing, Llc Identifier generation using named objects
US9355120B1 (en) 2012-03-02 2016-05-31 Netapp, Inc. Systems and methods for managing files in a content storage system
US9678971B2 (en) * 2013-01-10 2017-06-13 International Business Machines Corporation Packing deduplicated data in a self-contained deduplicated repository
US9906624B2 (en) 2013-10-30 2018-02-27 International Business Machines Corporation Method for throttling multiple client applications sending data to a server application
CN103995739B (en) * 2014-04-24 2017-12-19 深圳中微电科技有限公司 The processor system of shared drive mapping page produces the method and device of process number
RU2015102736A (en) 2015-01-29 2016-08-20 Общество С Ограниченной Ответственностью "Яндекс" SYSTEM AND METHOD FOR PROCESSING A REQUEST IN A NETWORK OF DISTRIBUTED DATA PROCESSING
US10404700B1 (en) * 2015-08-27 2019-09-03 Cadence Design Systems, Inc. Concurrent design process
US10216613B2 (en) * 2016-08-17 2019-02-26 International Business Machines Corporation Reserved process and thread identifiers for tracing
US20190102107A1 (en) * 2017-09-29 2019-04-04 Intel Corporation Techniques for batch operations to storage devices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4792921A (en) * 1986-03-18 1988-12-20 Wang Laboratories, Inc. Network event identifiers
US5006978A (en) * 1981-04-01 1991-04-09 Teradata Corporation Relational database system having a network for transmitting colliding packets and a plurality of processors each storing a disjoint portion of database
US5117351A (en) * 1988-10-21 1992-05-26 Digital Equipment Corporation Object identifier generator for distributed computer system
US5265206A (en) * 1990-10-23 1993-11-23 International Business Machines Corporation System and method for implementing a messenger and object manager in an object oriented programming environment

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4821184A (en) * 1981-05-22 1989-04-11 Data General Corporation Universal addressing system for a digital data processing system
US4742467A (en) * 1984-05-04 1988-05-03 Analysts International Corporation Automated programming system for machine creation of applications program source code from non-procedural terminal input
US4775955A (en) * 1985-10-30 1988-10-04 International Business Machines Corporation Cache coherence mechanism based on locking
US4870568A (en) * 1986-06-25 1989-09-26 Thinking Machines Corporation Method for searching a database system including parallel processors
US4943932A (en) * 1986-11-25 1990-07-24 Cimflex Teknowledge Corporation Architecture for composing computational modules uniformly across diverse developmental frameworks
US4930071A (en) * 1987-06-19 1990-05-29 Intellicorp, Inc. Method for integrating a knowledge-based system with an arbitrary database system
US4989132A (en) * 1988-10-24 1991-01-29 Eastman Kodak Company Object-oriented, logic, and database programming tool with garbage collection
US5159669A (en) * 1988-12-15 1992-10-27 Xerox Corporation Automatically creating a second workspace operation record including history data and a unit ID based on a first workspace operation
JP2786236B2 (en) * 1989-03-27 1998-08-13 株式会社日立製作所 Data delivery method and device
US5253189A (en) * 1989-06-13 1993-10-12 Schlumberger Technologies, Inc. Qualitative kinematics
US5218696A (en) * 1989-07-24 1993-06-08 International Business Machines Corporation Method for dynamically expanding and rapidly accessing file directories
SG46199A1 (en) * 1989-08-03 1998-02-20 Ibm Workstations and data processing network containing workstations
US5202981A (en) * 1989-10-23 1993-04-13 International Business Machines Corporation Process and apparatus for manipulating a boundless data stream in an object oriented programming system
ES2106771T3 (en) * 1989-11-30 1997-11-16 Seer Technologies Inc COMPUTER ASSISTED SOFTWARE ENGINEERING UTILITY.
US5280610A (en) * 1990-08-14 1994-01-18 Digital Equipment Corporation Methods and apparatus for implementing data bases to provide object-oriented invocation of applications
GB2253500A (en) * 1990-08-23 1992-09-09 Data General Corp Object oriented-data bases
US5235701A (en) * 1990-08-28 1993-08-10 Teknekron Communications Systems, Inc. Method of generating and accessing a database independent of its structure and syntax
US5278954A (en) * 1990-09-11 1994-01-11 Analogic Corporation System for and method of storing image data processed in multiple stages
JP2556189B2 (en) * 1990-10-29 1996-11-20 富士ゼロックス株式会社 Method activation device in object-oriented computer system
US5274815A (en) * 1991-11-01 1993-12-28 Motorola, Inc. Dynamic instruction modifying controller and operation method
CA2077273C (en) * 1991-12-12 1996-12-03 Mike H. Conner Language neutral objects
US5276735A (en) * 1992-04-17 1994-01-04 Secure Computing Corporation Data enclave and trusted path system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5006978A (en) * 1981-04-01 1991-04-09 Teradata Corporation Relational database system having a network for transmitting colliding packets and a plurality of processors each storing a disjoint portion of database
US4792921A (en) * 1986-03-18 1988-12-20 Wang Laboratories, Inc. Network event identifiers
US5117351A (en) * 1988-10-21 1992-05-26 Digital Equipment Corporation Object identifier generator for distributed computer system
US5265206A (en) * 1990-10-23 1993-11-23 International Business Machines Corporation System and method for implementing a messenger and object manager in an object oriented programming environment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IEE COLLOQ., (1990), No. 067: THE GLOBAL DIRECTORY, issued 1990, BRYAN WOOD, "Naming and Registration (for OSI Standards)", pages 2/1-2/5. *
OBJECT ORIENTATION IN OPERATING SYSTEMS, 1993, Int'I. Conference, issued in 1993, ANDREW P. BLACK, "Object Identity", pages 175-176. *

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997003387A1 (en) * 1995-07-12 1997-01-30 Siemens Aktiengesellschaft System of automation devices
JPH09305468A (en) * 1996-05-15 1997-11-28 Hitachi Ltd Object managing method
US7801782B2 (en) 1998-07-31 2010-09-21 Jpmorgan Chase Bank, Na Object oriented system for managing complex financial instruments
US9824341B2 (en) 1998-07-31 2017-11-21 Jpmorgan Chase Bank, N.A. Object oriented system for managing complex financial instruments
US8732049B2 (en) 1998-07-31 2014-05-20 Jpmorgan Chase Bank, Na Object oriented system for managing complex financial instruments
US8099347B2 (en) 1998-07-31 2012-01-17 JPMorgan Chase Bank, N.A, Object oriented system for managing complex financial instruments
EP1094651A1 (en) * 1999-10-21 2001-04-25 Sun Microsystems, Inc. Method and apparatus for assigning unique device identifiers accross a distributed computer system
US6842789B1 (en) 1999-10-21 2005-01-11 Sun Microsystems, Inc. Method and apparatus for assigning unique device identifiers across a distributed computing system
EP1178643A1 (en) * 2000-08-01 2002-02-06 Sun Microsystems, Inc. Using a centralized server to coordinate assignment of identifiers in a distributed system
US6735220B1 (en) 2000-08-01 2004-05-11 Sun Microsystems, Inc. Using a centralized server to coordinate assignment of identifiers in a distributed system
US6662191B1 (en) 2000-12-21 2003-12-09 Amdocs Software Systems Limited Method and apparatus for caching and reusing object identifiers
WO2002052444A3 (en) * 2000-12-21 2003-01-16 Amdocs Software Systems Ltd Method and apparatus for distributing and reusing object identifiers
WO2002052444A2 (en) * 2000-12-21 2002-07-04 Amdocs Software Systems Limited Method and apparatus for distributing and reusing object identifiers
US10587573B2 (en) 2005-06-22 2020-03-10 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US9681000B2 (en) 2005-06-22 2017-06-13 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US11888906B2 (en) 2005-06-22 2024-01-30 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
WO2006136027A1 (en) * 2005-06-22 2006-12-28 Research In Motion Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US9049121B2 (en) 2005-06-22 2015-06-02 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US9215143B2 (en) 2005-06-22 2015-12-15 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US9426301B2 (en) 2005-06-22 2016-08-23 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US8401002B2 (en) 2005-06-22 2013-03-19 Research In Motion Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US11575719B2 (en) 2005-06-22 2023-02-07 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US10243921B2 (en) 2005-06-22 2019-03-26 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
US11196708B2 (en) 2005-06-22 2021-12-07 Blackberry Limited Exchange and use of globally unique device identifiers for circuit-switched and packet switched integration
WO2007103512A1 (en) * 2006-03-08 2007-09-13 Omneon Video Networks Techniques for use of a system-unique identifier in an architecture having a file system utilizing distributed metadata servers
US8478873B2 (en) 2006-03-08 2013-07-02 Harmonic Inc. Techniques for use of a system-unique identifier in an architecture having a file system utilizing distributed metadata servers
US7567992B1 (en) * 2006-12-29 2009-07-28 Unisys Corporation Replicating of plurality of instances of an object model in memory arrangement using portable object references where each object attribute assigned GUID

Also Published As

Publication number Publication date
JPH10510934A (en) 1998-10-20
US5522077A (en) 1996-05-28
JP3689713B2 (en) 2005-08-31
EP0803090A1 (en) 1997-10-29

Similar Documents

Publication Publication Date Title
US5522077A (en) Object oriented network system for allocating ranges of globally unique object identifiers from a server process to client processes which release unused identifiers
US5581765A (en) System for combining a global object identifier with a local object address in a single object pointer
US5175849A (en) Capturing data of a database system
US6314417B1 (en) Processing multiple database transactions in the same process to reduce process overhead and redundant retrieval from database servers
JP2559959B2 (en) How to update records by multiple asynchronous processes
US6178423B1 (en) System and method for recycling numerical values in a computer system
US7376744B2 (en) Using local locks for global synchronization in multi-node systems
US5265245A (en) High concurrency in use manager
US5502840A (en) Method and apparatus for advising a requesting process of a contention scheme to employ to access a shared resource
US5835906A (en) Methods and apparatus for sharing stored data objects in a computer system
US5809554A (en) User control of multiple memory heaps
Kung et al. On optimistic methods for concurrency control
US5454108A (en) Distributed lock manager using a passive, state-full control-server
US4480304A (en) Method and means for the retention of locks across system, subsystem, and communication failures in a multiprocessing, multiprogramming, shared data environment
US5668958A (en) Heterogeneous filing system with common API and reconciled file management rules
US4399504A (en) Method and means for the sharing of data resources in a multiprocessing, multiprogramming environment
JPH10301834A (en) Management method for shared memory
EP0768608B1 (en) Maximal concurrent lookup cache for computing systems having a multi-threaded environment
US5459862A (en) Network concurrency control for autonomous databases featuring independent lock release and lock ownership transfer
US5999976A (en) Parallel file system and method with byte range API locking
EP0323013A2 (en) Method of operating a multiprocessor system employing a shared virtual memory
JPH05210637A (en) Method of simultaneously controlling access
JP4290337B2 (en) Reference handle generation and validation
EP0355132A4 (en) Computer program license management system
US6560601B1 (en) Database transaction with locking in two phases and multiple versions of objects

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1995911061

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1995911061

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1995911061

Country of ref document: EP