Printing anomaly detection method, laser printer and storage medium

By using SOC modules and processing modules in laser printers, rapid detection and feedback of printing abnormalities is achieved, solving the problem of long feedback time of traditional printing equipment, and improving printing efficiency and user experience.

CN118567589BActive Publication Date: 2025-02-25BEIJING CGPRINTECH TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411045114.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2025-02-25
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

Traditional printing equipment has a long feedback time in abnormal situations, which makes users unable to detect problems in time, affecting work efficiency.

Method used

By introducing the SOC module into the laser printer, the coordinated work of the first processing module and the second processing module is used to split, analyze, and pre-process the printing tasks, and promptly feedback abnormal situations.

Benefits of technology

It improves the efficiency of detecting abnormal conditions of the printer, reduces printing failures, improves printing efficiency, and enables users to complete printing jobs quickly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567589B_ABST
    Figure CN118567589B_ABST
Patent Text Reader

Abstract

The present invention discloses a printing anomaly detection method, a laser printer and a storage medium. The method is applied to a laser printer integrated with a SOC module, wherein the SOC module comprises: a first processing module and a second processing module, wherein: when the first processing module receives a printing instruction carrying a printing task, a part of the printing task is simultaneously sent to the second processing module; the first processing module and the second processing module respectively parse the first printing control information and the second printing control information indicated by the printing task according to the printing tasks they are responsible for; and then the second processing module performs pre-processing to determine whether there is an abnormality, so as to detect the abnormal condition of the printer in advance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of printers, and in particular to a printing anomaly detection method, a laser printer and a storage medium. Background Art

[0002] With the advancement of science and technology, printing equipment, as an important tool for information transmission, has been widely used in various fields. For example, laser printers have become important equipment in the fields of office and study. However, in actual use, printing equipment often encounters various abnormalities, such as paper jams, insufficient ink, clogged print heads, etc. These problems seriously affect the printing quality and may even lead to the loss of important information, thus wasting printing time and affecting work efficiency. Traditional abnormal feedback often takes a long time, resulting in users being unable to get the problem in time, thus affecting work efficiency. Therefore, how to promptly detect and solve abnormal problems of printing equipment has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] In view of this, the main purpose of the present invention is to provide a printing abnormality detection method, device, laser printer and storage medium, aiming to improve the efficiency of discovering abnormal conditions of the printer, reduce printing failures during the printing process, thereby improving printing efficiency and enabling users to quickly complete printing jobs.

[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0005] An embodiment of the present invention provides a printing anomaly detection method, which is applied to a laser printer integrated with a SOC module, wherein the SOC module includes: a first processing module and a second processing module, and the method includes:

[0006] When the first processing module receives a print instruction carrying a print task, the first processing module processes the print task to obtain a first task and a second task, wherein the first task and the second task together constitute the print task; the first processing module sends the second task to the second processing module;

[0007] The first processing module and the second processing module parse the first task and the second task respectively to obtain the first printing control information indicated by the first task and the second printing control information indicated by the second task;

[0008] The first processing module sends the first printing control information to the second processing module, and the second processing module pre-processes the first printing control information to determine first printing status information in a pre-printing process;

[0009] The second processing module pre-processes the second printing control information to determine second printing status information in a pre-printing process;

[0010] If the first printing status information or the second printing status information indicates an abnormality, the second processing module sends an abnormality indication to the first processing module, and after the first processing module receives the abnormality indication, determines a printing fault according to the first printing status information and the second printing status information, and feeds back the printing fault.

[0011] To achieve the above object, an embodiment of the present invention further provides a laser printer, the laser printer comprising:

[0012] processor;

[0013] a memory for storing processor-executable instructions;

[0014] Wherein, the processor is used to execute the above-mentioned printing abnormality detection method.

[0015] To achieve the above objectives, an embodiment of the present invention further provides a computer storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to enable the one or more processors to execute the printing anomaly detection method as described above.

[0016] A printing anomaly detection method and device provided in an embodiment of the present invention splits, analyzes, pre-processes and provides anomaly feedback on printing tasks through the collaborative work of a first processing module and a second processing module, thereby improving the printing efficiency of the printer and enabling users to quickly complete printing jobs. At the same time, the abnormal status of the printer can be detected in advance to avoid printer printing failures. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A flow chart of a printing anomaly detection method is provided for some embodiments of the present invention;

[0019] Figure 2 A technical framework diagram of a printer integrated with a SOC module provided for some embodiments of the present invention;

[0020] Figure 3A technical framework diagram of a printer integrated with a SOC module provided for other embodiments of the present invention;

[0021] Figure 4 A schematic diagram of the structure of a printing anomaly detection device provided in some embodiments of the present invention;

[0022] Figure 5 A schematic diagram of the hardware structure provided for some embodiments of the present invention. DETAILED DESCRIPTION

[0023] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

[0024] Figure 1 A flow chart of a printing anomaly detection method is provided in an embodiment of the present invention. Figure 1 The embodiment of the present invention provides a printing anomaly detection method, which is applied to a laser printer integrated with a SOC module, wherein the SOC module includes: a first processing module and a second processing module, and the method includes:

[0025] Step 101: When the first processing module receives a print instruction carrying a print task, it processes the print task to obtain a first task and a second task, wherein the first task and the second task together constitute the print task; the first processing module sends the second task to the second processing module.

[0026] It should be noted that a laser printer refers to the process of using a laser beam to irradiate a photosensitive drum during the printing process, thereby gradually printing out an image or text. Laser printing mainly includes the following steps: laser scanning refers to the laser scanning system generating a laser beam carrying character information through a laser head according to a laser drive signal processed by a SOC module; exposure and imaging refers to the laser beam irradiating a pre-charged photosensitive drum (toner) under the coordinated action of components such as an optical deflection modulator, a glyph generator, a high-frequency oscillator, a frequency synthesizer, and an acousto-optic modulator to form an electrostatic latent image; development refers to the electrostatic latent image on the photosensitive drum attracting toner to form a visible toner image; transfer refers to the toner image being transferred to ordinary paper under the action of the electric field of the transfer electrode. At this time, the paper will carry an opposite charge to the photosensitive drum, so that the toner is firmly adsorbed on the paper. Fixing refers to the paper passing through the fixer, and the toner is heated and fixed to the paper to form the final printed image or text.

[0027] It should be noted that the main control parameters of laser printers are DPI (Dot Per Inch, print resolution) and print speed. DIP refers to the number of dots that can be printed per inch, and is the most important reference standard for judging the output effect and quality of laser printers. The higher the DPI value, the better the print effect; print speed is an important indicator to measure the output speed of laser printers, usually expressed in the number of pages per minute (PPM, Pages Per Minute) or the number of images per minute (IPM, Images Per Minute) that the printer can output. In addition, paper handling capabilities, such as paper input capacity or paper type support, and other functions, such as whether to support color printing, double-sided printing, network printing, automatic binding, etc. are also important control parameters of laser printers.

[0028] It should be noted that the SOC (System on Chip) module refers to a system-level chip module that integrates the core control functions of the printer, responsible for coordinating and managing the printer's printing tasks, data processing, communication interfaces, and interactive operations with users, etc. It can receive instructions from users or computers, and control the printer's print head, paper transport mechanism and other hardware components through internal processing logic to achieve document printing output.

[0029] It should be noted that a print task usually exists in the form of a data packet, which includes the content to be printed, the format and other related parameters. For example, it includes but is not limited to the printing of documents, the printing of images, the printing output in specific formats such as PDF, JPG, etc., black and white printing, color printing, or printing on paper of various sizes and materials. It is understandable that the printing task mainly depends on the specific needs of the user.

