Printing task processing method and device

In the printing task processing method, differentiated printing tasks are generated according to the platform to which the pending order belongs, and the problem of slow searching orders for delivery personnel when receiving orders on multiple platforms is solved, and more efficient order distinction and printing task management is achieved.

CN119806446APending Publication Date: 2025-04-11RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411975320.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

When take-out merchants receive orders on multiple take-out platforms, delivery personnel are slow to find orders, mainly because order receipts from different platforms are difficult to distinguish.

Method used

By obtaining pending orders and determining their platform, a corresponding printing task is generated, including printing font colors to distinguish the finished printed products from different order platforms. This method controls the printing component to complete the printing task by sending a printing task to the printing component.

Benefits of technology

It improves the efficiency of order search, makes the printed products of different order platforms easy to distinguish, and at the same time improves the efficiency of using the same printing equipment to complete the printing tasks of different order platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806446A_ABST
    Figure CN119806446A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a printing task processing method and device. According to the embodiment of the invention, after a to-be-processed order is obtained, an order platform to which the to-be-processed order belongs is determined, printing font colors of at least part of to-be-printed data are determined according to the order platform to which the to-be-processed order belongs, and then a corresponding printing task is generated according to the to-be-printed data and the printing font colors. And finally, the printing task is sent to a printing assembly, so that the printing assembly prints the to-be-printed data. According to the method, the printing font color of part of the to-be-printed data is determined through the order platform to which the to-be-processed order belongs, the order platform can be bound with the printing font color, and different order platforms correspond to different printing font colors, so that printed finished products corresponding to different order platforms are convenient to distinguish; and meanwhile, printing tasks corresponding to different order platforms are completed by using the same printing equipment, so that the utilization rate of the printing equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a printing task processing method and device. Background Art

[0002] Currently, takeaway merchants can receive orders from multiple takeaway platforms, print out order receipts after receiving the orders, and attach the order receipts to the goods to be delivered to wait for delivery personnel to deliver them. Delivery personnel from different takeaway platforms check the order receipts to find the orders from the takeaway platforms they belong to. When the merchant has a large number of takeaway orders, the delivery personnel will have a slow speed in finding orders. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides a printing task processing method and device, so that the printed products corresponding to different order platforms are easy to distinguish, thereby improving the order search efficiency.

[0004] In a first aspect, a printing task processing method is provided, which is applicable to a target printing device, and the method comprises:

[0005] Get pending orders;

[0006] Determine the platform to which the pending order belongs;

[0007] Generate a corresponding printing task according to the platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0008] The printing task is sent to a printing component to control the printing component to complete the printing task.

[0009] In a second aspect, a printing task processing method is provided, which is applicable to an order platform server, and the method includes:

[0010] Get pending orders;

[0011] Generate a corresponding printing task according to the printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0012] The printing task is sent to a target printing device to control the target printing device to complete the printing task.

[0013] In a third aspect, a printing task processing method is provided, which is applicable to a target terminal, and the method includes:

[0014] Display a login page, wherein the login page includes a login control;

[0015] In response to the login control being triggered, sending the printing user account and login password obtained through the login page;

[0016] Receiving and displaying a print template setting page, the print template setting page including at least a template confirmation control;

[0017] In response to the template confirmation control being triggered, determining a corresponding printing template according to template parameters obtained through a printing template setting page, wherein the template parameters at least include a correspondence between each preset platform and a printing font color;

[0018] The printing template is sent to the target printing device and / or each order platform server.

[0019] In a fourth aspect, a printing task processing system is provided, the system comprising:

[0020] A target terminal is used to display a login page, the login page includes a login control, in response to the login control being triggered, send a printing user account and a login password obtained through the login page, receive and display a printing template setting page, the printing template setting page at least includes a template confirmation control, in response to the template confirmation control being triggered, determine a corresponding printing template according to template parameters obtained through the printing template setting page, the template parameters at least include a correspondence between each preset order platform and a printing font color, and send the printing template to a target printing device;

[0021] The target printing device is used to receive the printing template, obtain the pending order, determine the order platform to which the pending order belongs, generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed, and send the printing task to the printing component to control the printing component to complete the printing task.

[0022] In a fifth aspect, a printing task processing system is provided, the system comprising:

[0023] A target terminal, used for displaying a login page, the login page including a login control, in response to the login control being triggered, sending a printing user account and a login password obtained through the login page, receiving and displaying a printing template setting page, the printing template setting page at least including a template confirmation control, in response to the template confirmation control being triggered, determining a corresponding printing template according to template parameters obtained through the printing template setting page, the template parameters at least including a correspondence between each preset order platform and a printing font color, and sending the printing template to each order platform server;

[0024] The order platform server is used to obtain the pending order, generate a corresponding printing task according to the received printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed, and send the printing task to the target printing device to control the target printing device to complete the printing task;

[0025] The target printing device is used to receive the printing task and print the corresponding data to be printed on the printing carrier in the printing font color to complete the printing task.

[0026] In a sixth aspect, a printing task processing device is provided, which is applicable to a target printing device, and the device includes:

[0027] The acquisition module is used to obtain pending orders;

[0028] A determination module, used to determine the platform to which the pending order belongs;

[0029] A generating module, configured to generate a corresponding printing task according to the platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0030] The sending module is used to send the printing task to the printing component to control the printing component to complete the printing task.

[0031] In a seventh aspect, a printing task processing device is provided, which is applicable to an order platform server, and the device comprises:

[0032] The acquisition module is used to obtain pending orders;

[0033] A generating module, used for generating a corresponding printing task according to the printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0034] The sending module is used to send the printing task to the target printing device to control the target printing device to complete the printing task.

[0035] In an eighth aspect, a printing task processing device is provided, which is applicable to a target terminal, and the device includes:

[0036] A display module, used to display a login page, wherein the login page includes a login control;

[0037] A first sending module, configured to send a printing user account and a login password obtained through a login page in response to the login control being triggered;

[0038] A receiving module, used for receiving and displaying a print template setting page, wherein the print template setting page at least includes a template confirmation control;

[0039] A determination module, configured to determine a corresponding printing template according to template parameters obtained through a printing template setting page in response to the template confirmation control being triggered, wherein the template parameters at least include a correspondence between each preset order platform and a printing font color;

[0040] The second sending module is used to send the printing template to the target printing device and / or each order platform server.

[0041] In a ninth aspect, an electronic device is provided, comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method described in the first aspect, the second aspect or the third aspect above.

[0042] In a tenth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method described in the first aspect, the second aspect or the third aspect is implemented.

[0043] In an eleventh aspect, a computer program product is provided, comprising a computer program / instruction, wherein when the computer program / instruction is executed by a processor, the method described in the first aspect, the second aspect or the third aspect is implemented.

[0044] After obtaining the pending order, the embodiment of the present invention determines the order platform to which the pending order belongs, and determines the print font color of at least part of the data to be printed according to the order platform to which the pending order belongs, and then generates a corresponding print task according to the data to be printed and the print font color, and finally sends the print task to the print component so that the print component prints the data to be printed. In the above method, the print font color of part of the data to be printed is determined by the order platform to which the pending order belongs, and the order platform and the print font color can be bound. Different order platforms have different print font colors, so that the printed products corresponding to different order platforms are easy to distinguish. At the same time, the same printing device is used to complete the printing tasks corresponding to different order platforms, which can improve the utilization rate of the printing device. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0046] Figure 1 is a schematic diagram of a printing task processing system according to an embodiment of the present invention;

[0047] Figure 2A flowchart of the pre-processing of a printing task according to an embodiment of the present invention;

