Electronic passenger ticket invoice processing method and system, and electronic equipment

Through the collaborative work of the paper itinerary printing module, the electronic ticket marking module and the ticket processing module, the problem of duplicate invoicing for electronic tickets is solved, ensuring the uniqueness and tax compliance of electronic tickets.

CN120807071APending Publication Date: 2025-10-17TRAVELSKY TECHNOLOGY LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510775528.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-11
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

In the existing technology, electronic invoices may be issued repeatedly by different invoice issuance modules, resulting in tax risks and the risk of being unable to generate a unique electronic invoice.

Method used

Through the collaborative work of the paper itinerary printing module, the electronic ticket marking module and the ticket processing module, it is ensured that the electronic ticket will only generate a unique printing mark after the first invoice is issued, and the marking will be cancelled when the invoice is issued repeatedly to prevent duplicate issuance.

Benefits of technology

It realizes the uniqueness of electronic tickets, avoids tax risks, and ensures the uniqueness and traceability of invoices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120807071A_ABST
    Figure CN120807071A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of civil aviation electronic tickets, and provides an electronic ticket invoice processing method and system and electronic device.The method comprises the steps that a ticket processing module is called through an electronic ticket marking module to detect a first printing identifier of a current electronic ticket, and when it is detected that the current electronic ticket is not printed through the ticket processing module, the current electronic ticket is printed; if yes, marking the current electronic ticket as a first printing identifier, and marking the current electronic ticket successfully; otherwise, under the condition that the invoice processing module detects that the invoice is issued, the issued invoice is determined as the unique invoice of the current ticket, and only the target user is allowed to execute the marking cancelling operation on the current electronic ticket. Through the processing method, it can be ensured that the issued invoice is the unique invoice of the current ticket, and only the target user is allowed to execute marking cancelling operation on the current electronic ticket.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of civil aviation electronic tickets, and particularly relates to a processing method and system of an electronic ticket invoice and an electronic device. BACKGROUND

[0002] Currently, if a passenger needs to be reimbursed after purchasing an electronic ticket, the passenger can be reimbursed by printing a paper itinerary through an airline or an agent, or can be reimbursed by opening an electronic itinerary or other invoices. The current electronic ticket will be marked on the electronic ticket after printing a paper itinerary in the paper itinerary printing module, indicating that the electronic ticket has been opened. However, after the electronic itinerary opening module or the airline, agent, or other invoice opening module opens an electronic itinerary or other invoices for the electronic ticket purchased by the passenger, the electronic ticket is not marked as having been opened. This may result in the electronic ticket being repeatedly opened by different invoice opening modules, causing tax risks.

[0003] How to provide a generation method for generating a unique electronic ticket invoice is a technical problem to be solved. SUMMARY

[0004] Therefore, it is necessary to provide a processing method and system of an electronic ticket invoice, a storage medium, and an electronic device to solve the problem that the same electronic ticket can be repeatedly opened in the prior art.

[0005] In a first aspect, an embodiment of the application provides a processing method of an electronic ticket invoice, the method comprising: In response to a first request of a target user to print a paper itinerary, starting to print a paper itinerary through a paper itinerary printing module, extracting current electronic ticket information through a ticket processing module, and performing a marking operation through an electronic ticket marking module; If the electronic ticket marking module successfully marks the current electronic ticket, printing a paper itinerary through the paper itinerary printing module; otherwise, terminating the operation of printing a paper itinerary; Calling the ticket processing module to detect a first printed mark of the current electronic ticket through the electronic ticket marking module. If the ticket processing module detects that the current electronic ticket has not been printed, marking the current electronic ticket as the first printed mark, and successfully marking the current electronic ticket; otherwise, if the ticket processing module detects that an invoice has been opened, determining the opened invoice as the unique invoice of the current ticket, and allowing the target user to perform a cancel marking operation on the current electronic ticket.

[0006] Optionally, the method further comprises: In response to a second request for canceling a paper itinerary of the target user, the ticket processing module is invoked by the electronic ticket marking module to detect a second print mark corresponding to the current electronic ticket; if it is detected based on the second print mark that the current electronic ticket has been printed and the print user is consistent with the cancel print user, the second print mark of the current electronic ticket is canceled, and the marking cancellation operation is successful; otherwise, the marking cancellation operation fails.

[0007] Optionally, the method further comprises: In response to a third request for issuing an electronic itinerary, the ticket processing module is invoked to extract current electronic ticket information, and the electronic ticket marking module is invoked to perform marking; If it is detected that the marking is successful, the corresponding electronic itinerary is issued; If it is detected that the electronic itinerary is failed to be issued, the electronic ticket marking module is invoked to cancel the marking operation; If it is detected that the marking fails, the operation of issuing the electronic itinerary is terminated.