[0030] Here, the printing task is processed to obtain a first task and a second task, wherein the first task and the second task together constitute the printing task. It can be understood that the first processing module splits the printing task into the first task and the second task, so that the first processing module and the second processing module can perform collaborative analysis and collaborative preprocessing, thereby improving the data processing speed of the printing task.

[0031] Step 102: The first processing module and the second processing module parse the first task and the second task respectively to obtain first printing control information indicated by the first task and second printing control information indicated by the second task.

[0032] It should be noted that the printing control information refers to a series of instructions and data used to guide the printer to perform printing operations after the printing task is parsed by the first processing module or the second processing module. The content contained in the information is mainly determined by the printing task, and specifically includes but is not limited to the following: page layout and format information, such as the page size, margins, paper orientation (horizontal or vertical) and other settings of the printed document. This information guides the printer how to arrange the position of the printed content on the paper; text and image data, such as the data of the text, image or other graphic elements to be printed, which are transmitted to the printer in a specific format and encoding method so that the printer can accurately restore the content of the original document; color and print quality settings, including the selection of print colors (such as black and white or color), print quality (such as resolution, print speed, etc.) settings, which ensure that the printer can output high-quality print results according to user requirements; number of copies and sorting, the control information also includes the number of copies specified by the user and the printing order (such as single-sided or double-sided printing, sorting method of multi-page documents, etc.); other special instructions, some complex printing tasks may contain special printing instructions, such as printing watermarks, headers and footers, background patterns, etc. In short, the print control information is generated by the print task, parsing the print task required by the user into language information that the printer can use to perform the print operation.

[0033] In some embodiments, the printing control information is transmitted to the corresponding printing components of the laser printer, for example, the printing control information includes text including parameters such as font, size, and the number of copies to be printed, etc. The second processing module calculates the layout of the text on the photosensitive drum, determines the starting and ending positions of each character, and the required amount of toner. In this way, the second processing module transmits the printing control information to the photosensitive drum, and the photosensitive drum starts to preheat to a temperature suitable for printing. At the same time, the rotation speed and position are adjusted according to the control signal to prepare for receiving the scanning of the laser beam; the second processing module transmits the printing control information to the laser head, and the laser beam scans the photosensitive drum according to the specified path and speed to form an electrostatic latent image corresponding to the text content; the second processing module transmits the printing control information to the toner cartridge, and the toner cartridge confirms the state and supply of the toner according to the font size and the printing content; the second processing module transmits the printing control information to the paper conveying mechanism, confirms the number of sheets of paper in the paper input tray, the paper size, etc., and feeds the paper from the input tray into the printer to prepare for receiving the printing content, and at the same time, ensures that after the first copy is printed, a new sheet of paper can be automatically fed in for printing the second copy. If the printing control information includes double-sided printing content, it is simultaneously confirmed whether the flipping function of the paper conveying mechanism is normal.

[0034] In some embodiments, the first processing module includes a CPU (central processing unit), a first memory module, an interface circuit, and a first control logic circuit. The first processing module receives a printing task from an external device through the interface circuit and stores it in the memory module; the CPU is responsible for executing the task allocation algorithm according to a preset program and logic, and the CPU also includes parsing and processing the first printing task assigned to itself to form the first printing control information; the first control logic circuit is responsible for coordinating and controlling various components of the printer to realize the execution of the printing operation.

[0035] In some embodiments, the second processing module may include a microprocessor, a second memory module, and a second control logic circuit. The microprocessor receives the print task sent by the first processing module through the data bus, and parses and processes the second print task according to the control program and algorithm stored in the second memory module to form the second print control information.

[0036] Step 103: the first processing module sends the first printing control information to the second processing module, the second processing module pre-processes the first printing control information to determine the first printing status information in the pre-printing process; the second processing module pre-processes the second printing control information to determine the second printing status information in the pre-printing process.

[0037] It should be noted that the second processing module, such as the second control logic circuit of the microprocessor, receives the second printing control information and the first printing control information through the data bus and pre-processes the printing control information.

[0038] It should be noted that the data bus is actually a channel connecting various functional modules inside the printer. It runs through the entire printer system, and each component including the first processing module and the second processing module transmits and exchanges data through the data bus.

[0039] It should be noted that preprocessing can refer to the detection of normal hardware status when no printing control information is received, such as the print head, ink cartridge, paper conveying mechanism, etc.; it can also refer to the second control logic circuit including the second processing module, when receiving the first printing control information or the second printing control information, detecting the parameters corresponding to the printing control information, such as the number of papers and inkjet volume corresponding to the printing control information, to ensure their working status.

[0040] Here, pre-processing can also be pre-printing processing. Here, pre-printing processing generally refers to a series of preparations and settings before formal printing, including but not limited to document typesetting, format adjustment, font and size selection, and printing parameter settings. Through pre-printing processing, users can ensure that the printed documents meet the expected effects, avoid wasting paper and ink, and improve printing efficiency.

[0041] It should be noted that the main difference between pre-printing and printing is that pre-printing is a series of preparations and settings before formal printing, and mainly focuses on document processing and parameter settings before printing. Printing, on the other hand, refers to the process of using a printer to convert electronic files or data content into paper output, and mainly focuses on the actual output, that is, converting the processed documents into physical paper form through the printer.

[0042] In this embodiment, preprocessing is performed to evaluate the execution performance of the printing task (eg, printing speed, consumables usage), including etc. According to the evaluation result, the printing control information can be optimized to improve the printing efficiency or save the cost.

[0043] In some embodiments, the first printing control information of the first processing module is transmitted to the second control logic circuit of the second processing module through the data bus, and the second control logic circuit performs preprocessing based on all the printing control information to determine the printing status information. In this way, the second processing module is responsible for detecting the component status and collecting data, and the first processing module is responsible for processing data and issuing control instructions. This division of labor makes their respective functions clearer and is conducive to improving the stability and reliability of the system.

[0044] It should be noted that the printing status information includes but is not limited to consumables information, such as paper status, ink / toner status, etc.; printing progress; print quality; working status information of each module of the printer, such as printer ambient temperature, fuser preheating temperature, laser control unit, printer main motor and other information.

[0045] In some embodiments, the printing status information is usually displayed to the user through the display screen of the printer, the printer software interface on the computer, or the dedicated printer management software. For example, the printing status information includes the following: paper status information, which displays "paper is sufficient", indicating that the amount of paper in the paper input tray is sufficient to complete the current printing task; displays "paper is insufficient", indicating that the amount of paper in the paper input tray is insufficient to complete the current printing task and paper needs to be added; displays "paper is jammed", indicating that the printer encounters an obstacle during the paper feeding process and the paper cannot pass normally and the jam needs to be cleared.

[0046] Toner / carbon powder information: If "Toner is sufficient", it means the amount of toner in the toner cartridge is sufficient to complete the current printing task; if "Toner is insufficient", it means the amount of toner in the toner cartridge is low and you need to prepare to replace the toner cartridge; if "Toner is exhausted", it means the toner in the toner cartridge has been used up and you need to replace the toner cartridge immediately to continue printing.

[0047] Print quality information: If the print quality is normal, it means the printed document is clear and colorful, meeting the expected effect; if the print quality is poor, it means the printed document is blurry or has uneven colors, and you may need to adjust the print settings or replace the consumables.

[0048] Fault prompt, showing the fault code of specific hardware, means that a hardware component inside the printer (such as power supply, sensor, motor, etc.) has failed and needs to be repaired or replaced.

