Encryption control method and system for printing data in printer

By dividing the printed data into sub-data and defining encryption parameters according to their type, and dynamically adjusting the encryption method, the problem that the encryption control method in the prior art cannot effectively ensure the confidentiality of the print data is solved, and the multi-dimensional encryption control of the print data is realized and the multi-dimensional encryption control and Dynamic security.

CN118764198BActive Publication Date: 2024-12-27ZHUHAI XPRINTER ELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The encryption control method for printing data in existing printers cannot effectively ensure the confidentiality of data, and dynamic encryption control cannot be achieved by relying solely on a fixed encryption password.

Method used

By dividing the printed data into sub-print data, defining encryption parameters according to the type and matching parameters of the sub-print data, building encryption passwords and encryption methods, dynamically adjusting the encryption method to achieve multi-dimensional control of data.

Benefits of technology

Accurate encryption control of printed data is realized, the dynamic security of data during transmission is ensured, and the flexibility and effectiveness of encryption control is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764198B_ABST
    Figure CN118764198B_ABST
Patent Text Reader

Abstract

The present invention discloses an encryption control method and system for printing data in a printer, which define corresponding matching parameters based on the matching of multiple sub-printing data; define corresponding encryption parameters according to the matching parameters, sub-printing data and the printing type corresponding to the sub-printing data; construct corresponding encryption passwords according to the various encryption parameters; match corresponding encryption means according to the printing type corresponding to the sub-printing data, so as to facilitate the management and control of the encryption password and the encryption means, and then define encryption control logic for printing data according to the encryption means and the encryption password, so as to facilitate the management and control of the encryption control logic for printing data based on the encryption means and the encryption password, thereby realizing encryption management and control of printing data, and controlling the encryption method of printing data in the encryption control logic, triggering dynamic changes of the encryption means according to the encryption method of printing data and the corresponding printing time period, thereby realizing dynamic regulation and control of the encryption means and the encryption password.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of printers, and in particular to an encryption control method and system for printing data in a printer. Background Art

[0002] With the development of science and technology, printers are used in people's lives and communicate with cloud servers. The printer receives the printing data transmitted by the cloud server and prints the printing data. At the same time, the printing data has a certain confidentiality. In the prior art, the printing data transmitted by the cloud server is encrypted, and an encryption password corresponding to the printing data mark transmitted by the cloud server is set. The encryption password is preset manually and will not change. Control only by the encryption password affects the encryption management and control of the printing data, and the encryption control of the printing data in the printer cannot be guaranteed. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides an encryption control method and system for printing data in a printer, which defines corresponding matching parameters based on the matching of multiple sub-print data; defines corresponding encryption parameters according to the matching parameters, sub-print data and the printing type corresponding to the sub-print data; constructs corresponding encryption passwords according to each encryption parameter; matches corresponding encryption means according to the printing type corresponding to the sub-print data, so as to facilitate the management and control of encryption passwords and encryption means, and then defines encryption control logic for printing data according to encryption means and encryption passwords, so as to facilitate the management and control of encryption control logic for printing data based on encryption means and encryption passwords, realizes encryption management and control of printing data, and controls the encryption method of printing data in the encryption control logic, triggers dynamic changes of encryption means according to the encryption method of printing data and the corresponding printing time period, thereby realizing dynamic regulation of encryption means and encryption passwords, and then realizes dynamic regulation of encryption means and encryption passwords, and introduces the factor of printing time period, so as to ensure encryption control of printing data in the printer.

[0004] In order to solve the above technical problems, an embodiment of the present invention provides an encryption control method for printing data in a printer, which is applied to an encryption control scenario of printing data in a printer;

[0005] The encryption control method for printing data in the printer comprises:

[0006] Associating the printer with the cloud server, and collecting the print data transmitted by the cloud server based on the printer;

[0007] Freeze the print data, and divide the print data into a plurality of sub-print data;

[0008] In each sub-print data, a corresponding print type is defined based on the sub-print data, and a corresponding matching parameter is defined based on matching of the plurality of sub-print data;

[0009] Define corresponding encryption parameters according to the matching parameters, the sub-print data and the print type corresponding to the sub-print data;

[0010] Collect encryption parameters corresponding to each sub-print data, and construct corresponding encryption passwords according to each encryption parameter; match corresponding encryption means according to the printing type corresponding to the sub-print data;

[0011] The encryption control logic of the printing data is defined according to the encryption means and the encryption password, and the encryption method of the printing data is managed and controlled in the encryption control logic, and the dynamic change of the encryption means is triggered according to the encryption method of the printing data and the corresponding printing time period.

[0012] Optionally, associating the printer with the cloud server and collecting the print data transmitted by the cloud server based on the printer includes:

[0013] Locate the printer and the cloud server, and match the corresponding communication path according to the printer and the cloud server;

[0014] Associating the printer and the cloud server based on the communication path, and triggering online communication between the printer and the cloud server;

[0015] Traverse the cloud server and define the printing data based on the delivery database of the cloud server;

[0016] Freeze the print data and define the amount of print data; collect the printer's print progress online and define the printer's print status based on the print progress;

[0017] The printing status and the amount of the printing data are associated, a corresponding communication mode is matched according to the printing status, the amount of the printing data and the current communication path, and the transmission progress of the printing data is regulated based on the communication mode.

[0018] Optionally, the freezing of the print data and dividing the print data into a plurality of sub-print data include:

[0019] Freeze-frame print data;

[0020] Match the corresponding data process table according to the printed data;

[0021] Match the corresponding data nodes based on the data process table;

[0022] Output the corresponding data space according to the traversal of the data nodes;

[0023] Synchronously traverse each data space, and define corresponding sub-print data based on each data space;

[0024] The plurality of sub-printing data are associated and merged according to the plurality of sub-printing data and corresponding printing marks to form the optimized plurality of sub-printing data.

[0025] Optionally, in each sub-print data, defining a corresponding print type based on the sub-print data, and defining a corresponding matching parameter based on matching of a plurality of sub-print data, includes:

[0026] In each sub-print data, a corresponding print type is defined based on the sub-print data;

[0027] Associating each print type with a print mode preferred by the printer, and performing priority division for each print type to define the priority of each sub-print data;

[0028] triggering matching of the plurality of sub-print data along the priorities of the respective sub-print data;

[0029] Corresponding matching parameters are defined based on the matching of the plurality of sub-print data.

[0030] Optionally, defining corresponding encryption parameters according to the matching parameters, the sub-print data, and the print type corresponding to the sub-print data includes:

[0031] Set each matching parameter;

[0032] Sorting is performed based on each matching parameter, and parameter levels are defined according to each matching parameter;

[0033] defining a first encryption factor according to the parameter level and the priority of the sub-print data;

[0034] Collect sub-printing data and the printing type corresponding to the sub-printing data;

[0035] defining a second encryption factor based on the sub-print data and the printing type corresponding to the sub-print data;

[0036] The matching parameters, the sub-print data and the printing type corresponding to the sub-print data are associated, and the corresponding encryption parameters are defined according to the second encryption factor, the first encryption factor and the encryption matching table to clarify the encryption parameters corresponding to each sub-print data.

[0037] Optionally, the collecting of encryption parameters corresponding to each sub-print data and constructing corresponding encryption passwords according to each encryption parameter; and matching corresponding encryption means according to the printing type corresponding to the sub-print data include:

[0038] Collect encryption parameters corresponding to each sub-print data;

[0039] Constructing a plurality of encryption parameter combinations based on the encryption parameters corresponding to the collected sub-printing data;

[0040] The confidentiality level of the encryption parameter combination is defined based on the traversal of multiple encryption parameter combinations, and the encryption parameter combination corresponding to the core confidentiality level is screened.

[0041] Optionally, the step of collecting encryption parameters corresponding to each sub-print data and constructing corresponding encryption passwords according to each encryption parameter; and matching corresponding encryption means according to the printing type corresponding to the sub-print data, further includes:

[0042] Match the corresponding password method based on the encryption parameter combination corresponding to the core confidentiality level;

[0043] Construct corresponding encryption passwords according to various encryption parameters and corresponding encryption methods;

[0044] The printing type corresponding to the fixed grid printing data;

[0045] The corresponding encryption means is matched according to the printing type corresponding to the sub-print data and the priority of the sub-print data.

[0046] Optionally, the encryption control logic of the print data is defined according to the encryption means and the encryption password, and the encryption method of the print data is controlled in the encryption control logic, and the dynamic change of the encryption means is triggered according to the encryption method of the print data and the corresponding printing time period, including:

[0047] Freeze encryption means and encryption passwords;

[0048] Associating encryption means and encryption passwords, and defining corresponding association levels according to the encryption means and encryption passwords;

[0049] The encryption control logic of the print data is defined according to the association level, encryption method and encryption password.

[0050] Optionally, the encryption control logic of the print data is defined according to the encryption means and the encryption password, and the encryption method of the print data is controlled in the encryption control logic, and the dynamic change of the encryption means is triggered according to the encryption method of the print data and the corresponding printing time period, and further includes:

[0051] In the encryption control logic, the encryption method of the printing data is controlled and the corresponding encryption method is fixed;

[0052] Associate encryption methods and corresponding printing time periods;

[0053] The encryption method is dynamically changed according to the encryption method of the print data and the corresponding printing time period.

[0054] In addition, an embodiment of the present invention further provides an encryption control system for print data in a printer, the encryption control system for print data in the printer comprising:

[0055] The acquisition module is used to associate the printer with the cloud server and acquire the print data transmitted by the cloud server based on the printer;

[0056] A sub-printing data module, used for freezing the printing data and dividing the printing data into a plurality of sub-printing data;

[0057] A matching parameter module, used for defining a corresponding printing type based on the sub-print data in each sub-print data, and defining a corresponding matching parameter based on matching of a plurality of sub-print data;

[0058] An encryption parameter module, used for defining corresponding encryption parameters according to matching parameters, sub-print data and the printing type corresponding to the sub-print data;

[0059] The encryption module is used to collect encryption parameters corresponding to each sub-printing data, and construct corresponding encryption passwords according to each encryption parameter; and match corresponding encryption means according to the printing type corresponding to the sub-printing data;

[0060] The dynamic module is used to define the encryption control logic of the printing data according to the encryption means and the encryption password, and to manage the encryption method of the printing data in the encryption control logic, and to trigger the dynamic change of the encryption means according to the encryption method of the printing data and the corresponding printing time period.