[0048] Figure 3 A schematic diagram of a user account binding page according to an embodiment of the present invention;

[0049] Figure 4 A schematic diagram of a device management page according to an embodiment of the present invention;

[0050] Figure 5 A schematic diagram of a print template setting page according to an embodiment of the present invention;

[0051] Figure 6 is a flow chart of a printing task interaction method according to an embodiment of the present invention;

[0052] Figure 7 is a flow chart of a printing task interaction method according to an embodiment of the present invention;

[0053] Figure 8 is a flow chart of a printing task interaction method according to an embodiment of the present invention;

[0054] Fig. 9 A flowchart of a print task processing method applicable to a server according to an embodiment of the present invention;

[0055] Fig.10 A flowchart of a method for processing a printing task applicable to a target printing device according to an embodiment of the present invention;

[0056] Fig.11 A flowchart of a method for processing a printing task applicable to a target printing device according to an embodiment of the present invention;

[0057] Fig.12 It is a flow chart of a method for processing a printing task applicable to a target terminal according to an embodiment of the present invention;

[0058] Fig.13 A flowchart of a method for processing a printing task applicable to a target printing device according to an embodiment of the present invention;

[0059] Fig.14 A schematic diagram of a print task processing device applicable to a server according to an embodiment of the present invention;

[0060] Fig.15 It is a schematic diagram of a printing task processing device applicable to an order platform server according to an embodiment of the present invention;

[0061] Fig.16 It is a schematic diagram of a print task processing device applicable to a target terminal according to an embodiment of the present invention;

[0062] Fig.17 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0063] The present application is described below based on embodiments, but the present application is not limited to these embodiments. In the detailed description of the present application below, some specific details are described in detail. It is possible for those skilled in the art to fully understand the present application without the description of these details. In order to avoid confusing the essence of the present application, known methods, processes, flows, components and circuits are not described in detail.

[0064] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.

[0065] Unless the context clearly requires otherwise, the words "include", "comprising" and similar words throughout the application should be interpreted as including rather than exclusive or exhaustive; that is, the meaning is "including but not limited to".

[0066] In the description of this application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" is two or more.

[0067] The solutions described in this specification and the embodiments, if they involve the processing of personal information and surveying and mapping information, will be processed on the premise of having a legal basis (such as obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, or complying with the provisions of laws and administrative regulations, etc.), and will only be processed within the scope of regulations or agreements. The user's refusal to process personal information other than the necessary information for basic functions will not affect the user's use of basic functions.

[0068] The embodiments of the present invention are applicable to any printing scenario that provides an editable printing template and distinguishes different platforms or purposes based on the color parameters of the printing template. For example, printing order receipts for different food delivery platforms, printing tickets for different membership levels, printing different types of consumption coupons, and so on. The following is an example of printing order receipts for different food delivery platforms. At present, food delivery order receipts are usually printed using a thermal printer. A thermal printer is a functional electronic device with the advantages of small space occupation, convenient operation, high stability, low failure rate, high printing efficiency, single consumables, and economical cost. The thermal printer in the embodiment of the present invention is a thermal printer that can print in multiple colors, and is adapted to thermal printing paper that can print in multiple colors.

[0069] Figure 1 FIG. 1 is a schematic diagram of a printing task processing system according to an embodiment of the present invention. Figure 1As shown, the printing task processing system includes a printing platform server 11, a target terminal 12, a target printing device 13 and an order platform server 14.

[0070] In this embodiment, the target terminal 12 is a universal terminal for running the application or applet corresponding to the takeaway platform and the printing platform, for example, the terminal can be a terminal device such as a mobile phone, a computer or a tablet computer. In some embodiments, the target terminal 12 can also be a dedicated terminal with an application solidified in a dedicated integrated circuit. Among them, the open platform enables third-party developers to develop their own applet based on the open platform by providing an application programming interface (Application Programming Interface, API) to third-party developers. The applet can specifically be a program developed on the basis of the application in the takeaway platform and used to perform corresponding operations. The target terminal 12 is a terminal device used or held by the platform merchant, which can be used to determine the printing template based on human-computer interaction. The target printing device 13 is a thermal printer capable of multi-color printing, which is used to complete the printing task in a controlled manner. The order platform server 14 is a server corresponding to the takeaway platform application or applet. The printing platform server 11 is a server corresponding to the printing platform application or applet. In the pre-processing stage of the printing task, the target terminal 12 interacts with multiple items of the printing platform server 11, the target printing device 13 and the order platform server 14 through the network to determine the user account binding relationship, the printing device binding relationship and the printing template. The target terminal 12 interacts with the order platform servers 14 corresponding to the multiple order platforms to complete the order user account registration and login, and turns on automatic order acceptance on each order platform. The target terminal 12 interacts with the printing platform server 11 to complete the printing user account registration and login.

[0071] Determining the user account binding relationship includes: the target terminal 12 displays the user account binding page, obtains the binding relationship between the printing user account and the order-taking user accounts corresponding to multiple order platforms through human-computer interaction based on the user account binding page, and sends the user account binding relationship to the printing platform server 11 or the target printing device 13.

[0072] Determining the printing device binding relationship includes: the target terminal 12 interacts with the printing platform server 11 to determine the printing device binding relationship. Specifically, the target terminal 12 displays a device management page, and obtains a printing device identifier input by a user through human-computer interaction based on the device management page. The printing device identifier may be a printing device number or a printing device hardware address, etc. Determine the binding relationship between the printing device corresponding to the printing device identifier input by the user and the printing user account, and send the printing device binding relationship to the printing platform server 11 or the target printing device 13.

[0073] Determining the printing template includes: the target terminal 12 displays a login page. The login information is obtained through human-computer interaction based on the above login page, and the login information at least includes the printing user account and login password, and then the login information is sent to the printing platform server 11, the target printing device 13 and / or the order platform server 14. The printing platform server 11, the target printing device 13 and / or the order platform server 14 perform login verification according to the login information, and if the login verification is successful, send the printing template setting page to the target terminal 12. The target terminal 12 displays the printing template setting page, and obtains template parameters through human-computer interaction based on the printing template setting page, and the template parameters at least include the printing font color. Then, the printing template is determined according to the template parameters, and the printing template is sent to the printing platform server 11, the target printing device 13 and / or the order platform server 14.

[0074] The above-mentioned user account binding relationship, printing device binding relationship and printing template determination process are isolated from each other, that is, the user account binding relationship, printing device binding relationship and printing template determination process are not prioritized.

[0075] It should be understood that the above-mentioned pre-processing stage is used to determine the user account binding relationship, the printing device binding relationship and the printing template. If the user account binding relationship, the printing device binding relationship and the printing template and other information already exist, when processing the acquired pending order, only the following printing task generation stage and printing task execution stage can be executed.

[0076] In a possible implementation, the printing platform server 11 performs the task of determining the printing font color of the data corresponding to the order to be processed.

[0077] In the printing task generation stage, after the order platform server 14 generates the pending order, it sends the processed order to the printing platform server 11 through the order platform interface. After obtaining the pending order, the printing platform server 11 determines the order platform to which the pending order belongs, and, based on the printing template corresponding to the printing user account, the printing template at least includes the correspondence between each preset order platform and the printing font color, and then determines the printing font color based on the order platform to which the pending order belongs and the correspondence between each preset order platform and the printing font color. Finally, based on the printing font color and the data to be printed carried by the pending order, a corresponding printing task is generated, and the printing task at least includes the printing font color of part of the data to be printed.