[0049] In other embodiments, the first printing control information of the first processing module can be transmitted to the first control logic circuit through the data bus, and the first control logic circuit performs preprocessing according to the first printing control information. Thus, in this embodiment, by having the first processing module and the second processing module preprocess the printing control information parsed by themselves, it is possible to quickly analyze and respond to the state changes of each component, thereby reducing the workload of the second processing module.

[0050] In practical applications, those skilled in the art may comprehensively consider and select a suitable solution based on factors such as printer performance, cost, and scalability.

[0051] Step 104: If the first printing status information or the second printing status information indicates an abnormality, the second processing module sends an abnormality indication to the first processing module, and after the first processing module receives the abnormality indication, determines the printing failure according to the first printing status information and the second printing status information, and feeds back the printing failure.

[0052] It should be noted that possible failures of laser printers include but are not limited to: printer hardware failure, such as laser failure, scanning mirror failure, charging electrode failure, photosensitive drum failure, scraper failure, laser beam detector contamination or damage, magnetic roller abnormality, print head clogged, paper jam, ink cartridge / toner cartridge problem, sensor failure, etc.; software or driver problems, such as print driver errors, errors or conflicts in the print queue, incompatibility between the operating system and the printer, etc.; network connection problems. In a network printing environment, network delays, disconnections, or configuration errors may cause printing failures; incorrect print settings, such as selecting the wrong paper size, improper print quality settings, incorrect duplex printing settings, etc.; consumables problems, such as exhausted ink cartridges / toner cartridges, use of incompatible consumables, etc.

[0053] In some embodiments, if an abnormality is detected in a certain component, the second control logic circuit will promptly feed back the abnormal information to the first processing module, and the first processing module will perform a preset operation according to the received abnormal information. Exemplarily, the preset operation includes: an abnormal feedback operation, which includes feeding back the abnormality to the user terminal or the display panel of the printer; the preset operation may also include: an abnormality handling operation, which may include: a printing fault confirmation operation, that is, an operation of confirming what kind of printing fault caused the abnormality, and exemplarily, the printing fault confirmation operation includes: determining the printing fault according to the first printing status information and the second printing status information, and feeding back the printing fault operation; the abnormality handling operation may also include: a printing fault confirmation and processing operation, and exemplarily, the printing fault confirmation and processing operation includes switching the spare component corresponding to the faulty component according to the abnormal indication, and / or starting the emergency repair program of the abnormal component corresponding to the faulty component. In this way, the faulty component or fault problem of the printer can be more intelligently located according to the first printing status information and the second printing status information, which is conducive to rapid repair and improves the working efficiency of the printer.

[0054] Exemplarily, if a component is detected to have failed, the second control logic circuit can also respond immediately. Exemplarily, the second control logic circuit analyzes the specific circumstances of the anomaly and makes decisions based on preset rules and strategies. For example, if it is detected that the ink cartridge is low on ink, the control logic circuit may issue a warning signal and prompt the user to replace the ink cartridge. If the print head is detected to be clogged or faulty, try to perform automatic cleaning or calibration operations to restore its normal working state. If the anomaly cannot be resolved through automatic processing, the control logic circuit will promptly feedback the anomaly information to the first processing module. In actual applications, the more complex the functions assigned to the second processing module, the more likely it is to cause problems such as a decrease in the processing speed of the second processing module, an increase in response delay, and an increase in the error rate. When designing the system, those skilled in the art will fully consider the performance and task requirements of the second processing module and design the control logic circuits of the first processing module and the second processing module. Therefore, in some embodiments, after the first processing module receives the abnormal indication, the printing fault is determined according to the first printing status information and the second printing status information, and the first processing module and the second processing module can cooperate to determine the printing fault according to the first printing status information and the second printing status information; exemplarily, if the first printing status information or the second printing status information indicates abnormality, the second processing module sends an abnormal indication to the first processing module, and after the first processing module receives the abnormal indication, the printing fault is determined according to the first printing status information and the second printing status information, and the printing fault is fed back, including: if the first printing status information and the second printing status information indicate abnormality, the second processing module sends the abnormal indication to the first processing module and sends the printing status information to the first processing module at the same time, and after the printing processing module receives the abnormal indication, the first processing module determines the corresponding printing fault according to the first printing status information and the second processing module determines the corresponding printing fault according to the second printing status information, and the printing fault is fed back. In this way, the burden of a single processing module can be reduced, the processing speed of the printer SOC module can be improved, and the various performances of the SOC module can be improved.

[0055] In some embodiments, the printing control information is transmitted to various components of the laser printer through the second control logic circuit, and compared with various parameters monitored in real time by sensors of various components. When the result cannot complete the printing job corresponding to the printing control information, the process of abnormal transmission and abnormal feedback will be triggered. The steps of the abnormal transmission process include: information comparison and abnormal detection, the second control logic circuit sends the printing control information to various components of the laser printer, such as laser, scanning mirror, photosensitive drum, etc. At the same time, the sensors on each component will monitor their respective operating status and parameters in real time, such as laser intensity, scanning speed, photosensitive drum temperature, etc. When these real-time monitored parameters are inconsistent with the expected parameters in the printing control information, or cannot meet the requirements of the control information, the sensor will determine it as an abnormal situation and generate an abnormal signal; abnormal signal transmission, the generated abnormal signal will be transmitted from the sensor to the second control logic circuit through the internal data bus or a specific communication interface, and this process will involve signal conversion and encoding to ensure the accuracy and stability of the signal during transmission; abnormal information recording, after receiving the abnormal signal, the second control logic circuit will immediately record the relevant abnormal information, including the abnormal component, abnormal type, occurrence time, etc.

[0056] The steps of the abnormal feedback process include: abnormal processing and feedback generation. After recording the abnormal information, the second control logic circuit will send it to the first processing module for processing or the second processing module will try to process the abnormality, such as resending the control information, adjusting relevant parameters, etc. If the processing is invalid, the control logic circuit will generate detailed abnormal feedback based on the recorded abnormal information and send it to the first processing module for processing by the first module. If the first module cannot process it, it will generate detailed abnormal feedback based on the recorded abnormal information; the feedback may include abnormal description, possible causes, recommended solution steps, etc.

[0057] The generated abnormal feedback will be transmitted to the user interface or display screen of the printer through the appropriate communication interface or display screen interface. In this way, the user or administrator can intuitively see the abnormal situation that occurred and take corresponding measures based on the feedback information. After receiving the abnormal feedback, the user or administrator will troubleshoot the problem or take other appropriate measures based on the information provided.

[0058] In the above embodiment, by configuring the first processing module and the second processing module in the SOC module, the first processing module and the second processing module are collaboratively analyzed, that is, when the first processing module receives a print instruction carrying a print task, the print task is processed to obtain the first task and the second task, wherein the first task and the second task together constitute the print task; and the first processing module analyzes the first task, and the second processing module analyzes the second task; then, by pre-processing the first control information corresponding to the first task and the second control information corresponding to the second task, the printing status information corresponding to the control information can be obtained more quickly, so as to more quickly determine whether the printing task is abnormal, thereby improving the data processing speed of the printer on the one hand, and on the other hand, based on the improvement of the data processing speed, the feedback speed of the printing abnormality is improved, and the abnormal condition of the printer is discovered in advance, the printing operation under the abnormal state of the printer is reduced, and the printing quality and printing efficiency are improved.

[0059] In some embodiments, if it is detected that the first printing status information and the second printing status information indicate that they are normal, the first processing module controls the printer to perform the printing operation after waiting for the print task to be parsed.

[0060] For example, see Figure 2 The SOC module includes a CPU and an MCU (Microcontroller Unit) or a microprocessor module. The CPU and the MCU communicate with each other and communicate with the printing control ASIC (Application Specific Integrated Circuit) through a data bus. The CPU and the MCU jointly process the printing task and then instruct the printing control ASIC to execute printing.

