Protocol air ticket order creating method, system, electronic equipment and storage medium
1. The protocol air ticket order creating method is characterized by comprising the following steps:
acquiring user information;
requesting the navigation department to check the user information;
acquiring a navigation department checking result;
creating a protocol air ticket order according to the navigation department checking result; and if the navigation department verification result is not obtained within the preset polling time, establishing a protocol air ticket order according to the user information.
2. The protocol airline ticket creation method of claim 1, wherein the user information comprises at least one of user identity information, user subscription information, user location information.
3. The protocol airline ticket ordering method of claim 1, wherein after the step of creating a protocol airline ticket order from the user information, the protocol airline ticket ordering method further comprises:
acquiring the navigation department verification result;
checking the protocol air ticket order according to the navigation department checking result; and if the navigation department verification result is not obtained, the payment of the protocol air ticket order is accepted.
4. The protocol ticket ordering method of claim 3 wherein after said step of accepting payment for said protocol ticket order, said protocol ticket ordering method further comprises:
acquiring the navigation department verification result;
and changing the price of the protocol air ticket order according to the navigation department checking result.
5. A protocol airline ticket issuance system, comprising:
the user information acquisition module is used for acquiring user information;
the navigation department verification request module is used for requesting the navigation department to verify the user information;
the verification result acquisition module is used for acquiring a navigation department verification result;
the air ticket order creating module is used for creating a protocol air ticket order according to the airline department checking result; the air ticket order creating module is further used for creating a protocol air ticket order according to the user information when the airline department checking result is not obtained within the preset polling time.
6. The protocol airline ticket system of claim 5, wherein the user information comprises at least one of user identity information, user subscription information, user location information.
7. The protocol air ticket order system of claim 5, wherein the ticket order creating module is further configured to invoke the verification result obtaining module after creating a protocol air ticket order according to the user information;
the protocol air ticket order creating system also comprises an air ticket order checking module and an air ticket order payment module;
the air ticket order checking module is used for checking the protocol air ticket order according to the airline department checking result; the air ticket order checking module is also used for calling the air ticket order payment module when the airline driver checking result is not obtained;
and the air ticket order payment module is used for receiving payment of the protocol air ticket order.
8. The protocol ticket order system of claim 7, wherein the ticket order payment module is further configured to invoke the verification result obtaining module after accepting payment of the protocol ticket order;
the protocol air ticket order creating system further comprises an air ticket order variable price module used for carrying out price change on the protocol air ticket order according to the airline department checking result.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the protocol airline ticket creation method of any of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the protocol airline ticket issuing method of any one of claims 1 to 4.
Background
A customer company typically enters into an agreement with a airline company to obtain an agreed ticket at a lower than normal price, and the airline company commissions a business travel management company to perform a ticketing agency. When a user performs agreement air ticket booking through a ticket booking system of a business trip management company, the ticket booking system of the business trip management company needs to request a driver to check the qualification of the user for purchasing the agreement air ticket, and in the period, the response time of the driver system is too long or the network condition is poor, so that the ticket booking process cannot be continuously performed, the user needs to wait for a long time, and the user experience is poor.
Disclosure of Invention
The invention aims to overcome the defect that the waiting time of a protocol ticket is too long when a user manages the predetermined protocol ticket through business travel in the prior art, and provides a protocol ticket order creating method, a system, electronic equipment and a storage medium.
The invention solves the technical problems through the following technical scheme:
the invention provides a protocol air ticket order creating method, which comprises the following steps:
acquiring user information;
requesting the navigation department to check the user information;
acquiring a navigation department checking result;
creating a protocol air ticket order according to the navigation department checking result; and if the navigation department verification result is not obtained within the preset polling time, establishing a protocol air ticket order according to the user information.
Preferably, the user information includes at least one of user identity information, user subscription information, and user location information.
Preferably, after the step of creating a protocol ticket order according to the user information, the protocol ticket order creating method further includes:
acquiring the navigation department verification result;
checking the protocol air ticket order according to the navigation department checking result; and if the navigation department verification result is not obtained, the payment of the protocol air ticket order is accepted.
Preferably, after the step of accepting payment for the agreement ticket order, the agreement ticket order creation method further includes:
acquiring the navigation department verification result;
and changing the price of the protocol air ticket order according to the navigation department checking result.
The invention also provides a protocol air ticket order system, which comprises:
the user information acquisition module is used for acquiring user information;
the navigation department verification request module is used for requesting the navigation department to verify the user information;
the verification result acquisition module is used for acquiring a navigation department verification result;
the air ticket order creating module is used for creating a protocol air ticket order according to the verification result; the air ticket order creating module is further used for creating a protocol air ticket order according to the user information when the airline department checking result is not obtained within the preset polling time.
Preferably, the user information includes at least one of user identity information, user subscription information, and user location information.
Preferably, the air ticket order creating module is further configured to invoke the verification result obtaining module after creating a protocol air ticket order according to the user information;
the protocol air ticket order creating system also comprises an air ticket order checking module and an air ticket order payment module;
the air ticket order checking module is used for checking the protocol air ticket order according to the airline department checking result; the air ticket order checking module is also used for calling the air ticket order payment module when the airline driver checking result is not obtained;
and the air ticket order payment module is used for receiving payment of the protocol air ticket order.
Preferably, the air ticket order payment module is further configured to invoke the verification result obtaining module after accepting payment of the agreement air ticket order;
the protocol air ticket order creating system further comprises an air ticket order variable price module used for carrying out price change on the protocol air ticket order according to the airline department checking result.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the protocol air ticket creating method as described above when executing the computer program.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the protocol airline ticket issuing method as described above.
The positive progress effects of the invention are as follows:
according to the protocol air ticket order creating method, the polling time for acquiring the airline department verification result is preset, the protocol air ticket order is stopped to be created only when the result that the clear verification is not passed is acquired, the order can be continuously created under the unknown state that the airline department verification result is not acquired, the waiting time for a user to create the protocol air ticket order is shortened, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a protocol airline ticket creation method according to embodiment 1 of the present invention.
Fig. 2 is another flowchart of the protocol airline ticket creation method according to embodiment 1 of the present invention.
Fig. 3 is a block diagram of a protocol airline ticket issuing system according to embodiment 2 of the present invention.
Fig. 4 is another block diagram of the protocol airline ticket issuing system according to embodiment 2 of the present invention.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to embodiment 3 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Please refer to fig. 1, which is a flowchart illustrating a method for creating a ticket for a protocol airline according to the present embodiment. Specifically, as shown in fig. 1, the protocol airline ticket issuing method includes:
s101, acquiring user information;
specifically, the user information includes at least one of user identity information, user subscription information, and user location information. The user subscription information may include protocol information selected by the user. Based on the principles of standardization and logic unification of the processing flow, the special protocol products and the company account logics of different navigation departments are preprocessed, and a user can conveniently input information in the bill creating process. The user reservation information may also include the flight number, seat number, and ticket price to which the user is subscribed. The user information may also include user location information if the user subscribes to an international airline ticket. In addition, the booking data of the protocol navigation department can be dynamically analyzed, and hot air routes or cold air routes are set based on the big data for the user to select.
S102, requesting the navigation driver to check user information;
s103, acquiring a navigation department verification result;
and for different navigation systems, presetting polling time for acquiring the navigation system verification result according to the actual conditions of the navigation systems and the network. The table below shows the preset polling times for some of the main airlines.
(in the table, CSD, HX, CZD, etc. are all international navigation code)
S104, creating a protocol air ticket order according to the navigation department checking result; and if the navigation department verification result is not obtained within the preset polling time, establishing a protocol air ticket order according to the user information.
Specifically, when the navigation department verification result is that the protocol air ticket order passes, a protocol air ticket order is created according to the user information; when the navigation department does not pass the verification result, a protocol air ticket order is not created; if the airline hostess check result is not obtained within the preset polling time, the protocol air ticket order is created according to the user information, the user can continue creating the order under the unknown state that the airline hostess check result is not obtained, and the waiting time of the user creating the protocol air ticket order is reduced.
Please refer to fig. 2, which is another flowchart of the method for creating a ticket for a protocol airline according to the embodiment. Specifically, as shown in fig. 2, in another example, after the step of creating the protocol air ticket order according to the user information without obtaining the driver check result within the preset polling time, the protocol air ticket creating method further includes:
s105, acquiring a navigation department verification result;
s106, checking a protocol air ticket order according to the airline department checking result; and if the navigation department verification result is not obtained, the payment of the protocol air ticket order is accepted.
Specifically, the navigation verification result is obtained and then transmitted by using a Message middleware, and the Message middleware may select QMQ (a Message Queue). When the airline operator verification result is that the airline operator passes, the protocol air ticket order is verified, the order submitted by the user is received, the order is authorized, and the order payment of the user is received; when the airline hostess check result is that the airline hostess check is failed, the protocol air ticket order is checked, the operation of the user is not accepted, the user is informed that the air ticket booking is failed, and the user is requested to book again; if the airline department verification result is not obtained, the operation of the user is received, the user can still continue to submit the order and pay the order under the unknown state that the airline department verification result is not obtained, and the waiting time of the user in submitting and paying the protocol air ticket order is reduced.
After the step of accepting payment for the agreement ticket order, the agreement ticket issuing method further includes:
s107, acquiring a navigation department verification result;
and S108, changing the price of the protocol air ticket order according to the navigation department verification result.
Specifically, the navigation driver verification result is obtained and then is communicated by using the message middleware, and the message middleware can select QMQ. Requesting the navigation department to draw a ticket according to the protocol air ticket order when the navigation department verification result is that the navigation department passes; and when the airline department does not pass the verification result, carrying out variable price processing on the protocol air ticket order. The mode of the pricing process for the agreement ticket order can comprise the following steps: and requesting the airline hostess to issue the ticket according to the price of the air ticket without the agreement, wherein the difference between the agreement price of the air ticket and the price of the air ticket without the agreement is within a preset range. The mode of the price changing processing of the agreement air ticket order can also comprise the following steps: and informing the user and carrying out air ticket price negotiation with the user.
The protocol air ticket order creating method of the embodiment is characterized in that polling time for acquiring the airline hostess check result is preset, only a clear result that the check is not passed is acquired, the protocol air ticket order is stopped being created, the order can be continuously created in an unknown state without the airline hostess check result, the order is transmitted in real time after the airline hostess check result is acquired, the protocol air ticket order is checked or the price of the protocol air ticket order is changed according to the airline hostess check result, waiting time of a user is shortened, and user experience is improved.
Example 2
Please refer to fig. 3, which is a block diagram of a protocol airline ticket issuing system in the present embodiment. Specifically, as shown in fig. 3, the protocol airline ticket issuing system includes:
the user information acquisition module 1 is used for acquiring user information;
specifically, the user information includes at least one of user identity information, user subscription information, and user location information. The user subscription information may include protocol information selected by the user. Based on the principles of standardization and logic unification of the processing flow, the special protocol products and the company account logics of different navigation departments are preprocessed, and a user can conveniently input information in the bill creating process. The user reservation information may also include the flight number, seat number, and ticket price to which the user is subscribed. The user information may also include user location information if the user subscribes to an international airline ticket. In addition, the booking data of the protocol navigation department can be dynamically analyzed, and hot air routes or cold air routes are set based on the big data for the user to select.
The navigation department verification request module 2 is used for requesting the navigation department to verify the user information;
the checking result obtaining module 3 is used for obtaining the navigation department checking result;
and for different navigation systems, presetting polling time for acquiring the navigation system verification result according to the actual conditions of the navigation systems and the network. The table below shows the preset polling times for some of the main airlines.
The air ticket order creating module 4 is used for creating a protocol air ticket order according to the airline department checking result; and the air ticket order creating module is also used for creating a protocol air ticket order according to the user information when the airline department checking result is not obtained within the preset polling time.
Specifically, when the navigation department verification result is that the protocol air ticket order passes, a protocol air ticket order is created according to the user information; when the navigation department does not pass the verification result, a protocol air ticket order is not created; if the airline hostess check result is not obtained within the preset polling time, the protocol air ticket order is created according to the user information, the user can continue creating the order under the unknown state that the airline hostess check result is not obtained, and the waiting time of the user creating the protocol air ticket order is reduced.
Please refer to fig. 4, which is another structural block diagram of the protocol airline ticket issuing system in the present embodiment. Specifically, as shown in fig. 4, in another example, the ticket order creating module 4 is further configured to invoke the verification result obtaining module 3 after creating the protocol ticket order according to the user information;
the protocol air ticket order creating system also comprises an air ticket order checking module 5 and an air ticket order payment module 6;
the air ticket order checking module 5 is used for checking a protocol air ticket order according to the airline department checking result; the air ticket order checking module 5 is also used for calling the air ticket order payment module 6 when the airline department checking result is not obtained;
the air ticket order payment module 6 is used for accepting payment of the agreement air ticket order.
Specifically, the verification result obtaining module 3 obtains the navigation driver verification result and then transmits the navigation driver verification result by using the message middleware, and the message middleware may select QMQ. When the airline operator verification result is that the airline operator passes, the protocol air ticket order is verified, the order submitted by the user is received, the order is authorized, and the order payment of the user is received; when the airline hostess check result is that the airline hostess check is failed, the protocol air ticket order is checked, the operation of the user is not accepted, the user is informed that the air ticket booking is failed, and the user is requested to book again; if the airline department verification result is not obtained, the operation of the user is received, the user can still continue to submit the order and pay the order under the unknown state that the airline department verification result is not obtained, and the waiting time of the user in submitting and paying the protocol air ticket order is reduced.
The air ticket order payment module 6 is also used for calling the verification result acquisition module 3 after the payment of the protocol air ticket order is received;
the protocol air ticket order creating system further comprises an air ticket order variable price module 7 which is used for carrying out price change on the protocol air ticket order according to the airline department checking result.
Specifically, the verification result obtaining module 3 obtains the navigation driver verification result and then transmits the navigation driver verification result by using the message middleware, and the message middleware may select QMQ. Requesting the navigation department to draw a ticket according to the protocol air ticket order when the navigation department verification result is that the navigation department passes; and when the navigation department verifies that the protocol air ticket order is not passed, the air ticket order price changing module 7 carries out price changing processing on the protocol air ticket order. The mode of the pricing process for the agreement ticket order can comprise the following steps: and requesting the airline hostess to issue the ticket according to the price of the air ticket without the agreement, wherein the difference between the agreement price of the air ticket and the price of the air ticket without the agreement is within a preset range. The mode of the price changing processing of the agreement air ticket order can also comprise the following steps: and informing the user and carrying out air ticket price negotiation with the user.
The protocol air ticket order creating system of the embodiment stops creating a protocol air ticket order only when a clear result that the verification cannot pass is obtained by presetting the polling time for obtaining the verification result of the airline department, can continue creating the order in an unknown state without obtaining the verification result of the airline department, transmits the order in real time after obtaining the verification result of the airline department, and checks the protocol air ticket order or changes the price of the protocol air ticket order according to the verification result of the airline department, so that the waiting time of a user is reduced, and the user experience is improved.
Example 3
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the protocol airline ticket creation method of embodiment 1. The electronic device 30 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 5, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 31 executes various functional applications and data processing, such as the protocol air ticket issuing method of embodiment 1 of the present invention, by executing the computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 4
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor, implements the steps of the protocol air ticket bond method of embodiment 1.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation, the invention can also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of implementing the protocol airline ticket creation method of embodiment 1, when the program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种订单监控方法、服务器及存储介质