Interactive anti-counterfeiting identification method and system for thermal transfer printing equipment and consumables

Through the method of multiple cross-validation, the serial numbers of printing devices and consumables are verified using servers and algorithms, which solves the problem of anti-counterfeiting identification being easily counterfeited in existing technologies, achieves efficient and accurate anti-counterfeiting identification, and improves user experience.

CN117283999BActive Publication Date: 2025-09-23WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311207468.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-19
Publication Date
2025-09-23
Estimated Expiration
2043-09-19

AI Technical Summary

Technical Problem

The encrypted anti-counterfeiting identification technology of existing thermal transfer printing equipment can be easily counterfeited and cracked by illegal manufacturers, resulting in poor compatibility between consumables and printing equipment, affecting the user experience, and making it difficult to avoid anti-counterfeiting identification errors.

Method used

The multiple cross-validation method is adopted to verify the serial numbers of printing devices and consumables through the verification algorithm and transposition algorithm between the first auxiliary server, the second auxiliary server and the main server, and generate multiple verification codes to ensure the security and legitimacy of information transmission.

Benefits of technology

It improves the efficiency and accuracy of anti-counterfeiting identification, avoids counterfeiting of printing devices, reduces design and production costs, improves user experience, and identifies illegal tampering during communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117283999B_ABST
    Figure CN117283999B_ABST
Patent Text Reader

Abstract

The present invention discloses an interactive anti-counterfeiting identification method and system for thermal transfer printing equipment and consumables. The method comprises the following steps: a first auxiliary server verifies whether an extracted m*-digit consumable verification sequence is consistent with an m*-digit consumable verification code, wherein the m*-digit consumable verification sequence is obtained by conversion and table lookup, and the m*-digit consumable verification code is directly calculated; if they are consistent, the next step is executed; a second auxiliary server verifies whether an extracted n*-digit printing device verification sequence is consistent with an n*-digit printing device verification code, wherein the n*-digit printing device verification sequence is obtained by conversion and table lookup, and the n*-digit printing device verification code is directly calculated; if they are consistent, the next step is executed; a main server verifies the m*-digit consumable verification code and the n*-digit printing device verification code, and if verification is successful, encrypts a startup code and sends it to the printing device; and the printing device prints after successful verification. The present invention greatly increases the difficulty of cracking and has a good anti-counterfeiting effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of printing, and more specifically, relates to an interactive anti-counterfeiting identification method and system for thermal transfer printing equipment and consumables. Background Art

[0002] Portable smart printing devices, such as thermal transfer printers, are becoming increasingly popular and ubiquitous. Manufacturers in this industry rely heavily on the production and sale of consumables to generate profits. Consequently, a large number of unscrupulous vendors counterfeit genuine consumables to generate unfair profits, posing a serious challenge to the competitive landscape of the industry. Furthermore, counterfeit consumables are difficult to fully integrate with genuine smart printing devices, easily damaging them and severely impacting the user experience.

[0003] In the existing encryption anti-counterfeiting identification technology, the chip containing the genuine identification information of the consumables is mainly attached to the consumables reel during the consumables production process. During the specific use of the printing device, the identification information in the consumables chip is obtained through the reader / writer provided by the printing device, and the information is identified and verified to confirm whether the consumables are original and genuine. In addition, the consumables identification information and verification answer need to be written into the chip in advance during the production process, or the verification answer needs to be determined in advance and stored in the cloud server. This encryption anti-counterfeiting method is easily cracked in the following two situations: (1) When the consumables identification information and verification answer are leaked, the above anti-counterfeiting identification technology becomes invalid; (2) When the printing device communicates with the cloud server, the communication signal is illegally intercepted or tampered with. In addition, even if the consumables identity information is correct, it is difficult to avoid the anti-counterfeiting identification error caused by the counterfeiting of the printing device. Therefore, the industry urgently needs an encryption anti-counterfeiting method and system that is not easily counterfeited and cracked by illegal manufacturers. Summary of the Invention

[0004] In response to the above-mentioned defects or improvement needs of the prior art, the present invention provides an interactive anti-counterfeiting identification method and system for thermal transfer printing equipment and consumables, which greatly improves the difficulty of cracking and has a good anti-counterfeiting effect.

[0005] To achieve the above-mentioned object, according to one aspect of the present invention, a method for interactive anti-counterfeiting identification of a thermal transfer printing device and consumables is provided, comprising the steps of:

[0006] S101: The printing device control module reads the printing device serial number and the consumable serial number, calculates the printing device serial number using a first verification algorithm to obtain an n-digit first verification sequence, encrypts the n-digit first verification sequence and the consumable serial number, and sends them to a first auxiliary server; the first auxiliary server decrypts the received information, converts the decrypted n-digit first verification sequence into an n*-digit first verification sequence using a first transposition algorithm, and extracts an m*-digit consumable verification sequence by querying a first matching table, wherein the first matching table records a mapping relationship between multiple n*-digit first verification sequences and multiple m*-digit consumable verification sequences. The first auxiliary server further converts the decrypted consumable serial number into an m*-digit consumable verification code using a second transposition algorithm, and verifies whether the extracted m*-digit consumable verification sequence is consistent with the m*-digit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, S102 is executed;

[0007] S102: The consumables control module reads the consumables serial number and the printing device serial number, calculates the consumables serial number using a second verification algorithm to obtain an m-digit second verification sequence, encrypts the m-digit second verification sequence and the printing device serial number, and sends the encrypted sequence to the second auxiliary server. The second auxiliary server decrypts the received information, converts the decrypted m-digit second verification sequence into an m*-digit second verification sequence using a third transposition algorithm, and extracts an n*-digit printing device verification sequence by querying a second matching table. The second matching table records mappings between multiple m*-digit second verification sequences and multiple n*-digit printing device verification sequences. The second auxiliary server further converts the decrypted printing device serial number into an n*-digit printing device verification code using a fourth transposition algorithm, and verifies whether the extracted n*-digit printing device verification sequence is consistent with the n*-digit printing device verification code. If they are inconsistent, verification fails. If they are consistent, execution proceeds to S103.

[0008] S103: The first auxiliary server sends the m*-digit consumable verification code to the main server, and the second auxiliary server sends the n*-digit printing device verification code to the main server. The main server verifies whether the m*-digit consumable verification code and the n*-digit printing device verification code have a preset functional relationship. If not, the verification fails. If so, the main server encrypts the startup code and sends it to the printing device.

[0009] S104, the printing device decrypts and restores the startup code from the received information, and verifies whether the decrypted and restored startup code is legal information. If it is not legal, the verification fails. If it is legal, the printing work starts.

[0010] Furthermore, the startup code is composed of the device serial number, consumable serial number, activation code, main server serial number and random code in a preset format. The verification of whether the decrypted and restored startup code is legal information includes the following sub-steps:

[0011] S1041, verify whether the decrypted and restored startup code conforms to a predetermined format. If not, the verification fails. If it conforms, execute S1042;

[0012] S1042, checking whether the device serial number and consumable serial number of the decrypted and restored startup code are consistent with the printing device serial number and consumable serial number read by the printing device control module. If they are inconsistent, the verification fails. If they are consistent, executing S1043;

[0013] S1043: Check whether the decrypted and restored startup code contains the server serial number. If not, verification fails. If it does, calculate a verification result sequence using a preset verification algorithm on the server serial number in the decrypted and restored startup code, and verify whether the verification result sequence conforms to a preset format. If not, verification fails. If it conforms, execute S1044.

[0014] S1044, verifying whether the verification result sequence and the random code in the decrypted and restored startup code meet a preset verifiable relationship. If not, the verification fails; if so, the printing process starts.

[0015] Furthermore, the random code in the startup code is generated by the main server using a random code algorithm.

[0016] Furthermore, the verifying whether the verification result sequence and the random code in the decrypted and restored startup code satisfy a preset verifiable relationship is: verifying whether the verification result sequence and the random code in the decrypted and restored startup code satisfy a preset functional relationship.

[0017] Furthermore, the printing device serial number is a 32-bit sequence, n is a positive integer less than 32, and the consumables serial number is a 16-bit sequence, m is a positive integer less than 16.

[0018] Furthermore, n and n* are different positive integers less than or equal to 32, and m and m* are different positive integers less than or equal to 16.

[0019] Furthermore, the first matching table is predetermined and stored in the first auxiliary server, and the second matching table is predetermined and stored in the second auxiliary server.

[0020] Furthermore, the first matching table is the same as the second matching table.

