Anti-counterfeiting traceability coding method based on laser printer

By generating and verifying anti-counterfeiting features in laser printers, it solves the problem that existing laser printers cannot effectively prevent forgery and tampering, improves product safety and traceability, and ensures the security and credibility of information.

CN118708139AInactive Publication Date: 2024-09-27CHONGQING POLICE VOCATIONAL COLLEGE
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410929594.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing laser printers cannot effectively prevent forgery and tampering when printing anti-counterfeiting traceability codes, affecting product safety and traceability.

Method used

By generating anti-counterfeiting features before printing, including random patterns, serial numbers or encrypted information, and combining them with the printed content, using a laser printer to print on the media, and then verifying it through special equipment or software, the authenticity and authenticity of the anti-counterfeiting features are ensured. uniqueness. Specific steps include selecting an encryption algorithm, generating a key pair, calculating a hash value, encrypting anti-counterfeiting features, and embedding it into the printed content through digital watermark technology. The verification phase uses the public key to decrypt and compare the hash value to confirm the authenticity of the content.

Benefits of technology

It improves the anti-counterfeiting capabilities of printed content and ensures the safety and traceability of products. The generated identification codes are difficult to copy and can quickly and accurately trace the production and circulation paths of products. Encryption technology is used to ensure the security and credibility of information. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708139A
    Figure CN118708139A
Patent Text Reader

Abstract

The invention provides an anti-counterfeiting traceability coding method based on a laser printer, and relates to the technical field of information security. The anti-counterfeiting traceability coding method based on the laser printer comprises the steps that anti-counterfeiting features are generated, specifically, the specific anti-counterfeiting features are generated according to printing content before printing, and the features can be randomly generated patterns, serial numbers or encrypted information; printing data processing: combining the anti-counterfeiting features with printing contents to form printing data; printing is executed, specifically, the laser printer executes printing operation according to the processed printing data, and the anti-fake features and the printing content are printed on a medium together; and anti-counterfeiting verification: verifying the printed anti-counterfeiting features through special verification equipment or software so as to confirm the authenticity of the printed content. By adding the anti-counterfeiting feature in the laser printing process, the anti-counterfeiting capability of the printed content is improved, the safety and traceability of the product are ensured, and the method has wide application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of information security, and in particular to an anti-counterfeiting tracing coding method based on a laser printer. Background Art

[0002] Laser printers were born out of laser typesetting technology in the late 1980s and became popular in the mid-1990s. It is a printing output device that combines laser scanning technology with electronic photography technology. Its basic working principle is that the binary data information transmitted by the computer is converted into a video signal through the video controller, and then the video interface / control system converts the video signal into a laser drive signal, and then the laser scanning system generates a laser beam carrying character information, and finally the electronic photography system images the laser beam and transfers it to paper. Compared with other printing devices, laser printers have the advantages of fast printing speed and high imaging quality; but the cost of use is relatively high.

[0003] With the development of laser printing technology, laser printers have been widely used in document printing, label printing, etc. However, existing laser printers have deficiencies in printing anti-counterfeiting traceability codes and cannot effectively prevent forgery and tampering, affecting the safety and traceability of products. Therefore, technicians in this field provide an anti-counterfeiting traceability coding method based on laser printers to solve the problems raised in the above background technology. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In view of the deficiencies in the prior art, the present invention provides a method for anti-counterfeiting and traceability coding based on a laser printer, which solves the problem that the existing laser printers have deficiencies in printer anti-counterfeiting and traceability coding, cannot effectively prevent forgery and tampering, and easily affect the safety and traceability of the product.

[0006] (II) Technical solution

[0007] To achieve the above objectives, the present invention is implemented through the following technical solutions: a laser printer anti-counterfeiting traceability coding method, comprising:

[0008] Anti-counterfeiting feature generation: before printing, a specific anti-counterfeiting feature is generated based on the printed content. The feature can be a randomly generated pattern, serial number or encrypted information;

[0009] Print data processing, combining anti-counterfeiting features with print content to form print data;

[0010] Printing execution, the laser printer performs a printing operation according to the processed printing data, and prints the anti-counterfeiting feature and the printing content together on the medium;

[0011] Anti-counterfeiting verification is to verify the printed anti-counterfeiting features through dedicated verification equipment or software to confirm the authenticity of the printed content.

