Printer fault type determination method, system, and device

By scanning the image and printer information provided by the terminal, the neural network model is used to analyze the printer fault, which solves the difficulty of fault classification caused by failure to recognize the meal code, achieves accurate fault analysis and processing method broadcast, and reduces unnecessary maintenance and replace.

CN118349878BActive Publication Date: 2024-10-18RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410776533.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-18
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

When printing order receipts, the meal delivery code cannot be accurately recognized by the scanning terminal, making it difficult for merchants to finely classify printer failures, which may lead to unnecessary repairs or replacements.

Method used

By scanning the to-be-processed image of the target order ticket provided by the scanning terminal, combined with the relevant information of the target printer and historical fault handling information, the fault type and processing method are determined using neural network model analysis, and the fault type and processing method are reported to the scanning terminal.

Benefits of technology

Accurately analyze and report printer failure types and treatment methods to help merchants understand and resolve failures in a timely manner and reduce unnecessary repairs and replacements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118349878B_ABST
    Figure CN118349878B_ABST
Patent Text Reader

Abstract

The present application provides a method, system, device, electronic device and computer storage medium for determining a printer fault type. In the printer fault type determination method, when a target information recognition result of a coding area to be identified for a target order ticket does not meet a preset standard recognition condition, a target image to be processed provided by a scanning terminal and taken when scanning a target order ticket printed by a target printer is obtained. In fact, the scanning terminal takes a picture of the coding area to be identified for the target order ticket that does not meet the recognition requirements, and then the target image to be processed can be analyzed based on relevant information of the target printer, a target information recognition result of the target order ticket, and relevant information of historical processing of historical faults of a reference printer, to determine a target fault type of the target printer and target processing method information for the target fault type, and accurately analyze the fault type and processing method when the target printer prints the target order ticket.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a printer fault type determination method, a printer fault type determination system, a printer fault type determination device, an electronic device, and a computer storage medium. Background Art

[0002] As the volume of online orders for goods increases, the order tickets printed for online orders are becoming more and more important to merchants, ordering users and delivery riders. For example, for takeout orders, a delivery code for the merchant to request delivery can be printed on the order ticket. When the merchant needs to complete the delivery of the order so that the ordering platform can call the delivery rider for delivery, the merchant can align the delivery code on the order ticket with the scanning terminal so that the scanning terminal can recognize the delivery code to indicate that the merchant requests to complete the delivery, and then request the ordering platform's service end to assign a delivery rider.

[0003] The order ticket is printed by a printer. However, when the printer prints the order ticket, the meal delivery code of the printed order ticket cannot be accurately recognized by the scanning terminal due to various reasons. At this time, the merchant cannot finely classify the possible faults or problems of the printer and may directly attribute the cause to the failure of the printer. Then, the merchant may return the printer to the factory for repair or directly replace it with a new one. Therefore, how to accurately analyze the possible faults or problems of the printer when the printed order ticket cannot be recognized has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a method for determining a printer fault type to accurately analyze possible faults or problems of the printer when a printed order ticket cannot be identified. The present application also provides a printer fault type determination system, a printer fault type determination device, an electronic device, and a computer storage medium.

[0005] The present application provides a method for determining a printer fault type, which is applied to a server, and the method comprises: obtaining a target image to be processed provided by a scanning terminal and taken when scanning a target order ticket printed by a target printer, the target image to be processed is used by the scanning terminal to identify a coding area to be identified of the target order ticket, wherein a target information identification result for the coding area to be identified of the target order ticket does not meet a preset standard identification condition; analyzing the target image to be processed according to target printer-related information of the target printer, the target information identification result, and historical processing-related information of a reference printer having historical faults, to determine a target fault type of the target printer and target processing method information for the target fault type; providing the target fault type and the target processing method information to the scanning terminal so that the scanning terminal can broadcast the target fault type and the target processing method information.

[0006] Optionally, the historical processing related information includes a first historical image taken by the scanning terminal when scanning a first historical order ticket printed by a reference printer where a historical failure occurred, a confirmed historical failure type and corresponding historical processing method information, the first historical image is used by the scanning terminal to identify the coding area to be identified of the first historical order ticket, wherein the historical information recognition result of the coding area to be identified of the first historical order ticket does not meet the preset standard recognition condition; the target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the historical failure of the reference printer to determine the target failure type of the target printer and the target processing method information for the target failure type, including: using the first historical image, the historical failure type and the historical processing method information as training samples to train a first initial neural network model to obtain a first target neural network model; using the target printer related information, the target information recognition result and the target image to be processed as input data of the first target neural network model to determine the target failure type and the target processing method information.

[0007] Optionally, it also includes: obtaining a screened non-target image to be processed provided by a scanning terminal, wherein the screened non-target image to be processed is an image screened and determined from multiple non-target images to be processed, and the non-target image to be processed is an image captured by the scanning terminal when scanning a non-target order ticket printed by a target printer, and the non-target image to be processed is used by the scanning terminal to identify the coding area to be identified of the non-target order ticket, wherein the information identification result of the coding area to be identified of the non-target order ticket meets the preset standard identification conditions; the target image to be processed is analyzed according to the target printer related information of the target printer, the target information identification result, and the historical processing related information of the reference printer having historical failures, to determine The target fault type of the target printer and the target processing method information for the target fault type include: determining an adjacent image adjacent to the shooting time of the target image to be processed in the screened non-target images to be processed; comparing the adjacent image with the target image to be processed to determine whether the target printer may fail when printing the target order ticket; if so, analyzing the target image to be processed based on the target printer related information of the target printer, the target information recognition result, historical processing related information of historical faults of the reference printer and the screened non-target images to determine the target fault type of the target printer and the target processing method information for the target fault type.

[0008] Optionally, the historical processing related information includes a first historical image taken by the scanning terminal when scanning a first historical order ticket printed by a reference printer with a historical failure, a historical information recognition result of a coding area to be identified for the first historical order ticket, and confirmed historical failure types and corresponding historical processing method information, wherein the first historical image is used by the scanning terminal to identify the coding area to be identified for the first historical order ticket, wherein the historical information recognition result does not meet the preset standard recognition condition; the target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer with a historical failure, to determine the target printer The target fault type and the target processing method information for the target fault type include: determining the historical fault type of a reference printer similar to the target printer as a candidate historical fault type based on the target printer related information, the historical fault type and the corresponding historical processing method information, and using the historical processing method information corresponding to the candidate historical fault type as the candidate historical processing method information; determining the target fault type from the candidate historical fault types based on at least one of the similarity between the first historical image and the target image to be processed and the similarity between the historical information recognition result and the target information recognition result, and determining the target processing method information from the candidate historical processing method information.

[0009] Optionally, it also includes: taking the target printer related information, the target information recognition result, and the target image to be processed as input parameters of the first target neural network model, and taking the target fault type and the target processing method information as output parameters of the first target neural network model to optimize the first target neural network model to obtain the optimized first target neural network model.

[0010] Optionally, it also includes: obtaining a historical image provided by the scanning terminal and taken when scanning a historical order ticket printed by a reference printer, the historical image is used by the scanning terminal to identify the coding area to be identified of the historical order ticket; obtaining the historical available remaining time information when the reference printer printed the historical order ticket; obtaining a screened non-target image to be processed provided by the scanning terminal, the screened non-target image to be processed is an image screened and determined from multiple non-target images to be processed, the non-target image to be processed is an image taken by the scanning terminal when scanning a non-target order ticket printed by a target printer, the non-target image to be processed is used by the scanning terminal to identify the coding area to be identified of the non-target order ticket, wherein the information recognition result of the coding area to be identified of the non-target order ticket meets the preset standard recognition conditions; according to the screened non-target image to be processed, the target image to be processed, the historical image and the historical available remaining time information, the target available remaining time information of the target printer is obtained.

[0011] Optionally, the target available remaining time information of the target printer is obtained based on the filtered non-target images to be processed, the target images to be processed, the historical images and the historical available remaining time information, including: using the historical images and the historical available remaining time information as training samples to train a second initial neural network model to obtain a second target neural network model; using the filtered non-target images to be processed and the target images to be processed as input data of the second target neural network model to obtain the target available remaining time information.

[0012] Optionally, it also includes: determining whether the target available remaining time corresponding to the target available remaining time information is less than a preset standard available time; if the target available remaining time is less than the standard available time, sending a reminder message to the scanning terminal to remind the merchant to prepare to replace a new printer or replace components in the target printer, so that the scanning terminal broadcasts the reminder message.

[0013] Optionally, it also includes: obtaining real-time attenuation curve information of the target printer based on the filtered non-target images to be processed and the target images to be processed; obtaining historical attenuation curve information of a reference printer that prints the historical order tickets based on the historical images; obtaining target available remaining time information of the target printer based on the filtered non-target images to be processed, the target images to be processed, the historical images and the historical available remaining time information, including: obtaining the target available remaining time information based on the real-time attenuation curve information, the historical attenuation curve information and the historical available remaining time information.

[0014] The present application provides a method for determining a printer fault type, which is applied to a scanning terminal, and the method includes: scanning an order ticket printed by a target printer, photographing a coding area to be identified on the order ticket, and obtaining an image to be processed; performing image recognition on the image to be processed, and obtaining an information recognition result for the coding area to be identified on the order ticket; judging whether the information recognition result meets a preset standard recognition condition; if the information recognition result does not meet the preset standard recognition condition, taking the order ticket as a target order ticket, providing the image to be processed corresponding to the target order ticket as a target image to be processed to a server, and providing the information recognition result corresponding to the target order ticket as a target information recognition result to a server, so that the server analyzes the target image to be processed according to target printer related information of the target printer, the target information recognition result, and historical processing related information of reference printer historical faults, and determines a target fault type of the target printer and target processing method information for the target fault type; obtaining the target fault type and the target processing method information provided by the server; and reporting the target fault type and the target processing method information.

[0015] Optionally, it also includes: if the information recognition result meets the preset standard recognition condition, the order ticket is treated as a non-target order ticket, and the to-be-processed image corresponding to the non-target order ticket is provided to the server as a non-target to-be-processed image, so that the server obtains the target available remaining time information of the target printer based on the non-target to-be-processed image, the target to-be-processed image, the historical image taken when scanning the historical order ticket printed by the reference printer, and the historical available remaining time information when the reference printer printed the historical order ticket, and determines whether the target available remaining time corresponding to the target available remaining time information is less than the preset standard available time; if the target available remaining time is less than the standard available time, sending a reminder message to the scanning terminal to remind the merchant to prepare to replace a new printer or replace components in the target printer; obtaining the reminder message provided by the server; and broadcasting the reminder message.

