The invention relates to synchronizing and updating records in databases.
Often, data and information maintained on a number of remote database systems must be transferred to and consolidated on a central database. Since the data and information stored in the various databases change, e.g., through addition and deletion of data, the central database and the remote database systems have to be “synchronized.” Synchronization is defined as a process by which two disparate application databases exchange data so that their contents become substantially identical.
Typically, during synchronization, changes in the remote database and the central database are transferred between the remote database and the central database. For example, after the central database is updated, the central database sends to the remote database a confirmation of the changes made. During the same message exchange, the central database may also transmit to the remote database changes in the central database that are of interest to the remote database.
The remote and central devices performing the synchronization of the databases are typically “connected.” Connected devices have a predetermined turnaround latency. In other words, once a device sends a request for synchronization to another device, the connection will time out if the other device does not acknowledge the synchronization request from the first device within the predetermined latency time period. Examples for connected environments are the Starfish™ multi-point synchronization protocols and the active synchronization protocol from Microsoft® that operates in a Windows CE™ environment.
Before the databases can be synchronized, a synchronization mode is negotiated. Four different synchronization modes are typically available: (1) Fast Sync mode (both sides agree to send only additions, modifications, and deletions that occurred in the respective databases since the last synchronization was exchanged); (2) Semi-fast Sync mode (both sides agree to send to a database only additions and modifications, but not deletions; the responder is responsible for determining deletions that occurred since the last synchronization based on differences in the list of records); (3) Slow Sync mode (all records are exchanged; synchronization is performed based on unique record IDs and contains a full history file of previous synchronizations; a comparison of the full records themselves is not required; even applications capable of supporting Fast Sync may need to perform Slow Sync synchronization in certain cases); and (4) Full Re-Sync mode (all records are compared based on the full record contents, rather than on the history file as in “Slow Sync” mode and exchanged, except for records excluded by a filter; filters exclude, e.g., records that exceed a certain size).
Database updates have four important features: (1) consistency (a database is transformed or updated from one consistent state to another consistent state); (2) isolation (a transaction remains invisible to a user until successfully executed); (3) durability (the update survives even if this system subsequently crashes), and, more importantly, (4) atomicity (all changes are made or no changes are made at all). With atomicity, a successful execution of the last change request ensures that all requested changes were executed successfully.
The invention is directed to reducing message traffic during synchronization between a first database residing on a first computer (e.g., a remote computer or initiator) and a second database residing on a second computer (e.g., a central computer or responder). Unlike conventional synchronization that operates in a connected environment, the invention is capable of synchronizing the databases essentially independently of any latency in the communication channel.
In general, the first computer transmits to the second computer a proposed synchronization mode and at least one operation operative on a record stored in the second database. The second computer returns to the first computer a confirmation message accepting the proposed synchronization mode. The operation is transmitted to the second computer before the second computer returns to the first computer the confirmation message accepting the proposed synchronization mode.
Embodiments of the invention may include one or more of the following features. The first computer may transmit the proposed synchronization mode and the operations as a single message. The operations alone or in combination with the proposed synchronization mode may be concatenated into a single message. Each of the operations can be associated with one or more records stored in the first and second databases. The operations may control, e.g., the addition, deletion, archiving and modification of records in the first and second databases. Each of the records may have a unique record identifier.
The first computer and the second computer may communicate via a message layer having a latency; synchronization between the first and the second databases occurs independently of the latency of the message layer. The second computer may return to the first computer a confirmation message confirming a successful execution of the synchronization. The confirmation message may be returned at a later time, e.g., when the second computer receives a subsequent synchronization request from the first computer. The second computer may only have to confirm a successful execution of the last received operation since a confirmation of the last received operation is indicative of the successful execution of all operations received by the second computer. The confirmation message may also include one or more operations to be executed on the first computer.
The second computer may propose to the first computer a different synchronization mode if the initially proposed synchronization mode transmitted by the first computer is unacceptable to the second computer.
The first and second computers may each include one or more brokers that manage the respective databases. The respective brokers of one computer may be capable of interpreting and executing the proposed synchronization mode and the operations received from the respective other computer.
Further features and advantages of the present invention will be apparent from the following description of preferred embodiments and from the claims.
The invention is embodied in a new lightweight protocol, referred to as Notification Transport Protocol (NotifyXP) 10. The NotifyXP protocol requires relatively little network traffic and is useful for communicating notification messages between an initiator 14 and applications running on a responder 16. NotifyXP also defines some procedural frameworks that allow the notification messages 18, 20 to be used for data synchronization. NotifyXP is particularly efficient in connectionless operation.
Referring now to
1. Message segmentation and re-assembly as required by any packet size limitations of the underlying media. This includes a guarantee that a message 18, 20 is delivered in its entirety or not at all, also referred to as “atomization”. 2. Message routing to a specified responder on the target device or Network Server. 3. Any necessary authentication, encryption and/or compression to provide a secure and efficient transfer of NotifyXP message contents. NotifyXP does not perform the actual encryption, compression or data integrity check of the message contents.
If the message layer support that is built into the initiator 14 cannot support this functionality, the implementer of the NotifyXP application may have to provide an extra layer between the NotifyXP software and the internal messaging transport to extend its capabilities. Some message transport layers 12 cannot be extended to provide the level of support required by NotifyXP. For example, a one-way wireless-paging network with a small packet size may not be able to support the segmentation and re-assembly requirement. A initiator 14 and a responder 16 can be connected to more than one message transport layer 12 (not shown) to exchange data using NotifyXP. Moreover, a number of message transport layers can be combined to provide the NotifyXP required level of support.
NotifyXP can primarily be used to communicate messages 18, 20 containing operations 22, 24, respectively, between the initiator 14 and the responder 16, as illustrated in FIG. 1. The initiator 14 is responsible for packaging and sending the operations 22 on the message transport layer 12. The server or responder 16 is responsible for receiving the operations 24 from the message transport layer 12 and processing them.
Each message is associated with a “broker” 26, 28 that interprets and manages a certain set of operations 24 at the initiator 14 and responder site 16, respectively. A broker can be responsible for more than one operation. Different brokers 28 may interpret different operations differently. For example, the initiator Broker #126 handling an application “Schedule” interprets an “Add” operation (e.g., Operation 2 of Message 1) as a command to add a “Schedule” item to the “Schedule” database of the responder 16. Broker #2 handling an application “Alert” may interpret the same Operation 2 as a command to display a message to a user or to sound a beep on a speaker to alert the user to an upcoming meeting.
The operations 22 illustrated in
The Brokers 26, 28 are also responsible for defining the formats of the application data to be processed, if these data are to be stored. The databases store the application data in the form of records. Each record must have an identifier that must be unique for that record within the application database and for the lifetime of the database. The identifier contains data that is specific to the type of data stored within a database. The identifier is understood by both the initiator and responder brokers that operate on the record. In certain NotifyXP operations, the record unique identifier (also called a unique ID) is represented as a reserved field with an identifier of zero (0). Each record also has one or more fields in which the contents of the record are stored. Each database will define whatever fields are required to represent the record data. With the exception of the reserved “Unique ID” zero field identifier, these definitions are opaque to NotifyXP.
NotifyXP Notifications occur between two brokers 26 and 28. For the purposes of a single notification, the broker 26 is defined to be the initiator and the other broker 28 is defined to be the responder. The procedure for notification is as follows:
1. The initiator (client) 14 offers data to the responder (server) 16.
2. There is an optional responder's response (if required for unique ID assignment or error reporting).
Advantageously, the responder's response does not have to happen immediately, i.e., there can be considerable latency. The responder's response also does not have to be transmitted via the same underlying message layer transport. Certain operations, however, require responses. For example, an Add operation of a record to a initiator requires a response mapping of the temporary record identifier to the application database unique identifier for the record. Even though the Add operation information is communicated using a notification procedure, the unique identifier is required by the synchronization procedure. As long as the identifier is present before the next synchronization begins, the synchronization procedure can use this data. This means the data can be logged/queued and prepended to the next synchronization message that is sent. A second example is error reporting which can be logged/queued or sent immediately depending upon cost of routing and/or severity of the error.
Since the databases in question may have very different capabilities for storage (e.g., a first device vs. a server running GroupWare applications), the broker for either database can specify preferences or limitations on the data stored. Since the cost of routing data to these applications can be expensive (particularly wireless network access of first devices), these preferences are preferably enforced at the initiator. These preferences are often enforced as filters (i.e., no records above a certain size).
NotifyXP Synchronization occurs between two operation brokers 26 and 28, with a NotifyXP reserved Operation Broker involved to control the synchronization procedure in some cases (see below). For the purposes of any one synchronization operation, e.g., for Notification, one broker is defined to be the initiator and the other is defined to be the responder.
The different modes for synchronization were described above: Fast Sync mode, Semi-fast Sync mode, Slow Sync mode and Full Re-Sync mode. NotifyXP supports all these synchronization modes. The synchronization mode that two applications will use, depends upon the properties of the applications. Note that application in this context means the application and any other broker(s) which have access to the application database.
Synchronization can occur by two different methods, Connected Synchronization and Connectionless Synchronization.
Connected Synchronization assumes that the messaging layer that NotifyXP uses to transfer its data is fundamentally connected and that initiators can expect a short latency for a response from responders.
A connected link allows the protocol to carry more traffic than a link that was trying to conserve the number of messages sent and received. A connected link is assumed to have less turnaround latency, but requires a higher bandwidth. Connected Synchronization requires the presence of Operation Brokers 32, 34 referred to as “Synchronization Manager Operation Broker” on the responder 16 and the initiator 14. The Synchronization Manager Operation Broker arbitrates responder resources that are responsible for handling the synchronization procedure and handles only two operations: “Begin Sync” and “End Sync”. “Begin Sync” and “End Sync” bracket the individual section synchronization procedures, with the “End Sync” indicating the end of anticipated latencies in the connected synchronization procedure.
The Synchronization Manager Operation Broker can also arbitrate the synchronization process by returning an ordered list of sections that the device should use to offer its synchronization data in response to a “Begin Sync” operation. This is an optimization to allow the device section data to arrive at the responder in the order expected by the Synchronization Manager. If there is no list, the sections can be sent in any order. Additional details of the Return Status operation are listed in the Appendix.
Referring now to
Otherwise, the procedure 100 terminates when the initiator Synchronization Manager Broker 32 sends an End Sync command to the responder Synchronization Manager Broker 34, step 109.
Details of the negotiation of the synchronization protocol are illustrated in FIG. 3. The initiator Synchronization Manager Broker 32 starts the synchronization procedure for one or more operation brokers, step 120, by sending a “Begin Sync” operation to the Synchronization Manager Operation Broker 34, step 122. The “Begin Sync” operation proposes a list of sections to be synchronized.
The responder checks if an error code was detected, step 124, and sends either an error message, step 126, or a “Return Status” operation to the initiator, step 128. If no error code was detected, the “Return Status” operation allows the procedure to continue with a list of sections to be synchronized. The following steps are implemented for each pair of operation brokers that must synchronize their data.
The initiator requests synchronization from the responder broker by sending a “Begin Section” operation which specifies the requested synchronization mode(s) to be used, step 130, explicitly requests a “Return Status” operation in response. The responder can accept the requested synchronization mode or specify a mutually acceptable mode in the extra data associated with the “Return Status” operation, step 132. The responder then sends the appropriate “Return Status” operation to the
Referring now to
The responder 16 then processes each operation, step 146, and after processing, step 148, sends an acknowledgment to the initiator 14 that the operation has been successfully processed, step 152. The initiator then transmits the next operation, step 158, or transmits an “End Section” operation. If the operation was not successfully processed, then the responder removes the operation from the reply and notifies the initiator that the operation was not processed, step 154. Note that transmission of these acknowledgements by the responder indicates that the operation was successfully processed and not merely received. The responder can wait until it has received the “End Section” operation from the initiator to send the requested “Return Status” operations to reduce the number of messages sent.
Once the initiator has transmitted all of the changes, it transmits an “End Section” operation, step 142. This is the way the responder broker is informed that the synchronization changes have been completely transmitted. The responder then computes the changes on its own local database, step 156 and retransmits the operations to the initiator to inform the initiator responder of the changes. The responder retransmits the operations following the same steps as the initiator. The responder, of course, does not have to negotiate the synchronization mode when it offers its data and can therefore use a form of the “Begin Section” operation which does not specify a requested synchronization mode.
Returning now to
Synchronization can be negotiated for the mode to be used with each database section/ broker. In addition, each broker can supply a list of possible modes to use during synchronization in order of preference. This allows the responder broker to use some intelligence to propose a different sync mode if the first preference for a synchronization mode is not available on the responder. Further details about the “Begin Section” operation are provided in the Appendix.
The responder controls the details for synchronizing the database. An initiator may propose some sections in a “Begin Sync” operation that are not supported on the responder. The responder then removes these operations from the list sent as a reply. Conversely, the responder may not return any database sections in its reply that are not present in the initiator's “Begin Sync” operation.
The second approach is called Connectionless Synchronization and makes no assumption (or has no knowledge about) the turnaround latency of the messaging layer. The goal is to minimize the number of messages exchanged. This approach can also be used on a “connected” messaging layer. Since turnaround latency is not an issue for connectionless synchronization, no Synchronization Manager Operation Brokers are required.
Referring now to
Once the responder has received the “End Section” operation from the initiator and accepts the synchronization mode, step 113, the responder begins building its response message to the initiator, but transmits the message only after the information to be transmitted in the message is complete. The first operations contained in the message of the responder are the “Return Status” operations to the initiator's offered operations. The responder then adds a “Begin Section” operation to the outgoing message. Since in the present example the responder accepted the requested synchronization mode, the responder's “Begin Section” operation does not have to specify a synchronization mode. The responder appends all changes to the message that were executed by the responder, including a request for a response from the initiator for the last operation. Finally, the “End Section” operation is added to the end of the message and the message is sent to the initiator, step 116. Once the initiator has received the “End Section” operation from the responder, the initiator may respond by acknowledging that the responder's offered data have been processed. The initiator may send this response either immediately after receiving the message from the responder or, alternatively, with the next synchronization of the database. Sending the confirmation with the next synchronization request advantageously reduces message traffic on the message transport layer.
If the responder, however, does not accept the synchronization mode proposed by the initiator, step 113, then the responder must renegotiate the synchronization mode by specifying the desired synchronization mode, step 114. The initiator must prepare supplemental operations to offer back to the responder. The operations required to satisfy the responder's newly requested synchronization mode can omit those operations that were already sent in the initial initiator operation offer. The initiator brackets all these operations with “Begin Section” and “End Section” operations and sends the message.
Under the most favorable conditions, Connectionless Synchronization requires only two (2) NotifyXP messages. This is the case if none of the initiator's operations require a response from the responder and if the responder does not have to transmit any operations to the initiator, except to indicate the end of the synchronization procedure. These are short messages.
As mentioned above, the initiator does not have to acknowledge receipt of the responder's operation until the next required contact with the responder, which can be a subsequent synchronization procedure or a notification procedure.
In the worst case, a maximum of four (4) NotifyXP messages are required when the responder redefines the synchronization mode.
The following discussion will explain the structure of the NotifyXP protocol in more detail. Although NotifyXP is defined to function as a connectionless protocol, its client and server are stateful. As described above, each NotifyXP message includes one or more NotifyXP operations. Each operation that is sent by the NotifyXP client, changes either the state of the NotifyXP server or the state of the application data to which the NotifyXP server interfaces. NotifyXP operations consist of a byte opcode followed by two bytes of the length of optional additional data in network byte order followed by any optional additional data. These aspects of NotifyXP are discussed in greater detail in the Appendix.
As also discussed above, NotifyXP operations may or may not require a response from the operation responder. NotifyXP operations that require a response have the most significant bit of the opcode byte set. It is possible to request that a single operation be performed with or without an expected response operation. If an operation fails, a NotifyXP broker must return a non-successful status for an operation regardless of whether a response was explicitly requested. NotifyXP servers do not have to return status for operations that were performed successfully unless a response is explicitly requested.
NotifyXP clients can use this feature to ensure successful positive acknowledgement of operations while minimizing message traffic. For example, a NotifyXP initiator sends a series of operations. The initiator needs to know about the success of each and every operation, but only the last operation sent in a message requires an explicit response, because the messaging layer guarantees complete delivery of messages. The responder is also required by NotifyXP to process operations in order of receipt and must return error status even if a status return is not explicitly requested. Therefore, the absence of a “Return Status” operation with an error before the final “Return Status” operation indicates that all operations up to the final operation were processed successfully.
Referring now to
This message requests a response to the “Add” operation. The first line of data specifies an “Add” operation, the second line the lengths of the operation including the data to be added and the third line a temporary record ID. Line four specifies that a total of three fields will be added (Field 1: the name; Field 2: the telephone number; and Field 3: the date and time of the appointment), lines 5-13. As discussed in the Appendix, the server will return a unique ID (line 16) after each successful “Add” operation to allow record ID mapping. Depending upon the device rules for cost of routing, available messaging layer transports, etc., the device can respond immediately or queue the response until the next time the response can be transmitted. The responder may, but is not required to, return a “Return Status” operation with a unique ID to indicate success if the device supports Unique ID assignment.
Referring now to
As seen in
This section is absent in the connectionless mode.
In both modes, the procedure continues with a request from the device to synchronize all changes to the records for the responder broker since Dec. 30th, 1997 at 8:30 am using Fast Sync.
In the connected mode, the initiator also explicitly advertises Slow Sync as a fallback option. The responder broker acknowledges the request with a “Return Status” operation. The response indicates that the Fast Sync mode requested can be used since no other mode was suggested.
This section is absent in the connectionless mode.
Referring now to
Referring now to
In the connectionless mode, only the last successful change (0x82; Delete) is transmitted from the responder to the initiator, since its successful execution indicates that all previous changes have also been successfully executed. The responder also transmits, like in the connected mode, the changes in its own database since the last synchronization.
Referring now to
In contrast, in the connectionless mode, the device confirms only that the update was successfully completed. This confirmation can be postponed until the next synchronization or notification, as mentioned above.
In other words, in the connectionless mode, when the initiator sends its operations, only the last operation in a message requires a response. This reduces the number of operations the responder must send to the device to properly acknowledge the device's operations. Only an error encountered by the responder broker on the responder while processing the operation would require a response from the device.
The connectionless Synchronization Procedure, unlike the connected Synchronization Procedure, does not enforce a fixed response time for each sent message. The time between messages can also vary over a wide range. However, unless the device and responder brokers have “agreed” upon a delayed delivery of responses to outstanding messages and operations, synchronization times should be kept as short as possible.
It is to be understood that the embodiments and variations shown and described above are illustrative of the principles of this invention only and that various modifications may be implemented by those skilled in the art without departing from the scope and spirit of the invention.
Each operation is encoded as a single byte and may have additional data bytes associated with it. The following sections provide a description of each operation including any additional data that the operation specifies. Each section also provides a definition of the operation structure using modified Backus-Naur Notation (BNF). The BNF definitions use the following terms that are defined for use by any operation.
The sizes of the op-data-length and field-length terms are defined by the Operation Size Property. Details are provided in section “Advertise Properties” in this Appendix. The formats of the rule and exdate properties are consistent with those defined in the vCalendar™ specification, The Electronic Calendaring and Scheduling Exchange Format, Version 1.0. vCalendar™ is a trademark of Apple Computer, Inc., AT&T Corp., International Business Machines Corp., and Siemens.
Additional information regarding the format of these rules can be found in the sections 2.1.11 (Basic Recurrence Rule Grammar (e.g., “W1 TU TH”)) and 2.3.12 Exception Date/Times (e.g., “19960402; 19960403”)) of the vCalendar™ specifications version 1.0.
There is one field-id which is reserved for use by NotifyXP. This is the “Unique ID” field (field-id ==0). This field can be used to communicate a record's unique identifier as one of its fields. This convention is used by the “Add” and “Modify” operations. For this reason, the zero field-id value is reserved and should not be used for any other field identifier.
2. Return Status The “Return Status” operation is used to inform the responder about the status of a previous operation. The “Return Status” operation is defined below using BNF.
The following table shows the supported values for the operation-status term.
The following table shows the method for interpreting the operation-id and corresponding operation-data term.
The operation data for an Add operation is the temporary record identifier followed by the optional Unique ID for the added record. Some brokers do not support the assignment of temporary record identifiers to Unique IDs (e.g., brokers on an responder might not need to return a unique ID for a record which was added for their initiator client). Other brokers may want to indicate that an error occurred on the Add operation that resulted in a failure to assign a Unique ID. These brokers do not have to include the optional Unique ID when responding to the Add operation. Like any optional final term in a NotifyXP operation, the Unique ID can be omitted by excluding it from the operation data using the correct value for op-data-length.
The Operation data for the “Begin Sync” opcode can specify an optional ordered list of enabled sections as its operation data. The order in which the section identifiers appear in the list is the order in which the responder expects to receive the section data. The format of the list is described below using BNF.
The section-id term must be defined between the Synchronization Manager operation broker on the initiator and the Enterprise Server. NotifyXP does not specify an identifier for database sections. “Begin Section” only returns a different sync mode from what was requested if the responder broker is unable to process the requested sync mode. See the section “Begin Section” for an interpretation of the value of the Sync Mode BYTE.
3. Add
The “Add” operation is used to specify that a record to be added by the responder broker. The “Add” operation is defined below using BNF.
The temp-record-id is assigned by the NotifyXP client for the add request. A NotifyXP client will receive a successful “Return Status” operation with a unique ID back from the server for every successful “Add” operation to allow it to perform record ID mapping. Not all NotifyXP brokers support unique identifier assignment. For example, a broker that performed transient alerts on the data would not need to assign an ID to the data since it would never be stored on the device.
There is one other requirement for the Add operation. If the responder broker requires the record's unique ID, this can be sent using the reserved “Unique ID” field (field-id==0). This is commonly the case when a initiator communicates a record addition to a responder (e.g., during synchronization). Generally, the responder does not send unique IDs for the new records it adds to the initiator client because of storage constraints and because the initiator rarely cares about a unique ID for a record in a database section other than its own. The decision is left up to the implementer.
4. Delete
The “Delete” operation is used to specify a record to be deleted by the responder broker. The “Delete” operation is defined below using BNF.
5. Delete and Archive
The “Delete and Archive” operation is used to specify a record to be archived and deleted by the responder broker. The “Delete and Archive” operation is defined below using BNF.
Before deletion, the record should be archived if the application database supports archiving. If the database does not support archiving a status for the record must be returned indicating what actions were performed on the database.
6. Modify
The “Modify” operation is used to update the contents of a specified record with the responder broker. The “Modify” operation is defined below using BNF.
There is one restriction on records used in the Modify operation. The record must contain a value for the reserved “Unique ID” field (field-id ==0). This is to allow the responder broker to know which record is being modified.
7. Unmodified Records
The “Unmodified Records” operation is used to indicate that the specified record list has not been modified since the last synchronization in the application database that is managed by the responder broker. The “Unmodified Records” operation is defined below using BNF.
The num-records term defines how many unique-id terms follow.
8. Begin Section
The operation “Begin Section” is used in both types of synchronization procedures to tag the beginning of an operation stream that will be part of a synchronization procedure and, optionally, to request what synchronization mode that procedure will use. The operation “Begin Section” is defined below using BNF.
The num-records term is a signed value indicating the number of records that will be sent as the synchronization data for the section. If the number of records is unknown, the value 0xFFFF (−1) can be sent.
As mentioned in the Synchronization Procedure section, a broker may specify that it can operate in more than one synchronization mode when negotiating a connected synchronization procedure. This is to allow the responder broker a greater deal of flexibility in deciding which type of synchronization to perform. The number of sync modes the initiator can support is contained in the num-modes term. (Note that in a connectionless procedure, only a single mode can be specified since the initiator offers all data before the responder can respond with its requested sync mode.) The following table shows the supported values for the sync-mode term and the method for interpreting the corresponding optional mode-data term.
The date-time term is in ISO 8601 format.
In a connected synchronization procedure, the modes appear in the order of preference of the initiator. For example, assume an initiator that supported Fast Sync and used a time stamped change log to track changes to the database. The first sync mode in the list might be a Fast Sync with the last sync time to the current remote, the second would be a Fast sync with the time stamp of the oldest change in the change log, and the third mode would be Slow Sync. It is worthy of note in this case that the broker would be capable of handling a Fast Sync request for any date between the oldest change in the log and the last sync time inclusive although a Fast Sync with the last sync time is its first choice.
9. End Section The operation “End Section” is used to tag the end of a synchronization operation stream for the section. This operation indicates that the responder broker must apply all received operations for the current synchronization procedure and transition to the next step in the procedure.
The operation “End Section” is defined below using BNF.
The date-time term is the new synchronization date and time for the section in ISO 8601 format. This is sent only from the initiator to the responder and is usually the time on the initiator at which the corresponding “Begin Section” operation was sent. The initiator and responder will use this time as the “last sync time” for the next “Fast Sync” they perform on this section.
10. Cancel Procedure
The “Cancel Procedure” operation is used to request that the current procedure (e.g., synchronization) be terminated. The “Cancel Procedure” operation is defined below using BNF.
Note that op-data-length for this operation is always zero. If this operation succeeds, the current procedure is considered cancelled and both the transmitting and responder brokers are responsible for recovering their state.
11. Request Properties
The “Request Properties” operation is used to request the operational properties of the responder broker. The “Request Properties” operation is defined below using BNF.
The response to this operation is an “Advertise Properties” operation and is always required. Note that op-data-length for this operation is always zero.
12. Advertise Properties
The “Advertise Properties” operation is used to inform the responder about the operational properties of a broker. The “Advertise Properties” operation is defined below using BNF.
The following table shows the supported values for the property-id term and the method for interpreting the corresponding property-value term. This table can be extended in the future. If a responder does not understand any property-id value, it may be skipped in property parsing.
The Sync Mode property describes the highest level of synchronization supported by the broker. The values for the BYTE are described in the “End Section” operation section. The Supported Operations property is an array of the operation byte codes the broker supports. The Version property is the version of NotifyXP that the broker supports. The three bytes are interpreted in the following manner: the first byte is the major version, the second byte is the minor version, and the third byte is the revision.
The Operation Size property is the size in bytes of the op-data-length and field-length terms used by the sender. The default value for this property is two (2) which means that by default, these two terms are WORDs. This default value is re-initialized with every new message. A NotifyXP initiator that wishes to override this default (e.g., it needs to send a record which contains a field which is longer than 65535 bytes) may do so in the following way. The initiator includes an Advertise Properties operation that specifies a new value for the Operation Size property in the message prior to any operations that require the larger size. The Operation Size value then remains as specified until either a subsequent Advertise Properties operation changes it again or it reverts back to default at the end of the message.
NotifyXP does not require that remote clients keep track of servers to which they connect. However, if a client does keep track of servers, it can cache the non-transient capabilities of each responder server. It is only necessary to advertise the properties of a NotifyXP client when:
The “Begin Sync” operation is used to initiate a connected synchronization procedure. The “Begin Sync” operation is defined below using BNF.
The section-id term must be defined between the Synchronization Manager operation broker on the initiator and the Enterprise Server. NotifyXP does not specify an identifier for database sections.
14. End Sync
The “End Sync” operation is used to signal the successful termination of a connected synchronization procedure. The “End Sync” operation is defined below using BNF.
Number | Name | Date | Kind |
---|---|---|---|
4162610 | Levine | Jul 1979 | A |
4432057 | Daniell et al. | Feb 1984 | A |
4807154 | Scully et al. | Feb 1989 | A |
4807155 | Cree et al. | Feb 1989 | A |
4807182 | Queen | Feb 1989 | A |
4817018 | Cree et al. | Mar 1989 | A |
4819156 | DeLorme et al. | Apr 1989 | A |
4819191 | Scully et al. | Apr 1989 | A |
4827423 | Beasley et al. | May 1989 | A |
4831552 | Scully et al. | May 1989 | A |
4866611 | Cree et al. | Sep 1989 | A |
4875159 | Cary et al. | Oct 1989 | A |
4939689 | Davis et al. | Jul 1990 | A |
4956809 | George et al. | Sep 1990 | A |
4980844 | Demjanenko et al. | Dec 1990 | A |
5065360 | Kelly | Nov 1991 | A |
5124912 | Hotaling et al. | Jun 1992 | A |
5134564 | Dunn et al. | Jul 1992 | A |
5136707 | Block et al. | Aug 1992 | A |
5142619 | Webster, III | Aug 1992 | A |
5155850 | Janis et al. | Oct 1992 | A |
5170480 | Mohan et al. | Dec 1992 | A |
5187787 | Skeen et al. | Feb 1993 | A |
5197000 | Vincent | Mar 1993 | A |
5201010 | Deaton et al. | Apr 1993 | A |
5210868 | Shimada et al. | May 1993 | A |
5220540 | Nishida et al. | Jun 1993 | A |
5228116 | Harris et al. | Jul 1993 | A |
5237678 | Kuechler et al. | Aug 1993 | A |
5251151 | Demjanemko et al. | Oct 1993 | A |
5251291 | Malcolm | Oct 1993 | A |
5261045 | Scully et al. | Nov 1993 | A |
5261094 | Everson et al. | Nov 1993 | A |
5272628 | Koss | Dec 1993 | A |
5276876 | Coleman et al. | Jan 1994 | A |
5278978 | Demers et al. | Jan 1994 | A |
5278982 | Daniels et al. | Jan 1994 | A |
5283887 | Zachery | Feb 1994 | A |
5293627 | Kato et al. | Mar 1994 | A |
5301313 | Terada et al. | Apr 1994 | A |
5315709 | Alston, Jr. et al. | May 1994 | A |
5323314 | Baber et al. | Jun 1994 | A |
5327555 | Anderson | Jul 1994 | A |
5333252 | Brewer, III et al. | Jul 1994 | A |
5333265 | Orimo et al. | Jul 1994 | A |
5333316 | Champagne et al. | Jul 1994 | A |
5339392 | Risberg et al. | Aug 1994 | A |
5339434 | Rusis | Aug 1994 | A |
5355476 | Fukumura | Oct 1994 | A |
5375234 | Davidson et al. | Dec 1994 | A |
5392390 | Crozier | Feb 1995 | A |
5396612 | Huh et al. | Mar 1995 | A |
5412801 | de Remer et al. | May 1995 | A |
5421012 | Khoyi et al. | May 1995 | A |
5434994 | Shaheen et al. | Jul 1995 | A |
5444851 | Woest | Aug 1995 | A |
5455945 | VanderDrift | Oct 1995 | A |
5463735 | Pascucci et al. | Oct 1995 | A |
5475833 | Dauerer et al. | Dec 1995 | A |
5511188 | Pascucci et al. | Apr 1996 | A |
5519606 | Frid-Nielsen et al. | May 1996 | A |
5530853 | Schell et al. | Jun 1996 | A |
5530939 | Mansfield, Jr et al. | Jun 1996 | A |
5557518 | Rosen | Sep 1996 | A |
5560005 | Hoover et al. | Sep 1996 | A |
5568402 | Gray et al. | Oct 1996 | A |
5581753 | Terry et al. | Dec 1996 | A |
5581754 | Terry et al. | Dec 1996 | A |
5583793 | Gray et al. | Dec 1996 | A |
5596574 | Perlman et al. | Jan 1997 | A |
5600834 | Howard | Feb 1997 | A |
5608865 | Midgely et al. | Mar 1997 | A |
5613113 | Goldring | Mar 1997 | A |
5615109 | Eder | Mar 1997 | A |
5615364 | Marks | Mar 1997 | A |
5619689 | Kelly | Apr 1997 | A |
5623540 | Morrison et al. | Apr 1997 | A |
5630081 | Rybicki et al. | May 1997 | A |
5649182 | Reitz | Jul 1997 | A |
5649195 | Scott et al. | Jul 1997 | A |
5659741 | Eberhardt | Aug 1997 | A |
5666530 | Clark et al. | Sep 1997 | A |
5666553 | Crozier | Sep 1997 | A |
5671407 | Demers et al. | Sep 1997 | A |
5682524 | Freund et al. | Oct 1997 | A |
5684984 | Jones et al. | Nov 1997 | A |
5684990 | Boothby | Nov 1997 | A |
5689706 | Rao et al. | Nov 1997 | A |
5701423 | Crozier | Dec 1997 | A |
5704029 | Wright, Jr. | Dec 1997 | A |
5706429 | Lai et al. | Jan 1998 | A |
5706452 | Ivanov | Jan 1998 | A |
5706509 | Man-Hak Tso | Jan 1998 | A |
5708812 | Van Dyke et al. | Jan 1998 | A |
5708840 | Kikinis et al. | Jan 1998 | A |
5710922 | Alley et al. | Jan 1998 | A |
5727202 | Kucala | Mar 1998 | A |
5729735 | Meyering | Mar 1998 | A |
5737539 | Edelson et al. | Apr 1998 | A |
5740433 | Carr et al. | Apr 1998 | A |
5745712 | Turpin et al. | Apr 1998 | A |
5758083 | Singh et al. | May 1998 | A |
5758150 | Bell et al. | May 1998 | A |
5758337 | Hammond | May 1998 | A |
5758355 | Buchanan | May 1998 | A |
5778388 | Kawamura et al. | Jul 1998 | A |
5781908 | Williams et al. | Jul 1998 | A |
5790789 | Suarez | Aug 1998 | A |
5794252 | Bailey et al. | Aug 1998 | A |
5809494 | Nguyen | Sep 1998 | A |
5813009 | Johnson et al. | Sep 1998 | A |
5813013 | Shakib et al. | Sep 1998 | A |
5819272 | Benson | Oct 1998 | A |
5819274 | Jackson, Jr. | Oct 1998 | A |
5832218 | Gibbs et al. | Nov 1998 | A |
5832489 | Kucala | Nov 1998 | A |
5835908 | Bennett et al. | Nov 1998 | A |
5838923 | Lee et al. | Nov 1998 | A |
5845293 | Veghte et al. | Dec 1998 | A |
5857201 | Wright, Jr. et al. | Jan 1999 | A |
5870759 | Bauer et al. | Feb 1999 | A |
5870765 | Bauer et al. | Feb 1999 | A |
5875242 | Glaser et al. | Feb 1999 | A |
5877760 | Onda et al. | Mar 1999 | A |
5878415 | Olds | Mar 1999 | A |
5884323 | Hawkins et al. | Mar 1999 | A |
5884324 | Cheng et al. | Mar 1999 | A |
5884325 | Bauer et al. | Mar 1999 | A |
5892909 | Grasso et al. | Apr 1999 | A |
5892949 | Noble | Apr 1999 | A |
5897640 | Veghte et al. | Apr 1999 | A |
5924094 | Sutter | Jul 1999 | A |
5926816 | Bauer et al. | Jul 1999 | A |
5926824 | Hashimoto | Jul 1999 | A |
5928329 | Clark et al. | Jul 1999 | A |
5943676 | Boothby | Aug 1999 | A |
5956508 | Johnson et al. | Sep 1999 | A |
5966714 | Huang et al. | Oct 1999 | A |
5974238 | Chase, Jr. | Oct 1999 | A |
5978813 | Foltz et al. | Nov 1999 | A |
5995980 | Olson et al. | Nov 1999 | A |
5999947 | Zollinger et al. | Dec 1999 | A |
6018303 | Sadeh | Jan 2000 | A |
6044381 | Boothby et al. | Mar 2000 | A |
6081806 | Chang et al. | Jun 2000 | A |
6098078 | Gehani et al. | Aug 2000 | A |
6125369 | Wu et al. | Sep 2000 | A |
6141664 | Boothby | Oct 2000 | A |
6212221 | Wakayama et al. | Apr 2001 | B1 |
6233452 | Nishino | May 2001 | B1 |
6247135 | Feague | Jun 2001 | B1 |
6272074 | Winner | Aug 2001 | B1 |
6324542 | Wright, Jr. et al. | Nov 2001 | B1 |
6330568 | Boothby | Dec 2001 | B1 |
6405218 | Boothby | Jun 2002 | B1 |