[0008] Optionally, the method further comprises: In response to a fourth request for canceling the electronic itinerary, if it is detected that the electronic itinerary is successfully canceled, the electronic ticket marking module is invoked to perform the marking cancellation operation; The ticket processing module is invoked by the electronic ticket marking module to detect a third print mark of the current electronic ticket; if it is detected based on the third print mark that the current electronic ticket has been printed and the print user is consistent with the cancel print user, the third print mark is canceled, and the marking cancellation operation is successful; otherwise, the marking cancellation operation fails.

[0009] Optionally, the method further comprises: In response to a fifth request for issuing other invoices, the ticket processing module is invoked to extract current electronic ticket information, and the electronic ticket marking module is invoked to perform the marking operation; If it is detected that the marking is successful, other invoices are issued; If it is detected that the operation of issuing other invoices fails, the electronic ticket marking module is invoked to perform the marking cancellation operation; If it is detected that the marking fails, the operation of issuing other invoices is terminated.

[0010] Optionally, the method further comprises: In response to a sixth request for canceling other invoices, if it is detected that other invoices have been successfully canceled, the electronic ticket marking module is invoked to perform the marking cancellation operation; The ticket processing module is invoked by the electronic ticket marking module to detect a fourth print mark of the current electronic ticket; If it is detected that the current electronic ticket has been printed based on the fourth printing mark, and it is determined that the printing user is consistent with the canceling printing user, the operation of canceling the fourth printing mark of the current electronic ticket is performed, and the canceling printing operation is successful; otherwise, the canceling printing operation fails.

[0011] In a second aspect, an embodiment of the present application provides a processing system of an invoice of an electronic ticket, the system comprising: A paper travel order printing module configured to start printing a paper travel order in response to a first request of a target user for printing the paper travel order. A ticket processing module configured to extract current electronic ticket information; and an electronic ticket marking module configured to perform a marking operation. The paper travel order printing module is further configured to print the paper travel order through the paper travel order printing module if it is determined that the electronic ticket marking module successfully marks the current electronic ticket. A termination printing module configured to terminate the operation of printing the paper travel order if it is determined that the electronic ticket marking module fails to mark the current electronic ticket. The electronic ticket marking module is further configured to call the ticket processing module to detect a first printing mark of the current electronic ticket, and mark the current electronic ticket as the first printing mark and successfully mark the current electronic ticket if it is detected through the ticket processing module that the current electronic ticket has not been printed. A determination module configured to determine an invoice that has been issued as the only invoice of the current electronic ticket and allow the target user to perform a canceling marking operation on the current electronic ticket if it is detected through the ticket processing module that the invoice has been issued when the marking of the current electronic ticket fails.

[0012] Optionally, the system further comprises: An invalidation module configured to call the ticket processing module through the electronic ticket marking module to detect a second printing mark corresponding to the current electronic ticket in response to a second request of the target user for invalidating the paper travel order, and cancel the second printing mark of the current electronic ticket if it is detected that the current electronic ticket has been printed based on the second printing mark and that the printing user is consistent with the canceling printing user, and the canceling marking operation is successful; otherwise, the canceling marking operation fails.

[0013] In a third aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. When the computer program is executed in a computer, the computer program causes the computer to execute the method of the first aspect.

[0014] In a fourth aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory stores executable code, and the processor executes the executable code to implement the method of the first aspect.

[0015] In the embodiment of the present application, in response to the first request of the target user for printing the paper itinerary, the paper itinerary printing module is started to print the paper itinerary, the ticket processing module is used to extract the current electronic ticket information, and the electronic ticket marking module is used to perform the marking operation; if it is determined that the electronic ticket marking module successfully marks the current electronic ticket, the paper itinerary printing module is used to print the paper itinerary; otherwise, the operation of printing the paper itinerary is terminated; the electronic ticket marking module is used to call the ticket processing module to detect the first printed mark of the current electronic ticket, if it is detected by the ticket processing module that the current electronic ticket has not been printed, the current electronic ticket is marked as the first printed mark, and the marking of the current electronic ticket is successful; otherwise, if it is detected by the ticket processing module that the invoice has been issued, the issued invoice is determined as the unique invoice of the current ticket, and the target user is only allowed to perform the operation of canceling the marking of the current electronic ticket. The processing method provided in the embodiment of the present application can ensure that the issued invoice is the unique invoice of the current ticket, and the target user is only allowed to perform the operation of canceling the marking of the current electronic ticket. BRIEF DESCRIPTION OF DRAWINGS

[0016] The exemplary embodiments of the present application can be more fully understood with reference to the following description when taken in connection with the accompanying drawings, in which like reference numerals refer to like elements throughout. The components in the drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the application. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.

