A system and method for calculating the freight rate for refund and change of ticket
By storing and using data identifiers to mark original ticket information in the ticket sales database, it solves the problem of missing or inaccurate information in the calculation of international ticket refunds and changes, and achieves highly accurate and efficient freight price refund and change calculations.
Patent Information
- Application Number
- CN202010617765.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-30
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-06-30
AI Technical Summary
Due to the limitations of ticket information in the calculation of international ticket refunds and changes, some key information is missing or inaccurate, resulting in the original ticket fare being found or incorrectly found, which in turn affects the accuracy and efficiency of refund and change calculations and triggers complaints about cancellations and changes. .
The ticket sales database is used to store the original ticket information of the ticket, and the original ticket information is marked with data identification to quickly and accurately restore the original ticket, provide basic information for refund calculation, optimize the original ticket search logic, enrich the original ticket data, and improve calculation efficiency.
It improves the high accuracy of international freight rate refund and change calculations, reduces refund and change failures and amount calculation errors, and improves the accuracy and efficiency of business processing.
Smart Images

Figure CN111784399B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of international ticket refund and change, and more specifically, to a refund and change fare calculation system and method. Background Art
[0002] With the rapid development of aviation and tourism industries, consumers' demand for refunds and changes is increasing. However, due to the low level of automation in international refunds and changes, many refunds and changes are handled manually, the intermediate links cannot be effectively monitored, and the accuracy of calculations cannot be guaranteed. As a result, complaints about refunds and changes are becoming more and more serious.
[0003] At present, when calculating refunds and changes for international tickets, only the original ticket information is obtained based on the ticket information for refund and change calculations. However, due to the limitations of the ticket information, some key information is missing or inaccurate, so the original ticket fare cannot be found or the original ticket fare is wrong, and the original ticket calculation result cannot be accurately restored. This ultimately leads to many problems, such as the failure of refunds and changes for tickets that can be refunded and changed, refunds and changes for tickets that cannot be refunded and changed, or errors in the calculation of the refund and change amount, etc.
[0004] Typical cases of missing or inaccurate information include the following:
[0005]
[0006] Summary of the invention
[0007] In view of this, in order to solve the above problems, the present invention provides a refund and change fare calculation system and method. The technical solution is as follows:
[0008] A refund and change fare calculation system, the system comprising:
[0009] The business reservation component is used to initiate a fare calculation request for a ticket;
[0010] A fare calculation component in communication with the service reservation component, configured to output a single original fare of the ticket based on the fare calculation request;
[0011] A data identification generation and storage component in communication with the fare calculation component is used to obtain the original ticket information of the single original ticket fare and generate the data identification of the single original ticket fare; store the original ticket information and data identification of the single original ticket fare;
[0012] The original ticket information storage component communicatively connected to the data identifier generation and storage component is used to store the original ticket information and data identifier of the single original ticket fare in the ticket sales database within the component for the ticket; wherein the ticket sales database is the basis or basis for the fare calculation component to perform the refund and change calculation when the business reservation component initiates a refund and change calculation request for the target ticket.
[0013] A method for calculating a refund or change ticket price, the method comprising:
[0014] Initiate a fare calculation request for a ticket;
[0015] Outputting a single original fare of the ticket based on the fare calculation request;
[0016] Acquire the original ticket information of the single original ticket fare, and generate a data identifier of the single original ticket fare;
[0017] Storing the original ticket information and data identification of the single original ticket fare;
[0018] For the ticket, the original ticket information and data identifier of the single original ticket fare are stored in a ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when a refund and change calculation request is initiated for the target ticket.
[0019] The refund and change fare calculation system and method provided by the present invention adopts a method of storing the original ticket information of the passenger ticket in the passenger ticket sales database, and can quickly and accurately restore the original ticket by marking the original ticket information with a data identifier, thereby providing basic information for subsequent refund and change calculations, thereby optimizing the original ticket search logic in the refund and change calculation, enriching the original ticket data, improving the calculation efficiency, and ensuring a high accuracy rate of international fare refund and change calculations. 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 schematic diagram of the structure of a refund and change fare calculation system provided in an embodiment of the present invention;
[0022] Figure 2 An example of an output interface provided by an embodiment of the present invention;
[0023] Figure 3 An example of a request interface provided by an embodiment of the present invention;
[0024] Figure 4An example of a display page provided by an embodiment of the present invention;
[0025] Figure 5 Another output interface example provided by an embodiment of the present invention;
[0026] Figure 6 Another request interface example provided by an embodiment of the present invention;
[0027] Figure 7 Another display page example provided by an embodiment of the present invention;
[0028] Figure 8 Another request interface example provided for an embodiment of the present invention;
[0029] Fig. 9 Another output interface example provided by an embodiment of the present invention;
[0030] Fig.10 Another request interface example provided for an embodiment of the present invention;
[0031] Fig.11 A flow chart of a method for calculating a refund or change ticket price provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0034] 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.
[0035] 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.
[0036] 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.
[0037] 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".
[0038] The present invention provides a system for calculating the refund and change fare. The schematic diagram of the system is shown in FIG. Figure 1 As shown, including:
[0039] The service reservation component 10 is used to initiate a fare calculation request for a passenger ticket.
[0040] In the embodiment of the present invention, the service reservation component 10 includes two forms: a host and a web page, and the formats of the freight rate calculation requests sent by them are also different.
[0041] The fare calculation component 20, which is in communication with the service reservation component 10, is used to output a single original fare of the passenger ticket based on the fare calculation request.
[0042] In the embodiment of the present invention, when the service reservation component 10 initiates a first fare calculation request for a passenger ticket in the form of a host, the fare calculation component 20 can output one or more original ticket fares based on the first fare calculation request.
[0043] When there is only one original fare, the fare calculation component 20 directly outputs the original fare as a single original fare.
[0044] In the case where there are multiple original fares, the fare calculation component 20 feeds the original fares back to the business reservation component 10, which displays them to the user, thereby interacting with the user through the business reservation component 10; in response to the selection operation of the business reservation component 10, a single original fare is determined from the multiple original fares and output.
[0045] In the process where the fare calculation component 20 responds to the selection operation of the service reservation component 10 and determines a single original fare from multiple original fares, since the service reservation component 10 displays part of the original fare information of the original fare to the user, the service reservation component 10 receives the user's selection and sends a preliminarily designated original fare to the fare calculation component 20 to query the relatively detailed original fare information of the original fare, thereby finally determining an original fare as the single original fare to be stored.
[0046] See also Figure 2 The output interface example shown is a result interface in which the fare calculation component 20 returns multiple original ticket fares when the service reservation component 10 initiates a first fare calculation request for a ticket in the form of a host.
[0047] See also Figure 3 The request interface example shown is a request interface for initiating a request to the fare calculation component when the service reservation component 10 receives a user's selection to use a certain original fare as a single original fare to be stored.
[0048] See also Figure 4 In the example of the display page shown, when it is in the host form, the fare calculation component 20 displays a page of a single original fare and a data identifier of a single original fare to the user, that is, a black screen format page with remarkID. The data identifier of the single original fare (i.e., remarkID) is generated by the data identifier generation and storage component 30 and returned to the fare calculation component 20.
[0049] Continue to see Figure 4 When it is also in the host form, when the fare calculation component 20 outputs an original ticket fare as a single original ticket fare, the fare calculation component 20 directly displays a black screen format page with remarkID to the user.
[0050] In addition, when the service reservation component 10 initiates a second fare calculation request for a passenger ticket in the form of a web page, the fare calculation component 20 can output one or more original ticket fares based on the second fare calculation request.
[0051] Different from the host form, when the fare calculation component 20 responds to the fare calculation request in the form of a web page, no matter it outputs one or more original fares, it needs to feed back the original fares to the business reservation component 10, which displays them to the user, thereby interacting with the user through the business reservation component 10; in response to the selection operation of the business reservation component 10, a single original fare is determined from one or more original fares and output.
[0052] In the process where the fare calculation component 20 responds to the selection operation of the service reservation component 10 and determines a single original fare from one or more original fares, since the service reservation component 10 displays part of the original fare information of the original fare to the user, the service reservation component 10 receives the user's selection and sends a preliminarily designated original fare to the fare calculation component 20 to query the relatively detailed original fare information of the original fare, thereby finally determining an original fare as the single original fare to be stored.
[0053] See also Figure 5 The output interface example shown is a result interface containing multiple original ticket fares returned by the fare calculation component 20 when the service reservation component 10 initiates a second fare calculation request for a ticket in the form of a web page. The interface contains a fare calculation task identifier representing the web page form, namely taskID.
[0054] See also Figure 6 The request interface example shown is a request interface for the service reservation component 10 to initiate a request to the fare calculation component 20 when receiving the user's selection to use a certain original fare as the single original fare to be stored. The interface also includes taskID.
[0055] See also Figure 7 The displayed page shown is in the form of a web page, and the fare calculation component 20 displays a single original fare and a single original fare data identifier page to the user, that is, a black screen format page with remarkID. The single original fare data identifier (i.e., remarkID) is generated by the data identifier generation and storage component 30 and returned to the fare calculation component 20.
[0056] The data identification generation and storage component 30, which is in communication with the fare calculation component 20, is used to obtain the original ticket information of a single original ticket fare, generate the data identification of the single original ticket fare, and store the original ticket information and data identification of the single original ticket fare.
[0057] In the embodiment of the present invention, since the current user is in the stage of booking tickets, the original ticket information obtained at this time must be complete. Specifically, the data identifier generation and storage component 30 extracts the original ticket information related to the single original ticket fare from the fare calculation component 20, and then uses a specified algorithm to calculate the original ticket information related to the single original ticket fare to obtain a data identifier that can uniquely represent the single original ticket fare.
[0058] On the one hand, the data identifier generation and storage component 30 returns the data identifier of the single original ticket fare to the fare calculation component 20, and the fare calculation component 20 displays a black screen format page with remarkID to the user; on the other hand, the original ticket information and data identifier of the single original ticket fare are temporarily stored in its own storage space.
[0059] The original ticket information storage component 40, which is in communication with the data identifier generation and storage component 30, is used to store the original ticket information and data identifier of a single original ticket fare in the ticket sales database within the component for the passenger ticket; wherein the passenger ticket sales database is the basis or basis for the fare calculation component 20 to perform the refund and change calculation when the business reservation component 10 initiates a refund and change calculation request for the target passenger ticket.
[0060] In the embodiment of the present invention, the original ticket information storage component 40 can obtain the original ticket information and data identification of a single original ticket fare by calling the output interface of the data identification generation and storage component 30. In addition, the original ticket information and data identification corresponding to the ticket can be stored in the ticket sales database for a long time, and the corresponding original ticket information can be indexed and located through the data identification.
[0061] See also Figure 8 The request interface example shown is a request interface for the original ticket information storage component 40 to request the original ticket information of a single original ticket fare from the data identifier generation and storage component 30. The interface contains the data identifier of the single original ticket fare (ie remarkID).
[0062] See also Fig. 9 The output interface example shown is a result interface in which the data identifier generation and storage component 30 returns the original ticket information to the original ticket information storage component 40 .
[0063] In some embodiments, the components in the refund and change fare calculation system can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
[0064] When the service reservation component 10 initiates a refund and change calculation request for the target ticket, the original ticket information storage component 40 can obtain the order information, parameter information, fare screening information and flight cancellation information of the target ticket by parsing the refund and change calculation request, and then generate a reprice request based on the original ticket information of the target ticket, and send the reprice request to the fare calculation component 20, which performs the refund and change calculation based on the embedded refund and change rules. Fig.10 The request interface example shown is a request interface for the original ticket information storage component 40 to generate a reprice request.
[0065] In some other embodiments, in order to improve the accuracy of refund and change calculation, the refund and change fare calculation system further includes:
[0066] A dynamic strategy component is used to receive the original ticket information and initial original ticket information of the target ticket sent by the original ticket information storage component 40; wherein, the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when the original ticket information storage component 40 receives the refund and change calculation request initiated by the business reservation component 10, and the initial original ticket information of the target ticket is obtained by the original ticket information storage component 40 by matching the ticket number of the target ticket; based on the original ticket information of the target ticket, the missing information of the initial original ticket information of the target ticket is replaced; wherein the replaced initial original ticket information of the target ticket is the basis or basis for the fare calculation component 20 to perform the refund and change calculation.
[0067] In an embodiment of the present invention, the ticket number and data identifier of the target ticket can be pre-associated. Therefore, when the original ticket information storage component 40 obtains the original ticket information of the target ticket from the ticket sales database, it can locate the data identifier through the ticket number index, and then locate the original ticket information of the target ticket based on the data identifier index.
[0068] In the process of replacing the missing information of the original ticket information of the target ticket, the original ticket information of the target ticket can be used as a reference to determine the missing information in the original ticket information of the target ticket, and then the dynamic strategy component replaces it based on the embedded missing information replacement strategy. At this time, the reprice request generated by the replaced original ticket information of the target ticket will be more accurate, and accordingly, the refund and change calculation result of the fare calculation component 20 will also be more accurate.
[0069] Table 1 below shows some replacement strategies:
[0070]
[0071]
[0072] To further modify the reprice request, the dynamic policy component is also used to:
[0073] Obtain personalized configuration information of the target ticket; wherein, the personalized configuration information of the target ticket is the basis or basis for the fare calculation component 20 to perform the refund and change calculation.
[0074] In the embodiment of the present invention, according to the personalized needs of the airline, the following configuration information can be used for different functions:
[0075] Refund YQYR: Some airlines require that if at least one FC in the itinerary is non-refundable, the YQYR tax for the entire itinerary is non-refundable. To clarify this requirement, a maintainable airline configuration table is established in the TRR server so that the refundYqyr parameter value can be correctly set in the request.
[0076] repriceOverrides-refundYqyr: If the airline in the configuration table requires this function (RefundYQYR = Y), the value is NO_REFUND. If the airline in the configuration table does not require this function (Refund YQYR = N), the value is STANDARD_PROCESSING. If wrongReprice = true, the value is STANDARD_PROCESSING.
[0077] NOSHOW: Some airlines require that the time of flight cancellation be used to determine whether a passenger is NOSHOW. To clarify this requirement, a maintainable airline configuration table is established in the TRR server so that the noShowProcessing parameter value can be correctly set in the request.
[0078] preferences-noShowProcessing: If the airline indicates in the configuration table that the time of flight cancellation is used to determine whether the passenger is NOSHOW (NOSHOW=Y), the value is CANCEL_DATES_LATEST. Otherwise (NOSHOW=N), the value is TRANSACTION_DATE.
[0079] The refund and change fare calculation system provided by the present invention adopts a method of storing original ticket information of passenger tickets in a passenger ticket sales database, and can quickly and accurately restore the original ticket by marking the original ticket information with a data identifier, thereby providing basic information for subsequent refund and change calculations, thereby optimizing the original ticket search logic in refund and change calculations, enriching the original ticket data, improving calculation efficiency, and ensuring a high accuracy rate in international fare refund and change calculations.
[0080] Based on the refund and change fare calculation system provided in the above embodiment, the present invention provides a refund and change fare calculation method. The method flow chart of the method is as follows: Fig.11 As shown, the following steps are included:
[0081] S10, initiating a fare calculation request for a ticket;
[0082] S20, outputting a single original ticket fare of the ticket based on the fare calculation request;
[0083] S30, obtaining original ticket information of a single original ticket fare, and generating a data identifier of the single original ticket fare;
[0084] S40, storing the original ticket information and data identification of a single original ticket fare;
[0085] S50, for the ticket, the original ticket information and data identifier of the single original ticket fare are stored in the ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when initiating a refund and change calculation request for the target ticket.
[0086] Optionally, step S10 "initiating a fare calculation request for a target ticket" includes:
[0087] Initiate the first fare calculation request for the ticket in the form of a host;
[0088] Accordingly, step S20 "outputting a single original ticket fare based on the fare calculation request" includes:
[0089] Outputting the original ticket fare based on the first fare calculation request;
[0090] When the original fare is one, the original fare is output as a single original fare, and a data identifier of the single original fare is output at the same time;
[0091] When there are multiple original fares, in response to the selection operation, a single original fares is determined from the original fares and output.
[0092] Optionally, step S10 "initiating a fare calculation request for a target ticket" includes:
[0093] Initiate a second fare calculation request for a ticket in the form of a web page;
[0094] Accordingly, step S20 "outputting a single original ticket fare based on the fare calculation request" includes:
[0095] Outputting the original fare based on the second fare request;
[0096] In response to the selection operation, a single original ticket fare is determined from the original ticket fares and output.
[0097] Optionally, the above method further includes:
[0098] Obtain the original ticket information and initial original ticket information of the target ticket; wherein the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when receiving the refund and change calculation request, and the initial original ticket information of the target ticket is obtained by matching the ticket number of the target ticket;
[0099] The missing information of the target ticket's initial original ticket information is replaced based on the target ticket's original ticket information; wherein the replaced initial original ticket information of the target ticket is the basis or basis for executing the refund and change calculation.
[0100] Optionally, the above method further includes:
[0101] Obtain the personalized configuration information of the target ticket; wherein the personalized configuration information of the target ticket is the basis or basis for executing the refund and change calculation.
[0102] The refund and change fare calculation method provided by the present invention adopts a method of storing original ticket information of passenger tickets in a passenger ticket sales database, and can quickly and accurately restore the original ticket by marking the original ticket information with a data identifier, thereby providing basic information for subsequent refund and change calculations, thereby optimizing the original ticket search logic in refund and change calculations, enriching the original ticket data, improving calculation efficiency, and ensuring a high accuracy rate in international fare refund and change calculations.
[0103] 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.
[0104] The names of messages or information exchanged between multiple components in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0105] 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.
[0106] 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.
[0107] 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., through the Internet using an Internet service provider).
[0108] The present invention also provides a computer storage medium on which computer instructions are stored. When the computer instructions are executed, the steps of the refund and change freight rate calculation method as described above are executed.
[0109] 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 equipment, 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.
[0110] It should be noted that the computer-readable medium disclosed above 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 may 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, in which a computer-readable program code is carried. 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. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, 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 suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0111] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0112] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 606, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0113] According to one or more embodiments disclosed in the present invention, the present invention provides a system for calculating refund and change fares, the system comprising:
[0114] The business reservation component is used to initiate a fare calculation request for a ticket;
[0115] A fare calculation component in communication with the service reservation component, configured to output a single original fare of the ticket based on the fare calculation request;
[0116] A data identification generation and storage component in communication with the fare calculation component is used to obtain the original ticket information of the single original ticket fare and generate the data identification of the single original ticket fare; store the original ticket information and data identification of the single original ticket fare;
[0117] The original ticket information storage component communicatively connected to the data identifier generation and storage component is used to store the original ticket information and data identifier of the single original ticket fare in the ticket sales database within the component for the ticket; wherein the ticket sales database is the basis or basis for the fare calculation component to perform the refund and change calculation when the business reservation component initiates a refund and change calculation request for the target ticket.
[0118] The present invention provides another refund and change fare calculation system, the system comprising:
[0119] The business reservation component is used to initiate a fare calculation request for a ticket;
[0120] A fare calculation component in communication with the service reservation component, configured to output a single original fare of the ticket based on the fare calculation request;
[0121] A data identification generation and storage component in communication with the fare calculation component is used to obtain the original ticket information of the single original ticket fare and generate the data identification of the single original ticket fare; store the original ticket information and data identification of the single original ticket fare;
[0122] The original ticket information storage component is communicatively connected to the data identifier generation and storage component, and is used to store the original ticket information and data identifier of the single original ticket fare into the ticket sales database in the component for the passenger ticket; wherein the ticket sales database is the basis or basis for the fare calculation component to perform the refund and change calculation when the service reservation component initiates a refund and change calculation request for the target passenger ticket;
[0123] The service reservation component is specifically used for:
[0124] Initiating a first fare calculation request for the ticket in the form of a host;
[0125] The freight rate calculation component is specifically used for:
[0126] The original fare is output based on the first fare calculation request; when the original fare is one, the original fare is output as a single original fare, and the data identifier of the single original fare is output at the same time; when the original fare is multiple, the original fare is fed back to the business reservation component; in response to the selection operation of the business reservation component, a single original fare is determined from the original fare and output.
[0127] The present invention provides another refund and change freight rate calculation system, the system comprising:
[0128] The business reservation component is used to initiate a fare calculation request for a ticket;
[0129] A fare calculation component in communication with the service reservation component, configured to output a single original fare of the ticket based on the fare calculation request;
[0130] A data identification generation and storage component in communication with the fare calculation component is used to obtain the original ticket information of the single original ticket fare and generate the data identification of the single original ticket fare; store the original ticket information and data identification of the single original ticket fare;
[0131] The original ticket information storage component is communicatively connected to the data identifier generation and storage component, and is used to store the original ticket information and data identifier of the single original ticket fare into the ticket sales database in the component for the passenger ticket; wherein the ticket sales database is the basis or basis for the fare calculation component to perform the refund and change calculation when the service reservation component initiates a refund and change calculation request for the target passenger ticket;
[0132] The service reservation component is specifically used for:
[0133] Initiating a second fare calculation request for the ticket in the form of a web page;
[0134] The freight rate calculation component is specifically used for:
[0135] Output the original fare based on the second fare request; feed back the original fare to the service reservation component; in response to the selection operation of the service reservation component, determine and output a single original fare from the original fare.
[0136] The present invention provides another refund and change freight rate calculation system, the system comprising:
[0137] The business reservation component is used to initiate a fare calculation request for a ticket;
[0138] A fare calculation component in communication with the service reservation component, configured to output a single original fare of the ticket based on the fare calculation request;
[0139] A data identification generation and storage component in communication with the fare calculation component is used to obtain the original ticket information of the single original ticket fare and generate the data identification of the single original ticket fare; store the original ticket information and data identification of the single original ticket fare;
[0140] The original ticket information storage component is communicatively connected to the data identifier generation and storage component, and is used to store the original ticket information and data identifier of the single original ticket fare into the ticket sales database in the component for the passenger ticket; wherein the ticket sales database is the basis or basis for the fare calculation component to perform the refund and change calculation when the service reservation component initiates a refund and change calculation request for the target passenger ticket;
[0141] A dynamic strategy component is used to receive the original ticket information and initial original ticket information of the target ticket sent by the original ticket information storage component; wherein, the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when the original ticket information storage component receives the refund and change calculation request initiated by the business reservation component, and the initial original ticket information of the target ticket is obtained by the original ticket information storage component by matching the ticket number of the target ticket; based on the original ticket information of the target ticket, the initial original ticket information of the target ticket is replaced with missing information; wherein the replaced initial original ticket information of the target ticket is the basis or basis for the fare calculation component to perform refund and change calculation.
[0142] The present invention provides another refund and change freight rate calculation system, the system comprising:
[0143] The business reservation component is used to initiate a fare calculation request for a ticket;
[0144] A fare calculation component in communication with the service reservation component, configured to output a single original fare of the ticket based on the fare calculation request;
[0145] A data identification generation and storage component in communication with the fare calculation component is used to obtain the original ticket information of the single original ticket fare and generate the data identification of the single original ticket fare; store the original ticket information and data identification of the single original ticket fare;
[0146] The original ticket information storage component is communicatively connected to the data identifier generation and storage component, and is used to store the original ticket information and data identifier of the single original ticket fare into the ticket sales database in the component for the passenger ticket; wherein the ticket sales database is the basis or basis for the fare calculation component to perform the refund and change calculation when the service reservation component initiates a refund and change calculation request for the target passenger ticket;
[0147] A dynamic strategy component is used to receive the original ticket information and initial original ticket information of the target ticket sent by the original ticket information storage component; wherein the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when the original ticket information storage component receives the refund and change calculation request initiated by the service reservation component, and the initial original ticket information of the target ticket is obtained by the original ticket information storage component by matching the ticket number of the target ticket; based on the original ticket information of the target ticket, the missing information of the initial original ticket information of the target ticket is replaced; wherein the replaced initial original ticket information of the target ticket is the basis or basis for the fare calculation component to perform the refund and change calculation;
[0148] The dynamic strategy component is also used to:
[0149] Obtain personalized configuration information of the target ticket; wherein, the personalized configuration information of the target ticket is the basis or basis for the fare calculation component to perform refund and change calculation.
[0150] According to one or more embodiments disclosed in the present invention, the present invention provides a method for calculating a refund or change fare, the method comprising:
[0151] Initiate a fare calculation request for a ticket;
[0152] Outputting a single original fare of the ticket based on the fare calculation request;
[0153] Acquire the original ticket information of the single original ticket fare, and generate a data identifier of the single original ticket fare;
[0154] Storing the original ticket information and data identification of the single original ticket fare;
[0155] For the ticket, the original ticket information and data identifier of the single original ticket fare are stored in a ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when a refund and change calculation request is initiated for the target ticket.
[0156] The present invention provides another method for calculating the refund and change fare, the method comprising:
[0157] Initiate a fare calculation request for a ticket;
[0158] Outputting a single original fare of the ticket based on the fare calculation request;
[0159] Acquire the original ticket information of the single original ticket fare, and generate a data identifier of the single original ticket fare;
[0160] Storing the original ticket information and data identification of the single original ticket fare;
[0161] For the ticket, the original ticket information and data identifier of the single original ticket fare are stored in a ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when a refund and change calculation request is initiated for the target ticket;
[0162] The initiation of a fare calculation request for a ticket includes:
[0163] Initiating a first fare calculation request for the ticket in the form of a host;
[0164] The outputting a single original ticket fare of the ticket based on the fare calculation request includes:
[0165] Outputting the original fare based on the first fare calculation request;
[0166] When the original fare is one, the original fare is output as a single original fare, and a data identifier of the single original fare is output simultaneously;
[0167] In the case where there are multiple original fares, in response to a selection operation, a single original fare is determined from among the original fares and output.
[0168] The present invention provides another method for calculating the refund and change fare, the method comprising:
[0169] Initiate a fare calculation request for a ticket;
[0170] Outputting a single original fare of the ticket based on the fare calculation request;
[0171] Acquire the original ticket information of the single original ticket fare, and generate a data identifier of the single original ticket fare;
[0172] Storing the original ticket information and data identification of the single original ticket fare;
[0173] For the ticket, the original ticket information and data identifier of the single original ticket fare are stored in a ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when a refund and change calculation request is initiated for the target ticket;
[0174] The initiation of a fare calculation request for a ticket includes:
[0175] Initiating a second fare calculation request for the ticket in the form of a web page;
[0176] The outputting a single original ticket fare of the ticket based on the fare calculation request includes:
[0177] Outputting the original fare based on the second fare request;
[0178] In response to the selection operation, a single original fare is determined from the original fare and output.
[0179] The present invention provides another method for calculating the refund and change fare, the method comprising:
[0180] Initiate a fare calculation request for a ticket;
[0181] Outputting a single original fare of the ticket based on the fare calculation request;
[0182] Acquire the original ticket information of the single original ticket fare, and generate a data identifier of the single original ticket fare;
[0183] Storing the original ticket information and data identification of the single original ticket fare;
[0184] For the ticket, the original ticket information and data identifier of the single original ticket fare are stored in a ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when a refund and change calculation request is initiated for the target ticket;
[0185] Acquire the original ticket information and initial original ticket information of the target ticket; wherein the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when receiving the refund and change calculation request, and the initial original ticket information of the target ticket is obtained by matching the ticket number of the target ticket;
[0186] Based on the original ticket information of the target ticket, the missing information of the initial original ticket information of the target ticket is replaced; wherein, the replaced initial original ticket information of the target ticket is the basis or basis for performing the refund and change calculation.
[0187] The present invention provides another method for calculating the refund and change fare, the method comprising:
[0188] Initiate a fare calculation request for a ticket;
[0189] Outputting a single original fare of the ticket based on the fare calculation request;
[0190] Acquire the original ticket information of the single original ticket fare, and generate a data identifier of the single original ticket fare;
[0191] Storing the original ticket information and data identification of the single original ticket fare;
[0192] For the ticket, the original ticket information and data identifier of the single original ticket fare are stored in a ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when a refund and change calculation request is initiated for the target ticket;
[0193] Acquire the original ticket information and initial original ticket information of the target ticket; wherein the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when receiving the refund and change calculation request, and the initial original ticket information of the target ticket is obtained by matching the ticket number of the target ticket;
[0194] Based on the original ticket information of the target ticket, the missing information of the original ticket information of the target ticket is replaced; wherein the replaced original ticket information of the target ticket is the basis or basis for performing the refund and change calculation;
[0195] Obtain personalized configuration information of the target ticket; wherein, the personalized configuration information of the target ticket is the basis or basis for performing refund and change calculations.
[0196] 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.
[0197] 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.
[0198] 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.
Claims
1. A system for calculating the freight rate for ticket refund or change, characterized in that: The system comprises: The business reservation component is used to initiate a fare calculation request for a ticket; A fare calculation component in communication with the service reservation component, configured to output a single original fare of the ticket based on the fare calculation request; A data identification generation and storage component in communication with the fare calculation component is used to obtain the original ticket information of the single original ticket fare and generate the data identification of the single original ticket fare; store the original ticket information and data identification of the single original ticket fare; The original ticket information storage component is communicatively connected to the data identifier generation and storage component, and is used to store the original ticket information and data identifier of the single original ticket fare into the ticket sales database in the component for the passenger ticket; wherein the ticket sales database is the basis or basis for the fare calculation component to perform the refund and change calculation when the service reservation component initiates a refund and change calculation request for the target passenger ticket; The system further comprises: A dynamic strategy component, used for receiving the original ticket information and initial original ticket information of the target ticket sent by the original ticket information storage component; wherein the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when the original ticket information storage component receives the refund and change calculation request initiated by the service reservation component, and the initial original ticket information of the target ticket is obtained by the original ticket information storage component by matching the ticket number of the target ticket; based on the embedded missing information replacement strategy and the original ticket information of the target ticket, the initial original ticket information of the target ticket is replaced with missing information; wherein the replaced initial original ticket information of the target ticket is the basis or basis for the fare calculation component to perform refund and change calculation; The missing information replacement strategy at least includes: In the case where the missing information is new Itinerary, the replacement strategy is: when the segment "repriceStatus" = KEEP or FLOWN and the flight has not been rescheduled, the flight information is replaced with the information in the original fare; When the missing information is the data library, the replacement strategy is to copy the data library information in the original freight rate and then make the following changes: Remove the dataLibrary / flights / repriceStatus field; For dataLibrary / flights, if the flight has been rescheduled, flights / id uses the new data, and other fields use the data in the original Reprice request; For dataLibrary / ticketMasks / coupons, if the flight has been rescheduled, the depAirport, arrAirport, status, stopover, carrier, flightNo, rbd, depDate, depTime, nvb, and nva fields use the data in the original Reprice request, and the other fields use the data in the original fare. For dataLibrary / passengers / currencyOfPayment, use the data in the original Reprice request; When the missing information is canceled Elements, the replacement strategy is to keep the serial number in canceledElements / flights / flightId consistent with the updated dataLibrary / flights / id; For the case where the missing information is changed Passengers, the replacement strategy is: when there is a changed Passengers node in the original Reprice request, directly replace it with the dataLibrary / passengers information in the original fare, and then use the data in the original Reprice request in updatedPassengerInfo / id, firstName, ptcs / dateOfBirth / accompaniedBy when the passenger type changes, currencyOfPayment when the payment currency changes, and Waiver nodes when the exemption type changes; When the missing information is repric Filters, the replacement strategy is: the serial number in repric Filters / fare / coveredFlights is consistent with the updated newItinerary / flights / id; When the missing information is repriceOverrides, the replacement strategy is: repriceOverrides / oldCommission / passengerIds is consistent with the updated dataLibrary / passengers / id; When the missing information is Order, the replacement strategy is: replace it with all the information under the itineraryOffers node, and keep the two nodes of Id and passengers / itineraryPricing / ticketingInfos / ticketNumber.
2. The system according to claim 1, characterized in that The service reservation component is specifically used for: Initiating a first fare calculation request for the ticket in the form of a host; The freight rate calculation component is specifically used for: Outputting the original fare based on the first fare calculation request; if there is only one original fare, outputting the original fare as a single original fare, and outputting a data identifier of the single original fare; In the case that there are multiple original fares, the original fares are fed back to the service reservation component; in response to the selection operation of the service reservation component, a single original fares is determined from the original fares and output.
3. The system according to claim 1, characterized in that The service reservation component is specifically used for: Initiating a second fare calculation request for the ticket in the form of a web page; The freight rate calculation component is specifically used for: Output the original fare based on the second fare request; feed back the original fare to the service reservation component; in response to the selection operation of the service reservation component, determine and output a single original fare from the original fare.
4. The system according to claim 1, characterized in that The dynamic strategy component is also used to: Obtain personalized configuration information of the target ticket; wherein, the personalized configuration information of the target ticket is the basis or basis for the fare calculation component to perform refund and change calculation.
5. A method for calculating the freight rate for ticket refund or change, characterized in that: The method comprises: Initiate a fare calculation request for a ticket; Outputting a single original fare of the ticket based on the fare calculation request; Acquire the original ticket information of the single original ticket fare, and generate a data identifier of the single original ticket fare; Storing the original ticket information and data identification of the single original ticket fare; For the ticket, the original ticket information and data identifier of the single original ticket fare are stored in a ticket sales database; wherein the ticket sales database is the basis or basis for executing the refund and change calculation when a refund and change calculation request is initiated for the target ticket; The method further comprises: Acquire the original ticket information and initial original ticket information of the target ticket; wherein the original ticket information of the target ticket is obtained by matching the data identifier from the ticket sales database when receiving the refund and change calculation request, and the initial original ticket information of the target ticket is obtained by matching the ticket number of the target ticket; Based on the embedded missing information replacement strategy and the original ticket information of the target ticket, the missing information of the original ticket of the target ticket is replaced; wherein the replaced original ticket information of the target ticket is the basis or basis for performing the refund and change calculation; The missing information replacement strategy at least includes: In the case where the missing information is new Itinerary, the replacement strategy is: when the segment "repriceStatus" = KEEP or FLOWN and the flight has not been rescheduled, the flight information is replaced with the information in the original fare; When the missing information is the data library, the replacement strategy is to copy the data library information in the original freight rate and then make the following changes: Remove the dataLibrary / flights / repriceStatus field; For dataLibrary / flights, if the flight has been rescheduled, flights / id uses the new data, and other fields use the data in the original Reprice request; For dataLibrary / ticketMasks / coupons, if the flight has been rescheduled, the depAirport, arrAirport, status, stopover, carrier, flightNo, rbd, depDate, depTime, nvb, and nva fields use the data in the original Reprice request, and the other fields use the data in the original fare. For dataLibrary / passengers / currencyOfPayment, use the data in the original Reprice request; When the missing information is canceled Elements, the replacement strategy is to keep the serial number in canceledElements / flights / flightId consistent with the updated dataLibrary / flights / id; For the case where the missing information is changed Passengers, the replacement strategy is: when there is a changed Passengers node in the original Reprice request, directly replace it with the dataLibrary / passengers information in the original fare, and then use the data in the original Reprice request in updatedPassengerInfo / id, firstName, ptcs / dateOfBirth / accompaniedBy when the passenger type changes, currencyOfPayment when the payment currency changes, and Waiver nodes when the exemption type changes; When the missing information is repric Filters, the replacement strategy is: the serial number in repricFilters / fare / coveredFlights is consistent with the updated newItinerary / flights / id; When the missing information is repriceOverrides, the replacement strategy is: repriceOverrides / oldCommission / passengerIds is consistent with the updated dataLibrary / passengers / id; When the missing information is Order, the replacement strategy is: replace it with all the information under the itineraryOffers node, and keep the two nodes of Id and passengers / itineraryPricing / ticketingInfos / ticketNumber.
6. The method according to claim 5, characterized in that The initiating of a fare calculation request for a ticket includes: Initiating a first fare calculation request for the ticket in the form of a host; The outputting a single original ticket fare of the ticket based on the fare calculation request includes: Outputting the original fare based on the first fare calculation request; When the original fare is one, the original fare is output as a single original fare, and a data identifier of the single original fare is output simultaneously; In the case where there are multiple original fares, in response to a selection operation, a single original fare is determined from among the original fares and output.
7. The method according to claim 5, characterized in that The initiating of a fare calculation request for a ticket includes: Initiating a second fare calculation request for the ticket in the form of a web page; The outputting a single original ticket fare of the ticket based on the fare calculation request includes: Outputting the original fare based on the second fare request; In response to the selection operation, a single original fare is determined from the original fare and output.
8. The method according to claim 5, characterized in that The method further comprises: Obtain the personalized configuration information of the target ticket; wherein the personalized configuration information of the target ticket is the basis or basis for performing refund and change calculations.