[0012] Preferably, the generation of the anti-counterfeiting features includes the following steps:

[0013] S1. Select an encryption algorithm. According to security requirements, select ECC as the encryption algorithm;

[0014] S2. Generate a key pair. Use an asymmetric encryption algorithm to generate a pair of keys, including a public key and a private key. The public key is used to encrypt data, and the private key is used to decrypt data;

[0015] S3. Generate a random number. Generate a random number as part of the anti-counterfeiting feature to ensure that each generated anti-counterfeiting feature is unique;

[0016] S4. Calculate the hash value. Calculate the hash value of the content to be printed. The hash function can generate a hash value of a fixed length, which is used to represent the unique fingerprint of the original data;

[0017] S5. Combine the random number and the hash value. Combine the random number with the hash value to form an anti-counterfeiting feature, which can be achieved through simple concatenation arithmetic operations;

[0018] S6. Encrypt the anti-counterfeiting feature. Use the private key to encrypt the combined anti-counterfeiting feature, and the encryption steps are as follows:

[0019] Select an elliptic curve and a base point. Select an elliptic curve defined over a finite field and a base point G. The base point G is a point on the curve, and its order n is a large prime number;

[0020] Generate the private key. Select a random number d as the private key, where 1 < d < n - 1;

[0021] Calculate the public key. Use the private key d to calculate the public key Q. The public key Q is obtained by multiplying the base point G by the private key d, that is, Q = dG;

[0022] Encrypt the message. Encode the message as a point M on the elliptic curve;

[0023] Select a random number k, where 1 < k < n - 1, and calculate kG and kQ;

[0024] Calculate C1 = kG and C2 = M + kQ;

[0025] The encrypted message is (C1, C2);

[0026] S7. Embedding of the anti-counterfeiting feature. Embed the encrypted anti-counterfeiting feature into the printed content, which can be achieved through digital watermarking technology. Hide the anti-counterfeiting feature in a visually visible position of the image or document;

[0027] S8. Printing content, sending the printed content including the anti-counterfeiting feature to the printer for printing;

[0028] S9. Verification of anti-counterfeiting features. In the verification stage, the public key is used to decrypt the anti-counterfeiting features in the printed content, and then the hash value of the printed content is recalculated and compared with the decrypted hash value to verify the completeness and authenticity of the content. The decryption steps are:

[0029] Receiving encrypted message: receiving encrypted message (C1, C2);

[0030] Calculate the decrypted value and use the private key d to calculate C2-dC1. Since C2=M+kQ and Q=dG, we can get C2-dC1=M+kQ-d(kG)=M+kQ-kdG=M.

[0031] S10. Management of anti-counterfeiting features: record and manage the generated anti-counterfeiting features to ensure the uniqueness and traceability of each anti-counterfeiting feature.

[0032] Preferably, the print data processing comprises the following steps:

[0033] S1. Data integration, security features and original printed content, integrating security features with original printed content to ensure that security information can be printed at the designated location of the document or label, including embedding security features into the watermark area, header, footer or specific graphic elements of the document;

[0034] S2. Data formatting: the integrated data is formatted according to the printing voice of the laser printer, which includes converting text into character codes recognizable by the printer, converting images into a format supported by the printer, and encoding anti-counterfeiting features in a manner recognizable by the printer;

[0035] S3. Data encryption: To further improve security, the formatted data can be encrypted. This can use the same encryption algorithm and key as when the anti-counterfeiting feature was generated, ensuring that only authorized verification devices can decrypt and verify the anti-counterfeiting information.

[0036] S4. Data encapsulation: Encrypted data or formatted data is encapsulated into a data packet format that can be recognized by the printer driver, including adding printer control commands and setting printing parameters;

[0037] S5. Data transmission, encapsulate the printing data packet, and transmit the printing data packet to the laser printer through the network or direct connection to ensure that no data is lost or damaged during the data transmission process;

[0038] S6. Printer processing: After receiving the data packet transmitted to the printer, the laser printer parses it through its built-in processor and memory. The printer controller sends the parsed printing instructions and data to the print engine to execute the printing operation.

[0039] S7. Print output. After receiving the data packet, the laser printer parses it through its built-in processor and memory. The printer controller sends the parsed print instructions and data to the print engine to execute the print operation.