[0061] It should be added that the SOC can be connected to a user terminal to receive a print instruction carrying a print task sent by the user terminal. Here, the user terminal generally refers to a device directly operated by a user, such as a smart phone, a tablet computer, a computer, etc. Alternatively, the SOC can be connected to other printing devices to receive a print instruction carrying a print task sent by other printing devices.

[0062] Taking the second processing module as a microprocessing module as an example, the microprocessing module stores normal printing status information in the memory module of the second processing module, which can be a RAM (random access memory) or a specific register. After the analysis is completed, the printing status information is fed back to the first processing module for printing. For printing tasks that require high reliability, printing after complete analysis can reduce printer failures or printing errors caused by data errors or instruction conflicts, and can make the control logic simpler and clearer.

[0063] In other embodiments, the first processing module can control the printer to perform operations with a portion of the first printing control information and a portion of the second printing control information that have been parsed in advance, without waiting for all printing tasks to be parsed. For some printing tasks, especially those that contain a large amount of data or require real-time response, parsing and printing can significantly improve printing efficiency. This method reduces waiting time and enables the printer to start working earlier.

[0064] In actual applications, whether to control printing after parsing or to control printing while parsing needs to be considered comprehensively according to specific printing needs, system design and performance requirements. For printing tasks that require high reliability, data integrity and stability, you can usually wait for parsing to be completed before controlling printing; for printing tasks that require high efficiency, real-time and flexibility, you can consider using the method of parsing while printing.

[0065] In some embodiments, in step 101, processing the print task to obtain the first task and the second task may include:

[0066] Split the printing task into N+M subtasks; sort the N+M subtasks according to a preset sorting rule, take the N subtasks that satisfy the first sequence rule as the first task, and take the M subtasks that satisfy the second sequence rule as the second task, wherein N is a positive integer greater than or equal to 1, and M is a positive integer greater than or equal to 1, wherein N is a positive integer greater than or equal to 1, and M is a positive integer greater than or equal to 1.

[0067] By splitting the printing task, processing the subtasks differently, and then having the first processing module and the second processing module parse the split printing task at the same time, the parallel parsing process can reduce waiting time, speed up printing, and improve printing efficiency. It should be noted that each subtask contains part of the original data and has relative independence and integrity, and can be processed separately.

[0068] It should be noted that, here, the processing of the print task mainly involves dividing the print task according to a preset division rule. For example, the first processing module, such as the CPU, can scan and analyze the print task to identify different data types in the print task, and divide the processing according to different data types; or the main control module can scan and analyze the print task to identify the task volume or data volume of the print task, and then divide the processing according to the task volume or data volume of the print task.

[0069] In some embodiments, the first processing module splits the printing task into multiple subtasks, including: the CPU first performs an in-depth analysis on the printing data to understand the structure, type, format and possible processing requirements of the data; based on the results of the data analysis, the CPU formulates a splitting strategy, for example, splitting by data volume, data type, processing logic, etc.

[0070] Here, the preset sorting rules can be formulated according to factors such as the content, complexity, and priority of the printing task, aiming to refine the printing task for subsequent processing and analysis. Here, the task information of the subtask includes, but is not limited to: the data volume of the subtask, the data complexity of the subtask, and the printing priority of the subtask. In some embodiments, the printing task is split into N+M subtasks, including: dividing the printing task into N+M subtasks; calculating the score value according to at least one of the data volume of the N+M subtasks and the weight corresponding to the data volume, the complexity and the weight corresponding to the complexity, or the printing priority and the weight corresponding to the printing priority, and sorting according to the score value, taking the N subtasks that meet the first sequence rule as the first task, and taking the M subtasks that meet the second sequence rule as the second task.

[0071] Here, the first sequence rule can be, for example, a sequential rule, that is, the N subtasks that satisfy the first sequence rule can be understood as the N subtasks that satisfy the first N sequences; the second sequence rule can be a reverse rule, that is, the M subtasks that satisfy the second sequence rule can be understood as the M subtasks that satisfy the last M sequences.

[0072] Of course, in other embodiments, the first sequence rule may also be an odd sequence rule, that is, the N subtasks that satisfy the first sequence rule can be understood as N subtasks on an odd sequence; the second sequence rule may be an even sequence rule, that is, the M subsequences that satisfy the second sequence rule can be understood as M subsequences on an even sequence.

[0073] It should be added that the first processing module will assign a priority to each subtask based on a series of factors (such as the importance, urgency, printing requirements, etc. of the subtask).

[0074] In one embodiment, the method further includes: determining the sequence rule according to a performance comparison result of the first processing module and the second processing module.

[0075] Here, determining the sequence rule according to the performance comparison result, or the power consumption comparison result, of the first processing module and the second processing module includes:

[0076] If the current power consumption of the first processing module is greater than the current power consumption of the second processing module, when the preset sorting rule is a sorting rule of the score values ​​from high to low, the first sequence rule is determined to be a positive sequence rule, and the second sequence rule is determined to be a reverse sequence rule;

[0077] Alternatively, if the current power consumption of the first processing module is smaller than the current power consumption of the second processing module, when the preset sorting rule is a sorting rule in which the score values ​​are sorted from low to high, the first sequence rule is determined to be a reverse order rule, and the second sequence rule is determined to be a forward order rule.

[0078] In this way, printing tasks can be reasonably allocated according to the different performance conditions of the processing modules, thereby improving the printing processing efficiency and providing more reliable protection for early warning of printing failures.

[0079] In actual application, the hardware design of the first processing module, such as the CPU, is usually equipped with a more powerful processor and more memory, which can be used in more complex systems and has a higher operating speed. Therefore, giving priority to subtasks with high scores by the CPU can improve printing efficiency and meet user needs.

[0080] Of course, in some embodiments, the method further comprises:

[0081] Real-time detection of the remaining storage space, remaining memory and other performance parameters of the first processing module and the second processing module, thereby determining the current performance or current power consumption of the first processing module and the second processing module, providing favorable hardware facilities for reasonable subtask collaboration, thereby facilitating faster fault warning.

[0082] In some embodiments, the step 102, i.e., the first processing module and the second processing module respectively parse the first printing control information indicated by the first printing task and the second printing control information indicated by the second printing task according to the printing task, includes:

[0083] The first processing module parses the first printing control information indicated by the first printing task according to the first group of subtasks, i.e., N subtasks;

[0084] The second processing module parses the second printing control information indicated by the second printing task according to the second group of subtasks, ie, the M subtasks.

[0085] It can be understood that according to step 101, the first group and the second group of subtasks are determined according to the allocation of printing tasks, and the first processing module and the second processing module respectively parse the two groups of subtasks to obtain the first printing control information and the second printing control information, which can bring many benefits such as parallel processing and load balancing.

[0086] It should be added that the printing task includes printing data. Printing data can be split into tasks according to data volume or data type, which can allocate system resources more accurately. For subtasks with large data volume, excellent processing resources can be allocated to ensure that the task can be completed efficiently; for subtasks with small data volume or specific types, resource allocation can also be flexibly adjusted.

[0087] In some embodiments, in addition to print data, the print task typically also includes but is not limited to the following information: print settings and parameters, such as the number of copies, paper size, print quality, double-sided printing or single-sided printing, etc.; document format, such as PDF, Word, JPEG, etc.; print target, such as specifying the target device for the print task; priority identification, such as identifying the urgency or importance of the print task.