[0061] In an embodiment of the present invention, through the method in the embodiment of the present invention, the printer and the cloud server are associated, and the print data transmitted by the cloud server is collected based on the printer; the print data is frozen, and a plurality of sub-print data are divided according to the print data; in each sub-print data, a corresponding print type is defined based on the sub-print data, and corresponding matching parameters are defined based on the matching of multiple sub-print data; corresponding encryption parameters are defined according to the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, thereby introducing multi-dimensional control of the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, and performing multi-dimensional control on the encryption parameters, so as to ensure the accuracy of the encryption parameters, thereby accurately controlling the encryption parameters corresponding to each sub-print data.

[0062] Furthermore, encryption parameters corresponding to each sub-print data are collected, and corresponding encryption passwords are constructed according to each encryption parameter; corresponding encryption means are matched according to the printing type corresponding to the sub-print data, so as to facilitate the management and control of the encryption password and encryption means, and then the encryption control logic of the print data is defined according to the encryption means and the encryption password, so as to facilitate the management and control of the encryption control logic of the print data based on the encryption means and the encryption password, thereby realizing the encryption management and control of the print data, and controlling the encryption method of the print data in the encryption control logic, so as to trigger the dynamic change of the encryption means according to the encryption method of the print data and the corresponding printing time period, thereby realizing the dynamic regulation of the encryption means and the encryption password, and introducing the factor of the printing time period, so as to ensure the encryption control of the print data in the printer. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0064] Figure 1 is a flow chart of a method for controlling encryption of print data in a printer in an embodiment of the present invention;

[0065] Figure 2 is a flow chart of S11 in the method for controlling encryption of print data in a printer in an embodiment of the present invention;

[0066] Figure 3 is a flow chart of S12 in the method for controlling encryption of print data in a printer in an embodiment of the present invention;

[0067] Figure 4 is a schematic flow chart of S13 in the method for controlling encryption of print data in a printer in an embodiment of the present invention;

[0068] Figure 5 is a flow chart of S14 in the method for controlling encryption of print data in a printer in an embodiment of the present invention;

[0069] Figure 6 is a flow chart of S15 in the method for controlling encryption of print data in a printer in an embodiment of the present invention;

[0070] Figure 7 is a schematic flow chart of S16 in the method for controlling encryption of print data in a printer in an embodiment of the present invention;

[0071] Figure 8It is a schematic diagram of the structure of the encryption control system of print data in the printer in the embodiment of the present invention;

[0072] Fig. 9 The figure is a hardware diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0073] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0074] See also Figures 1 to 9 , a method for encrypting and controlling printing data in a printer, which is applied to a scenario of encrypting and controlling printing data in a printer; the method for encrypting and controlling printing data in a printer comprises:

[0075] Step S11: Associating the printer with the cloud server, and collecting the print data transmitted by the cloud server based on the printer;

[0076] Step S12: freeze the print data, and divide the print data into a plurality of sub-print data;

[0077] Step S13: in each sub-print data, defining a corresponding print type based on the sub-print data, and defining a corresponding matching parameter based on matching of a plurality of sub-print data;

[0078] Step S14: defining corresponding encryption parameters according to the matching parameters, the sub-print data and the print type corresponding to the sub-print data;

[0079] Step S15: collecting encryption parameters corresponding to each sub-printing data, and constructing corresponding encryption passwords according to each encryption parameter; matching corresponding encryption means according to the printing type corresponding to the sub-printing data;

[0080] Step S16: define the encryption control logic of the printing data according to the encryption means and the encryption password, and manage the encryption method of the printing data in the encryption control logic, and trigger the dynamic change of the encryption means according to the encryption method of the printing data and the corresponding printing time period.

[0081] In an embodiment of the present invention, through the method in the embodiment of the present invention, the printer and the cloud server are associated, and the print data transmitted by the cloud server is collected based on the printer; the print data is frozen, and a plurality of sub-print data are divided according to the print data; in each sub-print data, a corresponding print type is defined based on the sub-print data, and corresponding matching parameters are defined based on the matching of multiple sub-print data; corresponding encryption parameters are defined according to the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, thereby introducing multi-dimensional control of the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, and performing multi-dimensional control on the encryption parameters, so as to ensure the accuracy of the encryption parameters, thereby accurately controlling the encryption parameters corresponding to each sub-print data.

[0082] Furthermore, encryption parameters corresponding to each sub-print data are collected, and corresponding encryption passwords are constructed according to each encryption parameter; corresponding encryption means are matched according to the printing type corresponding to the sub-print data, so as to facilitate the management and control of the encryption password and encryption means, and then the encryption control logic of the print data is defined according to the encryption means and the encryption password, so as to facilitate the management and control of the encryption control logic of the print data based on the encryption means and the encryption password, thereby realizing the encryption management and control of the print data, and controlling the encryption method of the print data in the encryption control logic, so as to trigger the dynamic change of the encryption means according to the encryption method of the print data and the corresponding printing time period, thereby realizing the dynamic regulation of the encryption means and the encryption password, and introducing the factor of the printing time period, so as to ensure the encryption control of the print data in the printer.

[0083] refer to Figure 2 In step S11, the printer and the cloud server are associated, and the printing data transmitted by the cloud server is collected by the printer;

[0084] In the specific implementation process of the present invention, the specific steps may be:

[0085] S111: Locate the printer and the cloud server, and match a corresponding communication path according to the printer and the cloud server;

[0086] S112: Associating the printer with the cloud server based on the communication path, and triggering online communication between the printer and the cloud server;

