[go: up one dir, main page]

CN119759302B - Self-service printing regulation and control method and system for multiple printers - Google Patents

Self-service printing regulation and control method and system for multiple printers

Info

Publication number
CN119759302B
CN119759302B CN202510017840.7A CN202510017840A CN119759302B CN 119759302 B CN119759302 B CN 119759302B CN 202510017840 A CN202510017840 A CN 202510017840A CN 119759302 B CN119759302 B CN 119759302B
Authority
CN
China
Prior art keywords
printer
printing
file data
print file
edge computing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202510017840.7A
Other languages
Chinese (zh)
Other versions
CN119759302A (en
Inventor
李伟鹏
林毓钊
陈建华
周致成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Qimengyun Information Technology Co ltd
Original Assignee
Guangzhou Qimengyun Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Qimengyun Information Technology Co ltd filed Critical Guangzhou Qimengyun Information Technology Co ltd
Priority to CN202510017840.7A priority Critical patent/CN119759302B/en
Publication of CN119759302A publication Critical patent/CN119759302A/en
Application granted granted Critical
Publication of CN119759302B publication Critical patent/CN119759302B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention provides a self-service printing regulation and control method and a self-service printing regulation and control system of multiple printers, wherein the self-service printing regulation and control method of the multiple printers comprises the steps of acquiring configuration data of each printer when the self-service printing regulation and control method of the multiple printers is successfully connected with the multiple printers through edge computing equipment; the method comprises the steps of respectively obtaining the printer states of corresponding printers according to configuration data of each printer, obtaining a printing order sent by a user, extracting printing file data and printing requirements of the printing order, distributing target printers for the printing file data based on the printing requirements, the configuration data of each printer and the printer states, sending the printing file data and the printing requirements to the target printers for printing through edge computing equipment, and outputting printing success information after the printing file data is printed, so that a plurality of printers are reasonably scheduled, the overall failure rate is reduced, and the success rate, the processing efficiency and the resource utilization rate of a printing task are improved.

Description

Self-service printing regulation and control method and system for multiple printers
Technical Field
The invention relates to the technical field of self-service printing regulation and control of multiple printers, in particular to a self-service printing regulation and control method and system of multiple printers.
Background
The printer is an output device for converting an electronic document into a paper document, and is widely used in offices, schools, libraries, families, and the like.
However, with the proliferation of print demands, conventional self-service print management approaches are experiencing a series of challenges, particularly where there is a need to handle large numbers of documents and diversified print demands, the print efficiency and management capabilities of conventional self-service print management approaches have limitations. For example, multiple printers may be distributed in a self-service print shop, but due to lack of intelligent regulation and control capability, maldistribution of print tasks is easily caused, and printing efficiency is affected. Therefore, the existing print management method cannot reasonably distribute the print management method according to the print requirement of the print task and the printer state, so that the processing efficiency of the print task is low, and the resource utilization rate is seriously insufficient.
In the technical scheme of the patent application number CN202411390681.7, a bar code with an encryption function and dynamic information is generated by utilizing an intelligent algorithm, the bar code is automatically identified by a Bluetooth wireless bar code gun, printing task information is imported, the printing task is intelligently scheduled by adopting an optimization algorithm according to a bar code verification result and the emergency degree of the printing task, an optimal printing path and time are automatically distributed, the printing process is monitored in real time by the Internet of things technology, an abnormal alarm is automatically generated and fed back to related personnel, after printing is completed, the printing log and the bar code information are automatically collected, intelligent data analysis is carried out, a printing report is generated, and the printing report is stored on a block chain, so that efficient management and intelligent scheduling of the printing task are realized. However, the technical scheme also needs to generate a bar code with an encryption function and dynamic information, and the operation is complicated based on the bar code to import the print job information.
In the technical scheme of the patent application number CN202411086575.X, by initializing printer equipment and terminal equipment corresponding to a channel provider, associating the channel provider with the printer equipment and the terminal equipment corresponding to the channel provider, obtaining the busy degree of the printer equipment corresponding to the channel provider, receiving printing tasks sent by a plurality of users through the terminal equipment corresponding to the channel provider, selecting the printer equipment according to the busy degree of the printer equipment corresponding to the channel provider, selecting printable printer equipment, triggering the printable printer equipment to execute the corresponding printing tasks through mail printing technology, so as to process high concurrent printing tasks in the same channel, and cause the problems of disordered execution of the printing tasks and low printing efficiency. However, the technical scheme only combines the busy degree of the printer equipment to select the printer equipment, and is difficult to comprehensively and accurately select the most suitable printer.
Disclosure of Invention
The invention provides a self-service printing regulation and control method and a self-service printing regulation and control system for multiple printers, which are used for reasonably scheduling the multiple printers and improving the processing efficiency and the resource utilization rate of a printing task.
In order to solve the problems, the invention adopts the following technical scheme:
The invention provides a self-service printing regulation and control method of multiple printers, which is applied to control equipment of a self-service printing regulation and control system of the multiple printers, and comprises the following steps:
When the control equipment is determined to be successfully connected with a plurality of printers through the edge computing equipment, configuration data of each printer are obtained;
storing the configuration data of each printer into a local database, and respectively acquiring the printer states of the corresponding printers according to the configuration data of each printer;
acquiring a printing order sent by a user, and extracting printing file data and printing requirements of the printing order;
Distributing at least one target printer for the printing file data based on the printing requirement, the configuration data of each printer and the printer state, and sending the printing file data and the printing requirement to the at least one target printer for printing through an edge computing device;
And receiving a printing result of each target printer sent by the edge computing equipment, and outputting a printing success message after determining that the printing file data is printed based on the printing result.
Further, after the printer states of the corresponding printers are respectively obtained according to the configuration data of each printer, the method further includes:
When the printer state of any printer is an error state, an initializing command is issued to a fault printer in the error state through the edge computing equipment so as to initialize the fault printer.
Preferably, the allocating at least one target printer for the print file data based on the print requirement, the configuration data of each printer and the printer status includes:
judging whether the print file data needs color printing or photo printing based on the print requirement;
when the print file data is judged to need color printing or photo printing, judging whether the color printer is available or not based on the configuration data and the printer state of each printer;
When the color printer is judged to be available, at least one color printer is allocated to the printing file data;
when the print file data is judged not to need color printing or photo printing, judging whether a black-and-white printer is available or not based on the configuration data and the printer state of each printer;
When the black-and-white printer is judged to be available, at least one black-and-white printer is allocated to the printing file data;
when the black-and-white printer is judged to be unavailable, judging whether the color printer is available or not based on the configuration data and the printer state of each printer;
and when the color printer is judged to be available, at least one color printer is allocated to the printing file data.
Further, after the sending, by the edge computing device, the print file data and the print requirement to the at least one target printer for printing, the method further includes:
when at least one black-and-white printer is monitored to be abnormal in printing, judging whether the color printer is available or not based on the configuration data and the printer state of each printer;
inquiring whether the user needs to switch to the color printer to continue printing when the color printer is judged to be available;
When the color printer is determined to need to be switched to continue printing, sending the printing file data and the printing requirement corresponding to the black-and-white printer with abnormal printing to the color printer to continue printing through an edge computing device;
When the fact that the color printer does not need to be switched to continue printing is determined, detecting the abnormal black-and-white printer through the edge computing equipment, generating a printing abnormality reason reminding message, and sending the printing abnormality reason reminding message to a monitoring end.
Preferably, the detecting, by the edge computing device, the abnormal black-and-white printer and generating a print abnormality cause reminding message includes:
Calling an edge computing device to acquire abnormal parameter information of the black-and-white printer, detecting the abnormal value of the abnormal parameter information of the black-and-white printer based on an abnormal value detection algorithm, identifying abnormal parameter information with a difference value larger than a preset value from standard parameter information, and analyzing the printing abnormality reason of the abnormal black-and-white printer based on the abnormal parameter information;
and receiving the printing abnormality reasons sent by the edge computing equipment, and generating a printing abnormality reason reminding message based on the printing abnormality reasons.
Preferably, the allocating at least one target printer for the print file data based on the print requirement, the configuration data of each printer and the printer status includes:
determining the maximum printing duration allowed by the printing file data based on the printing requirement;
calculating the task amount of the print file data;
Respectively determining the printing efficiency of the corresponding printer based on the configuration data of each printer;
Calculating the actual printing time required by each printer to independently print the printing file data according to the task amount of the printing file data and the printing efficiency of each printer;
Judging whether printers capable of independently printing the printing file data exist in the maximum printing duration based on the printer state of each printer and the corresponding actual printing duration;
When it is determined that there is no printer capable of independently printing the print file data within the maximum printing duration, splitting the print file data into a plurality of sub print file data, and distributing each sub print file data to a corresponding target printer.
Preferably, the splitting the print file data into a plurality of sub print file data, and distributing each sub print file data to a corresponding target printer includes:
determining the residual task quantity of the corresponding printer based on the printer state of each printer;
Respectively calculating the maximum task quantity of the corresponding printer according to the printing efficiency and the maximum printing duration of each printer;
subtracting the corresponding residual task amount from the maximum task amount of each printer to obtain the task amount to be distributed of each printer;
Calculating the ratio of the task quantity to be distributed of each printer to the task quantity of the printing file data respectively to obtain the task proportion to be distributed of each printer;
splitting the print file data into a plurality of sub print file data based on the task proportion to be allocated of all printers, and allocating each sub print file data to a corresponding target printer, wherein the task amount of the sub print file data allocated to each target printer is positively correlated with the corresponding task proportion to be allocated.
Further, after the control device is determined to be successfully connected with the printers through the edge computing device, the method further comprises:
when receiving the data to be processed sent by the edge computing equipment, acquiring the running state of the control equipment;
when the running state of the control equipment is determined to be a busy state, controlling the edge computing equipment to select an optimal mathematical model to analyze and process the data to be processed, and generating an analysis and processing result;
and receiving an analysis processing result sent by the edge computing equipment, and formulating a corresponding control strategy based on the analysis processing result.
Preferably, the controlling the edge computing device to select an optimal mathematical model to analyze the data to be processed, and generating an analysis result includes:
Controlling the edge computing equipment to select a plurality of first mathematical models, and randomly generating a plurality of groups of different model parameters, wherein the number of the model parameters is greater than or equal to that of the first mathematical models;
Randomly configuring a group of different model parameters for each first mathematical model;
Respectively calculating a first mean square error value of each first mathematical model based on a preset mean square error function, wherein the preset mean square error function is used for evaluating the accuracy of the first mathematical model on data analysis;
Selecting a first mathematical model with the first mean square error value smaller than a first preset threshold value based on the first mean square error value of each first mathematical model to obtain a plurality of second mathematical models;
Randomly selecting two second mathematical models to exchange model parameters for a plurality of times, and exchanging at least one model parameter in the randomly selected two second mathematical models when exchanging each time to form a plurality of third mathematical models;
randomly changing at least one model parameter of each third mathematical model to form a plurality of fourth mathematical models;
Respectively calculating second mean square error values of each third mathematical model and each fourth mathematical model based on a preset mean square error function, and selecting a mathematical model with the minimum second mean square error value from a plurality of third mathematical models and a plurality of fourth mathematical models as an optimal mathematical model;
and analyzing and processing the data to be processed by using the optimal mathematical model to generate an analysis and processing result.
The invention also provides a self-service printing regulation and control system of the multiple printers, which comprises multiple printers, edge computing equipment and control equipment, wherein the control equipment is connected with each printer through the edge computing equipment, the control equipment comprises a memory and a processor, the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the processor executes the steps of the self-service printing regulation and control method of the multiple printers.
Compared with the prior art, the technical scheme of the invention has at least the following advantages:
The self-service printing regulation and control method and system for the multiple printers ensure that the printing tasks can be rapidly and uniformly distributed to the multiple printers through the intelligent scheduling and optimizing algorithm, reduce the waiting time and processing time of the printing tasks, monitor the state of each printer in real time, ensure that the printing tasks can be timely regulated when the printers fail or lack paper, avoid printing failure or delay, and reduce the overall failure rate. Secondly, intelligently distributing the printing tasks according to the printing requirements, the configuration data and the state of the printers so as to comprehensively and accurately select the most suitable printer, avoid resource waste and improve the utilization rate of the printer. In addition, the edge computing equipment is used for processing the printing file data, so that the processing task of the control equipment is reduced, the transmission of sensitive data in a network is reduced, and the security of the document is enhanced. Finally, the user can send the printing order more conveniently, and can receive feedback of successful printing in time, so that the user satisfaction is improved.
Drawings
FIG. 1 is a flow chart of one embodiment of a self-service print regulating method for multiple printers of the present invention;
FIG. 2 is a flow chart of a method for self-service print regulation of multiple printers according to another embodiment of the present invention;
FIG. 3 is a flow chart of another embodiment of a self-service print regulating method of multiple printers according to the present invention;
FIG. 4 is a block diagram illustrating an embodiment of a self-service print regulating apparatus of a multiple printer according to the present invention;
Fig. 5 is a block diagram showing the structure of an embodiment of the control apparatus of the present invention.
Detailed Description
In order to enable those skilled in the art to better understand the present invention, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present invention with reference to the accompanying drawings.
In some of the flows described in the specification and claims of the present invention and in the foregoing figures, a plurality of operations appearing in a particular order are included, but it should be clearly understood that the operations may be performed in other than the order in which they appear herein or in parallel, the sequence numbers of the operations such as S11, S12, etc. are merely used to distinguish between the various operations, and the sequence numbers themselves do not represent any order of execution. In addition, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first" and "second" herein are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, and are not limited to the "first" and the "second" being different types.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by one of ordinary skill in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those of ordinary skill in the art that unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
Referring to fig. 1, the present invention provides a self-service printing regulation method of multiple printers, which is applied to a control device of a self-service printing regulation system of multiple printers, and the method may include the following steps:
s11, when the control equipment is determined to be successfully connected with a plurality of printers through the edge computing equipment, acquiring configuration data of each printer;
S12, storing the configuration data of each printer into a local database, and respectively acquiring the printer states of the corresponding printers according to the configuration data of each printer;
S13, acquiring a printing order sent by a user, and extracting printing file data and printing requirements of the printing order;
S14, distributing at least one target printer for the printing file data based on the printing requirement, the configuration data of each printer and the printer state, and sending the printing file data and the printing requirement to the at least one target printer for printing through an edge computing device;
and S15, receiving a printing result of each target printer sent by the edge computing equipment, and outputting a printing success message after determining that the printing file data is printed based on the printing result.
After the control device successfully establishes connection with the printers through the edge computing device, the control device collects configuration data of each printer, wherein the configuration data comprise printer types, ink box states, paper capacities, printing speeds, supported file formats and the like.
Wherein the control device may be arranged at a cloud system, which establishes a connection with the edge computing device over a network. The edge computing equipment is equipment which is deployed at the edge of the network and has the capabilities of computing, storing, communicating and the like, can process data nearby, reduce data transmission delay, improve response speed, reduce the requirement of transmitting a large amount of original data to the cloud, lighten the pressure of network bandwidth, reduce data transmission cost and share the data processing pressure of the control equipment. In the scene of quick response, the edge calculation can also provide local decision support, so that decision errors caused by network delay are avoided.
The collected configuration data may be stored in a local database for ease of management and querying. Meanwhile, the control device may obtain the current status of each printer according to the configuration data, such as whether it is idle, whether it is out of paper, whether maintenance is required, and so on.
The user sends a print order through the control device, including print file data and specific print requirements, such as color or black-and-white printing, number of print copies, paper size, etc. The control device intelligently allocates at least one target printer for the print file data according to the print requirements of the user, the configuration data of the printer and the printer status. The print file data and print requirements are then sent to the designated printer by the edge computing device.
After printing is complete, the edge computing device receives a print result from the target printer. The control device confirms whether the print file data has been successfully printed according to the print result, and outputs a message of successful printing to the user after confirmation.
For example, assume a self-service print shop has three printers, a color laser printer (P1), a black-and-white laser printer (P2), and an inkjet printer (P3). One user needs to print 100 color brochures. The control device is connected to P1, P2 and P3 through the edge computing device, acquires their configuration data and status, and stores these information in a local database. Suppose P1 and P2 are currently idle while P3 is in use. A user submits a printing order through self-service equipment and needs to print 100 color propaganda books. The control device analyzes the order and the printer status, decides to assign the print job to P1 because P1 is idle and P1 supports color printing. And after the P1 finishes the printing task, receiving a printing result sent by the edge computing equipment, and confirming that all the propaganda books are printed. Then, the control device can display or send a message of successful printing to the user, so that the waiting time is reduced, the printing efficiency is improved, the resources are reasonably utilized, the overuse of a single printer is avoided, and the service life of the printer is prolonged.
The self-service printing regulation and control method for the multiple printers ensures that the printing tasks can be rapidly and uniformly distributed to multiple printers through intelligent scheduling and optimizing algorithms, reduces waiting time and processing time of the printing tasks, monitors the state of each printer in real time, ensures that the printing tasks can be timely regulated when the printers have faults or lack of paper, and avoids printing failure or delay. Secondly, intelligently distributing the printing tasks according to the printing requirements, the configuration data and the state of the printers so as to comprehensively and accurately select the most suitable printer, avoid resource waste and improve the utilization rate of the printer. In addition, the edge computing equipment is used for processing the printing file data, so that the processing task of the control equipment is reduced, the transmission of sensitive data in a network is reduced, and the security of the document is enhanced. Finally, the user can send the printing order more conveniently, and can receive feedback of successful printing in time, so that the user satisfaction is improved.
In one embodiment, after the acquiring the printer status of the corresponding printer according to the configuration data of each printer, the method further includes:
When the printer state of any printer is an error state, an initializing command is issued to a fault printer in the error state through the edge computing equipment so as to initialize the fault printer.
The present embodiment continuously monitors the status of each connected printer, including whether the printer is on-line, paper is present, the ink cartridge is sufficient, paper jams, etc. When the control device detects that the status of any one printer is displayed as an error status, it may mean that the printer encounters a problem that cannot be solved by itself, such as a hardware failure, a jam, an ink shortage, or the like.
Upon finding an error condition, the edge computing device may send an initialization instruction to the failed printer. The initialization instructions are a series of preset commands aimed at resetting the state of the printer to bring it back to factory settings or a known good state. After the failed printer receives the initialization instructions, these instructions are executed, including clearing the print queue, resetting the internal counter, restarting the printer service, and so forth.
After the failed printer is initialized, its status is updated and a new printer status is reported to the edge computing device. After receiving the new status of the printer, the edge computing device confirms whether the printer has recovered from the error status and reports the latest status of the failed printer to the control device.
The embodiment can quickly recover the working state of the printer through the automatic initialization instruction, reduce the requirement of manual intervention, reduce the work interruption time caused by printer faults, improve the printing efficiency, reduce the workload of maintenance personnel through automatic error processing, and reduce the maintenance cost.
In one embodiment, referring to fig. 2, the allocating at least one target printer for the print file data based on the print requirement, the configuration data of each printer and the printer status may specifically include:
s141, judging whether the printing file data needs color printing or photo printing based on the printing requirement;
s142, when the print file data is judged to need color printing or photo printing, judging whether the color printer is available or not based on the configuration data and the printer state of each printer;
S143, when the color printer is judged to be available, at least one color printer is allocated for printing file data;
s144, when the print file data is judged not to need color printing or photo printing, judging whether the black-and-white printer is available or not based on the configuration data and the printer state of each printer;
s145, when judging that the black-and-white printer is available, distributing at least one black-and-white printer for the printing file data;
When it is determined that the black-and-white printer is not available, it is determined whether the color printer is available based on the configuration data and the printer status of each printer in step S142, and step S143 is performed.
In this embodiment, first, a print order submitted by a user is analyzed to determine whether a print file requires color printing or photo printing. For example, the determination is made based on the file content (e.g., image, chart) and the user's print options.
If the print request includes color printing, configuration data and current status of all color printers are checked to determine if there are available color printers, including checking if the printers are online, if ink cartridges are inked, if there is paper, etc.
Once an available color printer is found, a print job is assigned to the color printer. If multiple color printers are available, the most appropriate color printer may also be selected based on the printer's load, location, or other optimization criteria.
If the print request does not include color printing, the configuration data and status of the black-and-white printer may be checked to determine if a black-and-white printer is available.
If an available black-and-white printer is found, a print job is assigned to the black-and-white printer. If all black and white printers are not available, it is determined whether the color printer is available based on the configuration data and the printer status of each printer, and when it is determined that the color printer is available, at least one color printer is assigned to the print file data because the color printer can also process black and white print jobs in some cases.
According to the embodiment, the printing requirements and the printer states can be judged intelligently, so that a proper printer can be allocated to the printing task quickly, and the task queuing and waiting time are reduced. Meanwhile, the printer is intelligently selected according to the specific requirements (color or black and white) of the printed file and the configuration and state of the printer, so that resource waste is avoided, and the use efficiency of the printer is improved. In addition, the printer can adapt to different printing requirements and printer state changes, flexibly adjust the printing task distribution and ensure that the printing task can be always executed on an available printer. Finally, when the black-and-white printer is not available, the printer can automatically fall back to the color printer, thereby ensuring the continuity of the printing task and keeping the service uninterrupted even if part of the printers fail.
In one embodiment, after the sending, by the edge computing device, the print file data and the print requirement to the at least one target printer for printing, the method further includes:
when at least one black-and-white printer is monitored to be abnormal in printing, judging whether the color printer is available or not based on the configuration data and the printer state of each printer;
inquiring whether the user needs to switch to the color printer to continue printing when the color printer is judged to be available;
When the color printer is determined to need to be switched to continue printing, sending the printing file data and the printing requirement corresponding to the black-and-white printer with abnormal printing to the color printer to continue printing through an edge computing device;
When the fact that the color printer does not need to be switched to continue printing is determined, detecting the abnormal black-and-white printer through the edge computing equipment, generating a printing abnormality reason reminding message, and sending the printing abnormality reason reminding message to a monitoring end.
In the printing process, the working states of all connected black-and-white printers are continuously monitored, so that any abnormal conditions such as paper jam, ink shortage, hardware faults and the like can be found in time. Once an abnormality in the black-and-white printer is found, the configuration data and current status of all color printers are immediately checked to determine if any color printers can be used as an alternative option, thereby reducing the overall failure rate.
If a color printer is available, the user is notified of the abnormality in the black-and-white printer and asked if the user would like to switch to the color printer to continue the print job.
If the user agrees to switch, the control device will reassign the print job originally assigned to the black-and-white printer to the color printer via the edge computing device and send a print instruction.
If the user chooses not to switch to the color printer or the color printer is not available, the control device further detects the abnormal black-and-white printer to determine the specific reason of the abnormality, generates a printing abnormality reason reminding message and sends the printing abnormality reason reminding message to the monitoring end so that the staff at the monitoring end can know and repair the abnormal black-and-white printer in time.
The embodiment can flexibly adjust the printing task according to the actual condition of the printer and the requirement of the user, improves the flexibility and adaptability of the printing process, can timely obtain feedback when the user encounters a printing problem, quickly solves the problem according to the suggestion, and enhances the user experience. And secondly, through intelligent scheduling and user interaction, interruption of the printing task caused by printer abnormality is reduced, and printing continuity is improved. In addition, printing resources can be reasonably distributed, so that when a black-and-white printer is unavailable, a color printer can be utilized to complete black-and-white printing tasks, the overall failure rate is reduced, and the utilization of resources is optimized.
In one embodiment, referring to fig. 3, the detecting, by an edge computing device, the abnormal black-and-white printer and generating a print abnormality cause reminding message may specifically include:
S31, calling an edge computing device to acquire abnormal parameter information of the black-and-white printer, detecting the abnormal value of the abnormal parameter information of the black-and-white printer based on an abnormal value detection algorithm, identifying abnormal parameter information with a difference value larger than a preset value from standard parameter information, and analyzing the printing abnormal reason of the abnormal black-and-white printer based on the abnormal parameter information;
s32, receiving the printing abnormality reasons sent by the edge computing equipment, and generating a printing abnormality reason reminding message based on the printing abnormality reasons.
The edge computing device invokes an interface to communicate with the black and white printer to obtain real-time parameter information for the printer, which may include key operating parameters such as cartridge status, paper volume, printhead temperature, etc.
The control device may analyze the real-time parameter information using a predetermined outlier detection algorithm, such as a statistical analysis or a machine learning model. The algorithm compares the real-time parameter information with the standard parameters of the printer (parameters in normal operation). The algorithm identifies abnormal parameter information having a difference from the standard parameter information greater than a preset threshold, the abnormal parameter information being considered abnormal, possibly indicating a problem or malfunction of the printer, and analyzes the cause of the abnormal printing of the black-and-white printer based on the abnormal parameter information, and feeds back the cause of the abnormal printing to the control device.
Finally, the control device receives the cause of the printing abnormality regarding the black-and-white printer transmitted by the edge computing device. Based on the cause of the printing abnormality, a printing abnormality cause alert message is generated that specifies the abnormal state of the printer and possible solutions so that the user or maintenance personnel can quickly respond to and deal with the problem.
For example, assume that a black-and-white printer (BW 1) in a print shop has a problem of print blurring during printing. First, parameter information of BW1 including the ink amount of the ink cartridge, the temperature of the print head, and the like is acquired by an edge calculation device. The outlier detection algorithm analyzes the parameter information to find that the temperature of the print head is abnormally high, the difference value between the abnormal value detection algorithm and the standard parameter exceeds a preset threshold value, and based on the abnormal print head temperature parameter, the analysis results in that printing blurring may be caused by overheat of the print head. The control device receives the reasons for the printing abnormality sent by the edge computing device and generates a warning message of the reasons for the printing abnormality, which indicates that the printing head is too high in temperature, and recommends to check the heat dissipation system and pause the printing task to prevent further damage.
According to the embodiment, potential faults can be found in advance through real-time monitoring and anomaly detection of the edge computing equipment, and accidental downtime is reduced. Meanwhile, the clear reasons and solutions of the abnormality can guide maintenance personnel to quickly locate the problem, and the maintenance efficiency is improved. In addition, by rapidly responding to and processing printing anomalies, the quality of the print job can also be ensured, avoiding degradation in print quality due to equipment problems.
In one embodiment, the abnormal value detection algorithm is used for detecting abnormal values of the abnormal parameter information of the black-and-white printer, and identifying abnormal parameter information with a difference value from the standard parameter information being greater than a preset value may specifically include:
Determining a K value based on the abnormal parameter type of the parameter information of the black-and-white printer, wherein the K value is used for determining the quantity of the standard parameter information closest to the to-be-compared parameter information;
Based on a K neighbor algorithm, respectively calculating Euclidean distance between each piece of parameter information of the abnormal black-and-white printer and each piece of corresponding standard parameter information;
Respectively selecting K pieces of standard parameter information with the nearest Euclidean distance to each piece of parameter information to obtain K pieces of target standard parameter information with the nearest Euclidean distance to be compared for each piece of parameter information;
and respectively calculating the average distance between each parameter information and K pieces of target standard parameter information with the nearest Euclidean distance, and screening out parameter information with the average distance larger than a preset value as abnormal parameter information.
The present embodiment can determine the K value according to the parameter type (e.g., temperature, ink amount, etc.) of the parameter information of the abnormal black-and-white printer. The K value is a parameter used in the K-nearest neighbor algorithm to determine the number of nearest standard parameter information to be compared. The choice of the appropriate K value is critical to the performance of the algorithm and the accuracy of the results.
Then, using a K-nearest neighbor algorithm, the euclidean distance between each parameter information of the abnormal black-and-white printer and each corresponding standard parameter information is calculated, respectively. That is, for each parameter information, it is compared with a plurality of standard parameter information of the same parameter type, respectively, and the euclidean distance between the two is calculated. The Euclidean distance is a measure of the distance of two points in a multidimensional space. And selecting K pieces of standard parameter information with the nearest Euclidean distance for each piece of parameter information to obtain K pieces of target standard parameter information.
And then, respectively calculating the average distance between each parameter information and K pieces of target standard parameter information with the nearest Euclidean distance, screening out parameter information with the average distance larger than a preset value according to the preset value, and marking the parameter information as abnormal parameter information.
For example, assuming that abnormal value detection is required for a temperature parameter of a black-and-white printer, the K value may be determined to be 5 according to the parameter type of the temperature parameter, the euclidean distance between the temperature parameter (assumed to be 30 ℃) and the historical standard temperature parameter (assumed to be 20 ℃ to 24 ℃) is calculated, 5 standard temperature parameters (20 ℃, 21 ℃, 22 ℃, 23 ℃ and 24 ℃) closest to the 30 ℃) temperature parameter are selected, and the average distances between the 30 ℃ and the 5 nearest standard temperature parameters are calculated, respectively, assuming that the average distance is 5 ℃. If the preset value is 4 ℃, then the 30 ℃ temperature parameter is marked as an outlier since 5 ℃ is greater than 4 ℃.
The embodiment can more accurately identify real abnormal parameters by calculating the average distance between the control equipment and the standard parameter information, can quickly identify the abnormal parameter information, enables the control equipment to respond in time and take corresponding maintenance measures, and reduces the situation of misjudging normal fluctuation as abnormal by comparing the average distance with a preset value. Finally, abnormal parameters are found and processed in time, so that the best working state of the printer is maintained, the printing quality is improved, unexpected faults can be reduced through preventive maintenance, and the operation cost caused by the faults of the printer is reduced.
In one embodiment, the allocating at least one target printer for the print file data based on the print requirement, the configuration data of each printer, and the printer status includes:
determining the maximum printing duration allowed by the printing file data based on the printing requirement;
calculating the task amount of the print file data;
Respectively determining the printing efficiency of the corresponding printer based on the configuration data of each printer;
Calculating the actual printing time required by each printer to independently print the printing file data according to the task amount of the printing file data and the printing efficiency of each printer;
Judging whether printers capable of independently printing the printing file data exist in the maximum printing duration based on the printer state of each printer and the corresponding actual printing duration;
When it is determined that there is no printer capable of independently printing the print file data within the maximum printing duration, splitting the print file data into a plurality of sub print file data, and distributing each sub print file data to a corresponding target printer.
The embodiment can determine the maximum printing duration allowed by the printing file data according to the printing requirement of the user. The maximum printing duration may be set based on the user's needs, printing urgency, or Service Level Agreement (SLA).
Then, the size, complexity, page number, and the like of the print file data are analyzed, and the amount of job required to complete the print job is calculated. Meanwhile, the printing efficiency of each printer is respectively determined according to the configuration data (such as printing speed, resolution, etc.) of each printer. And calculating the actual printing time required by each printer to independently print the printing file data by combining the task amount of the printing file data and the printing efficiency of each printer.
Based on the status of each printer (such as whether it is idle, whether there is paper, the remaining printing time length, etc.), and the corresponding actual printing time length, it is determined whether there is a printer capable of independently completing the printing task within the maximum printing time length.
If no printer can complete the print job within the maximum print duration, splitting the print file data into a plurality of sub print file data, and distributing each sub print file data to different target printers to process the print job in parallel, thereby shortening the overall print duration.
For example, assuming that one user needs to print a 1000-page report, requiring printing to be completed within 20 minutes, the maximum printing duration is set to 20 minutes, and the reported print job amount is calculated to be 1000 pages. Assuming three printers A, B and C, if their printing efficiencies are 20, 25 and 40 pages per minute, respectively. The actual print duration of each printer was calculated, with a taking 50 minutes, B taking about 40 minutes, and C taking 25 minutes. And (3) checking the printer state, finding that A and C are idle, and B is in use, if A, B and C cannot finish the task within the maximum printing duration, splitting the report, such as the first 350 pages of the A printing report and the last 650 pages of the C printing report, so as to print in parallel, and shortening the total printing duration.
The method and the device can improve the printing efficiency by reasonably distributing the printing tasks, ensure that the printing tasks can be completed quickly, ensure that the tasks can be completed within a specified time through parallel processing for emergency printing requirements, optimize the utilization of printer resources by considering the actual state and efficiency of the printer, avoid resource waste, flexibly adjust the printing task distribution according to actual conditions and adapt to the changes of different scales and requirements, and reduce the waiting time of users and improve the overall efficiency of a printing process through parallel printing.
In one embodiment, the splitting the print file data into a plurality of sub print file data, and distributing each sub print file data to a corresponding target printer includes:
determining the residual task quantity of the corresponding printer based on the printer state of each printer;
Respectively calculating the maximum task quantity of the corresponding printer according to the printing efficiency and the maximum printing duration of each printer;
subtracting the corresponding residual task amount from the maximum task amount of each printer to obtain the task amount to be distributed of each printer;
Calculating the ratio of the task quantity to be distributed of each printer to the task quantity of the printing file data respectively to obtain the task proportion to be distributed of each printer;
splitting the print file data into a plurality of sub print file data based on the task proportion to be allocated of all printers, and allocating each sub print file data to a corresponding target printer, wherein the task amount of the sub print file data allocated to each target printer is positively correlated with the corresponding task proportion to be allocated.
In this embodiment, the current status of each printer, including the task currently being processed and the tasks in the queue, is checked to determine the amount of tasks remaining for each printer. According to the printing efficiency (for example, the number of printing pages per minute) and the maximum printing duration of each printer, the maximum task amount which can be processed by each printer in a given time is calculated, and the residual task amount of each printer is subtracted from the maximum task amount of each printer, so that the task amount to be allocated, which can be used for a new task, of each printer is obtained.
And then, calculating the ratio of the task quantity to be distributed of each printer to the total task quantity of the printing file data to obtain the task proportion to be distributed of each printer.
And splitting the print file data into a plurality of sub print file data according to the proportion of the tasks to be allocated of all printers. The size of each sub-print file data is positively correlated with the proportion of the task to be allocated, so that the reasonable allocation of the task quantity is ensured. And finally, distributing each piece of sub-print file data to a corresponding target printer so as to realize load balancing and efficient printing.
For example, assume that three printers (P1, P2, P3) and one print file data (D) need to be printed, the total job amount is 300 pages. If the remaining task amount of P1 is 50 pages, P2 is 20 pages, and P3 is 0 pages. By calculation, the maximum task amount of P1 is 200 pages, P2 is 150 pages, P3 is 100 pages, and the task amount to be allocated of P1 is 150 pages, P2 is 130 pages, and P3 is 100 pages. Therefore, the task specific gravity to be allocated of P1 is 0.5, P2 is 0.4333, and P3 is 0.3333. According to the task weight, the sub-files of 118 pages, 102 pages and 80 pages can be split into the sub-files of 118 pages, the sub-files of 118 pages are allocated to P1, the sub-files of 102 pages are allocated to P2, and the sub-files of 80 pages are allocated to P3.
According to the embodiment, the task quantity can be reasonably distributed, so that no printer is overloaded, and the overall printing efficiency is improved. Meanwhile, the waiting time of each printer is reduced, the response speed of the printing task is accelerated, all printers are ensured to be fully utilized, and the condition that some printers are idle and other printers are overloaded is avoided. In addition, by dispersing the print tasks, the risk of single-point faults is reduced, the overall fault rate is reduced, and the reliability of the printing system is improved.
In one embodiment, after determining that the control device is successfully connected to all the plurality of printers through the edge computing device, the method further includes:
when receiving the data to be processed sent by the edge computing equipment, acquiring the running state of the control equipment;
when the running state of the control equipment is determined to be a busy state, controlling the edge computing equipment to select an optimal mathematical model to analyze and process the data to be processed, and generating an analysis and processing result;
and receiving an analysis processing result sent by the edge computing equipment, and formulating a corresponding control strategy based on the analysis processing result.
In this embodiment, when the edge computing device receives the data to be processed, the data to be processed is uploaded to the control device. After receiving the data to be processed, the control device needs to query the current running state of the control device, including a busy state, an idle state, a fault state and the like.
And if the running state of the control equipment is a busy state, the edge computing equipment analyzes and processes the data to be processed by adopting an optimal mathematical model to generate an analysis and processing result. Such as data classification, prediction, optimization, or other statistical analysis of the data to be processed to generate useful analytical processing results.
The control device receives the analysis processing result sent by the edge computing device, and may include information such as printer load prediction, task priority ordering, and the like. Based on the analysis and processing results, the control device formulates corresponding control strategies, such as adjusting the priority of the print task, reassigning the print task and the like, so that the processing speed and the overall printing efficiency of the print task are improved through intelligent analysis and control, the resource use of the control device can be optimized according to real-time data, the overall failure rate is reduced, and the normal regulation and control operations of a plurality of printers are ensured.
In one embodiment, the controlling the edge computing device to select an optimal mathematical model to perform analysis processing on the data to be processed, and generating an analysis processing result may specifically include:
Controlling the edge computing equipment to select a plurality of first mathematical models, and randomly generating a plurality of groups of different model parameters, wherein the number of the model parameters is greater than or equal to that of the first mathematical models;
Randomly configuring a group of different model parameters for each first mathematical model;
Respectively calculating a first mean square error value of each first mathematical model based on a preset mean square error function, wherein the preset mean square error function is used for evaluating the accuracy of the first mathematical model on data analysis;
Selecting a first mathematical model with the first mean square error value smaller than a first preset threshold value based on the first mean square error value of each first mathematical model to obtain a plurality of second mathematical models;
Randomly selecting two second mathematical models to exchange model parameters for a plurality of times, and exchanging at least one model parameter in the randomly selected two second mathematical models when exchanging each time to form a plurality of third mathematical models;
randomly changing at least one model parameter of each third mathematical model to form a plurality of fourth mathematical models;
Respectively calculating second mean square error values of each third mathematical model and each fourth mathematical model based on a preset mean square error function, and selecting a mathematical model with the minimum second mean square error value from a plurality of third mathematical models and a plurality of fourth mathematical models as an optimal mathematical model;
and analyzing and processing the data to be processed by using the optimal mathematical model to generate an analysis and processing result.
In this embodiment, the edge computing device selects a plurality of different first mathematical models, which may be different types of statistical models, for data analysis. At the same time, at least one group of model parameters are randomly generated for each first mathematical model respectively, and the model parameters of each group are different, so that the number of parameter combinations is ensured to be not less than the number of models, and the subsequent comparison and optimization are facilitated.
Then, a different set of model parameters is randomly configured for each first mathematical model, respectively. For example, a first mathematical model a configures a set of model parameters a, a first mathematical model B configures a set of model parameters B, a first mathematical model C configures a set of model parameters C, and so on.
Then, a prediction error of each first mathematical model, namely a first mean square error value, is calculated based on a preset mean square error function. Based on the first mean square error value of each first mathematical model, a model is selected for which the first mean square error value is less than a first preset threshold value, forming a plurality of second mathematical models, which are considered to perform better, and are further considered. The first preset threshold may be set to be customized, for example, set to 0.18.
And secondly, randomly selecting two second mathematical models, carrying out multiple exchanges of model parameters, exchanging at least one model parameter each time, forming two new second mathematical models as third mathematical models after each exchange, and finally forming a plurality of third mathematical models after multiple exchanges.
And randomly changing at least one model parameter of each third mathematical model for a plurality of times, forming a new third mathematical model as a fourth mathematical model after each random change, and finally forming a plurality of fourth mathematical models after a plurality of random changes.
And calculating a second mean square error value of each third mathematical model and each fourth mathematical model based on a preset mean square error function. And selecting a model with the minimum second mean square error value from all the third mathematical model and the fourth mathematical model as an optimal mathematical model, and analyzing and processing the data to be processed by using the optimal mathematical model to generate an analysis and processing result.
The method and the device can identify the model most suitable for the data to be processed through multiple model screening and error calculation, improve the accuracy of data analysis, test the influence of different parameter combinations on the performance of the model through parameter exchange and random change, improve the robustness of the model, automatically select the optimal mathematical model, reduce unnecessary calculation resource waste, adapt to different data characteristics and analysis requirements, adapt to the change through continuous optimization of model parameters, and quickly respond to new data analysis requirements by selecting the optimal model, and improve the response speed.
Referring to fig. 4, an embodiment of the present invention further provides a self-service printing control device of a multi-printer, which may include:
An obtaining module 41, configured to obtain configuration data of each printer when it is determined that the control device is successfully connected to the plurality of printers through the edge computing device;
a storing module 42, configured to store the configuration data of each printer into a local database, and obtain a printer status of a corresponding printer according to the configuration data of each printer;
The extracting module 43 is configured to obtain a print order sent by a user, and extract print file data and print requirements of the print order;
The allocation module 44 is configured to allocate at least one target printer to the print file data based on the print requirement, the configuration data of each printer, and the printer status, and send the print file data and the print requirement to the at least one target printer for printing through an edge computing device;
And an output module 45, configured to receive a print result of each target printer sent by the edge computing device, and output a print success message after determining that the print file data is printed based on the print result.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The invention also provides a self-service printing regulation and control system of the multiple printers, which comprises multiple printers, edge computing equipment and control equipment, wherein the control equipment is connected with each printer through the edge computing equipment, the control equipment comprises a memory and a processor, the memory stores computer readable instructions, and when the computer readable instructions are executed by the processor, the processor executes the steps of the self-service printing regulation and control method of the multiple printers.
In one embodiment, the control device provided in one embodiment of the present application, referring to fig. 5, may be a computer device, and the internal structure thereof may be as shown in fig. 5. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the computer is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for the related data of the self-service printing regulation and control method of the multiple printers. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements the self-service print regulating method of the multiple printers described in the above embodiments.
In one embodiment, the present invention also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the self-service print regulating method of the multi-printer. Wherein the storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program stored in a storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (9)

