Electronic ticket information changing method and related equipment
Through the electronic ticket information change system, the combination of the change processing module and the fare calculation parameter storage module is used to automatically process changes in electronic ticket information, solving the problem of low change efficiency in the existing technology and achieving a more efficient business process.
Patent Information
- Application Number
- CN202411025796.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-09-20
AI Technical Summary
The existing technology is inefficient when processing electronic ticket information changes. In particular, due to the complexity of the fare calculation parameters for special scene tickets, the system cannot automatically calculate the changed costs and requires manual intervention, which increases the burden on airline business personnel.
A method and system for changing electronic ticket information is designed, including an electronic ticket change processing module, a ticket processing module and a freight calculation parameter storage module. By receiving the change request, the key-value pair of the freight calculation result is obtained, and the electronic ticket information is automatically processed. Change processing to avoid manual intervention.
It improves the efficiency of electronic ticket information changes, reduces manual intervention, improves the automation level of business processing, and improves the airline's business efficiency.
Smart Images

Figure CN118673032A
Abstract
Description
Technical Field
[0001] The present application relates to the field of civil aviation, and in particular to a method for changing electronic ticket information and related equipment. Background Art
[0002] With the development of science and technology and the advancement of informatization, the application of electronic tickets is becoming more and more widespread. Electronic tickets, also known as paperless tickets, refer to the itinerary / receipt, electronic ticket coupon, and applicable boarding pass filled out by the carrier or on behalf of the carrier. The fare information of electronic tickets is very important. The parameters required for the fare calculation results are complex and large, which makes the change process of electronic ticket information more complicated when the electronic ticket is changed for refund, change, etc.
[0003] At present, some special scenarios of air tickets can only be changed manually due to the lack of some parameters required for the fare calculation results. For example, some special tickets, promotional tickets or international tickets may have restrictions or special terms, which makes the system unable to automatically calculate the changed fees.
[0004] Manually changing electronic ticket information requires extremely high professional capabilities from the airline's business personnel and agents, and has low efficiency. Summary of the invention
[0005] In view of the above problems, this application proposes a method for changing electronic ticket information and related equipment. In order to improve the efficiency of changing electronic ticket information, the specific scheme is as follows:
[0006] A method for changing electronic ticket information is applied to an electronic ticket change system, the system comprising: an electronic ticket change processing module, a ticket processing module and a fare calculation parameter storage module;
[0007] The method comprises:
[0008] The electronic ticket change processing module receives the passenger's electronic ticket change request sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and electronic ticket change information;
[0009] The electronic ticket change processing module obtains the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtains the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, wherein the value in the key-value pair is all the parameters used to calculate the first fare calculation result;
[0010] The electronic ticket change processing module performs electronic ticket information change processing based on the electronic ticket change information, the first electronic ticket information and the key-value pairs corresponding to the first fare calculation result.
[0011] An electronic ticket information change system comprises: an electronic ticket change processing module, a ticket processing module and a freight rate calculation parameter storage module;
[0012] The electronic ticket change processing module is used to receive the passenger's electronic ticket change request sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and electronic ticket change information;
[0013] The electronic ticket change processing module is further used to obtain the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtain the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, wherein the value in the key-value pair is all parameters used to calculate the first fare calculation result;
[0014] The electronic ticket change processing module is also used to perform electronic ticket information change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result.
[0015] An electronic ticket information changing device, comprising a memory and a processor;
[0016] The memory is used to store programs;
[0017] The processor is used to execute the program to implement each step of the method for changing the electronic ticket information described in any one of the above items.
[0018] A readable storage medium stores a computer program, which, when executed by a processor, implements each step of the method for changing electronic ticket information as described in any one of the above items.
[0019] Based on the above technical solution, the present application provides a method for changing electronic ticket information and related equipment, which are applied to the electronic ticket change system, the system includes: an electronic ticket change processing module, a ticket processing module and a fare calculation parameter storage module, the method includes: the electronic ticket change processing module receives the electronic ticket change request of the passenger sent by the upstream system, the electronic ticket change request includes the electronic ticket number and the electronic ticket change information. The electronic ticket change processing module obtains all the parameters of the first fare calculation result from the fare calculation parameter storage module according to the partial parameters of the known first fare calculation result. The electronic ticket change processing module can automatically perform change processing based on the electronic ticket change information, the first electronic ticket information and all the parameters of the first fare calculation result. No manual changes are required, which improves the efficiency of changing electronic ticket information. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0021] Figure 1 A flowchart of a method for changing electronic ticket information disclosed in an embodiment of the present application;
[0022] Figure 2 A schematic diagram of the structure of a system for changing electronic ticket information disclosed in an embodiment of the present application;
[0023] Figure 3 A schematic diagram of a process of performing a change process based on a key-value pair corresponding to electronic ticket change information, first electronic ticket information and a first fare calculation result by an electronic ticket change processing module disclosed in an embodiment of the present application;
[0024] Figure 4 A schematic diagram of a process of performing a change process based on a key-value pair corresponding to electronic ticket change information, first electronic ticket information and a first fare calculation result by an electronic ticket change processing module disclosed in an embodiment of the present application;
[0025] Figure 5 This is a hardware structure block diagram of a device for changing electronic ticket information disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0027] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0028] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0029] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0030] In order to improve the efficiency of changing electronic ticket information, the present application provides a method for changing electronic ticket information. The following is a further detailed description of the method for changing electronic ticket information provided by the present application in conjunction with the accompanying drawings and specific implementation methods.
[0031] Please see attached Figure 1 , Figure 1 A flowchart of a method for changing electronic ticket information provided in an embodiment of the present application. The method is applied to an electronic ticket change system, which includes: an electronic ticket change processing module, a ticket processing module, and a fare calculation parameter storage module;
[0032] For easier understanding, please refer to Figure 2 , Figure 2 The electronic ticket change processing module is connected to the ticket processing module and the fare calculation parameter storage module respectively.
[0033] It should be noted that the electronic ticket change processing module may include a freight rate calculation submodule, an order processing submodule, and an electronic ticket change processing submodule. The freight rate calculation submodule is connected to the order processing submodule, and the electronic ticket change processing submodule is connected to the freight rate calculation submodule and the order processing submodule respectively.
[0034] The method may include the following steps:
[0035] Step S101: The electronic ticket change processing module receives the passenger's electronic ticket change request sent by the upstream system. The electronic ticket change request includes the electronic ticket number and electronic ticket change information.
[0036] It should be noted that the electronic ticket refers to the itinerary / receipt, electronic ticket coupon, and applicable boarding pass issued by the carrier or on its behalf. It includes name, flight segment, fare, fare calculation, payment method, endorsement information, etc. Electronic ticket change requests include change requests and refund requests. Correspondingly, electronic ticket change information is change information or refund information.
[0037] In the present application, after the upstream system determines the changed itinerary according to the passenger's wishes, it sends the passenger's electronic ticket change request to the electronic ticket change processing submodule of the electronic ticket change processing module.
[0038] To make it easier to understand, here are some examples:
[0039] Steven's family of three (2 adults and 1 child) living in New York, USA, wanted to change their itinerary.
[0040] When the e-ticket change request is a rebooking request: postpone the trip to Beijing on flight CA695 in Economy Class Y on February 2, 2024 at 10:00 to take flight CA965 in Economy Class Y on February 7, 2024 at 10:00. Steven Mr's e-ticket number is 999-1234567890, Mrs Steven's e-ticket number is 999-1234567891, and Steven CHD's e-ticket number is 999-1234567892.
[0041] When the electronic ticket change request is a refund request: the trip to Beijing in Economy Class Y of flight CA695 at 10:00 on February 2, 2024 will be canceled.
[0042] Step S102: The electronic ticket change processing module obtains the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtains the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, and the value in the key-value pair is all the parameters used to calculate the first fare calculation result.
[0043] In the present application, the electronic ticket change processing module can obtain the current electronic ticket information and the key corresponding to the current fare calculation result from the ticket processing module according to the electronic ticket number, and obtain the key-value pair corresponding to the current fare calculation result from the fare calculation parameter storage module according to the key corresponding to the current fare calculation result. The value in the key-value pair is all the parameters used to calculate the current fare calculation result.
[0044] The key-value pair corresponding to the current electronic ticket information (i.e., the first electronic ticket information) and the current fare calculation result (i.e., the first fare calculation result) may be the key-value pair corresponding to the initial electronic ticket information (i.e., the second electronic ticket information) and the initial fare calculation result (i.e., the second fare calculation result).<key,value> .
[0045] To make it easier to understand, here are some examples:
[0046] The electronic ticket change processing module obtains the key corresponding to the current fare calculation result from the ticket processing module based on the electronic ticket number of Mr. Steven, which is 999-1234567890, the electronic ticket number of Mrs. Steven, which is 999-1234567891, and the electronic ticket number of CHD Steven, which is 999-1234567892. For details, please refer to Table 1:
[0047] Table 1
[0048] Travelers Electronic ticket number <key> < / key> Mr Steven 999-1234567890 313260115335053205603005311243000000041574401002 Mrs Steven 999-1234567891 313260115335053205603005311243000000041574401004 Steven CHD 999-1234567892 313260115335053205603005311243000000041574401006
[0049] The electronic ticket change processing module obtains the key-value pair corresponding to the current fare calculation result from the fare calculation parameter storage module according to the key corresponding to the current fare calculation result. For details, please refer to Table 2:
[0050] Table 2
[0051] Travelers <key> < / key> <value> < / value> Mr Steven Freight calculation result ID: 313260115335053205603005311243000000041574401002 Fare calculation result ID: 313260115335053205603005311243000000041574401002; flight information: CA965; flight time: 2024 / 2 / 2 10:00; cabin: Y passenger type: adult; fare information: 2000; tax price: 200; fare calculation time: 2024 / 1 / 1010:00 fare calculation rule adopted: rule002; included brand benefits: advance seat reservation, priority security check, free checked baggage 30KG, free meal, free change once, refund fee. Mrs Steven Freight calculation result ID: 313260115335053205603005311243000000041574401004 Fare calculation result ID: 313260115335053205603005311243000000041574401004; flight information: CA965; flight time: 2024 / 2 / 2 10:00; cabin: Y passenger type: adult; fare information: 2000; tax price: 200; fare calculation time: 2024 / 1 / 1010:00 fare calculation rule adopted: rule002; included brand benefits: advance seat reservation, priority security check, free checked baggage 30KG, free meal, free change once, refund fee. Steven CHD Freight calculation result ID: 313260115335053205603005311243000000041574401006 Fare calculation result ID: 313260115335053205603005311243000000041574401006; flight information: CA965; flight time: 2024 / 2 / 2 10:00; cabin: Y passenger type: child; fare information: 1500; tax price: 150; fare calculation time: 2024 / 1 / 1010:00 fare calculation rule adopted: rule004; included brand benefits: advance seat reservation, priority security check, free checked baggage 30KG, free meal, free change once, refund fee.
[0052] When selling an electronic ticket for the first time, after the upstream system determines the itinerary according to the passenger's wishes, the fare calculation submodule in the electronic ticket change processing module performs price calculation. The fare calculation submodule generates the initial fare calculation result and the key-value pair corresponding to the initial fare calculation result.<key,value> After the upstream system selects the freight rate result, the order processing submodule records the initial freight rate calculation result and the key corresponding to the initial freight rate calculation result. <key>When the upstream system issues a ticket, the ticket processing module stores the initial freight rate calculation result and the key corresponding to the initial freight rate calculation result. <key>After the ticket processing module issues the ticket, the key corresponding to the initial freight calculation result of the freight calculation parameter storage module is <key>Call the freight rate calculation submodule to obtain and store the key-value pairs corresponding to the initial freight rate calculation results<key,value> .
[0053] Specifically, the fare calculation submodule receives the passenger's itinerary information sent by the upstream system, calculates and determines the second fare calculation result and the key-value pair corresponding to the second fare calculation result based on the itinerary information, and sends the second fare calculation result and the key corresponding to the second fare calculation result to the order processing submodule.
[0054] The order processing submodule sends the second freight rate calculation result and the key corresponding to the second freight rate calculation result to the ticket processing module.
[0055] The ticket processing module generates second electronic ticket information according to the second fare calculation result, and stores the second electronic ticket information and the key corresponding to the second fare calculation result, wherein the second electronic ticket information includes the electronic ticket number.
[0056] The order processing submodule sends the key corresponding to the second freight rate calculation result to the freight rate calculation parameter storage module.
[0057] The freight rate calculation parameter storage module obtains the key-value pair corresponding to the second freight rate calculation result from the freight rate calculation submodule according to the key corresponding to the second freight rate calculation result, and stores the key-value pair corresponding to the second freight rate calculation result.
[0058] Step S103: The electronic ticket change processing module performs electronic ticket information change processing based on the electronic ticket change information, the first electronic ticket information and the key-value pairs corresponding to the first fare calculation result.
[0059] It should be noted that the electronic ticket change request includes a rebooking request and a refund request. Correspondingly, the electronic ticket change information is the rebooking information or the refund information.
[0060] In this application, the electronic ticket change processing module can perform electronic ticket information change processing based on the key-value pair corresponding to the change request, the first electronic ticket information and the first fare calculation result. For details, please refer to Table 3:
[0061] Table 3
[0062] Travelers <newkey> < / newkey> <newvalue> < / newvalue> Mr Steven Freight calculation result ID: 313260115335053205603005311243000000041574401012 Tariff calculation result ID: 313260115335053205603005311243000000041574401012; Flight information: CA965; Flight time: 2024 / 2 / 7 10:00; Cabin: Y Passenger type: Adult; Fare information: 2300; Change fee: 0; Price difference: 300; Change calculation time: 2024 / 1 / 26 16:00 Tariff calculation rule adopted: rule002; Brand benefits included: Advance seat reservation, priority security check, 30KG free checked baggage, free meal, one free change, free refund one day in advance. Mrs Steven Freight calculation result ID: 313260115335053205603005311243000000041574401014 Fare calculation result ID: 313260115335053205603005311243000000041574401014; Flight information: CA965; Flight time: 2024 / 2 / 7 10:00; Cabin: Y Passenger type: Adult; Fare information: 2300; Change fee: 0; Price difference: 300; Change calculation time: 2024 / 1 / 26 16:00 Fare calculation rule adopted: rule002; Brand benefits included: Advance seat reservation, priority security check, 30KG free checked baggage, free meal, one free change, free refund one day in advance. Steven CHD Freight calculation result ID: 313260115335053205603005311243000000041574401016 Tariff calculation result ID: 313260115335053205603005311243000000041574401016; Flight information: CA965; Flight time: 2024 / 2 / 7 10:00; Cabin: Y Passenger type: Child; Fare information: 1700; Change fee: 0; Price difference: 200; Change calculation time: 2024 / 1 / 26 16:00 Tariff calculation rule adopted: rule004; Included brand benefits: Advance seat reservation, priority security check, 30KG free checked baggage, free meal, one free change, free refund one day in advance.
[0063] In this application, the electronic ticket change processing module can perform electronic ticket information change processing based on the key-value pair corresponding to the refund request, the first electronic ticket information and the first fare calculation result. For details, please refer to Table 4:
[0064] Table 4
[0065] Travelers <newkey> < / newkey> <newvalue> < / newvalue> Mr Steven Freight calculation result ID: 313260115335053205603005311243000000041574401021 Freight calculation result ID: 313260115335053205603005311243000000041574401021; Flight information: CA965; Flight time: 2024 / 2 / 7 10:00; Cabin: Y Passenger type: Adult; Ticket price: 2300; Tax price: 200 Refund fee: 0; Airline refund: 2500 Refund calculation time: 2024 / 2 / 5 19:00 Freight calculation rule used: rule002; Mrs Steven Freight calculation result ID: 313260115335053205603005311243000000041574401022 Freight calculation result ID: 313260115335053205603005311243000000041574401022; Flight information: CA965; Flight time: 2024 / 2 / 7 10:00; Cabin: Y Passenger type: Adult; Ticket price: 2300; Tax price: 200 Refund fee: 0; Airline refund: 2500 Refund calculation time: 2024 / 2 / 5 19:00 Freight calculation rule used: rule002; Steven CHD Freight calculation result ID: 313260115335053205603005311243000000041574401023 Freight calculation result ID: 313260115335053205603005311243000000041574401023; Flight information: CA965; Flight time: 2024 / 2 / 7 10:00; Cabin: Y Passenger type: Child; Ticket price: 1700; Tax price: 150 Refund fee: 0; Airline refund: 1850 Refund calculation time: 2024 / 2 / 5 19:00 Freight calculation rule used: rule004;
[0066] In summary, the electronic ticket information change method provided by the present application is applied to the electronic ticket change system, the system includes: an electronic ticket change processing module, a ticket processing module and a fare calculation parameter storage module, the method includes: the electronic ticket change processing module receives the electronic ticket change request of the passenger sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and the electronic ticket change information. The electronic ticket change processing module obtains all the parameters of the first fare calculation result from the fare calculation parameter storage module according to the partial parameters of the known first fare calculation result. The electronic ticket change processing module can automatically perform the change processing based on the electronic ticket change information, the first electronic ticket information and all the parameters of the first fare calculation result. No manual change is required, which improves the efficiency of changing the electronic ticket information.
[0067] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0068] On the basis of the above-mentioned embodiment disclosed in the present application, in another embodiment of the present application, a specific implementation method of the electronic ticket change processing module performing change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result is described in detail.
[0069] As an example of an implementation method, please refer to the attached Figure 3 , is a process diagram of a method disclosed in the present application for an electronic ticket change processing module to perform change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result. The method may include the following steps:
[0070] Step S201: the electronic ticket change processing submodule sends the key-value pairs corresponding to the ticket change information, the first electronic ticket information and the first fare calculation result to the fare calculation submodule.
[0071] It should be noted that the electronic ticket change request is a rebooking request, and the electronic ticket change information is rebooking information.
[0072] Step S202: The fare calculation submodule calculates and determines the fare calculation result of the change and the key-value pair corresponding to the fare calculation result of the change according to the change information, the first electronic ticket information and the key-value pair corresponding to the first fare calculation result, and sends the fare calculation result of the change and the key-value pair corresponding to the fare calculation result of the change to the electronic ticket change processing submodule.
[0073] In this application, the fare calculation submodule integrates the information sent by the electronic ticket change processing submodule, calculates and determines multiple fare calculation results for ticket changes and key-value pairs corresponding to the multiple fare calculation results for ticket changes. The upstream system selects a fare calculation result for ticket changes and a key-value pair corresponding to the fare calculation result for ticket changes according to the passenger's wishes.<newKey,newValue> After that, the freight rate calculation submodule calculates the freight rate calculation result of the changed ticket and the key-value pair corresponding to the freight rate calculation result of the changed ticket.<newKey,newValue> Sent to the electronic ticket change processing submodule.
[0074] Step S203: The electronic ticket change processing submodule sends the changed fare calculation result and the key corresponding to the changed fare calculation result to the order processing submodule.
[0075] In this application, the electronic ticket change processing submodule converts the fare calculation result of the changed ticket and the key corresponding to the fare calculation result of the changed ticket. <newkey>Recorded in the order processing submodule.
[0076] Step S204: The order processing submodule sends the changed fare calculation result and the key corresponding to the changed fare calculation result to the ticket processing module, so that the ticket processing module generates the changed electronic ticket information according to the changed fare calculation result and updates the first electronic ticket information and the key corresponding to the first fare calculation result.
[0077] In this application, the order processing submodule sends the changed fare calculation result and the key corresponding to the changed fare calculation result to the ticket processing module. After the passenger confirms the change and pays the change difference, the ticket processing module updates the first electronic ticket information to the changed electronic ticket information when reissuing the ticket, and the key corresponding to the first fare calculation result is sent to the ticket processing module. <key>Update to the key corresponding to the freight calculation result of the changed ticket <newkey>.
[0078] Step S205: the order processing submodule sends the key corresponding to the changed freight rate calculation result to the freight rate calculation parameter storage module, so that the freight rate calculation parameter storage module obtains the key-value pair corresponding to the changed freight rate calculation result from the freight rate calculation submodule according to the key corresponding to the changed freight rate calculation result and updates the key-value pair corresponding to the first freight rate calculation result.
[0079] In this application, after the ticket processing module exchanges the ticket, the freight rate calculation parameter storage module calculates the key corresponding to the freight rate calculation result of the changed ticket. <newkey>Obtain and store the key-value pairs corresponding to the fare calculation results of the changed ticket from the fare calculation submodule<newKey,newValue> , the key-value pair corresponding to the first freight rate calculation result<Key,Value> Updated to the key-value pair corresponding to the changed fare calculation result<newKey,newValue> .
[0080] On the basis of the above-mentioned embodiment disclosed in the present application, in another embodiment of the present application, a specific implementation method of the electronic ticket change processing module performing change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result is described in detail.
[0081] As an example of an implementation method, please refer to the attached Figure 4 , is a process diagram of a method disclosed in the present application for an electronic ticket change processing module to perform change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result. The method may include the following steps:
[0082] Step S301: the electronic ticket change processing submodule sends the key-value pairs corresponding to the refund information, the first electronic ticket information and the first fare calculation result to the fare calculation submodule.
[0083] It should be noted that the electronic ticket change request is a refund request, and the electronic ticket change information is the refund information.
[0084] Step S302: The fare calculation submodule calculates and determines the fare calculation result of the refund and the key-value pair corresponding to the fare calculation result of the refund according to the refund information, the first electronic ticket information and the key-value pair corresponding to the first fare calculation result, and sends the fare calculation result of the refund and the key-value pair corresponding to the fare calculation result of the refund to the electronic ticket change processing submodule.
[0085] In this application, the fare calculation submodule integrates the information sent by the electronic ticket change processing submodule.
[0086] Calculate and determine multiple cancellation fare calculation results and the key-value pairs corresponding to the multiple cancellation fare calculation results. The upstream system selects a cancellation fare calculation result and the key-value pair corresponding to the cancellation fare calculation result according to the passenger's wishes.<newKey,newValue> After that, the freight calculation submodule calculates the freight calculation result of the refund and the key-value pair corresponding to the freight calculation result of the refund.<newKey,newValue> Sent to the electronic ticket change processing submodule.
[0087] Step S303: the electronic ticket change processing submodule sends the refund fare calculation result and the key corresponding to the refund fare calculation result to the order processing submodule.
[0088] In this application, the electronic ticket change processing submodule converts the fare calculation result of the refund and the key corresponding to the fare calculation result of the refund. <newkey>Recorded in the order processing submodule.
[0089] Step S304: the order processing submodule sends the refunded fare calculation result and the key corresponding to the refunded fare calculation result to the ticket processing module, so that the ticket processing module generates the refunded electronic ticket information according to the refunded fare calculation result and updates the first electronic ticket information and the key corresponding to the first fare calculation result.
[0090] In this application, the order processing submodule sends the refunded fare calculation result and the key corresponding to the refunded fare calculation result to the ticket processing module. After the passenger confirms the change and pays the change difference, the ticket processing module updates the first electronic ticket information to the refunded electronic ticket information when reissuing the ticket, and the key corresponding to the first fare calculation result is sent to the ticket processing module. <key>Updated to the key corresponding to the freight calculation result of the refund <newkey>.
[0091] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0092] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0093] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0094] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0095] The method is described in detail in the embodiments disclosed in the above-mentioned application. The method of the application can be implemented by various forms of devices. Therefore, the application also discloses a device for calculating air fare. A specific embodiment is given below for detailed description.
[0096] Please see attached Figure 2 , Figure 2 This is a structural diagram of a system for changing electronic ticket information disclosed in an embodiment of the present application, the system comprising: an electronic ticket change processing module, a ticket processing module and a fare calculation parameter storage module;
[0097] The electronic ticket change processing module is used to receive the passenger's electronic ticket change request sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and electronic ticket change information.
[0098] The electronic ticket change processing module is further used to obtain the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtain the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, wherein the value in the key-value pair is all parameters used to calculate the first fare calculation result.
[0099] The electronic ticket change processing module is also used to perform electronic ticket information change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result.
[0100] As an implementable embodiment, the electronic ticket change processing module includes a freight rate calculation submodule and an order processing submodule;
[0101] The fare calculation submodule is used to receive the passenger's itinerary information sent by the upstream system, calculate and determine the second fare calculation result and the key-value pair corresponding to the second fare calculation result based on the itinerary information, and send the second fare calculation result and the key corresponding to the second fare calculation result to the order processing submodule.
[0102] The order processing submodule is used to send the second freight rate calculation result and the key corresponding to the second freight rate calculation result to the ticket processing module.
[0103] The ticket processing module is used to generate the second electronic ticket information according to the second fare calculation result, and store the second electronic ticket information and the key corresponding to the second fare calculation result, wherein the second electronic ticket information includes the electronic ticket number.
[0104] As an implementable embodiment, the order processing submodule is further used to send the key corresponding to the second freight rate calculation result to the freight rate calculation parameter storage module.
[0105] The freight rate calculation parameter storage module is used to obtain the key-value pair corresponding to the second freight rate calculation result from the freight rate calculation submodule according to the key corresponding to the second freight rate calculation result, and store the key-value pair corresponding to the second freight rate calculation result.
[0106] As an implementable method, the electronic ticket change request is a ticket change request, the electronic ticket change information is ticket change information, and the electronic ticket change processing module further includes an electronic ticket change processing submodule;
[0107] The electronic ticket change processing module performs change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result, and is specifically configured as follows:
[0108] The electronic ticket change processing submodule sends the key-value pairs corresponding to the ticket change information, the first electronic ticket information and the first fare calculation result to the fare calculation submodule.
[0109] The fare calculation submodule calculates and determines the fare calculation result of the change and the key-value pair corresponding to the fare calculation result of the change based on the change information, the first electronic ticket information and the key-value pair corresponding to the first fare calculation result, and sends the fare calculation result of the change and the key-value pair corresponding to the fare calculation result of the change to the electronic ticket change processing submodule.
[0110] The electronic ticket change processing submodule sends the fare calculation result of the change and the key corresponding to the fare calculation result of the change to the order processing submodule.
[0111] The order processing submodule sends the changed fare calculation result and the key corresponding to the changed fare calculation result to the ticket processing module, so that the ticket processing module generates the changed electronic ticket information according to the changed fare calculation result and updates the first electronic ticket information and the key corresponding to the first fare calculation result.
[0112] The order processing submodule sends the key corresponding to the changed freight rate calculation result to the freight rate calculation parameter storage module, so that the freight rate calculation parameter storage module obtains the key-value pair corresponding to the changed freight rate calculation result from the freight rate calculation submodule according to the key corresponding to the changed freight rate calculation result and updates the key-value pair corresponding to the first freight rate calculation result.
[0113] As an implementable method, the electronic ticket change request is a refund request, the electronic ticket change information is refund information, and the electronic ticket change processing module further includes an electronic ticket change processing submodule;
[0114] The electronic ticket change processing module performs change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result, and is specifically configured as follows:
[0115] The electronic ticket change processing submodule sends the key-value pairs corresponding to the refund information, the first electronic ticket information and the first fare calculation result to the fare calculation submodule.
[0116] The fare calculation submodule calculates and determines the fare calculation result of the refund and the key-value pair corresponding to the fare calculation result of the refund based on the refund information, the first electronic ticket information and the key-value pair corresponding to the first fare calculation result, and sends the fare calculation result of the refund and the key-value pair corresponding to the fare calculation result of the refund to the electronic ticket change processing submodule.
[0117] The electronic ticket change processing submodule sends the refund fare calculation result and the key corresponding to the refund fare calculation result to the order processing submodule.
[0118] The order processing submodule sends the refunded fare calculation result and the key corresponding to the refunded fare calculation result to the ticket processing module, so that the ticket processing module generates the refunded electronic ticket information according to the refunded fare calculation result and updates the first electronic ticket information and the key corresponding to the first fare calculation result.
[0119] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, the first acquisition module may also be described as a "module for acquiring at least two Internet Protocol addresses".
[0120] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0121] Reference Figure 5 , Figure 5 A hardware structure block diagram of a device for changing electronic ticket information provided in an embodiment of the present application, the hardware structure of the device for changing electronic ticket information may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4.
[0122] In the embodiment of the present application, the number of the processor 1 , the communication interface 2 , the memory 3 , and the communication bus 4 is at least one, and the processor 1 , the communication interface 2 , and the memory 3 communicate with each other through the communication bus 4 .
[0123] The processor 1 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0124] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), etc., for example, at least one disk memory.
[0125] The memory stores a program, and the processor can call the program stored in the memory, wherein the program is used to:
[0126] The electronic ticket change processing module receives the passenger's electronic ticket change request sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and electronic ticket change information;
[0127] The electronic ticket change processing module obtains the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtains the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, wherein the value in the key-value pair is all the parameters used to calculate the first fare calculation result;
[0128] The electronic ticket change processing module performs electronic ticket information change processing based on the electronic ticket change information, the first electronic ticket information and the key-value pairs corresponding to the first fare calculation result.
[0129] Optionally, the detailed functions and extended functions of the program may refer to the above description.
[0130] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0131] The electronic ticket change processing module receives the passenger's electronic ticket change request sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and electronic ticket change information;
[0132] The electronic ticket change processing module obtains the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtains the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, wherein the value in the key-value pair is all the parameters used to calculate the first fare calculation result;
[0133] The electronic ticket change processing module performs electronic ticket information change processing based on the electronic ticket change information, the first electronic ticket information and the key-value pairs corresponding to the first fare calculation result.
[0134] Optionally, the detailed functions and extended functions of the program may refer to the above description.
[0135] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0137] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0138] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0139] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0140] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.< / newkey> < / key> < / newkey> < / newkey> < / newkey> < / key> < / newkey> < / key> < / key> < / key>
Claims
1. A method for changing electronic ticket information, characterized in that: A system for changing electronic tickets, the system comprising: an electronic ticket change processing module, a ticket processing module and a fare calculation parameter storage module; The method comprises: The electronic ticket change processing module receives the passenger's electronic ticket change request sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and electronic ticket change information; The electronic ticket change processing module obtains the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtains the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, wherein the value in the key-value pair is all the parameters used to calculate the first fare calculation result; The electronic ticket change processing module performs electronic ticket information change processing based on the electronic ticket change information, the first electronic ticket information and the key-value pairs corresponding to the first fare calculation result.
2. The method for changing electronic ticket information according to claim 1, characterized in that: The electronic ticket change processing module includes a freight rate calculation submodule and an order processing submodule; The method further comprises: The fare calculation submodule receives the itinerary information of the passenger sent by the upstream system, calculates and determines the second fare calculation result and the key-value pair corresponding to the second fare calculation result according to the itinerary information, and sends the second fare calculation result and the key corresponding to the second fare calculation result to the order processing submodule; The order processing submodule sends the second freight rate calculation result and the key corresponding to the second freight rate calculation result to the ticket processing module; The ticket processing module generates second electronic ticket information according to the second fare calculation result, and stores the second electronic ticket information and the key corresponding to the second fare calculation result, wherein the second electronic ticket information includes the electronic ticket number.
3. The method for changing electronic ticket information according to claim 2, characterized in that: The method further comprises: The order processing submodule sends the key corresponding to the second freight rate calculation result to the freight rate calculation parameter storage module; The freight rate calculation parameter storage module obtains a key-value pair corresponding to the second freight rate calculation result from the freight rate calculation submodule according to the key corresponding to the second freight rate calculation result, and stores the key-value pair corresponding to the second freight rate calculation result.
4. The method for changing electronic ticket information according to claim 3, characterized in that: The electronic ticket change request is a ticket change request, the electronic ticket change information is ticket change information, and the electronic ticket change processing module further includes an electronic ticket change processing submodule; The electronic ticket change processing module performs change processing based on the key-value pairs corresponding to the ticket change information, the first electronic ticket information and the first fare calculation result, including: The electronic ticket change processing submodule sends the key-value pairs corresponding to the ticket change information, the first electronic ticket information and the first fare calculation result to the fare calculation submodule; The fare calculation submodule calculates and determines the fare calculation result of the changed ticket and the key-value pair corresponding to the fare calculation result of the changed ticket according to the electronic ticket change information, the first electronic ticket information and the key-value pair corresponding to the first fare calculation result, and sends the fare calculation result of the changed ticket and the key-value pair corresponding to the fare calculation result of the changed ticket to the electronic ticket change processing submodule; The electronic ticket change processing submodule sends the fare calculation result of the ticket change and the key corresponding to the fare calculation result of the ticket change to the order processing submodule; The order processing submodule sends the changed fare calculation result and the key corresponding to the changed fare calculation result to the ticket processing module, so that the ticket processing module generates the changed electronic ticket information according to the changed fare calculation result and updates the first electronic ticket information and the key corresponding to the first fare calculation result; The order processing submodule sends the key corresponding to the changed freight rate calculation result to the freight rate calculation parameter storage module, so that the freight rate calculation parameter storage module obtains the key-value pair corresponding to the changed freight rate calculation result from the freight rate calculation submodule according to the key corresponding to the changed freight rate calculation result and updates the key-value pair corresponding to the first freight rate calculation result.
5. The method for changing electronic ticket information according to claim 3, characterized in that: The electronic ticket change request is a refund request, the electronic ticket change information is refund information, and the electronic ticket change processing module further includes an electronic ticket change processing submodule; The electronic ticket change processing module performs change processing based on the electronic ticket change information, the first electronic ticket information and the key-value pairs corresponding to the first fare calculation result, including: The electronic ticket change processing submodule sends the key-value pairs corresponding to the refund information, the first electronic ticket information and the first fare calculation result to the fare calculation submodule; The fare calculation submodule calculates and determines the fare calculation result of the refund and the key-value pair corresponding to the fare calculation result of the refund according to the refund information, the first electronic ticket information and the key-value pair corresponding to the first fare calculation result, and sends the fare calculation result of the refund and the key-value pair corresponding to the fare calculation result of the refund to the electronic ticket change processing submodule; The electronic ticket change processing submodule sends the refund fare calculation result and the key corresponding to the refund fare calculation result to the order processing submodule; The order processing submodule sends the refunded fare calculation result and the key corresponding to the refunded fare calculation result to the ticket processing module, so that the ticket processing module generates the refunded electronic ticket information according to the refunded fare calculation result and updates the first electronic ticket information and the key corresponding to the first fare calculation result.
6. A system for changing electronic ticket information, characterized in that: include: Electronic ticket change processing module, ticket processing module and freight rate calculation parameter storage module; The electronic ticket change processing module is used to receive the passenger's electronic ticket change request sent by the upstream system, and the electronic ticket change request includes the electronic ticket number and electronic ticket change information; The electronic ticket change processing module is further used to obtain the first electronic ticket information and the key corresponding to the first fare calculation result from the ticket processing module according to the electronic ticket number, and obtain the key-value pair corresponding to the first fare calculation result from the fare calculation parameter storage module according to the key corresponding to the first fare calculation result, wherein the value in the key-value pair is all parameters used to calculate the first fare calculation result; The electronic ticket change processing module is also used to perform electronic ticket information change processing based on the key-value pairs corresponding to the electronic ticket change information, the first electronic ticket information and the first fare calculation result.
7. The electronic ticket information changing system according to claim 6, characterized in that: The electronic ticket change processing module includes a freight rate calculation submodule and an order processing submodule; The fare calculation submodule is used to receive the itinerary information of the passenger sent by the upstream system, calculate and determine the second fare calculation result and the key-value pair corresponding to the second fare calculation result according to the itinerary information, and send the second fare calculation result and the key corresponding to the second fare calculation result to the order processing submodule; The order processing submodule is used to send the second freight rate calculation result and the key corresponding to the second freight rate calculation result to the ticket processing module; The ticket processing module is used to generate second electronic ticket information according to the second fare calculation result, and store the second electronic ticket information and the key corresponding to the second fare calculation result, wherein the second electronic ticket information includes the electronic ticket number.
8. The electronic ticket information changing system according to claim 7, characterized in that: The order processing submodule is further used to send the key corresponding to the second freight rate calculation result to the freight rate calculation parameter storage module; The freight rate calculation parameter storage module is used to obtain the key-value pair corresponding to the second freight rate calculation result from the freight rate calculation submodule according to the key corresponding to the second freight rate calculation result, and store the key-value pair corresponding to the second freight rate calculation result.
9. A device for changing electronic ticket information, characterized in that: including memory and processor; The memory is used to store programs; The processor is used to execute the program to implement the various steps of the method for changing electronic ticket information as described in any one of claims 1 to 6.
10. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the method for changing electronic ticket information as described in any one of claims 1 to 6 is implemented.