[0016] Optionally, the image to be processed contains a code to be identified and at least one of text, numbers, letters and pattern information: the image recognition is performed on the image to be processed to obtain an information recognition result of the code area to be identified for the order ticket, including: identifying the code to be identified contained in the image to be processed to obtain a first information recognition result; identifying at least one of text, numbers, letters and pattern information contained in the image to be processed to obtain a second information recognition result; performing weighted sum processing on the first information recognition result and the second information recognition result to obtain an information recognition result of the code area to be identified for the order ticket.

[0017] Optionally, providing the image to be processed corresponding to the non-target order ticket as a non-target image to be processed to the server includes: calculating a push frequency for providing the non-target image to be processed to the server based on a non-target information recognition result of the coding area to be identified for the non-target order ticket; determining a screened non-target image to be processed from multiple non-target images to be processed according to the push frequency, and providing the screened non-target image to be processed to the server.

[0018] Optionally, the push frequency for providing the non-target image to be processed to the server is calculated based on the non-target information identification result of the coded area to be identified of the non-target order ticket, including: calculating the change rate of multiple non-target information identification results for multiple non-target images to be processed; and calculating the push frequency for providing the non-target image to be processed to the server based on the change rate and the attenuation change coefficient of the target printer.

[0019] Optionally, it also includes: if the information recognition result meets the preset standard recognition condition, sending an allocation request message to the server to request the allocation of delivery capacity for the order of the order ticket, so that the server allocates delivery capacity for the order of the order ticket in response to the allocation request message; and broadcasting a voice message that the code to be recognized of the order ticket has been successfully recognized.

[0020] Compared with the prior art, the embodiments of the present application have the following advantages:

[0021] The present application provides a method for determining a printer fault type. In this method, when a target information recognition result of a coding area to be recognized of a target order ticket does not meet a preset standard recognition condition, a target image to be processed taken when scanning a target order ticket printed by a target printer is obtained and provided by a scanning terminal. In fact, the scanning terminal takes a picture of the coding area to be recognized of the target order ticket that does not meet the recognition requirement. Then, the target image to be processed can be analyzed based on relevant information of the target printer, a target information recognition result of the target order ticket, and relevant information of historical processing of historical faults of the reference printer, to determine a target fault type of the target printer and target processing method information for the target fault type. The fault type and processing method when the target printer prints the target order ticket are accurately analyzed, and then the target fault type and target processing method information can be broadcasted through the scanning terminal, so that merchants can promptly understand the fault type of the target printer and the processing method for the fault type. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0023] Figure 1 This is a first structural schematic diagram of the scanning terminal of the present application.

[0024] Figure 2 This is a second structural schematic diagram of the scanning terminal of the present application.

[0025] Figure 3 A schematic diagram of the first scenario of the method for determining a printer fault type provided in the present application.

[0026] Figure 4 A schematic diagram of a second scenario of the method for determining a printer fault type provided in the present application.

[0027] Figure 5 This is a flowchart of a method for determining a printer fault type provided in the first embodiment of the present application.

[0028] Figure 6 This is a flowchart of a method for determining a printer fault type provided in the second embodiment of the present application. DETAILED DESCRIPTION

[0029] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application. Therefore, the present application is not limited to the specific implementation disclosed below.

[0030] The present application provides a printer fault type determination method, a printer fault type determination system, a printer fault type determination device, an electronic device, and a computer storage medium. The following describes the printer fault type determination method, the printer fault type determination system, the printer fault type determination device, the electronic device, and the computer storage medium through specific embodiments. In order to more clearly demonstrate the printer fault type determination method provided by the embodiment of the present application, the application scenario of the printer fault type determination method provided by the embodiment of the present application is first introduced.

[0031] The printer fault type determination method of the present application can be used in a scenario where a printer that prints an order ticket for a takeout order fails to determine the printer fault type, so as to determine the printer fault type and determine a processing method for the fault type. Specifically, in this method, the printer fault type is determined by a target to-be-processed image of a target order ticket printed when the printer may fail.

[0032] In this scenario, the printer prints the order ticket for the takeout order. On the configuration printing page for configuring the printing of the order ticket, it is configured to print the code to be identified on the order ticket when printing the order ticket, such as the delivery code. The code to be identified can be a one-dimensional code or a two-dimensional code. The configuration printing page can be a page for configuring the printing of the order ticket on the configuration terminal. The configuration terminal is mainly determined based on the type of printer. Common printer types are mainly divided into Bluetooth printers, USB / network port printers (USB: Universal Serial Bus) or cloud printers.

[0033] For Bluetooth printers, the configuration terminal can be a mobile phone terminal connected to the Bluetooth printer via Bluetooth, and the information for printing order tickets can be configured on the mobile phone terminal; for USB / network port printers, the configuration terminal can be a POS terminal (POS, i.e., Point of sales) connected to the USB / network port printer via a wired network, and the information for printing order tickets can be configured on the POS terminal; for cloud printers, the configuration terminal can be the cloud printer itself, and the information for printing order tickets can be configured on the cloud printer. The cloud printer is connected to the cloud server of the ordering platform via cellular network data or wireless network to realize order acceptance and printing.

[0034] After the merchant receives a takeaway order, the printer prints the order ticket, and then the scanning terminal scans the order ticket to identify the code to be identified on the order ticket. The scanning terminal is internally provided with a camera module and a recognition module; during scanning, the camera module photographs the code area to be identified on the order ticket to obtain an image to be processed; then the recognition module identifies the code area to be identified on the image to be processed to obtain an information recognition result.

[0035] To understand the structure of the scanning terminal, see Figure 1 and Figure 2 , which are the first structural schematic diagram and the second structural schematic diagram of the scanning terminal of the present application. Figure 1 The first type of scanning terminal is shown in the figure. A transparent window 101 is provided on the top of the scanning terminal 100. When the code area to be identified on the order ticket is aligned with the transparent window, the camera module of the scanning terminal can scan the code area to be identified on the order ticket through the transparent window and then take a picture. Figure 2 The second scanning terminal is shown, but Figure 1 The difference between the scanning terminal and Figure 2 The scanning terminal and printer are integrated into one machine. Figure 2 The scanning terminal is also provided with a transparent window 101, and one side of the scanning terminal is the printer 200 part.

[0036] To understand how to determine the type of printer failure, see Figure 3 and Figure 4 , which are schematic diagrams of the first scenario and the second scenario of the method for determining the printer fault type provided by the present application, Figure 3 The corresponding question is how to determine the printer failure type when the printer and the scanning terminal are separate devices. Figure 4 The corresponding is how to determine the printer fault type when the printer and the scanning terminal are integrated. Figure 3 and Figure 4 Describes how to determine the type of printer failure.

[0037] Specifically, first combine Figure 3 Introducing the first method of how to determine the type of printer failure. Figure 3 A target printer 200, a scanning terminal 100 and a server 300 are respectively provided; the target printer 200 executes step S301: in response to an order acceptance operation for an order, the order is printed to obtain an order ticket; in this embodiment, the configuration can be performed in advance on a configuration terminal for configuring printing information of the target printer, for example, a standard code to be identified is configured on a configuration printing page of the configuration terminal for printing order tickets, so that an order ticket containing a code to be identified is printed for the accepted order after the order is accepted.

[0038] Assuming that the code to be identified is a meal delivery code, after printing out the order ticket, if the merchant wants to deliver the meal for the order, that is, he needs to request the ordering platform to assign a delivery rider for the order, the merchant will hold the order ticket so that the meal delivery code of the order ticket is aligned with the transparent window of the scanning terminal 100, and the scanning terminal 100 executes step S302: scans the order ticket, shoots the coded area to be identified on the order ticket, and obtains the image to be processed; in this embodiment, the meal delivery code is an example of the code to be identified. After that, execute step S303: identify the image to be processed and obtain the information recognition result. After that, execute step S304: determine whether the information recognition result meets the preset standard recognition condition; when the information recognition result does not meet the preset standard recognition condition, execute step S305: use the order ticket as the target order ticket, provide the image to be processed corresponding to the target order ticket as the target image to be processed to the server, and provide the information recognition result corresponding to the target order ticket as the target information recognition result to the server.

[0039] In this embodiment, the reason why the target information recognition result and the target image to be processed need to be provided to the server together is that it is preliminarily judged based on the target information recognition result that the target printer may have a fault. Generally speaking, in the judgment process in step S304, if the information recognition result does not meet the preset standard recognition conditions, it is preliminarily judged that the target printer has a fault; if the information recognition result meets the preset standard recognition conditions, it is preliminarily judged that the target printer has no fault.

[0040] When it is preliminarily determined that the target printer has no fault, step S306 is executed: a message of successfully identifying the code to be identified is broadcasted. For example, when the code to be identified is a meal delivery code, the corresponding message of successfully identifying the code to be identified can actually be a message of successfully delivering the meal. The execution subject of the above steps S302 to S306 is the scanning terminal.

[0041] After the server 300 obtains the target image to be processed and the target information recognition result provided by the scanning terminal, it indicates that the target printer 200 may have a fault when printing the target order ticket, and therefore the server needs to confirm the fault type of the target printer. It should be noted that in this embodiment, the scanning terminal and the server are capable of data communication or information transmission, so that the scanning terminal can provide the target image to be processed and the target information recognition result to the server.

[0042] When determining the fault type of the target printer, the server 300 needs to perform the following steps S307 to S309; ​​first, perform step S307: obtain the target printer related information configured on the first configuration page for configuring the scanning terminal through the scanning terminal; the first configuration page for configuring the scanning terminal can be a configuration page of the configuration terminal for configuring the scanning terminal, such as the relevant information of the control scanning terminal can be configured on the mobile phone, and the target printer related information will be configured when configuring the relevant information of the control scanning terminal; it should be noted that in this embodiment, there is a configuration terminal for controlling the printer, and there is also a configuration terminal for controlling the scanning terminal. For the sake of distinction, the configuration terminal for controlling the scanning terminal is used as the first configuration terminal, and the configuration terminal for controlling the printer is used as the second configuration terminal. The configuration terminal for controlling the printer is mainly used to configure the printing information of the printer, such as the configuration standard to be identified code mentioned above is used for printing order tickets.

[0043] After obtaining the target printer related information of the target printer, the server 300 executes step S308: analyzing the target image to be processed according to the target printer related information, the target information recognition result, and the historical processing related information of the historical fault of the reference printer, and determining the target fault type of the target printer and the target processing method information for the target fault type; then, executing step S309: providing the target fault type and the target processing method information to the scanning terminal. After obtaining the target fault type and the target processing method information, the scanning terminal executes step S310: broadcasting the target fault type and the target processing method information.

