Itinerary push printing method, system, device and storage medium

By automatically obtaining and calculating the travel order printing time, the inefficiency and error problems caused by manual operations in the prior art are solved, and efficient and accurate travel order printing and on-time delivery are achieved.

CN114971476BActive Publication Date: 2025-08-26CTRIP BUSINESS TRAVEL INFORMATION SERVICE (SHANGHAI) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210608566.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2025-08-26
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

The existing itinerary printing system relies on manual operations, which leads to inefficiency, error-proneness, and the inability to reasonably arrange printing time, resulting in system burden and waste of resources.

Method used

By automatically obtaining order booking data, determining the delivery method and calculating the printing time, it realizes automatic push printing of itinerary orders, including non-printing, one-send and periodic delivery, and optimizing printing time schedules.

Benefits of technology

It improves the efficiency and accuracy of itinerary printing, reduces repeated printing, saves human resources, reduces system burden, and ensures on-time delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114971476B_ABST
    Figure CN114971476B_ABST
Patent Text Reader

Abstract

The present invention provides a method, system, device, and storage medium for push printing of itinerary receipts. The method comprises: obtaining order reservation data; determining the delivery method of the itinerary receipt corresponding to the order based on the order reservation data; calculating the order printing time corresponding to the order reservation data based on a preset printing time calculation rule corresponding to the delivery method; and pushing the order reservation data and the order printing time to the itinerary receipt printing system before the order printing time. The present invention automatically determines the delivery method and automatically calculates the order printing time based on the printing time calculation rule, thereby automating the push printing of itinerary receipts and improving the efficiency and accuracy of itinerary receipt printing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, system, device and storage medium for pushing and printing an itinerary. Background Art

[0002] After booking a flight through Ctrip, customers need an itinerary as a voucher for reimbursement and tax purposes to offset value-added tax. The itinerary printing system prints this itinerary data and delivers it to the customer. In existing itinerary printing systems, printing itinerary data is typically done manually by employees. For example, each day, employees select the orders for which itineraries need to be printed and send the order data for these orders to the itinerary printing system. However, this method requires significant manpower and time, is prone to errors, and does not schedule itinerary printing properly. For the itinerary printing system, improper scheduling can necessitate repeated printing due to typos in itinerary content or times, increasing the system's burden. Furthermore, this method is limited by manual selection and operation, making itinerary printing efficiency difficult to improve, potentially leading to a significant number of itineraries being squeezed out.

[0003] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute prior art known to ordinary technicians in this field. Summary of the Invention

[0004] In response to the problems in the prior art, the purpose of the present invention is to provide a method, system, device and storage medium for pushing and printing itinerary bills, which automatically determines the delivery method and automatically calculates the order printing time according to the printing time calculation rules, thereby realizing the automation of pushing and printing itinerary bills and improving the efficiency and accuracy of itinerary bill printing.

[0005] An embodiment of the present invention provides a method for pushing and printing an itinerary receipt, comprising the following steps:

[0006] Get order booking data;

[0007] Determine the delivery method of the itinerary corresponding to the order based on the order booking data;

[0008] Calculate the order printing time corresponding to the order reservation data according to the preset printing time calculation rules corresponding to the delivery method;

[0009] Before the order printing time, the order booking data and the order printing time are pushed to the itinerary printing system.

[0010] In some embodiments, determining the delivery method of the itinerary corresponding to the order includes the following steps:

[0011] Obtaining the delivery method of the itinerary corresponding to the order from the order booking data;

[0012] If the delivery method is non-printing, determine whether the order paid by individuals is applicable to non-printing;

[0013] If the delivery method is non-printing and the order paid by the individual is applicable to non-printing, the delivery method of the itinerary is determined to be non-printing and the current process ends.

[0014] In some embodiments, after determining whether the order paid by an individual is suitable for non-printing, the following steps are further included:

[0015] If the delivery method is non-printing and the order for personal payment is not applicable to non-printing, the delivery method will be determined as one order, one shipment.

[0016] In some embodiments, determining the delivery method of the itinerary corresponding to the order includes the following steps:

[0017] Obtaining the delivery method of the itinerary corresponding to the order from the order booking data;