[0017] Figure 1 is a schematic diagram of the module for implementing the processing method of the electronic ticket invoice of the present application; Figure 2 is a flowchart of the processing method of the electronic ticket invoice of the present application; Figure 3 is a flowchart of the processing method of the electronic ticket invoice according to an exemplary embodiment of the present application; Figure 4 is a schematic diagram of the paper itinerary printing module printing the paper itinerary in the present application; Figure 5 is a schematic diagram of the electronic ticket marking module marking the electronic ticket in the present application; Figure 6 is a schematic diagram of the paper itinerary printing module invalidating the paper itinerary in the present application; Figure 7 is a schematic diagram of the electronic ticket marking module canceling the marking in the present application; Figure 8 Fig. 1 is a schematic diagram of the electronic ticket issuing module of the present application; Figure 9 Fig. 2 is a schematic diagram of the electronic ticket stamping module of the present application; Figure 10 Fig. 3 is a schematic diagram of the other invoice issuing module of the present application; Figure 11 Fig. 4 is a schematic diagram of the other invoice stamping module of the present application; Figure 12 Fig. 5 is a schematic diagram of the structure of the electronic ticket processing system 1200 according to an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0018] Exemplary embodiments of the present application will be described herein below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be embodied in various forms without being limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the application to those skilled in the art.

[0019] It should be noted that unless otherwise specified, technical terms or scientific terms used in the present application should be understood as having the common meaning to those skilled in the art to which the present application pertains.

[0020] In addition, the terms "first" and "second" and the like are used to distinguish different objects, rather than to describe a particular sequential order. Furthermore, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a list of steps or units is not limited to the listed steps or units, but can optionally further include additional steps or units not listed, or can optionally further include other steps or units inherent to such process, method, product, or device.

[0021] The present application provides an electronic ticket processing method and system, a computer readable medium, and an electronic device, which will be described below with reference to the accompanying drawings.

[0022] As shown in Fig. 1, the electronic ticket processing method of the present application comprises the following steps. Figure 1 As shown in Fig. 1, the electronic ticket processing method of the present application comprises the following steps.

[0023] As shown in Fig. 1, the electronic ticket processing method of the present application comprises the following steps. Figure 1 As shown in Fig. 1, the electronic ticket processing method of the present application comprises the following steps.

[0024] The first operation is executed by the paper receipt printing module, and the first operation includes printing or invalidating the corresponding paper receipt; The second operation is executed by the electronic receipt issuing module, and the second operation includes issuing or canceling the corresponding electronic receipt; The third operation is executed by the other invoice issuing module, and the third operation includes issuing or canceling the other invoice; The fourth operation is executed by the electronic ticket marking module, and the fourth operation includes marking or canceling marking the electronic ticket; The fifth operation is executed by the ticket processing module, and the fifth operation includes recording or storing the print mark of the electronic ticket and recording the corresponding historical operation.

[0025] It should be noted that the electronic ticket marking module provides the functions of marking and canceling marking the electronic ticket. Before the electronic ticket issuing module issues the corresponding invoice for the electronic ticket, the electronic ticket is locked by marking the electronic ticket to ensure that the electronic ticket only issues invoices, thereby avoiding the tax risk caused by repeatedly issuing valid invoices for the electronic ticket.

[0026] In addition, after the invoice issuing fails or the invoice is canceled, the marking is canceled, and then the electronic ticket can be released so that any required invoice can be issued again.

[0027] As shown in Figure 2 , the flowchart of the electronic ticket invoice processing method is shown.

[0028] As shown in Figure 2 , the process of printing the paper receipt by the paper receipt printing module is as follows: When the paper receipt printing module prints the paper receipt, the ticket processing module is called to extract the electronic ticket information, the electronic ticket marking module is called to mark, if the marking is successful, the paper receipt is printed, if the paper receipt printing fails, the electronic ticket marking module is called to cancel the marking, if the marking fails, the paper receipt printing is terminated. The electronic ticket marking module calls the ticket processing module to check the electronic ticket print mark, if not printed, the electronic ticket is marked with a print mark, if already printed, the marking fails. The ticket processing module records the electronic ticket print mark and records the operation history.

[0029] As shown in Figure 2 , the process of invalidating the paper receipt by the paper receipt printing module is as follows: When the paper itinerary receipt printing module invalidates the paper itinerary receipt, if the paper itinerary receipt is invalidated successfully, the electronic ticket marking module is called to cancel the marking. The ticket processing module is called by the electronic ticket marking module to check the electronic ticket printing mark. If the electronic ticket has been printed and the printing user is consistent with the canceling printing user, the electronic ticket printing mark is canceled, and the canceling marking is successful. Otherwise, the canceling marking fails. The ticket processing module deletes the electronic ticket printing mark and records the operation history.