[0044] It should be noted that, in the present embodiment, the information related to the historical processing of historical failures occurring in the reference printer may include various types of failures that have occurred in the printer, the first historical image taken of the area to be identified of the first historical order ticket printed when the failure occurred, and the processing method corresponding to the type of failure that has occurred. The information related to the historical processing of historical failures occurring in the reference printer may be pre-stored on the server side, specifically, may be stored in a database on the server side, so that the server can call it at any time.

[0045] The reason why the server can analyze the target image to be processed based on the target printer related information, the target information recognition result, and the historical processing related information of the reference printer's historical faults is that it can actually compare the first historical image with the target image to be processed, determine the first historical image that is relatively similar to the target image to be processed, and after determining the similar first historical image, query the type of fault that has occurred corresponding to the similar first historical image and the processing method corresponding to the type of fault that has occurred; in this process, the target printer related information can also be used to determine the type of fault that has occurred that is more compatible with the target printer and the processing method corresponding to the type of fault that has occurred.

[0046] For example, the similar first historical images determined by the target image to be processed are historical image 1, historical image 3 and historical image 5; the fault types corresponding to the similar first historical images and the processing methods corresponding to the fault types are divided into: fault type 1, processing method 1; fault type 3, processing method 3; fault type 5, processing method 5. Fault type 1 and processing method 1 are the fault types corresponding to historical image 1 and the processing methods corresponding to the fault types; fault type 3 and processing method 3 are the fault types corresponding to historical image 3 and the processing methods corresponding to the fault types; fault type 5 and processing method 5 are the fault types corresponding to historical image 5 and the processing methods corresponding to the fault types. That is, the fault that occurs when the reference printer prints the historical order ticket corresponding to historical image 1 is fault type 1, and fault type 1 can be solved by processing method 1; the fault that occurs when the reference printer prints the historical order ticket corresponding to historical image 3 is fault type 3, and fault type 3 can be solved by processing method 3; the fault that occurs when the reference printer prints the historical order ticket corresponding to historical image 5 is fault type 5, and fault type 5 can be solved by processing method 5. If the reference printer type for printing the historical order ticket corresponding to historical image 1 is type A printer, and the printer has been used for half a year; the reference printer type for printing the historical order ticket corresponding to historical image 3 is type B printer, and the printer has been used for one month; the reference printer type for printing the historical order ticket corresponding to historical image 5 is type C printer, and the printer has been used for half a month; and at the same time, the printer type of the target printer is type A printer, and the target printer has been used for five months, then fault type 1 can be used as the target fault type, and processing method 1 can be used as the target processing method.

[0047] After introducing the first method of how to determine the type of printer failure, Figure 4 Introducing the second method of how to determine the type of printer failure. Figure 4An all-in-one machine 400 and a server 300 are respectively provided, and the all-in-one machine 400 is an all-in-one machine that combines a target printer 200 and a scanning terminal 100 into one; the all-in-one machine 400 executes step S401: in response to an order acceptance operation for an order, the order is printed to obtain an order ticket; in this embodiment, the configuration can be pre-performed on a configuration terminal for configuring the printing information of the all-in-one machine, for example, a standard code to be identified is configured on a configuration printing page of the configuration terminal for printing order tickets, so that an order ticket containing a code to be identified is printed for the accepted order after the order is accepted.

[0048] Assuming that the code to be identified is a meal delivery code, after printing out the order ticket, if the merchant wants to deliver the meal for the order, he needs to request the ordering platform to assign a delivery rider for the order. The merchant will hold the order ticket so that the meal delivery code of the order ticket is aligned with the transparent window of the all-in-one machine 400, and the all-in-one machine 400 executes step S402: scan the order ticket, shoot the coded area to be identified on the order ticket, and obtain the image to be processed; in this embodiment, the meal delivery code is an example of the code to be identified. After that, execute step S403: identify the image to be processed and obtain the information recognition result. After that, execute step S404: determine whether the information recognition result meets the preset standard recognition condition; when the information recognition result does not meet the preset standard recognition condition, execute step S405: use the order ticket as the target order ticket, provide the image to be processed corresponding to the target order ticket as the target image to be processed to the server, and provide the information recognition result corresponding to the target order ticket as the target information recognition result to the server.

[0049] Similarly, the reason why the target information recognition result and the target image to be processed need to be provided to the server together is that it is preliminarily judged based on the target information recognition result that the target printer part of the all-in-one machine may have a fault. Generally speaking, in the judgment process in step S404, if the information recognition result does not meet the preset standard recognition conditions, it is preliminarily judged that the target printer part has a fault; if the information recognition result meets the preset standard recognition conditions, it is preliminarily judged that the target printer part has no fault.

[0050] When it is preliminarily determined that the target printer part has no fault, step S406 is executed: a message of successfully identifying the code to be identified is broadcasted. For example, when the code to be identified is a meal delivery code, the corresponding message of successfully identifying the code to be identified can actually be a message of successfully delivering the meal. The execution subject of the above steps S401 to S406 is all-in-one machine.

[0051] After the server 300 obtains the target image to be processed and the target information recognition result provided by the integrated machine, it indicates that the target printer part of the integrated machine may have a fault when printing the target order ticket, so the server needs to confirm the fault type of the target printer part. It should be noted that in this embodiment, the integrated machine and the server are capable of data communication or information transmission, so that the integrated machine can provide the target image to be processed and the target information recognition result to the server.

[0052] When the server 300 determines the fault type of the target printer, it needs to perform the following steps S407 to S409: first, perform step S407: obtain the target printer related information of the target printer through the scanning terminal part of the all-in-one machine. Figure 3 The difference is that, due to Figure 4 The scanning terminal part and the target printer part are integrated into one machine. The scanning terminal part can directly obtain the target printer related information of the target printer part, and there is no need to configure the target printer related information for the scanning terminal part.

[0053] After obtaining the target printer related information of the target printer part, the server 300 executes step S408: analyzing the target image to be processed according to the target printer related information of the target printer part, the target information recognition result, and the historical processing related information of the reference printer's historical faults, and determining the target fault type of the target printer part and the target processing method information for the target fault type; then, executing step S409: providing the target fault type and the target processing method information to the all-in-one machine. After obtaining the target fault type and the target processing method information, the all-in-one machine executes step S410: broadcasting and printing the target fault type and the target processing method information.

[0054] The above-mentioned Figures 1 to 4 That is, it is a diagram of an application scenario of the method for determining the printer fault type of the present application. The application scenario of the method for determining the printer fault type is not specifically limited in the embodiments of the present application. The application scenario of the method for determining the printer fault type is only an embodiment of the application scenario of the method for determining the printer fault type provided by the present application. The purpose of providing the application scenario embodiment is to facilitate the understanding of the method for determining the printer fault type provided by the present application, and is not used to limit the method for determining the printer fault type provided by the present application. Other application scenarios of the method for determining the printer fault type in the embodiments of the present application are not described one by one.

[0055] First embodiment

[0056] This embodiment provides a method for determining the type of printer failure. The execution subject of this embodiment is a server. Figure 5The applicable scenarios of the printer fault type determination method can refer to the above scenario embodiments, and some examples of this embodiment can refer to the above scenario embodiments.

[0057] Please refer to Figure 5 , which is a flowchart of the printer fault type determination method provided in the first embodiment of the present application.

[0058] The method for determining the printer fault type according to an embodiment of the present application includes the following steps.

[0059] Step S501: Obtain a target image to be processed provided by a scanning terminal, which is taken when scanning a target order ticket printed by a target printer.

[0060] Before the target printer prints the order ticket, configuration is performed on the configuration terminal used to configure the printing information of the target printer. For example, a standard code to be identified is configured on the configuration printing page of the configuration terminal for printing the order ticket, so that an order ticket containing the code to be identified can be printed for the received order after the order is received.

[0061] At the same time, when the target printer and the scanning terminal are separate machines, that is, the target printer and the scanning terminal are not integrated machines, the target printer related information is configured on the first configuration page of the configuration terminal (first configuration terminal) used to configure the scanning terminal. The target printer related information includes at least one of the following information: model information of the target printer; printing component information of the printing component of the target printer; manufacturer information of the target printer; initial usage time information and usage time information of the target printer.

[0062] In this embodiment, the target image to be processed is used for a scanning terminal to identify the coding area to be identified of the target order ticket, wherein the target information identification result of the coding area to be identified of the target order ticket does not meet the preset standard identification conditions.

