Electronic ticket traceability processing method and related apparatus
By tracing the sales status and record information of electronic tickets and generating traceability information, the problem of inability to accurately calculate the refund and change fees when refunding or changing electronic tickets is solved, and accurate freight rate calculation is achieved.
Patent Information
- Application Number
- PCT/CN2024/136145
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-20
- Filing Date
- 2024-12-02
- Publication Date
- 2025-09-25
AI Technical Summary
Existing technology cannot trace the information of the original electronic ticket when an electronic ticket is refunded or changed, resulting in the inability to accurately calculate the refund and change fees, especially when a passenger upgrades and then reissues the ticket.
The invention provides an electronic ticket traceability processing method. By obtaining the sales status of the target electronic ticket, if it is in the exchange and issuance status, the sales records are traced back to generate traceability information to meet the refund calculation requirements in complex scenarios.
It enables accurate tracing of the original electronic ticket when the electronic ticket is refunded or changed, provides accurate fare calculation services, and meets the needs of electronic ticket changes and refunds in various complex scenarios.
Smart Images

Figure CN2024136145_25092025_PF_FP_ABST
Abstract
Description
An electronic ticket tracing processing method and related device Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to an electronic ticket traceability processing method and related devices. Background Art
[0002] Currently, e-ticket cancellation and change fees are calculated based on the current e-ticket cancellation and change policies. When airlines offer special fares, cancellation and change fees are often quite strict, such as non-refundable tickets or high cancellation fees. To avoid losses from a cancellation, some agents or passengers often upgrade to a higher cabin class, exchange it for a new e-ticket, and then request a refund. In these cases, the original e-ticket must be traced back for a refund, and the cancellation and change policy of the original e-ticket must be used to calculate the cancellation and change price.
[0003] However, currently, e-ticket data is generated and provided by various passenger service systems. Once an e-ticket is issued, the passenger service system no longer provides e-ticket query services. As a result, the distribution system is unable to obtain the original e-ticket information when processing a refund, and is unable to meet the airline's needs to trace the original e-ticket to calculate the refund and change fees. Summary of the Invention
[0004] In view of this, the present application provides an electronic ticket tracing processing method and related devices to meet the needs of tracing the original electronic ticket when calculating electronic ticket changes and refunds in various complex scenarios, and provide customers with accurate fare calculation services.
[0005] In order to achieve the above application objectives, the specific technical solutions provided in this application are as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for tracing the origin of an electronic ticket, comprising:
[0007] In response to an electronic ticket refund or change instruction, obtaining the sales status of the target electronic ticket;
[0008] If the sales status of the target electronic ticket is an exchange and issuance status, obtaining the record information of the electronic ticket before the exchange of the target electronic ticket;
[0009] determining the sales status of the electronic ticket before the target electronic ticket is exchanged based on the record information of the electronic ticket before the target electronic ticket is exchanged;
[0010] If the sales status of the target electronic ticket before the exchange is in the exchange-issued state, the target electronic ticket before the exchange is determined as the target electronic ticket, and the process returns to the step of obtaining the record information of the target electronic ticket before the exchange.
[0011] If the sales status of the electronic ticket before the exchange of the target electronic ticket is the issued status, it is determined that the electronic ticket record at the time of the first sale has been traced back, and the tracing is terminated;
[0012] The traceability information of the target electronic ticket is generated based on the record information of the target electronic ticket and the record information of previous sales of the target electronic ticket.
[0013] In a second aspect, an embodiment of the present application provides an electronic ticket traceability processing device, comprising:
[0014] The sales processing module is used to obtain the sales status of the target electronic ticket in response to the electronic ticket refund and change instruction; if the sales status of the target electronic ticket is the exchange and issuance status, trigger the tracing processing module;
[0015] The traceability processing module is used to obtain the record information of the electronic ticket before the exchange of the target electronic ticket; determine the sales status of the electronic ticket before the exchange of the target electronic ticket based on the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the exchange and issuance status, determine the electronic ticket before the exchange of the target electronic ticket as the target electronic ticket, and return to execute the step of obtaining the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the issuance status, determine that the electronic ticket record at the time of the first sale has been traced back, and end the tracing; generate the traceability information of the target electronic ticket based on the record information of the target electronic ticket and the record information of all previous sales of the target electronic ticket that have been traced back.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device including a processor and a memory;
[0017] The memory is used to store program code and transmit the program code to the processor;
[0018] The processor is used to execute an electronic ticket tracing processing method as described in any one of the implementation methods of the first aspect according to the instructions in the program code.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, an electronic ticket tracing processing method as described in any one of the implementation methods in the first aspect is implemented.
[0020] Compared with the prior art, the beneficial effects of this application are as follows:
[0021] The present application discloses an electronic ticket traceability processing method and related device, which obtains the sales status of the target electronic ticket when handling electronic ticket refund and change services. If the sales status of the target electronic ticket is the exchange and issuance status, the method automatically traces the previous sales records of the target electronic ticket, and generates the traceability information of the target electronic ticket based on the record information of the target electronic ticket and the traced previous sales record information of the target electronic ticket, so as to meet the needs of tracing the original electronic ticket when calculating electronic ticket changes and refunds in various complex scenarios, and provide customers with accurate fare calculation services.
[0022] This Summary is provided to briefly introduce concepts that will be described in detail in the Detailed Description section below. This Summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without any creative work.
[0024] FIG1 is a flow chart of an electronic ticket tracing method disclosed in an embodiment of the present application;
[0025] FIG2 is a schematic diagram of the process of the first sale of an electronic ticket disclosed in an embodiment of the present application;
[0026] FIG3 is a schematic diagram of the process of issuing an electronic ticket in accordance with an embodiment of the present application;
[0027] FIG4 is a schematic diagram of another process for tracing the origin of an electronic ticket disclosed in an embodiment of the present application;
[0028] FIG5 is a schematic diagram of the structure of an electronic ticket tracing processing device disclosed in an embodiment of the present application;
[0029] FIG6 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
[0030] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0032] As used herein, the term "including" and its variations are open-ended, 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," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0033] It should be noted that the concepts of "first" and "second" mentioned in this 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.
[0034] It should be noted that the modifications of "one" and "multiple" 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, they should be understood as "one or more".
[0035] In order to more clearly illustrate the technical solution of this application, the relevant concepts involved in this application are explained below.
[0036] Electronic Ticket: means the Itinerary / Receipt, the Electronic Ticket Coupon, and, if applicable, the Boarding Pass, issued by or on behalf of the Carrier.
[0037] PSS: Passenger Service System. It is the core system used by airlines to manage flight and passenger information. The PSS provides a range of functions, including passenger reservations, check-in, baggage management, passenger services, flight operations, and sales.
[0038] GDS: A global distribution system (GDS) is a third-party provider that partners with multiple airlines. It integrates the reservation systems and flight information of multiple airlines and provides flight search, booking, and sales services to travel agencies and other sales channels through a unified interface.
[0039] This embodiment of the present application provides an electronic ticket traceability processing method, see Figure 1, which specifically includes the following steps:
[0040] S101: Responding to an electronic ticket refund or change instruction, obtaining the sales status of the target electronic ticket;
[0041] In response to the electronic ticket refund and change instruction sent by the upstream system, the electronic ticket refund and change instruction is parsed to obtain the electronic ticket number of the target electronic ticket carried by the electronic ticket refund and change instruction, and the sales status of the target electronic ticket is obtained by querying the electronic ticket sales record.
[0042] For example, electronic ticket sales records store information about each electronic ticket in a key-value format, where the key is the electronic ticket number and the value includes at least the sales status. By querying the electronic ticket sales record using the electronic ticket number of the target electronic ticket as the key, the sales status of the target electronic ticket can be obtained.
[0043] The sales status of an e-ticket includes: Issue Status (ISSU) and Exchange Status (EXCH). The Issue Status indicates that the e-ticket is a first-time e-ticket, while the Exchange Status indicates that the e-ticket is an exchanged e-ticket.
[0044] If the sales status of the target electronic ticket is the issued status, execute S102: do not perform tracing processing;
[0045] Furthermore, if the target e-ticket is in the issued state (i.e., it's the first e-ticket sold), the cancellation price is calculated based on the cancellation and change rules for the target e-ticket. Airlines have pre-set cancellation and change rules for various e-tickets, and when calculating the cancellation price, the corresponding cancellation and change rules can be used.
[0046] If the sales status of the target electronic ticket is the exchange and issuance status, execute S103: obtain the record information of the electronic ticket before the exchange of the target electronic ticket;
[0047] In addition to the sales status of the electronic ticket, the record information of each electronic ticket in the electronic ticket sales record also includes the electronic ticket number before and after the exchange. If the electronic ticket has not been exchanged, the corresponding electronic ticket number before and after the exchange will be empty.
[0048] If the electronic ticket is an exchanged electronic ticket, the electronic ticket sales record includes the electronic ticket before the exchange. An example of the record information of an electronic ticket is shown in Table 1:
[0049] Table 1
[0050] In this example, the electronic ticket sales record also includes the electronic ticket number XXX-1234567890 of the electronic ticket before the electronic ticket is exchanged.
[0051] Therefore, if the sales status of the target electronic ticket is the exchange and issuance status, you can use the ticket number of the target electronic ticket as the key to query the electronic ticket sales record, and you can get the electronic ticket number of the target electronic ticket before the exchange. Then, use the electronic ticket number of the target electronic ticket before the exchange as the key to query the electronic ticket sales record, and you can get the record information of the target electronic ticket before the exchange.
[0052] S104: Determine the sales status of the target electronic ticket before the electronic ticket is exchanged based on the record information of the target electronic ticket before the electronic ticket is exchanged;
[0053] Taking the record information of the electronic ticket shown in Table 1 as the record information of the electronic ticket before the target electronic ticket is exchanged as an example, the sales status of the electronic ticket before the target electronic ticket is exchanged can be obtained from the record information.
[0054] If the sales status of the electronic ticket before the target electronic ticket exchange is the exchange-issued status, execute S105: determine the electronic ticket before the target electronic ticket exchange as the target electronic ticket, and return to execute S103;
[0055] It is understandable that if the sales status of the electronic ticket before the exchange of the target electronic ticket is the exchange and issuance status, then the electronic ticket before the exchange of the target electronic ticket is not the first electronic ticket sold and needs to be traced back.
[0056] If the sales status of the electronic ticket before the target electronic ticket exchange is in the issued status, execute S106: confirm that the electronic ticket record has been traced back to the first sale, and end the tracing;
[0057] If the sales status of the electronic ticket before the exchange of the target electronic ticket is the issued status, it means that the electronic ticket before the exchange of the target electronic ticket is the first electronic ticket sold, that is, the electronic ticket record at the time of the first sale has been traced back, that is, it has been traced back to the most original electronic ticket, and the tracing can be ended.
[0058] S107: Generate traceability information of the target electronic ticket based on the record information of the target electronic ticket and the record information of previous sales of the target electronic ticket.
[0059] Exemplarily, the record information of all previous sales records of the target electronic ticket is sorted in chronological order from earliest to latest, and the traceability information of the target electronic ticket is generated.
[0060] An example of traceability information is shown in Table 2:
[0061] Table 2
[0062] In this example, if the electronic ticket XXX-1234567890 is refunded or changed, the electronic ticket sales status recorded in the electronic ticket sales record is the issued status (ISSU), indicating the first sale of the ticket and no tracing is required.
[0063] If a refund or change is made for e-ticket XXX-1234567891, the e-ticket sales record will show the status of the e-ticket as Exchange (EXCH), indicating that the e-ticket was exchanged and requires tracing. Tracing back to the previous e-ticket sales record, XXX-1234567890, is based on the pre-exchange e-ticket XXX-1234567890 recorded in e-ticket XXX-1234567890. The previous e-ticket sales record for XXX-1234567890 will be found. The e-ticket sales status for XXX-1234567890 is Issued (ISSU), indicating that the ticket has been traced back to its first sale, thus ending the tracing process. The tracing module integrates the information for e-tickets XXX-1234567891 and XXX-1234567890 and returns it.
[0064] If you cancel or change e-ticket XXX-1234567892, the sales record for the e-ticket will show the status of "Exchange Issue (EXCH)." This indicates the e-ticket was exchanged, and you need to trace it back to the previous e-ticket sales record, XXX-1234567891, which was the pre-exchange e-ticket recorded in e-ticket XXX-1234567892. If the sales record for e-ticket XXX-1234567891 shows the status of "Exchange Issue (EXCH)," this indicates the e-ticket was exchanged, and you need to trace it back to the previous e-ticket sales record, XXX-1234567890, which was the pre-exchange e-ticket recorded in e-ticket XXX-1234567891. The e-ticket sales status for e-ticket XXX-1234567890 is now in Issue Status (ISSU), indicating that the ticket has been traced back to its first sale, ending the traceability process. The traceability module integrates the information for e-tickets XXX-1234567892, XXX-1234567891, and XXX-1234567890 and returns the information.
[0065] It can be seen that the electronic ticket tracing processing method disclosed in this embodiment obtains the sales status of the target electronic ticket when handling the electronic ticket refund and change business. If the sales status of the target electronic ticket is the exchange and issuance status, the previous sales records of the target electronic ticket are automatically traced, and the traceability information of the target electronic ticket is generated based on the record information of the target electronic ticket and the traced previous sales record information of the target electronic ticket, so as to meet the needs of tracing the original electronic ticket when calculating electronic ticket changes and refunds in various complex scenarios, and provide customers with accurate fare calculation services.
[0066] It should be noted that in order to implement the electronic ticket traceability processing method disclosed in the above embodiment, it is necessary to record the record information of the issued electronic ticket during the electronic ticket issuance process, and it is necessary to record the electronic ticket number of the electronic ticket before the exchange, the electronic ticket number of the electronic ticket after the exchange and the sales status of the electronic ticket after the exchange during the electronic ticket exchange and issuance process. The sales status of the electronic ticket after the exchange is the exchange and issuance status.
[0067] Refer to Figure 2 for the schematic diagram of the initial e-ticket sale process. After the upstream system determines the itinerary based on the passenger's wishes, the sales processing module, in response to the ticket issuance instruction sent by the upstream system, records the e-ticket information at the time of issuance. This information includes the e-ticket number and the e-ticket sales status, which is the issued state (ISSU). After recording the e-ticket information, the sales processing module calls the ticket processing module to issue the ticket.
[0068] Please refer to the schematic diagram of the electronic ticket exchange and issuance process shown in Figure 3. After the upstream system changes the itinerary according to the passenger's wishes, in response to the exchange and issuance instruction sent by the upstream system, the sales processing module records the exchanged electronic ticket information. The recorded information includes the electronic ticket number of the electronic ticket before the exchange, the electronic ticket number of the electronic ticket after the exchange, and the sales status of the electronic ticket after the exchange. The sales status of the electronic ticket after the exchange is the exchange and issuance status (EXCH). The traceability processing module obtains the recorded information of the electronic ticket before the exchange based on the electronic ticket number of the electronic ticket before the exchange, and adds the electronic ticket number of the electronic ticket after the exchange to the recorded information of the electronic ticket before the exchange. The ticket processing module performs the exchange and issuance.
[0069] In summary, please refer to the flow chart of electronic ticket traceability processing shown in Figure 4. By storing the record information of the electronic ticket at the time of electronic ticket sale, that is, recording the electronic ticket information at the first sale, recording the exchanged electronic ticket information when the ticket is exchanged, and updating the electronic ticket information before exchange, recording the electronic ticket number after exchange, tracing the electronic ticket when the electronic ticket is returned or changed, the key data fields of the record information of the electronic ticket at the time of electronic ticket sale include: electronic ticket number, electronic ticket number after exchange, electronic ticket number before exchange, and electronic ticket sales status, so as to realize the traceability processing of the electronic ticket.
[0070] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two 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 box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0071] 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.
[0072] Although the 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.
[0073] 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.
[0074] 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 stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the 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).
[0075] Based on the electronic ticket tracing method disclosed in the above embodiment, this embodiment correspondingly discloses an electronic ticket tracing device. Please refer to FIG5 . The device includes:
[0076] The sales processing module 501 is used to obtain the sales status of the target electronic ticket in response to the electronic ticket refund and change instruction; if the sales status of the target electronic ticket is the exchange and issuance status, the tracing processing module 502 is triggered;
[0077] The traceability processing module 502 is used to obtain the record information of the electronic ticket before the exchange of the target electronic ticket; determine the sales status of the electronic ticket before the exchange of the target electronic ticket based on the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the exchange and issuance status, determine the electronic ticket before the exchange of the target electronic ticket as the target electronic ticket, and return to execute the step of obtaining the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the issuance status, determine that the electronic ticket record at the time of the first sale has been traced back, and end the tracing; generate the traceability information of the target electronic ticket based on the record information of the target electronic ticket and the record information of all previous sales of the target electronic ticket traced back.
[0078] In some embodiments, the sales processing module 501 is further configured to trigger a ticket processing module if the sales status of the target electronic ticket is the issued status;
[0079] The ticket processing module is used to calculate the refund and change price according to the refund and change rules of the target electronic ticket.
[0080] In some embodiments, the sales processing module 501 is further configured to record the electronic ticket information at the time of issuance in response to the ticket issuance instruction and trigger the ticket processing module. The electronic ticket information includes the electronic ticket number and the sales status of the electronic ticket. The sales status of the electronic ticket is the issuance status.
[0081] The ticket processing module is used to issue electronic tickets.
[0082] In some embodiments, the sales processing module 501 is further configured to record information of the electronic ticket after the exchange, and trigger the ticket processing module in response to the ticket exchange instruction. The information of the electronic ticket after the exchange includes the electronic ticket number of the electronic ticket before the exchange, the electronic ticket number of the electronic ticket after the exchange, and the sales status of the electronic ticket after the exchange. The sales status of the electronic ticket after the exchange is the ticket exchange status.
[0083] The traceability processing module 502 is further configured to obtain the record information of the electronic ticket before the exchange based on the electronic ticket number of the electronic ticket before the exchange; and add the electronic ticket number of the electronic ticket after the exchange to the record information of the electronic ticket before the exchange;
[0084] The ticket processing module is used to exchange and issue the exchanged electronic ticket.
[0085] The present embodiment discloses an electronic ticket tracing processing device, which obtains the sales status of the target electronic ticket when handling electronic ticket refund and change services. If the sales status of the target electronic ticket is the exchange and issuance status, the device automatically traces the previous sales records of the target electronic ticket, and generates the traceability information of the target electronic ticket based on the record information of the target electronic ticket and the traced previous sales record information of the target electronic ticket, so as to meet the needs of tracing the original electronic ticket when calculating electronic ticket changes and refunds in various complex scenarios, and provide customers with accurate fare calculation services.
[0086] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0087] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and 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 chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0088] Reference is now made to FIG6 , which illustrates a schematic diagram of the structure of an electronic device 600 suitable for implementing embodiments of the present disclosure. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG6 is merely an example and should not limit the functionality or scope of use of embodiments of the present disclosure.
[0089] As shown in Figure 6, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0090] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 6 shows the electronic device 600 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0091] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to an electronic ticket refund or change instruction, obtains the sales status of the target electronic ticket; if the sales status of the target electronic ticket is the exchange and issuance status, obtains the record information of the electronic ticket before the exchange of the target electronic ticket; determines the sales status of the target electronic ticket before the exchange based on the record information of the electronic ticket before the exchange; if the sales status of the target electronic ticket before the exchange is the exchange and issuance status, determines the electronic ticket before the exchange as the target electronic ticket, and returns to the step of obtaining the record information of the electronic ticket before the exchange; if the sales status of the target electronic ticket before the exchange is the issuance status, determines that the electronic ticket record at the time of the first sale has been traced back, and terminates the tracing; and generates traceability information of the target electronic ticket based on the record information of the target electronic ticket and the record information of all previous sales of the target electronic ticket that have been traced back.
[0092] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can 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 can 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.
[0093] 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 two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, 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 that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport 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 thereof.
[0094] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0095] 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 includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the 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 performed.
[0096] According to one or more embodiments of the present disclosure, [Example 1] provides an electronic ticket tracing processing method, including:
[0097] In response to an electronic ticket refund or change instruction, obtaining the sales status of the target electronic ticket;
[0098] If the sales status of the target electronic ticket is an exchange and issuance status, obtaining the record information of the electronic ticket before the exchange of the target electronic ticket;
[0099] determining the sales status of the electronic ticket before the target electronic ticket is exchanged based on the record information of the electronic ticket before the target electronic ticket is exchanged;
[0100] If the sales status of the target electronic ticket before the exchange is in the exchange-issued state, the target electronic ticket before the exchange is determined as the target electronic ticket, and the process returns to the step of obtaining the record information of the target electronic ticket before the exchange.
[0101] If the sales status of the electronic ticket before the exchange of the target electronic ticket is the issued status, it is determined that the electronic ticket record at the time of the first sale has been traced back, and the tracing is terminated;
[0102] The traceability information of the target electronic ticket is generated based on the record information of the target electronic ticket and the record information of previous sales of the target electronic ticket.
[0103] According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, further comprising:
[0104] If the sales status of the target electronic ticket is the issued status, the refund and change price is calculated according to the refund and change rules of the target electronic ticket.
[0105] According to one or more embodiments of the present disclosure, [Example 3] provides the method of Example 1, further comprising:
[0106] In response to the ticketing instruction, record the electronic ticket information at the time of ticketing, the electronic ticket information including the electronic ticket number and the sales status of the electronic ticket, the sales status of the electronic ticket being the ticketing status;
[0107] Issue electronic tickets.
[0108] According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 1, further comprising:
[0109] In response to the ticket exchange instruction, record information of the electronic ticket after the exchange, where the record information of the electronic ticket after the exchange includes the electronic ticket number of the electronic ticket before the exchange, the electronic ticket number of the electronic ticket after the exchange, and the sales status of the electronic ticket after the exchange, where the sales status of the electronic ticket after the exchange is the ticket exchange status;
[0110] Obtain the record information of the electronic ticket before the exchange based on the electronic ticket number of the electronic ticket before the exchange;
[0111] Add the electronic ticket number of the electronic ticket after the exchange to the record information of the electronic ticket before the exchange;
[0112] Exchange and issue the exchanged electronic ticket.
[0113] According to one or more embodiments of the present disclosure, [Example 5] provides an electronic ticket tracing processing device, including:
[0114] The sales processing module is used to obtain the sales status of the target electronic ticket in response to the electronic ticket refund and change instruction; if the sales status of the target electronic ticket is the exchange and issuance status, trigger the tracing processing module;
[0115] The traceability processing module is used to obtain the record information of the electronic ticket before the exchange of the target electronic ticket; determine the sales status of the electronic ticket before the exchange of the target electronic ticket based on the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the exchange and issuance status, determine the electronic ticket before the exchange of the target electronic ticket as the target electronic ticket, and return to execute the step of obtaining the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the issuance status, determine that the electronic ticket record at the time of the first sale has been traced back, and end the tracing; generate the traceability information of the target electronic ticket based on the record information of the target electronic ticket and the record information of all previous sales of the target electronic ticket that have been traced back.
[0116] According to one or more embodiments of the present disclosure, [Example 6] provides the apparatus of Example 5, wherein the sales processing module is further configured to trigger the ticket processing module if the sales status of the target electronic ticket is the issued status;
[0117] The ticket processing module is used to calculate the refund and change price according to the refund and change rules of the target electronic ticket.
[0118] According to one or more embodiments of the present disclosure, [Example 7] provides the apparatus of Example 5, wherein the sales processing module is further configured to, in response to the ticket issuance instruction, record the recorded information of the electronic ticket at the time of issuance and trigger the ticket processing module, wherein the recorded information of the electronic ticket includes the electronic ticket number and the sales status of the electronic ticket, and the sales status of the electronic ticket is the issuance status;
[0119] The ticket processing module is used to issue electronic tickets.
[0120] According to one or more embodiments of the present disclosure, [Example 8] provides the apparatus of Example 5, wherein the sales processing module is further configured to record information of the electronic ticket after the exchange, in response to the ticket exchange instruction, and trigger the ticket processing module, wherein the record information of the electronic ticket after the exchange includes the electronic ticket number of the electronic ticket before the exchange, the electronic ticket number of the electronic ticket after the exchange, and the sales status of the electronic ticket after the exchange, and the sales status of the electronic ticket after the exchange is the ticket exchange status;
[0121] The traceability processing module is further configured to obtain the record information of the electronic ticket before the exchange based on the electronic ticket number of the electronic ticket before the exchange; and add the electronic ticket number of the electronic ticket after the exchange to the record information of the electronic ticket before the exchange;
[0122] The ticket processing module is used to exchange and issue the exchanged electronic ticket.
[0123] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
[0124] Although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0125] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. 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 the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
Claims
1. A method for tracing the origin of electronic tickets, characterized in that: include: In response to an electronic ticket refund or change instruction, obtaining the sales status of the target electronic ticket; If the sales status of the target electronic ticket is an exchange and issuance status, obtaining the record information of the electronic ticket before the exchange of the target electronic ticket; determining the sales status of the electronic ticket before the target electronic ticket is exchanged based on the record information of the electronic ticket before the target electronic ticket is exchanged; If the sales status of the target electronic ticket before the exchange is in the exchange-issued state, the target electronic ticket before the exchange is determined as the target electronic ticket, and the process returns to the step of obtaining the record information of the target electronic ticket before the exchange. If the sales status of the electronic ticket before the exchange of the target electronic ticket is the issued status, it is determined that the electronic ticket record at the time of the first sale has been traced back, and the tracing is terminated; The traceability information of the target electronic ticket is generated based on the record information of the target electronic ticket and the record information of previous sales of the target electronic ticket.
2. The electronic ticket tracing method according to claim 1, characterized in that: Also includes: If the sales status of the target electronic ticket is the issued status, the refund and change price is calculated according to the refund and change rules of the target electronic ticket.
3. The electronic ticket tracing method according to claim 1, characterized in that: Also includes: In response to the ticketing instruction, record the electronic ticket information at the time of ticketing, the electronic ticket information including the electronic ticket number and the sales status of the electronic ticket, the sales status of the electronic ticket being the ticketing status; Issue electronic tickets.
4. The electronic ticket tracing method according to claim 3, characterized in that: Also includes: In response to the ticket exchange instruction, record information of the electronic ticket after the exchange, where the record information of the electronic ticket after the exchange includes the electronic ticket number of the electronic ticket before the exchange, the electronic ticket number of the electronic ticket after the exchange, and the sales status of the electronic ticket after the exchange, where the sales status of the electronic ticket after the exchange is the ticket exchange status; Obtain the record information of the electronic ticket before the exchange based on the electronic ticket number of the electronic ticket before the exchange; Add the electronic ticket number of the electronic ticket after the exchange to the record information of the electronic ticket before the exchange; Exchange and issue the exchanged electronic ticket.
5. An electronic ticket tracing processing device, characterized in that: include: A sales processing module, configured to obtain the sales status of the target electronic ticket in response to an electronic ticket refund or change instruction; If the sales status of the target electronic ticket is the ticket exchange status, the traceability processing module is triggered; The traceability processing module is used to obtain the record information of the electronic ticket before the exchange of the target electronic ticket; determine the sales status of the electronic ticket before the exchange of the target electronic ticket based on the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the exchange and issuance status, determine the electronic ticket before the exchange of the target electronic ticket as the target electronic ticket, and return to execute the step of obtaining the record information of the electronic ticket before the exchange of the target electronic ticket; if the sales status of the electronic ticket before the exchange of the target electronic ticket is the issuance status, determine that the electronic ticket record at the time of the first sale has been traced back, and end the tracing; generate the traceability information of the target electronic ticket based on the record information of the target electronic ticket and the record information of all previous sales of the target electronic ticket that have been traced back.
6. The electronic ticket tracing processing device according to claim 5, characterized in that: The sales processing module is further configured to trigger the ticket processing module if the sales status of the target electronic ticket is the issued status; The ticket processing module is used to calculate the refund and change price according to the refund and change rules of the target electronic ticket.
7. The electronic ticket tracing processing device according to claim 5, characterized in that: The sales processing module is further configured to record the electronic ticket information at the time of issuance in response to the ticket issuance instruction and trigger the ticket processing module, wherein the electronic ticket information includes the electronic ticket number and the sales status of the electronic ticket, and the sales status of the electronic ticket is the issuance status; The ticket processing module is used to issue electronic tickets.
8. The electronic ticket tracing processing device according to claim 7, characterized in that: The sales processing module is further configured to record information of the electronic ticket after the exchange, in response to the ticket exchange instruction, and trigger the ticket processing module, wherein the information of the electronic ticket after the exchange includes the electronic ticket number of the electronic ticket before the exchange, the electronic ticket number of the electronic ticket after the exchange, and the sales status of the electronic ticket after the exchange, wherein the sales status of the electronic ticket after the exchange is the ticket exchange status; The traceability processing module is further configured to obtain the record information of the electronic ticket before the exchange based on the electronic ticket number of the electronic ticket before the exchange; and add the electronic ticket number of the electronic ticket after the exchange to the record information of the electronic ticket before the exchange; The ticket processing module is used to exchange and issue the exchanged electronic ticket.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory; The memory is used to store program code and transmit the program code to the processor; The processor is used to execute an electronic ticket tracing method as described in any one of claims 1 to 4 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements an electronic ticket tracing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Refunding and ticket alternation fare calculation system and method
CN111784399A
Processing method and device for ticket refunding after ticket refunding and related equipment
CN115358760A
Air ticket refunding processing method and device, electronic equipment and storage medium
CN115796892A
Air ticket changing method and system, electronic equipment and storage medium
CN116385091A
Electronic ticket traceability processing method and related device
CN118172117A