[0040] S8. Quality inspection: After printing the completed document or label, conduct a visual inspection or use a scanning device to check the print quality to ensure that the printing effect of the security features and the original content is as expected;

[0041] S9. Output processing: if the printed document is a label or a document that needs further processing, subsequent processing such as cutting, folding, and packaging may be required.

[0042] Preferably, the printing execution comprises the following steps:

[0043] S1. Print task submission: the user submits a print task through the print software on a computer or other device. The print task includes print data and print settings;

[0044] S2. Print task queue: the print task is submitted to the print queue and waits for the printer to process it. The print task is managed in the queue according to first-in-first-out or other priority rules;

[0045] S3. Print task scheduling, the printer driver selects tasks from the printer queue for processing, the driver assigns the print task to the printer, and prepares to send print data;

[0046] S4. Data transmission: the print data formatted by the driver is sent to the laser printer via the network or direct connection. The laser printer receives the data and performs error checking and confirmation;

[0047] S5. Printer processing, the laser printer parses the received print data, converts it into a printable format, the printer prepares the print medium, and adjusts the print parameters according to the print settings;

[0048] S6. Printing is executed, the print engine of the laser printer starts working, and the toner scanned by the laser is transferred to form an image on the medium. The laser printer prints the image line by line or page by page according to the instructions of the print data;

[0049] S7. Print quality monitoring. The laser printer has built-in sensors to monitor print quality to ensure that the printing effect meets expectations. If quality problems are detected, the printer may automatically adjust the printing parameters to correct the problem.

[0050] S8. Printing is completed. After printing is completed, the print medium is output from the printer, and the printer sends a completion notification to the user or the print task submission system;

[0051] S9. Post-printing processing: the user takes out the printed document or label from the printer and may perform subsequent processing related to cutting, binding or packaging as needed;

[0052] S10. Print task cleanup: print tasks are removed from the print queue to release system resources. The completion status of the print tasks is recorded in the log file for subsequent auditing or troubleshooting.

[0053] Preferably, the anti-counterfeiting verification comprises the following steps:

[0054] S1. Verification request: the user or the verifier uses a dedicated verification device, such as a scanner or a smart phone, to scan or read the printed content. The verification device captures the anti-counterfeiting features on the printed content.

[0055] S2. Data extraction: the verification device processes the captured image or data to extract the anti-counterfeiting feature information. If the anti-counterfeiting feature is combined with the printed content, the anti-counterfeiting feature data needs to be separated;

[0056] S3. Data decryption: if the anti-counterfeiting feature is encrypted before printing, the verification device needs to use the corresponding key to decrypt it, and obtain the original anti-counterfeiting feature data after decryption;

[0057] S4. Data verification: verify the extracted anti-counterfeiting feature data using the same algorithm as used to generate the anti-counterfeiting feature, and compare the verification results with the stored original data or records in the database;

[0058] S5. Result analysis: Based on the comparison results, the verification device determines whether the anti-counterfeiting feature is valid and displays the verification results to the user;

[0059] S6. Record and report, record the verification process and results, which may include timestamp, verification equipment information, operator, and generate verification reports for further audit or record keeping;

[0060] S7. Feedback and action. If the verification result is counterfeit, the system can trigger an alarm or notify relevant personnel. Depending on the verification result, further actions may need to be taken, such as recalling the product or investigating the source of counterfeiting.

[0061] S8. Continuous monitoring: Establish a continuous monitoring mechanism to track the use of anti-counterfeiting features and regularly update the information in the verification database to ensure the accuracy of verification.

[0062] (III) Beneficial effects

[0063] The present invention provides an anti-counterfeiting traceability coding method based on a laser printer. It has the following beneficial effects:

[0064] 1. In the present invention, by adding anti-counterfeiting features during the laser printing process, the anti-counterfeiting ability of the printed content is improved, the safety and traceability of the product are ensured, and it has a wide range of application value.

[0065] 2. In the present invention, the identification code generated by the laser printer is difficult to copy, thereby improving the anti-counterfeiting property of the product. The production and circulation path of the product can be quickly and accurately traced through the identification code, and encryption technology is used to ensure the security and credibility of the information. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 It is a schematic diagram of the overall process of the present invention;

[0067] Figure 2 A schematic diagram of the overall process of generating anti-counterfeiting features in the present invention;