[0063] In this embodiment, the printer currently used by the merchant can be used as the target printer. As long as the merchant accepts the order for the ordered goods or meals, the target printer can print the order ticket for the order; after the target printer prints the order ticket, the merchant is responsible for preparing the goods or meals. When the merchant has prepared the goods or meals, in this embodiment, taking the preparation of meals as an example, the merchant will hold the order ticket and align the code to be identified (such as the meal delivery code) of the order ticket with the scanning terminal (which can be Figure 1 or Figure 2 The transparent window of the scanning box (shown) enables the scanning terminal to recognize the meal code, so as to complete the meal delivery and enable the ordering platform to assign the order to the delivery rider for delivery.

[0064] Specifically, when the scanning terminal identifies the code to be identified on the order ticket, it actually first photographs the code area to be identified on the order ticket to obtain an image to be processed. The actual image to be processed is the image to be identified. The code to be identified on the order ticket is identified by identifying the image to be processed.

[0065] After identifying the code area to be identified of the order ticket, the order ticket is divided into a target order ticket and a non-target order ticket based on the information identification result of the order ticket. When the information identification result does not meet the preset standard identification condition, the order ticket whose information identification result does not meet the preset standard identification condition is regarded as the target order ticket, and the order ticket whose information identification result meets the preset standard identification condition is regarded as the non-target order ticket.

[0066] In this embodiment, the order ticket is divided into a non-target order ticket and a target order ticket because when the order ticket is a target order ticket, it is preliminarily determined that the target printer may have a fault when printing the target order ticket; when the order ticket is a non-target order ticket, it is preliminarily determined that the target printer has not a fault when printing the non-target order ticket. When the target printer has a fault or does not have a fault, the scanning terminal processes the image captured by the scanning terminal for the code area to be identified of the order ticket in different ways: when the order ticket is a target order ticket, the image captured for the code area to be identified of the target order ticket is the target image to be processed; when the order ticket is a non-target order ticket, the image captured for the code area to be identified of the non-target order ticket is the non-target image to be processed; in this embodiment, each target image to be processed is provided to the server, so that the server can determine the fault type and processing method when the target printer prints each target order ticket; for non-target images to be processed, some non-target images to be processed can be screened and provided to the server (without providing each non-target image to be processed to the server), so that the server can compare and find the abnormal printing of the target printer.

[0067] The server is the server of the ordering platform, and the server and the scanning terminal can perform data transmission or information transmission.

[0068] Specifically, in this embodiment, the information recognition result can be expressed as: delta When all the codes to be identified are identified, the corresponding information recognition rate is actually 1. However, considering the actual situation, when the information recognition rate of the code area to be identified in the order ticket printed by the target printer is deltaWhen the value is greater than a preset threshold (e.g., the preset threshold may be 90%), the order ticket may be regarded as a non-target order ticket, otherwise the order ticket may be regarded as a target order ticket. In this embodiment, each time the scanning terminal scans an order ticket, it determines whether the order ticket is a target order ticket or a non-target order ticket based on the information recognition result of the to-be-recognized coded area of ​​the order ticket. In fact, the quality level of the order ticket printed by the target printer (i.e., the quality level of the image) is obtained through the information recognition result, i.e., the information recognition rate. delta The larger the value, the higher the quality of the printed order ticket, otherwise the lower the quality of the printed order ticket. For example, when the code (such as a one-dimensional code) of the code area to be identified is 128 characters, if only 96 characters can be identified, the information recognition rate is 75%.

[0069] Preset thresholds for different types of printers A The value is different. This embodiment can configure different preset thresholds according to the relevant information of the target printer to adapt to the characteristics of printers of different models, different years of use, and different manufacturers. A will change, that is A = A ( t ), t Indicates the usage time of the printer.

[0070] In this embodiment, the information recognition rate of the code area to be recognized in the order ticket is obtained. delta The information recognition rate can be obtained not only based on the code to be recognized, but also based on the quality of the text, numbers, letters and pattern information in the image to be processed. delta , that is: information recognition rate delta The following formula can be used.

[0071] delta = Function (text, numbers, letters, pattern information, codes to be identified); text, numbers, letters, pattern information can be the information around the code area to be identified on the order ticket, and the text, numbers, letters, pattern information, and codes to be identified are all in the image to be processed. The scanning terminal is equipped with a code reading and recognition algorithm, which calculates the information recognition rate for the image to be processed. delta ,Right now: delta The result is obtained by weighting the recognition rates of different types of content. In practice, in order to achieve the collection and recognition of unified and standardized codes, one-dimensional code types are mainly used as examples of meal delivery codes.

[0072] Step S502: Analyze the target image to be processed according to the target printer related information, the target information recognition result, and the historical processing related information of the reference printer's historical faults to determine the target fault type of the target printer and the target processing method information for the target fault type.

[0073] In this embodiment, the historical processing related information includes a first historical image taken by the scanning terminal when scanning the first historical order ticket printed by the reference printer where a historical failure occurred, the confirmed historical failure type and the corresponding historical processing method information, and the first historical image is used by the scanning terminal to identify the coding area to be identified of the first historical order ticket, wherein the historical information recognition result of the coding area to be identified of the first historical order ticket does not meet the preset standard recognition conditions.

[0074] Specifically, as analyzing the target image to be processed based on the target printer related information, target information recognition result, and historical processing related information of historical faults of the reference printer, determining the target fault type of the target printer and the target processing method information for the target fault type, it can mean: first, using the first historical image, historical fault type, and historical processing method information as training samples to train the first initial neural network model to obtain the first target neural network model; then, using the target printer related information, target information recognition result, and the target image to be processed as input data of the first target neural network model to determine the target fault type and target processing method information. Of course, when training the first initial neural network model, the reference printer related information and historical information recognition result corresponding to the first historical image can also be used as training samples. The reference printer related information is similar to the target printer related information.

[0075] The server uses a pre-built printer fault type recognition model, namely, the first target neural network model, to analyze the target image to be processed, and combines the target printer related information (including the target printer model information; the target printer printing component information; the target printer manufacturer information; the target printer initial use time information, the use time information), and the after-sales side manual repair location and processing information of various printers (i.e., historical fault type and historical processing method information) to determine the target printer's fault type and target processing method information.

[0076] First target neural network model FaultType The statistics are based on big data statistical analysis. The model counts the hardware fault analysis and treatment measures of various types of printers. It performs fault analysis, fault type matching, fault location and early warning measures by scanning the target image uploaded by the terminal. The first target neural network model FaultType It is expressed by the following formula.

[0077] FaultType = Function ( delta , deviceinfo , Maintenance ); delta Indicates the information recognition rate of the scanning terminal, which reflects the printing quality of the order ticket. The higher the printing quality, the higher the information recognition rate, and the better the corresponding printer status. deviceinfo Indicates information related to the target printer, including: model information of the target printer, printing component information of the printing components of the target printer (such as information of the print head), manufacturer information of the target printer, initial use time information of the target printer, used time information, printed distance, etc. Maintenance Indicates historical fault types and historical processing methods, such as after-sales repair measures, fault location and processing suggestions analyzed based on historical data from the after-sales side. Function Represents a function.

[0078] The first target neural network model can accurately determine the possible faults of the target printer and the corresponding treatment methods, so as to avoid the situation where the target printer is sent to the manufacturer or professional organization for repair when the target printer has some faults that the merchant can solve by himself, thereby wasting time and resources. For example, in the case where the printed order ticket is relatively vague, it may be determined that the fault type of the target printer is that the set printing density is low, and the corresponding treatment method is to adjust the printing density; for another example, in the case where the printed order ticket lacks information, it may be determined that the fault type of the target printer is dirt attached to the print head, and the corresponding treatment method is to wipe the print head with a clean paper towel; for another example, in the case where the information recognition results of the continuously printed order tickets gradually decrease rapidly, it may be determined that the fault type of the target printer is aging of the print head, and the corresponding treatment method is to prepare to replace a new printer or replace a new print head; for another example, in the case where there is dirt in the order ticket that cannot be identified, it may be determined that the target printer has no fault and the order ticket is contaminated by oil, and the corresponding treatment method is to keep the printed order ticket away from the food or goods. Of course, there may be problems with the printing software of some printers or other hardware problems with the printers. For this type of printer failure, the method of this embodiment can also be used to determine and provide a solution. If the merchant can solve the problem by himself, he can solve it according to the solution. If he cannot solve it by himself, he will send the printer to the manufacturer or professional maintenance personnel for repair.

[0079] In this embodiment, the historical processing related information also includes the historical information identification result of the coding area to be identified for the first historical order ticket; as the target image to be processed is analyzed according to the target printer related information of the target printer, the target information identification result, and the historical processing related information of the historical failure of the reference printer, the target failure type of the target printer and the target processing method information for the target failure type are determined, which specifically refers to: first, according to the target printer related information, the historical failure type and the corresponding historical processing method information, the historical failure type of the reference printer similar to the target printer is determined as a candidate historical failure type, and the historical processing method information corresponding to the candidate historical failure type is used as the candidate historical processing method information; then, based on at least one of the similarity between the first historical image and the target image to be processed and the similarity between the historical information identification result and the target information identification result, the target failure type is determined in the candidate historical failure types, and the target processing method information is determined in the candidate historical processing method information. In fact, among a large amount of historical fault-related data of reference printers, candidate historical fault types and candidate historical processing method information can be quickly determined based on target printer-related information, historical fault types and corresponding historical processing method information (which can also include reference printer usage-related information, such as the model of the reference printer and the length of time the reference printer has been in use or the printed distance of the reference printer), and then it is convenient to determine the target fault type and target processing method information from the candidate historical fault types and candidate historical processing method information through at least one of the similarities between the first historical image and the target image to be processed and the similarity between the historical information recognition result and the target information recognition result.

[0080] In this embodiment, after determining the target fault type and target processing method information, the target printer related information, target information recognition result, target image to be processed and the target fault type and target processing method information are matched, and the target printer related information, target information recognition result, and target image to be processed are used as input parameters of the first target neural network model, and the target fault type and target processing method information are used as output parameters of the first target neural network model to optimize the first target neural network model to obtain the optimized first target neural network model. By optimizing the first target neural network model, the optimized first target neural network model can be more accurate in the subsequent determination of the printer fault type and processing method.

[0081] In this embodiment, the process of analyzing the target image to be processed on the server side to determine the target fault type of the target printer and the target processing method information for the target fault type also includes: obtaining a screened non-target image to be processed provided by the scanning terminal, the screened non-target image to be processed is an image screened and determined from multiple non-target images to be processed, the non-target image to be processed is an image captured by the scanning terminal when scanning the non-target order ticket printed by the target printer, the non-target image to be processed is used by the scanning terminal to identify the coding area to be identified of the non-target order ticket, wherein the information recognition result of the coding area to be identified for the non-target order ticket meets the preset standard recognition conditions.

[0082] After obtaining the filtered non-target images to be processed, adjacent images adjacent to the shooting time of the target images to be processed are determined in the filtered non-target images to be processed. Then, the target images to be processed are analyzed based on the target printer related information, the target information recognition result, and the historical processing related information of the reference printer having historical failures, to determine the target failure type of the target printer and the target processing method information for the target failure type.

[0083] First, the adjacent images are compared with the target image to be processed to determine whether the target printer may fail when printing the target order ticket; then, if so, the target image to be processed is analyzed based on the target printer related information, the target information recognition result, the historical processing related information of the reference printer's historical failures and the screened non-target images to be processed to determine the target failure type of the target printer and the target processing method information for the target failure type.

[0084] The reason why it is necessary to compare the adjacent images with the target image to be processed to determine whether the target printer may malfunction when printing the target order ticket is also to facilitate the rapid location of printing problems or printing failures that occur in the target printer when printing the target order ticket. For example, assuming that the adjacent image is similar to the target image to be processed, but the information recognition rate corresponding to the target image to be processed is low, while the information recognition rates of the non-target images to be processed after screening before and after the time of shooting the target image to be processed are high, it may be determined that the target printer has not malfunctioned, but the coding area to be identified of the target order ticket itself is contaminated, resulting in a low information recognition rate.

[0085] Of course, when determining that the target printer has a fault, in the process of analyzing the target to-be-processed image, the screened non-target to-be-processed image can also be used as the analysis basis, which can facilitate the rapid and accurate confirmation of the fault type of the target printer. For example, based on the decreasing trend of the information recognition rate of the screened non-target to-be-processed image before the time when the target to-be-processed image was taken, the server can quickly confirm some fault types of the printer that has run out of time from a large number of fault types, and then confirm the fault type of the target printer from these fault types, thereby improving the efficiency of confirming the fault type of the printer.

[0086] Step S503: providing target fault type and target processing method information to the scanning terminal, so that the scanning terminal can broadcast the target fault type and target processing method information.

[0087] After the server determines the target fault type and target processing method information, the target fault type and target processing method information are provided to the scanning terminal, so that the scanning terminal broadcasts the target fault type and target processing method information, so that the merchant can listen to the target fault type and target processing method information.

[0088] In this embodiment, in order to enable merchants to timely understand the available time information of the target printer or components of the target printer, so that when the use time limit of the target printer or components of the target printer is about to expire, the merchant can prepare a new printer or components of the target printer in time to avoid affecting the printing of order tickets, in this embodiment, the target remaining available time information of the target printer is also obtained.

[0089] The method of obtaining the target available remaining time information of the target printer may be as follows.

[0090] First, a historical image provided by a scanning terminal and taken when scanning a historical order ticket printed by a reference printer is obtained. The historical image is used by the scanning terminal to identify the coding area to be identified of the historical order ticket, wherein the historical image includes a first historical image and a second historical image, and the historical order ticket includes a first historical order ticket and a second historical order ticket. The second historical image is a historical image taken by the scanning terminal when scanning the second historical order ticket printed by a reference printer that has not had a historical failure. The historical information recognition result for the coding area to be identified of the second historical order ticket meets the preset standard recognition condition.

[0091] Afterwards, the historical available remaining time information when the reference printer prints the historical order ticket is obtained. Each historical image has its own corresponding historical available remaining time information.

[0092] Afterwards, a screened non-target image to be processed provided by the scanning terminal is obtained. The screened non-target image to be processed is an image screened and determined from multiple non-target images to be processed. The non-target image to be processed is an image taken by the scanning terminal when scanning the non-target order ticket printed by the target printer. The non-target image to be processed is used by the scanning terminal to identify the coding area to be identified of the non-target order ticket, wherein the information recognition result of the coding area to be identified of the non-target order ticket meets the preset standard recognition conditions.

[0093] Finally, the target available remaining time information of the target printer is obtained according to the filtered non-target to-be-processed images, target to-be-processed images, historical images and historical available remaining time information.

[0094] Specifically, obtaining the target available remaining time information of the target printer based on the filtered non-target images to be processed, target images to be processed, historical images and historical available remaining time information may mean: using the historical images and the historical available remaining time information as training samples to train the second initial neural network model to obtain a second target neural network model; using the filtered non-target images to be processed and the target images to be processed as input data of the second target neural network model to obtain the target available remaining time information.

[0095] In fact, the above method of obtaining the target available remaining time information is based on the pre-established correspondence between the historical available remaining time information of the previous reference printer and the historical image, and the target available remaining time information is obtained by comparing the image similarity between the historical image and the screened non-target image to be processed or the target image to be processed. Of course, in the process of obtaining the target available remaining time information, the image similarity between the historical image and the screened non-target image to be processed or the target image to be processed can also be represented by the similarity between the information recognition result corresponding to the historical image and the information recognition result corresponding to the screened non-target image to be processed or the target information recognition result.

[0096] After obtaining the target available remaining time information, determine whether the target available remaining time corresponding to the target available remaining time information is less than the preset standard available time; if the target available remaining time is less than the standard available time, send a reminder message to the scanning terminal to remind the merchant to prepare to replace a new printer or replace a component in the target printer, so that the scanning terminal broadcasts the reminder message. For example, assuming that when the printer's usage time limit is less than one week, it is necessary to remind the merchant to replace a new printer, and the standard available time can be one week.

[0097] In this embodiment, the target available remaining time information of the target printer can be obtained according to the filtered non-target to-be-processed images, target to-be-processed images, historical images and historical available remaining time information in the following manner.

[0098] Firstly, the real-time attenuation curve information of the target printer is obtained according to the screened non-target images to be processed and the target images to be processed.

[0099] Afterwards, the historical decay curve information of the reference printer that printed the historical order ticket is obtained based on the historical image. In fact, the historical decay curve corresponding to the historical decay curve information also reflects the relationship between the historical image and the historical available remaining time information, and specifically reflects the relationship between the image quality level of the historical image and the historical available remaining time information.

[0100] After the real-time attenuation curve information and the historical attenuation curve information are obtained, the target available remaining time information is obtained based on the real-time attenuation curve information, the historical attenuation curve information and the historical available remaining time information.

[0101] The attenuation curve corresponding to the attenuation curve information can reflect the remaining available time information of the printer. The attenuation curve can be obtained based on the image quality level and the usage time of the image when scanning the order ticket (for example, the image quality level is used as the vertical coordinate and the usage time is used as the horizontal coordinate to establish a rectangular coordinate system to obtain the attenuation curve). Since the historical available remaining time information of each point on the curve corresponding to the historical attenuation curve can be obtained by referring to the printer's past usage, the target available remaining time information of a certain point on the real-time attenuation curve (the image quality level of the image corresponding to the point is known) can be obtained through the real-time attenuation curve information, the historical attenuation curve information and the historical available remaining time information of the points on the historical attenuation curve.

[0102] In fact, through the historical attenuation curve information, the first correspondence between the image quality level of the image corresponding to the stage from the beginning of use to the complete unavailability of the reference printer and the usage time of the reference printer is known (the remaining available time of the reference printer can be obtained based on the total usage time of the reference printer minus the usage time of the reference printer), and thus the correspondence between the image quality level of the image corresponding to the stage from the beginning of use to the complete unavailability of the reference printer and the remaining available time of the reference printer is also known; similarly, the second correspondence between the image quality level of the image corresponding to the stage from the beginning of use to the current moment of the target printer and the usage time of the target printer is known, and then based on the first correspondence (which can reflect the attenuation coefficient of the reference printer), the second correspondence (which can reflect the attenuation coefficient of the target printer), and then by comparing the image similarity between the historical image and the screened non-target image to be processed or the target image to be processed, the correspondence between the image quality level of the image corresponding to the stage from the beginning of use to the current moment of the target printer and the remaining available time of the target printer is obtained, and then the target available remaining time information at the current moment can be obtained. Of course, in the process of obtaining the target available remaining time information, the image similarity between the historical image and the screened non-target image to be processed or the target image to be processed can also be represented by the similarity between the information recognition result corresponding to the historical image and the information recognition result corresponding to the screened non-target image to be processed or the target information recognition result.

[0103] In this embodiment, the scanning code and meal delivery process of the scanning terminal is used to achieve professional positioning of various types of printer failures, which solves the problem that low-cost printers cannot self-identify and diagnose failures. The quality of the printed order receipt is judged by the recognition module of the scanning terminal and the scanned image is collected and uploaded. Through low-cost external hardware and the scanning code and meal delivery process, it is seamlessly embedded in the takeaway operation chain without the need for additional repeated manual operations, thereby realizing printer fault diagnosis analysis and processing method recommendations.

[0104] At the same time, the printer fault pattern recognition built on the server side is based on big data model training. It integrates the basic information parameters of the printer, the printing quality of the printed order receipts, and the printer repair and after-sales data to conduct a comprehensive dynamic analysis of the current printer fault, solving the problem of rapid positioning of the printing module fault of thermal printers in the takeout industry, so that merchants using the printer can accurately identify the fault of the thermal printer, making fault positioning more convenient and simple, thereby improving the merchant's business experience and efficiency.

[0105] This embodiment can not only perform fault analysis and voice broadcast of problems that have occurred in the printer, but also provide early warning of possible faults based on the usage of the printer, such as sensing the degree of equipment aging and the remaining available time.

[0106] The present embodiment provides a method for determining a printer fault type. In this method, when a target information recognition result of a coding area to be recognized of a target order ticket does not meet preset standard recognition conditions, a target image to be processed taken when scanning a target order ticket printed by a target printer is obtained and provided by a scanning terminal. In fact, the scanning terminal takes a picture of the coding area to be recognized of the target order ticket that does not meet the recognition requirements. Then, the target image to be processed can be analyzed based on relevant information of the target printer, a target information recognition result of the target order ticket, and relevant information of historical processing of historical faults of the reference printer, to determine a target fault type of the target printer and target processing method information for the target fault type. The fault type and processing method when the target printer prints the target order ticket are accurately analyzed, and then the target fault type and target processing method information can be broadcasted through the scanning terminal, so that merchants can promptly understand the fault type of the target printer and the processing method for the fault type.

[0107] Second embodiment

[0108] Corresponding to the first embodiment, the second embodiment of the present application also provides another method for determining the type of printer failure. The execution subject of this embodiment is a scanning terminal, and the parts of the second embodiment that are the same as the scenario embodiment and the first embodiment are not introduced again. For details, please refer to the relevant parts of the scenario embodiment and the first embodiment.

[0109] Please refer to Figure 6 , which is a flowchart of a method for determining a printer fault type provided in the second embodiment of the present application.

[0110] The method for determining the printer fault type according to an embodiment of the present application includes the following steps.

[0111] Step S601: Scan the order ticket printed by the target printer, photograph the coded area to be identified on the order ticket, and obtain the image to be processed.

[0112] Step S602: Perform image recognition on the image to be processed to obtain information recognition results for the coded area to be recognized on the order ticket.

[0113] Step S603: Determine whether the information recognition result meets the preset standard recognition conditions.

[0114] Step S604: If the information recognition result does not meet the preset standard recognition conditions, the order ticket is used as the target order ticket, the image to be processed corresponding to the target order ticket is provided to the server as the target image to be processed, and the information recognition result corresponding to the target order ticket is provided to the server as the target information recognition result.

[0115] The target image to be processed and the target information recognition result are provided to the server, so that the server analyzes the target image to be processed according to the target printer related information, the target information recognition result, and the historical processing related information of the reference printer's historical failures, and determines the target failure type of the target printer and the target processing method information for the target failure type.

[0116] Step S605: Obtain target fault type and target processing method information provided by the server.

[0117] Step S606: reporting target fault type and target processing method information.

[0118] In this embodiment, it also includes: if the information recognition result meets the preset standard recognition conditions, the order ticket is treated as a non-target order ticket, and the to-be-processed image corresponding to the non-target order ticket is provided to the server as a non-target to-be-processed image, so that the server obtains the target available remaining time information of the target printer based on the non-target to-be-processed image, the target to-be-processed image, the historical image taken when scanning the historical order ticket printed by the reference printer, and the historical available remaining time information when the reference printer printed the historical order ticket, and determines whether the target available remaining time corresponding to the target available remaining time information is less than the preset standard available time. If the target available remaining time is less than the standard available time, a reminder message is sent to the scanning terminal to remind the merchant to prepare to replace a new printer or replace components in the target printer; the reminder information provided by the server is obtained; and the reminder information is broadcast.

[0119] In this embodiment, the image to be processed contains a code to be identified and at least one of text, numbers, letters and pattern information: as an embodiment of performing image recognition on the image to be processed to obtain the information recognition result of the code area to be identified for the order ticket: identifying the code to be identified contained in the image to be processed to obtain a first information recognition result; identifying at least one of the text, numbers, letters and pattern information contained in the image to be processed to obtain a second information recognition result; performing weighted sum processing on the first information recognition result and the second information recognition result to obtain the information recognition result of the code area to be identified for the order ticket.

[0120] In this embodiment, the to-be-processed image corresponding to the non-target order ticket is provided to the server as the non-target to-be-processed image in the following manner: first, according to the non-target information recognition result of the to-be-recognized coding area of ​​the non-target order ticket, the push frequency for providing the non-target to-be-processed image to the server is calculated; then, the non-target to-be-processed image after screening is determined from multiple non-target to-be-processed images according to the push frequency, and the non-target to-be-processed image after screening is provided to the server. Specifically, after the target printer determines that the information recognition result meets the preset standard recognition condition, it does not directly provide all the non-target to-be-processed images to the server, but screens some non-target to-be-processed images based on the push frequency and provides them to the server.

[0121] In this embodiment, as a method of calculating the push frequency for providing the non-target image to be processed to the server side based on the non-target information recognition result of the coded area to be recognized of the non-target order ticket, it can refer to: first, for multiple non-target images to be processed, the change rate of multiple non-target information recognition results is calculated; then, based on the change rate and the attenuation change coefficient of the target printer (which can be the slope of the tangent of the attenuation curve), the push frequency for providing the non-target image to be processed to the server side is calculated.

[0122] Specifically, the push frequency freq It is obtained using the following formula.

[0123] freq = k× delta ' ( n ); d ( delta ) / dn = delta ' ( n ), delta ' ( n )for delta The derivative of delta The rate of change, n Indicates the number of prints. k is a coefficient of variation, indicating the attenuation characteristic corresponding to the printer model (target printer). The attenuation characteristic can be determined based on at least one of the attenuation curve information of the first embodiment, the printer model, and other information.

[0124] In this embodiment, if the information recognition result of the image to be processed identified by the scanning terminal meets the preset standard recognition conditions, an allocation request message is sent to the server to request the allocation of delivery capacity for the order of the order ticket, so that the server allocates delivery capacity for the order of the order ticket in response to the allocation request message; at the same time, a voice message is broadcast that the code to be identified of the order ticket has been successfully identified.

[0125] In this embodiment, if the scanning terminal and the target printer are an integrated machine; the scanning terminal sends a first request message to the target printer for requesting to obtain relevant information of the target printer; thereafter, the target printer relevant information sent by the target printer in response to the first request message is obtained, and the target printer relevant information is provided to the server, so that the server can determine the printer fault type and handling method based on the relevant information of the target printer.

[0126] Afterwards, after obtaining the target fault type and target processing method information provided by the server, the scanning terminal can also send a print request message to the target printer to request printing of the target fault type and target processing method information while broadcasting the target fault type and target processing method information, so that the target printer prints the target fault type and target processing method information in response to the print request message. By printing out the target fault type and target processing method information, merchants can more clearly understand the target fault type and target processing method information of the target printer.

[0127] In this embodiment, if the scanning terminal and the target printer are separate machines, the scanning terminal further includes: in response to detecting the configured target printer related information provided by the first configuration terminal, obtaining the target printer related information, and providing the target printer related information to the server.

[0128] Third embodiment

[0129] Corresponding to the printer fault type determination method provided in the first and second embodiments of the present application, the third embodiment of the present application also provides a printer fault type determination system. Since the system embodiment is basically similar to the first and second embodiments, the description is relatively simple, and the relevant parts can refer to the partial description of the first and second embodiments. The system embodiment described below is only illustrative.

[0130] This embodiment provides a printer fault type determination system, including: a target printer, a scanning terminal and a server.

[0131] The target printer is used to print an order ticket for the order, and the order ticket at least contains the code to be identified.

[0132] A scanning terminal is used to scan an order ticket, photograph the coded area to be identified on the order ticket, and obtain an image to be processed; perform image recognition on the image to be processed, and obtain an information recognition result for the coded area to be identified; determine whether the information recognition result meets a preset standard recognition condition; if the information recognition result does not meet the preset standard recognition condition, the order ticket is used as a target order ticket, the image to be processed corresponding to the target order ticket is provided to a server as a target image to be processed, and the information recognition result corresponding to the target order ticket is provided to the server as a target information recognition result.

[0133] The server side is used to obtain the target image to be processed, the target printer related information of the target printer, and the target information recognition result provided by the scanning terminal, analyze the target image to be processed according to the target printer related information, the target information recognition result, and the historical processing related information of the reference printer's historical faults, determine the target fault type of the target printer and the target processing method information for the target fault type; provide the target fault type and the target processing method information to the scanning terminal so that the scanning terminal can broadcast the target fault type and the target processing method information.

[0134] Fourth embodiment

[0135] Corresponding to the printer fault type determination method provided in the first embodiment of the present application, the fourth embodiment of the present application also provides a printer fault type determination device. Since the device embodiment is basically similar to the first embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the first embodiment. The device embodiment described below is only illustrative.

[0136] The device for determining the printer fault type is applied to a server, and the device comprises: a first target image to be processed acquisition unit, which is used to obtain a target image to be processed taken when scanning a target order ticket printed by a target printer and provided by a scanning terminal, wherein the target image to be processed is used by the scanning terminal to identify a coding area to be identified of the target order ticket, wherein the target information identification result of the coding area to be identified of the target order ticket does not meet a preset standard identification condition; a determination unit, which is used to analyze the target image to be processed according to target printer related information of the target printer, the target information identification result, and historical processing related information of a reference printer with respect to historical faults, to determine a target fault type of the target printer and target processing method information for the target fault type; a first providing unit, which is used to provide the target fault type and the target processing method information to the scanning terminal, so that the scanning terminal can broadcast the target fault type and the target processing method information.

[0137] Fifth embodiment

[0138] Corresponding to the printer fault type determination method provided in the second embodiment of the present application, the fifth embodiment of the present application also provides a printer fault type determination device. Since the device embodiment is basically similar to the second embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the second embodiment. The device embodiment described below is only illustrative.

[0139] The device for determining the printer fault type is applied to a scanning terminal, and the device includes: a second unit for obtaining the image to be processed, which is used to scan the order ticket printed by the target printer, photograph the coding area to be identified on the order ticket, and obtain the image to be processed; a recognition unit, which is used to perform image recognition on the image to be processed, and obtain the information recognition result of the coding area to be identified on the order ticket; a first judgment unit, which is used to judge whether the information recognition result meets the preset standard recognition condition; and a second providing unit, which is used to take the order ticket as the target order ticket and provide the image to be processed corresponding to the target order ticket if the information recognition result does not meet the preset standard recognition condition. The target image to be processed is provided to the server side, and the information identification result corresponding to the target order ticket is provided to the server side as the target information identification result, so that the server side analyzes the target image to be processed according to the target printer related information of the target printer, the target information identification result, and the historical processing related information of the reference printer's historical failures, and determines the target fault type of the target printer and the target processing method information for the target fault type; the information to be broadcasted obtaining unit is used to obtain the target fault type and the target processing method information provided by the server; the broadcasting unit is used to broadcast the target fault type and the target processing method information.

[0140] Sixth embodiment

[0141] Corresponding to the methods of the first to second embodiments of the present application, the sixth embodiment of the present application further provides an electronic device.

[0142] In this embodiment, an optional hardware structure of the electronic device includes: at least one processor, at least one memory and at least one communication bus; the memory contains programs and data.

[0143] A bus can be a communication device that transmits data between components inside an electronic device, such as an internal bus (e.g., a CPU-memory bus, where the processor is the central processing unit, or CPU for short), an external bus (e.g., a universal serial bus port, a peripheral component interconnect express port), etc.

[0144] In addition, the electronic device also includes: at least one network interface and at least one peripheral interface. The network interface provides wired or wireless communication related to an external network (e.g., the Internet, an intranet, a local area network, a mobile communication network, etc.); in some embodiments, the network interface may include any number of network interface controllers (NICs), radio frequency (RF) modules, repeaters, transceivers, modems, routers, gateways, any combination of wired network adapters, wireless network adapters, Bluetooth adapters, infrared adapters, near field communication (NFC) adapters, cellular network chips, etc.

[0145] The peripheral interface is used to connect with the peripherals, which may be peripherals 1, 2 and 3 as shown in the figure. Peripherals are peripheral devices, which may include but are not limited to cursor control devices (such as mice, touch pads or touch screens), keyboards, displays (such as cathode ray tube displays, liquid crystal displays), monitors or light emitting diode displays, video input devices (such as cameras or communication input interfaces coupled to video files), etc.

[0146] The processor may be a CPU, or an application specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0147] The memory may include high-speed RAM (full name: Random Access Memory) memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk storage.

