Method and system for centralized reservation context management on multi-server reservation system
First Claim
1. A method of processing a user query including a service request in a distributed reservation system including a plurality of servers, the method comprising:
- receiving an initial data structure at a first server of the plurality of servers, the initial data structure including the service request, a distributed context correlator that identifies a second server of the plurality of servers, and a reference to a passenger name record;
receiving, at the first server, a content of the passenger name record from a centralized passenger name record context;
enriching, at the first server, the initial data structure with a temporary data structure containing the content of the passenger name record to produce a complete data structure;
forwarding the complete data structure from the first server to the second server identified by the distributed context correlator;
performing, at the second server, the service request to generate a reply;
updating, at the second server, the complete data structure to include the reply;
after the complete data structure is updated to include the reply, returning the updated complete data structure from the second server to the first server;
removing, at the first server, the temporary data structure from the updated complete data structure; and
after the temporary data structure is removed, returning the reply from the first server to respond to the service request in the user query.
1 Assignment
0 Petitions
Accused Products
Abstract
The method and system according to a preferred embodiment of the present invention allows ensuring consistency of the PNR record when it is handled within the subsystem controlled by the reservation interceptor module and including a plurality of OBEs. According to a preferred embodiment of the present invention the PNR context on open systems is centralized to avoid its fragmentation in the distributed environment, as gathering of all the context parts implies performance issues. In addition, instead of implementing a transaction session protocol to handle a start of transaction, intermediate updates and a final commit or rollback on the PNR context, the principle of the service interceptor architecture is to delegate the functional queries with the current user PNR context which will be modified in the central repository of PNR context only at response time when the whole functional use-case is finished.
80 Citations
17 Claims
-
1. A method of processing a user query including a service request in a distributed reservation system including a plurality of servers, the method comprising:
-
receiving an initial data structure at a first server of the plurality of servers, the initial data structure including the service request, a distributed context correlator that identifies a second server of the plurality of servers, and a reference to a passenger name record; receiving, at the first server, a content of the passenger name record from a centralized passenger name record context; enriching, at the first server, the initial data structure with a temporary data structure containing the content of the passenger name record to produce a complete data structure; forwarding the complete data structure from the first server to the second server identified by the distributed context correlator; performing, at the second server, the service request to generate a reply; updating, at the second server, the complete data structure to include the reply; after the complete data structure is updated to include the reply, returning the updated complete data structure from the second server to the first server; removing, at the first server, the temporary data structure from the updated complete data structure; and after the temporary data structure is removed, returning the reply from the first server to respond to the service request in the user query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product comprising:
-
a non-transitory computer readable storage medium; and instructions stored on the non-transitory computer readable storage medium that, when executed on one or more servers of a distributed reservation system including a plurality of servers, cause the one or more servers to; receive, at a first server of the plurality of servers, an initial data structure including a service request of a user query, a distributed context correlator that identifies a second server of the plurality of servers, and a reference to a passenger name record; receive, at the first server, a content of the passenger name record from a centralized passenger name record context; enrich, at the first server, the initial data structure with a temporary data structure containing the content of the passenger name record to produce a complete data structure; forward the complete data structure from the first server to the second server identified by the distributed context correlator; perform, at the second server, the service request to generate a reply; update, at the second server, the complete data structure to include the reply; after the complete data structure is updated to include the reply, return the updated complete data structure from the second server to the first server; remove, at the first server, the temporary data structure from the updated complete data structure; and after the temporary data structure is removed, return the reply from the first server to respond to the service request in the user query.
-
-
11. A reservation system for processing a user query including a service request, the reservation system comprising:
-
a plurality of servers including a first server and a second server, the first server and the second server being configured to; receive, at the first server, an initial data structure including the service request, a distributed context correlator that identifies the second server, and a reference to a passenger name record; receive, at the first server, a content of the passenger name record from a centralized passenger name record context; enrich, at the first server, the initial data structure with a temporary data structure containing the content of the passenger name record to produce a complete data structure; forward the complete data structure from the first server to the second server identified by the distributed context correlator; perform, at the second server, the service request to generate a reply; update, at the second server, the complete data structure to include the reply; after the complete data structure is updated to include the reply, return the updated complete data structure from the second server to the first server; remove, at the first server, the temporary data structure from the updated complete data structure; and after the temporary data structure is removed, return the reply from the first server to respond to the service request in the user query. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
Specification