1.一种多打印机的自助打印调控方法,应用于多打印机的自助打印调控系统的控制设备,其特征在于,包括:1. A self-service printing control method for multiple printers, applied to a control device of a self-service printing control system for multiple printers, characterized by comprising: 当确定所述控制设备通过边缘计算设备与多台打印机都连接成功时,获取每台打印机的配置数据;When it is determined that the control device is successfully connected to multiple printers through the edge computing device, obtaining configuration data of each printer; 将每台打印机的所述配置数据存入本地数据库中,并根据每台打印机的所述配置数据分别获取对应打印机的打印机状态;Storing the configuration data of each printer in a local database, and obtaining the printer status of each printer according to the configuration data of each printer; 获取用户发送的打印订单,提取所述打印订单的打印文件数据及打印需求;Obtaining the print order sent by the user, and extracting the print file data and printing requirements of the print order; 基于所述打印需求、每台打印机的所述配置数据及打印机状态,为所述打印文件数据分配至少一台目标打印机,通过边缘计算设备将所述打印文件数据及打印需求发送至所述至少一台目标打印机进行打印;Based on the printing requirement, the configuration data of each printer, and the printer status, allocating at least one target printer for the print file data, and sending the print file data and the printing requirement to the at least one target printer for printing through the edge computing device; 接收所述边缘计算设备发送的每台所述目标打印机的打印结果,在基于所述打印结果确定所述打印文件数据被打印完成后,输出打印成功消息;receiving a printing result of each target printer sent by the edge computing device, and outputting a printing success message after determining that the print file data has been printed based on the printing result; 其中,所述基于所述打印需求、每台打印机的所述配置数据及打印机状态,为所述打印文件数据分配至少一台目标打印机,包括:The allocating at least one target printer for the print file data based on the printing requirement, the configuration data of each printer, and the printer status includes: 基于所述打印需求确定所述打印文件数据允许的最大打印时长;Determining a maximum printing time allowed for the print file data based on the printing requirement; 计算所述打印文件数据的任务量;Calculating the task amount of printing file data; 基于每台打印机的配置数据分别确定对应打印机的打印效率;Determining the printing efficiency of each printer based on the configuration data of each printer; 根据所述打印文件数据的任务量及每台打印机的打印效率,计算每台打印机独立打印所述打印文件数据所需的实际打印时长;Calculating the actual printing time required for each printer to independently print the print file data based on the task volume of the print file data and the printing efficiency of each printer; 基于每台打印机的所述打印机状态及对应的实际打印时长,判断在所述最大打印时长内是否存在能够独立打印所述打印文件数据的打印机;Based on the printer status of each printer and the corresponding actual printing time, determining whether there is a printer that can independently print the print file data within the maximum printing time; 当判定在所述最大打印时长内不存在能够独立打印所述打印文件数据的打印机时,将所述打印文件数据拆分为多个子打印文件数据,将每个所述子打印文件数据分配至对应的目标打印机。When it is determined that there is no printer capable of independently printing the print file data within the maximum printing time, the print file data is split into a plurality of sub-print file data, and each of the sub-print file data is allocated to a corresponding target printer. 2.根据权利要求1所述的多打印机的自助打印调控方法,其特征在于,所述根据每台打印机的所述配置数据分别获取对应打印机的打印机状态之后,还包括:2. The self-service printing control method for multiple printers according to claim 1, characterized in that after obtaining the printer status of each printer according to the configuration data of each printer, the method further comprises: 当任一台所述打印机的打印机状态为错误状态时,通过边缘计算设备对所述错误状态的故障打印机下发初始化指令,以使所述故障打印机初始化。When the printer status of any of the printers is an error status, an initialization instruction is sent to the faulty printer in the error status through the edge computing device to initialize the faulty printer. 3.根据权利要求1所述的多打印机的自助打印调控方法,其特征在于,所述基于所述打印需求、每台打印机的所述配置数据及打印机状态,为所述打印文件数据分配至少一台目标打印机,包括:3. The self-service printing control method for multiple printers according to claim 1, wherein the step of assigning at least one target printer to the print file data based on the printing demand, the configuration data of each printer, and the printer status comprises: 基于所述打印需求判断所述打印文件数据是否需要彩色打印或照片打印;Determining whether the print file data requires color printing or photo printing based on the printing requirement; 当判定所述打印文件数据需要彩色打印或照片打印时,基于每台打印机的所述配置数据及打印机状态判断彩色打印机是否可用;When it is determined that the print file data requires color printing or photo printing, determining whether a color printer is available based on the configuration data and printer status of each printer; 当判定所述彩色打印机可用时,为所述打印文件数据分配至少一台彩色打印机;When it is determined that the color printer is available, allocating at least one color printer for the print file data; 当判定所述打印文件数据不需要彩色打印或照片打印时,基于每台打印机的所述配置数据及打印机状态判断黑白打印机是否可用;When it is determined that the print file data does not require color printing or photo printing, determining whether a black and white printer is available based on the configuration data and printer status of each printer; 当判定所述黑白打印机可用时,为所述打印文件数据分配至少一台黑白打印机;When it is determined that the black-and-white printer is available, allocating at least one black-and-white printer for the print file data; 当判定所述黑白打印机不可用时,基于每台打印机的所述配置数据及打印机状态判断彩色打印机是否可用;When it is determined that the black and white printer is unavailable, determining whether a color printer is available based on the configuration data and printer status of each printer; 当判定所述彩色打印机可用时,为所述打印文件数据分配至少一台彩色打印机。When it is determined that the color printer is available, at least one color printer is allocated to the print file data. 4.根据权利要求3所述的多打印机的自助打印调控方法,其特征在于,所述通过边缘计算设备将所述打印文件数据及打印需求发送至所述至少一台目标打印机进行打印之后,还包括:4. The self-service printing control method for multiple printers according to claim 3, characterized in that after the edge computing device sends the print file data and printing requirements to the at least one target printer for printing, it also includes: 当监测到至少一台所述黑白打印机打印异常时,基于每台打印机的所述配置数据及打印机状态判断彩色打印机是否可用;When at least one of the black and white printers is detected to be printing abnormally, determining whether a color printer is available based on the configuration data and printer status of each printer; 当判定所述彩色打印机可用时,询问所述用户是否需要切换至彩色打印机继续打印;When it is determined that the color printer is available, asking the user whether to switch to the color printer to continue printing; 当确定需要切换至彩色打印机继续打印时,通过边缘计算设备将打印异常的黑白打印机对应的所述打印文件数据及打印需求发送至所述彩色打印机继续打印;When it is determined that it is necessary to switch to a color printer to continue printing, the print file data and printing requirements corresponding to the abnormal black and white printer are sent to the color printer through the edge computing device to continue printing; 当确定不需要切换至彩色打印机继续打印时,通过边缘计算设备对异常的所述黑白打印机进行检测,并生成打印异常原因提醒消息,将所述打印异常原因提醒消息发送给监控端。When it is determined that there is no need to switch to a color printer to continue printing, the abnormal black and white printer is detected by the edge computing device, and a reminder message of the cause of the printing abnormality is generated and sent to the monitoring end. 5.根据权利要求4所述的多打印机的自助打印调控方法,其特征在于,所述通过边缘计算设备对异常的所述黑白打印机进行检测,并生成打印异常原因提醒消息,包括:5. The self-service printing control method for multiple printers according to claim 4, wherein the detecting the abnormal black-and-white printer by the edge computing device and generating a reminder message of the printing abnormality cause comprises: 调用边缘计算设备获取异常的所述黑白打印机的参数信息,并基于异常值检测算法,对异常的所述黑白打印机的参数信息进行异常值检测,识别出与标准参数信息的差值大于预设值的异常参数信息,基于所述异常参数信息分析异常的所述黑白打印机的打印异常原因;Calling an edge computing device to obtain parameter information of the abnormal black-and-white printer, and performing an outlier detection on the parameter information of the abnormal black-and-white printer based on an outlier detection algorithm, identifying abnormal parameter information whose difference from standard parameter information is greater than a preset value, and analyzing the cause of the printing abnormality of the abnormal black-and-white printer based on the abnormal parameter information; 接收所述边缘计算设备发送的所述打印异常原因,并基于所述打印异常原因生成打印异常原因提醒消息。Receive the printing exception reason sent by the edge computing device, and generate a printing exception reason reminder message based on the printing exception reason. 6.根据权利要求1所述的多打印机的自助打印调控方法,其特征在于,所述将所述打印文件数据拆分为多个子打印文件数据,将每个所述子打印文件数据分配至对应的目标打印机,包括:6. The self-service printing control method for multiple printers according to claim 1, wherein splitting the print file data into a plurality of sub-print file data and allocating each sub-print file data to a corresponding target printer comprises: 基于每台打印机的所述打印机状态分别确定对应打印机的剩余任务量;Determining the remaining task amount of each printer based on the printer status of each printer; 根据每台打印机的所述打印效率及最大打印时长分别计算对应打印机的最大任务量;Calculating the maximum task volume of each printer according to the printing efficiency and maximum printing time of each printer; 分别将每台打印机的最大任务量减去对应的剩余任务量,得到每台打印机的待分配任务量;Subtract the corresponding remaining task amount from the maximum task amount of each printer to obtain the task amount to be assigned to each printer; 分别计算每台打印机的待分配任务量与所述打印文件数据的任务量的比值,得到每台打印机的待分配任务比重;Calculating the ratio of the amount of tasks to be assigned to each printer to the amount of tasks for printing file data, and obtaining the proportion of tasks to be assigned to each printer; 基于所有打印机的所述待分配任务比重将所述打印文件数据拆分为多个子打印文件数据,将每个所述子打印文件数据分配至对应的目标打印机,其中,每台所述目标打印机被分配至的子打印文件数据的任务量与对应的待分配任务比重成正相关。Based on the proportion of tasks to be assigned of all printers, the print file data is split into multiple sub-print file data, and each sub-print file data is assigned to a corresponding target printer, wherein the task amount of the sub-print file data assigned to each target printer is positively correlated with the corresponding proportion of tasks to be assigned. 7.根据权利要求1所述的多打印机的自助打印调控方法,其特征在于,所述确定所述控制设备通过边缘计算设备与多台打印机都连接成功之后,还包括:7. The self-service printing control method for multiple printers according to claim 1, characterized in that after determining that the control device is successfully connected to multiple printers through the edge computing device, it also includes: 当接收到所述边缘计算设备发送的待处理数据时,获取所述控制设备的运行状态;When receiving the data to be processed sent by the edge computing device, obtaining the operating status of the control device; 当确定所述控制设备的运行状态为繁忙状态时,控制所述边缘计算设备选取最优数学模型对所述待处理数据进行分析处理,生成分析处理结果;When it is determined that the operating state of the control device is a busy state, controlling the edge computing device to select an optimal mathematical model to analyze and process the data to be processed, and generating an analysis and processing result; 接收所述边缘计算设备发送的分析处理结果,基于所述分析处理结果制定相应的控制策略。Receive the analysis and processing results sent by the edge computing device, and formulate corresponding control strategies based on the analysis and processing results. 8.根据权利要求7所述的多打印机的自助打印调控方法,其特征在于,所述控制所述边缘计算设备选取最优数学模型对所述待处理数据进行分析处理,生成分析处理结果,包括:8. The self-service printing control method for multiple printers according to claim 7, wherein the step of controlling the edge computing device to select an optimal mathematical model to analyze and process the data to be processed and generate an analysis and processing result comprises: 控制所述边缘计算设备选取多个第一数学模型,并随机生成多组不同的模型参数,所述模型参数的数量大于或等于所述第一数学模型的数量;Controlling the edge computing device to select a plurality of first mathematical models and randomly generate a plurality of different sets of model parameters, where the number of the model parameters is greater than or equal to the number of the first mathematical models; 分别为每个所述第一数学模型随机配置一组不同的模型参数;Randomly configure a set of different model parameters for each of the first mathematical models; 基于预设的均方误差函数分别计算每个所述第一数学模型的第一均方误差值,所述预设的均方误差函数用于评估所述第一数学模型对数据分析的准确性;Calculating a first mean square error value of each first mathematical model based on a preset mean square error function, wherein the preset mean square error function is used to evaluate the accuracy of the first mathematical model in data analysis; 基于每个所述第一数学模型的第一均方误差值,选取所述第一均方误差值小于第一预设阈值的第一数学模型,得到多个第二数学模型;Based on the first mean square error value of each of the first mathematical models, selecting a first mathematical model whose first mean square error value is less than a first preset threshold value to obtain a plurality of second mathematical models; 随机选取两个所述第二数学模型进行模型参数的多次交换,并在每次交换时,将随机选取的两个所述第二数学模型中的至少一个模型参数进行交换,形成多个第三数学模型;randomly selecting two of the second mathematical models and performing multiple exchanges of model parameters, and in each exchange, exchanging at least one model parameter of the two randomly selected second mathematical models to form multiple third mathematical models; 分别随机改变每个所述第三数学模型的至少一个模型参数,形成多个第四数学模型;randomly changing at least one model parameter of each of the third mathematical models to form a plurality of fourth mathematical models; 基于预设的均方误差函数分别计算每个所述第三数学模型、每个所述第四数学模型的第二均方误差值,从多个所述第三数学模型和多个所述第四数学模型中选取所述第二均方误差值最小的数学模型作为最优数学模型;Calculating a second mean square error value for each of the third mathematical models and each of the fourth mathematical models based on a preset mean square error function, and selecting a mathematical model with the smallest second mean square error value from the plurality of the third mathematical models and the plurality of the fourth mathematical models as the optimal mathematical model; 利用所述最优数学模型对所述待处理数据进行分析处理,生成分析处理结果。The optimal mathematical model is used to analyze and process the data to be processed to generate analysis and processing results. 9.一种多打印机的自助打印调控系统,其特征在于,包括多台打印机、边缘计算设备及控制设备,所述控制设备通过所述边缘计算设备与每台打印机进行连接,其中,所述控制设备包括存储器和处理器,所述存储器中存储有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行如权利要求1至8中任一项所述的多打印机的自助打印调控方法的步骤。9. A self-service printing control system for multiple printers, characterized in that it includes multiple printers, edge computing devices and control devices, and the control device is connected to each printer through the edge computing device, wherein the control device includes a memory and a processor, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the self-service printing control method for multiple printers as described in any one of claims 1 to 8.
CN202510017840.7A 2025-01-06 2025-01-06 Self-service printing regulation and control method and system for multiple printers Active CN119759302B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510017840.7A CN119759302B (en) 2025-01-06 2025-01-06 Self-service printing regulation and control method and system for multiple printers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510017840.7A CN119759302B (en) 2025-01-06 2025-01-06 Self-service printing regulation and control method and system for multiple printers