[0148] The processor calls the program and data stored in the memory to execute the methods of the first embodiment to the second embodiment of the present application.

[0149] Seventh embodiment

[0150] Corresponding to the methods of the first to second embodiments of the present application, the seventh embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program, which is run by a processor to execute the methods of the first to second embodiments of the present application.

[0151] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

[0152] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0153] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. According to the definition in this article, computer readable media does not include non-transitory computer readable storage media, such as modulated data signals and carrier waves.

[0154] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0155] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

Claims

1. A method for determining a printer fault type, characterized in that: Applied to the server, the method includes: Obtaining a target image to be processed provided by a scanning terminal, which is taken when scanning a target order ticket printed by a target printer, wherein the target image to be processed is used by the scanning terminal to identify a coding area to be identified of the target order ticket, wherein a target information identification result for the coding area to be identified of the target order ticket does not meet a preset standard identification condition; Compare the target image to be processed and the adjacent images in the filtered non-target images to be processed that are adjacent to the target image to be processed in shooting time, and determine whether the target printer may fail when printing the target order ticket; If so, then the target image to be processed is analyzed based on the filtered non-target image to be processed and according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer having historical faults, to determine the target fault type of the target printer and the target processing method information for the target fault type; the printer related information includes at least one of the following information: printer model information, printing component information, initial use time information, used time information, and manufacturer information; the information recognition result includes the information recognition success rate; the historical processing related information includes the first historical image taken by the scanning terminal when scanning the first historical order ticket printed by the reference printer having historical faults, the historical information recognition result corresponding to the first historical image, the confirmed historical fault type and the corresponding historical processing method information; The target fault type and the target processing method information are provided to the scanning terminal so that the scanning terminal can broadcast the target fault type and the target processing method information.