[0087] S113: traversing the cloud server and defining the printing data based on the delivery database of the cloud server;

[0088] S114: freeze the print data and define the data volume of the print data; collect the print progress of the printer online and define the print status of the printer according to the print progress;

[0089] S115: Associating the printing status and the data volume of the printing data, matching a corresponding communication mode according to the printing status, the data volume of the printing data and the current communication path, and regulating the transmission progress of the printing data based on the communication mode.

[0090] In an embodiment of the present application, the printer and the cloud server are located, and the corresponding communication path is matched according to the printer and the cloud server, so as to build communication between the printer and the cloud server through the communication path, thereby realizing online communication between the printer and the cloud server and making full use of the cloud server's control over data.

[0091] Therefore, the printer and the cloud server are associated based on the communication path, and online communication between the printer and the cloud server is triggered, so as to ensure online communication between the printer and the cloud server and realize data interaction between the printer and the cloud server.

[0092] Furthermore, the cloud servers are traversed, and the printing data is defined based on the delivery database of the cloud servers, so that the printing data is introduced, thereby controlling the printing data, freezing the printing data, and defining the data volume of the printing data, thereby realizing the evaluation of the data volume of the printing data, so as to introduce further control of the data volume of the printing data.

[0093] Collect the printing process of the printer online, and define the printing status of the printer according to the printing process; associate the printing status and the data volume of the printing data, match the corresponding communication mode according to the printing status, the data volume of the printing data and the current communication path, and adjust the transmission progress of the printing data based on the communication mode, so as to control the printing status, the data volume of the printing data and the current communication path in multiple dimensions, so as to control the communication mode based on the printing status, the data volume of the printing data and the current communication path, so as to adjust the transmission progress of the printing data according to the communication mode, thereby realizing dynamic control of the transmission progress of the printing data.

[0094] refer to Figure 3 , in step S12, the print data is frozen, and a plurality of sub-print data are divided according to the print data;

[0095] In the specific implementation process of the present invention, the specific steps may be:

[0096] S121: freeze-frame printing data;

[0097] S122: Matching the corresponding data process table according to the printing data;

[0098] S123: Matching corresponding data nodes based on the data process table;

[0099] S124: Outputting corresponding data space according to the traversal of data nodes;

[0100] S125: synchronously traversing each data space, and defining corresponding sub-printing data based on each data space;

[0101] S126: Associating the plurality of sub-printing data, and merging the plurality of sub-printing data and the corresponding printing marks to form a plurality of optimized sub-printing data.

[0102] In an embodiment of the present application, the print data is frozen to facilitate the introduction of the print data, and the print data is matched to facilitate matching the corresponding data process table according to the print data, thereby introducing the data process table, realizing the management and control of the data process table, and then matching the corresponding data nodes based on the data process table, so as to facilitate further management and classification of the data nodes, thereby realizing phased management and control.

[0103] Therefore, the corresponding data space is output according to the traversal of the data node, so as to introduce the corresponding data space, thereby controlling each data space, traversing each data space synchronously, and defining the corresponding sub-printing data based on each data space, so as to further control each sub-printing data.

[0104] Furthermore, multiple sub-print data are associated and merged according to the multiple sub-print data and corresponding printing marks to form multiple optimized sub-print data, so as to trigger the merging of multiple sub-print data according to the printing mark, classify the sub-print data of the same type to form multiple optimized sub-print data, and further process the optimized multiple sub-print data.

[0105] refer to Figure 4 In step S13, in each sub-print data, a corresponding print type is defined based on the sub-print data, and a corresponding matching parameter is defined based on matching of multiple sub-print data;

[0106] In the specific implementation process of the present invention, the specific steps may be:

[0107] S131: In each sub-print data, define a corresponding print type based on the sub-print data;

[0108] S132: Associating each printing type with the printing mode preferred by the printer, and dividing the priority of each printing type to define the priority of each sub-printing data;

[0109] S133: triggering matching of multiple sub-print data according to the priority of each sub-print data;

[0110] S134: defining corresponding matching parameters based on the matching of the plurality of sub-print data.

[0111] In an embodiment of the present application, in each sub-print data, a corresponding print type is defined based on the sub-print data to facilitate management and control of the print type corresponding to the sub-print data, thereby classifying each sub-print data according to the print type to ensure further processing of each sub-print data.

[0112] Therefore, each print type is associated with the print mode preferred by the printer, and each print type and the print mode preferred by the printer are dynamically interacted, so as to prioritize each print type and define the priority of each sub-print data, thereby dynamically controlling the priority of each sub-print data. At the same time, the matching of multiple sub-print data is triggered according to the priority of each sub-print data; corresponding matching parameters are defined based on the matching of multiple sub-print data, and the matching degree between multiple sub-print data is presented based on the matching parameters, so as to ensure the accuracy of the matching parameters.

[0113] refer to Figure 5 , S14: defining corresponding encryption parameters according to the matching parameters, the sub-print data and the print type corresponding to the sub-print data;

[0114] In the specific implementation process of the present invention, the specific steps may be:

[0115] S141: freeze various matching parameters;

[0116] S142: Sorting based on each matching parameter, and defining a parameter level according to each matching parameter;

[0117] S143: defining a first encryption factor according to the parameter level and the priority of the sub-print data;

[0118] S144: Collecting sub-printing data and the printing type corresponding to the sub-printing data;

