A printing management system and method based on barcode recognition

Through intelligent algorithms based on barcode recognition and Internet of Things technology, the problems of low efficiency and low resource utilization of traditional printing management systems are solved, efficient and accurate printing task management and real-time monitoring are achieved, and data security and user experience are enhanced.

CN118897661BActive Publication Date: 2024-12-13YOUR E DOCUMENT TRANSFORMATION PARTNER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411390681.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2024-12-13
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

Traditional printing management systems are inefficient and resource utilization are not high, and cannot intelligently schedule and real-time monitoring, resulting in low efficiency in printing tasks, waste of resources and difficulty in handling faults.

Method used

Using intelligent algorithms based on barcode recognition and Internet of Things technology, barcodes with encryption functions are generated, and printing task information is automatically recognized and imported through Bluetooth wireless barcode guns. The optimization algorithm is used to intelligently schedule printing tasks, and the printing process is monitored in real time through the Internet of Things to automatically generate. Exception alerts and print reports, stored on the blockchain.

Benefits of technology

It realizes efficient and accurate printing task management, improves resource utilization and real-time monitoring capabilities of printing process, enhances data security and user experience, and ensures the smooth completion of printing tasks and data immutability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897661B_ABST
    Figure CN118897661B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of printing management technology, and in particular to a printing management system and method based on barcode recognition. The method comprises the following steps: using an intelligent algorithm to generate a barcode with encryption function and dynamic information, automatically identifying the barcode through a Bluetooth wireless barcode gun and importing printing task information; according to the barcode verification result and the urgency of the printing task, using an optimization algorithm to intelligently schedule the printing task, and automatically assign the optimal printing path and time; using the Internet of Things technology to monitor the printing process in real time, and automatically generate abnormal alarms to feedback to relevant personnel; after printing is completed, automatically collect printing logs and barcode information, perform intelligent data analysis, generate printing reports, and store the printing reports on the blockchain. The present invention realizes efficient management and intelligent scheduling of printing tasks, enhances data security and real-time monitoring capabilities of the printing process, and improves the comprehensive performance and user experience of the printing management system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of printing management, and in particular to a printing management system and method based on barcode recognition. Background Art

[0002] In modern office environments and industrial production, print management systems have become an indispensable part of daily workflows. However, with the increase in printing demand, traditional print management methods face many challenges, such as uneven distribution of printing tasks, waste of resources, and insufficient document security. Especially when a large number of documents and multiple printing needs need to be processed, the efficiency and management capabilities of traditional print management systems are particularly insufficient. At present, there are still the following problems: the existing technology relies on manual operation, the task entry process is cumbersome and error-prone, which affects the accuracy and timeliness of printing tasks and cannot meet the needs of efficient identification and rapid processing; the existing print management system is usually unable to perform intelligent scheduling according to the urgency of the task and the status of the equipment, and lacks the support of optimization algorithms, resulting in low processing efficiency of printing tasks and low resource utilization; the existing technology lacks real-time monitoring means, and cannot detect and handle abnormal situations in the printing process in a timely manner, which easily leads to printing failures that cannot be solved in time, affecting printing quality and efficiency. Summary of the invention

[0003] To solve the above problems, the present invention provides a printing management system and method based on barcode recognition, which solves the problem of how to achieve efficient and accurate printing task management and optimized scheduling through intelligent algorithms and real-time monitoring means, realizes efficient management and intelligent scheduling of printing tasks, enhances data security and real-time monitoring capabilities of the printing process, and improves the comprehensive performance and user experience of the printing management system.

[0004] To achieve the above object, the technical solution adopted by the present invention is:

[0005] On the one hand, a printing management method based on barcode recognition includes the following steps:

[0006] S1: Generate a barcode with encryption function and dynamic information using an intelligent algorithm; the barcode includes document ID, printer type, file name, number of copies, paper type, expiration time and priority;

[0007] S2: Automatically identify barcodes and import printing task information through Bluetooth wireless barcode gun;

[0008] S3: Based on the barcode verification results and the urgency of the printing task, the optimization algorithm is used to intelligently schedule the printing task and automatically allocate the optimal printing path and time;

[0009] S4: Monitor the printing process in real time through the Internet of Things technology, and automatically generate abnormal alarms and feedback to relevant personnel; the printing process includes printing status, equipment health status and progress information;