[0068] Figure 3 It is a schematic diagram of the overall process of printing data processing in the present invention;

[0069] Figure 4 It is a schematic diagram of the overall process of printing execution in the present invention;

[0070] Figure 5 It is a schematic diagram of the overall process of anti-counterfeiting verification in the present invention. DETAILED DESCRIPTION

[0071] 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.

[0072] Embodiment 1:

[0073] like Figure 1-5 As shown, an embodiment of the present invention provides an anti-counterfeiting traceability coding method based on a laser printer, comprising:

[0074] Anti-counterfeiting feature generation: before printing, a specific anti-counterfeiting feature is generated based on the printed content. The feature can be a randomly generated pattern, serial number or encrypted information;

[0075] Print data processing, combining anti-counterfeiting features with print content to form print data;

[0076] Print execution: The laser printer performs a printing operation according to the processed print data, printing the anti-counterfeiting feature and the print content together on the medium.

[0077] Anti-counterfeiting verification: Verify the printed anti-counterfeiting feature through a dedicated verification device or software to confirm the authenticity of the print content.

[0078] The generation of the anti-counterfeiting feature includes the following steps:

[0079] S1. Select an encryption algorithm: Select ECC as the encryption algorithm according to security requirements.

[0080] S2. Generate a key pair: Use an asymmetric encryption algorithm to generate a pair of keys, including a public key and a private key. The public key is used to encrypt data, and the private key is used to decrypt data.

[0081] S3. Generate a random number: Generate a random number as part of the anti-counterfeiting feature to ensure that each generated anti-counterfeiting feature is unique.

[0082] S4. Calculate the hash value: Calculate the hash value of the content to be printed. The hash function can generate a hash value of a fixed length, which is used to represent the unique fingerprint of the original data.

[0083] S5. Combine the random number and the hash value: Combine the random number with the hash value to form an anti-counterfeiting feature, which can be achieved through simple concatenation arithmetic operations.

[0084] S6. Encrypt the anti-counterfeiting feature: Use the private key to encrypt the combined anti-counterfeiting feature, and the encryption steps are as follows:

[0085] Select an elliptic curve and a base point: Select an elliptic curve defined over a finite field and a base point G. The base point G is a point on the curve, and its order n is a large prime number.

[0086] Generate the private key: Select a random number d as the private key, where 1 < d < n - 1.

[0087] Calculate the public key: Calculate the public key Q using the private key d. The public key Q is obtained by multiplying the base point G by the private key d, i.e., Q = dG.

[0088] Encrypt the message: Encode the message as a point M on the elliptic curve.

[0089] Select a random number k, where 1 < k < n - 1, and calculate kG and kQ.

[0090] Calculate C1 = kG and C2 = M + kQ.

[0091] The encrypted message is (C1, C2).

[0092] S7. Embedding of anti-counterfeiting features, embedding the encrypted anti-counterfeiting features into the printed content, which can be achieved through digital watermarking technology, hiding the anti-counterfeiting features in a position visible above or below the image or document;

[0093] S8. Printing content, sending the printed content including the anti-counterfeiting feature to the printer for printing;

[0094] S9. Verification of anti-counterfeiting features. In the verification stage, the public key is used to decrypt the anti-counterfeiting features in the printed content, and then the hash value of the printed content is recalculated and compared with the decrypted hash value to verify the completeness and authenticity of the content. The decryption steps are:

[0095] Receiving encrypted message: receiving encrypted message (C1, C2);

[0096] Calculate the decrypted value and use the private key d to calculate C2-dC1. Since C2=M+kQ and Q=dG, we can get C2-dC1=M+kQ-d(kG)=M+kQ-kdG=M.

[0097] S10. Management of anti-counterfeiting features: record and manage the generated anti-counterfeiting features to ensure the uniqueness and traceability of each anti-counterfeiting feature.

[0098] Print data processing includes the following steps:

[0099] S1. Data integration, security features and original printed content, integrating security features with original printed content to ensure that security information can be printed at the designated location of the document or label, including embedding security features into the watermark area, header, footer or specific graphic elements of the document;

[0100] S2. Data formatting: the integrated data is formatted according to the printing voice of the laser printer, which includes converting text into character codes recognizable by the printer, converting images into a format supported by the printer, and encoding anti-counterfeiting features in a manner recognizable by the printer;