[0030] As shown in Figure 2 , the process of the electronic itinerary receipt issuing module issuing the electronic itinerary receipt is specifically as follows: When the electronic itinerary receipt issuing module issues the electronic itinerary receipt, the ticket processing module is called to extract the electronic ticket information, and the electronic ticket marking module is called to mark. If the marking is successful, the electronic itinerary receipt is issued. If the electronic itinerary receipt issuing fails, the electronic ticket marking module is called to cancel the marking. If the marking fails, the electronic itinerary receipt issuing is terminated. The ticket processing module is called by the electronic ticket marking module to check the electronic ticket printing mark. If the electronic ticket has not been printed, the electronic ticket is marked with the printing mark, and the marking is successful. If the electronic ticket has been printed, the marking fails. The ticket processing module records the electronic ticket printing mark and records the operation history.

[0031] As shown in Figure 2 , the process of the electronic itinerary receipt issuing module flushing the electronic itinerary receipt is specifically as follows: When the electronic itinerary receipt issuing module flushes the electronic itinerary receipt, if the electronic itinerary receipt flushing is successful, the electronic ticket marking module is called to cancel the marking. The ticket processing module is called by the electronic ticket marking module to check the electronic ticket printing mark. If the electronic ticket has been printed and the printing user is consistent with the canceling printing user, the electronic ticket printing mark is canceled, and the canceling marking is successful. Otherwise, the canceling marking fails. The ticket processing module deletes the electronic ticket printing mark and records the operation history.

[0032] As shown in Figure 2 , the process of the other invoice issuing module issuing the other invoice is specifically as follows: When the other invoice issuing module issues the other invoice, the ticket processing module is called to extract the electronic ticket information, and the electronic ticket marking module is called to mark. If the marking is successful, the other invoice is issued. If the other invoice issuing fails, the electronic ticket marking module is called to cancel the marking. If the marking fails, the other invoice issuing is terminated. The ticket processing module is called by the electronic ticket marking module to check the electronic ticket printing mark. If the electronic ticket has not been printed, the electronic ticket is marked with the printing mark, and the marking is successful. If the electronic ticket has been printed, the marking fails. The ticket processing module records the electronic ticket printing mark and records the operation history.

[0033] As shown in Figure 2As shown, the process of the other invoice issuing module to print the other invoice is described as follows: When the other invoice issuing module prints the other invoice, if the other invoice printing is successful, the electronic ticket marking module is called to cancel the marking. The ticket processing module is called by the electronic ticket marking module to check the electronic ticket printing mark. If the mark has been printed and the printing user is consistent with the canceling printing user, the electronic ticket printing mark is canceled, and the marking cancellation is successful. Otherwise, the marking cancellation fails. The ticket processing module deletes the electronic ticket printing mark and records the operation history.

[0034] Please refer to Figure 3 which shows the flowchart of the electronic ticket invoice processing method provided by some embodiments of the present application, as shown in Figure 3 The electronic ticket invoice processing method can include the following steps: Step S301: in response to the first request of the target user to print the paper travel order, the paper travel order printing module is started to print the paper travel order, the ticket processing module is used to extract the current electronic ticket information, and the electronic ticket marking module is used to perform the marking operation; Step S302: if the electronic ticket marking module successfully marks the current electronic ticket, the paper travel order printing module is used to print the paper travel order; otherwise, the operation of printing the paper travel order is terminated. Step S303: the ticket processing module is called by the electronic ticket marking module to detect the first printing mark of the current electronic ticket. If it is detected by the ticket processing module that the current electronic ticket has not been printed, the current electronic ticket is marked as the first printing mark, and the marking of the current electronic ticket is successful. Otherwise, if it is detected by the ticket processing module that the invoice has been issued, the issued invoice is determined as the only invoice of the current ticket, and the target user is only allowed to perform the canceling marking operation on the current electronic ticket.

[0035] In an example, the electronic ticket invoice processing method provided by the embodiments of the present application can further include the following steps: In response to the second request of the target user to cancel the paper travel order, the ticket processing module is called by the electronic ticket marking module to detect the second printing mark corresponding to the current electronic ticket. If it is detected based on the second printing mark that the current electronic ticket has been printed, and it is detected that the printing user is consistent with the canceling printing user, the second printing mark of the current electronic ticket is canceled, and the canceling marking operation is successful. Otherwise, the canceling marking operation fails.

[0036] In an example, the electronic ticket invoice processing method provided by the embodiments of the present application can further include the following steps: In response to the third request for issuing the electronic travel order, the ticket processing module is invoked to extract the current electronic ticket information, and the electronic ticket marking module is invoked to perform the marking; If the marking is detected to be successful, the corresponding electronic travel order is issued; If the electronic travel order is detected to be failed to be issued, the electronic ticket marking module is invoked to cancel the marking operation; If the marking is detected to be failed, the operation of issuing the electronic travel order is terminated.