2. The method according to claim 1, characterized in that The historical information recognition result corresponding to the first historical image is an information recognition result for the coding area to be recognized of the first historical order ticket, the first historical image is used by the scanning terminal to recognize the coding area to be recognized of the first historical order ticket, wherein the historical information recognition result for the coding area to be recognized of the first historical order ticket does not meet the preset standard recognition condition; The target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer historical faults, to determine the target fault type of the target printer and the target processing method information for the target fault type, including: The first initial neural network model is trained by using the relevant information of the reference printer having the historical fault, the historical information recognition result corresponding to the first historical image, the first historical image as input training samples, and the historical fault type and the historical processing method information as output training samples to obtain a first target neural network model; The target printer related information, the target information recognition result and the target image to be processed are used as input data of the first target neural network model to determine the target fault type and the target processing method information.

3. The method according to claim 1, characterized in that Also includes: Obtaining a screened non-target image to be processed provided by a scanning terminal, wherein the screened non-target image to be processed is an image screened and determined from a plurality of non-target images to be processed, and the non-target image to be processed is an image captured by the scanning terminal when scanning a non-target order ticket printed by a target printer, and the non-target image to be processed is used by the scanning terminal to identify a coding area to be identified of the non-target order ticket, wherein an information identification result of the coding area to be identified of the non-target order ticket meets a preset standard identification condition; The adjacent image is determined in the screened non-target to-be-processed image.