[0021] Furthermore, the first auxiliary server and the second auxiliary server are integrated into the main server.

[0022] According to another aspect of the present invention, an interactive anti-counterfeiting identification system for a thermal transfer printing device and consumables is provided, comprising consumables, a printing device, and a server, wherein the server comprises a first auxiliary server, a second auxiliary server, and a main server, the printing device comprises a printing device control module, and the consumables comprise a consumables control module. The system is configured to implement the following steps:

[0023] S101: The printing device control module reads the printing device serial number and the consumable serial number, calculates the printing device serial number using a first verification algorithm to obtain an n-digit first verification sequence, encrypts the n-digit first verification sequence and the consumable serial number, and sends them to a first auxiliary server; the first auxiliary server decrypts the received information, converts the decrypted n-digit first verification sequence into an n*-digit first verification sequence using a first transposition algorithm, and extracts an m*-digit consumable verification sequence by querying a first matching table, wherein the first matching table records a mapping relationship between multiple n*-digit first verification sequences and multiple m*-digit consumable verification sequences. The first auxiliary server further converts the decrypted consumable serial number into an m*-digit consumable verification code using a second transposition algorithm, and verifies whether the extracted m*-digit consumable verification sequence is consistent with the m*-digit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, S102 is executed;

[0024] S102: The consumables control module reads the consumables serial number and the printing device serial number, calculates the consumables serial number using a second verification algorithm to obtain an m-digit second verification sequence, encrypts the m-digit second verification sequence and the printing device serial number, and sends the encrypted sequence to the second auxiliary server. The second auxiliary server decrypts the received information, converts the decrypted m-digit second verification sequence into an m*-digit second verification sequence using a third transposition algorithm, and extracts an n*-digit printing device verification sequence by querying a second matching table. The second matching table records mappings between multiple m*-digit second verification sequences and multiple n*-digit printing device verification sequences. The second auxiliary server further converts the decrypted printing device serial number into an n*-digit printing device verification code using a fourth transposition algorithm, and verifies whether the extracted n*-digit printing device verification sequence is consistent with the n*-digit printing device verification code. If they are inconsistent, verification fails. If they are consistent, execution proceeds to S103.

[0025] S103: The first auxiliary server sends the m*-digit consumable verification code to the main server, and the second auxiliary server sends the n*-digit printing device verification code to the main server. The main server verifies whether the m*-digit consumable verification code and the n*-digit printing device verification code have a preset functional relationship. If not, the verification fails. If so, the main server encrypts the startup code and sends it to the printing device.

[0026] S104, the printing device decrypts and restores the startup code from the received information, and verifies whether the decrypted and restored startup code is legal information. If it is not legal, the verification fails. If it is legal, the printing work starts.

[0027] In general, the above technical solutions conceived by the present invention have beneficial effects compared with the existing technology:

[0028] (1) Through multiple cross-verifications among the first auxiliary server, the second auxiliary server, and the main server, the efficiency and accuracy of anti-counterfeiting identification are greatly improved. In addition to verifying the authenticity of consumables, the authenticity of the printing device is also verified at the same time, effectively avoiding anti-counterfeiting identification errors caused by counterfeiting of the printing device. This makes it difficult for the printing device and related consumables to be counterfeited and cracked by illegal manufacturers, reduces the design and production costs, and can achieve efficient and convenient anti-counterfeiting functions, greatly improving the user experience;

[0029] (2) No need to redesign the hardware structure, saving costs;

[0030] (3) If the main server information is intercepted or tampered with, the printing device can identify it and stop working. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flow chart of an interactive anti-counterfeiting identification method for a thermal transfer printing device and consumables according to an embodiment of the present invention;

[0032] Figure 2 Schematic diagram of a thermal transfer printing device and an interactive anti-counterfeiting identification system for consumables according to an embodiment of the present invention;

[0033] Figure 3 The figure is a schematic diagram of a server in an interactive anti-counterfeiting identification system for a thermal transfer printing device and consumables according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is 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 for the purpose of explaining the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.

[0035] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly specifying the number of the technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. "Multiple" means at least two, for example, two, three, etc., unless otherwise specifically defined.

[0036] Unless otherwise specified, "plurality" means two or more.

[0037] The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or device comprising a series of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules not explicitly listed or inherent to these processes, methods, products or devices.

[0038] The naming or numbering of the 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 sequence 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 effects can be achieved.