[0088] In some embodiments, the print task can be evenly divided based on the size of the data, for example, each time a certain amount of data (a certain number of pages or a certain number of MB) is reached, the task is split once, and each split subtask contains an independent data block that can be processed separately. In this way, since the data volume of each subtask is roughly equal, the system can evenly allocate processing resources to each subtask, which not only makes the load balanced, but also makes task management simpler and more unified.

[0089] In other embodiments, the data volume is divided into blocks of different sizes according to the characteristics or requirements of the printing task. The early subtasks may have a smaller data volume, while the later subtasks may have a larger data volume, forming a stepped distribution. In this way, the subtasks with smaller data volumes can be processed first so as to quickly obtain partial printing results. For the subtasks with larger data volumes, more processing resources and time can be given to ensure printing quality and efficiency.

[0090] In some embodiments, the printing task can be split according to the data type (such as words, pictures, tables), and the processing speed and resource requirements of different data types may be different; for example, the parsing speed of pictures is faster than that of words. By splitting the printing task by data type, more processing resources and time can be given to the subtasks with slower parsing speed to ensure printing quality and efficiency. At the same time, if there is a problem with the printing of a certain type of content, it can also be easier to locate and solve. In addition, different data types also require different processing methods and parameter settings when printing. By splitting the printing task according to the data type, personalized printing settings can be made according to the characteristics of each data type, thereby optimizing the printing quality and effect. For example, for images, the color, resolution, and printing mode can be adjusted to obtain a clearer printing effect; for text, the font, font size, and layout can be adjusted to meet reading needs.

[0091] In some embodiments, in step 102, the first processing module and the second processing module respectively parse the first printing control information indicated by the first task and the second printing control information indicated by the second task according to the first task and the second task, including:

[0092] The first processing module parses the Sth subtask in the first task to obtain the Sth sub-control information, where S is a positive integer greater than or equal to 1 and less than N;

[0093] In step 103, the first processing module sends the first printing control information to the second processing module, and the second processing module pre-processes the first printing control information to determine first printing status information in the pre-printing process, including:

[0094] The first processing module sends the S-th sub-control information to the second processing module, and the second processing module pre-processes the S-th sub-control information to determine the S-th first printing status information in the pre-printing process;

[0095] The method further comprises:

[0096] If the Sth first printing status information indicates normal, the first processing module parses the S+1th subtask in the first task to obtain the S+1th sub-control information.

[0097] That is, the first processing module parses the N subtasks in sequence and pre-processes them in sequence to the second processing module, so that the printing status corresponding to the previously parsed subtasks can be obtained while parsing, thereby timely reflecting the printing abnormality. In this embodiment, by parsing the subtasks and processing the subtasks, the technical effect of being able to feedback the printing abnormality during the parsing process is achieved, which provides a beneficial condition for knowing the printing abnormality in advance.

[0098] In some other embodiments, please refer to Figure 3 , the SOC module also includes: a storage module;

[0099] The method further comprises:

[0100] If the Sth first printing status information indicates an abnormality, the second processing module sends a first abnormality indication to the first processing module, where the first abnormality indication is used to instruct the first processing module to stop parsing the first printing task.

[0101] In this way, the parsing of the print task can be stopped in time, saving the processing resources of the printer.

[0102] In some other embodiments, if the Sth first printing status information indicates an abnormality, the second processing module sends a second abnormality indication to the first processing module, and the second abnormality indication is used to indicate and the first processing module parses the S+1th subtask in the first task to obtain the S+1th sub-control information; and stores the Sth sub-control information in the storage module;

[0103] In response to receiving a fault repair success indication, the Sth sub-control information is read from the storage module.

[0104] In this embodiment, the Sth sub-control information with an abnormality is stored in the storage module through the storage module, and the subsequent sub-tasks are analyzed. Therefore, after the fault is repaired, there is no need to wait for the analysis time, and the printing control processing can be directly performed by reading the last abnormal sub-control information from the storage module, thereby improving the printing efficiency.

[0105] In some other embodiments, please refer to Figure 3 , the first processing module and the second processing module respectively parse the first printing control information indicated by the first task and the second printing control information indicated by the second task according to the first task and the second task, including:

[0106] The first processing module parses the Kth subtask in the second task to obtain the Kth sub-control information, where K is a positive integer greater than or equal to 1 and less than M;

[0107] The second processing module pre-processes the second printing control information to determine the second printing status information in the pre-printing process, including:

[0108] The second processing module pre-processes the K-th sub-control information to determine the K-th second printing status information in the pre-printing process;

[0109] The method further comprises:

[0110] If the Kth second printing status information indicates an abnormality, the second processing module sends a third abnormality indication to the first processing module, and the third abnormality indication is used to instruct the second processing module to stop parsing the second printing task.

[0111] In this way, the parsing of the print task can be stopped in time, saving the processing resources of the printer.

[0112] In some other embodiments, if the Kth second printing status information indicates an abnormality, the second processing module sends a fourth abnormality indication to the first processing module, and the fourth abnormality indication is used to indicate and the second processing module parses the K+1th subtask in the first task to obtain the K+1th sub-control information; and stores the Kth sub-control information in the storage module;

[0113] In response to receiving the fault repair success indication, the Kth sub-control information is read from the storage module.

[0114] In this embodiment, the Kth sub-control information with an abnormality is stored in the storage module through the storage module, and the subsequent sub-tasks are analyzed. Therefore, after the fault is repaired, there is no need to wait for the analysis time, and the printing control processing can be directly performed by reading the sub-control information with an abnormality last time from the storage module, thereby improving the printing efficiency.

[0115] In some embodiments, please refer to Figure 3 ,like Figure 3 As shown, the score values ​​are calculated according to the task information of N+M subtasks and the corresponding weights of the task information, and after sorting according to the score values, the method further includes: storing the subtasks corresponding to the score values ​​lower than the preset ranking in the memory;

[0116] The taking N subtasks satisfying the first sequence rule as the first task, and taking M subtasks satisfying the second sequence rule as the second task, includes:

[0117] Subtasks corresponding to score values ​​that are ranked higher than or equal to the preset ranking are respectively regarded as a part of the N subtasks and a part of the M subtasks according to the first sequence rule and the second sequence rule.

[0118] In this way, the bus 1 in the SOC connected to the first processor (i.e., the main control CPU) and the second processor (i.e., the MCU) of the printing control ASIC can be used to prioritize the subtasks with higher scores for printing; and the bus 2 connected to the printing control ASIC through the storage module can be used by the printing control ASIC to read another part of the storage, such as the remaining subtasks with lower priority, from the storage module for printing. In this way, the storage of intermediate files is transferred by using the memory, and the bus 1 is effectively used to process the subtasks with higher scores, thereby improving the printing efficiency and user experience.

[0119] It should be added that, in some embodiments, when the first processing module receives a print instruction carrying a print task, the first group of tasks and the second task process the print task, including:

[0120] The printing task is divided into a plurality of subtasks, and the plurality of subtasks are sorted according to a predetermined sorting rule to obtain a first group of subtasks arranged in positive order; and a second group of subtasks arranged in reverse order.

[0121] The first processing module, such as the main control processing module CPU, starts parsing the front end of the print task, and the second processing module starts parsing according to the end of the print task. During the parsing process, the first processing module and the second processing module maintain information exchange and synchronize their respective parsing progress in real time. When both parse the same subtask, they confirm through the preset communication mechanism, and the system determines that the subtask parsing is completed and sends a corresponding prompt message. In this way, the parallel processing of the print task is realized, which not only optimizes the printing process, but also improves the printing efficiency. In addition, the probability of abnormality in some modules is high. The second processing module parses the end part of the print task in advance, which can control the corresponding modules with high abnormality probability of the printer for preprocessing in advance. For example, start the preheating of the printer, paper positioning, nozzle cleaning and other operations in advance to ensure that the printer is in the best working state when the print task parsing is completed.

