A printing device anti-counterfeiting identification method and system
Patent Information
- Application Number
- CN202311084180.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-28
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-08-28
AI Technical Summary
由于打印设备需求巨大且高速增长,许多不法厂商为攫取不正当竞争利润而仿冒伪造打印设备,对原正版厂商造成巨大经济损失,并且严重影响用户使用体验
[0029](1)通过多层嵌套的嵌入式软件算法与加解密程序相互协同的方式,可以实现高效的打印设备防伪识别功能,有效避免因打印设备被仿冒而存在的防伪识别错误情形,使得打印设备不易被不法厂商仿冒破解,设计和生产成本较小,又能通过实现高效便捷的防伪功能,极大提高了用户使用体验。
Smart Images

Figure CN117170593B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of printing technology, and more specifically, relates to an anti-counterfeiting identification method and system for printing equipment. Background Technology
[0002] With economic and social development, printing devices, such as label printers and barcode printers, are increasingly penetrating various application scenarios, including commerce, industry, daily office work, logistics, and home use, ushering in a period of rapid growth for the portable smart printing industry. Due to the huge and rapid growth in demand for printing devices, many unscrupulous manufacturers counterfeit printing equipment to gain unfair competitive profits, causing significant economic losses to genuine manufacturers and severely impacting user experience. Therefore, there is an urgent need within the industry for anti-counterfeiting and identification measures for printing devices. Summary of the Invention
[0003] In view of the above-mentioned defects or improvement needs of the existing technology, the present invention provides a method and system for anti-counterfeiting identification of printing equipment, which can realize efficient anti-counterfeiting identification function of printing equipment.
[0004] To achieve the above objectives, according to a first aspect of the present invention, a method for anti-counterfeiting identification of a printing device is provided, comprising the steps of:
[0005] S101, Obtain printing device identification information, the printing device identification information including printing device identity information and first printing device-specific verification information, and use a first encryption algorithm to convert the printing device identification information into first verification information;
[0006] S102, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified;
[0007] S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the printing device identity information, the first printing device-specific verification information, and the restored information of the second printing device-specific verification information, and compare it with the generation record of the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information is recorded, and step S104 is started.
[0008] S104, Generate third printing device-specific verification information, randomly mix the third printing device-specific verification information with the second information to be verified, and use the third encryption algorithm to convert the mixed information into third information to be verified;
[0009] S105, the third verification information is decrypted using the second decryption algorithm to obtain the restored information of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. This information is then compared with the generation records of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information obtained in this step is encrypted using the fourth encryption algorithm to obtain the fourth verification information.
[0010] S106, use the third decryption algorithm to decrypt the fourth information to be verified, obtain the restored information of the printing device identity information, and compare it with the restored information of the printing device identity information recorded in S103. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the printing function is executed.
[0011] Further, steps S101, S102, S103, and S104 are executed by the printing device, which sends the third verification information obtained in step S104 to the server. Step S105 is executed by the server, which sends the fourth verification information obtained in step S105 to the printing device. Step S106 is executed by the printing device.
[0012] Further, steps S101 and S102 are executed by the printing device, which sends the second verification information to the server; step S103 is executed by the server; step S104 is executed by the printing device, which sends the third verification information obtained in step S104 to the server; step S105 is executed by the server, which sends the fourth verification information obtained in step S105 to the printing device; and step S106 is executed by the printing device.
[0013] Furthermore, the verification information specific to the first printing device is generated using a preset first random code generation algorithm and burned into the printing device during the production process.
[0014] Furthermore, the second printing device-specific verification information is generated by the printing device using a preset second random code generation algorithm and sent to the server for backup, and the third printing device-specific verification information is generated by the printing device using a preset third random code generation algorithm and sent to the server for backup.
[0015] Furthermore, the unique verification information of the first printing device is backed up on the server.
[0016] Furthermore, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are backed up on the server, and the printing device requests the server to call the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm for encryption.
[0017] Furthermore, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are backed up on the printing device, and the printing device calls the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm for encryption.
[0018] Furthermore, the identification information of the printing device is stored in the RFID chip on the printing device.
[0019] Furthermore, at least two of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are the same.
[0020] Furthermore, in step S106, it is first verified whether the fourth information to be verified has been tampered with. If it has not been tampered with, the third decryption algorithm is then used to decrypt the fourth information to be verified.
[0021] According to a second aspect of the present invention, an anti-counterfeiting identification system for a printing device is provided, the system being configured to implement the following steps:
[0022] S101, Obtain printing device identification information, the printing device identification information including printing device identity information and first printing device-specific verification information, and use a first encryption algorithm to convert the printing device identification information into first verification information;
[0023] S102, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified;
[0024] S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the printing device identity information, the first printing device-specific verification information, and the restored information of the second printing device-specific verification information, and compare it with the generation record of the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information is recorded, and step S104 is started.
[0025] S104, Generate third printing device-specific verification information, randomly mix the third printing device-specific verification information with the second information to be verified, and use the third encryption algorithm to convert the mixed information into third information to be verified;
[0026] S105, the third verification information is decrypted using the second decryption algorithm to obtain the restored information of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. This information is then compared with the generation records of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information obtained in this step is encrypted using the fourth encryption algorithm to obtain the fourth verification information.
[0027] S106, use the third decryption algorithm to decrypt the fourth information to be verified, obtain the restored information of the printing device identity information, and compare it with the restored information of the printing device identity information recorded in S103. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the printing function is executed.
[0028] Overall, the technical solutions conceived in this invention have beneficial effects compared with the prior art:
[0029] (1) By using a multi-layered nested embedded software algorithm and encryption / decryption program in a collaborative manner, the printing device anti-counterfeiting identification function can be realized, effectively avoiding anti-counterfeiting identification errors caused by the counterfeiting of the printing device, making the printing device less likely to be counterfeited and cracked by illegal manufacturers, with lower design and production costs, and greatly improving the user experience by realizing efficient and convenient anti-counterfeiting functions.
[0030] (2) Data generation, reading and verification are achieved by the cooperation of RFID printing equipment chip, printing equipment reader, controller and cloud server, realizing efficient anti-counterfeiting identification function. No redesign or adjustment of the internal structure of the printing equipment is required, resulting in low production cost and convenient use by users. Attached Figure Description
[0031] Figure 1 This is a flowchart illustrating the anti-counterfeiting identification method for printing equipment;
[0032] Figure 2 This is a schematic diagram of the anti-counterfeiting identification system for printing equipment. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.
[0034] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first" and "second" may explicitly or implicitly include at least one of that feature.
[0035] In the embodiments of the present invention, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, apparatus, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to such process, method, product or device.
[0036] The naming or numbering of steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effect can be achieved.
[0037] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0038] This invention provides a method and system for anti-counterfeiting identification of printing equipment, which will be described below.
[0039] like Figure 1 As shown, an anti-counterfeiting identification method for a printing device according to an embodiment of the present invention includes the following steps:
[0040] S101, Obtain printing device identification information, which includes printing device identity information and first printing device-specific verification information, and use a first encryption algorithm to convert the printing device identification information into first verification information.
[0041] Printing device identification information includes two categories: printing device identity information and primary printing device-specific verification information.
[0042] Printer identification information is a string used to distinguish printing devices, which may include information such as the printing device ID and the production batch of the printing device.
[0043] The first verification information specific to the printing device is a string used for subsequent verification and comparison.
[0044] Furthermore, the first printer-specific verification information is generated using a preset first random code generation algorithm and is burned into the printer during the production process. Specifically, the first random code generation algorithm can be stored in the burning software. When a printer burning request is received, the first printer-specific verification information is generated and burned into the printer, for example, into the printer's memory.
[0045] The method for obtaining printing device identification information can be any feasible method.
[0046] In one embodiment, an RFID tag is attached to the printing device, and the device's identification information is obtained by reading the RFID tag. This employs a contactless wireless communication method. Specifically, the consumable identification information can be stored in the RFID tag, which can be attached to the sidewall of the consumable roll. If the RFID tag is passive, the printing device emits a radio frequency signal, and the RFID tag outputs the consumable identification information to the printing device based on the sensed current. If the RFID tag is active, it actively outputs the consumable identification information to the printing device at a specific frequency.
[0047] In another embodiment, a storage module is provided on the printing device to store the printing device identification information. After the printing device is placed in the label printer, the conductive part in the label printer contacts the output interface of the storage module to obtain the printing device identification information. This adopts a contact-type wired communication method.
[0048] In another embodiment, a QR code containing printing device identification information is printed on the printing device, and the user obtains the printing device identification information by scanning the QR code.
[0049] After obtaining the printing device identification information, the printing device identification information is converted into first verification information using a first encryption algorithm.
[0050] Let the printer device identity information be x1, the first printer device-specific verification information be x2, the printer device identification information be (x1, x2), the first encryption algorithm be f1, and the first information to be verified be y1. Then we have y1 = f1(x1, x2).
[0051] S102, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified.
[0052] Unlike the first printing device, whose exclusive verification information is pre-programmed into the printing device, the second printing device's exclusive verification information is not pre-programmed, but generated during the anti-counterfeiting verification process.
[0053] The verification information specific to the second printing device is denoted as x3. The information resulting from a random mixture of the verification information x3 and the first information to be verified, y1, is denoted as x4. Assuming the first information to be verified, y1, is ABC and x3, is D, the randomly mixed information x4 could be ABCD, ABDC, ADBC, DABC, ACBD, ACDB, ADCB, DABB, etc. The specific value of the randomly mixed information x4 can be calculated based on a preset first random mixing method. This mixed arrangement increases the difficulty of counterfeiting the printing device.
[0054] Let the second encryption algorithm be denoted as f2 and the second information to be verified be denoted as y2, then y2 = f2(x4).
[0055] S103: Using the first decryption algorithm, the second information to be verified is decrypted to obtain the restored information of the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. This information is then compared with the generation records of the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information is recorded, and step S104 is initiated. Decryption and restoration using the first decryption algorithm F1 refers to converting garbled text into restored information in a predetermined format according to a predetermined method.
[0056] The first decryption algorithm is denoted as F1. The first decryption algorithm F1 is used to decrypt the second information to be verified, y2, to obtain three types of restored information: the restored information of the printing device identity information, the restored information of the first printing device-specific verification information, and the restored information of the second printing device-specific verification information.
[0057] If the restored information of the printing device identity information is the same as x1, the restored information of the first printing device-specific verification information is the same as x2, and the restored information of the second printing device-specific verification information is the same as x3, that is, the three types of restored information are completely consistent with the corresponding generated records, then the restored information of the printing device identity information needs to be recorded, and step S104 should be initiated. The recorded information is used for verification in step S106. Otherwise, it indicates that the printing device verification has failed, and step S104 does not need to be initiated.
[0058] S104, generate third printing device-specific verification information, randomly mix the third printing device-specific verification information with the second verification information, and use the third encryption algorithm to convert the mixed information into third verification information.
[0059] Unlike the first printing device, whose exclusive verification information is pre-programmed into the printing device, the third printing device's exclusive verification information is not pre-programmed, but generated during the anti-counterfeiting verification process.
[0060] The verification information specific to the third printing device is denoted as x4. The information resulting from the random mixing and arrangement of the verification information x4 and the second information to be verified, y2, is denoted as x5. The principle of this random mixing and arrangement is similar to that of step S102 above. The specific arrangement form of the randomly mixed and arranged information x5 can be calculated based on the preset second random mixing and arrangement method. By mixing and arranging, the difficulty of counterfeiting the printing device is increased.
[0061] Let the third encryption algorithm be denoted as f3, and the third information to be verified be denoted as y3, then y3 = f3(x5).
[0062] S105, the third verification information is decrypted using the second decryption algorithm to obtain the restored information of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. This information is then compared with the generation records of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information obtained in this step is encrypted using the fourth encryption algorithm to obtain the fourth verification information.
[0063] The second decryption algorithm is denoted as F2. Using F2, the third information to be verified, y3, is decrypted to obtain four types of restored information: restored information of the printing device's identity, restored information of the first printing device-specific verification, restored information of the second printing device-specific verification, and restored information of the third printing device-specific verification. The principle and function of the second decryption algorithm F2 are the same as those of the first decryption algorithm.
[0064] If the restored information of the printing device identity information is the same as x1, the restored information of the first printing device-specific verification information is the same as x2, the restored information of the second printing device-specific verification information is the same as x3, and the restored information of the third printing device-specific verification information is the same as x4, that is, the four types of restored information are completely consistent with the corresponding generated records, then the restored information of the printing device identity information obtained in this step is encrypted using the fourth encryption algorithm to obtain the fourth information to be verified. Otherwise, it indicates that the verification has failed, that is, the printing device is counterfeit.
[0065] Let the fourth encryption algorithm be denoted as f4, and the fourth information to be verified be denoted as y4. Then we have y4 = f4(x1).
[0066] S106, use the third decryption algorithm to decrypt the fourth information to be verified, obtain the restored information of the printing device identity information, and compare it with the restored information of the printing device identity information recorded in S103. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the printing function is executed.
[0067] The third decryption algorithm is denoted as F3. It is used to decrypt the fourth piece of information to be verified, y4, to obtain the restored information of the printing device's identity. The principle and function of the third decryption algorithm F3 are the same as those of the first decryption algorithm.
[0068] If the restored printer identity information obtained in S106 is the same as the restored printer identity information recorded in S103, the verification is successful, the printer is genuine, and printing is started. Otherwise, the printer verification fails.
[0069] This invention achieves efficient anti-counterfeiting identification of printing devices through a multi-layered nested embedded software algorithm and encryption / decryption program working together, effectively avoiding anti-counterfeiting identification errors caused by counterfeit printing devices.
[0070] In one embodiment, steps S101, S102, S103, and S104 are executed by the printing device, which sends the third verification information obtained in step S104 to the server; step S105 is executed by the server, which sends the fourth verification information obtained in step S105 to the printing device; and step S106 is executed by the printing device.
[0071] In another embodiment, S101 and S102 are executed by the printing device, which sends the second verification information to the server; S103 is executed by the server; S104 is executed by the printing device, which sends the third verification information obtained in S104 to the server; S105 is executed by the server, which sends the fourth verification information obtained in S105 to the printing device; and S106 is executed by the printing device.
[0072] That is, S103 can be executed by either the server or the printing device.
[0073] Furthermore, the second printing device-specific verification information is generated by the printing device using a preset second random code generation algorithm and sent to the server for backup, and the third printing device-specific verification information is generated by the printing device using a preset third random code generation algorithm and sent to the server for backup.
[0074] The printing device stores the second and third random code generation algorithms. During the anti-counterfeiting verification process, it generates the second and third printing device-specific verification information and then sends them to the server for backup.
[0075] Furthermore, the unique verification information of the first printing device is backed up on the server, that is, the unique verification information of the first printing device generated during the burning process is backed up on the server. Specifically, it can be sent to the server by the burning software.
[0076] Furthermore, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are backed up on the server. The printing device requests the server to call the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm, that is, the encryption algorithm is called according to the encryption request. The advantage of backing up the encryption algorithms on the server is that it can reduce the hardware cost of the printing device.
[0077] Furthermore, backing up the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm on the printing device allows the printing device to directly utilize these encryption algorithms. The advantage of backing up the encryption algorithms on the printing device is that the data processing speed is fast.
[0078] In one embodiment, the identification information of the printing device is stored in an RFID chip on the printing device. When using wireless communication to identify the RFID chip to obtain the identification information of the printing device, there is no need to redesign or adjust the internal structure of the printing device, resulting in low production costs and ease of use for users.
[0079] Furthermore, at least two of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are the same. That is, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm can all be the same algorithm, or some of the algorithms can be the same algorithm, for example, the first encryption algorithm and the second encryption algorithm are the same algorithm.
[0080] An anti-counterfeiting identification system for a printing device according to an embodiment of the present invention is used to implement the following steps:
[0081] S101, Obtain printing device identification information, the printing device identification information including printing device identity information and first printing device-specific verification information, and use a first encryption algorithm to convert the printing device identification information into first verification information;
[0082] S102, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified;
[0083] S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the printing device identity information, the first printing device-specific verification information, and the restored information of the second printing device-specific verification information, and compare it with the generation record of the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information is recorded, and step S104 is started.
[0084] S104, Generate third printing device-specific verification information, randomly mix the third printing device-specific verification information with the second information to be verified, and use the third encryption algorithm to convert the mixed information into third information to be verified;
[0085] S105, the third verification information is decrypted using the second decryption algorithm to obtain the restored information of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. This information is then compared with the generation records of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information obtained in this step is encrypted using the fourth encryption algorithm to obtain the fourth verification information.
[0086] S106, use the third decryption algorithm to decrypt the fourth information to be verified, obtain the restored information of the printing device identity information, and compare it with the restored information of the printing device identity information recorded in S103. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the printing function is executed.
[0087] like Figure 2 As shown, the anti-counterfeiting identification system may include printing equipment and a server.
[0088] In one embodiment, steps S101, S102, S103, and S104 are executed by the printing device, which sends the third verification information obtained in step S104 to the server; step S105 is executed by the server, which sends the fourth verification information obtained in step S105 to the printing device; and step S106 is executed by the printing device.
[0089] In another embodiment, S101 and S102 are executed by the printing device, which sends the second verification information to the server; S103 is executed by the server; S104 is executed by the printing device, which sends the third verification information obtained in S104 to the server; S105 is executed by the server, which sends the fourth verification information obtained in S105 to the printing device; and S106 is executed by the printing device.
[0090] The anti-counterfeiting identification system of the printing equipment is the same as the anti-counterfeiting identification method of the printing equipment mentioned above, and will not be described again here.
[0091] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for anti-counterfeiting identification of a printing device, characterized in that, Including the following steps: S101, Obtain printing device identification information, the printing device identification information including printing device identity information and first printing device-specific verification information, and use a first encryption algorithm to convert the printing device identification information into first verification information; S102, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified; S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the printing device identity information, the first printing device-specific verification information, and the restored information of the second printing device-specific verification information, and compare it with the generation record of the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information is recorded, and step S104 is started. S104, Generate third printing device-specific verification information, randomly mix the third printing device-specific verification information with the second information to be verified, and use the third encryption algorithm to convert the mixed information into third information to be verified; S105, use the second decryption algorithm to decrypt the third information to be verified, obtain the restored information of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information, and check it against the generation records of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. If the check is inconsistent, the verification is confirmed to have failed. If the verification matches, the restored information of the printing device identity information obtained in this step is encrypted using the fourth encryption algorithm to obtain the fourth information to be verified. S106, use the third decryption algorithm to decrypt the fourth information to be verified, obtain the restored information of the printing device identity information, and compare it with the restored information of the printing device identity information recorded in S103. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the printing function is executed.
2. The anti-counterfeiting identification method for printing equipment as described in claim 1, characterized in that, S101, S102, S103, and S104 are executed by the printing device, which sends the third verification information obtained in S104 to the server. S105 is executed by the server, which sends the fourth verification information obtained in S105 to the printing device. S106 is executed by the printing device.
3. The anti-counterfeiting identification method for printing equipment as described in claim 1, characterized in that, S101 and S102 are executed by the printing device, which sends the second verification information to the server. S103 is executed by the server. S104 is executed by the printing device, which sends the third verification information obtained in S104 to the server. S105 is executed by the server, which sends the fourth verification information obtained in S105 to the printing device. S106 is executed by the printing device.
4. The anti-counterfeiting identification method for printing equipment as described in claim 1, characterized in that, The first verification information specific to the printing device is generated using a preset first random code generation algorithm and is burned into the printing device during the production process.
5. The anti-counterfeiting identification method for a printing device as described in claim 1, characterized in that, The second printing device-specific verification information is generated by the printing device using a preset second random code generation algorithm and sent to the server for backup. The third printing device-specific verification information is generated by the printing device using a preset third random code generation algorithm and sent to the server for backup.
6. The anti-counterfeiting identification method for a printing device as described in claim 1, characterized in that, Back up the unique verification information of the first printing device on the server.
7. The anti-counterfeiting identification method for a printing device as described in claim 1, characterized in that, The first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are backed up on the server. The printing device then requests the server to invoke the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm for encryption.
8. The anti-counterfeiting identification method for a printing device as described in claim 1, characterized in that, The first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are backed up on the printing device, and the printing device directly uses the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm for encryption.
9. The anti-counterfeiting identification method for a printing device as described in claim 1, characterized in that, The identification information of the printing device is stored in the RFID chip on the printing device.
10. The anti-counterfeiting identification method for a printing device as described in claim 1, characterized in that, At least two of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, and the fourth encryption algorithm are the same.
11. The anti-counterfeiting identification method for a printing device as described in claim 1, characterized in that, In step S106, it is first verified whether the fourth information to be verified has been tampered with. If it has not been tampered with, the third decryption algorithm is then used to decrypt the fourth information to be verified.
12. An anti-counterfeiting identification system for a printing device, characterized in that, The system is used to implement the following steps: S101, Obtain printing device identification information, the printing device identification information including printing device identity information and first printing device-specific verification information, and use a first encryption algorithm to convert the printing device identification information into first verification information; S102, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified; S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the printing device identity information, the first printing device-specific verification information, and the restored information of the second printing device-specific verification information, and compare it with the generation record of the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, the restored information of the printing device identity information is recorded, and step S104 is started. S104, Generate third printing device-specific verification information, randomly mix the third printing device-specific verification information with the second information to be verified, and use the third encryption algorithm to convert the mixed information into third information to be verified; S105, use the second decryption algorithm to decrypt the third information to be verified, obtain the restored information of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information, and check it against the generation records of the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, and the third printing device-specific verification information. If the check is inconsistent, the verification is confirmed to have failed. If the verification matches, the restored information of the printing device identity information obtained in this step is encrypted using the fourth encryption algorithm to obtain the fourth information to be verified. S106, use the third decryption algorithm to decrypt the fourth information to be verified, obtain the restored information of the printing device identity information, and compare it with the restored information of the printing device identity information recorded in S103. If the comparison is inconsistent, the verification is confirmed to have failed. If the verification matches, then the printing function will be executed.
Citation Information
Patent Citations
Method, system and ink box for controlling printing
CN102145596A
3D printed product anti-counterfeiting method applicable to multiple processes based on embedded identification code
CN113954360A