Civil aviaton's shift motion management system and method thereof
Technical field
The present invention relates to a kind of civil aviaton shift motion management system and method thereof, through this civil aviaton's shift motion management system, the user can manage the stroke of oneself, in each link of stroke, uses multiple service.
Background technology
Civil aviaton's travelling has a plurality of links usually, comprises that flight inquiring, flight are scheduled to, the value of handling machine, destination weather inquiry etc.If can handle these links well, whole stroke can be arranged methodically, makes things convenient for travelling.
Civil aviaton's shift motion management system is a cover provides run-length management towards the passenger of civil aviaton a system; In a plurality of links of user's stroke (mainly being air itinerary), be user's stroke service timely of providing convenience, comprise run-length management, flight dynamically, major functions such as weather forecast, value machine, reservation, airport inquiry.
This system is media with the cell-phone customer terminal, between passenger's stroke and mobile phone, has set up associating information.Provide to the user improve stroke service in, can also strengthen the sense of traveler self-help service experience.
Summary of the invention
Civil aviaton of the present invention shift motion management system is divided into three layers, is respectively presentation layer, operation layer and data Layer.Wherein presentation layer comprises cell-phone customer terminal subsystem (iPhone, Android, Symbian), WEB foreground subsystem, client foreground subsystem, WAP foreground subsystem and agent subsystem.Operation layer comprises ADMINISTRATION SUBSYSTEM, middle estrade system and message center subsystem.Data Layer comprises database or data source.
Presentation layer is used for the displaying of user interface, is used to show and receive the data of user's input, and a kind of interface of interactive operation is provided for the user.
Operation layer is used for the visit data layer, obtains data, revises data and deleted data from data Layer, and the result is returned to presentation layer.It is positioned at the centre position of architectural framework, is between presentation layer and the data Layer, plays the effect of forming a connecting link of data.
Data Layer is used for providing to operation layer the memory function of data and data.
The cell-phone customer terminal subsystem receives user's operation, and responds according to request type, the action need visit local cache that has, the action need access client foreground subsystem that has.
Client foreground subsystem receives the request of data of cell-phone customer terminal subsystem; Carry out logic determines such as data layout, authority; And according to the request type to middle estrade system request business datum; After the business datum that the estrade system returns in the reception, assemble again, return to client-end subsystem.
WEB foreground subsystem receives the request of data of WEB browser, and according to the type of request to middle estrade system request business datum, after the business datum that the estrade system returns in the reception, assemble the HTML4 page again, return to the WEB browser.
WAP foreground subsystem receives the request of data of WAP2.0 browser, and according to the type of request to middle estrade system request business datum, after the business datum that the estrade system returns in the reception, be reassembled into the XHTML page, return to the WAP browser.
The agent subsystem fundamental purpose is the agent functionality of the external third party of realization system visit.The request of data of estrade system during agent subsystem receives; Carry out data layout decoding, and according to the type of request to external system requested service data such as figure or microbloggings, receive the business datum that external system returns after; Again assemble estrade system in returning to.
Middle estrade system receives the request of data of client foreground subsystem, WEB foreground subsystem, WAP foreground subsystem; And according to the type of request to boat letter background system requested service data (perhaps directly accessing database); After the business datum that estrade system in the reception (perhaps database) returns; Again assemble, return to the foreground subsystem.Middle estrade system proposes request of data through agent subsystem to external system.
The message center subsystem is the service of backstage, and whether mainly be has the message that need send to the apple message service center in the poll check database.If message is arranged, then data retrieval is come out and send message to the apple message service center.
ADMINISTRATION SUBSYSTEM is mainly the system manager functional entrance is provided.Managerial personnel use the backstage number of the account to login ADMINISTRATION SUBSYSTEM, carry out operations such as parameter setting, user management, data statistics.ADMINISTRATION SUBSYSTEM directly connects database.
According to civil aviaton of the present invention shift motion management method, comprise the steps:
Step 1, the cell-phone customer terminal subsystem sends to client foreground subsystem according to the function command of selecting with request;
Step 2, client foreground subsystem receive the data that client-end subsystem sends over, according to the type of request to middle estrade system request business datum;
Step 3, middle estrade system receives the request of data of client foreground subsystem, and according to the type of request to boat letter background system requested service data (perhaps directly accessing database), perhaps to external system request of data is proposed through agent subsystem;
Step 4, the business datum that middle estrade system's reception background system (perhaps database, perhaps agent subsystem) returns returns to client foreground subsystem;
Step 5, the business datum that the estrade system returned during client foreground subsystem received returns to the cell-phone customer terminal subsystem;
Step 6, cell-phone customer terminal subsystem receive the data that client foreground subsystem returns, and are presented on the page.
With the function command of selecting, convert required parameter at step 1 cell-phone customer terminal subsystem to, send to client foreground subsystem.
Subsystem at first carries out the form judgement to the data that receive on step 2 client foreground, if form is wrong, then returns error message and gives the cell-phone customer terminal subsystem, if correct judgment carries out authority again and judges.If there is not authority, then return error message and give the cell-phone customer terminal subsystem, if authority is arranged, then according to request type to middle estrade system request business datum.
The estrade system is to boat letter background system, database, agent subsystem request msg in step 3; If request failure; Then return error message and give client foreground subsystem, if successful request returns to client foreground subsystem in step 4 with the business datum that obtains.
Description of drawings
Fig. 1 is a civil aviaton of the present invention shift motion management system block scheme;
Fig. 2 is the overview flow chart of civil aviaton of the present invention shift motion management method;
Fig. 3 is the client foreground subsystem process flow diagram of civil aviaton of the present invention shift motion management method;
Fig. 4 is the middle estrade system flowchart of civil aviaton of the present invention shift motion management method;
Fig. 5 tests true synoptic diagram for the air ticket of civil aviaton of the present invention shift motion management method.
Embodiment
As shown in Figure 1; Civil aviaton of the present invention shift motion management system is made up of presentation layer, operation layer and data Layer, comprising: cell-phone customer terminal subsystem, WEB foreground subsystem, client foreground subsystem, WAP foreground subsystem, agent subsystem, ADMINISTRATION SUBSYSTEM, middle estrade system, message center subsystem.Form two groups of application server clusters by four minicomputers, constitute two groups of HTTP access servers, a minicomputer composition data storehouse server by four minicomputers.The HTTP access server is responsible for receiving request, please ask to be assigned to wherein one of application server cluster according to load balancing then.
Presentation layerBe used for the displaying of user interface, be used to show and receive the data of user's input, a kind of interface of interactive operation is provided for the user.
Operation layerBe used for the visit data layer, obtain data, revise data and deleted data from data Layer, and the result is returned to presentation layer.It is positioned at the centre position of architectural framework, is between presentation layer and the data Layer, plays the effect of forming a connecting link of data.
Data LayerBe used for providing the memory function of data and data to operation layer.
The cell-phone customer terminal subsystemReceive user's operation, and respond, the action need visit local cache that has, the action need access client foreground subsystem that has according to request type.
Client foreground subsystemReceive the request of data of cell-phone customer terminal subsystem; Carry out logic determines such as data layout, authority, and according to the request type to middle estrade system request business datum, after the business datum that the estrade system returns in the reception; Again assemble, return to client-end subsystem.
WEB foreground subsystemReceive the request of data of WEB browser, and according to the type of request to middle estrade system request business datum, after the business datum that the estrade system returns in the reception, assemble the HTML4 page again, return to the WEB browser.
WAP foreground subsystemReceive the request of data of WAP2.0 browser, and according to the type of request to middle estrade system request business datum, after the business datum that the estrade system returns in the reception, be reassembled into the XHTML page, return to the WAP browser.
Agent subsystemFundamental purpose is the agent functionality of the external third party of realization system visit.The request of data of estrade system during agent subsystem receives; Carry out data layout decoding, and according to the type of request to external system requested service data such as figure or microbloggings, receive the business datum that external system returns after; Again assemble estrade system in returning to.
Middle estrade systemReceive the request of data of client foreground subsystem, WEB foreground subsystem, WAP foreground subsystem; And according to the type of request to boat letter background system requested service data (perhaps directly accessing database); After the business datum that estrade system in the reception (perhaps database) returns; Again assemble, return to the foreground subsystem.Middle estrade system proposes request of data through agent subsystem to external system.
The message center subsystemBeing the service of backstage, mainly is whether the message that need send to the apple message service center is arranged in the poll check database.If message is arranged, then data retrieval is come out and send message to the apple message service center.
ADMINISTRATION SUBSYSTEMBe mainly the system manager functional entrance is provided.Managerial personnel use the backstage number of the account to login ADMINISTRATION SUBSYSTEM, carry out operations such as parameter setting, user management, data statistics.ADMINISTRATION SUBSYSTEM directly connects database.
As shown in Figure 2, civil aviaton of the present invention shift motion management system, its civil aviaton's shift motion management method comprises the steps:
Step 1, the cell-phone customer terminal subsystem sends to client foreground subsystem according to the function command of selecting with request;
Step 2, client foreground subsystem receive the data that client-end subsystem sends over, according to the type of request to middle estrade system request business datum;
Step 3, middle estrade system receives the request of data of client foreground subsystem, and according to the type of request to boat letter background system requested service data (perhaps directly accessing database), perhaps to external system request of data is proposed through agent subsystem;
Step 4, the business datum that middle estrade system's reception background system (perhaps database, perhaps agent subsystem) returns returns to client foreground subsystem;
Step 5, the business datum that the estrade system returned during client foreground subsystem received returns to the cell-phone customer terminal subsystem;
Step 6, cell-phone customer terminal subsystem receive the data that client foreground subsystem returns, and are presented on the page.
Fig. 3 is the client foreground subsystem process flow diagram of civil aviaton of the present invention shift motion management method; Fig. 4 is the middle estrade system flowchart of civil aviaton of the present invention shift motion management method; Fig. 5 is the flight dynamic queries synoptic diagram of civil aviaton of the present invention shift motion management method.
As shown in Figure 3, civil aviaton of the present invention shift motion management system, its client foreground subsystem flow process comprises the steps:
Step 2.1, client foreground subsystem is received the data that the cell-phone customer terminal subsystem sends over;
Step 2.2, whether the judgment data form is correct, if incorrect, then returns error message, if correct, carry out authority again and judges;
Step 2.3 has judged whether authority, if there is not authority, then returns error message, if authority is arranged,
Step 2.4, according to type to middle estrade system request business datum.
As shown in Figure 4, civil aviaton of the present invention shift motion management system, wherein the estrade system flow comprises the steps:
Step 3.1, the data that middle estrade system receiving front-end subsystem sends;
Step 3.2 is obtained data according to request type, to background system, database or agent subsystem requested service data.
If successful request returns to client foreground subsystem in step 4 with the business datum that obtains.
The user uses this system, at " air ticket the is tested very " page, selects " electronic passenger ticket ", and input name and electronic passenger ticket number are tested true information if input correctly, then shows air ticket, if import wrongly, then shows miscue information.See Fig. 5.