Printer control method and system based on deep learning

Through deep learning technology, processing printing task data, intelligently merging and sorting printing tasks, the problem of low efficiency in printer task control in traditional methods is solved, and a more efficient printing process is achieved.

CN118981291AActive Publication Date: 2024-11-19HUNAN ZHIJIAN COPIER REMANUFACTURING CO

Patent Information

Application Number
CN202411466227.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2024-11-19
Estimated Expiration
2044-10-21

AI Technical Summary

Technical Problem

Traditional printer task control methods have shortcomings in file processing and priority sorting, which cannot effectively improve printing efficiency, especially when multiple files of different parameter types need to be printed together, resulting in frequent printer switching and user waiting time increasing.

Method used

Using deep learning-based printer task control method, we collect and preprocess print task data, calculate file parameter feature vectors, build a task merging model, intelligently judge file merging and prioritization, reduce file switching time and improve printing efficiency.

Benefits of technology

Taking into account factors such as user priority, number of file pages and file size, intelligently merge tasks, reduce printer switching time, improve printing efficiency, ensure priority processing of important and emergency tasks, and improve overall system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118981291A_ABST
    Figure CN118981291A_ABST
Patent Text Reader

Abstract

The invention discloses a printer control method and system based on deep learning, and the method comprises the steps: collecting and preprocessing printing task data, and obtaining normalized file size data, file page number data, task submission time data and one-hot coded data of a file type, a submission user ID and a user priority; calculating file parameter feature vectors according to the normalized file size data, file page number data, task submission time data, file types, submission user IDs and one-hot coded data of user priorities; constructing a task merging model, performing task merging according to the file parameter feature vector, and outputting a merged file parameter feature vector; calculating the priority of the merged file according to the parameter feature vector of the merged file; and executing a printing task according to the combined file priority, and monitoring the printing process. The problems that a traditional shared printer is unreasonable in priority ranking and low in printing efficiency can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of printer technology, and in particular to a printer control method and system based on deep learning. Background Art

[0002] Shared printer task control involves scheduling, managing and optimizing the printing tasks of all parties to ensure the efficiency and smoothness of the printing process. Traditional printer task control methods mainly include simple task queuing and task priority sorting. These methods can maintain printing order to a certain extent, but still expose some shortcomings in actual applications.

[0003] First, the traditional method is relatively simple in file processing and usually does not conduct further in-depth analysis of the parameter types of the print files. Therefore, when multiple files of different parameter types need to be printed together, the printer needs to frequently switch between different files, and each switch will consume a certain amount of time, which is not conducive to further improving printing efficiency. Secondly, the traditional method is not smart enough in sorting the priorities of print tasks. They often only consider the submission time of the task, and ignore other important factors that may affect printing efficiency, such as user priority and task type, which can easily lead to an unreasonable execution order of print tasks, which in turn makes the user wait longer and reduces printing efficiency. Summary of the invention

[0004] In view of this, the present invention provides a printer task control method and system based on deep learning, aiming to solve the problems of unreasonable priority sorting and insufficient printing efficiency of traditional shared printers.

[0005] A printer task control method based on deep learning comprises the following steps: S1: Collect and preprocess the printing task data to obtain normalized file size data, file page number data, task submission time data, and unique hot encoding data of file type, submitting user ID, and user priority; S2: Calculate the file parameter feature vector based on the normalized file size data, file page number data, task submission time data, and the one-hot encoding data of file type, submitting user ID, and user priority; S3: Build a task merging model, merge tasks according to the file parameter feature vector, and output the merged file parameter feature vector; S4: Calculate the priority of the merged file according to the merged file parameter feature vector; S5: Execute the printing task according to the priority of the merged files and monitor the printing process.

[0006] Furthermore, the S1 step includes: S11: Collecting print task data, wherein the print task data includes file type, file size, number of file pages, task submission time, submitting user ID and user priority; S12: For data with missing values ​​in the print task data, directly delete the entire data; for repeated print task data, sort them by time and keep the most recent print task data; S13: normalizing the file size data, the file page number data, and the task submission time data using a Z-score method to obtain normalized file size data, file page number data, and task submission time data; S14: Perform one-hot encoding processing on the file type data, the submitting user ID data and the user priority data to obtain one-hot encoded data.