[0078] In the print task execution phase, the target printing device 13 completes the print task by interacting with the print platform server 11. Specifically, the print platform server 11 sends the print task to the target printing device 13, and the target printing device 13 parses the received print task, determines the data to be printed and the print template, fills the data to be printed into the corresponding multiple print areas according to the print template parameters, obtains the print content, and then prints the print content on the print carrier, thereby completing the print task.

[0079] In a possible implementation, the target printing device 13 performs the task of determining the printing font color of the data corresponding to the order to be processed.

[0080] In the printing task generation stage, after the order platform server 14 generates the pending order, it sends the processed order to the target printing device 13. After obtaining the pending order, the target printing device 13 determines the order platform to which the pending order belongs, and, based on the printing template corresponding to the printing user account, the printing template at least includes the correspondence between each preset order platform and the printing font color. Then, based on the order platform to which the pending order belongs and the correspondence between each preset order platform and the printing font color, the printing font color is determined. Finally, based on the printing font color and the data to be printed carried by the pending order, a corresponding printing task is generated, and the printing task at least includes the printing font color of part of the data to be printed.

[0081] During the print task execution phase, the processing component of the target printing device 13 sends the print task to the printing component so that the printing component completes the print task.

[0082] In a possible implementation, the order platform server 14 performs the task of determining the printing font color of the data corresponding to the order to be processed.

[0083] After receiving the printing template, the order platform server 14 determines or updates the printing font color corresponding to the order platform.

[0084] In the printing task generation stage, after the order platform server 14 generates the pending order, it further generates a corresponding printing task based on the data to be printed and the printing font color carried by the pending order, and the printing task at least includes the printing font color of part of the data to be printed.

[0085] In the print task execution phase, the order platform server 14 completes the print task by interacting with the target printing device 13. Specifically, the order platform server 14 sends the print task to the target printing device 13, and the target printing device 13 parses the received print task, determines the data to be printed and the print template, fills the data to be printed into the corresponding multiple print areas according to the print template parameters, obtains the print content, and then prints the print content on the print carrier, thereby completing the print task.

[0086] Optionally, the order platform server 14 may send the print task to the target printing device 13 through the print platform server 11. Specifically, the order platform server 14 sends the print task to the print platform server 11, and then the print platform server 11 sends the print task to the target printing device 13.

[0087] After obtaining the pending order, the system of the embodiment of the present invention determines the order platform to which the pending order belongs, and determines the print font color of at least part of the data to be printed according to the order platform to which the pending order belongs, and then generates a corresponding print task according to the data to be printed and the print font color, and finally sends the print task to the target printing device so that the target printing device prints the data to be printed. In the above method, the print font color of part of the data to be printed is determined by the order platform to which the pending order belongs, and the order platform and the print font color can be bound. Different order platforms have different print font colors, so that the printed products corresponding to different order platforms are easy to distinguish. At the same time, the same printing device is used to complete the print tasks corresponding to different order platforms, which can improve the utilization rate of the printing device. Figure 2 FIG. 1 is a flow chart of a method for generating a printing template according to an embodiment of the present invention. Figure 2 As shown, the printing template generation method includes the following steps:

[0088] Step S201, the printing platform server requests the order platform server to access the corresponding platform interface;

[0089] Step S202: the order platform server agrees to the access request of the printing platform server.

[0090] The above-mentioned printing platform server generally refers to servers corresponding to multiple printing platforms.

[0091] The above steps S201-S202 are used to enable the printing platform to access multiple printing platforms through a technical interface (API). That is, the printing platform server can establish a technical interface (API) connection with the printing platform servers corresponding to multiple food delivery platforms. These APIs allow the server to automatically obtain pending orders, and the pending orders carry corresponding order information. The order information at least includes the order number, order time, customer information, product details, payment status, etc. Optionally, the order information may also include the order platform identifier.

[0092] Step S203: the target terminal displays a user account binding page.

[0093] Specifically, the takeaway merchant registers and logs in to the corresponding order-taking user accounts on multiple takeaway platforms, and registers and logs in to the printing user account on the printing platform, where the printing platform can be a merchant order management platform. The takeaway merchant holds the target terminal, and the target terminal displays the user account binding page.

[0094] Figure 3 FIG. 1 is a schematic diagram of a user account binding page according to an embodiment of the present invention. Figure 3 As shown, the user account binding page 300 includes a printing user account display control 310 , an order user account input control 320 and an account binding control 330 .

[0095] The printing user account display control 310 is used to display the current printing user account.

[0096] The order user account input control 320 is used to obtain the order user account. The order user account input control 320 also includes an order platform input sub-control 321, an order user account input sub-control 322, and an order user account addition sub-control 323. The order platform input sub-control 321 is used to obtain the order platform input by the user. The order user account input sub-control 322 is used to obtain the order user account in the corresponding order platform input by the user. The order user account addition sub-control 323 is used to add a new order user account input sub-control after being triggered.

[0097] The account binding control 330 is used to determine the binding relationship between the printing user account and multiple order-taking user accounts after being triggered, and send the binding relationship to the printing platform server.

[0098] Step S204: the target terminal obtains the binding relationship between the printing user account and multiple order-taking user accounts.

[0099] Specifically, the target terminal obtains the user account binding relationship through human-computer interaction based on the user account binding page, wherein the user account binding relationship is the binding relationship between the printing user account and the plurality of order-taking user accounts.

[0100] Step S205: the target terminal sends the user account binding relationship to the printing platform server.

[0101] Step S206: the target terminal displays a device management page.

[0102] Figure 4 FIG. 1 is a schematic diagram of a device management page according to an embodiment of the present invention. Figure 4 As shown, the device management page 400 includes a plurality of printing device input controls 410 , a printing device adding control 420 , and a device binding control 430 .

[0103] Among them, the printing device input control 410 is used to display the printing device identification and the corresponding hardware address. After being triggered, the printing device input control 410 switches the state to an editable state. After being triggered, the printing device input control 410 in the editable state is used to receive the hardware address input by the user. The printing device input control 410 in the non-editable state can be selected. The printing device adding control 420 is used to add a new printing device input control after being triggered. The device binding control 430 is used to bind the printing device corresponding to the selected printing device input control 402 to the printing user account after being triggered.

[0104] Step S207: the target terminal obtains the binding relationship between the printing user account and the printing device.

[0105] Specifically, the target terminal obtains the printing device binding relationship through human-computer interaction based on the device management page, wherein the printing device binding relationship is the binding relationship between the printing user account and the printing device.

[0106] Step S208: the target terminal sends the printing device binding relationship to the printing platform server.

[0107] Step S209: the target terminal displays a login page.

[0108] Wherein, the login page is a printing account login page. The printing account login page is a login page on the printing platform corresponding application or applet. The login page at least includes a printing user account input control, a printing account password input control and a login control. The printing user account input control is used to receive the printing user account input by the user, and the printing account password input control is used to receive the password corresponding to the printing user account (hereinafter referred to as the login password). The login control is used to send the acquired login information to the printing platform server (hereinafter referred to as the server) after being triggered. The login information at least includes the printing user account and the login password. In addition, the login page may also include controls such as a verification code input control, a verification image click control, and a face recognition trigger control for assisting login security. Correspondingly, the login information may also include information such as a verification code and a face image.

[0109] Step S210: The target terminal obtains login information.

[0110] Specifically, the login information is obtained through human-computer interaction based on the above login page, that is, the merchant holds the target terminal and enters the login information on the login page displayed by the target terminal, including at least printing the user account and login password, and then clicks the login control. In response to monitoring that the login control is triggered, the login information is obtained.

[0111] Step S211: the target terminal sends the login information to the printing platform server.

[0112] Step S212: the printing platform server performs login verification according to the login information.