[0119] S145: defining a second encryption factor based on the sub-print data and the print type corresponding to the sub-print data;

[0120] S146: Associating the matching parameter, the sub-print data and the printing type corresponding to the sub-print data, and defining corresponding encryption parameters according to the second encryption factor, the first encryption factor and the encryption matching table to clarify the encryption parameters corresponding to each sub-print data.

[0121] In an embodiment of the present application, a printer and a cloud server are associated, and print data transmitted via the cloud server is collected based on the printer; the print data is frozen, and a plurality of sub-print data are divided according to the print data; in each sub-print data, a corresponding print type is defined based on the sub-print data, and corresponding matching parameters are defined based on the matching of a plurality of sub-print data; corresponding encryption parameters are defined according to the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, thereby introducing multi-dimensional control of the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, and performing multi-dimensional control on the encryption parameters to ensure the accuracy of the encryption parameters, thereby accurately controlling the encryption parameters corresponding to each sub-print data.

[0122] At this time, each matching parameter is fixed so as to introduce each matching parameter, and is sorted based on each matching parameter so as to control each sorted matching parameter, thereby defining a parameter level according to each matching parameter so as to divide the parameter level for each matching parameter, making full use of the sorting of each matching parameter and the parameter level range. Optionally, the parameter level can be divided into 3 levels.

[0123] Parameter levels and priorities of sub-print data are introduced, and interaction is performed on the parameter levels and priorities of sub-print data, so as to define the first encryption factor according to the parameter levels and priorities of sub-print data. Thus, the first encryption factor is introduced, and the parameter levels and priorities of sub-print data are controlled in multiple dimensions to ensure the accuracy of the first encryption factor.

[0124] Furthermore, sub-print data and the print type corresponding to the sub-print data are collected, and association is performed between the sub-print data and the print type corresponding to the sub-print data to facilitate control of the sub-print data and the print type corresponding to the sub-print data, thereby defining a second encryption factor based on the sub-print data and the print type corresponding to the sub-print data, so as to introduce the second encryption factor, thereby ensuring the accuracy of the second encryption factor.

[0125] Therefore, matching parameters, sub-print data and the print type corresponding to the sub-print data are introduced, and association is performed between the matching parameters, sub-print data and the print type corresponding to the sub-print data to facilitate association between the matching parameters, sub-print data and the print type corresponding to the sub-print data, and corresponding encryption parameters are defined according to the second encryption factor, the first encryption factor and the encryption matching table, so as to control the second encryption factor, the first encryption factor and the encryption matching table in multiple dimensions, and then the accuracy of the encryption parameters is guaranteed according to the second encryption factor, the first encryption factor and the encryption matching table, and at the same time, the encryption parameters corresponding to each sub-print data are clarified.

[0126] refer to Figure 6 , S15: collecting encryption parameters corresponding to each sub-printing data, and constructing corresponding encryption passwords according to each encryption parameter; matching corresponding encryption means according to the printing type corresponding to the sub-printing data;

[0127] In the specific implementation process of the present invention, the specific steps may be:

[0128] S151: Collecting encryption parameters corresponding to each sub-printing data;

[0129] S152: constructing multiple encryption parameter combinations based on the encryption parameters corresponding to each sub-printing data;

[0130] S153: defining the confidentiality level of the encryption parameter combination based on the traversal of multiple encryption parameter combinations, and selecting the encryption parameter combination corresponding to the core confidentiality level;

[0131] S154: Matching a corresponding password mode based on the encryption parameter combination corresponding to the core confidentiality level;

[0132] S155: Constructing a corresponding encryption password according to each encryption parameter and the corresponding encryption method;

[0133] S156: setting the printing type corresponding to the grid printing data;

[0134] S157: Matching a corresponding encryption method according to the printing type corresponding to the sub-print data and the priority of the sub-print data.

[0135] In an embodiment of the present application, encryption parameters corresponding to each sub-print data are collected in order to freeze the encryption parameters corresponding to each sub-print data, so as to further control the encryption parameters corresponding to each sub-print data. At this time, multiple encryption parameter combinations are constructed based on the encryption parameters collected corresponding to each sub-print data, so as to perform combined operations on multiple encryption parameter combinations, thereby making full use of the combination of encryption parameters corresponding to each sub-print data, so as to control the interaction of encryption parameters corresponding to each sub-print data in combination.

[0136] Furthermore, the confidentiality level of the encryption parameter combination is defined based on the traversal of multiple encryption parameter combinations, so that the confidentiality level of the encryption parameter combination is divided according to the traversal of multiple encryption parameter combinations, so that the confidentiality level of the encryption parameter combination is introduced, thereby further controlling the confidentiality level of the encryption parameter combination.

[0137] At the same time, the confidentiality level of the encryption parameter combination is screened so as to facilitate ranking of the confidentiality level of the encryption parameter combination, thereby introducing the management and control of the confidentiality level of the encryption parameter combination so as to facilitate screening of the encryption parameter combination corresponding to the core confidentiality level. Optionally, the confidentiality level of the encryption parameter combination is the core confidentiality level, the ordinary confidentiality level, etc.