[0039] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute a separate or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0040] The present invention provides a thermal transfer printing device and an interactive anti-counterfeiting identification method and system for consumables, which are described below.

[0041] like Figure 1 As shown, an interactive anti-counterfeiting identification method for a thermal transfer printing device and consumables according to an embodiment of the present invention includes the following steps:

[0042] S101, the printing device control module reads the printing device serial number and the consumable serial number, uses a first verification algorithm to calculate the printing device serial number to obtain an n-digit first verification sequence, encrypts the n-digit first verification sequence and the consumable serial number, and sends them to the first auxiliary server; after the first auxiliary server decrypts the received information, it uses a first transposition algorithm to convert the decrypted n-digit first verification sequence into an n*-digit first verification sequence, and extracts an m*-digit consumable verification sequence by querying a first matching table. The first matching table records the mapping relationship between multiple n*-digit first verification sequences and multiple m*-digit consumable verification sequences. The first auxiliary server also uses a second transposition algorithm to convert the decrypted consumable serial number into an m*-digit consumable verification code, and verifies whether the extracted m*-digit consumable verification sequence is consistent with the m*-digit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, execute S102.

[0043] The printing device serial number is a character string used to distinguish the printing device, and may specifically include information such as the printing device ID and the printing device production batch.

[0044] The serial number of the printing device may be obtained in any feasible manner.

[0045] In one embodiment, an RFID tag is attached to the printing device, and the printing device serial number is obtained by reading the RFID tag. This utilizes contactless wireless communication. Specifically, the printing device serial number can be stored on the RFID tag, which can be attached to a printing device component. If the RFID tag is a passive tag, a reader / writer in the printing device control module emits a radio frequency signal, and the RFID tag senses the current and outputs the printing device serial number to the printing device control module. If the RFID tag is an active tag, it actively outputs the printing device serial number to the printing device control module at a specific frequency.

[0046] In another embodiment, a storage module is provided on the printing device to store the printing device serial number, and the printing device serial number is obtained by contacting the output interface of the storage module through a conductive member. This adopts a contact wired communication method.

[0047] In another embodiment, a QR code containing the serial number of the printing device is printed on the printing device, and the user obtains the serial number of the printing device by scanning the QR code.

[0048] After obtaining the printing device serial number, it needs to be converted into an n-digit first check sequence.

[0049] The consumable serial number is a string used to distinguish consumables, and may include information such as the consumable ID and consumable production batch.

[0050] Similarly, the method for obtaining the consumable serial number may be any feasible method.

[0051] The printing device control module obtains the consumable serial number, encrypts the n-digit first check sequence and the consumable serial number, and then sends the encrypted data to the first auxiliary server.

[0052] The first secondary server decrypts and restores the received encrypted information of the n-digit first check sequence, and then converts it into an n*-digit first check sequence using a first transposition algorithm, where n* is a positive integer different from n.

[0053] The first transposition algorithm may be implemented in any manner, for example, it may be a base conversion algorithm.

[0054] The mapping relationship between multiple n*-bit first check sequences and multiple m*-bit consumable check sequences is pre-stored in the first matching table, that is, there is a one-to-one correspondence between the two. Based on an n*-bit first check sequence, a unique corresponding m*-bit consumable check sequence can be found.

[0055] The first auxiliary server decrypts and restores the received consumable serial number, and then converts it into an m*-digit consumable check code using a second transposition algorithm.

[0056] The second transposition algorithm may be implemented in any manner, for example, it may be a base conversion algorithm.

[0057] After obtaining the m*-digit consumable verification code, it is checked against the extracted m*-digit consumable verification sequence. If they are inconsistent, the verification fails. If they are consistent, S102 is executed.

[0058] At this point, the first round of cross-validation is completed in the first secondary server.

[0059] S102: The consumables control module reads the consumables serial number and the printing device serial number, uses a second verification algorithm to calculate the consumables serial number to obtain an m-digit second verification sequence, encrypts the m-digit second verification sequence and the printing device serial number, and sends them to the second auxiliary server; the second auxiliary server decrypts the received information, uses a third transposition algorithm to convert the decrypted m-digit second verification sequence into an m*-digit second verification sequence, and extracts an n*-digit printing device verification sequence by querying a second matching table. The second matching table records the mapping relationship between multiple m*-digit second verification sequences and multiple n*-digit consumables verification sequences. The second auxiliary server also uses a fourth transposition algorithm to convert the decrypted printing device serial number into an n*-digit printing device verification code, and verifies whether the extracted n*-digit printing device verification sequence is consistent with the n*-digit printing device verification code. If they are inconsistent, the verification fails. If they are consistent, S103 is executed.