[0122] In some embodiments, the interaction and communication between the first processing module and the second processing module mainly rely on shared memory for communication, and both directly access and update the shared data structure, so as to understand each other's parsing progress in real time.

[0123] In some embodiments, when confirming that both have resolved to the same subtask, there is usually a preset synchronization mechanism. This mechanism can be implemented based on a specific data identifier or sequence number. For example, each subtask can have a unique identifier, and when the first processing module and the second processing module both resolve to this identifier, they can confirm that they have resolved to the same subtask. In addition, the accuracy of synchronization can be ensured by comparing the resolution progress data of the two.

[0124] In some embodiments, the preset arrangement rules can be sorted according to the amount of data involved in each subtask, and the arrangement rules can be preset according to the application scenario. When resources are limited, the tasks with the largest amount of data are placed in front to ensure that large data volume tasks are processed first, reduce waiting time, and improve overall processing speed. When a series of small tasks need to be completed quickly, they are sorted from small to large according to the amount of data of each subtask, and small tasks are completed quickly, freeing up resources to process subsequent tasks and improving resource utilization. It can be understood that the sorting logic based on the amount of data is also applicable to data types, such as arranging by size based on the fact that the picture data type is larger than the text. Therefore, through reasonable predetermined sorting rules, the processing flow can be optimized and work efficiency can be improved.

[0125] In some embodiments, the first processing module parses the first group of subtasks to obtain first printing control information indicated by the printing task, including:

[0126] The first processing module parses the Mth subtask in the first group of subtasks to obtain the Mth sub-control information, where M is a positive integer greater than or equal to 1 and less than N;

[0127] The first processing module sends the first printing control information to the second processing module, including:

[0128] The first processing module sends the Mth sub-control information to the second processing module;

[0129] The method further comprises:

[0130] After the first processing module sends the Mth sub-control information to the second processing module, the first processing module parses the M+1th sub-task in the first group of sub-tasks to obtain the Mth sub-control information.

[0131] The first processing module obtains the first printing control information according to the first group of subtasks, and sends the information to the second processing module. During the sending process, the first processing module will parse and send the sub-control information one by one in the order of the subtasks to ensure the accurate execution of the printing task. In this way, after each subtask is processed, the second processing module will detect the parameters corresponding to the printing control information and perform printing preprocessing. This printing method has the advantages of high efficiency and flexibility, and is suitable for printing task requirements of various scales and complexities.

[0132] In some embodiments, the method further comprises:

[0133] storing a first corresponding relationship between first printing control information and the first printing status information;

[0134] storing a second corresponding relationship between the second printing control information and the second printing status information;

[0135] The second processing module pre-processes the first printing control information to determine first printing status information in the pre-printing process, including:

[0136] the second processing module finds first historical printing status information corresponding to the first printing control information in the historical first corresponding relationship or the historical second corresponding relationship according to the first printing control information, and uses the first historical printing status information as the first printing status information;

[0137] The second processing module pre-processes the second printing control information to determine the second printing status information in the pre-printing process, including:

[0138] The second processing module finds second historical printing status information corresponding to the second printing control information in the historical first corresponding relationship or the historical second corresponding relationship according to the second printing control information, and uses the second historical printing status information as the second printing status information.

[0139] The printing task processing system adopts the collaborative working mode of the first processing module and the second processing module to realize the efficient processing of printing tasks. The system not only supports the parallel analysis of printing control information, but also enables the second processing module to quickly determine the printing status in the pre-printing process in the pre-processing stage by storing historical printing status information, thereby optimizing the printing process and improving printing efficiency.

[0140] When executing a printing task, the SOC module will record the printing status information corresponding to each printing control information. When the same printing task needs to be executed next time, the SOC module can quickly extract the previously recorded printing status information from the internal storage module. If a match is found, the corresponding printing status information can be directly extracted without the need to re-monitor the complete printing process, which greatly improves the execution efficiency of the printing task.

[0141] In some embodiments, the storage location may be a memory module of the first processing module or microprocessor, or an external memory such as RAM, Flash memory or hard disk, etc. The storage method may be in the form of a database or a file, depending on the architecture and performance requirements of the system.

[0142] It should be added that, in some embodiments, the step 101, that is, when the first processing module receives a print instruction carrying a print task, processes the print task to obtain the first task and the second task, includes:

[0143] When the first processing module in the first state receives a printing instruction carrying a printing task, the printing task is processed to obtain a first task and a second task;

[0144] After receiving the printing instruction, the second processing module in the second state is awakened, and the awakened second processing module is in the first state.

[0145] The step 102, i.e., the first processing module and the second processing module respectively parse the first printing control information indicated by the first task and the second printing control information indicated by the second task according to the first task and the second task, includes:

[0146] The first processing module in the first state and the second processing module in the first state respectively parse the first task and the second task to obtain the first printing control information indicated by the first task and the second printing control information indicated by the second task.

[0147] It should be noted that the status of the processing module may include but is not limited to: normal working status, standby status, fault status and sleep status.

[0148] Under normal working conditions, the processing module of the printer can perform printing operations according to preset parameters and instructions, and the printed content is clear and accurate, and the printing speed is stable.

[0149] In a faulty state, the printer's processing module may have problems such as unclear printing, slow printing speed, and paper jams. At this time, timely inspection and repair are required to ensure that the printing module can return to normal working condition.

[0150] In standby mode, the processing module of the printer will not perform printing operations, but will remain connected to the computer or other devices to receive printing instructions at any time.

[0151] In sleep mode, the power consumption of the printer's processing module is reduced and the response speed is also slowed down.

[0152] It is understandable that the standby state is usually a power management mode, mainly used for power saving. In this mode, the power needs to be on all the time. If the power is cut off in the middle, the memory data before the standby state will not be saved. The standby state can be used to turn off the monitor, hard disk, fan and other devices, so that the entire system is in a low-energy state. When the processing module is reused, it will quickly exit the standby mode and accurately restore to the state when it enters the waiting state. The hibernation state is a state in which all the data in the memory is transferred to a hibernation file on the hard disk, and then the power is turned off or cut off. Like the normal shutdown, it will automatically restore all the work to the state when it was left completely and accurately. When it needs to be restored, the processing module will read the data from the hard disk and load it into the memory. It also takes some time, depending on the memory size and hard disk speed, usually about 1 minute, or even longer. However, the hibernation state can ensure the safe preservation of data, and it will not be lost even in the event of a power outage. In short, the standby state is more suitable for short-term suspension of use, while the hibernation state is more suitable for long-term non-use or when data security needs to be ensured.

[0153] In an embodiment of the present invention, the first state may be a normal working state, and the second state may be understood as a dormant state or a standby state. It should be understood that the power consumption of the second processing module in the normal working state is greater than the power consumption of the first processing module in the normal working state. Exemplarily, the first processing module may be understood as a small-core processor, and the second processing module may be understood as a large-core processor, which is the main processor for executing the above-mentioned printing work.

[0154] In the embodiment of the present invention, the second processing module also enters a normal working state after being awakened, and the second processing module in the normal working state cooperates with the first processing module in the normal working state to perform data analysis on the printing task.

[0155] In this way, while ensuring early detection of abnormalities, power consumption can be reduced and the service life of the printer can be increased.

[0156] To achieve the above-mentioned purpose, an embodiment of the present invention further provides a printing abnormality detection device, which is applied to a laser printer integrated with a SOC module, see 4, the SOC module includes a first processing module and a second processing module, and the device includes:

[0157] The sending module 41 is used for, when the first processing module receives a printing instruction carrying a printing task, processing the printing task to obtain a first task and a second task, wherein the first task and the second task together constitute the printing task; the first processing module sends the second task to the second processing module;

[0158] The parsing module 42 is configured to parse the first printing control information indicated by the first task and the second printing control information indicated by the second task by the first processing module and the second processing module respectively according to the first task and the second task;

[0159] A first determining module 43 is used for the first processing module to send the first printing control information to the second processing module, and the second processing module pre-processes the first printing control information to determine the first printing status information in the pre-printing process; the second processing module pre-processes the second printing control information to determine the second printing status information in the pre-printing process;

[0160] The second determination module 44 is used for, if the first printing status information or the second printing status information indicates an abnormality, the second processing module sends an abnormality indication to the first processing module, and after the first processing module receives the abnormality indication, determines the printing fault according to the first printing status information and the second printing status information, and feeds back the printing fault.

[0161] In some embodiments, the apparatus further comprises:

[0162] The printing control module is used for, if the first printing status information and the second printing status information indicate that they are normal, waiting for the printing task to be parsed, and then controlling the printer to perform the printing operation by the first processing module.

[0163] In some embodiments, the sending module 41 can also be used to: split the printing task into N+M subtasks, and sort the N+M subtasks according to a preset sorting rule, take the N subtasks that satisfy the first sequence rule as the first task, and take the M subtasks that satisfy the second sequence rule as the second task, where N is a positive integer greater than or equal to 1, and M is a positive integer greater than or equal to 1.

[0164] In some embodiments, the printing task includes: printing data; the sending module 41 can also be used to:

[0165] The first processing module splits the print data in the print task into N+M subtasks according to the data volume;

[0166] or,

[0167] The first processing module divides the printing data in the printing task into N+M subtasks according to data types.

[0168] In some embodiments, the sending module 41 may also be used to:

[0169] Calculating score values ​​according to task information of N+M subtasks and corresponding weights of the task information, and performing sorting processing according to the score values, wherein the task information includes at least one of the following: data volume of the subtask, data complexity of the subtask, and printing priority of the subtask;

[0170] The device further comprises:

[0171] a third determining module, configured to determine, if the current power consumption of the first processing module is greater than the current power consumption of the second processing module, that the first sequence rule is a positive sequence rule and that the second sequence rule is a reverse sequence rule when the preset sorting rule is a sorting rule of the score values ​​from high to low;

[0172] or,

[0173] If the current power consumption of the first processing module is smaller than the current power consumption of the second processing module, when the preset sorting rule is a sorting rule in which the score values ​​are sorted from low to high, the first sequence rule is determined to be a reverse order rule, and the second sequence rule is determined to be a forward order rule.

[0174] In some embodiments, the parsing module 42 is further configured to:

[0175] The first processing module parses the Sth subtask in the first task to obtain the Sth sub-control information, where S is a positive integer greater than or equal to 1 and less than N;

[0176] The first determining module 43 is further configured to:

[0177] The first processing module sends the S-th sub-control information to the second processing module, and the second processing module pre-processes the S-th sub-control information to determine the S-th first printing status information in the pre-printing process;

[0178] The device also includes:

[0179] The obtaining module is used for, if the Sth first printing status information indicates normal, the first processing module parses the S+1th subtask in the first task to obtain the S+1th sub-control information.

[0180] In some embodiments, the apparatus further comprises:

[0181] The first exception sending module is used to send a first exception indication from the second processing module to the first processing module if the Sth first printing status information indicates an exception, wherein the first exception indication is used to instruct the first processing module to stop parsing the first task.

[0182] In some embodiments, the SOC module further includes: a storage module;

[0183] The device also includes: a second exception sending module, which is used to send a second exception indication to the first processing module by the second processing module if the Sth first printing status information indicates an exception, and the second exception indication is used to indicate and the first processing module parses the S+1th subtask in the first task to obtain the S+1th sub-control information; and stores the Sth sub-control information in the storage module; a reading module, which is used to read the Sth sub-control information from the storage module in response to receiving a successful fault repair indication.

[0184] It should be noted here that the description of the above printing anomaly detection device is similar to the description of the above printing anomaly detection method, and the description of the beneficial effects of the same method is not repeated. For technical details not disclosed in the embodiment of the printing anomaly detection device of the present invention, please refer to the description of the embodiment of the printing anomaly detection method of the present invention.

[0185] like Figure 5As shown, the printer includes a processor 51 and a memory 52 connected to the processor 51 through a communication bus; wherein the memory 52 is used to store a printing anomaly detection program; the processor 51 is used to execute the printing anomaly detection program to implement the steps of the printing anomaly detection method applied to a laser printer integrated with a SOC module in any of the above schemes: when the first processing module receives a printing instruction carrying a printing task, the printing task is processed to obtain a first task and a second task, wherein the first task and the second task together constitute the printing task; the first processing module sends the second task to the second processing module;

[0186] The first processing module and the second processing module parse the first task and the second task respectively to obtain the first printing control information indicated by the first task and the second printing control information indicated by the second task;

[0187] The first processing module sends the first printing control information to the second processing module, the second processing module pre-processes the first printing control information to determine first printing status information in the pre-printing process; the second processing module pre-processes the second printing control information to determine second printing status information in the pre-printing process;

[0188] If the first printing status information or the second printing status information indicates an abnormality, the second processing module sends an abnormality indication to the first processing module, and after the first processing module receives the abnormality indication, it determines the printing failure according to the first printing status information and the second printing status information, and feeds back the printing failure.

[0189] Here, the processor 51 is used to execute the operation procedure of printing abnormality detection to achieve: if the first printing status information and the second printing status information indicate normal, then after waiting for the printing task to be parsed, the first processing module controls the printer to perform the printing job.

[0190] Here, the processor 51 is used to execute the operating procedure of printing anomaly detection to implement the following steps of processing the printing task to obtain the first task and the second task: split the printing task into N+M subtasks, and sort the N+M subtasks according to a preset sorting rule, take the N subtasks that meet the first sequence rule as the first task, and take the M subtasks that meet the second sequence rule as the second task, wherein N is a positive integer greater than or equal to 1, and M is a positive integer greater than or equal to 1.

[0191] Here, the printing task includes printing data; the processor 51 is used to execute the operation procedure of printing abnormality detection to implement the following steps of splitting the printing task into N+M subtasks: the first processing module splits the printing data in the printing task into N+M subtasks according to the data volume;

[0192] or,

[0193] The first processing module divides the printing data in the printing task into N+M subtasks according to data types.

[0194] Here, the processor 51 is used to execute the operation program of printing anomaly detection to implement the following steps of sorting the N+M subtasks according to the preset sorting rules: calculating score values ​​according to the task information of the N+M subtasks and the corresponding weights of the task information, and sorting the subtasks according to the score values, wherein the task information includes at least one of the following: the data volume of the subtask, the data complexity of the subtask, and the printing priority of the subtask;

[0195] And realizing: if the current power consumption of the first processing module is greater than the current power consumption of the second processing module, when the preset sorting rule is the sorting rule of the score values ​​from high to low, determining the first sequence rule as a positive sequence rule and determining the second sequence rule as a reverse sequence rule;

[0196] or,

[0197] If the current power consumption of the first processing module is smaller than the current power consumption of the second processing module, when the preset sorting rule is a sorting rule in which the score values ​​are sorted from low to high, the first sequence rule is determined to be a reverse order rule, and the second sequence rule is determined to be a forward order rule.

[0198] The processor 51 is used to execute an operation program for printing abnormality detection to implement the following method steps of parsing the first printing control information indicated by the first task and the second printing control information indicated by the second task by the first processing module and the second processing module respectively according to the first task and the second task: the first processing module parses the Sth subtask in the first task to obtain the Sth subcontrol information, wherein S is a positive integer greater than or equal to 1 and less than N; and the method steps of executing the first processing module sending the first printing control information to the second processing module, and the second processing module preprocessing the first printing control information to determine the first printing status information in the pre-printing process: the first processing module sends the Sth subcontrol information to the second processing module, and the second processing module preprocesses the Sth subcontrol information to determine the Sth first printing status information in the pre-printing process; and realizing: if the Sth first printing status information indicates normal, the first processing module parses the S+1th subtask in the first task to obtain the S+1th subcontrol information.

[0199] Here, the processor 51 is used to execute the operating procedure of printing abnormality detection so that if the Sth first printing status information indicates an abnormality, the second processing module sends a first abnormality indication to the first processing module, and the first abnormality indication is used to instruct the first processing module to stop parsing the first task.

[0200] Here, the SOC module also includes: a storage module; the processor 51, which is used to execute an operating procedure for printing abnormality detection, so that if the S-th first printing status information indicates an abnormality, the second processing module sends a second abnormality indication to the first processing module, and the second abnormality indication is used to indicate and the first processing module parses the S+1-th subtask in the first task to obtain the S+1-th sub-control information; and stores the S-th sub-control information in the storage module; and realizes: in response to receiving an indication of successful fault repair, reading the S-th sub-control information from the storage module.

[0201] Optionally, the processor 51 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. Here, the program executed by the processor 51 may be stored in a memory 52 connected to the processor 51 via a communication bus, and the memory 52 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, a compact disc or a read-only disc (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache.By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory 52 described in the embodiment of the present invention is intended to include but is not limited to these and any other suitable types of memory 52. ​​The memory 52 in the embodiment of the present invention is used to store various types of data to support the operation of the processor 51. Examples of such data include: any computer program operated by the processor 51, such as an operating system and application programs; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks.

[0202] In some embodiments, the memory 52 in the embodiments of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous DRAM (DDRSDRAM), enhanced synchronous DRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus DRAM (DRRAM). The memory 52 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0203] The processor 51 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 51 or the instructions in the form of software. The above processor 51 may be a general processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor may be a microprocessor or the processor may also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 52, and the processor 51 reads the information in the memory 52 and completes the steps of the above method in combination with its hardware.

[0204] In some embodiments, the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.

[0205] For software implementation, the techniques described herein can be implemented by modules (e.g., procedures, functions, etc.) that perform the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.

[0206] Another embodiment of the present invention provides a computer storage medium, which stores an executable program. When the executable program is executed by the processor 51, the steps of the operation method of printing anomaly detection applied to the endpoint device or server can be implemented. Figure 1 or Figure 2 or Figure 3 One or more of the methods shown.

[0207] In some embodiments, the computer storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0208] It should be noted that the technical solutions described in the embodiments of the present invention can be combined arbitrarily without conflict.

[0209] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.

Claims

1. A printing anomaly detection method, characterized in that: Applied to a laser printer integrated with a SOC module, the SOC module includes: a first processing module and a second processing module, the method includes: When the first processing module receives a print instruction carrying a print task, the first processing module processes the print task to obtain a first task and a second task, wherein the first task and the second task together constitute the print task; the first processing module sends the second task to the second processing module; When the first processing module receives a print instruction carrying a print task, the first processing module processes the print task to obtain a first task and a second task, including: after the first processing module in the first state receives the print instruction, the second processing module in the second state is awakened, and the awakened second processing module is in the first state; the first state is a normal working state, the second state is a sleep or standby state, and the power consumption of the first processing module in the normal state is greater than the power consumption of the second processing module in the normal working state; Processing the printing task includes: Splitting the printing task into N+M subtasks, and sorting the N+M subtasks according to a preset sorting rule, taking N subtasks that satisfy a first sequence rule as the first task, and taking M subtasks that satisfy a second sequence rule as the second task, wherein N and M are positive integers greater than or equal to 1 and N is equal to M; The sorting of the N+M subtasks according to a preset sorting rule includes: Calculating score values ​​according to task information of N+M subtasks and corresponding weights of the task information, and performing sorting processing according to the score values, wherein the task information includes at least one of the following: data volume of the subtask, data complexity of the subtask, and printing priority of the subtask; The method further comprises: If the current power consumption of the first processing module is less than the current power consumption of the second processing module, when the preset sorting rule is a sorting rule in which the score value is from high to low, the first sequence rule is determined to be a positive sequence rule, and the second sequence rule is determined to be a reverse sequence rule; or, if the current power consumption of the first processing module is greater than the current power consumption of the second processing module, when the preset sorting rule is a sorting rule in which the score value is from low to high, the first sequence rule is determined to be a reverse sequence rule, and the second sequence rule is determined to be a positive sequence rule; The first processing module and the second processing module parse the first task and the second task respectively to obtain the first printing control information indicated by the first task and the second printing control information indicated by the second task; The first processing module sends the first printing control information to the second processing module, the second processing module pre-processes the first printing control information to determine first printing status information in the pre-printing process; the second processing module pre-processes the second printing control information to determine second printing status information in the pre-printing process; If the first printing status information or the second printing status information indicates an abnormality, the second processing module sends an abnormality indication to the first processing module, and after the first processing module receives the abnormality indication, it determines the printing failure according to the first printing status information and the second printing status information, and feeds back the printing failure.

2. The printing anomaly detection method according to claim 1, characterized in that: The method further comprises: If the first printing status information and the second printing status information indicate that they are normal, the first processing module controls the laser printer to perform a printing operation after waiting for the print task to be parsed.

3. The printing anomaly detection method according to claim 1, characterized in that: The printing task includes printing data; The step of splitting the printing task into N+M subtasks includes: The first processing module splits the print data in the print task into N+M subtasks according to the data volume; or, The first processing module divides the printing data in the printing task into N+M subtasks according to data types.

4. The printing anomaly detection method according to claim 1, characterized in that: The first processing module and the second processing module respectively parse the first printing control information indicated by the first task and the second printing control information indicated by the second task according to the first task and the second task, including: The first processing module parses the Sth subtask in the first task to obtain the Sth sub-control information, where S is a positive integer greater than or equal to 1 and less than N; The first processing module sends the first printing control information to the second processing module, and the second processing module pre-processes the first printing control information to determine first printing status information in the pre-printing process, including: The first processing module sends the S-th sub-control information to the second processing module, and the second processing module pre-processes the S-th sub-control information to determine the S-th first printing status information in the pre-printing process; The method further comprises: If the Sth first printing status information indicates normal, the first processing module parses the S+1th subtask in the first task to obtain the S+1th sub-control information.

5. The method according to claim 4, characterized in that The method further comprises: If the Sth first printing status information indicates an abnormality, the second processing module sends a first abnormality indication to the first processing module, where the first abnormality indication is used to instruct the first processing module to stop parsing the first task.

6. The method according to claim 5, characterized in that The SOC module also includes: a storage module; The method further comprises: If the Sth first printing status information indicates an abnormality, the second processing module sends a second abnormality indication to the first processing module, the second abnormality indication is used to indicate and the first processing module parses the S+1th subtask in the first task to obtain the S+1th sub-control information; and stores the Sth sub-control information in the storage module; In response to receiving a fault repair success indication, the Sth sub-control information is read from the storage module.

7. A laser printer, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is used to execute the printing anomaly detection method as described in any one of claims 1 to 6.

8. A computer storage medium, characterized in that The computer storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to enable the one or more processors to execute the printing abnormality detection method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Information processor, information processing system, and program

    JP2021027582A