[0138] Therefore, the corresponding encryption method is matched based on the encryption parameter combination corresponding to the core confidentiality level, so that encryption planning can be carried out based on the encryption parameter combination corresponding to the core confidentiality level, so as to match the corresponding encryption method, and ensure the management and control of the encryption parameter combination corresponding to the core confidentiality level, so as to construct the corresponding encryption password according to each encryption parameter and the corresponding encryption method, so as to carry out multi-dimensional control based on each encryption parameter and the corresponding encryption method, thereby ensuring the accuracy of the encryption password.

[0139] At the same time, the print type corresponding to the sub-print data is frozen; the corresponding encryption means is matched according to the print type corresponding to the sub-print data and the priority of the sub-print data, so as to introduce the encryption means, so as to interact with the print type corresponding to the sub-print data and the priority of the sub-print data, so as to freeze the encryption means under multi-dimensional control, so as to further process the encryption means, and perform multi-dimensional encryption control on the encryption means and the encryption password.

[0140] refer to Figure 7 , S16: defining the encryption control logic of the printing data according to the encryption means and the encryption password, and controlling the encryption method of the printing data in the encryption control logic, and triggering the dynamic change of the encryption means according to the encryption method of the printing data and the corresponding printing time period;

[0141] In the specific implementation process of the present invention, the specific steps may be:

[0142] S161: Fixed frame encryption means and encryption password;

[0143] S162: Associating the encryption means and the encryption password, and defining a corresponding association level according to the encryption means and the encryption password;

[0144] S163: defining encryption control logic of the print data according to the association level, encryption means and encryption password;

[0145] S164: controlling the encryption method of the printing data in the encryption control logic, and fixing the corresponding encryption method;

[0146] S165: Associating the encryption method and the corresponding printing time period;

[0147] S166: triggering dynamic changes in encryption means according to the encryption method of the print data and the corresponding print time period.

[0148] In the specific implementation process of the present invention, the encryption parameters corresponding to each sub-print data are collected, and the corresponding encryption password is constructed according to each encryption parameter; the corresponding encryption means is matched according to the printing type corresponding to the sub-print data, so as to facilitate the management and control of the encryption password and the encryption means, and then the encryption control logic of the print data is defined according to the encryption means and the encryption password, so as to facilitate the management and control of the encryption control logic of the print data based on the encryption means and the encryption password, thereby realizing the encryption management and control of the print data, and controlling the encryption method of the print data in the encryption control logic, so as to trigger the dynamic change of the encryption means according to the encryption method of the print data and the corresponding printing time period, thereby realizing the dynamic regulation of the encryption means and the encryption password, and introducing the factor of the printing time period, so as to ensure the encryption control of the print data in the printer.

[0149] At this time, the encryption means and the encryption password are frozen in order to facilitate the interaction with the encryption means and the encryption password, so as to associate the encryption means and the encryption password, so as to define the corresponding association level according to the encryption means and the encryption password, and thus freeze the association level between the encryption means and the encryption password, so as to control the association level between the encryption means and the encryption password, thereby ensuring the degree of association between the encryption means and the encryption password.

[0150] Furthermore, the encryption control logic of the printing data is defined according to the association level, encryption means and encryption password, so as to facilitate multi-dimensional control over the association level, encryption means and encryption password, thereby controlling the encryption control logic of the printing data according to the association level, encryption means and encryption password, so as to introduce the encryption control logic of the printing data, and then further perform online encryption control according to the encryption control logic of the printing data.

[0151] Therefore, in the encryption control logic, the encryption method of the printing data is managed and controlled, and the corresponding encryption method is fixed; the encryption method and the corresponding printing time period are associated; the dynamic change of the encryption means is triggered according to the encryption method of the printing data and the corresponding printing time period, thereby realizing the dynamic regulation of the encryption means and the encryption password, and introducing the factor of the printing time period to ensure the encryption control of the printing data in the printer.

[0152] In an embodiment of the present invention, through the method in the embodiment of the present invention, the printer and the cloud server are associated, and the print data transmitted by the cloud server is collected based on the printer; the print data is frozen, and a plurality of sub-print data are divided according to the print data; in each sub-print data, a corresponding print type is defined based on the sub-print data, and corresponding matching parameters are defined based on the matching of multiple sub-print data; corresponding encryption parameters are defined according to the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, thereby introducing multi-dimensional control of the matching parameters, the sub-print data, and the print type corresponding to the sub-print data, and performing multi-dimensional control on the encryption parameters, so as to ensure the accuracy of the encryption parameters, thereby accurately controlling the encryption parameters corresponding to each sub-print data.

[0153] Furthermore, encryption parameters corresponding to each sub-print data are collected, and corresponding encryption passwords are constructed according to each encryption parameter; corresponding encryption means are matched according to the printing type corresponding to the sub-print data, so as to facilitate the management and control of the encryption password and encryption means, and then the encryption control logic of the print data is defined according to the encryption means and the encryption password, so as to facilitate the management and control of the encryption control logic of the print data based on the encryption means and the encryption password, thereby realizing the encryption management and control of the print data, and controlling the encryption method of the print data in the encryption control logic, so as to trigger the dynamic change of the encryption means according to the encryption method of the print data and the corresponding printing time period, thereby realizing the dynamic regulation of the encryption means and the encryption password, and introducing the factor of the printing time period, so as to ensure the encryption control of the print data in the printer.

[0154] System Example

[0155] See also Figure 8 , Figure 8 It is a schematic diagram of the structure of the encryption control system of print data in the printer in the embodiment of the present invention.