[0113] If the login verification fails, it means that the printing user account login fails, and the printing platform server can send a login failure prompt message to the target terminal to prompt the user to re-confirm the login information such as the printing user account and login password. If the login verification passes, go to step S213.

[0114] Step S213: the printing platform server sends a login success prompt message to the target terminal.

[0115] Specifically, the server sends a login success prompt message or prints a template setting page to the target terminal.

[0116] Step S214: the target terminal displays a print template setting page.

[0117] Specifically, the target terminal directly displays the received print template setting page on the current page, or, in response to receiving a prompt message indicating successful login, automatically jumps from the login page to the print template setting page.

[0118] Figure 5 Schematic diagram of a print template setting page according to an embodiment of the present invention. Figure 5 As shown, the print template setting page 500 includes a print template display container 510 , a template parameter editing container 520 and a print template determination control 530 .

[0119] The print template display container 510 is used to display the current print template. There are multiple editable areas in the print template. Taking the takeaway order receipt template as an example, the editable areas of the print template may include a merchant name area, a note area, a meal item area, a date area, and an information code display area. In response to the editable area being triggered, the template parameter editing container corresponding to the editable area is displayed.

[0120] The template parameter editing container 520 is used to display the template parameters of the selected editable area. The template parameter editing container 520 includes multiple template parameter controls, such as an area position setting control 521, a data parameter setting control 522, and an information code switching control 523. The area position setting control 521 receives the location information input by the user after being triggered. The data parameter setting control 522 is used to set the data parameters, which at least include the print font color, and in addition, may also include the print font and print font size. The information code switching control 523 is used to determine the information code type, which includes a QR code and a barcode.

[0121] The print template determination control 530 is used to save the current template parameters after being triggered, and determine the corresponding print template according to the template parameters.

[0122] Step S215: the target terminal obtains template parameters to determine the printing template.

[0123] Specifically, template parameters are obtained through human-computer interaction based on the above-mentioned print template setting page. The template parameters at least include print font color. In addition, the template parameters may also include print font size, print font type, template area layout, template area position and other parameters.

[0124] Among them, the above steps S203-S205 are the process of determining the user account binding relationship, the above steps S206-S208 are the process of determining the printing device binding relationship, and the above steps S209-S215 are the process of determining the printing template. The above three processes are independent of each other and the execution order is not specific, that is, the above three processes can be performed simultaneously or in any order. After determining the printing template, the target terminal sends the printing template to the printing platform server, the order platform server and / or the target printing device.

[0125] After completing the above pre-processing, you can enter the print task processing stage.

[0126] Figure 6 FIG. 1 is a flow chart of a print task interaction method according to an embodiment of the present invention. Figure 6 As shown, the printing task interaction method includes the following steps:

[0127] Step S601: the order platform server sends an order to be processed to the printing platform server.

[0128] After establishing an interface between the order platform server and the printing platform server through steps S201-S202, and determining the binding relationship between the printing user account and the order-taking user account through steps S203-S205, the order platform server generates the corresponding pending order and sends the pending order to the printing platform server through the interface, so that the printing platform server can manage and process the order.

[0129] Step S602: The printing platform server determines the order platform to which the order to be processed belongs.

[0130] In a possible implementation manner, the pending order carries a corresponding order platform identifier, and the order platform to which the pending order belongs can be directly determined according to the order platform identifier.

[0131] In a possible implementation, the order platform may also be determined through an acquisition interface of the pending order. Specifically, the acquisition interface of the pending order is determined, and the order platform to which the pending order belongs is determined according to the acquisition interface.

[0132] Step S603: the printing platform server determines the printing template corresponding to the printing user account.

[0133] Wherein, the printing template at least includes the corresponding relationship between each preset order platform and the printing font color.

[0134] Specifically, the print template bound to the printing user account is determined as the print template to be used next. If the printing user account is bound to only one print template, the print template is determined as the print template to be used next. If the printing user account is bound to multiple print templates, the print template to be used next is selected from the multiple print templates, and the selection method may be selection according to the priority of the print template, random selection, or other selection methods. Different preset order platforms correspond to different print font colors. Exemplarily, the correspondence between each preset order platform and the print font color can be preset platform 1-red, preset platform 2-blue, preset platform 3-yellow,...

[0135] In a possible implementation, the print font color is the print font color corresponding to all print areas in the print template. That is to say, all the data to be printed are printed on the print carrier in the print font color. Still taking the correspondence between the above-mentioned preset order platform and the print font color as an example, the text on the takeaway order receipt corresponding to preset platform 1 is all red, the text on the takeaway order receipt corresponding to preset platform 2 is all blue, the text on the takeaway order receipt corresponding to preset platform 3 is all yellow, etc. All the data to be printed are printed on the print carrier in the print font color, which makes it easier to distinguish orders from different order platforms.

[0136] In a possible implementation, the printing font color is the printing font color corresponding to the partial printing area in the printing template. That is to say, part of the data to be printed is printed on the printing carrier in the printing font color, and part of the data can be the name of the order platform or the logo image of the order platform, etc., which can be used to distinguish different order platforms. Other data except part of the data can be printed on the printing carrier in the default font color. Taking the correspondence between the above-mentioned preset order platform and the printing font color as an example, the name and logo image of the order platform on the takeaway order receipt corresponding to the preset platform 1 are red, and other data are default black. Due to the insufficient color contrast between some printing font colors and the color of the printing carrier, the data to be printed is not easy to be recognized when printed on the printing carrier in the printing font color, such as the clarity of yellow text on white printing paper is not as good as the clarity of black text on white printing paper. Therefore, part of the data to be printed is printed on the printing carrier in the printing font color, and other data is printed on the printing carrier in the default font color. While distinguishing orders from different order platforms, it can ensure that other information on the takeaway order receipt is sufficiently eye-catching, which is convenient for takeaway delivery personnel to check other order information such as order numbers.

[0137] Step S604: The printing platform server determines the printing font color according to the order platform to which the pending order belongs and the printing template.

[0138] Specifically, determine whether the order platform to which the pending order belongs is the preset platform in the printing template. In response to the order platform to which the pending order belongs being the preset order platform, determine the printing font color as the printing font color corresponding to the preset order platform. In response to the order platform to which the pending order belongs being a non-preset order platform, determine the printing font color as the default printing font color. For example, if the order platform to which the pending order belongs is platform 1, then according to the correspondence between the preset order platform and the printing font color included in the printing template, it can be known that platform 1 belongs to the preset platform, and the printing font color corresponding to the preset platform 1 is red. If the order platform to which the pending order belongs is platform 4, and there is no printing font color corresponding to the preset platform 4 in the correspondence between the preset order platform and the printing font color, then the printing font color can be determined as the default printing font color, such as black. The default printing font color can be set arbitrarily according to user needs.

[0139] Step S605: the printing platform server generates a corresponding printing task according to the printing font color and the to-be-printed data carried by the to-be-processed order.

[0140] Specifically, the printing task should include the data to be printed and the template parameters corresponding to the printing template. The template parameters at least include the printing font color. In addition, they may also include information such as font size, font type, area layout, and location of each area.

[0141] Step S606: the printing platform server determines the target printing device.

[0142] Specifically, the printing device bound to the printing user account is determined as the target printing device to be used next. If the printing user account is bound to only one printing device, the printing device is determined as the target printing device. If the printing user account is bound to multiple printing devices, the target printing device is selected from the multiple printing devices, and the selection method can be selection according to priority, random selection, or other selection methods.

[0143] Step S607: the printing platform server sends the printing task to the target printing device.