[0037] In an example, the method for processing the electronic ticket invoice provided by the embodiment of the present application can further include the following steps: In response to the fourth request for canceling the marking by the electronic travel order issuing module, if the electronic travel order canceling is detected to be successful, the electronic ticket marking module is invoked to perform the canceling marking operation; The ticket processing module is invoked by the electronic ticket marking module to detect the third print mark of the current electronic ticket, if the current electronic ticket is detected to be printed based on the third print mark, and the print user is consistent with the cancel print user, the third print mark is canceled, and the canceling marking operation is successful; otherwise, the canceling marking operation is failed.

[0038] In an example, the method for processing the electronic ticket invoice provided by the embodiment of the present application can further include the following steps: In response to the fifth request for issuing other invoices, the ticket processing module is invoked to extract the current electronic ticket information, and the electronic ticket marking module is invoked to perform the marking operation; If the marking is detected to be successful, the other invoices are issued; If the operation of issuing the other invoices is detected to be failed, the electronic ticket marking module is invoked to perform the canceling marking operation; If the marking is detected to be failed, the operation of issuing the other invoices is terminated.

[0039] In an example, the method for processing the electronic ticket invoice provided by the embodiment of the present application can further include the following steps: In response to the sixth request for canceling the marking, if the other invoices are detected to be canceled successfully, the electronic ticket marking module is invoked to perform the canceling marking operation; The ticket processing module is invoked by the electronic ticket marking module to detect the fourth print mark of the current electronic ticket; If the current electronic ticket is detected to be printed based on the fourth print mark, and it is determined that the print user is consistent with the cancel print user, the fourth print mark of the current electronic ticket is canceled, and the canceling marking is successful; otherwise, the canceling marking is failed.

[0040] The electronic ticket invoice processing method in a specific application scenario of the application can include the following steps: Step a1: the paper itinerary receipt printing module prints a paper itinerary receipt.

[0041] The printing process is shown in Figure 4 After receiving the request for printing a paper itinerary receipt, the paper itinerary receipt printing module calls the ticket processing module to extract electronic ticket information, calls the electronic ticket marking module to mark, and prints a paper itinerary receipt if marking is successful. If the paper itinerary receipt printing is successful, the printing is ended. If the paper itinerary receipt printing fails, the electronic ticket marking module is called to cancel marking, and the printing is ended. If marking fails, the printing of the paper itinerary receipt is terminated, and the printing is ended.

[0042] Step a2: the electronic ticket marking module marks.

[0043] The marking process is shown in Figure 5 The electronic ticket marking module calls the ticket processing module to extract electronic ticket information, checks the electronic ticket printing identifier, and sets the printing identifier for the electronic ticket if the printing identifier is not printed, and marking is successful. If the printing identifier is printed, marking fails.

[0044] Step a3: the ticket processing module records the printing identifier. The ticket processing module records the electronic ticket printing identifier and records the operation history.

[0045] Step a4: the paper itinerary receipt printing module invalidates the paper itinerary receipt.

[0046] As shown in Figure 6 After receiving the request for invalidating the paper itinerary receipt, the paper itinerary receipt printing module invalidates the paper itinerary receipt, and calls the electronic ticket marking module to cancel marking if invalidation is successful.

[0047] Step a5: the electronic ticket marking module cancels marking.

[0048] As shown in Figure 7 The electronic ticket marking module calls the ticket processing module to extract electronic ticket information, checks the electronic ticket printing identifier, and cancels the electronic ticket printing identifier if the printing identifier is printed and the printing user is consistent with the cancel printing user, and marking is canceled successfully. Otherwise, marking is canceled unsuccessfully.

[0049] Step a6: the ticket processing module deletes the printing identifier. The ticket processing module deletes the electronic ticket printing identifier and records the operation history.

[0050] Step a7: the electronic itinerary receipt issuing module issues an electronic itinerary receipt.

[0051] As shown in Figure 8As shown, the electronic itinerary form issuing module receives the electronic ticket issuing electronic itinerary form request, calls the ticket processing module to extract the electronic ticket information, calls the electronic ticket marking module to mark, and if the marking is successful, issues the electronic itinerary form. If the electronic itinerary form issuing is successful, the issuing ends. If the electronic itinerary form issuing fails, the electronic ticket marking module is called to cancel the marking, and the issuing ends. If the marking fails, the electronic itinerary form issuing is terminated, and the issuing ends.

[0052] Step a8: The electronic ticket marking module marks. The electronic ticket marking module calls the ticket processing module, checks the electronic ticket printing identifier, and if it is not printed, sets the printing identifier for the electronic ticket, and the marking is successful. If it is printed, the marking fails.

[0053] Step a10: The electronic itinerary form issuing module cancels the electronic itinerary form. As shown, Figure 9 the electronic itinerary form issuing module receives the electronic itinerary form cancellation request, cancels the electronic itinerary form, and if the cancellation is successful, calls the electronic ticket marking module to cancel the marking.

