The utility model content
The technical problems to be solved in the utility model is, uses inconvenience or requires subscriber computer must possess the defective of certain processing power at existing plane ticket booking system, and a kind of plane ticket booking system is provided.
The technical scheme that its technical matters that solves the utility model adopts is:
A kind of plane ticket booking system, comprise and be used to receive the air ticket query requests and the self-service terminal that sends of input and be used for receiving the air ticket query requests that described self-service terminal sends and in row letter ticket information server, search at least one ticket information clauses and subclauses of the XML form that is complementary with described air ticket query requests and the plane ticket booking server that returns.
In the plane ticket booking system that the utility model provides, described self-service terminal is the self-service terminal that is used for sending this air ticket query requests when judging that described air ticket query requests is legal.
In the plane ticket booking system that the utility model provides, described self-service terminal is the self-service terminal that is used for directly sending according to the mailing address of predefined described plane ticket booking server described air ticket query requests.
In the plane ticket booking system that the utility model provides, described self-service terminal is the self-service terminal that is used for sending to the on-line payment server Payment Request, comprise in the wherein said Payment Request based on the subscription information of selecteed ticket information clauses and subclauses and input in the described at least one ticket information clauses and subclauses calculate through the air ticket total value of encrypting, the payer accounts information and the predefined beneficiary accounts information of input.
In the plane ticket booking system that the utility model provides, described self-service terminal is to be used for sending the self-service terminal of plane ticket booking request to described plane ticket booking server receiving after described on-line payment server responds the payment successful information that described Payment Request returns, and wherein comprises ticket information clauses and subclauses and the subscription information that comprises in the described Payment Request in this plane ticket booking request.
In the plane ticket booking system that the utility model provides, described plane ticket booking server is to be used to receive be transmitted to Air China's letter ticket information server from the plane ticket booking request of described self-service terminal and with it and receive Air China's letter ticket information server respond reservation successful information that described plane ticket booking request returns and the plane ticket booking server that forwards it to described self-service terminal.
In the plane ticket booking system that the utility model provides, described self-service terminal is the self-service terminal that is used for sending miscue information when judging that the air ticket query requests is illegal.
In the plane ticket booking system that the utility model provides, described plane ticket booking server is to be used for after receiving described reservation successful information extracting the contact details that described subscription information comprises and to send by short message or Email in view of the above and subscribes the plane ticket booking server of successfully notifying.
In the plane ticket booking system that the utility model provides, described self-service terminal is to be used to receive from the budget fare data entries of the XML form of described plane ticket booking server and to show the self-service terminal of this budget fare data entries.
In the plane ticket booking system that the utility model provides, described self-service terminal is to be used to receive from the advertising message of described plane ticket booking server and with the self-service terminal of showing.
Implement the technical solution of the utility model, have following beneficial effect: the technical scheme that the utility model provides need not the at first plane ticket booking operation of the network address that the user remembers online plane ticket booking system, and the technical scheme that the utility model provides is transferred to server-side processes with the various complex operations in the plane ticket booking process, simplify the function of client thus, so just can reduce the requirement of client subscriber computer.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearer,, the utility model is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the utility model, and be not used in qualification the utility model.
The utility model provides a kind of self-service terminal based on the internet, plane ticket booking server and system.The user need not to remember the at first plane ticket booking operation of the network address of online plane ticket booking system, and the self-service terminal based on the internet, plane ticket booking server and system that the utility model provides transfer to server-side processes with the various complex operations in the plane ticket booking process, simplify the function of client thus, so just can reduce the requirement of client subscriber computer.Below just with specific embodiment the technical solution of the utility model is described in detail in conjunction with the accompanying drawings.
Fig. 1 is the schematic network structure according to the plane ticket booking system 100 of the utility model one preferred embodiment.As shown in Figure 1, the plane ticket booking system 100 that the utility model provides comprises the self-service terminal 102 that is installed on the subscriber computer, and plane ticket booking server 104.Wherein self-service terminal 102 communicates to connect by internet 110 with plane ticket booking server 104, and self-service terminal 102 also communicates to connect to on-line payment server 108 by internet 110, and plane ticket booking server 104 communicates to connect to Air China's letter ticket information server 106 by internet 110.
Below just the function of self-service terminal among Fig. 1 102 and plane ticket booking server 104 is described in detail.
Self-service terminal 102 is used to receive the air ticket query requests of input, and the mailing address with the predefined described plane ticket booking server 104 of this air ticket query requests foundation when judging that this air ticket query requests is legal directly mails to this plane ticket booking server 104.In the specific implementation process, can comprise such as but not limited to the city of setting out in the air ticket query requests of user's input, arrive city, transfer city, sailing date, return date and transfer date or the like.Self-service terminal 102 can judge at first whether the air ticket query requests of input is legal, and for example whether Shu Ru data type is correct.When legal, continue operation subsequently, when illegal, send miscue.In the specific implementation process, self-service terminal 102 provided by the invention is developed based on the winform assembly.The Winform assembly is the assembly based on operating system, and the content major part in its window is based on the resource of local operation system, and is little with the data in server exchange capacity, and is low to the dependence program of server.
The Winform assembly is with existing different based on the development approach of web browser control.Web browser control is owing to be the assembly of basic browser, and the information that shows in program shows as webpage characteristic, can produce certain unsafe factor, if the user uses this software may cause leakage of information in some public places.The webbrowser control is a browser com assembly of simplifying version, it is based on webpage that content shows, on using, need from the downloaded web data to this locality, degree of dependence to server is bigger, server resource is required higher, the speed of program run is decided by the speed of network on the large program very much, and the Winform mode then can artificial situation, the winform mode is compiled as scale-of-two to source code can't directly check source code, and security is higher.
Plane ticket booking server 104 is used to receive the air ticket query requests from self-service terminal 102, searches at least one ticket information clauses and subclauses of the XML form that is complementary with described air ticket query requests and return in Air China letter ticket information server 106.
In the specific implementation process, plane ticket booking server 104 is finished operations such as inquiry by ABE and IBE middleware.ABE and IBE middleware are application server, and it is used to receive querying condition, and querying condition is transmitted to Air China's letter ticket information server 106, and believe that from Air China ticket information server 106 obtains the flight result who is complementary with querying condition.ABE and IBE middleware also are used to handle Query Result, and the string format among the flight result is turned to the XML data stream, and the XML data stream is sent to application program.ABE and IBE middleware can be managed the resource allocation that Air China's letter ticket information server 106 offers company, form the query processing formation, and the complex optimum management is carried out in query processing, reach the effect of making rational use of resources.ABE uses character string instruction communicate by letter with Air China letter ticket information server 106 by 350 ports, and IBE uses the soap agreement to pass through 80 ports and Air China to believe that ticket information server 106 communicates by letter.Application program is communicated by letter with ABE or IBE middleware by function call or webservice.
Self-service terminal 102 receives the air ticket subscription server 104 described air ticket query requests of response and at least one ticket information clauses and subclauses and the storage of the XML form that finds that returns in Air China's letter ticket information server 106, show this ticket information clauses and subclauses then.After this, if the user clicks a certain ticket information clauses and subclauses (being air ticket point selection operation), then self-service terminal 102 shows the plane ticket booking window to the user after detecting this air ticket point selection operation, and receives the plane ticket booking information of user's input by this plane ticket booking window.Wherein, this plane ticket booking information can comprise such as but not limited to the initial city of book flight and flight takeoff time, seize the opportunity people's number, seize the opportunity people's name, seize the opportunity the type and the pairing passport NO. of certificate of the certificate that is shown when the people boards, seizing the opportunity people's type (comprising: the adult, children, the baby), whether need aviation casualty insurance (only need select be or not), insurance quantity (needs the aviation casualty insurance then need buy as selecting, then insuring quantity is essential option, otherwise the insurance quantity option that needs to buy is a down state), contact person's fixed telephone number, phone number, and contact person E-MAIL address commonly used or the like.
After the user has imported plane ticket booking information, if the user clicks payment button (promptly carrying out delivery operation), then self-service terminal 102 is when the subscription information of judging input is legal, with ticket information clauses and subclauses and the subscription information that is clicked in the ticket information clauses and subclauses of storage displaying.Subsequently, self-service terminal 102 will calculate the air ticket total value and eject the payment information input window, notify the user to import the payer accounts information, comprise such as but not limited to name on account, bank information or the like.After this, self-service terminal 102 is with the payer accounts information and the air ticket total value of input, predefined beneficiary accounts information is encapsulated in together in the Payment Request that the mailing address according to predefined on-line payment server 108 mails to on-line payment server 108 after encryption, and receiving the online paying server 108 described Payment Request of response and the payment successful information returned, ticket information clauses and subclauses that the quilt of storage is clicked and subscription information are encapsulated in that the mailing address according to predefined plane ticket booking server 104 directly mails to plane ticket booking server 104 in the plane ticket booking request.
Plane ticket booking server 104 receives the plane ticket booking request from self-service terminal 102, and it is transmitted to Air China's letter ticket information server 106.Subsequently, plane ticket booking server 104 receives Air China's letter ticket information servers 106 described plane ticket booking requests of response and the reservation successful information returned, and forwards it to described self-service terminal 102.
In the specific implementation process, self-service terminal 102 also can be used for receiving the ticket information of user's input, and it is mail to plane ticket booking server 104 with the verifying ticket true and false, will verify that then the result returns self-service terminal 102.
In the specific implementation process, will use following data structure in the plane ticket booking server 300:
Field name |
Field type |
Field is explained |
Value |
Whether be empty |
orderId |
Varchar2(20) |
Seizing the opportunity the people indicates; |
|
NOT?NULL |
flightType |
Varchar2(20) |
The voyage type |
One way/connection journey/come and go |
NOT?NULL |
cabin |
Varchar2(10) |
Freight space |
|
NOT?NULL |
flightNo |
Varchar2(20) |
Flight number |
|
NOT?NULL |
PNR |
Varchar2(20) |
PNR |
|
NOT?NULL |
ticketNo |
Varchar2(20) |
Draft bank |
|
NOT?NULL |
orderState |
Varchar2(10) |
Order status |
|
NOT?NULL |
flightDate |
Varchar2(20) |
Flight date |
|
NOT?NULL |
formCity |
Varchar2(50) |
The city of setting out |
|
NOT?NULL |
toCity |
Varchar2(50) |
Arrive the city |
|
NOT?NULL |
lastDate |
Varchar2(20) |
|
|
NULL |
yulioutime |
Varchar2(20) |
|
|
NULL |
office |
Varchar2(20) |
OFFICE number |
|
NOT?NULL |
passengerName |
Varchar2(50) |
Seize the opportunity people's name |
|
NOT?NULL |
passengerType |
Varchar2(20) |
Seize the opportunity people's type |
Adult/baby |
NOT?NULL |
passengerCardT ype |
Varchar2(20) |
Seize the opportunity people's certificate type |
|
NOT?NULL |
passengerIdCard |
Varchar2(50) |
Seize the opportunity people's certificate number sign indicating number |
|
NOT?NULL |
passengerBirthhd ay |
Varchar2(50) |
Seize the opportunity people's birthday |
|
NULL |
passengerCountr yCode |
Varchar2(50) |
Seize the opportunity the people nationality |
|
NOT?NULL |
passengerMobile no |
Varchar2(50) |
Seize the opportunity people's cell-phone number sign indicating number |
|
NOT?NULL |
passengerEmail |
Varchar2(20) |
Seize the opportunity people Email |
|
NULL |
passengerPhone |
Varchar2(20) |
Seize the opportunity people's telephone number |
|
NULL |
linkmanName |
Varchar2(20) |
Name of contact person |
|
NOT?NULL |
linkmanMobile |
Varchar2(20) |
Contact phone number |
|
NULL |
linkmanEmail |
Varchar2(20) |
Contact person Email |
|
NULL |
linkmanAddress |
Varchar2(255) |
Contact addresses |
|
NULL |
order_date |
Varchar2(20) |
Order Date |
|
NOT?NULL |
policy |
Varchar2(2) |
Policy |
|
NOT?NULL |
ufeultax |
Float(5,2) |
Fuel oil takes |
|
NOT?NULL |
airPortTax |
Float(5,2) |
Airport fee |
|
NOT?NULL |
ticketPrice |
Float(5,2) |
Admission fee |
|
NOT?NULL |
totolPrice |
Float(5,2) |
Total ticket fee |
|
NOT?NULL |
Table 1
And the flight data structure of returning can adopt following structure:
Field name |
Field type |
Field is explained |
Value |
Whether be empty |
orderId |
Varchar2(20) |
Seizing the opportunity the people indicates; |
|
NOT?NULL |
flightType |
Varchar2(20) |
The voyage type |
One way/connection journey/come and go |
NOT?NULL |
cabin |
Varchar2(10) |
Freight space |
|
NOT?NULL |
flightNo |
Varchar2(20) |
Flight number |
|
NOT?NULL |
PNR |
Varchar2(20) |
PNR |
|
NOT?NULL |
ticketNo |
Varchar2(20) |
Draft bank |
|
NOT?NULL |
orderState |
Varchar2(10) |
Order status |
|
NOT?NULL |
flightDate |
Varchar2(20) |
Flight date |
|
NOT?NULL |
formCity |
Varchar2(50) |
The city of setting out |
|
NOT?NULL |
toCity |
Varchar2(50) |
Arrive the city |
|
NOT?NULL |
office |
Varchar2(20) |
OFFICE number |
|
NOT?NULL |
order_date |
Varchar2(20) |
Order Date |
|
NOT?NULL |
policy |
Varchar2(2) |
Policy |
|
NOT?NULL |
ufeultax |
Float(5,2) |
Fuel oil takes |
|
NOT?NULL |
airPortTax |
Float(5,2) |
Airport fee |
|
NOT?NULL |
ticketPrice |
Float(5,2) |
Admission fee |
|
NOT?NULL |
totolPrice |
Float(5,2) |
Total ticket fee |
|
NOT?NULL |
Table 2
In the specific implementation process, self-service terminal 102 can adopt software to realize, its required hardware supported only needs the logical PC of a Daepori, and installation MS Windows operating system, this self-service terminal 102 is supported windows2000, windows2003, windowsXP, windows VISTA, operating systems such as windows 7.And self-service terminal 102 will be based on the webservice of http agreement as main means of communication, and also can introduce TCP/IP, communication protocols such as UDP.
In the specific implementation process, self-service terminal 102 will use the HTML (Hypertext Markup Language) based on the safety of digital signature in the transceive data process.
To carry out the behavior of some securities on the plane ticket booking server 104, for example: on plane ticket booking server 104, load onto the antivirus software that prevents trojan horse and various virus attack servers, next is provided with the visit of plane ticket booking server 104, close other all visit account numbers of keeper, should be complicated password setting as far as possible during its password setting.Thereby because only in this way just can make the assailant not easily decryption enter plane ticket booking server 104.
In addition, for guaranteeing integrity of source code: the backup file that no matter when all must guarantee up-to-date source code, suffering hacker's attack source code in contingency, destroy source code, when causing system normally to move, we can guarantee the integrality of source code, and can guarantee to be had the fastest speed to return to operation state before original by the very first time after the assault.
Have as can be known mentioned abovely, be different from traditional WEB form, the self-service terminal that the utility model provides does not need reference address, only needs once to download easily to be scheduled to air ticket.
Information focuses on, and to having only the most basic operation of 4 steps, the flow process that simplifies the operation is accelerated predetermined speed with the reservation streamlining.The most of operation of this self-service terminal breaks away from browser work, and this mode can prevent to greatest extent that user profile from passing through the leak or the wooden horse leakage of browser itself.
Describe the self-service terminal that the utility model provides in detail below in conjunction with Fig. 2.
Fig. 2 is the logical organization synoptic diagram according to the self-service terminal 200 of the utility model one preferred embodiment.As indicated above, the self-service terminal 200 that the utility model provides is connected with the plane ticket booking server communication with the on-line payment server respectively by the internet, and this plane ticket booking server communication is connected to Air China's letter ticket information server.As shown in Figure 2, the self-service terminal 200 that provides of the utility model comprises communication module 202, control module 204 and memory module 206.
Control module 204 is used to receive the air ticket query requests of input, by communication module 202 this air ticket query requests is directly mail to this plane ticket booking server according to the mailing address of predefined plane ticket booking server when judging that this air ticket query requests is legal.
After this, control module 204 receives the air ticket subscription server by communication module 202 and responds at least one ticket information clauses and subclauses of the XML form that finds that described air ticket query requests returns and be stored among the memory module 206 in Air China's letter ticket information server, shows this ticket information clauses and subclauses then.After this, control module 204 ejects the subscription information input window to the user after the detection user clicks the operation of ticket information clauses and subclauses, and thus, the user just can be by this window input subscription information.After having imported subscription information, if the user clicks payment button, then control module 204 will detect delivery operation.After this, ticket information clauses and subclauses that control module 204 is clicked quilt in the ticket information clauses and subclauses of showing when judging that the subscription information of importing is legal and subscription information store among the memory module 206, and calculate the air ticket total value and eject the payment information input window to receive the payer accounts information of user, then with this payer accounts information and air ticket total value by this window input, predefined beneficiary accounts information together is encapsulated in the Payment Request after encryption by communication module 202 and mails to described on-line payment server according to the mailing address of predefined described on-line payment server.
After this, control module 204 receives online paying server by communication module 202 and responds the payment successful information that described Payment Request is returned, and ticket information clauses and subclauses that the quilt of storage is clicked and subscription information are encapsulated in the plane ticket booking request by communication module 202 and directly mail to the plane ticket booking server according to the mailing address of predefined described plane ticket booking server.
After this, control module 204 receives described plane ticket booking server by communication module 202 and responds the reservation successful information that described plane ticket booking request is returned.
As indicated above, in the specific implementation process, control module 204 also is used for judging that air ticket query requests or subscription information send miscue information when illegal.
In the specific implementation process, control module 204 also is used for receiving from the budget fare data entries of the XML form of described plane ticket booking server and being stored among the described memory module 206 by described communication module 202, shows this budget fare data entries then.
After this, control module 204 is after detecting air ticket point selection operation, receive the subscription information of input, and after detecting delivery operation, ticket information clauses and subclauses that when judging that the subscription information of importing is legal quilt in the ticket information clauses and subclauses of showing clicked and subscription information store among the memory module 206, and the payer accounts information that calculates the air ticket total value and receive input, then with this payer accounts information and air ticket total value, predefined beneficiary accounts information together is encapsulated in the Payment Request after encryption by communication module 202 and mails to described on-line payment server according to the mailing address of predefined described on-line payment server.
After this, control module 204 receives online paying server by communication module 202 and responds the payment successful information that described Payment Request is returned, and ticket information clauses and subclauses that the quilt of storage is clicked and subscription information are encapsulated in the plane ticket booking request by communication module 202 and directly mail to the plane ticket booking server according to the mailing address of predefined described plane ticket booking server.
After this, control module 204 receives described plane ticket booking server by communication module 202 and responds the reservation successful information that described plane ticket booking request is returned.
In the specific implementation process, control module 204 also is used for receiving from the advertising message of described plane ticket booking server and being stored among the described memory module 204 by described communication module 202, shows this advertising message then.
The utility model also provides a kind of plane ticket booking server, below just it is described in detail in conjunction with Fig. 3.
Fig. 3 is the structural representation according to the plane ticket booking server 300 of the utility model one preferred embodiment.As indicated above, the plane ticket booking server 300 that the utility model provides communicates to connect by internet and self-service terminal, and communicates to connect the letter ticket information server to Air China.As shown in Figure 3, plane ticket booking server 300 comprises communication module 302 and control module 304.
Control module 304 is used for receiving air ticket query requests from self-service terminal by communication module 302, searches at least one ticket information clauses and subclauses of the XML form that is complementary with described air ticket query requests and return in Air China's letter ticket information server.
After this, control module 304 is used for by the plane ticket booking request of communication module 302 receptions from selecteed at least one ticket information clauses and subclauses of at least one ticket information clauses and subclauses of returning comprising of self-service terminal and subscription information, and it is transmitted to Air China's letter ticket information server.
After this, control module 304 receives Air China's letter ticket information server by communication module 302 and responds the reservation successful information that described plane ticket booking request is returned, and forwards it to described self-service terminal.
In the specific implementation process, control module 304 also can send the budget fare data entries of at least one XML form by described communication module 302 to described self-service terminal.
After this, control module 304 receives plane ticket booking request from selecteed at least one budget fare data entries and subscription information at least one budget fare data entries that sends comprising of self-service terminal by communication module 302, and it is transmitted to Air China's letter ticket information server.
After this, control module 304 receives that Air China's letter ticket information servers respond described plane ticket booking request and the reservation successful information returned, and forwards it to described self-service terminal.
In another embodiment of the present utility model, control module 304 is extracted the contact details that comprise in the described subscription information after receiving the reservation successful information, send reservation by short message or Email and successfully notify.
As indicated above, control module 304 also can send various advertising messages to self-service terminal by communication module 302.
The above only is preferred embodiment of the present utility model; not in order to restriction the utility model; all any modifications of within spirit of the present utility model and principle, being done, be equal to and replace and improvement etc., all should be included within the protection domain of the present utility model.