[0156] like Figure 8 As shown, an encryption control system for printing data in a printer, the encryption control system for printing data in the printer comprises:

[0157] The acquisition module 21 is used to associate the printer with the cloud server and acquire the print data transmitted by the cloud server based on the printer;

[0158] The sub-printing data module 22 is used to freeze the printing data and divide the printing data into a plurality of sub-printing data;

[0159] A matching parameter module 23, used for defining a corresponding printing type in each sub-print data based on the sub-print data, and defining a corresponding matching parameter based on matching of a plurality of sub-print data;

[0160] An encryption parameter module 24, used to define corresponding encryption parameters according to the matching parameters, the sub-print data and the print type corresponding to the sub-print data;

[0161] The encryption module 25 is used to collect encryption parameters corresponding to each sub-printing data, and construct corresponding encryption passwords according to each encryption parameter; and match corresponding encryption means according to the printing type corresponding to the sub-printing data;

[0162] The dynamic module 26 is used to define the encryption control logic of the printing data according to the encryption means and the encryption password, and to manage the encryption method of the printing data in the encryption control logic, and to trigger the dynamic change of the encryption means according to the encryption method of the printing data and the corresponding printing time period.

[0163] Device Embodiment

[0164] See also Fig. 9 , refer to the following Fig. 9 The electronic device 40 according to this embodiment of the present invention will be described. Fig. 9 The electronic device 40 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0165] like Fig. 9 As shown, the electronic device 40 is in the form of a general computing device. The components of the electronic device 40 may include but are not limited to: at least one processing unit 41, at least one storage unit 42, and a bus 43 connecting different system components (including the storage unit 42 and the processing unit 41).

[0166] The storage unit stores program codes, which can be executed by the processing unit 41, so that the processing unit 41 executes the steps according to various exemplary embodiments of the present invention described in the above “Embodiment Method” section of this specification.

[0167] The storage unit 42 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 421 and / or a cache memory unit 422 , and may further include a read-only memory unit (ROM) 423 .

[0168] The storage unit 42 may also include a program / utility 424 having a set of (at least one) dynamic modules 425, such dynamic modules 425 including but not limited to: an operating system, one or more application programs, other dynamic modules and program data, each of which or some combination may include an implementation of a network environment.

[0169] Bus 43 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0170] The electronic device 40 may also communicate with one or more external devices (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 40, and / or any device that enables the electronic device 40 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 44. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 45. Fig. 9 As shown, the network adapter 45 communicates with other modules of the electronic device 40 via the bus 43. It should be understood that although Fig. 9 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup planning systems.

[0171] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0172] Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. In addition, it stores computer program instructions, and when the computer program instructions are executed by a computer, the computer executes the above method.

[0173] In addition, the encryption control method and system for printing data in the printer provided by the embodiment of the present invention are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for controlling encryption of print data in a printer, characterized in that: Applicable to encryption control scenarios of printing data in printers; The encryption control method for printing data in the printer comprises: Associating the printer with the cloud server, and collecting the print data transmitted by the cloud server based on the printer; Freeze the print data, and divide the print data into a plurality of sub-print data; In each sub-print data, a corresponding print type is defined based on the sub-print data, and a corresponding matching parameter is defined based on matching of the plurality of sub-print data; Define corresponding encryption parameters according to the matching parameters, the sub-print data and the print type corresponding to the sub-print data; Collect encryption parameters corresponding to each sub-print data, and construct corresponding encryption passwords according to each encryption parameter; match corresponding encryption means according to the printing type corresponding to the sub-print data; Define the encryption control logic of the print data according to the encryption means and the encryption password, and manage the encryption method of the print data in the encryption control logic, and trigger the dynamic change of the encryption means according to the encryption method of the print data and the corresponding printing time period; The method of defining a corresponding print type in each sub-print data based on the sub-print data and defining a corresponding matching parameter based on matching of a plurality of sub-print data includes: defining a corresponding print type in each sub-print data based on the sub-print data; associating each print type with a print mode preferred by the printer and performing priority division on each print type to define a priority of each sub-print data; triggering matching of a plurality of sub-print data according to the priority of each sub-print data; and defining a corresponding matching parameter based on matching of a plurality of sub-print data; The method of defining corresponding encryption parameters according to matching parameters, sub-print data and the printing type corresponding to the sub-print data includes: freezing each matching parameter; sorting based on each matching parameter and defining a parameter level according to each matching parameter; defining a first encryption factor according to the parameter level and the priority of the sub-print data; collecting the sub-print data and the printing type corresponding to the sub-print data; defining a second encryption factor based on the sub-print data and the printing type corresponding to the sub-print data; associating the matching parameters, the sub-print data and the printing type corresponding to the sub-print data, and defining corresponding encryption parameters according to the second encryption factor, the first encryption factor and the encryption matching table, so as to clarify the encryption parameters corresponding to each sub-print data.

2. The method for controlling encryption of print data in a printer according to claim 1, characterized in that: The associating the printer with the cloud server and collecting the print data transmitted by the cloud server based on the printer includes: Locate the printer and the cloud server, and match the corresponding communication path according to the printer and the cloud server; Associating the printer and the cloud server based on the communication path, and triggering online communication between the printer and the cloud server; Traverse the cloud server and define the printing data based on the delivery database of the cloud server; Freeze the print data and define the amount of print data; collect the printer's print progress online and define the printer's print status based on the print progress; The printing status and the amount of the printing data are associated, a corresponding communication mode is matched according to the printing status, the amount of the printing data and the current communication path, and the transmission progress of the printing data is regulated based on the communication mode.

