主权项 |
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. |