[0018] If the delivery method is periodic delivery, determine whether the order paid by the individual is applicable to periodic delivery;

[0019] If the delivery method is periodic delivery and the order paid by the individual is applicable to periodic delivery, the delivery method of the itinerary will be determined as periodic printing.

[0020] In some embodiments, after determining whether the order paid by the individual is suitable for periodic delivery, the following steps are further included:

[0021] If the delivery method is periodic delivery and the order paid by the individual is not applicable to periodic delivery, the delivery method will be determined as one-order-one-shipping.

[0022] In some embodiments, calculating the order printing time corresponding to the order reservation data according to a preset printing time calculation rule corresponding to the delivery method includes the following steps:

[0023] If the delivery method is one order at a time, the order printing time will be calculated immediately;

[0024] If the delivery method is periodic delivery, the delivery address is obtained from the order reservation data, the corresponding delivery period is queried according to the delivery address, and the order printing time is calculated according to the corresponding delivery period.

[0025] In some embodiments, the step of immediately calculating the order printing time includes the following steps:

[0026] Obtaining the remaining task volume and daily completion volume of the itinerary printing system, and calculating the time required for the itinerary printing system to complete the remaining task volume;

[0027] The current time is added to the time required for the itinerary printing system to complete the remaining task amount to obtain the order printing time.

[0028] In some embodiments, after obtaining the order printing time by adding the current time to the time required for the itinerary printing system to complete the remaining task, the following steps are further included:

[0029] Determine whether there is a periodic delivery printing task at the obtained order printing time;

[0030] If yes, determine whether the task volume of the existing periodic delivery printing task is greater than the daily completion volume;

[0031] If the task volume of an existing periodic delivery printing task is greater than or equal to the daily completion volume, the order printing time is added by one day to obtain the updated order printing time.

[0032] In some embodiments, calculating the order printing time according to the corresponding delivery cycle includes the following steps:

[0033] Determine the date of each delivery based on the delivery cycle and the time of the previous delivery;

[0034] The next delivery date will be used as the order printing time.

[0035] In some embodiments, before the order printing time, pushing the order booking data to the itinerary printing system includes the following steps:

[0036] Get the printing lead time of the itinerary printing system;

[0037] Subtract the printing lead time from the order printing time to obtain the printing push time;

[0038] When the printing push time arrives, the order booking data is pushed to the itinerary printing system.

[0039] An embodiment of the present invention further provides an itinerary push printing system for implementing the itinerary push printing method, the system comprising:

[0040] Data acquisition module, used to obtain order booking data;

[0041] A delivery determination module, configured to determine a delivery method for the itinerary corresponding to the order based on the order booking data;

[0042] A time determination module, configured to calculate the order printing time corresponding to the order reservation data according to a preset printing time calculation rule corresponding to the delivery method;

[0043] The data push module is used to push the order booking data to the itinerary printing system before the order printing time.

[0044] An embodiment of the present invention further provides an itinerary push printing device, comprising:

[0045] processor;

[0046] a memory storing executable instructions for the processor;

[0047] Wherein, the processor is configured to execute the steps of the itinerary push printing method by executing the executable instructions.

[0048] An embodiment of the present invention also provides a computer-readable storage medium for storing a program, which, when executed by a processor, implements the steps of the itinerary push printing method.

[0049] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

[0050] The itinerary push printing method, system, device, and storage medium of the present invention have the following beneficial effects:

[0051] The present invention automatically determines the delivery method and automatically calculates the order printing time according to the printing time calculation rules, realizes the automation of itinerary push printing, improves the efficiency and accuracy of itinerary printing, saves manpower, and reduces the number of times the itinerary is repeatedly printed, thereby alleviating the burden on the itinerary printing system, and can accurately complete the printing and on-time delivery of large quantities of air ticket itineraries. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Other features, objects and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings.

[0053] Figure 1 This is a flow chart of a method for pushing and printing an itinerary receipt according to an embodiment of the present invention;

[0054] Figure 2 This is a flow chart of determining a delivery method for an itinerary corresponding to an order according to an embodiment of the present invention;

[0055] Figure 3 This is a flow chart of a printing time calculation rule corresponding to a preset delivery method according to an embodiment of the present invention;