3. The method for controlling encryption of print data in a printer according to claim 2, characterized in that: The freeze-frame printing data and dividing the printing data into a plurality of sub-printing data include: Freeze-frame print data; Match the corresponding data process table according to the printed data; Match the corresponding data nodes based on the data process table; Output the corresponding data space according to the traversal of the data nodes; Synchronously traverse each data space, and define corresponding sub-print data based on each data space; The plurality of sub-printing data are associated and merged according to the plurality of sub-printing data and corresponding printing marks to form the optimized plurality of sub-printing data.

4. The method for controlling encryption of print data in a printer according to claim 1, characterized in that: The encryption parameters corresponding to each sub-printing data are collected, and a corresponding encryption password is constructed according to each encryption parameter; The corresponding encryption means are matched according to the printing type corresponding to the sub-print data, including: Collect encryption parameters corresponding to each sub-print data; Constructing a plurality of encryption parameter combinations based on the encryption parameters corresponding to the collected sub-printing data; The confidentiality level of the encryption parameter combination is defined based on the traversal of multiple encryption parameter combinations, and the encryption parameter combination corresponding to the core confidentiality level is screened.

5. The method for controlling encryption of print data in a printer according to claim 4, characterized in that: The encryption parameters corresponding to each sub-printing data are collected, and a corresponding encryption password is constructed according to each encryption parameter; Matching the corresponding encryption means according to the printing type corresponding to the sub-print data also includes: Match the corresponding password method based on the encryption parameter combination corresponding to the core confidentiality level; Construct corresponding encryption passwords according to various encryption parameters and corresponding encryption methods; The printing type corresponding to the fixed grid printing data; The corresponding encryption means is matched according to the printing type corresponding to the sub-print data and the priority of the sub-print data.

6. The method for controlling encryption of print data in a printer according to claim 5, characterized in that: The encryption control logic of the printing data is defined according to the encryption means and the encryption password, and the encryption method of the printing data is controlled in the encryption control logic, and the dynamic change of the encryption means is triggered according to the encryption method of the printing data and the corresponding printing time period, including: Freeze encryption means and encryption passwords; Associating encryption means and encryption passwords, and defining corresponding association levels according to the encryption means and encryption passwords; The encryption control logic of the print data is defined according to the association level, encryption method and encryption password.

7. The method for controlling encryption of print data in a printer according to claim 6, characterized in that: The encryption control logic of the printing data is defined according to the encryption means and the encryption password, and the encryption method of the printing data is controlled in the encryption control logic, and the dynamic change of the encryption means is triggered according to the encryption method of the printing data and the corresponding printing time period, and also includes: In the encryption control logic, the encryption method of the printing data is controlled and the corresponding encryption method is fixed; Associate encryption methods and corresponding printing time periods; The encryption method is dynamically changed according to the encryption method of the print data and the corresponding printing time period.

8. An encryption control system for printing data in a printer, characterized in that: The encryption control system for print data in the printer is applied to the encryption control method for print data in the printer as claimed in any one of claims 1 to 7, and the encryption control system for print data in the printer comprises: The acquisition module is used to associate the printer with the cloud server and acquire the print data transmitted by the cloud server based on the printer; A sub-printing data module, used for freezing the printing data and dividing the printing data into a plurality of sub-printing data; A matching parameter module, used for defining a corresponding printing type based on the sub-print data in each sub-print data, and defining a corresponding matching parameter based on matching of a plurality of sub-print data; An encryption parameter module, used for defining corresponding encryption parameters according to matching parameters, sub-print data and the printing type corresponding to the sub-print data; The encryption module is used to collect encryption parameters corresponding to each sub-printing data, and construct corresponding encryption passwords according to each encryption parameter; and match corresponding encryption means according to the printing type corresponding to the sub-printing data; A dynamic module is used to define the encryption control logic of the print data according to the encryption means and the encryption password, and to control the encryption method of the print data in the encryption control logic, and to trigger the dynamic change of the encryption means according to the encryption method of the print data and the corresponding printing time period; The method of defining a corresponding print type in each sub-print data based on the sub-print data and defining a corresponding matching parameter based on matching of a plurality of sub-print data includes: defining a corresponding print type in each sub-print data based on the sub-print data; associating each print type with a print mode preferred by the printer and performing priority division on each print type to define a priority of each sub-print data; triggering matching of a plurality of sub-print data according to the priority of each sub-print data; and defining a corresponding matching parameter based on matching of a plurality of sub-print data; The method of defining corresponding encryption parameters according to matching parameters, sub-print data and the printing type corresponding to the sub-print data includes: freezing each matching parameter; sorting based on each matching parameter and defining a parameter level according to each matching parameter; defining a first encryption factor according to the parameter level and the priority of the sub-print data; collecting the sub-print data and the printing type corresponding to the sub-print data; defining a second encryption factor based on the sub-print data and the printing type corresponding to the sub-print data; associating the matching parameters, the sub-print data and the printing type corresponding to the sub-print data, and defining corresponding encryption parameters according to the second encryption factor, the first encryption factor and the encryption matching table, so as to clarify the encryption parameters corresponding to each sub-print data.