[0144] Step S608: The target printing device parses the received printing task.

[0145] Specifically, the printing device parses the received printing task, and the parsing result at least includes the data to be printed and the printing font color.

[0146] Step S609: the target printing device prints the data to be printed, thereby completing the printing task.

[0147] Specifically, the data to be printed is printed on a printing carrier in the printing font color to complete the printing task.

[0148] The interactive method of the embodiment of the present invention can process the pending order after determining the pre-information such as the printing template, the user account binding relationship, and the printing device binding relationship. After obtaining the pending order, the order platform to which the pending order belongs is determined, and the printing font color of at least part of the data to be printed is determined according to the order platform to which the pending order belongs, and then the corresponding printing task is generated according to the data to be printed and the printing font color, and finally the printing task is sent to the target printing device so that the target printing device prints the data to be printed. In the above method, the printing font color of part of the data to be printed is determined by the order platform to which the pending order belongs, and the order platform can be bound to the printing font color. The printing font colors corresponding to different order platforms are different, so that the printed products corresponding to different order platforms are easy to distinguish. By distinguishing different order platforms by the printing font color, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0149] Figure 7 FIG. 1 is a flow chart of a print task interaction method according to an embodiment of the present invention. Figure 7 As shown, the printing task interaction method includes the following steps:

[0150] Step S701: the order platform server sends a pending order to a target printing device.

[0151] Step S702: The target printing device determines the order platform to which the order to be processed belongs.

[0152] In a possible implementation manner, the pending order carries a corresponding order platform identifier, and the order platform to which the pending order belongs can be directly determined according to the order platform identifier.

[0153] In a possible implementation, the order platform may also be determined through an acquisition interface of the pending order. Specifically, the acquisition interface of the pending order is determined, and the order platform to which the pending order belongs is determined according to the acquisition interface.

[0154] Step S703: The target printing device determines the printing template corresponding to the printing user account.

[0155] The process of determining the printing template is similar to the corresponding content of the above step S603, and will not be repeated here.

[0156] Step S704: The target printing device determines the printing font color according to the order platform to which the pending order belongs and the printing template.

[0157] The process of determining the printing font color is similar to the corresponding content of the above step S703, and will not be repeated here.

[0158] Step S705: The target printing device generates a corresponding printing task according to the printing font color and the data to be printed carried by the order to be processed.

[0159] Specifically, the printing task should include the data to be printed and the template parameters corresponding to the printing template. The template parameters at least include the printing font color. In addition, they may also include information such as font size, font type, area layout, and location of each area.

[0160] Step S706: the target printing device prints the data to be printed, thereby completing the printing task.

[0161] Specifically, the data to be printed is printed on a printing carrier in the printing font color to complete the printing task.

[0162] The interactive method of the embodiment of the present invention determines the print font color of part of the data to be printed by the order platform to which the pending order belongs, and can bind the order platform with the print font color. Different order platforms correspond to different print font colors, making it easy to distinguish the printed products corresponding to different order platforms. By distinguishing different order platforms by print font colors, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0163] Figure 8 FIG. 1 is a flow chart of a print task interaction method according to an embodiment of the present invention. Figure 8 As shown, the printing task interaction method includes the following steps:

[0164] Step S801, the order platform server determines the printing font color.

[0165] Specifically, the printing font color corresponding to the order platform is determined according to the received printing template.

[0166] Step S802: the order platform server obtains the order to be processed.

[0167] Step S803: the order platform server generates a corresponding printing task according to the to-be-printed data and the printing font color carried by the to-be-processed order.

[0168] Specifically, the printing task should include the data to be printed and the template parameters corresponding to the printing template. The template parameters at least include the printing font color. In addition, they may also include information such as font size, font type, area layout, and location of each area.

[0169] Step S804: the order platform server determines the target printing device.

[0170] The process of determining the target printing device is similar to the above step 606 and will not be described in detail here.

[0171] Step S805: the order platform server sends the print task to the target printing device.

[0172] Step S806: the order platform server parses the received printing task.

[0173] Specifically, the printing device parses the received printing task, and the parsing result at least includes the data to be printed and the printing font color.

[0174] Step S807: the target printing device prints the data to be printed, thereby completing the printing task.

[0175] Specifically, the data to be printed is printed on a printing carrier in the printing font color to complete the printing task.

[0176] The interactive method of the embodiment of the present invention determines the print font color of part of the data to be printed by the order platform to which the pending order belongs, and can bind the order platform with the print font color. Different order platforms correspond to different print font colors, making it easy to distinguish the printed products corresponding to different order platforms. By distinguishing different order platforms by print font colors, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0177] Fig. 9 FIG. 1 is a flow chart of a method for processing a print task applicable to a server according to an embodiment of the present invention. Fig. 9 As shown, the print task processing method applicable to the server includes the following steps:

[0178] Step S901, obtaining orders to be processed.

[0179] The pending orders are takeout orders. Before obtaining the pending orders, pre-operations such as obtaining the user account binding relationship, obtaining the printing device binding relationship, and obtaining the printing template should be performed.

[0180] Specifically, the user account binding relationship, printing device binding relationship and printing template can be obtained through human-computer interaction on the target terminal side. For details, see Figure 3 , Figure 4 and Figure 5 The server can request the target terminal to obtain the user account binding relationship, printing device binding relationship and printing template.

[0181] Exemplarily, the method for obtaining the print template may be: in response to detecting that the target terminal logs in to the print user account, sending a print template setting page to the target terminal, and receiving the print template obtained by the target terminal through the print template setting page. Specifically, in response to receiving the login information sent by the target terminal, the login information at least includes the print user account and the login password. Login verification is performed according to the login information. If the login verification fails, it means that the login of the print user account has failed. The server may send a login failure prompt message to the target terminal to prompt the user to re-determine the login information such as the print user account and the login password. If the login verification passes, a login success prompt message is sent to the target terminal to make the target terminal jump from the login page to the print template setting page, or a print template setting page is sent to the target terminal so that the target terminal displays the print template setting page. Finally, the print template determined by the target terminal according to the print template setting page is received.

[0182] After completing the above pre-operations, the pending orders can be obtained through the interface of the food delivery platform. Specifically, the pending orders can be obtained through multiple order platforms bound to the printing user account, and the printing user account is bound to the corresponding order-receiving user account of each order platform. In other words, the pending orders can be obtained from multiple food delivery platforms connected to the server.

[0183] Specifically, the pending orders are obtained through multiple order platforms bound to the printing user account, and the printing user account is bound to the corresponding order-receiving user account of each order platform. In other words, the server can establish a technical interface (API) connection with multiple food delivery platforms, and these APIs allow the server to automatically obtain pending orders. The pending orders carry corresponding order information, and the order information at least includes the order number, order time, customer information, product details, payment status, etc. Optionally, the order information may also include the order platform identifier.

[0184] Step S902, determining the order platform to which the pending order belongs.

[0185] In a possible implementation, the order platform may be determined through an acquisition interface of the pending order. Specifically, the acquisition interface of the pending order is determined, and the order platform to which the pending order belongs is determined according to the acquisition interface.

[0186] In a possible implementation manner, the pending order carries a corresponding order platform identifier, and the order platform to which the pending order belongs can be directly determined according to the order platform identifier.

[0187] Step S903: Generate a corresponding printing task according to the order platform to which the pending order belongs and the to-be-processed data carried by the pending order.

[0188] The data to be printed may be the order information. The printing task at least includes the printing font color of part of the data to be printed. The printing font color may be the printing font color corresponding to all or part of the printing area in the printing template. The printing task generation method may be described in detail in Figure 6 The flowchart of the printing task generation method shown in FIG. Figure 6 The corresponding description content will not be repeated here.