[0060] The consumables serial number read by the consumables control module needs to be converted into an m-digit second check sequence.

[0061] The consumables control module encrypts the m-digit second check sequence and the printing device serial number and sends the encrypted data to the second auxiliary server.

[0062] The second secondary server decrypts and restores the received encrypted information of the m-digit second check sequence, and then converts it into an m*-digit second check sequence using a third transposition algorithm, where m* is a positive integer different from m.

[0063] The third transposition algorithm may be implemented in any manner, for example, it may be a base conversion algorithm.

[0064] The mapping relationship between multiple m*-digit second check sequences and multiple n*-digit printing device check sequences is pre-stored in the second matching table, that is, there is a one-to-one correspondence between the two. Based on an m*-digit second check sequence, a unique corresponding n*-digit printing device check sequence can be found.

[0065] The second auxiliary server decrypts and restores the received printing device serial number, and then converts it into an n*-digit printing device verification code using the fourth transposition algorithm.

[0066] The fourth transposition algorithm may be implemented in any manner, for example, it may be a base conversion algorithm.

[0067] After obtaining the n*-digit printing device verification code, it is compared with the extracted n*-digit printing device verification sequence. If they are inconsistent, the verification fails. If they are consistent, S103 is executed.

[0068] At this point, the second round of cross-validation is completed in the second secondary server.

[0069] S103, the first auxiliary server sends the m*-digit consumables verification code to the main server, and the second auxiliary server sends the n*-digit printing device verification code to the main server. The main server verifies whether there is a preset functional relationship between the m*-digit consumables verification code and the n*-digit printing device verification code. If not, the verification fails. If so, the main server encrypts the startup code and sends it to the printing device.

[0070] A third round of cross-verification is performed on the primary server. The primary server receives the m*-digit consumable verification code and the n*-digit printing device verification code from the first and second secondary servers, respectively. By pre-setting the consumable serial number, printing device serial number, second transposition algorithm, and fourth transposition algorithm, the m*-digit consumable verification code and n*-digit printing device verification code corresponding to genuine consumables and genuine printers can be guaranteed to satisfy a pre-set functional relationship. If not, verification fails, indicating that at least one of the consumables and printer is counterfeit. If so, the primary server encrypts the activation code and sends it to the printing device.

[0071] S104, the printing device decrypts and restores the startup code from the received information, and verifies whether the decrypted and restored startup code is legal information. If it is not legal, the verification fails. If it is legal, the printing work starts.

[0072] After the startup code is decrypted, it also needs to be verified for legitimacy to prevent interception and tampering during data transmission. If the legitimacy verification fails, the verification fails. If the legitimacy verification passes, the printing device is controlled to start printing.

[0073] Furthermore, the startup code is composed of the device serial number, consumable serial number, activation code, main server serial number and random code in a preset format, that is, it does not have to be arranged in order, but the order can be adjusted or other formats can be used, as long as it is composed in the preset format.

[0074] The server serial number is a string used to distinguish the server, and may include information such as the server ID and consumables production batch.

[0075] The verification of whether the decrypted and restored startup code is legal information includes the following sub-steps:

[0076] S1041, verify whether the decrypted and restored startup code conforms to a predetermined format, that is, whether it conforms to the preset format when it is composed. If not, the verification fails. If it conforms, execute S1042.

[0077] S1042, check whether the device serial number and consumable serial number of the decrypted and restored startup code are consistent with the printing device serial number and consumable serial number read by the printing device control module. If they are inconsistent, the verification fails. If they are consistent, execute S1043.

[0078] Inconsistency means that any one of the items is inconsistent, and the verification fails. Consistency means that both items are consistent, and S1043 is executed.

[0079] S1043, check whether the decrypted and restored startup code contains the server serial number. If not, the verification fails. If it does, use a preset verification algorithm to calculate the server serial number in the decrypted and restored startup code to obtain a verification result sequence, and verify whether the verification result sequence conforms to the preset format. If not, the verification fails; if it conforms, execute S1044.