[0010] S5: After printing is completed, the printing log and barcode information are automatically collected, intelligent data analysis is performed, a printing report is generated, and the printing report is stored on the blockchain.

[0011] Furthermore, the step S1 includes the following steps:

[0012] S11: Obtaining basic information of the document to be printed through natural language processing technology;

[0013] S12: Encrypt the basic information using an elliptic curve encryption algorithm to generate an encrypted string;

[0014] S13: Dynamically generate a barcode containing an encrypted string based on a generative adversarial network algorithm;

[0015] S14: compressing the barcode information using discrete cosine transform;

[0016] S15: Attach the encrypted and dynamically processed barcode to the document to be printed.

[0017] Furthermore, the step S13 includes the following steps:

[0018] A barcode generation model is trained using a generative adversarial network, wherein the generative adversarial network is composed of a generator and a discriminator, wherein the generator is used to generate a barcode image, and the discriminator is used to evaluate the authenticity of the generated barcode image;

[0019] The encrypted basic information is encoded as an input vector of a generator, and the generator generates a barcode image with encryption function and dynamic information according to the input vector;

[0020] The discriminator evaluates the authenticity of the generated barcode image and feeds it back to the generator for optimization;

[0021] The final barcode is generated through continuous adversarial training of the generator and the discriminator.

[0022] Furthermore, the formula of the discrete cosine change is as follows:

[0023] ,

[0024] in, Frequency domain representation of barcode information; Indicates the value of the barcode information at the nth position; N indicates the total length of the barcode information; n indicates the sample index of the barcode information; k indicates the index of the discrete cosine variation coefficient, ranging from 0 to N-1; Represents the basis function of discrete cosine transform, which is used to calculate the representation of barcode information in the frequency domain.

[0025] Furthermore, the Bluetooth wireless barcode gun includes a scanning module, a processor module, a power management module and a user interface module which are communicatively connected in sequence.

[0026] Furthermore, the step S3 includes the following steps:

[0027] S31: parsing the printing task information contained in the barcode, and generating the urgency and priority of the printing task;

[0028] S32: Based on the parsed print task information, the status and workload of all currently available printing devices are evaluated through an optimization algorithm, including device health status, remaining paper, ink level, and current task queue length;

[0029] S33: Based on the urgency and priority of the printing task, a dynamic programming algorithm is used to generate an optimal printing path and schedule, and the printing task is allocated to a corresponding printing device.

[0030] Furthermore, the formula of the dynamic programming algorithm is as follows:

[0031] ,

[0032] in, represents the optimal value function in state x at time t, i.e. the optimal printing path; represents the instantaneous cost under state x and control u, including printing time, resource consumption, and device load; Indicates the next state after control u from state x; It represents the optimal value function at the next time point t+1 and state f(x,u), which is used to recursively calculate the optimality of the current decision; t represents the decision time point; x represents the current state of the system, including detailed status information of all printing devices; u represents the decision choice under the current state x.

[0033] Furthermore, the Internet of Things technology includes sensor networks, cloud computing technology, Bluetooth, wireless communication technology and edge computing technology.

[0034] Furthermore, the step S5 includes the following steps:

[0035] S51: Use IoT technology and blockchain technology to collect printing logs and barcode information in real time;

[0036] S52: classifying and arranging the collected printing logs and barcode information, including printing time, device number, user information, printing content summary and printing result;

[0037] S53: Based on intelligent data analysis algorithms, the collated printing logs and barcode information are analyzed to extract key performance indicators, including printing success rate, equipment utilization rate, and failure rate;

[0038] S54: Generate a printing report based on the analysis result, the report including printing time, printing device, printing task completion status, abnormal conditions and resource consumption statistics;

[0039] S55: Upload the generated printed report to the blockchain network via a secure transmission protocol.

[0040] On the other hand, a barcode recognition-based printing management system includes a barcode generation unit, a barcode recognition unit, a printing task scheduling unit, a printing monitoring unit, and a data analysis unit that are sequentially communicatively connected;

[0041] The barcode generation unit is used to generate a barcode with encryption function and dynamic information using an intelligent algorithm;

[0042] The barcode recognition unit is used to automatically recognize barcodes and import printing task information through a Bluetooth wireless barcode gun;

[0043] The printing task scheduling unit is used to intelligently schedule the printing tasks using an optimization algorithm according to the barcode verification results and the urgency of the printing tasks, and automatically allocate the optimal printing path and time;

[0044] The printing monitoring unit is used to monitor the printing process in real time through the Internet of Things technology, and automatically generate abnormal alarms and feedback to relevant personnel;

[0045] The data analysis unit is used to automatically collect printing logs and barcode information after printing is completed, perform intelligent data analysis, generate a printing report, and store the printing report on the blockchain.

[0046] The beneficial effects of the present invention are:

[0047] In the present invention, an intelligent algorithm is used to generate a barcode with encryption function and dynamic information to ensure the security and uniqueness of the printing task, and effectively prevent information leakage and unauthorized printing. A Bluetooth wireless barcode gun is used to automatically identify the barcode and import the printing task information to achieve fast and accurate task entry, reducing the errors and time of manual operation. According to the barcode verification results and the urgency of the printing task, an optimization algorithm is used to intelligently schedule the printing task, automatically allocate the optimal printing path and time, and improve the processing efficiency and resource utilization of the printing task. The printing process is monitored in real time through the Internet of Things technology, and abnormal alarms are automatically generated and fed back to relevant personnel to ensure the smooth progress of the printing process, and abnormal situations are handled in time to reduce the impact of printing failures. After printing is completed, the printing log and barcode information are automatically collected, intelligent data analysis is performed, a printing report is generated, and the printing report is stored on the blockchain to ensure the immutability and transparency of the data, providing reliable data support for subsequent auditing and management. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of a printing management method based on barcode recognition of the present invention.

[0049] Figure 2 It is a flowchart of step S3 provided in an embodiment of the present invention.

[0050] Figure 3 It is a module schematic diagram of a printing management system based on barcode recognition of the present invention. DETAILED DESCRIPTION

[0051] See also Figure 1-3 As shown, the present invention relates to a printing management system and method based on barcode recognition.

[0052] Example 1

[0053] A printing management method based on barcode recognition includes the following steps:

[0054] S1: Generate a barcode with encryption function and dynamic information using an intelligent algorithm; the barcode includes document ID, printer type, file name, number of copies, paper type, expiration time and priority;

[0055] Wherein, the step S1 comprises the following steps:

[0056] S11: Obtaining basic information of the document to be printed through natural language processing technology;

[0057] S12: Encrypt the basic information using an elliptic curve encryption algorithm to generate an encrypted string;

[0058] S13: Dynamically generate a barcode containing an encrypted string based on a generative adversarial network algorithm;

[0059] S14: compressing the barcode information using discrete cosine transform;

[0060] Specifically, the generated barcode image is subjected to discrete cosine transform to convert the image into frequency domain representation. In the frequency domain, important frequency components are retained, and high-frequency noise and redundant information are removed to achieve compression effect. Through inverse discrete cosine transform, the compressed frequency domain representation is converted back to the spatial domain image to obtain the compressed barcode image.

[0061] S15: Attach the encrypted and dynamically processed barcode to the document to be printed.

[0062] The step S13 comprises the following steps:

[0063] A barcode generation model is trained using a generative adversarial network, wherein the generative adversarial network is composed of a generator and a discriminator, wherein the generator is used to generate a barcode image, and the discriminator is used to evaluate the authenticity of the generated barcode image;

[0064] Specifically, the generator is designed to:

[0065] Input layer: accepts encrypted basic information and encodes it into vector input.

[0066] Hidden layer: Several convolutional layers and fully connected layers, which gradually extract features and generate barcode images.

[0067] Output layer: Generates a barcode image with the expected size and resolution.

[0068] Discriminator design:

[0069] Input layer: accepts the generated barcode image and the real barcode image.

[0070] Hidden layer: Several convolutional layers and fully connected layers to gradually extract image features.

[0071] Output layer: Outputs true or false probability, which is used to judge the authenticity of the input image.

[0072] The encrypted basic information is encoded as an input vector of a generator, and the generator generates a barcode image with encryption function and dynamic information according to the input vector;

[0073] The discriminator evaluates the authenticity of the generated barcode image and feeds it back to the generator for optimization;

[0074] The final barcode is generated through continuous adversarial training of the generator and the discriminator.

[0075] Specifically, a large number of real barcode images are collected to construct a training data set, and the real barcode images and the barcode images generated by the generator are mixed and input into the discriminator for training; in the initial stage, the generator generates a barcode image based on random noise, and gradually adds the encrypted basic information as input to generate a barcode image containing dynamic information. The generated barcode image is evaluated by the discriminator, and the generator is continuously optimized based on the feedback; the discriminator receives the real barcode image and the generated barcode image, and distinguishes the true from the false, and feeds back the quality and authenticity of the image generated by the generator to guide the generator to make improvements; the generator and the discriminator are continuously optimized in the confrontation, the generator improves the quality of the generated barcode image, and the discriminator improves the recognition ability, and the training is carried out until the generated barcode image reaches the expected authenticity and quality standards; after the training is completed, the generator can generate high-quality barcode images based on the input encrypted string to ensure that the barcode image contains dynamic information and has a high degree of security and uniqueness.

[0076] Furthermore, the formula of the discrete cosine change is as follows:

[0077] ,

[0078] in, Frequency domain representation of barcode information; Indicates the value of the barcode information at the nth position; N indicates the total length of the barcode information; n indicates the sample index of the barcode information; k indicates the index of the discrete cosine variation coefficient, ranging from 0 to N-1; Represents the basis function of discrete cosine transform, which is used to calculate the representation of barcode information in the frequency domain.

[0079] S2: Automatically identify the barcode and import the printing task information through a Bluetooth wireless barcode gun; the Bluetooth wireless barcode gun includes a scanning module, a processor module, a power management module and a user interface module that are communicatively connected in sequence.

[0080] It should be noted that the scanning module is used to read and identify barcode information, supports the recognition of multiple barcode formats, is equipped with high-precision laser or image sensors, and can recognize various types of barcodes (such as one-dimensional barcodes and two-dimensional barcodes); it has fast response capabilities and can complete barcode scanning and reading in a short time.

[0081] Processor module: Built-in high-performance microprocessor, responsible for processing and parsing the scanned barcode data. Equipped with sufficient storage space to decode barcode information and convert it into task data recognizable by the print management system, and temporarily store scanned data and configuration information.

[0082] Power management module: Provides stable power support and has power management functions such as low-battery reminder and automatic sleep mode to extend battery life.

[0083] User interface module: includes a display screen and control buttons, used to display the scanning status, connection status and error prompts, and allow the user to manually trigger scanning or make other settings.

[0084] Specifically, the barcode recognition process is as follows:

[0085] The user presses the power button to start the Bluetooth wireless barcode gun, and the device performs a self-check and initializes each module; the user interface module displays the device startup status and power information; the user points the barcode gun at the barcode to be identified and presses the scan button, and the scanning module emits a laser or takes a picture to obtain the image data of the barcode; the processor module receives the image data, performs image processing and barcode parsing, and extracts the printing task information in the barcode; the processor module parses the barcode data and extracts information such as document ID, printer type, file name, number of copies, paper type, expiration time and priority; the parsing results are displayed on the user interface module for user confirmation; ensure that the Bluetooth connection between the Bluetooth wireless barcode gun and the print management system is normal. If not, the user can select and connect to the corresponding print management system through the settings menu of the user interface module. system; the parsed barcode information is transmitted to the printing management system via Bluetooth. After receiving the barcode information, the printing management system performs data verification and parsing to ensure the integrity and accuracy of the data. The printing management system automatically generates the corresponding printing task based on the received barcode information. After the task is generated, the system displays the task details on the interface and prompts the user that the task has been successfully imported; when the processor module is parsing the barcode data, if it detects that the data is incomplete or the barcode information is incorrect, the device will display an error prompt on the user interface module. The user can rescan the barcode or check whether the barcode is damaged. The user interface module will provide real-time feedback on the scanning status and data transmission status, such as "scanning successful", "data transmission in progress", "transmission successful", etc.; if the transmission fails, the device will display an error message and prompt the user to try to connect again or check the Bluetooth connection status.

[0086] S3: Based on the barcode verification results and the urgency of the printing task, the optimization algorithm is used to intelligently schedule the printing task and automatically allocate the optimal printing path and time;

[0087] Wherein, the step S3 comprises the following steps:

[0088] S31: parsing the printing task information contained in the barcode, and generating the urgency and priority of the printing task;

[0089] Specifically, the urgency of the printing task is calculated based on the information extracted from the barcode. The urgency can be determined based on the following factors:

[0090] Due time: The closer to the current time, the higher the urgency.

[0091] Priority: Priority information directly contained in the barcode.

[0092] Task Importance: Assessed based on the importance of the document type and content.

[0093] Prioritize each print job based on its urgency.

[0094] Priority can be divided into multiple levels, such as high, medium, and low, corresponding to different scheduling strategies.

[0095] Furthermore, the formula for calculating the urgency is as follows:

[0096] ,

[0097] Among them, E represents the urgency score, and the higher the value, the more urgent it is; It represents the difference between the due time and the current time; P represents the priority score, which is usually a pre-set integer value; I represents the task importance score, which can be evaluated based on the importance of the document type and content; , , The weight coefficients representing due date, priority, and task importance are used to adjust the impact of each factor on urgency.

[0098] S32: Based on the parsed print task information, the status and workload of all currently available printing devices are evaluated through an optimization algorithm, including device health status, remaining paper, ink level, and current task queue length;

[0099] S33: Based on the urgency and priority of the printing task, a dynamic programming algorithm is used to generate an optimal printing path and schedule, and the printing task is allocated to a corresponding printing device.

[0100] Specifically, the design of the dynamic programming algorithm is as follows:

[0101] Set optimization goals: minimize task completion time and equipment load, and maximize equipment utilization.

[0102] Define the state space: including the current state of each device, task queue, available resources, etc.

[0103] Calculate the optimal printing path and schedule for each task based on its urgency and priority.

[0104] The dynamic programming algorithm considers the following factors: the urgency and priority of the printing task; the current status and availability score of each device; the length of the task queue and the processing speed of the device; and the minimization of task completion time and resource consumption.

[0105] According to the optimization calculation results, the printing tasks are assigned to the corresponding printing devices, and a specific task scheduling table is generated, which includes the start time, end time and assigned printing device of each task.

[0106] Furthermore, the formula of the dynamic programming algorithm is as follows:

[0107] ,

[0108] in, represents the optimal value function in state x at time t, i.e. the optimal printing path; represents the instantaneous cost under state x and control u, including printing time, resource consumption, and device load; Indicates the next state after control u from state x; It represents the optimal value function at the next time point t+1 and state f(x,u), which is used to recursively calculate the optimality of the current decision; t represents the decision time point; x represents the current state of the system, including detailed status information of all printing devices; u represents the decision choice under the current state x.

[0109] S4: The printing process is monitored in real time through the Internet of Things technology, and abnormal alarms are automatically generated and fed back to relevant personnel; the printing process includes printing status, equipment health status and progress information; the Internet of Things technology includes sensor networks, cloud computing technology, Bluetooth, wireless communication technology and edge computing technology.

[0110] It should be noted that various sensors are installed in key parts of the printer, such as temperature sensors, humidity sensors, paper detection sensors, ink / toner detection sensors, etc. These sensors collect real-time environmental and equipment status data during the printing process. The data collected by the sensors is transmitted to the edge computing device via a wired or wireless network (such as Wi-Fi, Bluetooth or other wireless communication technologies). The edge computing device performs preliminary processing and analysis on the sensor data, screens out key data and compresses the data to reduce the transmission burden. The processed data is transmitted to the cloud server via the network for further storage and analysis. After receiving the sensor data, the cloud server uses big data analysis and machine learning algorithms to conduct in-depth analysis of the data. The analysis includes a comprehensive evaluation of the printing status, equipment health status and progress information, and generates a real-time monitoring report.

[0111] The system sets several thresholds and rules to trigger alarms when the following abnormal conditions are detected:

[0112] Temperature abnormality: If the temperature inside the printer exceeds the safety threshold.

[0113] Abnormal humidity: For example, the humidity in the printing environment is too high or too low.

[0114] Paper abnormality: such as paper jam or paper low detected.

[0115] Ink / Toner Low: If the ink or toner level is below the set threshold.

[0116] Abnormal printing progress: For example, the printing task progress is abnormally slow or interrupted.

[0117] Abnormal alarms are transmitted to the cloud server in real time through wireless communication technologies (such as Wi-Fi, Bluetooth). The cloud server sends abnormal alarm information to the mobile devices or computer terminals of relevant personnel. The alarm information includes the abnormal type, specific cause, occurrence time and recommended treatment measures. Abnormal alarms are sent to relevant personnel through various channels, such as mobile phone text messages, emails, instant messaging applications (such as WeChat, DingTalk), etc. Ensure that relevant personnel can receive abnormal alarms in time and take corresponding measures. After receiving the abnormal alarm, the relevant personnel will handle it according to the prompts, such as clearing paper jams, replacing consumables, adjusting environmental parameters, etc. The abnormal handling process and results are recorded in the system log for subsequent query and analysis. After the processing is completed, the relevant personnel will feedback the processing results through mobile devices or computer terminals. The system updates the status of the print task based on the feedback information and records the processing results and time.

[0118] S5: After printing is completed, the printing log and barcode information are automatically collected, intelligent data analysis is performed, a printing report is generated, and the printing report is stored on the blockchain.

[0119] Wherein, the step S5 comprises the following steps:

[0120] S51: Use IoT technology and blockchain technology to collect printing logs and barcode information in real time;

[0121] Specifically, sensors and data acquisition modules are installed on the printing device to collect log data and barcode information in real time during the printing process. Sensors monitor the status of the printing device, including device number, printing time, printing task status, etc. The data acquisition module transmits data to the central management system through wireless communication technology (such as Wi-Fi, Bluetooth). During the data collection process, important log data and barcode information are digitally signed to ensure the integrity and non-tamperability of the data. The collected data is recorded on the blockchain to form a distributed ledger to ensure the transparency and security of the data.

[0122] S52: classifying and arranging the collected printing logs and barcode information, including printing time, device number, user information, printing content summary and printing result;

[0123] It should be noted that the classification of the printing log and barcode information collected in real time mainly includes:

[0124] Print Time: The start time and end time of each print task.

[0125] Device ID: The unique ID of the device that executes the print task.

[0126] User information: The user ID or user name that initiates the print task.

[0127] Print Summary: Prints the name and brief description of the document.

[0128] Print results: task completion status (success or failure) and related exception information.

[0129] S53: Based on intelligent data analysis algorithms, the collated printing logs and barcode information are analyzed to extract key performance indicators, including printing success rate, equipment utilization rate, and failure rate;

[0130] Specifically, the sorted data is input into the intelligent data analysis system. Data cleaning technology is used to remove duplicate and erroneous data to ensure data accuracy. Data mining and machine learning algorithms are used to analyze printing logs and barcode information.

[0131] The following key performance indicators were extracted:

[0132] Print success rate: Calculates the ratio of successfully completed print tasks to the total number of tasks.

[0133] Equipment Utilization: Calculate the utilization of each device, including daily, weekly, or monthly usage.

[0134] Failure rate: Calculates how often a device fails, including the type of failure and when it occurs.

[0135] S54: Generate a printing report based on the analysis result, the report including printing time, printing device, printing task completion status, abnormal conditions and resource consumption statistics;

[0136] It should be noted that the detailed report content is as follows:

[0137] Printing time: Detailed time record of each printing task.

[0138] Print devices: The device number and status used by each task.

[0139] Print task completion status: The completion status of each task (successful or failed), as well as the failure reason and handling measures.

[0140] Abnormal conditions: Detailed description of all abnormal events, including fault type, occurrence time and handling results.

[0141] Resource consumption statistics: Statistical data on paper, ink and other resources consumed during the printing process.

[0142] S55: Upload the generated printed report to the blockchain network via a secure transmission protocol.

[0143] Specifically, secure transmission protocols (such as HTTPS and TLS) are used to ensure data security during the upload process of printed reports. Printed reports are digitally signed and encrypted to ensure data integrity and confidentiality. The encrypted printed reports are uploaded to the blockchain network to form an unalterable record. Smart contracts are used to manage the storage and access rights of printed reports to ensure that only authorized users can view and download reports. The storage record of each report is recorded on the blockchain, including the upload time, uploader, and report summary, forming a transparent and traceable record.

[0144] Example 2

[0145] A printing management system based on barcode recognition, comprising a barcode generation unit, a barcode recognition unit, a printing task scheduling unit, a printing monitoring unit and a data analysis unit which are sequentially connected in communication;

[0146] The barcode generation unit is used to generate a barcode with encryption function and dynamic information using an intelligent algorithm;

[0147] The barcode recognition unit is used to automatically recognize barcodes and import printing task information through a Bluetooth wireless barcode gun;

[0148] The printing task scheduling unit is used to intelligently schedule the printing tasks using an optimization algorithm according to the barcode verification results and the urgency of the printing tasks, and automatically allocate the optimal printing path and time;

[0149] The printing monitoring unit is used to monitor the printing process in real time through the Internet of Things technology, and automatically generate abnormal alarms and feedback to relevant personnel;

[0150] The data analysis unit is used to automatically collect printing logs and barcode information after printing is completed, perform intelligent data analysis, generate a printing report, and store the printing report on the blockchain.

[0151] In this embodiment, a printing management system based on barcode recognition is applied to a printing management method based on barcode recognition described in Example 1, which will not be described in detail here.

[0152] In summary, the present invention encrypts the basic information of the document by using the elliptic curve encryption algorithm to generate an encrypted string with high security and uniqueness. The barcode is dynamically generated by combining the generative adversarial network algorithm to ensure the uniqueness and security of the barcode image and effectively prevent information leakage and tampering. Using the generative adversarial network (GAN) algorithm, the generator and the discriminator are continuously optimized in adversarial training, and the generated barcode image has high quality and high authenticity. The barcode information is compressed by discrete cosine transform, which improves the efficiency of barcode generation and transmission and reduces storage and transmission costs.

[0153] The present invention adopts a Bluetooth wireless barcode gun, integrates a high-performance scanning module and a processor module, and supports fast and accurate barcode recognition. The barcode information is transmitted via Bluetooth, and the printing task is automatically imported, which simplifies the operation process and improves work efficiency. According to the printing task information contained in the barcode, the optimization algorithm and the dynamic programming algorithm are combined to intelligently schedule the printing task. The device status and workload are evaluated, the optimal printing path and schedule are generated, the printing resources are effectively allocated, the device utilization rate is improved, and the task waiting time and resource waste are reduced.

[0154] The present invention uses the Internet of Things technology to monitor the status information of the printing process in real time, automatically generate abnormal alarms and feedback to relevant personnel. Abnormal situations in the printing process are handled in a timely manner to ensure the smooth completion of the printing task and improve the reliability and stability of the system. After printing is completed, the printing log and barcode information are automatically collected for intelligent data analysis. A detailed printing report is generated, including printing time, device status, task completion status, abnormal situations and resource consumption statistics. The printing report is stored through blockchain technology to ensure the transparency and immutability of the data and improve the efficiency of data management and auditing.

[0155] The present invention integrates barcode generation, recognition, task scheduling, printing monitoring and data analysis functions into one system to achieve full process automation management. The user interface module provides a friendly interactive experience, and users can view and manage printing tasks in real time, improving the ease of use of the system and user satisfaction.

[0156] The above implementation modes are merely descriptions of the preferred implementation modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary engineering and technical personnel in the field shall fall within the protection scope determined by the claims of the present invention.

Claims

1. A printing management method based on barcode recognition, characterized in that: The following steps are involved: S1: Generate a barcode with encryption function and dynamic information using an intelligent algorithm; the barcode includes document ID, printer type, file name, number of copies, paper type, expiration time and priority; S2: Automatically identify barcodes and import printing task information through Bluetooth wireless barcode gun; S3: Based on the barcode verification results and the urgency of the printing task, the optimization algorithm is used to intelligently schedule the printing task and automatically allocate the optimal printing path and time; S4: Monitor the printing process in real time through the Internet of Things technology, and automatically generate abnormal alarms and feedback to relevant personnel; the printing process includes printing status, equipment health status and progress information; S5: After printing is completed, the printing log and barcode information are automatically collected, intelligent data analysis is performed, a printing report is generated, and the printing report is stored on the blockchain.

2. A printing management method based on barcode recognition according to claim 1, characterized in that: The step S1 comprises the following steps: S11: Obtaining basic information of the document to be printed through natural language processing technology; S12: Encrypt the basic information using an elliptic curve encryption algorithm to generate an encrypted string; S13: Dynamically generate a barcode containing an encrypted string based on a generative adversarial network algorithm; S14: compressing the barcode information using discrete cosine transform; S15: Attach the encrypted and dynamically processed barcode to the document to be printed.

3. A printing management method based on barcode recognition according to claim 2, characterized in that: The step S13 comprises the following steps: A barcode generation model is trained using a generative adversarial network, wherein the generative adversarial network is composed of a generator and a discriminator, wherein the generator is used to generate a barcode image, and the discriminator is used to evaluate the authenticity of the generated barcode image; The encrypted basic information is encoded as an input vector of a generator, and the generator generates a barcode image with encryption function and dynamic information according to the input vector; The discriminator evaluates the authenticity of the generated barcode image and feeds it back to the generator for optimization; The final barcode is generated through continuous adversarial training of the generator and the discriminator.

4. A printing management method based on barcode recognition according to claim 2, characterized in that: The formula for the discrete cosine change is as follows: , in, Frequency domain representation of barcode information; Indicates the value of the barcode information at the nth position; N indicates the total length of the barcode information; n indicates the sample index of the barcode information; k indicates the index of the discrete cosine variation coefficient, ranging from 0 to N-1; Represents the basis function of discrete cosine transform, which is used to calculate the representation of barcode information in the frequency domain.

5. The printing management method based on barcode recognition according to claim 1, characterized in that: The Bluetooth wireless barcode gun comprises a scanning module, a processor module, a power management module and a user interface module which are communicatively connected in sequence.

6. A printing management method based on barcode recognition according to claim 1, characterized in that: The step S3 comprises the following steps: S31: parsing the printing task information contained in the barcode, and generating the urgency and priority of the printing task; S32: Based on the parsed print task information, the status and workload of all currently available printing devices are evaluated through an optimization algorithm, including device health status, remaining paper, ink level, and current task queue length; S33: Based on the urgency and priority of the printing task, a dynamic programming algorithm is used to generate an optimal printing path and schedule, and the printing task is allocated to a corresponding printing device.

7. A printing management method based on barcode recognition according to claim 6, characterized in that: The formula of the dynamic programming algorithm is as follows: , in, represents the optimal value function in state x at time t, i.e. the optimal printing path; represents the instantaneous cost under state x and control u, including printing time, resource consumption, and device load; Indicates the next state after control u from state x; It represents the optimal value function at the next time point t+1 and state f(x,u), which is used to recursively calculate the optimality of the current decision; t represents the decision time point; x represents the current state of the system, including detailed status information of all printing devices; u represents the decision choice under the current state x.

8. A printing management method based on barcode recognition according to claim 1, characterized in that: The Internet of Things technology includes sensor networks, cloud computing technology, wireless communication technology and edge computing technology.

9. A printing management method based on barcode recognition according to claim 1, characterized in that: The step S5 comprises the following steps: S51: Use IoT technology and blockchain technology to collect printing logs and barcode information in real time; S52: classifying and arranging the collected printing logs and barcode information, including printing time, device number, user information, printing content summary and printing result; S53: Based on intelligent data analysis algorithms, the collated printing logs and barcode information are analyzed to extract key performance indicators, including printing success rate, equipment utilization rate, and failure rate; S54: Generate a printing report based on the analysis result, the report including printing time, printing device, printing task completion status, abnormal conditions and resource consumption statistics; S55: Upload the generated printed report to the blockchain network via a secure transmission protocol.

10. A printing management system based on barcode recognition, characterized in that: The system is applied to a printing management method based on barcode recognition as claimed in any one of claims 1 to 9, comprising a barcode generation unit, a barcode recognition unit, a printing task scheduling unit, a printing monitoring unit and a data analysis unit which are sequentially communicatively connected; The barcode generation unit is used to generate a barcode with encryption function and dynamic information using an intelligent algorithm; The barcode recognition unit is used to automatically recognize barcodes and import printing task information through a Bluetooth wireless barcode gun; The printing task scheduling unit is used to intelligently schedule the printing tasks using an optimization algorithm according to the barcode verification results and the urgency of the printing tasks, and automatically allocate the optimal printing path and time; The printing monitoring unit is used to monitor the printing process in real time through the Internet of Things technology, and automatically generate abnormal alarms and feedback to relevant personnel; The data analysis unit is used to automatically collect printing logs and barcode information after printing is completed, perform intelligent data analysis, generate a printing report, and store the printing report on the blockchain.