Publications (2)

Publication Number Publication Date
CN119759302A CN119759302A (en) 2025-04-04
CN119759302B true CN119759302B (en) 2025-08-19

Family

ID=95189299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510017840.7A Active CN119759302B (en) 2025-01-06 2025-01-06 Self-service printing regulation and control method and system for multiple printers

Country Status (1)

Country Link
CN (1) CN119759302B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117931106A (en) * 2024-03-20 2024-04-26 珠海芯烨电子科技有限公司 Cloud printer data processing method and related device based on edge computing
CN118377449A (en) * 2024-06-21 2024-07-23 厦门鹿匠科技股份有限公司 Batch parallel printing method based on fault prediction and load balancing

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5870667B2 (en) * 2011-12-12 2016-03-01 株式会社リコー Print management apparatus and print management method
JP6980481B2 (en) * 2017-10-06 2021-12-15 キヤノン株式会社 Information processing methods, print systems and programs
US11275544B2 (en) * 2019-03-26 2022-03-15 Konica Minolta Business Solutions, U.S.A., Inc. Method and system for efficient job scheduling by collecting data from multiple sources
CN111813351B (en) * 2020-05-29 2022-08-26 厦门汉印电子技术有限公司 Dynamic management method and device for printing tasks, main printer and system
CN114879918B (en) * 2022-04-22 2024-11-22 北京博源恒芯科技股份有限公司 Printer management system
US20230359414A1 (en) * 2022-05-05 2023-11-09 International Business Machines Corporation Context-aware printer selection
CN117075828B (en) * 2023-10-13 2024-02-09 广州市大枣信息科技有限公司 Multichannel cloud printing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117931106A (en) * 2024-03-20 2024-04-26 珠海芯烨电子科技有限公司 Cloud printer data processing method and related device based on edge computing
CN118377449A (en) * 2024-06-21 2024-07-23 厦门鹿匠科技股份有限公司 Batch parallel printing method based on fault prediction and load balancing