[0080] The server serial number corresponding to the server authorized to send the activation code must meet certain requirements. Specifically, the verification result sequence calculated using a preset verification algorithm must conform to a preset format. If the server serial number does not meet these requirements, it is possible that a server without authorization to send the activation code forged the activation code, and thus the verification is determined to have failed. If the server serial number meets these requirements, execution continues to S1044.

[0081] S1044, verifying whether the verification result sequence and the random code in the decrypted and restored startup code meet a preset verifiable relationship. If not, the verification fails; if so, the printing process starts.

[0082] The server authorized to send the activation code must meet the following requirements: the verification result sequence corresponding to the server serial number and the random code must satisfy a pre-set verifiable relationship. If this relationship does not exist, it is possible that the activation code was forged by a server without activation code sending authority, and verification will be considered failed. If this relationship is satisfied, verification is passed.

[0083] Furthermore, the random code in the startup code is generated by the main server using a random code algorithm.

[0084] Furthermore, verifying whether the verification result sequence and the random code in the decrypted and restored startup code satisfy a preset verifiable relationship is to verify whether the verification result sequence and the random code in the decrypted and restored startup code satisfy a preset functional relationship. That is, a server authorized to send startup codes is required to meet the requirement that the verification result sequence corresponding to its server serial number and the random code satisfy a preset functional relationship.

[0085] Furthermore, the printing device serial number is a 32-bit sequence, n is a positive integer less than 32, and the consumable serial number is a 16-bit sequence, m is a positive integer less than 16. An appropriate number of bits can take into account both the amount of data calculation and the difficulty of cracking.

[0086] Furthermore, n and n* are different positive integers less than or equal to 32, and m and m* are different positive integers less than or equal to 16.

[0087] Furthermore, the first matching table is predetermined and stored in the first auxiliary server, and the first auxiliary server directly calls the first matching table to extract the m*-digit consumable verification sequence. The second matching table is predetermined and stored in the second auxiliary server. The second auxiliary server directly calls the second matching table to extract the n*-digit printing device verification sequence.

[0088] Furthermore, the first matching table is the same as the second matching table.

[0089] Furthermore, the first auxiliary server and the second auxiliary server are integrated into the main server, that is, the first auxiliary server and the second auxiliary server are two submodules of the main server.

[0090] like Figure 2 and Figure 3 As shown, according to another aspect of the present invention, a thermal transfer printing device and an interactive anti-counterfeiting identification system for consumables are provided, including consumables, a printing device and a server, the server including a first auxiliary server, a second auxiliary server and a main server, the printing device including a printing device control module, the consumables including a consumables control module, and the system is used to implement the following steps:

[0091] S101: The printing device control module reads the printing device serial number and the consumable serial number, calculates the printing device serial number using a first verification algorithm to obtain an n-digit first verification sequence, encrypts the n-digit first verification sequence and the consumable serial number, and sends them to a first auxiliary server; the first auxiliary server decrypts the received information, converts the decrypted n-digit first verification sequence into an n*-digit first verification sequence using a first transposition algorithm, and extracts an m*-digit consumable verification sequence by querying a first matching table, wherein the first matching table records a mapping relationship between multiple n*-digit first verification sequences and multiple m*-digit consumable verification sequences. The first auxiliary server further converts the decrypted consumable serial number into an m*-digit consumable verification code using a second transposition algorithm, and verifies whether the extracted m*-digit consumable verification sequence is consistent with the m*-digit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, S102 is executed;

[0092] S102: The consumables control module reads the consumables serial number and the printing device serial number, calculates the consumables serial number using a second verification algorithm to obtain an m-digit second verification sequence, encrypts the m-digit second verification sequence and the printing device serial number, and sends the encrypted sequence to the second auxiliary server. The second auxiliary server decrypts the received information, converts the decrypted m-digit second verification sequence into an m*-digit second verification sequence using a third transposition algorithm, and extracts an n*-digit printing device verification sequence by querying a second matching table. The second matching table records mappings between multiple m*-digit second verification sequences and multiple n*-digit printing device verification sequences. The second auxiliary server further converts the decrypted printing device serial number into an n*-digit printing device verification code using a fourth transposition algorithm, and verifies whether the extracted n*-digit printing device verification sequence is consistent with the n*-digit printing device verification code. If they are inconsistent, verification fails. If they are consistent, execution proceeds to S103.