[0054] Step a11: The electronic ticket marking module cancels the marking. The electronic ticket marking module calls the ticket processing module, checks the electronic ticket printing identifier, and if it is printed and the printing user is consistent with the cancellation printing user, cancels the electronic ticket printing identifier, and the cancellation marking is successful. Otherwise, the cancellation marking fails.

[0055] Step a12: The ticket processing module deletes the printing identifier. The ticket processing module deletes the electronic ticket printing identifier, and records the operation history.

[0056] Step a13: The other invoice issuing module issues the other invoice. As shown, Figure 10 the other invoice issuing module receives the electronic ticket printing other invoice request, calls the ticket processing module to extract the electronic ticket information, calls the electronic ticket marking module to mark, and if the marking is successful, issues the other invoice. If the other invoice issuing is successful, the issuing ends. If the other invoice issuing fails, the electronic ticket marking module is called to cancel the marking. If the marking fails, the other invoice issuing is terminated.

[0057] Step a14: The electronic ticket marking module marks. The electronic ticket marking module calls the ticket processing module, checks the electronic ticket printing identifier, and if it is not printed, sets the printing identifier for the electronic ticket, and the marking is successful. If it is printed, the marking fails.

[0058] Step a15: The ticket processing module records the printing identifier. The ticket processing module records the electronic ticket printing identifier, and records the operation history.

[0059] Step a16: the other invoice issuing module red-issues the other invoice. As shown in Figure 11 the other invoice red-issuing request, red-issues the other invoice, and if the red-issuing is successful, calls the electronic ticket marking module to cancel the marking.

[0060] Step a17: the electronic ticket marking module cancels the marking. The electronic ticket marking module calls the ticket processing module to check the electronic ticket printing mark, and if the mark has been printed and the printing user is consistent with the canceling printing user, cancels the electronic ticket printing mark, and the canceling marking is successful; otherwise, the canceling marking fails.

[0061] Step a18: the ticket processing module deletes the printing mark. The ticket processing module deletes the electronic ticket printing mark and records the operation history.

[0062] In an actual application scenario, if the electronic ticket XXX-1234567890 has printed a paper travel order in the paper travel order printing module, and the electronic ticket printing mark is printed. At this time, only the printing user of the paper travel order can cancel the marking of the electronic ticket, and other users of the paper travel order printing module, users of the electronic travel order issuing module, and users of the other invoice issuing module cannot cancel the printing mark of the electronic ticket. At this time, any other user cannot call the electronic ticket marking module to mark the electronic ticket again, therefore, the paper travel order printing module cannot print a paper travel order for the ticket, the electronic travel order issuing module cannot issue an electronic travel order for the electronic ticket, and the other invoice issuing module cannot issue an other invoice for the electronic ticket. Thus, it is ensured that the electronic ticket has a unique issued invoice.

[0063] The processing method provided by the embodiment of the application can ensure that an issued invoice is the unique invoice of a current ticket, and only allows a target user to perform a canceling marking operation on the current electronic ticket.

[0064] In the above embodiment, a processing method of an electronic ticket invoice is provided, and the application further provides a processing system of an electronic ticket invoice. The processing system of the electronic ticket invoice provided by the embodiment of the application can implement the processing method of the electronic ticket invoice, and the processing system of the electronic ticket invoice can be implemented by software, hardware, or a combination of software and hardware. For example, the processing system of the electronic ticket invoice can include integrated or separated functional modules or units to perform corresponding steps in the above methods.

[0065] Please refer to Figure 12, which shows a schematic diagram of an electronic ticket invoice processing system provided by some embodiments of the present invention. Since the system embodiments are substantially similar to the method embodiments, the description is relatively brief. For relevant details, please refer to the description of the method embodiments. The system embodiments described below are merely illustrative.

[0066] like Figure 12 As shown, the electronic ticket invoice processing system 1200 may include: A paper itinerary printing module 1201 is configured to initiate printing of a paper itinerary in response to a first request from a target user to print a paper itinerary; Ticket processing module 1202, used to extract current electronic ticket passenger information; The electronic ticket marking module 1203 is used to perform marking operations; The paper itinerary printing module 1201 is further configured to print a paper itinerary upon determining that the electronic ticket marking module has successfully marked the current electronic ticket; The printing termination module 1204 is configured to terminate the printing of the paper itinerary if it is determined that the electronic ticket marking module has failed to mark the current electronic ticket. The electronic ticket marking module 1203 is further configured to call the ticket processing module to detect the first printing mark of the current electronic ticket. If the ticket processing module detects that the current electronic ticket has not been printed, the electronic ticket is marked as the first printing mark, indicating that the electronic ticket has been successfully marked. Determination module 1205, if the current electronic ticket is not successfully marked, then when it is detected through the ticket processing module that the invoice has been issued, the issued invoice will be determined as the only invoice for the current ticket, and only the target user is allowed to cancel the marking of the current electronic ticket.

[0067] In some implementations of the embodiments of the present invention, the electronic ticket invoice processing system 1200 further includes: Obsolete module (in Figure 12 ), which is not shown in the figure, is used to respond to the target user's second request to cancel the paper itinerary, call the ticket processing module through the electronic ticket marking module, and detect the second printing mark corresponding to the current electronic ticket; if it is detected based on the second printing mark that the current electronic ticket has been printed, and it is detected that the printing user is the same as the user who cancels the printing, then the second printing mark of the current electronic ticket is cancelled, and the operation of canceling the marking is successful; otherwise, the operation of canceling the marking fails.

[0068] In some implementations of the embodiments of the present invention, the electronic ticket invoice processing system 1200 further includes: Electronic itinerary issuance module (in Figure 12(not shown) for responding to a third request for issuing an electronic itinerary, calling the ticket processing module to extract the current electronic ticket information, and calling the electronic ticket marking module to mark the ticket; if the marking is successful, issuing the corresponding electronic itinerary; The electronic ticket marking module 1203 is further configured to cancel the marking operation if it is detected that the issuance of the electronic itinerary fails; The first termination execution module (in Figure 12 (not shown) is used to terminate the operation of issuing an electronic itinerary if a marking failure is detected.

[0069] In some implementations of the embodiments of the present invention, the electronic ticket invoice processing system 1200 further includes: The electronic ticket marking module is further configured to respond to a fourth request for canceling the electronic itinerary and, if it is detected that the cancellation of the electronic itinerary is successful, cancel the marking operation; The electronic ticket marking module 1203 is also used to call the ticket processing module to detect the third printing mark of the current electronic ticket. If it is detected based on the third printing mark that the current electronic ticket has been printed, and the printing user is the same as the user who cancels the printing, the third printing mark is canceled and the operation of canceling the marking is successful; otherwise, the operation of canceling the marking fails.

[0070] In some implementations of the embodiments of the present invention, the electronic ticket invoice processing system 1200 further includes: Other invoicing modules (in Figure 12 (not shown) for responding to a fifth request for issuing another invoice, calling the ticket processing module to extract the current electronic ticket information, and calling the electronic ticket marking module to perform a marking operation; if the marking is detected to be successful, issuing another invoice; The electronic ticket marking module 1203 is further configured to cancel the marking operation if it is detected that the operation of issuing other invoices fails; The second termination execution module (in Figure 12 (not shown) is used to terminate the issuance of other invoices if the detection fails to meet the standards.

[0071] In some implementations of the embodiments of the present invention, the electronic ticket invoice processing system 1200 further includes: The electronic ticket marking module 1203 is further configured to respond to the sixth request to cancel other invoices and, if it is detected that the other invoices have been successfully cancelled, cancel the marking operation; The electronic ticket marking module 1203 is further configured to call the ticket processing module to detect a fourth printed mark of the current electronic ticket; if it is detected based on the fourth printed mark that the current electronic ticket has been printed, and it is determined that the printed user is consistent with the cancel printed user, an operation of canceling the fourth printed mark of the current electronic ticket is performed, and the marking is successfully canceled; otherwise, the marking is failed to be canceled.

[0072] In some embodiments of the embodiments of the present application, the processing system 1200 of the electronic ticket invoice provided by the embodiments of the present application has the same beneficial effects as the processing method of the electronic ticket invoice provided by the aforementioned embodiments of the present application based on the same inventive concept.

[0073] According to another aspect of the embodiments, a computer readable storage medium having stored thereon a computer program is also provided, which, when executed in a computer, causes the computer to perform the method described above. Figures 1 to 11

[0074] According to another aspect of the embodiments, an electronic device is also provided, which includes a memory and a processor, the memory has stored executable codes, and the processor implements the method described above when executing the executable codes. Figures 1 to 11

[0075] Those skilled in the art should be aware that the functions described in the above one or more examples can be implemented in hardware, software, firmware or any combination thereof. When implemented in software, the functions can be stored in a computer readable medium or transmitted as one or more instructions or codes on a computer readable medium. The above detailed description further illustrates the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above detailed description is only a specific embodiment of the present application and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made on the basis of the technical solutions of the present application shall be included in the protection scope of the present application.​​

Claims

1. A method for processing an electronic ticket invoice, characterized in that: The method comprises: In response to a first request from a target user to print a paper itinerary, the paper itinerary printing module starts printing the paper itinerary, the ticket processing module extracts current electronic ticket passenger information, and the electronic ticket marking module performs a marking operation; If it is determined that the electronic ticket marking module has successfully marked the current electronic ticket, the paper itinerary printing module prints the paper itinerary; otherwise, the operation of printing the paper itinerary is terminated; The electronic ticket marking module calls the ticket processing module to detect the first printing mark of the current electronic ticket. If the ticket processing module detects that the current electronic ticket has not been printed, the current electronic ticket is marked as the first printing mark, and the current electronic ticket is marked successfully. Otherwise, if the ticket processing module detects that the invoice has been issued, the issued invoice is determined as the only invoice for the current ticket, and only the target user is allowed to cancel the marking of the current electronic ticket.

2. The processing method according to claim 1, characterized in that The method further comprises: In response to the target user's second request to cancel the paper itinerary, the ticket processing module is called through the electronic ticket marking module to detect the second printing mark corresponding to the current electronic ticket; if it is detected based on the second printing mark that the current electronic ticket has been printed, and it is detected that the printing user is the same as the user who cancels the printing, the second printing mark of the current electronic ticket is canceled, and the operation of canceling the marking is successful; otherwise, the operation of canceling the marking fails.

3. The processing method according to claim 1, characterized in that The method further comprises: In response to a third request for issuing an electronic itinerary, calling the ticket processing module to extract current electronic ticket information, and calling the electronic ticket marking module to mark the ticket; If the marking is successful, the corresponding electronic itinerary will be issued; If it is detected that the issuance of the electronic itinerary fails, calling the electronic ticket marking module to cancel the marking operation; If it is detected that the marking fails, the operation of issuing the electronic itinerary is terminated.

4. The processing method according to claim 1, characterized in that The method further comprises: In response to the fourth request for canceling the electronic itinerary, if it is detected that the cancellation of the electronic itinerary is successful, calling the electronic ticket marking module to perform a marking cancellation operation; The electronic ticket marking module calls the ticket processing module to detect the third printing mark of the current electronic ticket. If it is detected based on the third printing mark that the current electronic ticket has been printed, and the printing user is the same as the user who cancels printing, the third printing mark is canceled and the operation of canceling the marking is successful; otherwise, the operation of canceling the marking fails.

5. The processing method according to claim 1, characterized in that The method further comprises: In response to a fifth request for issuing another invoice, calling the ticket processing module to extract current electronic ticket information, and calling the electronic ticket marking module to perform a marking operation; If the marking is detected to be successful, another invoice will be issued; If it is detected that the operation of issuing other invoices fails, the electronic ticket marking module is called to cancel the marking operation; If the detection fails to meet the standards, the operation of terminating the issuance of other invoices will be executed.

6. The processing method according to claim 5, characterized in that: The method further comprises: In response to the sixth request to cancel other invoices, if it is detected that the other invoices have been successfully cancelled, calling the electronic ticket marking module to perform an operation of canceling the marking; The electronic ticket marking module calls the ticket processing module to detect the fourth printing mark of the current electronic ticket; If it is detected based on the fourth printing mark that the current electronic ticket has been printed, and it is determined that the printing user is the same as the user who cancels the printing, the operation of canceling the fourth printing mark of the current electronic ticket is executed, and the cancellation marking is successful; otherwise, the cancellation marking fails.

7. A system for processing electronic ticket invoices, characterized in that: The system comprises: A paper itinerary printing module, configured to initiate printing of a paper itinerary in response to a first request from a target user for printing a paper itinerary; Ticket processing module, used to extract current electronic ticket passenger information; Electronic ticket marking module, used to perform marking operations; The paper itinerary printing module is further configured to print a paper itinerary upon determining that the electronic ticket marking module has successfully marked the current electronic ticket; A printing termination module is configured to terminate the printing of the paper itinerary if it is determined that the electronic ticket marking module has failed to mark the current electronic ticket; The electronic ticket marking module is further configured to call the ticket processing module to detect a first printing mark on the current electronic ticket. If the ticket processing module detects that the current electronic ticket has not been printed, the electronic ticket is marked as the first printing mark, indicating that the current electronic ticket has been successfully marked. The determination module determines that if the current electronic ticket is not successfully marked, when it is detected through the ticket processing module that the invoice has been issued, the issued invoice will be determined as the only invoice for the current ticket, and only the target user is allowed to cancel the marking of the current electronic ticket.

8. The processing system according to claim 7, characterized in that The system further comprises: The cancellation module is used to respond to the target user's second request to cancel the paper itinerary, call the ticket processing module through the electronic ticket marking module, and detect the second printing mark corresponding to the current electronic ticket; if it is detected based on the second printing mark that the current electronic ticket has been printed, and it is detected that the printing user is the same as the user who cancels the printing, then the second printing mark of the current electronic ticket is cancelled, and the operation of canceling the marking is successful; otherwise, the operation of canceling the marking fails.

9. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 6.

10. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method according to any one of claims 1 to 6 is implemented.