CN114282177B - Printing data security protection method and system - Google Patents

Printing data security protection method and system Download PDF

Info

Publication number
CN114282177B
CN114282177B CN202210214490.XA CN202210214490A CN114282177B CN 114282177 B CN114282177 B CN 114282177B CN 202210214490 A CN202210214490 A CN 202210214490A CN 114282177 B CN114282177 B CN 114282177B
Authority
CN
China
Prior art keywords
data
lottery
printing
printing data
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210214490.XA
Other languages
Chinese (zh)
Other versions
CN114282177A (en
Inventor
陈迪迪
李祖军
李园园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongti Color Printing Technology Co ltd
Original Assignee
Zhongti Color Printing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongti Color Printing Technology Co ltd filed Critical Zhongti Color Printing Technology Co ltd
Priority to CN202210214490.XA priority Critical patent/CN114282177B/en
Publication of CN114282177A publication Critical patent/CN114282177A/en
Application granted granted Critical
Publication of CN114282177B publication Critical patent/CN114282177B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application provides a printing data security protection method and a system, and the method comprises the following steps: according to a preset lottery printing plate, the data generation server generates lottery printing data corresponding to the lottery printing plate; the lottery ticket printing data comprises data content and corresponding printing position coordinates; collecting process data and abnormal event data in a lottery printing data generation process; calculating a process safety value for generating lottery printing data according to the collected process data and the abnormal event data; and comparing the process safety value with a preset safety threshold value, if the safety value is greater than the preset safety threshold value, allowing the lottery printing data to be generated continuously, and otherwise, forbidding the lottery printing data to be generated continuously. The method and the device for generating the printing data perform safety monitoring on the generation process of the printing data, prevent the lottery ticket printing data from being illegally stolen or tampered, and improve the safety of the lottery ticket printing data.

Description

Printing data security protection method and system
Technical Field
The application relates to the technical field of data processing, in particular to a printing data security protection method and system.
Background
In the prior art, characters, numbers and the like printed on lottery tickets are all randomly and automatically generated by a computer, the computer generates printing data and then sends the printing data to printing equipment for printing operation, and in the process of generating the printing data or sending the printing data to the printing equipment, the printing data is easy to be illegally stolen or tampered, so that the problem that how to ensure the safety of the printing data needs to be solved urgently is solved.
Disclosure of Invention
The system monitors the generation process of the printing data safely, performs encryption protection on the printing data, verifies an acquired object, prevents other people from stealing or tampering the printing data, and improves the security of the lottery printing data.
In order to achieve the above object, the present application provides a method for protecting security of printed data, the method comprising the steps of:
according to a preset lottery printing plate, the data generation server generates lottery printing data corresponding to the lottery printing plate; the lottery ticket printing data comprises data content and corresponding printing position coordinates;
collecting process data and abnormal event data in a lottery printing data generation process;
calculating a process safety value for generating lottery printing data according to the collected process data and the abnormal event data;
comparing the process safety value with a preset safety threshold value, if the safety value is larger than the preset safety threshold value, allowing the lottery printing data to be generated continuously, otherwise, forbidding the lottery printing data to be generated continuously;
acquiring the availability evaluation index data of the generated lottery ticket printing data, and calculating the availability evaluation value of the lottery ticket printing data according to the availability evaluation index data;
calculating the usability evaluation value of the lottery printing data according to the usability evaluation index data;
and comparing the availability evaluation value with a preset available threshold value, if the availability evaluation value is greater than the preset available threshold value, encrypting and storing the lottery printing data, and if not, destroying the lottery printing data.
As above, wherein the method further comprises the steps of:
responding to a request of the lottery data printing terminal for obtaining the printing data, obtaining the verification data of the lottery data printing terminal, verifying the lottery data printing terminal according to the verification data, if the verification is passed, allowing the lottery data printing terminal to obtain the lottery printing data, transferring the obtained lottery printing data to a backup database, and carrying out encryption processing, otherwise, forbidding the lottery data printing terminal to obtain the lottery printing data.
As above, wherein the method for the encrypted storage of the lottery ticket printing data comprises:
dividing the data on each page of lottery ticket printing data into a plurality of printing data blocks according to different data types;
the plurality of printing data blocks are respectively stored in different blocks of the block chain;
and carrying out encrypted storage on the printing data blocks in the block.
As above, wherein one of the consistent print data blocks on the multiple pages of lottery ticket print data is retained to be stored in one tile, and the other consistent data tiles are deleted.
As above, wherein the encrypted storage of the printing data blocks in the block comprises the following steps:
acquiring the security level of the printing data block;
setting an environment identifier for a corresponding block in advance according to the security level of the printing data block;
and setting the type of the environment identifier according to the block, and encrypting the block by adopting an encryption method of a corresponding grade.
As above, wherein the method for verifying the lottery ticket printing terminal acquiring the printing data comprises the following steps:
acquiring the type number of a lottery printing plate corresponding to the lottery printing data requested to be acquired by the lottery printing terminal;
sending a verification request to the lottery printing terminal according to the type number of the obtained lottery printing plate to obtain verification data of the lottery printing terminal;
verifying the lottery printing terminal according to the verification data of the lottery printing terminal;
acquiring verification index data of a verification process of a lottery printing terminal;
calculating the reliability value of the lottery printing terminal according to the verification index data;
and comparing the reliability value with the authorization threshold value, if the reliability value is greater than the authorization threshold value, allowing the lottery printing terminal to acquire the corresponding lottery printing data, and otherwise, forbidding the lottery printing terminal to acquire the lottery printing data.
As above, wherein, the formula for calculating the process security value of the lottery ticket printing data is:
Figure 866629DEST_PATH_IMAGE001
wherein,
Figure 328835DEST_PATH_IMAGE002
a security value representing a process of generating lottery ticket printing data;
Figure 83164DEST_PATH_IMAGE003
indicating the moment when the ith abnormal event occurs, and t indicating the current moment; n represents the total number of abnormal events;
Figure 554597DEST_PATH_IMAGE004
a risk value representing the ith exception event;
Figure 937036DEST_PATH_IMAGE005
indicating a total number of processes that are generating lottery ticket print data;
Figure 101302DEST_PATH_IMAGE006
m represents the total number of types of the abnormal events; pj represents the total number of times of occurrence of the j-th abnormal event;
Figure 77348DEST_PATH_IMAGE007
representing the duration of the kth abnormal event in the jth abnormal event;
Figure 86892DEST_PATH_IMAGE008
showing the occurrence time of the kth abnormal event in the jth abnormal event; q. q.sjRepresenting the impact weight of the jth exception event.
As above, wherein, the request operation of the lottery ticket data printing terminal is monitored, and the related log information is generated and stored in the external memory of the lottery ticket data printing terminal; the log information includes identification information of the lottery ticket data printing terminal, location information of the lottery ticket data printing terminal, a summary of contents of the data requested to be acquired, and a time at which the data requested to be acquired.
A printed data security system, the system comprising:
the data generation server is used for generating lottery ticket printing data corresponding to the lottery ticket printing plate according to a preset lottery ticket printing plate; the lottery ticket printing data comprises data content and corresponding printing position coordinates;
the data collector is used for collecting process data and abnormal event data in the lottery printing data generation process;
the data processor is used for calculating and generating a process safety value of the lottery printing data according to the collected process data and the abnormal event data;
the data comparator is used for comparing the process safety value with a preset safety threshold value, if the safety value is larger than the preset safety threshold value, the lottery ticket printing data is allowed to be generated continuously, and otherwise, the lottery ticket printing data is forbidden to be generated continuously;
the data collector is also used for acquiring the usability evaluation index data of the generated lottery printing data and calculating the usability evaluation value of the lottery printing data according to the usability evaluation index data;
the data processor is also used for calculating the usability evaluation value of the lottery ticket printing data according to the usability evaluation index data;
and the data comparator is also used for comparing the usability evaluation value with a preset available threshold value, if the usability evaluation value is greater than the preset available threshold value, the lottery printing data is encrypted and stored, and if not, the lottery printing data is destroyed.
The printing data security protection system further comprises:
the lottery printing terminal verification module is used for responding to a request of the lottery data printing terminal for obtaining the printing data, obtaining the verification data of the lottery data printing terminal, verifying the lottery data printing terminal according to the verification data, if the verification is passed, allowing the lottery data printing terminal to obtain the lottery printing data, migrating the obtained lottery printing data to a backup database, and carrying out encryption processing, otherwise, forbidding the lottery data printing terminal to obtain the lottery printing data.
The beneficial effect that this application realized is as follows:
(1) according to the method and the system, abnormal events of the generation process of the lottery printing data are monitored, the process safety value of the lottery printing data is calculated, comparison is carried out according to the process safety value of the lottery printing data and the size of the preset safety threshold, if the safety value is larger than the preset safety threshold, the lottery printing data are allowed to be generated continuously, otherwise, the lottery printing data are forbidden to be generated continuously, so that the safety of the lottery printing data generation process is guaranteed, and stolen or tampered lottery printing data are prevented from being printed.
(2) The method and the device verify the lottery printing terminal, obtain verification index data of the lottery printing terminal in the verification process, calculate the reliability value of the lottery printing terminal according to the verification index data, and control whether the lottery printing terminal can obtain the printing data according to the reliability value, so that the lottery printing terminal with the reliability value lower than a preset authorization threshold value is forbidden to obtain the printing data, the printing data is prevented from being stolen or tampered by an illegal user, and the safety of the printing data is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a flowchart of a method for protecting print data according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of a method for encrypted storage of lottery ticket printing data according to an embodiment of the present application.
Fig. 3 is a flowchart of a method for verifying a lottery ticket printing terminal acquiring printing data according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a print data security system according to an embodiment of the present application.
Reference numerals: 10-a data generation server; 20-a data collector; 30-a data processor; 40-a data comparator; 50-a lottery ticket printing terminal verification module; 100-a printed data security protection system.
Detailed Description
The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
As shown in fig. 1, the present application provides a method for securing print data, comprising the steps of:
in step S1, the data generation server generates lottery ticket printing data corresponding to a predetermined lottery ticket printing plate according to the lottery ticket printing plate.
Specifically, according to the data content and the data type to be printed on the preset lottery printing plate, the data generation server generates the lottery printing data required by the lottery printing plate, the lottery printing plate of each style generates a plurality of pages of lottery printing data, and each page of lottery printing data can be correspondingly printed with a lottery. Each page of lottery ticket printing data is provided with data content and printing position coordinates of the lottery ticket printing data.
The lottery ticket printing requirements include the issue amount, the face value, the specification type and the like. Lottery ticket printing data is generated according to the lottery ticket printing requirements.
And step S2, acquiring process data and abnormal event data in the lottery printing data generation process.
Step S2 includes the following sub-steps:
step S210, collecting process data for generating lottery ticket printing data.
The process data for generating the lottery ticket printing data comprises the total number of processes of the lottery ticket printing data being generated, the process generated by each process, and the process name, the data segment starting address, the data segment ending address, the data segment length and the like corresponding to each process.
Step S220, responding to the starting of the generation process of the lottery printing data, inserting an abnormal event detection component into the program package where the data generation process is located, and collecting abnormal event data in the process of generating the lottery printing data.
The abnormal event data comprises process interruption data, operation for accessing lottery ticket printing data, operation for changing lottery ticket printing data, insertion of external data and the like.
And step S3, calculating a process safety value for generating lottery ticket printing data according to the collected process data and the abnormal event data.
The calculation formula for calculating the process security value for generating the lottery ticket printing data is as follows:
Figure 340150DEST_PATH_IMAGE009
wherein,
Figure 409737DEST_PATH_IMAGE010
representing a process security value for generating lottery ticket printing data;
Figure 873080DEST_PATH_IMAGE011
indicating the moment when the ith abnormal event occurs, and t indicating the current moment; n represents the total number of abnormal events;
Figure 686315DEST_PATH_IMAGE012
a risk value representing the ith exception event;
Figure 43347DEST_PATH_IMAGE013
indicating a total number of processes that are generating lottery ticket print data;
Figure 549415DEST_PATH_IMAGE014
m represents the total category number of the abnormal events; pj represents the total number of occurrences of the j-th abnormal event;
Figure 234474DEST_PATH_IMAGE015
representing the duration of the kth abnormal event in the jth abnormal event;
Figure 851400DEST_PATH_IMAGE016
showing the occurrence time of the kth abnormal event in the jth abnormal event; q. q.sjRepresenting the impact weight of the jth exception event.
And step S4, comparing the process safety value with a preset safety threshold value, if the safety value is larger than the preset safety threshold value, allowing the lottery printing data to be generated continuously, otherwise, forbidding the lottery printing data to be generated continuously.
And forbidding to continue generating the lottery printing data, interrupting the process of the lottery printing data, and performing security reinforcement operation on the data generating server.
Step S5, the usability evaluation index data of the generated lottery ticket print data is acquired, and the usability evaluation value of the lottery ticket print data is calculated based on the usability evaluation index data.
Step S5 includes the following sub-steps:
step S510, availability evaluation index data of the generated lottery ticket printing data is acquired.
The usability evaluation index of the lottery ticket printing data comprises a process safety value for generating the lottery ticket printing data and quality abnormity index data of the lottery ticket printing data.
The data generation server generates one page of lottery printing data every time, performs quality anomaly detection on the currently generated lottery printing data, and acquires quality anomaly index data. The quality abnormal index data comprises character missing, character redundant, lottery drawing number repetition and the like.
And comparing the data in the currently generated lottery printing data and the corresponding position according to the filling data area in the preset lottery printing plate. Comparing, if the data in the lottery printing data does not correspond to the production data in the area where the lottery printing plate needs to be filled with the data, outputting character missing abnormal information; if the data in the lottery printing data exists the data outside the filling data area, outputting the redundant abnormality of the characters; if the abnormality of redundant characters and missing characters does not exist, the lottery drawing numbers are repeatedly deleted, namely if the lottery drawing numbers are consistent with the previously generated lottery drawing numbers, the repeated abnormality information of the lottery drawing numbers is output.
Step S510, calculates the usability evaluation value of the lottery ticket print data based on the usability evaluation index data.
The calculation formula of the usability evaluation value is as follows:
Figure 810741DEST_PATH_IMAGE017
wherein,
Figure 487710DEST_PATH_IMAGE018
indicating an availability evaluation value;
Figure 660065DEST_PATH_IMAGE019
an available weight representing a process security value;
Figure 815103DEST_PATH_IMAGE020
representing a process security value;
Figure 146728DEST_PATH_IMAGE021
available weights representing quality anomalies;
Figure 994598DEST_PATH_IMAGE022
Figure 654249DEST_PATH_IMAGE023
an impact weight representing character absence;
Figure 222765DEST_PATH_IMAGE024
representing the influence weight of character redundancy;
Figure 284262DEST_PATH_IMAGE025
the total number of positions where character missing abnormality occurs in one page of lottery printing data is represented;
Figure 303033DEST_PATH_IMAGE026
is shown as
Figure 449981DEST_PATH_IMAGE027
Length of the location character miss;
Figure 212401DEST_PATH_IMAGE028
is shown as
Figure 253038DEST_PATH_IMAGE027
The total length of the location character;
Figure 177132DEST_PATH_IMAGE029
the total number of positions representing redundant characters in one page of lottery printing data;
Figure 811375DEST_PATH_IMAGE030
is shown as
Figure 377486DEST_PATH_IMAGE031
The length of the position character excess;
Figure 413575DEST_PATH_IMAGE032
is shown as
Figure 383936DEST_PATH_IMAGE031
The total length of the location character;
Figure 505476DEST_PATH_IMAGE033
indicating the available value of the lottery drawing number; if the lottery drawing number is repeated with the previously generated lottery printing number, the lottery drawing number is not identical with the previously generated lottery printing number
Figure 609698DEST_PATH_IMAGE033
Equal to 0, otherwise,
Figure 234714DEST_PATH_IMAGE033
equal to 1.
And step S6, comparing the usability evaluation value with a preset available threshold value, if the usability evaluation value is larger than the preset available threshold value, encrypting and storing the lottery printing data, otherwise, destroying the lottery printing data.
As shown in fig. 2, the method for encrypted storage of lottery ticket printing data comprises:
step S610, dividing the data on each page of lottery ticket printing data into a plurality of printing data blocks according to different data types.
The data category of each page of lottery ticket printing data comprises a plurality of categories of data such as data generation terminal information, lottery ticket drawing numbers, printing date and time, printing position coordinates of the data, lottery ticket identification information (identification code or identification code) and the like.
The printing data block comprises printing data contents and printing position coordinates of the printing data contents corresponding to the lottery printing plate.
In step S620, the plurality of print data blocks are stored in different blocks of the block chain. Wherein, one of the printing data blocks which are consistent on the multiple pages of lottery ticket printing data is reserved and stored in one block, and other blocks with consistent data are deleted.
In step S630, the print data block in the block is encrypted and stored.
Step S630 includes the following substeps:
step S631 acquires the security level of the print data block.
The security level of the printing data block is determined according to the security level of the data content in the printing data block, and the higher the security level is, the higher the security level of the printing data block corresponding to the data with the higher security level is.
In step S632, an environment identifier is set in advance for the corresponding block according to the security level of the print data block. The environment identifier is used to identify a security environment based on a privacy level of the data stored by the block and a security policy, the security policy defining a security environment and a security level;
step S633, according to the type of the environment identifier set for the tile, an encryption method of a corresponding level is adopted to perform encryption processing on the tile.
As a specific embodiment of the present invention, an encryption processing method includes: passwords, protocols, and combinations thereof.
As another specific embodiment of the present invention, an encryption processing method includes: the encryption server randomly generates a password seed S to be distributed to a block to be encrypted, and the encryption server randomly generates a public key G to encrypt the password seed S of the block to obtain a block encrypted ciphertext MI; the encryption algorithm may be DES, RSA, or other encryption algorithms. The encrypted ciphertext MI and the corresponding decryption private key are then transmitted to the authorized user.
And the requester decrypts the ciphertext according to the private key, verifies whether the decrypted password seed is consistent with the password seed of the block or not according to the decrypted password seed, and if so, allows to acquire the data stored in the block, otherwise, does not allow to acquire the data stored in the block.
As another specific embodiment of the present invention, an encryption processing method includes:
the block first stores its own data encrypted. And the third party encryption server operates a homomorphic encryption algorithm to initialize and generate a homomorphic public key and a private key, sends the public key to the authorized user and stores the private key locally. The block may then encrypt the data to be encrypted using the homomorphic public key. Preferably, after the lottery printing data in the block is encrypted and stored, the address information and the abstract information (type and number of the lottery printing data) corresponding to each lottery printing data stored in the block are stored in the metadata block, and the corresponding lottery printing data can be found through the abstract information and the address information. When a request party initiates a data acquisition request to a certain block chain, a first block on the block chain is verified, after the verification is passed, verification information of other blocks on the same block chain is sent to the request party, and if the verification information sent by the request party passes the verification, the request party is allowed to acquire corresponding lottery printing data stored in all the blocks on the block chain.
Step S7, responding to the request of the lottery ticket data printing terminal for obtaining the printing data, obtaining the verification data of the lottery ticket data printing terminal, verifying the lottery ticket data printing terminal according to the verification data, if the verification is passed, allowing the lottery ticket data printing terminal to obtain the lottery ticket printing data, migrating the obtained lottery ticket printing data to a backup database, and carrying out encryption processing, otherwise, forbidding the lottery ticket data printing terminal to obtain the lottery ticket printing data.
The lottery data printing terminal transmits the data requested to be printed to the lottery data generating server.
And the lottery ticket data printing terminal sends the data which is requested to be printed on the lottery ticket simulated printing electronic plate to the lottery ticket data generating server. The lottery ticket simulated printing electronic plate is marked with the type of the requested printing data and the position information corresponding to the lottery ticket simulated printing electronic plate.
As shown in fig. 3, the method for verifying the lottery ticket printing terminal acquiring the printing data includes the following steps:
step S710, obtaining the type number of the lottery printing plate corresponding to the lottery printing data requested to be obtained by the lottery printing terminal.
And S720, sending a verification request to the lottery printing terminal according to the type number of the obtained lottery printing plate, and obtaining verification data of the lottery printing terminal.
Each block of the block chain has different verification information requests, each block has different complexity of verification information according to different security levels of data in the block, and the verification data of the lottery ticket printing terminal comprises verification data corresponding to different blocks.
The request verification related data comprises verification data of the type of lottery printing data corresponding to each lottery printing plate, and the type of the lottery printing data comprises: the data generates a plurality of types of data such as terminal information, lottery drawing numbers, printing date and time, printing position coordinates of the data, lottery identification information (identification code or identification code), and the like. The plurality of category data are respectively stored in different blocks of a block chain.
The verification data includes identification authorization information of the data printing terminal, address authorization information of the data printing terminal, a verification password (verification key) of a corresponding block, and the like.
And step S730, verifying the lottery ticket printing terminal according to the verification data of the lottery ticket printing terminal.
Step S740, obtaining the verification index data of the verification process of the lottery printing terminal.
And step S750, calculating the reliability value of the lottery printing terminal according to the verification index data.
The reliability value of the lottery printing terminal is calculated according to the following formula:
Figure 890824DEST_PATH_IMAGE034
wherein,
Figure 234080DEST_PATH_IMAGE035
representing a reliability value; r represents the total category number of the lottery ticket printing data;
Figure 141994DEST_PATH_IMAGE036
is shown as
Figure 887096DEST_PATH_IMAGE037
The verification of the lottery ticket printing data of the individual category passes the factor if
Figure 464839DEST_PATH_IMAGE037
If the lottery ticket printing data of each category passes the verification, the lottery ticket printing data of each category passes
Figure 295391DEST_PATH_IMAGE038
Equal to 1, otherwise
Figure 741416DEST_PATH_IMAGE038
Equal to 0;
Figure 341025DEST_PATH_IMAGE039
is shown as
Figure 479882DEST_PATH_IMAGE037
The input time of the verification data of the lottery printing data of each category;
Figure 922365DEST_PATH_IMAGE040
is shown as
Figure 906501DEST_PATH_IMAGE037
The standard time length for inputting the verification data of the lottery printing data of each category;
Figure 626196DEST_PATH_IMAGE041
is shown as
Figure 670375DEST_PATH_IMAGE037
The number of times of verification of the lottery ticket printing data of each category;
Figure 347956DEST_PATH_IMAGE042
is shown as
Figure 135784DEST_PATH_IMAGE037
Weight of influence of individual category of lottery ticket printing data;
Figure 709985DEST_PATH_IMAGE043
is shown as
Figure 925065DEST_PATH_IMAGE037
The security value of the lottery ticket print data of each category.
Step S760, comparing the reliability value with the authorization threshold value, if the reliability value is larger than the authorization threshold value, allowing the lottery printing terminal to acquire the lottery printing data in the block chain corresponding to the request lottery printing plate, and allowing the lottery printing terminal to print, otherwise, prohibiting the lottery printing terminal from acquiring the lottery printing data.
The request operation of the lottery data printing terminal is monitored, and the related log information is generated and stored in an external memory of the lottery data printing terminal.
The log information includes identification information of the lottery ticket data printing terminal, location information of the lottery ticket data printing terminal, a summary of the contents of the data requested to be acquired, the time requested to acquire the data, and the like. And setting access authority for the log information, setting the log information to be in a read-only mode, prohibiting modification, and enabling only users with the access authority to access the log information.
Example two
As shown in fig. 4, the present application provides a print data security system 100 comprising:
a data generating server 10 for generating lottery ticket printing data corresponding to a predetermined lottery ticket printing plate according to the lottery ticket printing plate; the lottery ticket printing data comprises data content and corresponding printing position coordinates;
the data collector 20 is used for collecting process data and abnormal event data in the lottery printing data generation process;
the data processor 30 is used for calculating and generating a process safety value of the lottery printing data according to the collected process data and the abnormal event data;
the data comparator 40 is used for comparing the process safety value with a preset safety threshold value, if the safety value is larger than the preset safety threshold value, the lottery ticket printing data is allowed to be generated continuously, otherwise, the lottery ticket printing data is forbidden to be generated continuously;
the data collector 20 is further configured to obtain usability evaluation index data of the generated lottery printing data, and calculate a usability evaluation value of the lottery printing data according to the usability evaluation index data;
a data processor 30 for calculating an availability evaluation value of the lottery ticket printing data based on the availability evaluation index data;
the data comparator 40 is further configured to compare the usability evaluation value with a preset available threshold, and encrypt and store the lottery printing data if the usability evaluation value is greater than the preset available threshold, otherwise, destroy the lottery printing data.
As shown in fig. 4, the print data security system 100 further includes:
the lottery printing terminal verification module 50 is configured to, in response to a request for obtaining the printing data from the lottery data printing terminal, obtain verification data of the lottery data printing terminal, and verify the lottery data printing terminal according to the verification data, if the verification is passed, allow the lottery data printing terminal to obtain the lottery printing data, migrate the obtained lottery printing data to the backup database, and perform encryption processing, otherwise, prohibit the lottery data printing terminal from obtaining the lottery printing data.
The beneficial effect that this application realized is as follows:
(1) according to the method and the system, abnormal events of the generation process of the lottery printing data are monitored, the process safety value of the lottery printing data is calculated, comparison is carried out according to the process safety value of the lottery printing data and the size of the preset safety threshold, if the safety value is larger than the preset safety threshold, the lottery printing data are allowed to be generated continuously, otherwise, the lottery printing data are forbidden to be generated continuously, so that the safety of the lottery printing data generation process is guaranteed, and stolen or tampered lottery printing data are prevented from being printed.
(2) The method and the device verify the lottery printing terminal, obtain verification index data of the lottery printing terminal in the verification process, calculate the reliability value of the lottery printing terminal according to the verification index data, and control whether the lottery printing terminal can obtain the printing data according to the reliability value, so that the lottery printing terminal with the reliability value lower than a preset authorization threshold value is forbidden to obtain the printing data, the printing data is prevented from being stolen or tampered by an illegal user, and the safety of the printing data is improved.
The above description is only an embodiment of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (9)

1. A method for protecting the safety of printed data is characterized by comprising the following steps:
according to a preset lottery printing plate, the data generation server generates lottery printing data corresponding to the lottery printing plate; the lottery ticket printing data comprises data content and corresponding printing position coordinates;
collecting process data and abnormal event data in a lottery printing data generation process;
calculating a process safety value for generating lottery printing data according to the collected process data and the abnormal event data;
comparing the process safety value with a preset safety threshold value, if the safety value is larger than the preset safety threshold value, allowing the lottery printing data to be generated continuously, otherwise, forbidding the lottery printing data to be generated continuously;
acquiring usability evaluation index data of the generated lottery printing data;
calculating the usability evaluation value of the lottery printing data according to the usability evaluation index data;
comparing the availability evaluation value with a preset available threshold value, if the availability evaluation value is larger than the preset available threshold value, encrypting and storing the lottery printing data, otherwise, destroying the lottery printing data;
the calculation formula for calculating the process security value of the lottery ticket printing data is as follows:
Figure 627774DEST_PATH_IMAGE001
wherein,
Figure 250647DEST_PATH_IMAGE002
a security value representing a process of generating lottery ticket printing data;
Figure 712853DEST_PATH_IMAGE003
indicating the moment when the ith abnormal event occurs, and t indicating the current moment; n represents the total number of abnormal events;
Figure 467182DEST_PATH_IMAGE004
a risk value representing the ith exception event;
Figure 469773DEST_PATH_IMAGE005
indicating a total number of processes that are generating lottery ticket print data;
Figure 462000DEST_PATH_IMAGE006
m represents the total number of types of the abnormal events; pj represents the total number of occurrences of the j-th abnormal event;
Figure 95106DEST_PATH_IMAGE007
representing the duration of the kth abnormal event in the jth abnormal event;
Figure 602311DEST_PATH_IMAGE008
showing the occurrence time of the kth abnormal event in the jth abnormal event; q. q.sjRepresenting the impact weight of the jth exception event.
2. A method of securing printed data according to claim 1, characterised in that the method further comprises the steps of:
responding to a request of the lottery data printing terminal for obtaining the printing data, obtaining the verification data of the lottery data printing terminal, verifying the lottery data printing terminal according to the verification data, if the verification is passed, allowing the lottery data printing terminal to obtain the lottery printing data, transferring the obtained lottery printing data to a backup database, and carrying out encryption processing, otherwise, forbidding the lottery data printing terminal to obtain the lottery printing data.
3. The method for securing print data according to claim 1, wherein the method for storing lottery ticket print data in encrypted form comprises:
dividing the data on each page of lottery ticket printing data into a plurality of printing data blocks according to different data types;
the plurality of printing data blocks are respectively stored in different blocks of the block chain;
and carrying out encrypted storage on the printing data blocks in the block.
4. The method of claim 3, wherein one of the consistent print data blocks of the multi-page lottery ticket print data is retained for storage in one block, and other blocks with consistent data are deleted.
5. The method for protecting the safety of the printing data as claimed in claim 4, wherein the step of carrying out encryption storage on the printing data blocks in the block comprises the following steps:
acquiring the security level of the printing data block;
setting an environment identifier for a corresponding block in advance according to the security level of the printing data block;
and setting the type of the environment identifier according to the block, and encrypting the block by adopting an encryption method of a corresponding grade.
6. The method for securing print data according to claim 2, wherein the method for authenticating the lottery ticket printing terminal that acquired the print data comprises the steps of:
acquiring the type number of a lottery printing plate corresponding to the lottery printing data requested to be acquired by the lottery printing terminal;
sending a verification request to the lottery printing terminal according to the type number of the obtained lottery printing plate to obtain verification data of the lottery printing terminal;
verifying the lottery printing terminal according to the verification data of the lottery printing terminal;
acquiring verification index data of a verification process of a lottery printing terminal;
calculating the reliability value of the lottery printing terminal according to the verification index data;
and comparing the reliability value with the authorization threshold value, if the reliability value is greater than the authorization threshold value, allowing the lottery printing terminal to acquire the corresponding lottery printing data, and otherwise, forbidding the lottery printing terminal to acquire the lottery printing data.
7. The security protection method for the printing data of claim 2, wherein the request operation of the lottery ticket data printing terminal is monitored, and the related log information is generated and stored in the external memory of the lottery ticket data printing terminal; the log information includes identification information of the lottery ticket data printing terminal, location information of the lottery ticket data printing terminal, a summary of contents of the data requested to be acquired, and a time at which the data requested to be acquired.
8. A print data security system for performing the method of any one of claims 1 to 7, the system comprising:
the data generation server is used for generating lottery ticket printing data corresponding to the lottery ticket printing plate according to a preset lottery ticket printing plate; the lottery ticket printing data comprises data content and corresponding printing position coordinates;
the data collector is used for collecting process data and abnormal event data in the lottery printing data generation process;
the data processor is used for calculating and generating a process safety value of the lottery printing data according to the collected process data and the abnormal event data;
the data comparator is used for comparing the process safety value with a preset safety threshold value, if the safety value is larger than the preset safety threshold value, the lottery ticket printing data is allowed to be generated continuously, and otherwise, the lottery ticket printing data is forbidden to be generated continuously;
the data acquisition unit is also used for acquiring the usability evaluation index data of the generated lottery printing data;
the data processor is also used for calculating the usability evaluation value of the lottery ticket printing data according to the usability evaluation index data;
and the data comparator is also used for comparing the usability evaluation value with a preset available threshold value, if the usability evaluation value is greater than the preset available threshold value, the lottery printing data is encrypted and stored, and if not, the lottery printing data is destroyed.
9. The printed data security system of claim 8, further comprising:
the lottery printing terminal verification module is used for responding to a request of the lottery data printing terminal for obtaining the printing data, obtaining the verification data of the lottery data printing terminal, verifying the lottery data printing terminal according to the verification data, if the verification is passed, allowing the lottery data printing terminal to obtain the lottery printing data, migrating the obtained lottery printing data to a backup database, and carrying out encryption processing, otherwise, forbidding the lottery data printing terminal to obtain the lottery printing data.
CN202210214490.XA 2022-03-07 2022-03-07 Printing data security protection method and system Active CN114282177B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210214490.XA CN114282177B (en) 2022-03-07 2022-03-07 Printing data security protection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210214490.XA CN114282177B (en) 2022-03-07 2022-03-07 Printing data security protection method and system

Publications (2)

Publication Number Publication Date
CN114282177A CN114282177A (en) 2022-04-05
CN114282177B true CN114282177B (en) 2022-05-20

Family

ID=80882281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210214490.XA Active CN114282177B (en) 2022-03-07 2022-03-07 Printing data security protection method and system

Country Status (1)

Country Link
CN (1) CN114282177B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118691167A (en) * 2024-08-29 2024-09-24 南昌万顺铝业有限公司 Quality traceability management system and method for whole aluminum profile production process

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1420026A (en) * 2001-11-17 2003-05-28 刘五一 Antiforging lottery ticket printing technique
CN1514355A (en) * 2003-06-06 2004-07-21 江门市亿业科技有限公司 Embedded type tax control computer system
CN101804725A (en) * 2010-03-24 2010-08-18 中国电子科技集团公司第四十五研究所 Software and hardware combination multi-grade exception processing method of full-automatic precise screen printer
CN102514409A (en) * 2011-11-16 2012-06-27 湖北联合天诚防伪技术股份有限公司 Method for making multiple-positioning holographic anti-counterfeiting printing paper and products thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9524128B2 (en) * 2011-06-03 2016-12-20 Apple Inc. Information security for printing systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1420026A (en) * 2001-11-17 2003-05-28 刘五一 Antiforging lottery ticket printing technique
CN1514355A (en) * 2003-06-06 2004-07-21 江门市亿业科技有限公司 Embedded type tax control computer system
CN101804725A (en) * 2010-03-24 2010-08-18 中国电子科技集团公司第四十五研究所 Software and hardware combination multi-grade exception processing method of full-automatic precise screen printer
CN102514409A (en) * 2011-11-16 2012-06-27 湖北联合天诚防伪技术股份有限公司 Method for making multiple-positioning holographic anti-counterfeiting printing paper and products thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"人民日报出版流程控制与安全管理主系统及50个代印点子系统的升级与实施";鄂毅;《中国新闻技术工作者联合会会议论文集》;20191120;全文 *

Also Published As

Publication number Publication date
CN114282177A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
US6292899B1 (en) Volatile key apparatus for safeguarding confidential data stored in a computer system memory
US8332650B2 (en) Systems and methods for setting and resetting a password
CN101272237B (en) Method and system for automatically generating and filling login information
US20070136202A1 (en) Personal-information managing apparatus, method of providing personal information, computer product, and personal-information-providing system
US8219806B2 (en) Management system, management apparatus and management method
US20040255119A1 (en) Memory device and passcode generator
US9292681B2 (en) Password audit system
CN110177134B (en) Secure password manager based on multi-cloud storage and use method thereof
CN109274650B (en) Electronic image retrieval management system and method
CA2538850A1 (en) Record carrier, system, method and program for conditional access to data stored on the record carrier
JP2001209582A (en) Electronic preserving device for ensuring originality, failure restoration method, computer-readable recording medium recording program that enables computer to perform the same
CN114282177B (en) Printing data security protection method and system
US20030196090A1 (en) Digital signature system
CN114925141B (en) Cloud primary automation deployment management system and method based on block chain
JP2005197912A (en) Method and program for information disclosure control and tamper resistant instrument
JP4584196B2 (en) Information processing system, information processing method, and program
CN116842545A (en) File encryption-based data anti-luxury method and system
CN101496021A (en) Method for generating access data for a medical device
EP1811460B1 (en) Secure software system and method for a printer
CN213814673U (en) Multi-security-level storage access device based on user fingerprint identification
CN113949591A (en) Data encryption protection method and system based on block chain
CN111143863A (en) Data processing method, device, equipment and computer readable storage medium
CN117828644B (en) Computer storage system with information security protection mode
CN113421085B (en) Smart card dynamic password authentication method and system
CN213876726U (en) Multi-security-level storage access device based on user face recognition

Legal Events

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