[0093] S103: The first auxiliary server sends the m*-digit consumable verification code to the main server, and the second auxiliary server sends the n*-digit printing device verification code to the main server. The main server verifies whether the m*-digit consumable verification code and the n*-digit printing device verification code have a preset functional relationship. If not, the verification fails. If so, the main server encrypts the startup code and sends it to the printing device.

[0094] S104, the printing device decrypts and restores the startup code from the received information, and verifies whether the decrypted and restored startup code is legal information. If it is not legal, the verification fails. If it is legal, the printing work starts.

[0095] The working principle and technical effects of the system are the same as those of the above method and will not be repeated here.

[0096] It will be easily understood by those skilled in the art 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 in the scope of protection of the present invention.

Claims

1. An interactive anti-counterfeiting identification method for thermal transfer printing equipment and consumables, characterized in that: Including steps: S101: The printing device control module reads the printing device serial number and the consumable serial number, calculates the printing device serial number using a first verification algorithm to obtain an n-digit first verification sequence, encrypts the n-digit first verification sequence and the consumable serial number, and sends them to a first auxiliary server; the first auxiliary server decrypts the received information, converts the decrypted n-digit first verification sequence into an n*-digit first verification sequence using a first transposition algorithm, extracts an m*-digit consumable verification sequence by querying a first matching table, wherein the first matching table records a mapping relationship between multiple n*-digit first verification sequences and multiple m*-digit consumable verification sequences; the first auxiliary server further converts the decrypted consumable serial number into an m*-digit consumable verification code using a second transposition algorithm, and verifies whether the extracted m*-digit consumable verification sequence is consistent with the m*-digit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, S102 is executed; S102: The consumables control module reads the consumables serial number and the printing device serial number, calculates the consumables serial number using a second verification algorithm to obtain an m-digit second verification sequence, encrypts the m-digit second verification sequence and the printing device serial number, and sends the encrypted sequence to the second auxiliary server. The second auxiliary server decrypts the received information, converts the decrypted m-digit second verification sequence into an m*-digit second verification sequence using a third transposition algorithm, and extracts an n*-digit printing device verification sequence by querying a second matching table. The second matching table records mappings between multiple m*-digit second verification sequences and multiple n*-digit printing device verification sequences. The second auxiliary server further converts the decrypted printing device serial number into an n*-digit printing device verification code using a fourth transposition algorithm, and verifies whether the extracted n*-digit printing device verification sequence is consistent with the n*-digit printing device verification code. If they are inconsistent, verification fails. If they are consistent, execution proceeds to S103. S103: The first auxiliary server sends the m*-digit consumable verification code to the main server, and the second auxiliary server sends the n*-digit printing device verification code to the main server. The main server verifies whether the m*-digit consumable verification code and the n*-digit printing device verification code have a preset functional relationship. If not, the verification fails. If so, the main server encrypts the startup code and sends it to the printing device. S104, the printing device decrypts and restores the startup code from the received information, and verifies whether the decrypted and restored startup code is legal information. If it is not legal, the verification fails. If it is legal, the printing work starts.

2. The interactive anti-counterfeiting identification method of the thermal transfer printing device and consumables according to claim 1, characterized in that: The startup code is composed of the device serial number, consumable serial number, activation code, main server serial number and random code in a preset format. The verification of whether the decrypted and restored startup code is legal information includes the following sub-steps: S1041, verify whether the decrypted and restored startup code conforms to a predetermined format. If not, the verification fails. If it conforms, execute S1042; S1042, verifying whether the device serial number and consumable serial number in the decrypted and restored startup code are consistent with the printing device serial number and consumable serial number read by the printing device control module. If they are inconsistent, the verification fails. If they are consistent, executing S1043; S1043, checking whether the decrypted and restored startup code contains the server serial number. If not, verification fails. If it does, a predetermined verification algorithm is used to calculate a verification result sequence for the server serial number in the decrypted and restored startup code. The verification result sequence is then verified to be in a predetermined format. If not, verification fails. If it meets the requirements, execute S1044; S1044, verifying whether the verification result sequence and the random code in the decrypted and restored startup code meet a preset verifiable relationship. If not, the verification fails; if so, the printing process starts.