[0101] S3. Data encryption: To further improve security, the formatted data can be encrypted. This can use the same encryption algorithm and key as when the anti-counterfeiting feature was generated, ensuring that only authorized verification devices can decrypt and verify the anti-counterfeiting information.

[0102] S4. Data encapsulation: Encrypted data or formatted data is encapsulated into a data packet format that can be recognized by the printer driver, including adding printer control commands and setting printing parameters;

[0103] S5. Data transmission, encapsulate the printing data packet, and transmit the printing data packet to the laser printer through the network or direct connection to ensure that no data is lost or damaged during the data transmission process;

[0104] S6. Printer processing: After receiving the data packet transmitted to the printer, the laser printer parses it through its built-in processor and memory. The printer controller sends the parsed printing instructions and data to the print engine to execute the printing operation.

[0105] S7. Print output. After receiving the data packet, the laser printer parses it through its built-in processor and memory. The printer controller sends the parsed print instructions and data to the print engine to execute the print operation.

[0106] S8. Quality inspection: After printing the completed document or label, conduct a visual inspection or use a scanning device to check the print quality to ensure that the printing effect of the security features and the original content is as expected;

[0107] S9. Output processing: if the printed document is a label or a document that needs further processing, subsequent processing such as cutting, folding, and packaging may be required.

[0108] The print execution consists of the following steps:

[0109] S1. Print task submission: the user submits a print task through the print software on a computer or other device. The print task includes print data and print settings;

[0110] S2. Print task queue: the print task is submitted to the print queue and waits for the printer to process it. The print task is managed in the queue according to first-in-first-out or other priority rules;

[0111] S3. Print task scheduling, the printer driver selects tasks from the printer queue for processing, the driver assigns the print task to the printer, and prepares to send print data;

[0112] S4. Data transmission: the print data formatted by the driver is sent to the laser printer via the network or direct connection. The laser printer receives the data and performs error checking and confirmation;

[0113] S5. Printer processing, the laser printer parses the received print data, converts it into a printable format, the printer prepares the print medium, and adjusts the print parameters according to the print settings;

[0114] S6. Printing is executed, the print engine of the laser printer starts working, and the toner scanned by the laser is transferred to form an image on the medium. The laser printer prints the image line by line or page by page according to the instructions of the print data;

[0115] S7. Print quality monitoring. The laser printer has built-in sensors to monitor print quality to ensure that the printing effect meets expectations. If quality problems are detected, the printer may automatically adjust the printing parameters to correct the problem.

[0116] S8. Printing is completed. After printing is completed, the print medium is output from the printer, and the printer sends a completion notification to the user or the print task submission system;

[0117] S9. Post-printing processing: the user takes out the printed document or label from the printer and may perform subsequent processing related to cutting, binding or packaging as needed;

[0118] S10. Print task cleanup: print tasks are removed from the print queue to release system resources. The completion status of the print tasks is recorded in the log file for subsequent auditing or troubleshooting.

[0119] Anti-counterfeiting verification includes the following steps:

[0120] S1. Verification request: the user or the verifier uses a dedicated verification device, such as a scanner or a smart phone, to scan or read the printed content. The verification device captures the anti-counterfeiting features on the printed content.

[0121] S2. Data extraction: the verification device processes the captured image or data to extract the anti-counterfeiting feature information. If the anti-counterfeiting feature is combined with the printed content, the anti-counterfeiting feature data needs to be separated;

[0122] S3. Data decryption: if the anti-counterfeiting feature is encrypted before printing, the verification device needs to use the corresponding key to decrypt it, and obtain the original anti-counterfeiting feature data after decryption;

[0123] S4. Data verification: verify the extracted anti-counterfeiting feature data using the same algorithm as used to generate the anti-counterfeiting feature, and compare the verification results with the stored original data or records in the database;

[0124] S5. Result analysis: Based on the comparison results, the verification device determines whether the anti-counterfeiting feature is valid and displays the verification results to the user;

[0125] S6. Record and report, record the verification process and results, which may include timestamp, verification equipment information, operator, and generate verification reports for further audit or record keeping;

[0126] S7. Feedback and action. If the verification result is counterfeit, the system can trigger an alarm or notify relevant personnel. Depending on the verification result, further actions may need to be taken, such as recalling the product or investigating the source of counterfeiting.