[0189] Step S904: sending the print task to the target printing device to control the target printing device to complete the print task.

[0190] Before step S904, the method may further include determining a corresponding target printing device according to the printing user account. Specifically, the printing device bound to the printing user account is determined as the target printing device to be used next.

[0191] In a possible implementation, the target printing device is a thermal printer. Step S904 may specifically include: sending the printing task to the thermal printer to control the print head temperature of the thermal printer so that the data to be printed is printed on thermal printing paper in a corresponding printing font color.

[0192] Detailed description of each step in the above method can be found in Figure 2 The corresponding steps will not be repeated here.

[0193] After obtaining the pending order, the embodiment of the present invention determines the order platform to which the pending order belongs, and determines the print font color of at least part of the data to be printed according to the order platform to which the pending order belongs, and then generates a corresponding print task according to the data to be printed and the print font color, and finally sends the print task to the target printing device so that the target printing device prints the data to be printed. In the above method, the print font color of part of the data to be printed is determined by the order platform to which the pending order belongs, and the order platform and the print font color can be bound. Different order platforms have different print font colors, so that the printed products corresponding to different order platforms are easy to distinguish. By distinguishing different order platforms by the print font color, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0194] Fig.10 FIG. 1 is a flow chart of a method for processing a print task applicable to a target printing device according to an embodiment of the present invention. Fig.10 As shown, the print task processing method applicable to the target printing device includes the following steps:

[0195] Step S1001, obtaining orders to be processed.

[0196] Among them, pending orders are pending takeout orders.

[0197] The target printing device has established communication with each order platform server in advance, and the target printing device can automatically receive the pending orders. The specific method of obtaining the pending orders is similar to the above embodiment, and will not be repeated here.

[0198] Step S1002, determining the order platform to which the pending order belongs.

[0199] Step S1003: Generate a corresponding printing task according to the order platform to which the pending order belongs and the to-be-processed data carried by the pending order.

[0200] Step S1004: sending the print task to the target printing device to control the target printing device to complete the print task.

[0201] The detailed description of each step in the above method can be found in the corresponding steps of the above embodiment, which will not be repeated here.

[0202] The embodiment of the present invention determines the print font color of part of the data to be printed by the order platform to which the pending order belongs, and can bind the order platform with the print font color. The print font colors corresponding to different order platforms are different, making it easy to distinguish the printed products corresponding to different order platforms. By distinguishing different order platforms by the print font colors, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0203] Fig.11 FIG. 1 is a flow chart of a method for processing a print task applicable to a target printing device according to an embodiment of the present invention. Fig.11 As shown, the print task processing method applicable to the target printing device includes the following steps:

[0204] Step S1101, obtaining orders to be processed.

[0205] Among them, pending orders are pending takeout orders.

[0206] Step S1102, generating a corresponding printing task according to the printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed.

[0207] Step S1103: Generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order.

[0208] Step S1104: sending the print task to the target printing device to control the target printing device to complete the print task.

[0209] The detailed description of each step in the above method can be found in the corresponding steps of the above embodiment, which will not be repeated here.

[0210] The embodiment of the present invention determines the print font color of part of the data to be printed by the order platform to which the pending order belongs, and can bind the order platform with the print font color. The print font colors corresponding to different order platforms are different, making it easy to distinguish the printed products corresponding to different order platforms. By distinguishing different order platforms by the print font colors, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0211] Fig.12 FIG. 1 is a flow chart of a method for processing a printing task applicable to a target terminal according to an embodiment of the present invention. Fig.12 As shown, the printing task processing method applicable to the target terminal includes the following steps:

[0212] Step S1201, displaying a login page, wherein the login page includes a login control.

[0213] The login page is a printing account login page. The printing account login page is a login page on the corresponding application or applet of the printing platform. In addition to the login control, the login page also includes a printing user account input control and a printing account password input control to obtain the corresponding printing user account and login password respectively.

[0214] Step S1202, in response to the login control being triggered, sending the printing user account and login password obtained through the login page.

[0215] Step S1203, receiving and displaying a print template setting page.

[0216] In a possible implementation, a print template setting page sent by a server is received and displayed on a current page.

[0217] In a possible implementation, a successful login prompt message sent by the server is received, and the page automatically jumps from the login page to the print template setting page.

[0218] The printing template setting page at least includes a template confirmation control and a font color setting control. The corresponding relationship between each preset order platform input by the user and the printing font color is obtained through the font color setting control.

[0219] For example, the print template settings page can be found at Figure 5 .

[0220] Step S1204, in response to the template confirmation control being triggered, determining a corresponding printing template according to template parameters obtained through a printing template setting page, wherein the template parameters at least include a correspondence between each preset platform and a printing font color.

[0221] Step S1205: sending the printing template to the target printing device and / or each order platform server.

[0222] Detailed description of each step in the above method can be found in Figure 2 The corresponding steps will not be repeated here.

[0223] The embodiment of the present invention determines the correspondence between each preset order platform and the printing font color in the printing template through human-computer interaction on the target terminal side, thereby binding the order platform with the printing font color. Different order platforms correspond to different printing font colors, making it easy to distinguish the printed products corresponding to different order platforms. Different order platforms can be distinguished by printing font colors, so that the same printing device can be used to complete printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0224] Fig.13 FIG. 1 is a flow chart of a method for processing a print task applicable to a target printing device according to an embodiment of the present invention. Fig.13 As shown, the print task processing method applicable to the target printing device includes the following steps:

[0225] It is worth noting that the printing task processing method of this embodiment corresponds to the following Fig.12 The method shown is on the target printing device side after the order platform server determines the printing font color and generates the printing task.

[0226] Step S1301, receiving a print task, wherein the print task at least includes a print font color of a portion of data to be printed.

[0227] Specifically, the target printing device analyzes the received printing task, and the analysis result at least includes the data to be printed and the printing font color. The printing font color is determined according to the order platform and the printing template to which the order to be processed belongs.

[0228] Step S1302, printing the data to be printed on a printing carrier in the printing font color to complete the printing task.

[0229] In a possible implementation, the target printing device is a thermal printer capable of multi-color printing. After determining the data to be printed and the printing font color, the corresponding print head temperature can be determined according to the printing font color, and then the print head temperature can be controlled so that at least part of the data to be printed is printed on the thermal printing paper in the printing font color.

[0230] Detailed description of each step in the above method can be found in Figure 2 The corresponding steps will not be repeated here.

[0231] In the method of the embodiment of the present invention, after the target printing device receives the printing task, it determines the to-be-printed data and the printing font color corresponding to the printing task, and distinguishes different order platforms by the printing font color. This enables the same printing device to be used to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0232] Fig.14FIG. 1 is a schematic diagram of a print task processing device applicable to a target printing device according to an embodiment of the present invention. Fig.14 As shown, the printing task processing device includes:

[0233] The acquisition module 1401 is used to acquire the orders to be processed.

[0234] The determination module 1402 is used to determine the order platform to which the pending order belongs.

[0235] The generating module 1403 is used to generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed.

[0236] The sending module 1404 is used to send the printing task to the printing component to control the printing component to complete the printing task.

[0237] After acquiring the pending order, the device of the embodiment of the present invention determines the order platform to which the pending order belongs, and determines the print font color of at least part of the data to be printed according to the order platform to which the pending order belongs, and then generates a corresponding print task according to the data to be printed and the print font color, and finally sends the print task to the target printing device so that the target printing device prints the data to be printed. In the above method, the print font color of part of the data to be printed is determined by the order platform to which the pending order belongs, so that the order platform and the print font color can be bound, and the print font colors corresponding to different order platforms are different, so that the printed products corresponding to different order platforms are easy to distinguish. By distinguishing different order platforms by the print font color, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0238] Fig.15 FIG. 1 is a schematic diagram of a printing task processing device applicable to an order platform server according to an embodiment of the present invention. Fig.15 As shown, the printing task processing device includes:

[0239] The acquisition module 1501 is used to acquire the orders to be processed.

[0240] The generating module 1502 is used to generate a corresponding printing task according to the printing template and the data to be printed carried by the pending order, and the printing task at least includes the printing font color of part of the data to be printed.

[0241] The sending module 1503 is used to send the printing task to the target printing device to control the target printing device to complete the printing task.

[0242] The device of the embodiment of the present invention determines the print font color of part of the data to be printed by the order platform to which the pending order belongs, and can bind the order platform with the print font color. The print font colors corresponding to different order platforms are different, making it easy to distinguish the printed products corresponding to different order platforms. By distinguishing different order platforms by the print font colors, it is possible to use the same printing device to complete the printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0243] Fig.16 FIG. 1 is a schematic diagram of a print task processing device applicable to a target terminal according to an embodiment of the present invention. Fig.16 As shown, the printing task processing device suitable for the target terminal includes:

[0244] The display module 1601 is used to display a login page, where the login page includes a login control.

[0245] The first sending module 1602 is used to send the printing user account and login password obtained through the login page in response to the login control being triggered.

[0246] The receiving module 1603 is used to receive and display a print template setting page, where the print template setting page at least includes a template confirmation control.

[0247] The determination module 1604 is used to determine the corresponding printing template according to the template parameters obtained through the printing template setting page in response to the template confirmation control being triggered, and the template parameters at least include the corresponding relationship between each preset order platform and the printing font color.

[0248] The second sending module 1605 is used to send the printing template to the target printing device and / or each order platform server.

[0249] The device of the embodiment of the present invention determines the correspondence between each preset order platform and the printing font color in the printing template through human-computer interaction on the target terminal side, thereby binding the order platform with the printing font color. Different order platforms correspond to different printing font colors, making it easy to distinguish the printed products corresponding to different order platforms. Different order platforms can be distinguished by printing font colors, so that the same printing device can be used to complete printing tasks corresponding to different order platforms, thereby improving the utilization rate of the printing device.

[0250] Fig.17 1 is a schematic diagram of an electronic device according to an embodiment of the present invention. In this embodiment, the electronic device 1700 includes a server, a terminal, a printing device, etc. Fig.17As shown, the electronic device 1700 includes: at least one processor 1701; and a memory 1702 connected to the at least one processor 1701 for communication; and a communication component 1703 connected to the scanning device for communication, and the communication component 1703 receives and sends data under the control of the processor 1701; wherein the memory 1702 stores instructions that can be executed by at least one processor 1701, and the instructions are executed by at least one processor 1701 to implement the above-mentioned printing task processing method.

[0251] Specifically, the electronic device includes: one or more processors 1701 and a memory 1702, Fig.17 A processor 1701 is taken as an example. The processor 1701 and the memory 1702 may be connected via a bus or other means. Fig.17 In the example, the bus connection is used. The memory 1702 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 1701 executes various functional applications and data processing of the device by running the non-volatile software programs, instructions and modules stored in the memory 1702, that is, the above-mentioned printing task processing method is realized.

[0252] The memory 1702 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and applications required for at least one function; the data storage area may store a list of options, etc. In addition, the memory 1702 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 1702 may optionally include a memory remotely arranged relative to the processor 1701, and these remote memories may be connected to an external device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0253] One or more modules are stored in the memory 1702, and when executed by one or more processors 1701, the printing task processing method in any of the above method embodiments is executed.

[0254] The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

[0255] After obtaining the pending order, the embodiment of the present invention determines the order platform to which the pending order belongs, and determines the print font color of at least part of the data to be printed according to the order platform to which the pending order belongs, and then generates a corresponding print task according to the data to be printed and the print font color, and finally sends the print task to the target printing device so that the target printing device prints the data to be printed. In the above method, the print font color of part of the data to be printed is determined by the order platform to which the pending order belongs, and the order platform and the print font color can be bound. Different order platforms have different print font colors, so that the printed products corresponding to different order platforms are easy to distinguish. At the same time, the same printing device is used to complete the print tasks corresponding to different order platforms, which can improve the utilization rate of the printing device.

[0256] The embodiment of the present invention discloses A1, a printing task processing method, applicable to a target printing device, the method comprising:

[0257] Get pending orders;

[0258] Determine the order platform to which the pending order belongs;

[0259] Generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0260] The printing task is sent to a printing component to control the printing component to complete the printing task.

[0261] A2. According to the method described in A1, obtaining the pending orders includes:

[0262] The pending orders are obtained through multiple order platforms bound to the printing user account, and the printing user account is bound to the corresponding order-receiving user account of each of the order platforms.

[0263] A3. The method according to A2, wherein generating a corresponding printing task according to the order platform to which the pending order belongs and the to-be-processed data carried by the pending order comprises:

[0264] Determine a printing template corresponding to the printing user account, wherein the printing template at least includes a correspondence between each preset order platform and the printing font color;

[0265] Determine the printing font color according to the order platform to which the pending order belongs and the printing template;

[0266] A corresponding printing task is generated according to the printing font color and the to-be-printed data carried by the to-be-processed order.

[0267] A4. According to the method described in A3, the printing template is obtained by the following steps:

[0268] The printing template obtained by the target terminal through the printing template setting page is received.

[0269] A5. The method according to A3, wherein determining the printing font color according to the order platform to which the pending order belongs and the printing template comprises:

[0270] In response to the order platform to which the pending order belongs being the preset order platform, determining the printing font color to be the printing font color corresponding to the preset order platform;

[0271] In response to the order platform to which the pending order belongs being a non-preset order platform, the printing font color is determined as a default printing font color.

[0272] A6. According to the method described in A3, the printing font color is the printing font color corresponding to a part of the printing area in the printing template.

[0273] A7. According to the method described in A1, determining the order platform to which the pending order belongs includes:

[0274] Determine an acquisition interface for the pending orders;

[0275] The order platform to which the pending order belongs is determined according to the acquisition interface.

[0276] A8. According to the method described in A1, the to-be-processed order carries a corresponding order platform identifier;

[0277] Determining the order platform to which the pending order belongs includes:

[0278] The order platform to which the pending order belongs is determined according to the order platform identifier.

[0279] A9. The method according to A1, wherein the printing component is a thermal printing component;

[0280] The sending the printing task to the printing component to control the printing component to complete the printing task includes:

[0281] The printing task is sent to the thermal printing component to control the temperature of the print head of the thermal printing component so that the data to be printed is printed on the thermal printing paper in the corresponding printing font color.

[0282] B1. A printing task processing method, applicable to an order platform server, comprising:

[0283] Get pending orders;

[0284] Generate a corresponding printing task according to the printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0285] The printing task is sent to a target printing device to control the target printing device to complete the printing task.

[0286] B2. The method according to B1, further comprising:

[0287] The corresponding target printing device is determined according to the printing user account.

[0288] B3. According to the method described in B2, the printing template is obtained by the following steps:

[0289] In response to detecting that the target terminal logs into the printing user account, sending a printing template setting page to the target terminal;

[0290] Receive the printing template acquired by the target terminal through the printing template setting page.

[0291] B4. The method according to B1, wherein the target printing device is a thermal printer;