3. The interactive anti-counterfeiting identification method for thermal transfer printing equipment and consumables according to claim 2, characterized in that: The random code in the startup code is generated by the main server using a random code algorithm.

4. The interactive anti-counterfeiting identification method for thermal transfer printing equipment and consumables according to claim 2, characterized in that: The verifying whether the verification result sequence and the random code in the decrypted and restored startup code satisfy a preset verifiable relationship is: verifying whether the verification result sequence and the random code in the decrypted and restored startup code satisfy a preset functional relationship.

5. The interactive anti-counterfeiting identification method of the thermal transfer printing device and consumables according to claim 1, characterized in that: The printing device serial number is a 32-bit sequence, n is a positive integer less than 32, and the consumables serial number is a 16-bit sequence, m is a positive integer less than 16.

6. The interactive anti-counterfeiting identification method of the thermal transfer printing device and consumables according to claim 5, characterized in that: n and n* are different positive integers less than or equal to 32, and m and m* are different positive integers less than or equal to 16.

7. The interactive anti-counterfeiting identification method of the thermal transfer printing device and consumables according to claim 1, characterized in that: The first matching table is predetermined and stored in the first auxiliary server, and the second matching table is predetermined and stored in the second auxiliary server.

8. The interactive anti-counterfeiting identification method for thermal transfer printing equipment and consumables according to claim 1, characterized in that: The first matching table is the same as the second matching table.

9. The interactive anti-counterfeiting identification method for thermal transfer printing equipment and consumables according to claim 1, characterized in that: The first auxiliary server and the second auxiliary server are integrated with the main server.

10. An interactive anti-counterfeiting identification system for thermal transfer printing equipment and consumables, characterized in that: The system includes consumables, a printing device, and a server, wherein the server includes a first auxiliary server, a second auxiliary server, and a main server, the printing device includes a printing device control module, and the consumables include a consumables control module. The system is used to implement the following steps: S101: The printing device control module reads the printing device serial number and the consumable serial number, calculates the printing device serial number using a first verification algorithm to obtain an n-digit first verification sequence, encrypts the n-digit first verification sequence and the consumable serial number, and sends them to a first auxiliary server; the first auxiliary server decrypts the received information, converts the decrypted n-digit first verification sequence into an n*-digit first verification sequence using a first transposition algorithm, and extracts an m*-digit consumable verification sequence by querying a first matching table, wherein the first matching table records a mapping relationship between multiple n*-digit first verification sequences and multiple m*-digit consumable verification sequences. The first auxiliary server further converts the decrypted consumable serial number into an m*-digit consumable verification code using a second transposition algorithm, and verifies whether the extracted m*-digit consumable verification sequence is consistent with the m*-digit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, S102 is executed; S102: The consumables control module reads the consumables serial number and the printing device serial number, calculates the consumables serial number using a second verification algorithm to obtain an m-digit second verification sequence, encrypts the m-digit second verification sequence and the printing device serial number, and sends the encrypted sequence to the second auxiliary server. The second auxiliary server decrypts the received information, converts the decrypted m-digit second verification sequence into an m*-digit second verification sequence using a third transposition algorithm, and extracts an n*-digit printing device verification sequence by querying a second matching table. The second matching table records mappings between multiple m*-digit second verification sequences and multiple n*-digit printing device verification sequences. The second auxiliary server further converts the decrypted printing device serial number into an n*-digit printing device verification code using a fourth transposition algorithm, and verifies whether the extracted n*-digit printing device verification sequence is consistent with the n*-digit printing device verification code. If they are inconsistent, verification fails. If they are consistent, execution proceeds to S103. S103: The first auxiliary server sends the m*-digit consumable verification code to the main server, and the second auxiliary server sends the n*-digit printing device verification code to the main server. The main server verifies whether the m*-digit consumable verification code and the n*-digit printing device verification code have a preset functional relationship. If not, the verification fails. If so, the main server encrypts the startup code and sends it to the printing device. S104, the printing device decrypts and restores the startup code from the received information, and verifies whether the decrypted and restored startup code is legal information. If it is not legal, the verification fails. If it is legal, the printing work starts.

Citation Information

Patent Citations

  • Interactive anti-counterfeiting verification method and system for thermal transfer printing equipment and consumables

    CN117283998A

  • Interactive anti-counterfeiting verification method and system for thermal transfer printing equipment and consumables

    CN117301739A