[0127] S8. Continuous monitoring: Establish a continuous monitoring mechanism to track the use of anti-counterfeiting features and regularly update the information in the verification database to ensure the accuracy of verification.

[0128] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A laser printer anti-counterfeiting traceability coding method, characterized by: Including: Anti-counterfeiting feature generation: Before printing, specific anti-counterfeiting features are generated according to the printing content. These features can be randomly generated patterns, serial numbers, or encrypted information; Printing data processing: Combining the anti-counterfeiting features with the printing content to form printing data; Printing execution: The laser printer performs a printing operation according to the processed printing data, printing the anti-counterfeiting features and the printing content together on the medium; Anti-counterfeiting verification: Verifying the printed anti-counterfeiting features through a dedicated verification device or software to confirm the authenticity of the printing content.

2. The anti-counterfeiting traceability coding method based on a laser printer according to claim 1 is characterized in that: The anti-counterfeiting feature generation includes the following steps: S1. Select an encryption algorithm: Select ECC as the encryption algorithm according to security requirements; S2. Generate a key pair: Using an asymmetric encryption algorithm, generate a pair of keys, including a public key and a private key. The public key is used to encrypt data, and the private key is used to decrypt data; S3. Generate a random number: Generate a random number as part of the anti-counterfeiting feature to ensure that each generated anti-counterfeiting feature is unique; S4. Calculate the hash value: Calculate the hash value of the content to be printed. The hash function can generate a fixed-length hash value, which is used to represent the unique fingerprint of the original data; S5. Combine the random number and the hash value: Combine the random number with the hash value to form an anti-counterfeiting feature, which can be achieved through simple concatenation or mathematical operations; S6. Encrypt the anti-counterfeiting feature: Use the private key to encrypt the combined anti-counterfeiting feature, and the encryption steps are as follows: Select an elliptic curve and a base point: Select an elliptic curve defined over a finite field, and a base point G. The base point G is a point on the curve, and its order n is a large prime number; Generate the private key: Select a random number d as the private key, where 1 < d < n - 1; Calculate the public key: Use the private key d to calculate the public key Q. The public key Q is obtained by multiplying the base point G by the private key d, i.e., Q = dG; Encrypt the message: Encode the message as a point M on the elliptic curve; Select a random number k, where 1 < k < n - 1, and calculate kG and kQ; Calculate C1 = kG and C2 = M + kQ; The encrypted message is (C1, C2); S7. Embedding of the anti-counterfeiting feature: Embed the encrypted anti-counterfeiting feature into the printing content. This can be achieved through digital watermarking technology, hiding the anti-counterfeiting feature in a visually visible position of the image or document; S8. Printing content: Send the printing content containing the anti-counterfeiting feature to the printer for printing; S9. Verification of the anti-counterfeiting feature: In the verification stage, use the public key to decrypt the anti-counterfeiting feature in the printing content, and then recalculate the hash value of the printing content and compare it with the decrypted hash value to verify the integrity and authenticity of the content. The decryption steps are as follows: Receive the encrypted message: Receive the encrypted message (C1, C2); Calculate the decryption value: Use the private key d to calculate C2 - dC1. Since C2 = M + kQ and Q = dG, we can get C2 - dC1 = M + kQ - d(kG) = M + kQ - kdG = M; S10. Management of the anti-counterfeiting feature: Record and manage the generated anti-counterfeiting features to ensure the uniqueness and traceability of each anti-counterfeiting feature.