[0007] Furthermore, the S2 step includes: First, the normalized task submission time data is enhanced using a cubic polynomial transformation, and the numerical feature vector is calculated based on the normalized file size data and file page number data. The encoding feature vector is calculated based on the one-hot encoding data. Secondly, construct the encoding gate and the numerical gate, update the numerical feature vector and the encoding feature vector, and calculate the original parameter feature vector of the file; Then, the task priority is calculated based on the one-hot encoded data of user priority, file page number, and file size; Finally, according to the task priority, the original parameter feature vector of the file is updated, and the file type feature is enhanced to obtain the file parameter feature vector.

[0008] Furthermore, the S2 step includes: S21: Use cubic polynomial transformation to enhance the normalized task submission time data, and combine the normalized file size data and file page number data to calculate the numerical feature vector. The calculation formula is as follows: ; ; In the formula, is the cubic polynomial transformation sequence of the normalized task submission time data, Submit time data for normalized tasks, is the square of the normalized task submission time data, The cube of the normalized task submission time data; is a numerical feature vector, For multi-layer perceptron operation, For splicing operation, is the normalized file size data, is the normalized file page number data; According to the one-hot encoded data, the encoded feature vector is calculated using the following formula: ; In the formula, is the encoded feature vector, is the one-hot encoded data of the file type, To submit the one-hot encoded data of the user ID, One-hot encoding data of user priority; S22: Construct the encoding gate and the numerical gate, update the numerical feature vector and the encoding feature vector, and calculate the original parameter feature vector of the file. The calculation formula is as follows: ; ; ; ; ; In the formula, is the numerical gate, is the sigmoid function, is the numerical weight, is the numerical bias vector, For the coding gate, is the encoding weight, is the encoding bias vector, is the updated numerical feature vector, is an element-by-element multiplication operation, is the updated encoded feature vector, is the original parameter feature vector of the file; S23: Calculate the task priority based on the one-hot encoded data of user priority, file page number and file size. The calculation formula is as follows: ; In the formula, Prioritize the tasks; S24: According to the task priority, the original parameter feature vector of the file is updated, and the file type feature is enhanced to obtain the file parameter feature vector. The calculation formula is as follows: ; ; In the formula, is the original parameter feature vector of the updated file, is the file parameter feature vector; Furthermore, the S3 step includes: Firstly, a neural network-based encoder is used to build a task merging model, and the similarity between files is calculated according to the file parameter feature vectors; Secondly, the similarity between files is adjusted according to the task priority, and whether to merge tasks is determined based on the similarity between the adjusted files; Finally, for tasks that need to be merged, the merged file parameter feature vector is calculated and output.

[0009] Furthermore, the S3 step includes: S31: A task merging model is constructed using a neural network-based encoder. The similarity between files is calculated based on the file parameter feature vector. The calculation formula is as follows: ; ; In the formula, is the file parameter feature vector of the i-th file, i is the first file index, is the representation vector of the file parameter feature vector of the i-th file in the low-dimensional embedding space. Similarly, is the representation vector of the file parameter feature vector of the jth file in the low-dimensional embedding space, j is the second file index, For encoder operation, are encoder parameters, and the encoder operation adopts a multilayer perceptron or a Transformer block as a neural network model, is the similarity between the i-th file and the j-th file, is the vector norm; S32: Adjust the similarity between files according to the task priority. The adjustment formula is as follows: ; In the formula, is the adjusted similarity between the i-th file and the j-th file, is the task priority influence coefficient, is the task priority of the i-th file, is the task priority of the jth file; Decide whether to merge tasks based on the similarity between the adjusted files: when When , no task merging operation is performed; when When , merge the tasks of the i-th and j-th files; S33: For the tasks that need to be merged, calculate and output the merged file parameter feature vector, and the calculation formula is as follows: ; In the formula, is the parameter feature vector of the merged file.

[0010] Further, the S4 step includes: S41: Separate the features of the number of file pages and the task submission time according to the merged file parameter feature vector. The separation formula is as follows: ; In the formula, is the separated file page number feature, Submit time characteristics for the separated tasks, For DenseNet network operation; S42: Calculate the priority of the merged file based on the separated file page number feature and task submission time feature, combined with the merged file parameter feature vector. The calculation formula is as follows: ; In the formula, The priority of the merged file.

[0011] Furthermore, the step S5 includes: S51: sorting the printing tasks according to the priority of the merged files; S52: Allocate the print tasks to the shared printer in order according to the print task sorting result, and execute the print tasks; S53: After each printing task is completed, the printing duration information is recorded.

[0012] The present invention also discloses a printer control system based on deep learning, comprising: Data preprocessing unit: collects and preprocesses printing task data to obtain normalized file size data, file page number data, task submission time data, and unique hot encoding data of file type, submitting user ID, and user priority; File parameter feature vector calculation unit: calculates the file parameter feature vector according to the normalized file size data, file page number data, task submission time data, and the one-hot encoding data of the file type, submitting user ID, and user priority; Task merging unit: builds a task merging model, merges tasks according to the file parameter feature vector, and outputs the merged file parameter feature vector; Priority sorting unit: calculates the priority of the merged file according to the parameter feature vector of the merged file; File printing unit: executes printing tasks according to the priority of the merged files and monitors the printing process; The above-mentioned printer control method based on deep learning is implemented through this system.

[0013] Compared with the prior art, the advantages of the present invention are: (1) The present invention comprehensively considers multiple dimensions such as user priority, number of file pages and file size, and uses a neural network model to calculate task priority, which helps the system prioritize important and urgent printing tasks. At the same time, the present invention constructs a task merging model to intelligently determine which files should be merged based on file parameter feature vectors and task priorities, thereby reducing file switching time and improving printing efficiency.

[0014] (2) The present invention generates a coding gate and a numerical gate through two nonlinear transformations. The coding gate contains numerical features, and the numerical gate contains coding features. After fusing each other's feature information, the original numerical feature vector and coding feature vector are updated, thereby generating a high-quality file original parameter feature vector. In subsequent steps, with the help of the file original parameter feature vector, the task priority can be calculated more reasonably, and it can be determined which files should be merged, thereby improving printing efficiency. (3) The present invention proposes intelligent task merging based on deep learning, combining file type and task priority in an autoencoder clustering manner, adaptively calculating the similarity of each file, merging tasks for files with higher similarity, and calculating the parameter feature vector of the merged files; files with lower similarity are not merged, and the original file parameter feature vector is retained, thereby reducing the switching time of printing tasks and improving the efficiency of shared printing. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic flow chart of a printer control method based on deep learning provided by the present invention; Figure 2 A schematic diagram of a process for obtaining a feature vector of original file parameters in the method of the present invention; Figure 3 The figure is a flowchart of task merging in the method of the present invention. DETAILED DESCRIPTION

[0016] The present invention is further described below in conjunction with the accompanying drawings, but the present invention is not limited in any way. Any changes or substitutions made based on the teachings of the present invention belong to the protection scope of the present invention.

[0017] Embodiment 1: See also Figure 1 , a printer control method based on deep learning, comprising the following steps: S1: Collect and preprocess the printing task data to obtain normalized file size data, file page number data, task submission time data, and unique hot encoding data of file type, submitting user ID, and user priority; specifically, S11: Collecting print task data, wherein the print task data includes file type, file size, number of file pages, task submission time, submitting user ID and user priority; S12: For data with missing values ​​in the print task data, directly delete the entire data; for repeated print task data, sort them by time, retain the most recent print task data and delete other repeated print task data; S13: normalizing the file size data, the file page number data, and the task submission time data using a Z-score method to obtain normalized file size data, file page number data, and task submission time data; S14: Perform one-hot encoding processing on the file type data, the submitted user ID data and the user priority data to obtain one-hot encoded data, wherein the one-hot encoded data includes the one-hot encoded data of the file type, the one-hot encoded data of the submitted user ID and the one-hot encoded data of the user priority.

[0018] For example, if the system supports three file types: PDF, DOCX, and PPTX, the one-hot encoding of the file type can be expressed as: PDF: [1, 0, 0] DOCX: [0, 1, 0] PPTX: [0, 0, 1] There are three users in the system: User001, User002, and User003. The unique hot encoding of the submitted user ID can be expressed as: User001: [1, 0, 0] User002: [0, 1, 0] User003: [0, 0, 1] The user priorities in the system are divided into three levels: high, medium, and low. The unique hot encoding of the user priority can be expressed as: High: [1, 0, 0] Medium: [0, 1, 0] Low: [0, 0, 1] S2: See also Figure 2 , calculate the file parameter feature vector based on the normalized file size data, file page number data, task submission time data, and the one-hot encoding data of file type, submitting user ID, and user priority; S21: Use cubic polynomial transformation to enhance the normalized task submission time data, and combine the normalized file size data and file page number data to calculate the numerical feature vector. The calculation formula is as follows: ; ; In the formula, is the cubic polynomial transformation sequence of the normalized task submission time data, Submit time data for normalized tasks, is the square of the normalized task submission time data, The cube of the normalized task submission time data; is a numerical feature vector, For multi-layer perceptron operation, For splicing operation, is the normalized file size data, is the normalized file page number data; The present invention performs cubic polynomial transformation on the normalized task submission time to enhance the task submission time data in a nonlinear manner, and then splices and fuses the enhanced cubic polynomial transformation sequence with the normalized file size data and file page number data to obtain a numerical feature vector; compared with the traditional method of directly splicing and fusing, the idea of ​​the present invention can improve the model's attention to the task submission time, so that the numerical feature vector has a stronger expression ability; According to the one-hot encoded data, the encoded feature vector is calculated using the following formula: ; In the formula, is the encoded feature vector, is the one-hot encoded data of the file type, To submit the one-hot encoded data of the user ID, One-hot encoding data of user priority; S22: Construct the encoding gate and the numerical gate, update the numerical feature vector and the encoding feature vector, and calculate the original parameter feature vector of the file. The calculation formula is as follows: ; ; ; ; ; In the formula, is the numerical gate, is the sigmoid function, is the numerical weight, is the numerical bias vector, For the coding gate, is the encoding weight, is the encoding bias vector, is the updated numerical feature vector, is an element-by-element multiplication operation, is the updated encoded feature vector, is the original parameter feature vector of the file; In a printer task control system, the processing of file features is crucial for subsequent task merging and priority sorting. Traditional methods are difficult to fully capture the complex relationship and dynamic changes between file features, and lack the ability to dynamically process the complex relationship between file features. Each feature is relatively independent and information is not interoperable, which in turn affects the overall representation effect of the feature vector. Therefore, the present invention introduces a gating mechanism to dynamically adjust the importance of numerical features and coding features. The gating mechanism generates a coding gate and a numerical gate through two nonlinear transformations. The coding gate contains numerical features, and the numerical gate contains coding features. After fusing each other's feature information, the original numerical feature vector and the coding feature vector are updated. Finally, the two updated feature vectors are spliced ​​to obtain the original parameter feature vector of the file, thereby realizing dynamic adjustment and optimization of the numerical features and coding features. The original parameter feature vector of the file constructed in this way helps the system understand the overall characteristics of the file due to better information interaction. In subsequent steps, it can also more reasonably calculate the task priority and determine which files should be merged, thereby improving printing efficiency. S23: Calculate the task priority based on the one-hot encoded data of user priority, file page number and file size. The calculation formula is as follows: ; In the formula, Prioritize the tasks; Since most traditional methods determine task priority based on a single feature (such as user priority, task submission time, etc.), ignoring the impact of file characteristics (such as file page number and file size) on priority, the present invention comprehensively considers user priority, file page number and file size to calculate task priority more comprehensively; S24: According to the task priority, the original parameter feature vector of the file is updated, and the file type feature is enhanced to obtain the file parameter feature vector. The calculation formula is as follows: ; ; In the formula, is the original parameter feature vector of the updated file, is the file parameter feature vector; The present invention performs feature enhancement through task priority and file type to improve the representation ability of file parameter feature vectors; considering that the file type feature is very important in the subsequent task merging step and can reduce the switching time, the present invention enhances the file type in the data dimension and feature dimension through direct splicing and multi-layer perceptron fusion, which is conducive to the model to pay better attention to the file type and pave the way for subsequent task merging.

[0019] S3: See also Figure 3 , build a task merging model, merge tasks according to the file parameter feature vector, and output the merged file parameter feature vector; S31: A task merging model is constructed using a neural network-based encoder. The similarity between files is calculated based on the file parameter feature vector. The calculation formula is as follows: ; ; In the formula, is the file parameter feature vector of the i-th file, i is the first file index, is the representation vector of the file parameter feature vector of the i-th file in the low-dimensional embedding space. Similarly, is the representation vector of the file parameter feature vector of the jth file in the low-dimensional embedding space, j is the second file index, For encoder operation, are encoder parameters, and the encoder operation adopts a multilayer perceptron or a Transformer block as a neural network model, is the similarity between the i-th file and the j-th file, is the vector norm; ; In the formula, is the adjusted similarity between the i-th file and the j-th file, is the task priority influence coefficient, They are the task priority of the i-th file and the task priority of the j-th file respectively; Decide whether to merge tasks based on the similarity between the adjusted files: when When , no task merging operation is performed; when When , merge the tasks of the i-th and j-th files; In addition, for two files with a small number of pages, when it is detected that they are highly similar but have a large difference in task priorities, correcting the task priorities may result in , which results in tasks not being merged and longer file switching time; Therefore, when When the similarity is not adjusted directly based on the task priority, the threshold of the number of file pages is calculated first. The calculation formula is as follows: ; ; ; In the formula, is the average number of pages of all files to be printed within the preset time. The number of all files to be printed within the preset time. is the count index, is the number of pages of the k-th file, It is the standard deviation of the number of pages of all documents to be printed within the preset time. The specific duration of the preset time can be set according to actual work needs, such as 0.5 hours, 1 hour, etc. is the file page number threshold, is the file page number threshold adjustment factor; When the number of pages of both files is less than When , merge the tasks directly; When at least one of the two files has a page count greater than or equal to When , no task merging is performed; S33: For the tasks that need to be merged, calculate and output the merged file parameter feature vector, and the calculation formula is as follows: ; In the formula, is the parameter feature vector of the merged file; Since most traditional methods merge tasks based on a single rule (such as file size, file page number, etc.), ignoring the more complex similarities between files and the influence of task priority, the present invention first constructs a task merging model and calculates the similarity between files based on the file parameter feature vector, then introduces the influence of task priority to adjust the similarity, and finally determines whether to merge tasks based on the adjusted similarity, and calculates the merged file parameter feature vector, so as to more accurately determine which files should be merged, reduce unnecessary printing switching time, and optimize the printing process; S4: Calculate the priority of the merged file according to the merged file parameter feature vector; S41: Based on the merged file parameter feature vector, feature separation of the number of file pages and task submission time is performed. The calculation method is: ; in, They are the number of separated file pages and the task submission time characteristics. For DenseNet network operation; As a deep convolutional neural network, DenseNet significantly enhances feature reuse and gradient flow by introducing dense connections, so that each layer in the network can directly receive the output of all previous layers as input, which helps to capture richer feature information. Feature separation can clearly distinguish different aspects of the merged file parameter feature vector (such as the number of file pages, task submission time, etc.), so that the model can handle different input data more flexibly. Even when faced with new or unseen file types or task situations, the model can accurately prioritize according to the separated features, enhancing the generalization and adaptability of the model. S42: Calculate the priority of the merged file based on the separated file page number feature and task submission time feature, combined with the merged file parameter feature vector, and the calculation method is: ; In the formula, The priority of the merged file.

[0020] S5: Execute the printing task according to the priority of the merged files and monitor the printing process; S51: sorting the printing tasks according to the priority of the merged files; S52: Allocate the print tasks to the shared printer in order according to the print task sorting result, and execute the print tasks; S53: After each printing task is completed, the printing duration information is recorded.

[0021] Embodiment 2:

[0022] A printer control system based on deep learning, comprising: Data preprocessing unit: collects and preprocesses printing task data to obtain normalized file size data, file page number data, task submission time data, and unique hot encoding data of file type, submitting user ID, and user priority; File parameter feature vector calculation unit: calculates the file parameter feature vector according to the normalized file size data, file page number data, task submission time data, and the one-hot encoding data of the file type, submitting user ID, and user priority; Task merging unit: builds a task merging model, merges tasks according to the file parameter feature vector, and outputs the merged file parameter feature vector; Priority sorting unit: calculates the priority of the merged file according to the parameter feature vector of the merged file; File printing unit: executes printing tasks according to the priority of the merged files and monitors the printing process; The method in Example 1 is implemented by the deep learning-based printer control system in this embodiment.

[0023] It should be noted that the serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. And the terms "including", "comprising" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "including a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0024] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in multiple embodiments of the present invention.

[0025] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A printer control method based on deep learning, characterized in that: The following steps are involved: S1: Collect and preprocess the printing task data to obtain normalized file size data, file page number data, task submission time data, and unique hot encoding data of file type, submitting user ID, and user priority; S2: Calculate the file parameter feature vector based on the normalized file size data, file page number data, task submission time data, and the one-hot encoding data of file type, submitting user ID, and user priority; S3: Build a task merging model, merge tasks according to the file parameter feature vector, and output the merged file parameter feature vector; S4: Calculate the priority of the merged file according to the merged file parameter feature vector; S5: Execute the printing task according to the priority of the merged files and monitor the printing process.

2. The printer control method based on deep learning according to claim 1, characterized in that: The S1 step includes: S11: Collecting print task data, wherein the print task data includes file type, file size, number of file pages, task submission time, submitting user ID and user priority; S12: For data with missing values ​​in the print task data, directly delete the entire data; for repeated print task data, sort them by time and keep the most recent print task data; S13: normalizing the file size data, the file page number data, and the task submission time data using a Z-score method to obtain normalized file size data, file page number data, and task submission time data; S14: Perform one-hot encoding processing on the file type data, the submitting user ID data and the user priority data to obtain one-hot encoded data.

3. The printer control method based on deep learning according to claim 1, characterized in that: The S2 step includes: First, the normalized task submission time data is enhanced using a cubic polynomial transformation, and the numerical feature vector is calculated based on the normalized file size data and file page number data. The encoding feature vector is calculated based on the one-hot encoding data. Secondly, construct the encoding gate and the numerical gate, update the numerical feature vector and the encoding feature vector, and calculate the original parameter feature vector of the file; Then, the task priority is calculated based on the one-hot encoded data of user priority, file page number, and file size; Finally, according to the task priority, the original parameter feature vector of the file is updated, and the file type feature is enhanced to obtain the file parameter feature vector.

4. The printer control method based on deep learning according to claim 3, characterized in that: The S2 step includes: S21: Use cubic polynomial transformation to enhance the normalized task submission time data, and combine the normalized file size data and file page number data to calculate the numerical feature vector. The calculation formula is as follows: ; ; In the formula, is the cubic polynomial transformation sequence of the normalized task submission time data, Submit time data for normalized tasks, is the square of the normalized task submission time data, The cube of the normalized task submission time data; is a numerical feature vector, For multi-layer perceptron operation, For splicing operation, is the normalized file size data, is the normalized file page number data; According to the one-hot encoded data, the encoded feature vector is calculated using the following formula: ; In the formula, is the encoded feature vector, is the one-hot encoded data of the file type, To submit the one-hot encoded data of the user ID, One-hot encoding data of user priority; S22: Construct the encoding gate and the numerical gate, update the numerical feature vector and the encoding feature vector, and calculate the original parameter feature vector of the file. The calculation formula is as follows: ; ; ; ; ; In the formula, is the numerical gate, is the sigmoid function, is the numerical weight, is the numerical bias vector, For the coded gate, is the encoding weight, is the encoding bias vector, is the updated numerical feature vector, is an element-by-element multiplication operation, is the updated encoded feature vector, is the original parameter feature vector of the file; S23: Calculate the task priority based on the one-hot encoded data of user priority, file page number and file size. The calculation formula is as follows: ; In the formula, Prioritize the tasks; S24: According to the task priority, the original parameter feature vector of the file is updated, and the file type feature is enhanced to obtain the file parameter feature vector. The calculation formula is as follows: ; ; In the formula, is the original parameter feature vector of the updated file, is the file parameter feature vector.

5. The printer control method based on deep learning according to claim 4, characterized in that: The S3 step includes: Firstly, a neural network-based encoder is used to build a task merging model, and the similarity between files is calculated according to the file parameter feature vectors; Secondly, the similarity between files is adjusted according to the task priority, and whether to merge tasks is determined based on the similarity between the adjusted files; Finally, for tasks that need to be merged, the merged file parameter feature vector is calculated and output.

6. The printer control method based on deep learning according to claim 5, characterized in that: The S3 step includes: S31: A task merging model is constructed using a neural network-based encoder. The similarity between files is calculated based on the file parameter feature vector. The calculation formula is as follows: ; ; In the formula, is the file parameter feature vector of the i-th file, i is the first file index, is the representation vector of the file parameter feature vector of the i-th file in the low-dimensional embedding space. Similarly, is the representation vector of the file parameter feature vector of the jth file in the low-dimensional embedding space, j is the second file index, For encoder operation, are encoder parameters, and the encoder operation adopts a multilayer perceptron or a Transformer block as a neural network model, is the similarity between the i-th file and the j-th file, is the vector norm; S32: Adjust the similarity between files according to the task priority. The adjustment formula is as follows: ; In the formula, is the adjusted similarity between the i-th file and the j-th file, is the task priority influence coefficient, is the task priority of the i-th file, is the task priority of the jth file; Decide whether to merge tasks based on the similarity between the adjusted files: when When , no task merging operation is performed; when When , merge the tasks of the i-th and j-th files; S33: For the tasks that need to be merged, calculate and output the merged file parameter feature vector, and the calculation formula is as follows: ; In the formula, is the parameter feature vector of the merged file.

7. The printer control method based on deep learning according to claim 6, characterized in that: The S4 step includes: S41: Separate the features of the number of file pages and the task submission time according to the merged file parameter feature vector. The separation formula is as follows: ; In the formula, is the separated file page number feature, Submit time characteristics for the separated tasks, For DenseNet network operation; S42: Calculate the priority of the merged file based on the separated file page number feature and task submission time feature, combined with the merged file parameter feature vector. The calculation formula is as follows: ; In the formula, The priority of the merged file.

8. The printer control method based on deep learning according to any one of claims 1 to 7, characterized in that: The S5 step includes: S51: sorting the printing tasks according to the priority of the merged files; S52: Allocate the print tasks to the shared printer in order according to the print task sorting result, and execute the print tasks; S53: After each printing task is completed, the printing duration information is recorded.

9. A printer control system based on deep learning, characterized in that: include: Data preprocessing unit: collects and preprocesses printing task data to obtain normalized file size data, file page number data, task submission time data, and unique hot encoding data of file type, submitting user ID, and user priority; File parameter feature vector calculation unit: calculates the file parameter feature vector according to the normalized file size data, file page number data, task submission time data, and the one-hot encoding data of the file type, submitting user ID, and user priority; Task merging unit: builds a task merging model, merges tasks according to the file parameter feature vector, and outputs the merged file parameter feature vector; Priority sorting unit: calculates the priority of the merged file according to the parameter feature vector of the merged file; File printing unit: executes printing tasks according to the priority of the merged files and monitors the printing process; To implement the printer control method based on deep learning as described in any one of claims 1-8.

Citation Information

Patent Citations

  • File printing method and computer program product

    CN105138295A

  • Printing method, printing equipment and computer readable storage medium

    CN115934010A

  • Method for creating complex layouts with variable data for multiple high speed printing systems

    EP0837401A2

  • Information processor, information processing method, printing system, job processing method, storage medium, and program

    JP2006053795A

  • Merging print data and metadata for a print job processed in a print workflow

    US20170090838A1

Cited By

  • Printing method and equipment of intelligent self-adaptive dot matrix paper, medium and program product

    CN119668531A

  • Laser printer control task management method and system based on deep learning

    CN122387398A