[0292] The step of sending the print task to the target printing device to control the target printing device to complete the print task includes:

[0293] The printing task is sent to the thermal printer to control the print head temperature of the thermal printer so that the data to be printed is printed on the thermal printing paper in the corresponding printing font color.

[0294] C1. A printing task processing method, applicable to a target terminal, comprising:

[0295] Display a login page, wherein the login page includes a login control;

[0296] In response to the login control being triggered, sending the printing user account and login password obtained through the login page;

[0297] Receiving and displaying a print template setting page, the print template setting page including at least a template confirmation control;

[0298] In response to the template confirmation control being triggered, determining a corresponding printing template according to template parameters obtained through a printing template setting page, wherein the template parameters at least include a correspondence between each preset order platform and a printing font color;

[0299] The printing template is sent to the target printing device and / or each order platform server.

[0300] C2. The method according to C1, wherein the printing template setting page further includes a font color setting control;

[0301] The method further comprises:

[0302] The correspondence between each preset order platform input by the user and the printing font color is obtained through the font color setting control.

[0303] D1. A printing task processing system, the system comprising:

[0304] A target terminal is used to display a login page, the login page includes a login control, in response to the login control being triggered, send a printing user account and a login password obtained through the login page, receive and display a printing template setting page, the printing template setting page at least includes a template confirmation control, in response to the template confirmation control being triggered, determine a corresponding printing template according to template parameters obtained through the printing template setting page, the template parameters at least include a correspondence between each preset order platform and a printing font color, and send the printing template to a target printing device;

[0305] The target printing device is used to receive the printing template, obtain the pending order, determine the order platform to which the pending order belongs, generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed, and send the printing task to the printing component to control the printing component to complete the printing task.

[0306] E1. A printing task processing system, the system comprising:

[0307] A target terminal, used for displaying a login page, the login page including a login control, in response to the login control being triggered, sending a printing user account and a login password obtained through the login page, receiving and displaying a printing template setting page, the printing template setting page at least including a template confirmation control, in response to the template confirmation control being triggered, determining a corresponding printing template according to template parameters obtained through the printing template setting page, the template parameters at least including a correspondence between each preset order platform and a printing font color, and sending the printing template to each order platform server;

[0308] The order platform server is used to obtain the pending order, generate a corresponding printing task according to the received printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed, and send the printing task to the target printing device to control the target printing device to complete the printing task;

[0309] The target printing device is used to receive the printing task and print the corresponding data to be printed on the printing carrier in the printing font color to complete the printing task.

[0310] F1. A printing task processing device, applicable to a target printing device, comprising:

[0311] The acquisition module is used to obtain pending orders;

[0312] A determination module, used to determine the order platform to which the pending order belongs;

[0313] A generating module, configured to generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0314] The sending module is used to send the printing task to the printing component to control the printing component to complete the printing task.

[0315] G1. A printing task processing device, applicable to an order platform server, comprising:

[0316] The acquisition module is used to obtain pending orders;

[0317] A generating module, used for generating a corresponding printing task according to the printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed;

[0318] The sending module is used to send the printing task to the target printing device to control the target printing device to complete the printing task.

[0319] H1. A printing task processing device, applicable to a target terminal, comprising:

[0320] A display module, used to display a login page, wherein the login page includes a login control;

[0321] A first sending module, configured to send a printing user account and a login password obtained through a login page in response to the login control being triggered;

[0322] A receiving module, used for receiving and displaying a print template setting page, wherein the print template setting page at least includes a template confirmation control;

[0323] A determination module, configured to determine a corresponding printing template according to template parameters obtained through a printing template setting page in response to the template confirmation control being triggered, wherein the template parameters at least include a correspondence between each preset order platform and a printing font color;

[0324] The second sending module is used to send the printing template to the target printing device and / or each order platform server.

[0325] I1. An electronic device comprising a memory and a processor, wherein the memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement a method as described in any one of A1-A9, B1-B4 and C1-C2.

[0326] J1. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the method described in any one of A1-A9, B1-B4 and C1-C2 is implemented.

[0327] K1. A computer program product, comprising a computer program / instruction, which, when executed by a processor, implements a method as described in any one of A1-A9, B1-B4 and C1-C2.

[0328] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used for a computer to execute part or all of the above method embodiments.

[0329] Another embodiment of the present invention relates to a computer program product, including a computer program / instruction, which implements part or all of the above method embodiments when the computer program / instruction is executed by a processor.

[0330] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0331] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A printing task processing method, characterized in that: Applicable to a target printing device, the method comprises: Get pending orders; Determine the order platform to which the pending order belongs; Generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed; The printing task is sent to a printing component to control the printing component to complete the printing task.

2. A printing task processing method, characterized in that: Applicable to an order platform server, the method comprises: Get pending orders; Generate a corresponding printing task according to the printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed; The printing task is sent to a target printing device to control the target printing device to complete the printing task.

3. A printing task processing method, characterized in that: Applicable to a target terminal, the method comprises: Display a login page, wherein the login page includes a login control; In response to the login control being triggered, sending the printing user account and login password obtained through the login page; Receiving and displaying a print template setting page, the print template setting page including at least a template confirmation control; In response to the template confirmation control being triggered, determining a corresponding printing template according to template parameters obtained through a printing template setting page, wherein the template parameters at least include a correspondence between each preset order platform and a printing font color; The printing template is sent to the target printing device and / or each order platform server.

4. A printing task processing system, characterized in that: The system comprises: A target terminal is used to display a login page, the login page includes a login control, in response to the login control being triggered, send a printing user account and a login password obtained through the login page, receive and display a printing template setting page, the printing template setting page at least includes a template confirmation control, in response to the template confirmation control being triggered, determine a corresponding printing template according to template parameters obtained through the printing template setting page, the template parameters at least include a correspondence between each preset order platform and a printing font color, and send the printing template to a target printing device; The target printing device is used to receive the printing template, obtain the pending order, determine the order platform to which the pending order belongs, generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed, and send the printing task to the printing component to control the printing component to complete the printing task.

5. A printing task processing system, characterized in that: The system comprises: A target terminal, used for displaying a login page, the login page including a login control, in response to the login control being triggered, sending a printing user account and a login password obtained through the login page, receiving and displaying a printing template setting page, the printing template setting page at least including a template confirmation control, in response to the template confirmation control being triggered, determining a corresponding printing template according to template parameters obtained through the printing template setting page, the template parameters at least including a correspondence between each preset order platform and a printing font color, and sending the printing template to each order platform server; The order platform server is used to obtain the pending order, generate a corresponding printing task according to the received printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed, and send the printing task to the target printing device to control the target printing device to complete the printing task; The target printing device is used to receive the printing task and print the corresponding data to be printed on the printing carrier in the printing font color to complete the printing task.

6. A printing task processing device, characterized in that: Applicable to a target printing device, the device comprises: The acquisition module is used to obtain pending orders; A determination module, used to determine the order platform to which the pending order belongs; A generating module, configured to generate a corresponding printing task according to the order platform to which the pending order belongs and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed; The sending module is used to send the printing task to the printing component to control the printing component to complete the printing task.

7. A printing task processing device, characterized in that: Applicable to an order platform server, the device comprises: The acquisition module is used to obtain pending orders; A generating module, used for generating a corresponding printing task according to the printing template and the data to be printed carried by the pending order, wherein the printing task at least includes the printing font color of part of the data to be printed; The sending module is used to send the printing task to the target printing device to control the target printing device to complete the printing task.

8. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of claims 1 to 3.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Cited By

  • Commodity receipt printing method, device and system

    CN120631279A