3. The anti-counterfeiting traceability coding method based on a laser printer according to claim 1 is characterized in that: The printing data processing includes the following steps: S1. Data integration, security features and original printed content, integrating security features with original printed content to ensure that security information can be printed at the designated location of the document or label, including embedding security features into the watermark area, header, footer or specific graphic elements of the document; S2. Data formatting: the integrated data is formatted according to the printing voice of the laser printer, which includes converting text into character codes recognizable by the printer, converting images into a format supported by the printer, and encoding anti-counterfeiting features in a manner recognizable by the printer; S3. Data encryption: To further improve security, the formatted data can be encrypted. This can use the same encryption algorithm and key as when the anti-counterfeiting feature was generated, ensuring that only authorized verification devices can decrypt and verify the anti-counterfeiting information. S4. Data encapsulation: Encrypted data or formatted data is encapsulated into a data packet format that can be recognized by the printer driver, including adding printer control commands and setting printing parameters; S5. Data transmission, encapsulate the printing data packet, and transmit the printing data packet to the laser printer through the network or direct connection to ensure that no data is lost or damaged during the data transmission process; S6. Printer processing: After receiving the data packet transmitted to the printer, the laser printer parses it through its built-in processor and memory. The printer controller sends the parsed printing instructions and data to the print engine to execute the printing operation. S7. Print output. After receiving the data packet, the laser printer parses it through its built-in processor and memory. The printer controller sends the parsed print instructions and data to the print engine to execute the print operation. S8. Quality inspection: After printing the completed document or label, conduct a visual inspection or use a scanning device to check the print quality to ensure that the printing effect of the security features and the original content is as expected; S9. Output processing: if the printed document is a label or a document that needs further processing, subsequent processing such as cutting, folding, and packaging may be required.

4. The anti-counterfeiting traceability coding method based on a laser printer according to claim 1, characterized in that: The printing execution comprises the following steps: S1. Print task submission: the user submits a print task through the print software on a computer or other device. The print task includes print data and print settings; S2. Print task queue: the print task is submitted to the print queue and waits for the printer to process it. The print task is managed in the queue according to first-in-first-out or other priority rules; S3. Print task scheduling, the printer driver selects tasks from the printer queue for processing, the driver assigns the print task to the printer, and prepares to send print data; S4. Data transmission: the print data formatted by the driver is sent to the laser printer via the network or direct connection. The laser printer receives the data and performs error checking and confirmation; S5. Printer processing, the laser printer parses the received print data, converts it into a printable format, the printer prepares the print medium, and adjusts the print parameters according to the print settings; S6. Printing is executed, the print engine of the laser printer starts working, and the toner scanned by the laser is transferred to form an image on the medium. The laser printer prints the image line by line or page by page according to the instructions of the print data; S7. Print quality monitoring. The laser printer has built-in sensors to monitor print quality to ensure that the printing effect meets expectations. If quality problems are detected, the printer may automatically adjust the printing parameters to correct the problem. S8. Printing is completed. After printing is completed, the print medium is output from the printer, and the printer sends a completion notification to the user or the print task submission system; S9. Post-printing processing: the user takes out the printed document or label from the printer and may perform subsequent processing related to cutting, binding or packaging as needed; S10. Print task cleanup: print tasks are removed from the print queue to release system resources. The completion status of the print tasks is recorded in the log file for subsequent auditing or troubleshooting.

5. The anti-counterfeiting traceability coding method based on a laser printer according to claim 1, characterized in that: The anti-counterfeiting verification comprises the following steps: S1. Verification request: the user or the verifier uses a dedicated verification device, such as a scanner or a smart phone, to scan or read the printed content. The verification device captures the anti-counterfeiting features on the printed content. S2. Data extraction: the verification device processes the captured image or data to extract the anti-counterfeiting feature information. If the anti-counterfeiting feature is combined with the printed content, the anti-counterfeiting feature data needs to be separated; S3. Data decryption: if the anti-counterfeiting feature is encrypted before printing, the verification device needs to use the corresponding key to decrypt it, and the original anti-counterfeiting feature data is obtained after decryption; S4. Data verification: verify the extracted anti-counterfeiting feature data using the same algorithm as used to generate the anti-counterfeiting feature, and compare the verification results with the stored original data or records in the database; S5. Result analysis: Based on the comparison results, the verification device determines whether the anti-counterfeiting feature is valid and displays the verification results to the user; S6. Record and report, record the verification process and results, which may include timestamp, verification equipment information, operator, and generate verification reports for further audit or record keeping; S7. Feedback and action. If the verification result is counterfeit, the system can trigger an alarm or notify relevant personnel. Depending on the verification result, further actions may need to be taken, such as recalling the product or investigating the source of counterfeiting. S8. Continuous monitoring: Establish a continuous monitoring mechanism to track the use of anti-counterfeiting features and regularly update the information in the verification database to ensure the accuracy of verification.

Citation Information

Cited By

  • Coupon card printing system capable of realizing no contact with card password and printing method of coupon card printing system

    CN121257564A