Also Published As

Publication number Publication date
CN119759302A (en) 2025-04-04

Similar Documents

Publication Publication Date Title
JP4819837B2 (en) Improved method and system for prioritized network printer inspection or maintenance
CN111818159B (en) Management method, device, equipment and storage medium of data processing node
US7865089B2 (en) Soft failure detection in a network of devices
US20210006505A1 (en) A bursty traffic allocation method, device and proxy server
JP5192887B2 (en) Method and system for detecting minor faults in network printers
US20100145647A1 (en) System and method for improving failure detection using collective intelligence with end-user feedback
US9176686B2 (en) Management system, management server, image forming apparatus, and management method
JP5527503B2 (en) Monitoring device, information processing system, and program
US8051218B2 (en) Methods and systems for outlying peripheral device management
US8589534B2 (en) Device information management apparatus, device information management method, and storage medium which operates during a failure
EP2159696B1 (en) Visualization of user interactions in a system of networked devices
US10645185B2 (en) Processing management data among web server, application server, and storage system
US20180267752A1 (en) Printing device and information collection and transmission method
CN111130920B (en) Hardware information acquisition method, device, server and storage medium
CN119759302B (en) Self-service printing regulation and control method and system for multiple printers
JP2009123147A (en) Print control system, print control apparatus, print control method, print control program, and recording medium
US8977142B2 (en) Malfunction inferring apparatus, malfunction inferring method, and non-transitory computer readable medium
US7162516B2 (en) Information processing apparatus, information distribution apparatus, information processing system, network monitoring apparatus and network monitoring program
US8671297B2 (en) Returning from power saving mode upon receiving a packet other than switch inhibiting packets classified as having interval shorter than switch waiting time to power saving mode
US20170034017A1 (en) Information processing apparatus and information processing system
JP2007050651A (en) Printing system
JP2020014105A (en) Information processing device and program
CN118550487B (en) Printer redirection method and system for cloud desktop
CN113645099B (en) High availability monitoring method, device, equipment and storage medium
US20150277813A1 (en) Information communication system, information processing device and information collecting method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant