A network printer secure printing method and system

By risk assessment and encryption of printing tasks, combined with data cleaning and blocking measures of secure printing devices, the problems of printer information leakage and virus transmission are solved, and data transmission and network security are improved.

CN118432883BActive Publication Date: 2024-10-22GUOHE XINGKE (SHENZHEN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410523381.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-10-22
Estimated Expiration
2044-04-28

AI Technical Summary

Technical Problem

Existing printers are subject to security risks such as information leakage, malicious program infection, and virus transmission. Especially when connected to the network, it is difficult to effectively prevent hackers from stealing print data and prevent the printer from becoming an entry point for network viruses.

Method used

Conduct risk assessment by obtaining the user's printing task, select the corresponding encryption method to encrypt the data, and perform data cleaning and integrity verification in the secure printing device to ensure the security of the data during transmission, using a one-way blocking method Measures such as network and device anti-theft data security modules block the spread of malicious data.

Benefits of technology

It effectively improves the security of printing data transmission, prevents hackers from stealing printing data, avoids security risks to the network caused by viruses implanted in the printer, and ensures the security of the printer and the network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118432883B_ABST
    Figure CN118432883B_ABST
Patent Text Reader

Abstract

The present invention discloses a network printer security printing method and system, the method comprises: obtaining a user's printing task, performing risk assessment to determine the risk level of the printing task, thereby selecting a corresponding preset encryption method, encrypting the data to be printed by using a first combination key or a second combination key to obtain an encrypted data packet; randomly generating junk data based on a system preset rule and adding it to the encrypted data packet to obtain a transmission data packet, and sending the transmission data packet to a security printing device; the security printing device performs data cleaning and data integrity verification on the transmission data packet; determining the first data to be decrypted by using user identity information, selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt, obtaining the user's data to be printed and sending it to the printer. The present invention improves the security of data transmission, effectively prevents the theft of printing data through the network, and avoids the security risks of the computer network caused by the implantation of viruses in the printer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of printing technology, and more specifically, to a network printer secure printing method and system. Background Art

[0002] As one of the commonly used information devices, printers have become an indispensable office tool in companies and other organizations. While bringing convenience to work, information security issues such as information leakage caused by printing are becoming increasingly serious.

[0003] In terms of information leakage, traditional printers now have the following potential security risks: (1) As the core component of the printer, the residual static electricity and the chip implanted inside the toner cartridge pose a risk of leakage; (2) The host chip hardware and software may be at risk of being attacked by malicious programs and viruses; (3) There is a risk of files being invaded and leaked in the data storage device; (4) Hackers can access the printer file information through the network.

[0004] In addition, printers also pose a security risk of becoming an entry point for network virus intrusion. Because network printers are directly connected to the internal network, they can also become target carriers for externally implanted network viruses, spreading malicious viruses to other nodes on the entire network through printers, thereby causing overall damage to the target network.

[0005] Therefore, the prior art has defects and is in urgent need of improvement. Summary of the invention

[0006] In view of the above problems, the purpose of the present invention is to provide a network printer secure printing method and system, which can improve the transmission security of printing data, effectively prevent hackers from stealing printing data on the printer through the network, and effectively avoid the security risks brought to other devices in the entire network after the printer is implanted with malicious viruses.

[0007] A first aspect of the present invention provides a network printer secure printing method, comprising:

[0008] Get the user's print task;

[0009] Performing risk assessment on the user's printing task to determine the risk level of the printing task;

[0010] Selecting a corresponding preset encryption method based on the risk level of the printing task, encrypting the data to be printed by using the first combined key or the second combined key to obtain an encrypted data packet; the preset encryption method includes a first encryption method and a second encryption method;

[0011] Randomly generate junk data based on system preset rules and mix them into the encrypted data packet to obtain a transmission data packet, and send the transmission data packet to the security printing device;

[0012] The secure printing device performs data cleaning and data integrity verification on the transmission data packet;

[0013] The secure printing device determines the first data to be decrypted according to the user identity information of the user, and selects a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the data to be printed by the user;

[0014] The secure printing device sends the user's to-be-printed data to a printer.

[0015] In this solution, the corresponding preset encryption method is selected based on the risk level of the printing task to perform encryption to obtain an encrypted data packet, including:

[0016] When the risk level of the data to be printed is less than a first preset threshold, encrypting the data to be printed by a first encryption method to obtain first encrypted data;

[0017] On the contrary, the data to be printed is segmented based on a preset segmentation rule to obtain a plurality of first sub-data;

[0018] Performing risk assessment on each first sub-data in turn based on a preset risk determination rule to determine a risk level of each first sub-data;

[0019] Merging first sub-data with the same risk level to obtain a plurality of second sub-data;

[0020] Encrypting the second sub-data whose risk level is less than the first preset threshold by the first encryption method, and encrypting the second sub-data whose risk level is greater than or equal to the first preset threshold by the second encryption method, to obtain a plurality of first encrypted data;

[0021] generating a digital signature based on the second public key of the user and the task attribute of the task to be printed;

[0022] All the first encrypted data and the digital signature are integrated to obtain an encrypted data packet.

[0023] This plan also includes:

[0024] The first encryption method is to reorganize the first public key of the security printing device and the second public key of the user based on a first preset reorganization rule to obtain a first combined key;

[0025] encrypting the data to be printed by using the first combined key;

[0026] The second encryption method is to randomly select another computer in the working environment network, and generate a set of corresponding first keys and second keys based on the private key of the other computer;

[0027] Encrypting the second key by using the first public key of the security printing device to obtain a first ciphertext, and sending the first ciphertext to the security printing device;

[0028] Recombining the first public key of the security printing device and the first secret key based on a second preset recombining rule to obtain a second combined key;

[0029] The data to be printed is encrypted by using the second combined key.

[0030] In this solution, the secure printing device performs data cleaning and data integrity verification on the transmission data packet, including:

[0031] The security printing device performs data verification on the transmission data in the received transmission data packet;

[0032] The secure printing device splits and reorganizes the transmission data in the transmission data packet according to a third preset reorganization rule, deletes junk data of non-compliant printing data, and obtains a data packet to be decrypted;

[0033] Screening the data to be decrypted in the data packet to be decrypted to obtain a digital signature to be verified;

[0034] The data integrity of the data packet to be decrypted is verified based on the digital signature to be verified.

[0035] In this solution, the data integrity of the data packet to be decrypted is verified based on the digital signature to be verified, including:

[0036] Verify the user's identity through an external identity recognition device to determine the user's identity information;

[0037] Obtaining a second ciphertext based on the user identity information, recombining the second ciphertext and the third ciphertext recorded in the security printing device based on a fourth preset recombining rule, and determining a fourth key;

[0038] Decrypting the digital signature to be verified by using the fourth key to obtain first decrypted data;

[0039] An analysis is performed based on the first decrypted data to verify the data integrity of the data packet to be decrypted.

[0040] In this solution, the secure printing device determines the first data to be decrypted according to the user identity information of the user, including:

[0041] When the data integrity verification of the data packet to be decrypted succeeds, the data to be decrypted in the data packet to be decrypted is screened based on the user identity information to determine the first data to be decrypted;

[0042] Selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the user's data to be printed;

[0043] When the data integrity verification of the data packet to be decrypted fails, the relevant data is deleted based on the user identity information.

[0044] In this solution, the method of selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted to obtain the user's data to be printed includes:

[0045] The preset decryption method includes a first decryption method and a second decryption method;

[0046] When the encryption method of the first data to be decrypted is the first encryption method, recombining the first private key of the security printing device and the second ciphertext to obtain a third combined key;

[0047] Decrypting the first data to be decrypted using the third combined key;

[0048] When the encryption method of the first data to be decrypted is the second encryption method, decrypting the first ciphertext using the first private key of the security printing device to obtain a second key;

[0049] Recombining the first private key and the second key of the security printing device to obtain a fourth combined key;

[0050] The first data to be decrypted is decrypted using the fourth combined key.

[0051] This plan also includes:

[0052] The connection mode between the security printing device and the computer network is a one-way blocking network.

[0053] This plan also includes:

[0054] The security printing device is provided with a device anti-theft data security module and a housing disassembly monitoring module;

[0055] When the device anti-theft data security module detects that the security printing device is powered off and shut down, it automatically destroys all data in the security printing device;

[0056] When the shell disassembly monitoring module detects that the shell of the security printing device is in an open state, all data in the security printing device are automatically destroyed.

[0057] A second aspect of the present invention provides a network printer security printing system, comprising:

[0058] A data acquisition module is used to obtain the user's printing tasks;

[0059] A risk assessment module, used to perform risk assessment on the user's printing task to determine the risk level of the printing task;

[0060] A data encryption module, configured to select a corresponding preset encryption method based on the risk level of the printing task, encrypt the data to be printed by using a first combination key or a second combination key to obtain an encrypted data packet; the preset encryption method includes a first encryption method and a second encryption method; randomly generate junk data based on a system preset rule and mix it into the encrypted data packet to obtain a transmission data packet, and send the transmission data packet to a secure printing device;

[0061] A data verification module, used by the security printing device to perform data cleaning and data integrity verification on the transmission data packet;

[0062] A data decryption module, used for the secure printing device to determine the first data to be decrypted according to the user identity information of the user, and to select a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the data to be printed by the user;

[0063] The data sending module is used for the security printing device to send the user's to-be-printed data to the printer.

[0064] A third aspect of the present invention provides a computer-readable storage medium, which includes a network printer secure printing method program. When the network printer secure printing method program is executed by a processor, the steps of the network printer secure printing method as described above are implemented.

[0065] The present invention discloses a network printer security printing method and system, the method comprises: obtaining a user's printing task, performing risk assessment to determine the risk level of the printing task, thereby selecting a corresponding preset encryption method, encrypting the data to be printed by using a first combination key or a second combination key to obtain an encrypted data packet; randomly generating junk data based on a system preset rule and adding it to the encrypted data packet to obtain a transmission data packet, and sending the transmission data packet to a security printing device; the security printing device performs data cleaning and data integrity verification on the transmission data packet; determining the first data to be decrypted by using user identity information, selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt, obtaining the user's data to be printed and sending it to the printer. The present invention improves the security of data transmission, effectively prevents the theft of printing data through the network, and avoids the security risks of the computer network caused by the implantation of viruses in the printer. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A flow chart of a network printer secure printing method of the present invention is shown;

[0067] Figure 2 A flow chart of a first encryption method and a second encryption method of the present invention is shown;

[0068] Figure 3 A flowchart of a method for decoding first data to be decrypted according to the present invention is shown;

[0069] Figure 4 A block diagram of a network printer security printing system of the present invention is shown. DETAILED DESCRIPTION

[0070] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0071] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0072] Figure 1 A flow chart of a network printer secure printing method of the present invention is shown.

[0073] like Figure 1 As shown, the present invention discloses a network printer secure printing method, comprising:

[0074] S102, obtaining a user's print task;

[0075] S104, performing risk assessment on the user's printing task to determine the risk level of the printing task;

[0076] S106, selecting a corresponding preset encryption method based on the risk level of the printing task, encrypting the data to be printed by using the first combined key or the second combined key to obtain an encrypted data packet; the preset encryption method includes a first encryption method and a second encryption method;

[0077] S108, randomly generating junk data based on a system preset rule and mixing it into the encrypted data packet to obtain a transmission data packet, and sending the transmission data packet to the secure printing device;

[0078] S110, the security printing device performs data cleaning and data integrity verification on the transmitted data packet;

[0079] S112, the secure printing device determines the first data to be decrypted according to the user identity information of the user, and selects a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the user's data to be printed;

[0080] S114, the secure printing device sends the user's data to be printed to the printer.

[0081] According to an embodiment of the present invention, a dedicated client supporting software and a secure printing device are used to manage the print tasks generated by the user through the computer. The dedicated client supporting software is installed on the computer segment used by the user. When printing is required, the user uses the dedicated client to securely encrypt the data to be printed and send it to the secure printing device through the network. The secure printing device will temporarily manage the print tasks to be printed. After the corresponding user verifies his identity, the print tasks related to him will be sent to the target printer for printing, and the completed print data in the secure printing device will be deleted. Any data sent outward from the printer will be blocked at the secure printing device and will no longer be sent to the computer network. By blocking and controlling the outgoing data of the printer through the secure printing device, hackers can be effectively prevented from stealing the print data on the printer through the network. In addition, through the one-way blocking information transmission method, the security risks brought to other devices in the entire network by the printer after being implanted with malicious viruses can be effectively avoided.

[0082] The security printing device mainly has five main modules, namely, network data receiving module, network data compliance detection module, print data management module, printer communication module, and outbound data blocking module. The network data receiving module is provided with a network interface, which can be connected to the working computer network environment through a wired network cable. The print data initiated by the user on the computer and other clients will be transmitted to this module through the network for reception. The network data compliance detection module and the print data management module are used to verify the data and personnel identity respectively, so as to send the compliant print data to the printer for printing. The security printing device and the printer are connected through the printer communication module. The printer communication module has physical interfaces such as USB and Ethernet port. It can be connected to the printer through a USB cable or an Ethernet cable, send print task data to the printer, and receive data sent by the printer. At the same time, the data sent by the printer device is blocked by the outbound data blocking module to prevent the data from flowing into the computer network.

[0083] In order to improve the security of the data to be printed during transmission and storage, the original print data is first encrypted through the print data encryption module of the dedicated client during the data transmission process, so that the converted ciphertext cannot be directly identified as the correct content after being maliciously obtained. First, the data risk level of the data to be printed is evaluated, and the corresponding data encryption method is selected based on the risk level. If necessary, auxiliary encryption is performed using the key of the user corresponding to other computers. The risk level of the data to be printed can be determined by analyzing the printed content. The system generates multiple risk words or images and assigns corresponding risk levels to each of them. The risk level of the data to be printed is determined by comparing the printed content with the risk words and images generated by the system.

[0084] In addition, based on the one-way blocking network security printing device cannot send any data to the computer network, resulting in the inability to update the public key of the security printing device stored in the computer network through regular updates. In the data encryption process, the first public key of the security printing device and the second public key of the user (or the first key generated by the private key of another computer) are reorganized by the system preset reorganization rules to obtain the first or second combined key for data encryption, and at the same time, a digital signature is generated by the second public key of the user, and a third ciphertext is generated by part of the characters in the second private key of the user and sent to the security printing device through the network, and the remaining characters are generated into the second ciphertext and stored through hardware devices such as a U disk and a mobile hard disk. Characters can be allocated according to the extraction rules of the second public key of the user during the encryption process, and the private key characters corresponding to the extracted characters are stored through the hardware device, and the remaining characters are sent to the security printing device through the network. Among them, the hardware device can be interconnected with an external identity recognition device. When the user identity authentication is successful, the second ciphertext is obtained through the external identity recognition device, and the data is decrypted and the data integrity is verified by combining the first private key of the security printing device and the third ciphertext stored therein. In addition, the user's second public key and second private key can be regularly updated based on the length of use or the number of times used to avoid leakage of the user's second private key due to illegal intrusion, thereby ensuring data security.

[0085] The client system encrypts the corresponding data to be printed based on the user identity information during the printing data encryption process, so each data to be printed contains the user identity information of the corresponding user.

[0086] In addition, before the data is sent through the network, the transmission data format is randomly interfered with by the anti-cracking module based on the system preset rules to randomly generate junk data and mix it into the transmission data packet. After the data is maliciously intercepted during transmission, the unauthorized party cannot obtain the composition rules of the data packet through data format analysis, and cannot accurately extract the target file data.

[0087] Based on the dedicated client software and secure printing device, in the actual printing process, the outgoing data on the printer side is strictly blocked on the secure printing device side, so hackers cannot obtain the printing task data on the printer through the network. In extreme cases such as the printer device being implanted with malicious viruses through non-network channels, the secure printing device can block the spread of malicious viruses on the network and ensure the security of other devices on the network. During the data transmission process, it will undergo a double encryption strategy of secret text encryption and random filling interference data, which has high security in data transmission on the network. After the device is actively and passively powered off, all printing-related data will be destroyed to avoid the security risks caused by the malicious theft of the device to other places. The client software and secure printing device have independent printing protocol management modules. Without any modification to the printer device, it can quickly adapt to the private printing protocols of different printer manufacturers / brands according to actual needs, greatly improving the ease of use and economy in actual applications. The secure printing device hides the printer terminal in the working network environment, blocks any active detection of the protected printer in the network, reduces the risk of the printer being attacked by the network, and ensures the high security of the normal operation of the printer terminal.

[0088] According to an embodiment of the present invention, a corresponding preset encryption method is selected based on the risk level of the printing task to perform encryption to obtain an encrypted data packet, including:

[0089] When the risk level of the data to be printed is less than a first preset threshold, encrypting the data to be printed by a first encryption method to obtain first encrypted data;

[0090] On the contrary, the print data is segmented based on the preset segmentation rule to obtain a plurality of first sub-data;

[0091] Performing risk assessment on each first sub-data in turn based on a preset risk determination rule to determine a risk level of each first sub-data;

[0092] Merging first sub-data with the same risk level to obtain a plurality of second sub-data;

[0093] Encrypting the second sub-data whose risk level is less than the first preset threshold by the first encryption method, and encrypting the second sub-data whose risk level is greater than or equal to the first preset threshold by the second encryption method, to obtain a plurality of first encrypted data;

[0094] Generate a digital signature based on the user's second public key and the task attributes of the task to be printed;

[0095] All first encrypted data and digital signatures are integrated to obtain an encrypted data packet.

[0096] It should be noted that, when the overall risk level of the data to be printed is low, that is, the risk level is less than the first preset threshold, the first encryption method with a faster encryption speed is selected to encrypt the data to be printed as a whole to obtain the first encrypted data; on the contrary, the data to be printed is segmented based on the preset segmentation rule to obtain a plurality of first sub-data consisting of partial characters to be printed or images to be printed, and each first sub-data is subjected to data risk assessment, and the first sub-data with the same risk level are merged to finally obtain one or more second sub-data, and the corresponding encryption method is selected based on the risk level of each second sub-data for data encryption. Among them, the preset segmentation rule includes segmenting the data to be printed into a plurality of first sub-data according to limiting conditions such as the number of characters and the number of pixels. The first sub-data includes a portion of the data to be printed and a segmentation identifier, and the segmentation identifier can be the character coordinates of the initial character and the end character, the vertex coordinates of the area formed by the pixel points, and other marking information used to mark the relative position of the first sub-data.

[0097] The digital signature is obtained by encrypting the task attributes of the task to be printed using the used second public key, and the task attributes of the task to be printed include at least the generation timestamp of the task to be printed and the user identity information of the corresponding user.

[0098] Among them, the preset segmentation rule, the preset risk determination rule, and the first preset threshold are set by those skilled in the art according to actual needs.

[0099] Figure 2 A flow chart of a first encryption method and a second encryption method of the present invention is shown.

[0100] like Figure 2 As shown, according to an embodiment of the present invention, it also includes:

[0101] S202, a first encryption method is to recombine a first public key of the security printing device and a second public key of the user based on a first preset recombination rule to obtain a first combined key;

[0102] S204, encrypting the data to be printed by using the first combined key;

[0103] S206, the second encryption method is to randomly select another computer in the working environment network, and generate a set of corresponding first keys and second keys based on the private key of the other computer;

[0104] S208, encrypting the second key by using the first public key of the security printing device to obtain a first ciphertext, and sending the first ciphertext to the security printing device;

[0105] S210, recombining the first public key and the first secret key of the security printing device based on a second preset recombining rule to obtain a second combined key;

[0106] S212, encrypting the data to be printed by using the second combined key.

[0107] It should be noted that the first preset reorganization rule and the second preset reorganization rule are configured by the system and updated and adjusted according to the number of times or the duration of use.

[0108] In the first encryption method, firstly, partial characters are extracted from the first public key of the security printing device and the second public key of the user according to the character extraction rule of the first preset reorganization rule, and then the extracted characters are combined according to the character combination rule of the first preset reorganization rule, so as to determine the first combination key. Since the connection mode between the security printing device and the computer network is a one-way blocking network, the security printing device cannot transmit any data to the computer network through the network cable, so it is impossible to improve the security of data transmission by regularly updating the public key and private key of the security printing device. Considering that the public key and private key of the user can be updated at any time and fed back to the security printing device, after each update of the public key and private key of the user is completed, the first combination key is updated by the updated second public key of the user and the first public key of the security printing device, and the characters extracted from the second public key of the user are sent to the security printing device from the private key characters of the corresponding positions of the second private key of the user. Since the characters sent are partial private key characters, the second private key of the user will not cause data leakage. At the same time, the data encryption transmission of the data to be printed by the first combination key can improve the security of data transmission.

[0109] Similarly, in the second encryption method, since the risk level of the encrypted data is relatively high, the data to be printed is encrypted by means of third-party assistance. The third party randomly selects another computer device that has been started in the current computer network for the system, generates a set of first and second keys that correspond to each other through the private key of the user corresponding to the other computer device, extracts characters by using the first key instead of the second public key of the current user, and combines the characters extracted from the first public key of the security printing device to obtain a second combination key, and encrypts the data to be printed by using the second combination key. In addition, when there are no other computers that have been started in the current computer network, the first and second keys can be randomly generated by the system. In the case where the first and second keys are randomly generated by the system, the second preset reorganization rule is adjusted, and the second combination key is jointly generated by the second public key of the user, the first key, and the first public key of the security printing device.

[0110] According to an embodiment of the present invention, the secure printing device performs data cleaning and data integrity verification on a transmission data packet, including:

[0111] The security printing device performs data verification on the transmission data in the received transmission data packet;

[0112] The secure printing device splits and reorganizes the transmission data in the transmission data packet according to the third preset reorganization rule, deletes the junk data of the non-compliant printing data, and obtains the data packet to be decrypted;

[0113] Screen the data to be decrypted in the data packet to be decrypted to obtain the digital signature to be verified;

[0114] The data integrity of the data packet to be decrypted is verified based on the digital signature to be verified.

[0115] It should be noted that for the data received from the network, the security printing device scans the data in the transmission data packet through the compliance detection module according to the third preset reorganization rule generated by the system preset algorithm, deletes the non-compliant printed data, and ensures that only compliant printing data can be transmitted to the subsequent printing management module.

[0116] After receiving the data packet to be decrypted, the printing management module first verifies the data integrity of the data packet to be decrypted through the digital signature to be verified in the data packet to be decrypted, determines the user identity information through an external identity recognition device, and retrieves the user's second private key based on the user identity information to verify the data integrity of the first decrypted data obtained by decrypting the signature of the data to be verified.

[0117] According to an embodiment of the present invention, verifying the data integrity of a data packet to be decrypted based on a digital signature to be verified includes:

[0118] Verify the user's identity through an external identity recognition device to determine the user's identity information;

[0119] Obtaining a second ciphertext based on the user identity information, recombining the second ciphertext and a third ciphertext recorded in the security printing device based on a fourth preset recombining rule, and determining a fourth key;

[0120] Decrypting the digital signature to be verified by using the fourth key to obtain first decrypted data;

[0121] An analysis is performed based on the first decrypted data to verify the data integrity of the data packet to be decrypted.

[0122] It should be noted that the external identification device can be a card reader such as an RF card, an NFC card, an IC card, an ID card, or a biometric identification device such as a face recognition, an iris recognition, a fingerprint recognition, a palm print recognition, or a voice print recognition. The external identification device stores part of each user's second private key, i.e., the second ciphertext. When the user identity authentication is successful, the corresponding second ciphertext is retrieved from the external identification device, i.e., the private key characters corresponding to the user's public key characters are extracted through the first or second preset reorganization rule, and the corresponding third ciphertext, i.e., the private key characters other than the second ciphertext, are retrieved from the security printing device through the user identity information. The second ciphertext and the third ciphertext are reorganized according to the fourth preset reorganization rule to determine the fourth key, i.e., the user's second private key. The first decrypted data includes the generation timestamp of the task to be printed, the user identity information of the corresponding user, and the relevant data of the task to be printed. The integrity of the user identity information in the first decrypted data is determined, and it is compared with the user identity information obtained by the external identification device. If they are consistent, it is determined that the data to be decrypted is complete data, and there is no malicious risk such as data tampering during the data transmission process.

[0123] According to an embodiment of the present invention, the security printing device determines the first data to be decrypted according to the user identity information of the user, including:

[0124] When the data integrity verification of the data packet to be decrypted succeeds, the data to be decrypted in the data packet to be decrypted is screened based on the user identity information to determine the first data to be decrypted;

[0125] Selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the user's data to be printed;

[0126] When the data integrity verification of the data packet to be decrypted fails, the relevant data is deleted based on the user identity information.

[0127] It should be noted that the data to be decrypted contains the user identity information of the corresponding user. The printing data management module filters the data to be decrypted containing the current user identity information from the data packet to be decrypted based on the identified user identity information, and determines the corresponding encryption method based on the risk level of the data to be decrypted, thereby selecting the corresponding decryption method to decrypt the data to be decrypted, thereby obtaining the data to be printed that matches the user identity information, and generates a print task in combination with the print operation selected by the user, which is then sent to the printer for printing.

[0128] Figure 3 A flow chart of a method for decoding first data to be decrypted according to the present invention is shown.

[0129] like Figure 3As shown, according to an embodiment of the present invention, based on the encryption method of the first data to be decrypted, a corresponding preset decryption method is selected to decrypt the first data to be decrypted to obtain the user's data to be printed, including:

[0130] The preset decryption method includes a first decryption method and a second decryption method;

[0131] S302, when the encryption method of the first data to be decrypted is the first encryption method, recombining the first private key and the second ciphertext of the security printing device to obtain a third combined key;

[0132] S304, decrypting the first data to be decrypted using the third combined key;

[0133] S306, when the encryption method of the first data to be decrypted is the second encryption method, decrypt the first ciphertext using the first private key of the security printing device to obtain a second key;

[0134] S308, recombining the first private key and the second key of the security printing device to obtain a fourth combined key;

[0135] S310: Decrypt the first data to be decrypted using the fourth combined key.

[0136] It should be noted that the first decryption method is used to decrypt the data to be decrypted obtained by the first encryption method, and the second decryption method is used to decrypt the data to be decrypted obtained by the second encryption method. The first data to be decrypted contains label data containing the corresponding encryption method, and the encryption method of the first data to be decrypted can be determined by the annotation information of the first data to be decrypted. When the encryption method of the first data to be decrypted is the first encryption method, the first key and the second ciphertext are recombined by the first preset reorganization rule to obtain the third combined key to decrypt the first data to be decrypted. Among them, the third combined key is used to decrypt the data encrypted by the first combined key; when the encryption method of the first data to be decrypted is the second encryption method, the first private key and the second key are recombined by the second preset reorganization rule to obtain the fourth combined key to decrypt the first data to be decrypted. Among them, the fourth combined key is used to decrypt the data encrypted by the second combined key.

[0137] Since the private key characters corresponding to the user's public key characters extracted by the first or second preset reorganization rule can be obtained only after successful user identity authentication, the data to be decrypted can be decrypted only after successful user identity authentication, thereby ensuring the data security of the data to be decrypted.

[0138] According to an embodiment of the present invention, it also includes:

[0139] The connection mode between the security printing device and the computer network is a one-way blocking network.

[0140] It should be noted that the security printing device is interconnected with the computer network through the outbound data blocking module, and its connection method is a one-way blocking network, that is, the data sent by the computer network can be received through the outbound data blocking module, and the data sent by the printer to the security printing device will be blocked by the outbound data blocking module in the security printing device, and no data will be sent to the working network environment.

[0141] According to an embodiment of the present invention, it also includes:

[0142] Displaying the execution status of the printing task through the secure printing device;

[0143] When the print task is printed successfully, the secure printing device destroys the print task and related data.

[0144] It should be noted that the print task of the compliant print data is displayed on the device screen of the secure printing device, including detailed information of the print task, task execution status, etc. When the print task is completed, all data related to the print task is destroyed through the print data burn module to ensure that the relevant data content of the print task cannot be obtained by other means later.

[0145] According to an embodiment of the present invention, it also includes:

[0146] The security printing device is provided with an equipment anti-theft data security module and a housing disassembly monitoring module;

[0147] When the device anti-theft data security module detects that the security printing device is powered off and shut down, it automatically destroys all data in the security printing device;

[0148] When the shell disassembly monitoring module detects that the shell of the security printing device is in an opened state, all data in the security printing device is automatically destroyed.

[0149] It should be noted that, considering that criminals may obtain data by stealing physical devices (i.e., secure printing devices), the device anti-theft data security module will automatically destroy all existing print data when the device is powered off (including active and inactive situations) to ensure that data will not be leaked due to theft or loss of physical devices. In addition, in order to prevent data or storage media from being stolen after the shell is manually broken, the shell installation status is monitored by the shell disassembly monitoring module. When the shell is detected to be separated, all existing print data is immediately destroyed.

[0150] Figure 4 A block diagram of a network printer security printing system of the present invention is shown.

[0151] like Figure 4 As shown, the second aspect of the present invention provides a network printer security printing system, comprising:

[0152] A data acquisition module is used to obtain the user's printing tasks;

[0153] A risk assessment module, used to conduct risk assessment on the user's printing task to determine the risk level of the printing task;

[0154] A data encryption module is used to select a corresponding preset encryption method based on the risk level of the printing task, encrypt the data to be printed by using the first combination key or the second combination key to obtain an encrypted data packet; the preset encryption method includes the first encryption method and the second encryption method; randomly generate junk data based on the system preset rules and mix them into the encrypted data packet to obtain a transmission data packet, and send the transmission data packet to the security printing device;

[0155] A data verification module, used for the security printing device to perform data cleaning and data integrity verification on the transmitted data packet;

[0156] A data decryption module, used for the security printing device to determine the first data to be decrypted through the user identity information of the user, and select a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the user's data to be printed;

[0157] The data sending module is used for the secure printing device to send the user's to-be-printed data to the printer.

[0158] A third aspect of the present invention provides a computer-readable storage medium, which includes a network printer secure printing method program. When the network printer secure printing method program is executed by a processor, the steps of the above network printer secure printing method are implemented.

[0159] The present invention discloses a network printer security printing method and system, the method comprises: obtaining a user's printing task, performing risk assessment to determine the risk level of the printing task, thereby selecting a corresponding preset encryption method, encrypting the data to be printed by using a first combination key or a second combination key to obtain an encrypted data packet; randomly generating junk data based on a system preset rule and adding it to the encrypted data packet to obtain a transmission data packet, and sending the transmission data packet to a security printing device; the security printing device performs data cleaning and data integrity verification on the transmission data packet; determining the first data to be decrypted by using user identity information, selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt, obtaining the user's data to be printed and sending it to the printer. The present invention improves the security of data transmission, effectively prevents the theft of printing data through the network, and avoids the security risks of the computer network caused by the implantation of viruses in the printer.

[0160] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0161] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0162] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0163] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0164] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A network printer secure printing method, It is characterized in that include: Get the user's print task; Performing risk assessment on the user's printing task to determine the risk level of the printing task; Selecting a corresponding preset encryption method based on the risk level of the printing task, encrypting the data to be printed by using the first combined key or the second combined key to obtain an encrypted data packet; the preset encryption method includes a first encryption method and a second encryption method; Randomly generate junk data based on system preset rules and mix them into the encrypted data packet to obtain a transmission data packet, and send the transmission data packet to the security printing device; The secure printing device performs data cleaning and data integrity verification on the transmission data packet; The secure printing device determines the first data to be decrypted according to the user identity information of the user, and selects a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the data to be printed by the user; The secure printing device sends the user's data to be printed to the printer; The step of selecting a corresponding preset encryption method based on the risk level of the printing task to perform encryption to obtain an encrypted data packet includes: When the risk level of the data to be printed is less than a first preset threshold, encrypting the data to be printed by a first encryption method to obtain first encrypted data; On the contrary, the data to be printed is segmented based on a preset segmentation rule to obtain a plurality of first sub-data; Performing risk assessment on each first sub-data in turn based on a preset risk determination rule to determine a risk level of each first sub-data; Merging first sub-data with the same risk level to obtain a plurality of second sub-data; Encrypting the second sub-data whose risk level is less than the first preset threshold by the first encryption method, and encrypting the second sub-data whose risk level is greater than or equal to the first preset threshold by the second encryption method, to obtain a plurality of first encrypted data; generating a digital signature based on the second public key of the user and the task attribute of the task to be printed; Integrate all the first encrypted data and the digital signature to obtain an encrypted data packet; Also includes: The first encryption method is to reorganize the first public key of the security printing device and the second public key of the user based on a first preset reorganization rule to obtain a first combined key; encrypting the data to be printed by using the first combined key; The second encryption method is to randomly select another computer in the working environment network, and generate a set of corresponding first keys and second keys based on the private key of the other computer; Encrypting the second key by using the first public key of the security printing device to obtain a first ciphertext, and sending the first ciphertext to the security printing device; Recombining the first public key of the security printing device and the first secret key based on a second preset recombining rule to obtain a second combined key; encrypting the data to be printed by using the second combined key; The secure printing device performs data cleaning and data integrity verification on the transmission data packet, including: The security printing device performs data verification on the transmission data in the received transmission data packet; The secure printing device splits and reorganizes the transmission data in the transmission data packet according to a third preset reorganization rule, deletes junk data of non-compliant printing data, and obtains a data packet to be decrypted; Screening the data to be decrypted in the data packet to be decrypted to obtain a digital signature to be verified; The data integrity of the data packet to be decrypted is verified based on the digital signature to be verified.

2. The network printer secure printing method according to claim 1, It is characterized in that The verifying the data integrity of the data packet to be decrypted based on the digital signature to be verified includes: Verify the user's identity through an external identity recognition device to determine the user's identity information; Obtaining a second ciphertext based on the user identity information, recombining the second ciphertext and the third ciphertext recorded in the security printing device based on a fourth preset recombining rule, and determining a fourth key; Decrypting the digital signature to be verified by using the fourth key to obtain first decrypted data; An analysis is performed based on the first decrypted data to verify the data integrity of the data packet to be decrypted.

3. The network printer secure printing method according to claim 1, It is characterized in that The secure printing device determines first data to be decrypted according to the user identity information of the user, including: When the data integrity verification of the data packet to be decrypted succeeds, the data to be decrypted in the data packet to be decrypted is screened based on the user identity information to determine the first data to be decrypted; Selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the user's data to be printed; When the data integrity verification of the data packet to be decrypted fails, the relevant data is deleted based on the user identity information.

4. The network printer secure printing method according to claim 2, It is characterized in that The step of selecting a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted to obtain the user's data to be printed includes: The preset decryption method includes a first decryption method and a second decryption method; When the encryption method of the first data to be decrypted is the first encryption method, recombining the first private key of the security printing device and the second ciphertext to obtain a third combined key; Decrypting the first data to be decrypted using the third combined key; When the encryption method of the first data to be decrypted is the second encryption method, decrypting the first ciphertext using the first private key of the security printing device to obtain a second key; Recombining the first private key and the second key of the security printing device to obtain a fourth combined key; The first data to be decrypted is decrypted using the fourth combined key.

5. The network printer secure printing method according to claim 1, It is characterized in that Also includes: The connection mode between the security printing device and the computer network is a one-way blocking network.

6. The network printer secure printing method according to claim 1, It is characterized in that Also includes: The security printing device is provided with a device anti-theft data security module and a housing disassembly monitoring module; When the device anti-theft data security module detects that the security printing device is powered off and shut down, it automatically destroys all data in the security printing device; When the shell disassembly monitoring module detects that the shell of the security printing device is in an open state, all data in the security printing device are automatically destroyed.

7. A network printer secure printing system, It is characterized in that A method for implementing a network printer secure printing method as claimed in any one of claims 1 to 6, comprising: A data acquisition module is used to obtain the user's printing tasks; A risk assessment module, used to perform risk assessment on the user's printing task to determine the risk level of the printing task; A data encryption module, configured to select a corresponding preset encryption method based on the risk level of the printing task, encrypt the data to be printed by using a first combination key or a second combination key to obtain an encrypted data packet; the preset encryption method includes a first encryption method and a second encryption method; randomly generate junk data based on a system preset rule and mix it into the encrypted data packet to obtain a transmission data packet, and send the transmission data packet to a secure printing device; A data verification module, used by the security printing device to perform data cleaning and data integrity verification on the transmission data packet; A data decryption module, used for the secure printing device to determine the first data to be decrypted according to the user identity information of the user, and to select a corresponding preset decryption method based on the encryption method of the first data to be decrypted to decrypt the first data to be decrypted, so as to obtain the data to be printed by the user; A data sending module, used for the secure printing device to send the user's to-be-printed data to the printer; The step of selecting a corresponding preset encryption method based on the risk level of the printing task to perform encryption to obtain an encrypted data packet includes: When the risk level of the data to be printed is less than a first preset threshold, encrypting the data to be printed by a first encryption method to obtain first encrypted data; On the contrary, the data to be printed is segmented based on a preset segmentation rule to obtain a plurality of first sub-data; Performing risk assessment on each first sub-data in turn based on a preset risk determination rule to determine a risk level of each first sub-data; Merging first sub-data with the same risk level to obtain a plurality of second sub-data; Encrypting the second sub-data whose risk level is less than the first preset threshold by the first encryption method, and encrypting the second sub-data whose risk level is greater than or equal to the first preset threshold by the second encryption method, to obtain a plurality of first encrypted data; generating a digital signature based on the second public key of the user and the task attribute of the task to be printed; Integrate all the first encrypted data and the digital signature to obtain an encrypted data packet; Also includes: The first encryption method is to reorganize the first public key of the security printing device and the second public key of the user based on a first preset reorganization rule to obtain a first combined key; encrypting the data to be printed by using the first combined key; The second encryption method is to randomly select another computer in the working environment network, and generate a set of corresponding first keys and second keys based on the private key of the other computer; Encrypting the second key by using the first public key of the security printing device to obtain a first ciphertext, and sending the first ciphertext to the security printing device; Recombining the first public key of the security printing device and the first secret key based on a second preset recombining rule to obtain a second combined key; encrypting the data to be printed by using the second combined key; The secure printing device performs data cleaning and data integrity verification on the transmission data packet, including: The security printing device performs data verification on the transmission data in the received transmission data packet; The secure printing device splits and reorganizes the transmission data in the transmission data packet according to a third preset reorganization rule, deletes junk data of non-compliant printing data, and obtains a data packet to be decrypted; Screening the data to be decrypted in the data packet to be decrypted to obtain a digital signature to be verified; The data integrity of the data packet to be decrypted is verified based on the digital signature to be verified.