[0056] Figure 4 It is a structural diagram of an itinerary push printing system according to an embodiment of the present invention;

[0057] Figure 5 This is a structural diagram of an itinerary push printing device according to an embodiment of the present invention;

[0058] Figure 6 It is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention. DETAILED DESCRIPTION

[0059] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0060] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0061] The flowcharts shown in the accompanying drawings are merely exemplary and do not necessarily include all steps. For example, some steps may be decomposed, while some steps may be combined or partially combined. Therefore, the actual execution order may change according to actual circumstances.

[0062] like Figure 1 As shown, an embodiment of the present invention provides a method for pushing and printing an itinerary, comprising the following steps:

[0063] S100: Acquire order booking data. The order booking data can be obtained from the air ticket booking system. Specifically, the order booking data of the user's air ticket booking is obtained. The order booking data at least includes the itinerary delivery method, the user name of the booking order, the order amount, the order booking time, the order starting point, the order destination, the order flight number, and other data required for printing the itinerary;

[0064] S200: Determine a delivery method for the itinerary corresponding to the order based on the order booking data, wherein the delivery method may include no printing, one-order-per-shipment, and periodic delivery;

[0065] Among them, "no printing" means that there is no need to print the itinerary; "one order, one delivery" means that an itinerary will be delivered once for each flight booking. The itinerary will generally be printed one day after the ticket is issued or the departure, and then delivered to the customer immediately; periodic delivery can include regular delivery and internal delivery. Regular delivery means that all itineraries generated within a specific time period of a month or a week will be delivered to the customer in a unified manner. Internal delivery means that after the customer's consumption bill is issued each month, the itinerary will be delivered to the customer after the customer confirms the consumption data on the bill;

[0066] S300: Calculating the order printing time corresponding to the order reservation data according to the preset printing time calculation rules corresponding to the delivery method; that is, calculating the order printing time corresponding to the order reservation data for the printing time calculation rules corresponding to no printing, one-order-to-shipment, and periodic delivery respectively;

[0067] S400: Prior to the order printing time, the order booking data and the order printing time are pushed to the itinerary printing system. The itinerary printing system is configured to print the itinerary at the order printing time. The order booking system pushes the itinerary printing system with at least the user name of the order booking, the order amount, the order booking time, the order origin, the order destination, the order flight number, and other data required for printing the itinerary. After the itinerary is printed, the document organizer will number the itinerary in the order of the customer's bill and deliver it to the customer by express delivery.

[0068] The present invention obtains order booking data in step S100, automatically determines the delivery method in step S200, and automatically calculates the order printing time according to the printing time calculation rules in step S300. Then, in step S400, the order booking data is pushed to the itinerary printing system before the order printing time, ensuring that the itinerary for the order is printed on time. This automates the itinerary push printing process, improves the efficiency and accuracy of itinerary printing, saves manpower, and reduces the number of repeated itinerary printings, thereby alleviating the burden on the itinerary printing system. The itinerary push printing method of the present invention can accurately complete the printing and on-time delivery of large quantities of air ticket itineraries. The itinerary push printing method of the present invention can be deployed in a server of an order management system or in a server management system for itineraries.

[0069] like Figure 2 As shown, in this embodiment, the step S200: determining the delivery method of the itinerary corresponding to the order includes the following steps:

[0070] S210: Obtaining the delivery method of the itinerary corresponding to the order from the order booking data;

[0071] For example, on the flight booking page, the itinerary delivery method options are displayed. Users can select the desired itinerary delivery method when placing an order. If the user does not select a method, the default delivery method previously set by the user can be used.

[0072] If the delivery method is non-printing, then S220: determine whether the order paid by the individual is applicable to non-printing;

[0073] If the delivery method is non-printing and the order paid by the individual is suitable for non-printing, then S230: determine that the delivery method of the itinerary is non-printing, that is, there is no need to print the itinerary and end the current process.

[0074] If the delivery method is non-printing and the order paid by the individual is not applicable to non-printing, then S240: the delivery method is determined to be one order, one shipment.

[0075] In this embodiment, after the step S210 of obtaining the delivery method of the itinerary corresponding to the order from the order booking data, the following steps are further included:

[0076] If the delivery method is one order and one mail, there is no need to confirm whether the personal payment is applicable, that is, directly S240: confirm that the delivery method is one order and one mail;

[0077] If the delivery method is periodic delivery, then S250: determining whether the order paid by the individual is applicable to periodic delivery;

[0078] If the delivery method is periodic delivery and the order paid by the individual is applicable to periodic delivery, then S260: determining that the delivery method of the itinerary is periodic printing.

[0079] If the delivery method is periodic delivery and the order paid by the individual is not applicable to periodic delivery, then S240: the delivery method is determined to be one order, one shipment.

[0080] like Figure 3 As shown, in this embodiment, the step S300: calculating the order printing time corresponding to the order reservation data according to the preset printing time calculation rule corresponding to the delivery method, includes the following steps:

[0081] S310: Determine whether the delivery method is one-order delivery or periodic delivery;

[0082] If the delivery method is one order per delivery, then S320: immediately calculate the order printing time;

[0083] If the delivery method is periodic delivery, then S330: obtain the delivery address from the order reservation data, S340: query the corresponding delivery period according to the delivery address, and S350: calculate the order printing time according to the corresponding delivery period.

[0084] In this embodiment, if the delivery method is one order per delivery, it is necessary to print the itinerary and complete the delivery as soon as possible. The step S320: immediately calculating the order printing time includes the following steps:

[0085] Obtain the remaining task volume and daily completion volume of the itinerary receipt printing system, and calculate the time required for the itinerary receipt printing system to complete the remaining task volume. Specifically, the system may communicate with the itinerary receipt printing system to obtain the remaining task volume in the itinerary receipt printing system's current task list and the daily completion volume of the itinerary receipt printing system. Alternatively, the system may query the itinerary receipt printing tasks assigned to the itinerary receipt printing system within a preset time period for which no completion feedback has been received, and use this as the remaining task volume. The system may also calculate the average of the number of tasks reported as completed each day within the preset time period by the itinerary receipt printing system as the daily completion volume of the itinerary receipt printing system.

[0086] Add the current time to the time required for the itinerary printing system to complete the remaining tasks to obtain the order printing time. The order printing time can be specific to a certain date, or specific to a certain date plus a certain time period, or specific to a certain date plus a certain moment.

[0087] Therefore, this embodiment can reasonably arrange the order printing time according to the task completion status of the itinerary printing system, avoiding the situation where the itinerary printing system is piled up with orders and cannot be completed on time.

[0088] In this embodiment, when the current time is added to the time required for the itinerary printing system to complete the remaining tasks to obtain the order printing time, it is possible that the number of orders for which order printing time calculation is currently required is relatively large, resulting in the calculated order printing time not being sufficient. Therefore, further, the orders for which order printing time calculation is required can be sorted, and printing times can be allocated in the order of sorting. Specifically, the current time is added to the time required for the itinerary printing system to complete the remaining tasks to obtain the order printing time, including the following steps:

[0089] Sort the m orders for which printing time calculation is required according to the preset sorting field, where m>1. For example, the sorting field can be booking time, in which case the orders are sorted from earliest to latest. Alternatively, the sorting field can be order number, in which case the orders are sorted from smallest to largest.

[0090] Determine whether the current order volume m for which order printing time needs to be calculated is greater than the daily completion volume n of the order printing system;

[0091] If not, the order booking data of the sorted m orders are organized into an order booking table in the sorted order. In the order booking table, each row includes the order booking data of one order, and the current time plus the time required for the itinerary printing system to complete the remaining task amount is used as the order printing time for all orders in the order booking table;

[0092] If so, the number x of order reservation tables is determined based on the order quantity m and the multiple of the daily completion quantity n, x = [m / n] + 1, and the order reservation data of the sorted m orders are sorted in sequence into x order reservation tables. In the order reservation table, each row includes the order reservation data of an order, and the current time plus the time required for the itinerary printing system to complete the remaining task quantity is used as the order printing time for all orders in the first order reservation table. For each subsequent order reservation table, the order printing time of the previous order reservation table is added by one day as the order printing time of the order reservation table.

[0093] In this embodiment, after obtaining the order printing time by adding the current time to the time required for the itinerary printing system to complete the remaining task, the following steps are further included:

[0094] Determine whether there is a periodic delivery printing task at the order printing time, that is, determine whether a periodic delivery printing task has been scheduled on the day of the determined order printing time, to avoid conflicts between the newly added printing task and the already scheduled periodic delivery printing task, and to give priority to ensuring that the periodic delivery printing task can be completed smoothly;

[0095] If so, determine whether the task volume of the existing periodic delivery printing task is greater than the daily completion volume, that is, determine whether there is any spare time for printing other itineraries after completing the existing periodic delivery printing task on that day;

[0096] If the task volume of the existing periodic delivery printing task is less than the daily completion volume, it means that there is still spare time for printing other itineraries after completing the existing periodic delivery printing task, and the obtained order printing time remains unchanged;

[0097] If the task volume of an existing periodic delivery printing task is greater than or equal to the daily completion volume, it means that there is no spare time for printing other itineraries after completing the existing periodic delivery printing task on that day. The previously obtained order printing time is added by one day to obtain the updated order printing time, and the new order printing task is scheduled at the updated order printing time.

[0098] In this embodiment, the step S350 of calculating the order printing time according to the corresponding delivery cycle includes the following steps:

[0099] Determine the date of each delivery based on the delivery cycle and the time of the previous delivery;

[0100] The next delivery date is used as the order printing time. For example, if the delivery cycle is 1 month and the previous delivery date was the 15th of the previous month, the order printing time will be the 15th of this month. Or if there is a one-day lead time, the order printing time will be set to the 14th of this month.

[0101] In this embodiment, the step S400 of pushing the order booking data to the itinerary printing system before the order printing time includes the following steps:

[0102] Obtain the printing lead time of the itinerary printing system, for example, pre-set the printing lead time to 1 day, 2 days, 3 days, etc., that is, the time in advance when the order booking data is sent to the order printing system;

[0103] Subtract the printing lead time from the order printing time to obtain the printing push time;

[0104] When the printing push time arrives, the order booking data is pushed to the itinerary printing system. For example, if the printing lead time is 1 day, the order booking data is pushed to the itinerary printing system 1 day before the printing push time.

[0105] like Figure 4 As shown, an embodiment of the present invention further provides an itinerary push printing system for implementing the itinerary push printing method, the system comprising:

[0106] The data acquisition module M100 is used to acquire order booking data. The order booking data can be acquired from the air ticket reservation system. Specifically, the order booking data of the user's air ticket reservation is acquired. The order booking data includes at least the itinerary delivery method, the user name of the reservation order, the order amount, the order booking time, the order starting point, the order destination, the order flight number, and other data required for printing the itinerary;

[0107] A delivery determination module M200 is configured to determine a delivery method for the itinerary corresponding to the order based on the order booking data, wherein the delivery method may include no printing, one-order-one-shipping, and periodic delivery;

[0108] The time determination module M300 is configured to calculate the order printing time corresponding to the order reservation data according to the preset printing time calculation rules corresponding to the delivery method, that is, to calculate the order printing time corresponding to the order reservation data according to the printing time calculation rules corresponding to no printing, one-order-one-shipping, and periodic delivery;

[0109] The data push module M400 is used to push the order booking data to the itinerary printing system before the order printing time, wherein the order booking system pushed to the itinerary printing system includes at least the user name of the booking order, the order amount, the order booking time, the order starting point, the order end point, the order flight number and other data required for printing the itinerary.

[0110] The present invention acquires order booking data through a data acquisition module M100, automatically determines the delivery method through a delivery determination module M200, and automatically calculates the order printing time according to the printing time calculation rules through a time determination module M300. The order booking data is then pushed to the itinerary printing system by a data push module M400 before the order printing time, ensuring that the itinerary for the order is printed on time. This automates the push printing of itineraries, improves the efficiency and accuracy of itinerary printing, saves manpower, and reduces the number of repeated printings of itineraries, thereby alleviating the burden on the itinerary printing system. The itinerary push printing system of the present invention can be deployed in a server of an order management system or in a server management system of itineraries, and can accurately complete the printing and on-time delivery of large quantities of air ticket itineraries.

[0111] In this embodiment, the delivery determination module M200 determines the delivery method of the itinerary corresponding to the order based on the order booking data, including: obtaining the delivery method of the itinerary corresponding to the order from the order booking data; if the delivery method is non-printing, then determining whether the order paid by the individual is applicable to non-printing; if the delivery method is non-printing and the order paid by the individual is applicable to non-printing, then determining the delivery method of the itinerary as non-printing, that is, there is no need to print the itinerary and ending the current process; if the delivery method is non-printing and the order paid by the individual is not applicable to non-printing, then determining the delivery method as one order and one shipment; if the delivery method is periodic delivery, then determining whether the order paid by the individual is applicable to periodic delivery; if the delivery method is periodic delivery and the order paid by the individual is applicable to periodic delivery, then determining the delivery method of the itinerary as periodic printing; if the delivery method is periodic delivery and the order paid by the individual is not applicable to periodic delivery, then determining the delivery method as one order and one shipment.

[0112] In this embodiment, the time determination module calculates the order printing time corresponding to the order booking data according to the printing time calculation rules corresponding to the preset delivery method, including: judging whether the delivery method is one-order-one-shipment or periodic delivery; if the delivery method is one-order-one-shipment, then calculating the order printing time immediately; if the delivery method is periodic delivery, then obtaining the delivery address from the order booking data, querying the corresponding delivery cycle according to the delivery address, and calculating the order printing time according to the corresponding delivery cycle.

[0113] An embodiment of the present invention also provides an itinerary push printing device, comprising a processor; a memory in which executable instructions of the processor are stored; wherein the processor is configured to execute the steps of the itinerary push printing method by executing the executable instructions.

[0114] Those skilled in the art will appreciate that various aspects of the present invention may be implemented as systems, methods, or program products. Accordingly, various aspects of the present invention may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, microcode, etc.), or in a combination of hardware and software, collectively referred to herein as "circuits," "modules," or "platforms."

[0115] Refer to the following Figure 5 An electronic device 600 according to this embodiment of the present invention will be described. Figure 5 The electronic device 600 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present invention.

[0116] like Figure 5 As shown, electronic device 600 is implemented as a general-purpose computing device. Components of electronic device 600 may include, but are not limited to, at least one processing unit 610, at least one storage unit 620, a bus 630 connecting various system components (including storage unit 620 and processing unit 610), a display unit 640, and the like.

[0117] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present invention described in the above-mentioned itinerary push printing method section of this specification. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .

[0118] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .

[0119] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include an implementation of a network environment.

[0120] Bus 630 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0121] The electronic device 600 can also communicate with one or more external devices 700 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 600, and / or any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 650. Furthermore, the electronic device 600 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 660. The network adapter 660 can communicate with other modules of the electronic device 600 via the bus 630. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with the electronic device 600, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0122] In the itinerary push printing device, the program in the memory implements the steps of the itinerary push printing method when executed by the processor. Therefore, the device can also obtain the technical effects of the above-mentioned itinerary push printing method.

[0123] An embodiment of the present invention further provides a computer-readable storage medium for storing a program that, when executed by a processor, implements the steps of the itinerary receipt push printing method. In some possible implementations, various aspects of the present invention may also be implemented in the form of a program product comprising program code. When executed on a terminal device, the program code is configured to cause the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the itinerary receipt push printing method section above.

[0124] refer to Figure 6 , a program product 800 for implementing the above method according to an embodiment of the present invention is described. The program product 800 may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be executed on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0125] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The 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 thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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 thereof.

[0126] The computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. The data signal propagated may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or component. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0127] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0128] When the program in the computer storage medium is executed by the processor, the steps of the itinerary push printing method are implemented. Therefore, the computer storage medium can also obtain the technical effects of the itinerary push printing method.

[0129] The above is a further detailed description of the present invention in conjunction with specific preferred embodiments, and the specific implementation of the present invention should not be considered to be limited to these descriptions. For those skilled in the art to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, and all of these should be considered to fall within the scope of protection of the present invention.

Claims

1. A method for pushing and printing an itinerary, characterized in that: The steps include: Get order booking data; Determine the delivery method of the itinerary corresponding to the order based on the order booking data; Calculating the order printing time corresponding to the order reservation data according to the preset printing time calculation rules corresponding to the delivery method, wherein if the delivery method is one order per delivery, the order printing time is calculated immediately; Before the order printing time, the order booking data and the order printing time are pushed to the itinerary printing system; The step of immediately calculating the order printing time includes the following steps: Obtaining the remaining task volume and daily completion volume of the itinerary printing system, and calculating the time required for the itinerary printing system to complete the remaining task volume; Orders that currently need to calculate order printing time are sorted according to a preset sorting field. If the current order volume that needs to calculate order printing time is greater than the daily completion volume of the order printing system, the number of order reservation tables is determined based on the multiple of the order volume and the daily completion volume. The sorted order reservation data is sequentially organized into multiple order reservation tables. The current time is added to the time required for the itinerary printing system to complete the remaining task volume to obtain the order printing time of the first order reservation table. For each subsequent order reservation table, the order printing time of the previous order reservation table is added by one day, which is used as the order printing time of the order reservation table. The method of determining the delivery method of the itinerary corresponding to the order includes the following steps: Obtaining the delivery method of the itinerary corresponding to the order from the order booking data; If the delivery method is periodic delivery, determine whether the order paid by the individual is applicable to periodic delivery; If the delivery method is periodic delivery and the order paid by the individual is eligible for periodic delivery, the delivery method of the itinerary will be determined as periodic printing; If the delivery method is periodic delivery and the order paid by the individual is not eligible for periodic delivery, the delivery method will be determined as one-order-one-shipping; Wherein, after obtaining the order printing time by adding the current time to the time required for the itinerary printing system to complete the remaining task, the following steps are further included: Determine whether there is a periodic delivery printing task at the obtained order printing time; If yes, determine whether the task volume of the existing periodic delivery printing task is greater than the daily completion volume; If the task volume of an existing periodic delivery printing task is greater than or equal to the daily completion volume, the order printing time is added by one day to obtain the updated order printing time.

2. The itinerary push printing method according to claim 1, characterized in that: Determining the delivery method of the itinerary corresponding to the order includes the following steps: Obtaining the delivery method of the itinerary corresponding to the order from the order booking data; If the delivery method is non-printing, determine whether the order paid by individuals is applicable to non-printing; If the delivery method is non-printing and the order paid by the individual is applicable to non-printing, the delivery method of the itinerary is determined to be non-printing and the current process ends.

3. The itinerary push printing method according to claim 2, characterized in that: After determining whether the order paid by an individual is suitable for non-printing, the following steps are also included: If the delivery method is non-printing and the order for personal payment is not applicable to non-printing, the delivery method will be determined as one order, one shipment.

4. The itinerary push printing method according to claim 1, characterized in that: Calculating the order printing time corresponding to the order reservation data according to the preset printing time calculation rules corresponding to the delivery method also includes the following steps: If the delivery method is periodic delivery, the delivery address is obtained from the order reservation data, the corresponding delivery period is queried according to the delivery address, and the order printing time is calculated according to the corresponding delivery period.

5. The itinerary push printing method according to claim 4, characterized in that: Calculating the order printing time based on the corresponding delivery cycle includes the following steps: Determine the date of each delivery based on the delivery cycle and the time of the previous delivery; The next delivery date will be used as the order printing time.

6. The itinerary push printing method according to claim 1, characterized in that: Before the order printing time, the order booking data is pushed to the itinerary printing system, including the following steps: Get the printing lead time of the itinerary printing system; Subtract the printing lead time from the order printing time to obtain the printing push time; When the printing push time arrives, the order booking data is pushed to the itinerary printing system.

7. A travel itinerary push printing system, characterized in that: The system for implementing the itinerary push printing method according to any one of claims 1 to 6 comprises: Data acquisition module, used to obtain order booking data; A delivery determination module, configured to determine a delivery method for the itinerary corresponding to the order based on the order booking data; A time determination module, configured to calculate the order printing time corresponding to the order reservation data according to a preset printing time calculation rule corresponding to the delivery method; The data push module is used to push the order booking data to the itinerary printing system before the order printing time.

8. A travel itinerary push printing device, characterized in that: include: processor; a memory storing executable instructions for the processor; The processor is configured to execute the steps of the itinerary push printing method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps of the itinerary push printing method described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Order processing method, device and system

    CN111583559A