WO2012120142A1 - System and method for session synchronization with independent external systems - Google Patents
System and method for session synchronization with independent external systems Download PDFInfo
- Publication number
- WO2012120142A1 WO2012120142A1 PCT/EP2012/054208 EP2012054208W WO2012120142A1 WO 2012120142 A1 WO2012120142 A1 WO 2012120142A1 EP 2012054208 W EP2012054208 W EP 2012054208W WO 2012120142 A1 WO2012120142 A1 WO 2012120142A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- dossier
- data
- session
- stored
- user
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/45—Exploiting coarse grain parallelism in compilation, i.e. parallelism between groups of instructions
- G06F8/458—Synchronisation, e.g. post-wait, barriers, locks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
- G06F16/2358—Change logging, detection, and notification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/108—Transfer of content, software, digital rights or licenses
- G06F21/1087—Synchronisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30003—Arrangements for executing specific machine instructions
- G06F9/30076—Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
- G06F9/30087—Synchronisation or serialisation instructions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F9/522—Barrier synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/142—Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/2876—Pairs of inter-processing entities at each side of the network, e.g. split proxies
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5016—Session
Definitions
- the present invention relates in general to data processing systems and in particular to client-server and web server software architectures used for database access. Still more specifically, the present invention relates to a method and a system to optimize data synchronization from independent and possibly heterogeneous external systems, in a transaction operated on a reference system, while minimizing the risk of data loss.
- An independent external system is here to be understood as an external system controlled independently of the reference system.
- the reference system can be controlled by an agent or user, or can be automatic.
- a heterogeneous external system is here to be understood as an external system with processes, applications and data structures defined in it that may differ from those of the reference system.
- the external system can be an automatic mechanism e.g. a robot operated by a global distribution system (GDS) such as Amadeus, a company with headquarters in GDS.
- GDS global distribution system
- the automatic mechanism can for instance be arranged for updating records, such as passenger name records (PNR), directly in the store. Updates may consist in automatically cancelling non ticketed bookings.
- PNR passenger name records
- the external system is accessed by a travel agent and allows booking on a system independent of the reference system.
- the external system may for instance allow booking entertainment events whereas the reference system allows booking travel tickets.
- Data synchronization can be defined as the task of keeping data consistent between various components of a system that works on given reference data and duplicates of such data. For that purpose, a version number is usually assigned to each data element.
- a data element may be defined by a data structure and a unique identifier.
- US 7,539,778 discloses a client-server architecture for synchronization of data between different clients, by deploying a central synchronization server between clients and a Back End data store.
- a particular method of synchronization is disclosed, based on a cache for permanently buffering incoming updates into a permanent store by assigning a unique cache identifier to each of them.
- Write conflicts between the synchronization server writing new entries to the cache and updates replicated from backend to cache are solved using a blocking mechanism based on the cache identifiers.
- This synchronization solution is therefore based on a cache component that performs two tasks: solve write conflicts on updates and minimize the connection and the transport to the Back End data store.
- FIG. 1A The sequence diagram of FIG. 1A illustrates a version conflict between a user dossier in store and user session to save.
- Some data in the dossier in store have been modified by another application, possibly from an external system, while user A was working on data retrieved from a previous version of said dossier in store.
- user A decides to save his/her work.
- the data to save are based on an obsolete version of said dossier in store. Such data are likely to be invalid.
- a first option is to refuse version conflict.
- This is a simple and robust method that consists in rejecting any save order if the version of user dossier to be saved by user session does not match the current version of user dossier in store.
- This policy ensures that there are never any concurrent access issues since the only difference between the dossier in store and the one to be stored is the update resulting from user session.
- this method is very simple to implement and robust, its obvious limitation is that data to save from user session or from any external system may be rejected and user's work could be lost.
- the only solution allowed is to ignore the current work, retrieve the new version from store, redo the work and try again to save, hoping that this time the dossier in store was not updated meanwhile.
- This approach is very aggressive and ineffective in heavy concurrent access business models.
- a second option is to handle version conflict in a save everything approach.
- Adding data from an external system implies to merge all the data in the session and then decide what to do; this is feasible if and only if the user session can be aware, via signaling means, that some data were made available by an external system.
- the first possible choice is to save this merged session straight away in the store. This is not a perfect mechanism from a user perspective since there may be some wrong or temporary data in user session, due to user work in progress, and these data will be saved in the dossier in store out of user's control. It allows the session to get an updated view from the store.
- a third option is to handle version conflict in a save nothing approach. This means that data from an external system are put in session without being saved, pending user's decision to save. This increases the risk of data loss. If the user finally omits to save, data from an external system may never be retrieved again and would be lost. To simplify this issue, actual systems usually ask the user to save session data before synchronizing with external systems, but this is a strong constraint for the user.
- a second issue is that new data in the stored user dossier may not become visible to the user.
- a broad object of the invention to disclose a method and a system for improving data synchronization in a data processing architecture including a data store, client-server or web server systems for accessing said data store, and a plurality of independent and possibly heterogeneous systems external to said data store.
- the invention aims at solving a main technical problem related to the retrieval and aggregation of data from independent and possibly heterogeneous external sources in a data store.
- a method and a system for improving data synchronization in a data processing architecture including a data store, client-server or web server systems for accessing said data store, and a plurality of independent and possibly heterogeneous systems external to said data store.
- the invention brings a solution to a main technical problem related to the retrieval and aggregation of data from independent and possibly heterogeneous external sources in a data store.
- the invention provides a version merge mechanism that improves version conflict management methods found in the prior art.
- the method of the invention handles concurrent update of a given user data in said data store occurring when said data are simultaneously modified by the user and by other processes operating on said external systems.
- the invention proposes to define and apply sets of rules to determine which source of information is given priority in case two channels want to update the same data in a dossier at the same time.
- an advantage provided by the invention is that user related data, including data from external systems, are saved without risk of loss, even if the user has started a user session and is still working on it.
- a further advantage obtained is a way of updating user session with data from the external systems not forcing user data to be saved, thus preventing data not yet validated from being saved.
- the invention discloses a method of providing data synchronization between a session of a user, a data store storing a stored dossier and at least one external system, the method comprising the following steps performed with at least one data processor:
- a synchronizer in communication with at least the session and the data store receives a request from the session to retrieve the stored dossier from the data store; - the synchronizer retrieves the stored dossier from the data store, creates from the stored dossier an intermediate dossier comprising at least the content of the stored dossier and delivers the intermediate dossier to the session, as a session dossier, for operations by the user;
- the synchronizer receives user updates that are performed on the session dossier
- the synchronizer updates the intermediate dossier so that the intermediate dossier comprises said external data
- the synchronizer updates the intermediate dossier through merging said user updates and the intermediate dossier; and then provides the user with the intermediate dossier.
- the session receives an updated intermediate dossier comprising the data sent by the external system and the latest version stored dossier.
- the user is further able to work on an up-to-date version of the intermediate dossier.
- the stored dossier has not been modified by the user. While all data received by external systems are saved in the stored dossier, all changes performed by the session can therefore be further saved in the data store or be deleted without modifying the stored dossier in the data store.
- the invention eases significantly the work done by the user by preventing loss of data from external systems without forcing the user to save updates of its session.
- the method according to the invention may comprise any one of the following optional features and steps:
- the external system can be heterogeneous with the data store. This is possible thanks to the merge function performed by the synchronizer.
- the synchronizer upon reception at the synchronizer of a request for refresh sent by the session, the synchronizer:
- said external data from the external system are received by the data store.
- the data store Upon reception of said external data by the data store the data store performs the step of modifying the stored dossier so that it comprises said external data and the step of saving the stored dossier in the data store.
- the step where the synchronizer updates the intermediate dossier so that the intermediate dossier comprises said external data occurs after the steps of modifying the stored dossier so that it comprises said external data and of saving the stored dossier in the data store and comprises the following steps: the synchronizer retrieves the stored dossier from the data store and updates the intermediate dossier with the stored dossier.
- the steps of modifying the stored dossier so that it comprises said external data and of saving the stored dossier in the data store occur upon reception of the external data by the data store.
- the synchronizer After receiving at the synchronizer a request for refresh sent by the session and before the step wherein the synchronizer sends the intermediate dossier to the session to replace the session dossier, then the synchronizer updates the intermediate dossier with the stored dossier.
- said external data from the external system are received at an event queue in communication with the synchronizer.
- the step where the synchronizer updates the intermediate dossier so that the intermediate dossier comprises said external data comprises the following steps: the synchronizer retrieves said external data from the event queue, retrieves the stored dossier from the data store, and then updates the intermediate dossier through merging said external data and the stored dossier.
- the synchronizer may first retrieves said external data from the event queue and then retrieves the stored dossier from the data store. Alternatively, the synchronizer first retrieves the stored dossier from the data store and then retrieves said external data from the event queue.
- the synchronizer saves in the data store the intermediate dossier.
- the synchronizer then initiates the step wherein the data store saves the intermediate dossier.
- the event queue Upon reception of said external data from the external system, the event queue sends to said external system a confirmation that said data are correctly received.
- the method After the step of receiving at the synchronizer a request for refresh sent by the session and before the step wherein the synchronizer sends the intermediate dossier to the session to replace the session dossier, the method performs the steps wherein the synchronizer updates the intermediate dossier through merging said external data and the stored dossier.
- the step of receiving external data from the external system comprises receiving external data by the data store and receiving additional external data by an event queue in communication with the synchronizer.
- the data store upon reception of said external data by the data store then the data store performs the step of modifying the stored dossier so that it comprises said external data and the step of saving the stored dossier in the data store.
- the synchronizer retrieves said additional external data from the event queue, retrieves the stored dossier from the data store, updates the intermediate dossier through merging said additional external data and the stored dossier and replaces the stored dossier with the intermediate dossier.
- the stored dossier and the intermediate dossier comprise the external data received at the data store and the additional external data received at the event queue.
- the synchronizer can update the intermediate dossier through merging said user updates and the intermediate dossier for providing the user with an intermediate dossier comprising the external data received at the data store, the additional external data received at the event queue and the user updates.
- the synchronizer Upon the update of the intermediate dossier by the synchronizer through merging said additional external data and the stored dossier, the synchronizer saves in the data store the intermediate dossier.
- the stored dossier comprises the external data received at the data store and the additional external data received at the event queue.
- the step of receiving external data by the data store can occur before or after the step of receiving additional external data by an event queue.
- the synchronizer receives from the session additional user updates, then the synchronizer retrieves the stored dossier from the data store, updates the intermediate dossier through merging the stored dossier with the additional user updates from the session and sends the intermediate dossier to the session to replace the session dossier.
- the session provides the user with a possibility to save the intermediate dossier in the data store.
- the session provides the user with a possibility to update the intermediate dossier through merging external data received from the external system, the stored dossier and the session dossier, and then to save the intermediate dossier as updated in the data store. Therefore, the work possibly performed by the user through the session and all data possibly received from the at least one external system are saved in the data store.
- the synchronizer retrieves the stored dossier, that retrieved version will comprise updates from the session and data from the at least one external system.
- the possibility is a question asked to the user through a user interface of the session about saving or not saving the session dossier, said question being asked when the session receives an instruction to close the session.
- the session receives an instruction for saving the session dossier and sends to the synchronizer a save request, wherein upon reception of the save request the synchronizer updates the intermediate dossier through merging data received from the external system, the stored dossier and the session dossier, and saves the intermediate dossier as updated in the data store.
- the session does not receive instruction to save the session dossier or if the session receives an instruction to delete the session dossier, then the user updates are not saved and the session does not update the stored dossier in the data store.
- At least an external system is accessed by the user and at least some of the external data are generated by the user.
- the user accesses the session and at least the external system through the same processing device.
- said processing device is a personal computer, a smart phone or a personal digital assistant.
- the user accesses the external system through a user interface of the external system.
- Said external data are sent from the external system to an event queue in communication with the synchronizer when the user switches back from the user interface of the external system to a user interface of the session.
- the user accesses the external system through a user interface of the external system.
- Said external data are sent from the external system to the data store when the user switches back from the user interface of the external system to a user interface of the session.
- the synchronizer before the synchronizer retrieves the stored dossier from the data store for creating or updating the intermediate dossier, at least one additional external system sends additional external data to the data store, said additional external data updating the stored dossier and being therefore available for subsequent retrieval of the stored dossier by the synchronizer when creating or updating the intermediate dossier.
- the method comprising a step of identifying in the stored dossier intersection zones that can be modified with data or updates from various sources, said sources being user session or the at least one external system and comprising a step of defining priority rules for each intersection zone.
- a zone of the stored dossier can be modified with external data from more than one external system or if the stored dossier can be modified with external data from at least one external system plus from the user session, then said zone is identified as an intersection zone.
- said identification is performed at system configuration time or when a new external system is integrated in the architecture.
- the step of modifying the stored dossier so that it comprises said external data comprises a step of identifying whether an intersection zone of the stored dossier is impacted by the external data. If so, then applying the priority rules defined for said zone.
- the step of saving the intermediate dossier in the data store after a merge with the user updates comprises a step of identifying whether an intersection zone of the stored dossier is impacted by the user updates. If so, then applying the priority rules defined for said zone.
- the external system and the additional external system are the same.
- the external system automatically updates the data store without being manually triggered.
- the external system is triggered by the user of the session.
- the data store receives the additional data from the additional external system, the data store sends to the additional external system a confirmation that said additional data are correctly received.
- the synchronizer when the synchronizer retrieves the stored dossier from the data store, all additional data sent by the additional external system are taken into account. Therefore, the synchronizer creates or updates the intermediate dossier through merging data from the external system, if any, and the stored dossier that comprises the additional data from the additional external system.
- the synchronizer does not receive updates from the session to be merged with the intermediate dossier and saved and if the event queue does not receive data from the external system, then the stored user dossier is updated by the at least one external system without any interaction with the intermediate dossier and the session dossier.
- data from the external system and sent to the event queue are generated by the user accessing the external system while data from the additional external system and sent to the data store are generated independently of the user.
- the invention provides a method wherein the additional external system is independent of the data store.
- the additional external system is independent of the session.
- the additional external system is heterogeneous with the data store.
- the additional external system is another session that is controlled by another user/system.
- the data store is an e-ticket data store or an inventory data store which tracks availability related to a transportation service such as availability of flights.
- the data store comprises passenger name records (PNR).
- External data from the external system relate to passenger name records.
- user updates from the session relate to passenger name records.
- the session provides a reservation system related to the travel and tourism industry.
- a reservation system related to the travel and tourism industry.
- it can be an airline reservation system, a railway reservation system, etc. and it can be provided by a GDS.
- the external system provides additional services or products. For instance, it can be a reservation system for leisure activities such as a safari, an excursion, an exposition visit, a restaurant, a concert, etc. It may also provide hotel reservation.
- the external system may also provide transportation services other than the transportation services of the session. For instance, the external system may provide a transportation service regarding a transportation mode similar to the one of the session but with another provider or for another route. Typically, the session and the external system provide flights operated by two different airlines.
- the external system may also provide a transportation mode different of the one of the session.
- the session provides flight tickets and the external system provides train tickets, ferry tickets or car rental.
- the method of invention can be operated through a computer program product stored in a computer-readable memory medium and adapted to perform the method according to any one of the embodiment of the invention.
- the method is performed as a result of execution of a computer software by at least one data processor, the computer software being stored in a non-transitory computer-readable memory medium.
- Another subject matter of the invention is a system for providing data synchronization comprising a data store, a session comprising a user interface and arranged for accessing a stored dossier stored in said data store and at least an external system, characterized in that it comprises a synchronizer in communication with at least the session and the data store, the system being arranged to perform the following steps with at least one data processor:
- the synchronizer receives a request from the session to retrieve the stored dossier from the data store;
- the synchronizer retrieves the stored dossier from the data store, creates from the stored dossier an intermediate dossier comprising at least the content of the stored dossier and delivers the intermediate dossier to the session, as a session dossier, for operations by the user;
- the synchronizer receives user updates that are performed on the session dossier
- the synchronizer updates the intermediate dossier so that the intermediate dossier comprises said external data
- the synchronizer updates the intermediate dossier through merging said user updates and the intermediate dossier; and then provides the user with the intermediate dossier as updated.
- At least an external system is accessible through the session.
- said external system is independent of said data store.
- FIGURE 1A shows an example of concurrent access in data store.
- FIGURE 1 B discusses relative drawbacks and benefits of existing methods of version conflict handling.
- FIGURE 2 shows an example of system high-level software architecture to which the invention advantageously applies.
- FIGURE 3 shows an example of detailed system architecture to which the invention advantageously applies.
- FIGURE 4 shows an example of detailed system architecture to which the invention advantageously applies, with communication flows for a sequence of typical tasks to be performed.
- FIGURE 5 provides an example of sequential diagram of the various typical steps that result from the processing of end-user requests and actions from external systems.
- FIGURE 6 provides an overview of the merge process.
- FIGURE 7 explains how a set of rules is applied on data intersection between external data and session data, and for two dossiers in general.
- FIGURE 8 shows an example of detailed system architecture to which the invention advantageously applies, with communication flows for a sequence of typical tasks to be performed in the case of asynchronous event handling enhanced by a scheduled task.
- FIGURE 9 provides an example of sequential diagram of the various typical steps that result from the processing of end-user requests and actions from external systems in the case of asynchronous event handling enhanced by a scheduled task.
- FIGURE 10 shows an example of detailed system architecture to which the invention advantageously applies, with communication flows for a sequence of typical tasks to be performed in the case of a store update only.
- FIGURE 1 1 provides an example of sequential diagram of the various typical steps that result from the processing of end-user requests and actions from external systems in the case of a store update only.
- FIGURE 12 shows an example of detailed system architecture to which the invention advantageously applies, with communication flows for a sequence of typical tasks to be performed in the case of an asynchronous update by an external system and no user session.
- FIGURE 13 provides an example of sequential diagram of the various typical steps that result from the processing of actions from external systems in the case of an asynchronous update by an external system and no user session.
- Figure 2 shows an example of high-level system architecture of the present invention, in which a synchronizer 4 component is located between a data store 1 and a user session 3 and receives data from at least an external systems 5, 5'.
- the function of this synchronizer 4 is to aggregate and merge data.
- the synchronizer 4 creates or updates an intermediate dossier.
- the intermediate dossier can be updated by merging the current intermediate dossier with the session dossier and with dossier updates received from external systems if such updates are available.
- the synchronizer 4 updates the intermediate dossier according to a predefined set of rules or by prompting the user whenever necessary.
- FIG 3 shows an example of detailed system architecture to which the invention advantageously applies. This architecture will be used to illustrate different scenarios of interest and, for that purpose, the communication flows for each one of such scenarios will be detailed. Accordingly, all elements shown in Figure 3 are described in subsequent figures related to scenarios of interest.
- FIG. 4 shows an example of detailed system architecture to which the invention advantageously applies. A sequence of typical tasks to be performed by the system and related communication flows are also shown. This sequence corresponds to the following scenario:
- a user 2 is working in a user session 3 and for that matter a user dossier is retrieved from data store 1 and displayed.
- the stored dossier is firstly retrieved from data store 1 by the synchronizer 4, as an intermediate dossier.
- the intermediate dossier is then sent to user session 3 as a session dossier. This is done through a dossier handler 12 and a store handler 13.
- the store handler is in charge of retrieving stored dossiers from data store 1 and saving updated dossiers into data store 1.
- the dossier handler is in charge of receiving requests and updates from user session 3, sending the intermediate dossier to user session 3 and managing all internal tasks of the synchronizer 4 related to the retrieval and save of the intermediate dossier, and to update-merge operations.
- step 2 in order to do a transaction that operates on an external system 5', such as booking a package, the user switches to that external system 5', e.g. by opening a tab provided in the user interface, and performs the transaction.
- the external system 5' sends the data corresponding to the transaction and the reference to the current dossier to an external entry point 6.
- the external entry point can be any suitable channel connecting the external system 5' and the synchronizer 4. It can be provided by a web service or any specific means.
- the data sent by the external system 5' are stored temporarily in an event queue 9 through a notification handler 7 and an event handler 8.
- the event queue 9 is a facility that holds data sent by external systems.
- the notification handler is a facility in charge of receiving notifications from external systems.
- the event handler is a facility in charge of handling events, which include such tasks as: to put events in the queue, to retrieve events, to find events to retrieve for a given dossier...
- the user triggers any action, such as switch to dossier tab in the user interface, save dossier, update dossier... , which refreshes the session dossier.
- the intermediate dossier is updated and returned to user session 3. This is done at steps 5 to 9.
- the synchronizer 4 checks the event queue 9 for any event to be processed for the current dossier. All events in queue are retrieved.
- the synchronizer 4 retrieves the latest dossier saved in data store 1.
- the synchronizer 4 merges the latest dossier with the updates from all the events previously retrieved. This is done by a merger 11 with rules supplied by a rules engine 10. The function performed by the merger will be explained in the description of Figure 6. The function performed by the rules engine will be explained in the description of Figure 7.
- the synchronizer 4 saves the merged dossier in data store 1 to avoid data loss.
- the synchronizer 4 merges the merged dossier with the session dossier and returns the result to the user. This is the dossier displayed to the user.
- step 9 the user may continue to work and, upon completion of the process according to what the session is for, the user may save the dossier for final validation of the transaction; or even before completing the process, the user may save the dossier and rework on it later. Therefore, the session would continue by redoing the previous steps from step 2 or from step 4, until the session dossier is finally saved, or until the user decides to close the session without saving any changes.
- the invention provides a method of data aggregation particularly suited to a transaction oriented system comprising a main system and other, independent and possibly heterogeneous, external systems.
- That method is based on a system architecture and a merge function that improve the methods already known.
- the merge function relies on a mechanism that removes the risk of data loss caused by version conflict between data retrieved and modified in user session 3 and an updated version of the stored data not matching the retrieved version.
- user related data including data from external systems, are saved without risk of loss even if the user has started a user session 3 and is still working on it.
- a further advantage of the method is a way of updating user session 3 with data from the external sources not forcing user data to be saved, thus preventing data not yet validated from being saved.
- Figure 5 provides an example of sequential diagram showing the various steps that result from the processing of end user requests and notifications from external systems 5, 5' in a typical scenario.
- the notification received from the external system 5' might be triggered by the user, for instance when the user switches to that external system and performs an action that cause that external system to send data to the intermediate dossier.
- a user is working in a user session 3 and for that matter a user dossier is retrieved from data store 1 and displayed.
- the stored dossier is firstly retrieved from data store 1 by the synchronizer 4, as an intermediate dossier.
- the intermediate dossier is then sent to user session 3 as a session dossier.
- steps 5, 6 in order to do a transaction that operates on an external system 5', such as booking a package, the user switches to that external system 5', e.g. by opening a tab provided in the user interface, performs the transaction and switches back to the opened session.
- steps 5 and 6 relate to a particular embodiment and do not restrict the scope of the invention. Steps 5 and 6 are then only optional and are illustrated with dotted lines. This also applies to figure 9.
- the external system 5' sends a notification of changes related to data in the user dossier.
- the data sent by the external system 5' are stored temporarily in the event queue 9 through the notification handler and the event handler.
- an external system 5 directly updates user dossier in data store
- user session 3 is updated due to the user working.
- user triggers a refresh of user session 3.
- the synchronizer 4 retrieves the latest dossier saved in data store 1.
- the synchronizer 4 checks the event queue 9 for any event to be processed for the current dossier. All events in queue are retrieved.
- the synchronizer 4 merges the latest dossier with the updates from all the events previously retrieved.
- the synchronizer 4 saves the merged dossier in data store 1 to avoid data loss. At this point, the updates made by external systems 5, 5' have been saved and secured.
- the synchronizer 4 merges the merged dossier with the session dossier.
- the synchronizer 4 returns the result to the user. This is the dossier displayed to the user. Therefore the user now works on a refreshed session synchronized with the updated stored dossier.
- the invention provides a solution to the technical problem related to the retrieval and aggregation of data from independent and possibly heterogeneous external sources in a data store 1.
- the invention also allows dealing with the risk of data loss caused by version conflict between stored data retrieved by a user session 3 and an updated version of the stored data not matching the retrieved version.
- the method according to the invention also enables to receive and merge data from external sources without forcing user temporary data to be saved.
- Figure 6 provides an overview of the merge process.
- the version merge mechanism of the invention aims specifically at avoiding a risk of data loss caused by version conflict between data retrieved and modified in user session 3 and an updated version of the stored data not matching the retrieved version.
- the principle of the method of the invention is to immediately merge and save data received from external systems 5, 5' and merge and save data from user session 3 only upon request by user session 3.
- the merge process requires identifying data intersections and applying priority rules to data intersections. This is a two stage process, carried out as follows.
- the first stage of the merge process is to identify the zones of intersection between data that are exchanged by the data store 1 and the external systems 5, 5'. This is preferably done at system configuration time, i.e. each time a new external system is integrated in the architecture.
- the data to integrate are defined and in turn intersections are defined.
- priority rules are defined and configured for run time usage.
- the second stage is the run time stage of the merge process.
- the system checks if there are data in the intersection zone of the exchanged data. If there are, the rules for each attribute in the intersection zone are applied following the configuration.
- Figure 7 explains how a set of rules is applied on data intersection between external data and session data, and for two dossiers in general. This is how rules are applied for a given data intersection at run time.
- a set of rules has been defined, which provides a rule for each subset. Two rules automatically assign a preferred source to the first and second target subsets. There is no automatic rule for the third subset. This subset is dealt with by prompting the user.
- Figure 8 shows an example of detailed system architecture to which the invention advantageously applies, with communication flows for a sequence of typical tasks to be performed in the case of asynchronous event handling enhanced by a scheduled task 14.
- Steps 1 to 3 are identical to steps 1 to 3 of FIG. 4.
- a scheduled task 14 independent from any session, requests the synchronizer 4 to check the event queue 9 for any event to be processed for the current dossier. All events in queue, if any, are retrieved.
- Steps 5 to 7 are identical to steps 6 to 8 of FIG. 4.
- Step 8 is identical to step 4 of FIG. 4.
- Step 9 is identical to step 6 of FIG. 4.
- Step 10 is identical to step 9 of FIG. 4.
- a further advantage of the invention is the possibility for external systems 5, 5' to notify and send updates to the main system via asynchronous communication.
- Figure 9 provides an example of sequential diagram of the various typical steps that result from the processing of end-user requests and actions from external systems 5, 5' in the case of asynchronous event handling enhanced by a scheduled task 14. This sequential diagram relates to the scenario and communication flows illustrated by FIG. 8.
- Steps 1 to 14 are identical to steps 1 to 14 of FIG. 5.
- a scheduled task 14 independent from any session, requests the synchronizer 4 to check the event queue 9 for any event to be processed for the current dossier.
- Steps 18, 19 are identical to steps 17, 18 of FIG. 5.
- Steps 20, 21 , 22 are identical to steps 21 , 22, 23 of FIG. 5.
- step 23 the synchronizer 4 has completed the scheduled task 14 and the scheduled task 14 is closed.
- Steps 24 to 29 are identical to steps 15 to 20 of FIG. 5. After step 29, since there was no more data in queue, the synchronizer 4 only has to merge session data with the stored dossier just retrieved.
- Steps 30 to 32 are identical to steps 24 to 26 of FIG. 5.
- Figure 10 shows an example of detailed system architecture to which the invention advantageously applies, with communication flows for a sequence of typical tasks to be performed in the case of a store update only.
- Step 1 is identical to step 1 of FIG. 4.
- the stored dossier is updated directly in the data store 1.
- Step 3 is identical to step 4 of FIG. 4.
- Step 4 is identical to step 6 of FIG. 4.
- Step 5 is identical to step 9 of FIG. 4.
- a further advantage of the invention is the possibility for external systems 5 to directly send updates to the main system, i.e. without notification of it to the synchronizer 4 and without forcing user session 3 to be saved. The update will be become visible when user session 3 is refreshed.
- Figure 11 provides an example of sequential diagram of the various typical steps that result from the processing of end-user requests and actions from external systems 5 in the case of a store update only. This sequential diagram relates to the scenario and communication flows illustrated by FIG. 10.
- Steps 1 to 4 are identical to steps 1 to 4 of FIG. 5.
- Steps 5, 6 are identical to steps 9, 10 of FIG. 5.
- Steps 7 to 10 are identical to steps 1 1 to 14 of FIG. 5.
- Steps 1 1 to 16 are identical to steps 15 to 20 of FIG. 5.
- the synchronizer 4 only has to merge session data with the stored dossier just retrieved.
- Steps 17 to 19 are identical to steps 22 to 24 of FIG. 5.
- Figure 12 shows an example of detailed system architecture to which the invention advantageously applies, with communication flows for a sequence of typical tasks to be performed in the case of an asynchronous update by an external system and no user session 3.
- the data corresponding to a transaction are updated in an external system.
- the external system sends the data corresponding to the transaction and the reference to the corresponding dossier to the external entry point.
- the data sent by the external system are stored temporarily in the event queue 9 through the notification handler and the event handler.
- Step 2 is identical to step 4 of FIG. 8.
- Steps 3 to 5 are identical to steps 5 to 7 of FIG. 8.
- FIG. 12 shows that, even if there is no active user session 3, synchronization with an external system can be done via a scheduled task 14.
- a further advantage of the invention is the possibility for external systems 5' to notify and send updates to the main system and update a given user dossier at any time, whether there is an active user session 3 or there is not. Therefore, data from external systems 5' are automatically saved in the stored dossier.
- Figure 13 provides an example of sequential diagram of the various typical steps that result from the processing of end-user requests and actions from external systems 5' in the case of an asynchronous update by an external system and no user session 3. This sequential diagram relates to the scenario and communication flows illustrated by FIG. 12.
- Steps 1 , 2 are identical to steps 7, 8 of FIG. 9.
- Steps 3 to 11 are identical to steps 15 to 23 of FIG. 9.
- the disclosed invention provides a solution to secure data received from external systems and avoid saving unwanted data such as non validated session data, while allowing store updates to be visible to the user.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Multimedia (AREA)
- Technology Law (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
Claims
Priority Applications (8)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SG2013057088A SG192163A1 (en) | 2011-03-10 | 2012-03-12 | System and method for session synchronization with independent external systems |
| CN201280010603.9A CN103392330B (en) | 2011-03-10 | 2012-03-12 | System and method for session synchronization with an independent external system |
| BR112013019468A BR112013019468A2 (en) | 2011-03-10 | 2012-03-12 | method for providing data synchronization between a user's session, a data store storing a stored dossier and at least one external system, computer program product stored in a computer readable non-transient memory medium, and system for providing synchronization comprising a data store, a session comprising a user interface and arranged to access a stored dossier stored in said data store, and at least one external system which distinguishes itself by comprising a synchronizer communicating with at least the session. and data storage |
| JP2013557130A JP6050260B2 (en) | 2011-03-10 | 2012-03-12 | System and method for session synchronization with an independent external system |
| AU2012224528A AU2012224528A1 (en) | 2011-03-10 | 2012-03-12 | System and method for session synchronization with independent external systems |
| CA2824377A CA2824377A1 (en) | 2011-03-10 | 2012-03-12 | System and method for session synchronization with independent external systems |
| KR1020137024054A KR20140012663A (en) | 2011-03-10 | 2012-03-12 | System and method for session synchronization with independent external systems |
| ZA2013/05949A ZA201305949B (en) | 2011-03-10 | 2013-08-07 | System and method for session synchronization with independent external systems |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP11305256.7 | 2011-03-10 | ||
| EP11305256.7A EP2501106B1 (en) | 2011-03-10 | 2011-03-10 | System and method for session synchronization with independent external systems |
| US13/135,515 | 2011-07-06 | ||
| US13/135,515 US20120233122A1 (en) | 2011-03-10 | 2011-07-06 | System and method for session synchronization with independent external systems |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012120142A1 true WO2012120142A1 (en) | 2012-09-13 |
Family
ID=44170140
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/EP2012/054208 Ceased WO2012120142A1 (en) | 2011-03-10 | 2012-03-12 | System and method for session synchronization with independent external systems |
Country Status (12)
| Country | Link |
|---|---|
| US (1) | US20120233122A1 (en) |
| EP (1) | EP2501106B1 (en) |
| JP (1) | JP6050260B2 (en) |
| KR (1) | KR20140012663A (en) |
| CN (1) | CN103392330B (en) |
| AU (1) | AU2012224528A1 (en) |
| BR (1) | BR112013019468A2 (en) |
| CA (1) | CA2824377A1 (en) |
| ES (1) | ES2805755T3 (en) |
| SG (1) | SG192163A1 (en) |
| WO (1) | WO2012120142A1 (en) |
| ZA (1) | ZA201305949B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI561035B (en) * | 2013-08-12 | 2016-12-01 | Chunghwa Telecom Co Ltd | Dynamic dispatching business operations in heterogeneous systems |
| US9690838B2 (en) * | 2013-10-31 | 2017-06-27 | Microsoft Technology Licensing, Llc | Master data management |
| US9304657B2 (en) | 2013-12-31 | 2016-04-05 | Abbyy Development Llc | Audio tagging |
| JP6545017B2 (en) * | 2015-06-30 | 2019-07-17 | キヤノン株式会社 | INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, CONTROL PROGRAM, AND INFORMATION PROCESSING SYSTEM |
| US9798762B2 (en) * | 2015-11-30 | 2017-10-24 | International Business Machines Corporation | Real time big data master data management |
| CN110674198A (en) * | 2019-08-07 | 2020-01-10 | 河北省高速公路石安管理处 | Electronic archive management system based on engineering construction synchronous collection, arrangement and filing |
| CN114297295A (en) * | 2021-12-24 | 2022-04-08 | 北京京东拓先科技有限公司 | Data synchronization method and device, electronic equipment and computer readable storage medium |
| CN115118738B (en) * | 2022-08-30 | 2022-11-22 | 深圳华锐分布式技术股份有限公司 | Disaster recovery method, device, equipment and medium based on RDMA |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1271318A2 (en) * | 2001-06-27 | 2003-01-02 | Microsoft Corporation | System and method for translating synchronization information between two networks based on different synchronization protocols |
| US7539778B2 (en) | 2001-06-30 | 2009-05-26 | International Business Machines Corporation | Method for a caching mechanism for a central synchronization server |
Family Cites Families (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6199082B1 (en) * | 1995-07-17 | 2001-03-06 | Microsoft Corporation | Method for delivering separate design and content in a multimedia publishing system |
| US6141007A (en) * | 1997-04-04 | 2000-10-31 | Avid Technology, Inc. | Newsroom user interface including multiple panel workspaces |
| US6240414B1 (en) * | 1997-09-28 | 2001-05-29 | Eisolutions, Inc. | Method of resolving data conflicts in a shared data environment |
| US6952741B1 (en) * | 1999-06-30 | 2005-10-04 | Computer Sciences Corporation | System and method for synchronizing copies of data in a computer system |
| US6578054B1 (en) * | 1999-10-04 | 2003-06-10 | Microsoft Corporation | Method and system for supporting off-line mode of operation and synchronization using resource state information |
| US9191443B2 (en) * | 1999-12-02 | 2015-11-17 | Western Digital Technologies, Inc. | Managed peer-to-peer applications, systems and methods for distributed data access and storage |
| US20020178184A1 (en) * | 2001-05-22 | 2002-11-28 | Allan Kuchinsky | Software system for biological storytelling |
| US7322013B1 (en) * | 2001-10-25 | 2008-01-22 | Adobe Systems Incorporated | Launch and edit user interface improvements |
| US20030093576A1 (en) * | 2001-11-13 | 2003-05-15 | International Business Machines Corporation | Method and system for message management |
| US7606881B2 (en) * | 2002-04-25 | 2009-10-20 | Oracle International Corporation | System and method for synchronization of version annotated objects |
| US7203708B2 (en) * | 2003-11-06 | 2007-04-10 | Microsoft Corporation | Optimizing file replication using binary comparisons |
| EP1788493A1 (en) * | 2005-11-21 | 2007-05-23 | Sap Ag | Detecting changes in data |
| US9898517B2 (en) * | 2006-04-21 | 2018-02-20 | Adobe Systems Incorporated | Declarative synchronization of shared data |
| CN101064630B (en) * | 2006-04-24 | 2011-09-21 | 华为技术有限公司 | Data synchronization method and system |
| US20090287513A1 (en) * | 2006-06-23 | 2009-11-19 | Unisys Corporation | System and method for processing multiple bookings to receive a transportation service |
| US20080140732A1 (en) * | 2006-12-11 | 2008-06-12 | Bentley System, Inc. | Method and system for sharing file based data |
| US8671155B2 (en) * | 2009-10-19 | 2014-03-11 | Ios Health Systems, Inc. | System and method of employing a client side device to access local and remote data during communication distruptions |
-
2011
- 2011-03-10 ES ES11305256T patent/ES2805755T3/en active Active
- 2011-03-10 EP EP11305256.7A patent/EP2501106B1/en not_active Not-in-force
- 2011-07-06 US US13/135,515 patent/US20120233122A1/en not_active Abandoned
-
2012
- 2012-03-12 CN CN201280010603.9A patent/CN103392330B/en not_active Expired - Fee Related
- 2012-03-12 WO PCT/EP2012/054208 patent/WO2012120142A1/en not_active Ceased
- 2012-03-12 AU AU2012224528A patent/AU2012224528A1/en not_active Abandoned
- 2012-03-12 CA CA2824377A patent/CA2824377A1/en not_active Abandoned
- 2012-03-12 BR BR112013019468A patent/BR112013019468A2/en not_active IP Right Cessation
- 2012-03-12 KR KR1020137024054A patent/KR20140012663A/en not_active Ceased
- 2012-03-12 JP JP2013557130A patent/JP6050260B2/en not_active Expired - Fee Related
- 2012-03-12 SG SG2013057088A patent/SG192163A1/en unknown
-
2013
- 2013-08-07 ZA ZA2013/05949A patent/ZA201305949B/en unknown
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1271318A2 (en) * | 2001-06-27 | 2003-01-02 | Microsoft Corporation | System and method for translating synchronization information between two networks based on different synchronization protocols |
| US7539778B2 (en) | 2001-06-30 | 2009-05-26 | International Business Machines Corporation | Method for a caching mechanism for a central synchronization server |
Non-Patent Citations (1)
| Title |
|---|
| ROBERT H. WIEBENER, J: "Synchronizing Data Among Heterogeneous Databases", SYBASE TECHNICAL WHITE PAPER, 2010, pages 1 - 17, XP002646745 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103392330B (en) | 2017-09-26 |
| JP6050260B2 (en) | 2016-12-21 |
| EP2501106A1 (en) | 2012-09-19 |
| ZA201305949B (en) | 2016-08-31 |
| CN103392330A (en) | 2013-11-13 |
| KR20140012663A (en) | 2014-02-03 |
| ES2805755T3 (en) | 2021-02-15 |
| CA2824377A1 (en) | 2012-09-13 |
| AU2012224528A1 (en) | 2013-05-02 |
| EP2501106B1 (en) | 2020-04-29 |
| JP2014524057A (en) | 2014-09-18 |
| BR112013019468A2 (en) | 2019-09-24 |
| US20120233122A1 (en) | 2012-09-13 |
| SG192163A1 (en) | 2013-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20120233122A1 (en) | System and method for session synchronization with independent external systems | |
| JP6165729B2 (en) | Method and system for maintaining strong consistency of distributed replicated content in a client / server system | |
| US20130346123A1 (en) | Reservation method and system with improved pnr handling | |
| US9881262B2 (en) | Undo/redo of database files for modifying re-accommodation | |
| US8433809B2 (en) | Method and system for providing a session involving a plurality of software applications | |
| US10147055B2 (en) | Aggregation record for managing ancillary travel services | |
| EP2501107A1 (en) | Method and system for providing a session in a heterogeneous environment | |
| US11126610B1 (en) | Conflict resolution in a data proxy | |
| JP2015535995A (en) | Method and system for storing and retrieving data | |
| US9053143B2 (en) | Allowing updates to database objects | |
| US20080004920A1 (en) | Airline management system generating routings in real-time | |
| US11875282B2 (en) | Device, system and method for mode-based synchronization of data records | |
| CA3236065A1 (en) | Key-based handling of product purchases | |
| CN114493220A (en) | Collaborative method and device for improving project delivery efficiency | |
| EP2998746A1 (en) | Corporate recognition for travel related services | |
| CA2887787C (en) | Aggregation record for managing ancillary travel services | |
| US20220398507A1 (en) | Information processing device, information processing system, and information processing method | |
| EP3048569A1 (en) | Update database files for modifying travel related data | |
| FR3062228A1 (en) | AGREGATIVE DATABASE OF RECORDINGS CONTEXT | |
| AU2016222384A1 (en) | Ticket holder-initiated seat changes | |
| CN120950735A (en) | Lock execution methods, devices, equipment, and media based on transactional key-value databases | |
| AU2016200417A1 (en) | Undo/redo of database files for modifying re-accommodation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12707795 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2012224528 Country of ref document: AU Date of ref document: 20120312 Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 2824377 Country of ref document: CA |
|
| ENP | Entry into the national phase |
Ref document number: 2013557130 Country of ref document: JP Kind code of ref document: A |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 20137024054 Country of ref document: KR Kind code of ref document: A |
|
| REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112013019468 Country of ref document: BR |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 12707795 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 112013019468 Country of ref document: BR Kind code of ref document: A2 Effective date: 20130731 |