4. The method according to claim 1, characterized in that The historical information recognition result corresponding to the first historical image is an information recognition result for the coded area to be recognized of the first historical order ticket, the first historical image is used by the scanning terminal to recognize the coded area to be recognized of the first historical order ticket, wherein the historical information recognition result corresponding to the first historical image does not meet the preset standard recognition condition; The target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer historical faults, to determine the target fault type of the target printer and the target processing method information for the target fault type, including: According to the target printer related information, the historical fault type and the corresponding historical processing method information, determine the historical fault type of a reference printer similar to the target printer as a candidate historical fault type, and use the historical processing method information corresponding to the candidate historical fault type as the candidate historical processing method information; Based on at least one of the similarities between the first historical image and the target image to be processed and the similarities between the historical information recognition result and the target information recognition result, a target fault type is determined from the candidate historical fault types, and target processing method information is determined from the candidate historical processing method information.

5. The method according to claim 2, characterized in that: Also includes: The target printer related information, the target information recognition result, and the target image to be processed are used as input parameters of the first target neural network model, and the target fault type and the target processing method information are used as output parameters of the first target neural network model to optimize the first target neural network model to obtain the optimized first target neural network model.

6. The method according to claim 1, characterized in that Also includes: Obtaining a historical image provided by a scanning terminal and taken when scanning a historical order ticket printed by a reference printer, wherein the historical image is used by the scanning terminal to identify a coding area to be identified on the historical order ticket; Obtaining historical available remaining time information when the reference printer prints the historical order ticket; Obtaining a screened non-target image to be processed provided by a scanning terminal, wherein the screened non-target image to be processed is an image screened and determined from a plurality of non-target images to be processed, and the non-target image to be processed is an image captured by the scanning terminal when scanning a non-target order ticket printed by a target printer, and the non-target image to be processed is used by the scanning terminal to identify a coding area to be identified of the non-target order ticket, wherein an information identification result of the coding area to be identified of the non-target order ticket meets a preset standard identification condition; According to the filtered non-target images to be processed, the target images to be processed, the historical images and the historical available remaining time information, the target available remaining time information of the target printer is obtained, including: based on the historical images and the historical available remaining time information, establishing a correspondence between the available remaining time information and the image; based on the correspondence and the image similarity between the historical images and the filtered non-target images to be processed, obtaining the target available remaining time information; or, based on the correspondence and the image similarity between the historical images and the target images to be processed, obtaining the target available remaining time information.

7. The method according to claim 6, characterized in that The historical image includes the first historical image and the second historical image, the second historical image being a historical image taken by the scanning terminal when scanning a second historical order ticket printed by a reference printer that has not had a historical failure; the historical information recognition result of the to-be-recognized coding area of ​​the second historical order ticket meets the preset standard recognition condition; The step of obtaining the target available remaining time information of the target printer according to the filtered non-target to-be-processed images, the target to-be-processed images, the historical images and the historical available remaining time information includes: The second initial neural network model is trained by using the first historical image and the second historical image as input training samples and the historical available remaining time information as output training samples to obtain a second target neural network model; The filtered non-target images to be processed and the target images to be processed are used as input data of the second target neural network model to obtain the target available remaining time information.

8. The method according to claim 6, characterized in that Also includes: Determine whether the target available remaining time corresponding to the target available remaining time information is less than a preset standard available time; If the target available remaining time is less than the standard available time, a reminder message is sent to the scanning terminal to remind the merchant to prepare to replace a new printer or replace a component in the target printer, so that the scanning terminal broadcasts the reminder message.

9. The method according to claim 6, characterized in that Also includes: According to the screened non-target to-be-processed image and the target to-be-processed image, obtaining real-time attenuation curve information of the target printer; According to the historical image, obtaining historical attenuation curve information of a reference printer that printed the historical order ticket; The step of obtaining the target available remaining time information of the target printer according to the filtered non-target to-be-processed images, the target to-be-processed images, the historical images and the historical available remaining time information includes: The target available remaining time information is obtained based on the real-time attenuation curve information, the historical attenuation curve information and the historical available remaining time information.

10. A method for determining a printer fault type, characterized in that: Applied to the server, the method includes: Obtaining a target image to be processed provided by a scanning terminal, which is taken when scanning a target order ticket printed by a target printer, wherein the target image to be processed is used by the scanning terminal to identify a coding area to be identified of the target order ticket, wherein a target information identification result for the coding area to be identified of the target order ticket does not meet a preset standard identification condition; The target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer having a historical fault, to determine the target fault type of the target printer and the target processing method information for the target fault type; the printer related information includes at least one of the following information: printer model information, printing component information, initial use time information, used time information, and manufacturer information; the information recognition result includes the information recognition success rate; the historical processing related information includes the first historical image taken by the scanning terminal when scanning the first historical order ticket printed by the reference printer having a historical fault, the historical information recognition result corresponding to the first historical image, the confirmed historical fault type and the corresponding historical processing method information; Obtaining the target available remaining time information of the target printer according to the filtered non-target images to be processed, the target images to be processed, the historical images and the historical available remaining time information, including: establishing a corresponding relationship between the available remaining time information and the image based on the historical images taken when scanning the historical order tickets printed by the reference printer and the historical available remaining time information when the reference printer printed the historical order tickets, provided by the scanning terminal; obtaining the target available remaining time information of the target printer based on the corresponding relationship, the image similarity between the historical images and the filtered non-target images to be processed provided by the scanning terminal; or obtaining the target available remaining time information based on the corresponding relationship, the image similarity between the historical images and the target images to be processed; The target fault type and the target processing method information are provided to the scanning terminal so that the scanning terminal can broadcast the target fault type and the target processing method information.

11. The method according to claim 10, characterized in that Also includes: Obtaining the historical image, wherein the historical image is used by the scanning terminal to identify the to-be-identified coding area of ​​the historical order ticket; Obtaining the historical available remaining time information; Obtain a screened non-target image to be processed provided by a scanning terminal, wherein the screened non-target image to be processed is an image screened and determined from multiple non-target images to be processed, and the non-target image to be processed is an image taken by the scanning terminal when scanning a non-target order ticket printed by a target printer, and the non-target image to be processed is used by the scanning terminal to identify the coding area to be identified of the non-target order ticket, wherein the information recognition result of the coding area to be identified of the non-target order ticket meets the preset standard recognition conditions.

12. The method according to claim 11, characterized in that The historical image includes the first historical image and the second historical image, the second historical image being a historical image taken by the scanning terminal when scanning a second historical order ticket printed by a reference printer that has not had a historical failure; the historical information recognition result of the to-be-recognized coding area of ​​the second historical order ticket meets the preset standard recognition condition; The step of obtaining the target available remaining time information of the target printer according to the filtered non-target to-be-processed images, the target to-be-processed images, the historical images and the historical available remaining time information includes: The second initial neural network model is trained by using the first historical image and the second historical image as input training samples and the historical available remaining time information as output training samples to obtain a second target neural network model; The filtered non-target images to be processed and the target images to be processed are used as input data of the second target neural network model to obtain the target available remaining time information.

13. The method according to claim 11, characterized in that Also includes: Determine whether the target available remaining time corresponding to the target available remaining time information is less than a preset standard available time; If the target available remaining time is less than the standard available time, a reminder message is sent to the scanning terminal to remind the merchant to prepare to replace a new printer or replace a component in the target printer, so that the scanning terminal broadcasts the reminder message.

14. The method according to claim 11, characterized in that Also includes: According to the screened non-target to-be-processed image and the target to-be-processed image, obtaining real-time attenuation curve information of the target printer; According to the historical image, obtaining historical attenuation curve information of a reference printer that printed the historical order ticket; The step of obtaining the target available remaining time information of the target printer according to the filtered non-target to-be-processed images, the target to-be-processed images, the historical images and the historical available remaining time information includes: The target available remaining time information is obtained based on the real-time attenuation curve information, the historical attenuation curve information and the historical available remaining time information.

15. The method according to claim 10, characterized in that The historical information recognition result corresponding to the first historical image is an information recognition result for the coding area to be recognized of the first historical order ticket, the first historical image is used by the scanning terminal to recognize the coding area to be recognized of the first historical order ticket, wherein the historical information recognition result for the coding area to be recognized of the first historical order ticket does not meet the preset standard recognition condition; The target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer historical faults, to determine the target fault type of the target printer and the target processing method information for the target fault type, including: The first initial neural network model is trained by using the relevant information of the reference printer having the historical fault, the historical information recognition result corresponding to the first historical image, the first historical image as input training samples, and the historical fault type and the historical processing method information as output training samples to obtain a first target neural network model; The target printer related information, the target information recognition result and the target image to be processed are used as input data of the first target neural network model to determine the target fault type and the target processing method information.

16. The method according to claim 10, characterized in that Also includes: Obtaining a screened non-target image to be processed provided by a scanning terminal, wherein the screened non-target image to be processed is an image screened and determined from a plurality of non-target images to be processed, and the non-target image to be processed is an image captured by the scanning terminal when scanning a non-target order ticket printed by a target printer, and the non-target image to be processed is used by the scanning terminal to identify a coding area to be identified of the non-target order ticket, wherein an information identification result of the coding area to be identified of the non-target order ticket meets a preset standard identification condition; The target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer historical faults, to determine the target fault type of the target printer and the target processing method information for the target fault type, including: Determining, from the screened non-target images to be processed, adjacent images whose shooting time is adjacent to that of the target image to be processed; Comparing the adjacent image with the target image to be processed to determine whether the target printer may fail when printing the target order ticket; If so, the target image to be processed is analyzed based on the target printer related information of the target printer, the target information identification result, the historical processing related information of the reference printer's historical faults and the screened non-target image to be processed to determine the target fault type of the target printer and the target processing method information for the target fault type.

17. The method according to claim 10, characterized in that The historical information recognition result corresponding to the first historical image is an information recognition result for the coded area to be recognized of the first historical order ticket, the first historical image is used by the scanning terminal to recognize the coded area to be recognized of the first historical order ticket, wherein the historical information recognition result corresponding to the first historical image does not meet the preset standard recognition condition; The target image to be processed is analyzed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the reference printer historical faults, to determine the target fault type of the target printer and the target processing method information for the target fault type, including: According to the target printer related information, the historical fault type and the corresponding historical processing method information, determine the historical fault type of a reference printer similar to the target printer as a candidate historical fault type, and use the historical processing method information corresponding to the candidate historical fault type as the candidate historical processing method information; Based on at least one of the similarities between the first historical image and the target image to be processed and the similarities between the historical information recognition result and the target information recognition result, a target fault type is determined from the candidate historical fault types, and target processing method information is determined from the candidate historical processing method information.

18. The method according to claim 15, characterized in that Also includes: The target printer related information, the target information recognition result, and the target image to be processed are used as input parameters of the first target neural network model, and the target fault type and the target processing method information are used as output parameters of the first target neural network model to optimize the first target neural network model to obtain the optimized first target neural network model.

19. A method for determining a printer fault type, characterized in that: Applied to a scanning terminal, the method comprises: Scan the order ticket printed by the target printer, photograph the coded area to be identified on the order ticket, and obtain the image to be processed; Performing image recognition on the image to be processed to obtain an information recognition result of the coded area to be recognized on the order ticket; Determining whether the information recognition result meets the preset standard recognition condition; If the information recognition result does not meet the preset standard recognition conditions, the order ticket will be used as the target order ticket, the image to be processed corresponding to the target order ticket will be provided to the server as the target image to be processed, and the information recognition result corresponding to the target order ticket will be provided to the server as the target information recognition result, so that the server will compare the target image to be processed and the adjacent images in the screened non-target images to be processed that are adjacent to the shooting time of the target image to be processed, to determine whether the target printer may malfunction when printing the target order ticket; if so, based on the screened non-target images to be processed and according to the target printer related information of the target printer, the target information The target image to be processed is analyzed based on the recognition result and the historical processing related information of the historical failure of the reference printer to determine the target failure type of the target printer and the target processing method information for the target failure type; the printer related information includes at least one of the following information: printer model information, printing component information, initial use time information, used time information, and manufacturer information; the information recognition result includes the information recognition success rate; the historical processing related information includes the first historical image taken by the scanning terminal when scanning the first historical order ticket printed by the reference printer with the historical failure, the historical information recognition result corresponding to the first historical image, the confirmed historical failure type and the corresponding historical processing method information; Obtaining the target fault type and the target processing method information provided by the server; The target fault type and the target processing method information are reported.

20. The method according to claim 19, characterized in that Also includes: If the information recognition result meets the preset standard recognition condition, the order ticket is taken as a non-target order ticket, and the to-be-processed image corresponding to the non-target order ticket is provided to the server as a non-target to-be-processed image, so that the server establishes a corresponding relationship between the available remaining time information and the image based on the historical image taken when scanning the historical order ticket printed by the reference printer and the historical available remaining time information when the reference printer printed the historical order ticket, and obtains the target available remaining time information of the target printer based on the corresponding relationship and the image similarity between the historical image and the screened non-target to-be-processed image; Alternatively, based on the corresponding relationship and the image similarity between the historical image and the target image to be processed, the target available remaining time information is obtained, and it is determined whether the target available remaining time corresponding to the target available remaining time information is less than a preset standard available time, and if the target available remaining time is less than the standard available time, a reminder message is sent to the scanning terminal to remind the merchant to prepare to replace a new printer or replace a component in the target printer; Obtaining the reminder information provided by the server; The reminder information is broadcasted.

21. The method according to claim 19, characterized in that The image to be processed contains a code to be identified and at least one of text, numbers, letters and pattern information: The performing image recognition on the image to be processed to obtain the information recognition result of the coded area to be recognized on the order ticket includes: Identify the code to be identified contained in the image to be processed to obtain a first information identification result; Recognize at least one of the text, numbers, letters and pattern information contained in the image to be processed to obtain a second information recognition result; The first information identification result and the second information identification result are weightedly summed to obtain the information identification result of the coded area to be identified on the order ticket.

22. The method according to claim 20, characterized in that The step of providing the to-be-processed image corresponding to the non-target order ticket as a non-target to-be-processed image to the server includes: Calculate a push frequency for providing the non-target image to be processed to the server according to the non-target information recognition result of the to-be-recognized coding area of ​​the non-target order ticket; The filtered non-target images to be processed are determined from the plurality of non-target images to be processed according to the push frequency, and the filtered non-target images to be processed are provided to the server.

23. The method according to claim 22, characterized in that The step of calculating the push frequency for providing the non-target image to be processed to the server according to the non-target information recognition result of the to-be-recognized coding area of ​​the non-target order ticket includes: For multiple non-target images to be processed, calculating the change rates of multiple non-target information recognition results; Based on the change rate and the attenuation change coefficient of the target printer, a push frequency for providing the non-target to-be-processed image to a server is calculated.

24. The method according to claim 20, characterized in that Also includes: If the information identification result meets the preset standard identification condition, an allocation request message for requesting allocation of delivery capacity to the order of the order ticket is sent to the server, so that the server allocates delivery capacity to the order of the order ticket in response to the allocation request message; A voice message is broadcasted to announce that the code to be identified of the order ticket is successfully identified.

25. A method for determining a printer fault type, characterized in that: Applied to a scanning terminal, the method comprises: Scan the order ticket printed by the target printer, photograph the coded area to be identified on the order ticket, and obtain the image to be processed; Performing image recognition on the image to be processed to obtain an information recognition result of the coded area to be recognized on the order ticket; Determining whether the information recognition result meets the preset standard recognition condition; If the information recognition result does not meet the preset standard recognition condition, the order ticket is taken as the target order ticket, the image to be processed corresponding to the target order ticket is provided to the server as the target image to be processed, and the information recognition result corresponding to the target order ticket is provided to the server as the target information recognition result, so that the server analyzes the target image to be processed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the historical failure of the reference printer, and determines the target failure type of the target printer and the target processing method information for the target failure type; if the information recognition result meets the preset standard recognition condition, the order ticket is taken as the non-target order ticket, and the image to be processed corresponding to the non-target order ticket is provided to the server as the non-target image to be processed, so that the server analyzes the target image to be processed according to the target printer related information of the target printer, the target information recognition result, and the historical processing related information of the historical failure of the reference printer, and determines the target failure type of the target printer and the target processing method information for the target failure type; if the information recognition result meets the preset standard recognition condition, the order ticket is taken as the non-target order ticket, and the image to be processed corresponding to the non-target order ticket is provided to the server as the non-target image to be processed, so that the server analyzes the target image to be processed according to the historical image taken when scanning the historical order ticket printed by the reference printer, The historical available remaining time information when the reference printer printed the historical order ticket is established, a correspondence relationship between the available remaining time information and the image is established, and based on the correspondence relationship and the image similarity between the historical image and the filtered non-target image to be processed, the target available remaining time information of the target printer is obtained; or, based on the correspondence relationship and the image similarity between the historical image and the target image to be processed, the target available remaining time information is obtained; the printer-related information includes at least one of the following information: printer model information, printing component information, initial use time information, used time information, manufacturer information; the information recognition result includes the information recognition success rate; the historical processing-related information includes the first historical image taken by the scanning terminal when scanning the first historical order ticket printed by the reference printer with a historical failure, the historical information recognition result corresponding to the first historical image, the confirmed historical failure type and the corresponding historical processing method information; Obtaining the target fault type and the target processing method information provided by the server; The target fault type and the target processing method information are reported.

26. The method according to claim 25, characterized in that Also includes: Obtaining reminder information provided by the server to remind the merchant to prepare to replace a new printer or replace a component in a target printer; The reminder information is sent by the server when it is determined that the target available remaining time corresponding to the target available remaining time information is less than the preset standard available time; The reminder information is broadcasted.

27. The method according to claim 25, characterized in that The image to be processed contains a code to be identified and at least one of text, numbers, letters and pattern information: The performing image recognition on the image to be processed to obtain the information recognition result of the coded area to be recognized on the order ticket includes: Identify the code to be identified contained in the image to be processed to obtain a first information identification result; Recognize at least one of the text, numbers, letters and pattern information contained in the image to be processed to obtain a second information recognition result; The first information identification result and the second information identification result are weightedly summed to obtain the information identification result of the coded area to be identified on the order ticket.

28. The method according to claim 26, characterized in that The step of providing the to-be-processed image corresponding to the non-target order ticket as a non-target to-be-processed image to the server includes: Calculate a push frequency for providing the non-target image to be processed to the server according to the non-target information recognition result of the to-be-recognized coding area of ​​the non-target order ticket; The filtered non-target images to be processed are determined from the plurality of non-target images to be processed according to the push frequency, and the filtered non-target images to be processed are provided to the server.

29. The method according to claim 28, characterized in that The step of calculating the push frequency for providing the non-target image to be processed to the server according to the non-target information recognition result of the to-be-recognized coding area of ​​the non-target order ticket includes: For multiple non-target images to be processed, calculating the change rates of multiple non-target information recognition results; Based on the change rate and the attenuation change coefficient of the target printer, a push frequency for providing the non-target to-be-processed image to a server is calculated.

30. The method according to claim 26, characterized in that Also includes: If the information identification result meets the preset standard identification condition, an allocation request message for requesting allocation of delivery capacity to the order of the order ticket is sent to the server, so that the server allocates delivery capacity to the order of the order ticket in response to the allocation request message; A voice message is broadcasted to announce that the code to be identified of the order ticket is successfully identified.

Citation Information

Patent Citations

  • Cloud-based printing quality testing method and system

    CN116400873A

  • Cloud printer abnormal state identification and maintenance management system

    CN117707444A