Interactive anti-counterfeiting verification method and system for a thermal transfer printing device and consumables
By employing a multi-faceted cross-verification method involving printing equipment, consumables, and cloud servers, the problem of easily counterfeited encrypted anti-counterfeiting identification in existing technologies has been solved. This achieves efficient and accurate anti-counterfeiting identification, improves user experience, and reduces production costs.
Patent Information
- Application Number
- CN202311206959.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2043-09-19
AI Technical Summary
The existing encryption and anti-counterfeiting identification technology of thermal transfer printing equipment is easily counterfeited and cracked by unscrupulous manufacturers, resulting in poor compatibility between consumables and printing equipment, which affects the user experience.
A multi-step cross-validation method is adopted, which involves the collaborative work of printing equipment, consumables and cloud servers. The verification algorithm and matching table are used to encrypt and decrypt serial numbers and check mapping relationships, generate random codes and verify them on the cloud server, so as to ensure the security and accuracy of information transmission.
It improves the efficiency and accuracy of anti-counterfeiting identification, prevents printing equipment and consumables from being counterfeited, reduces production costs, enhances user experience, and can identify and stop working when communication is tampered with.
Smart Images

Figure CN117283998B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of printing, and more particularly, relates to an interactive anti-counterfeiting verification method and system for a thermal transfer printing device and consumables. BACKGROUND
[0002] Portable intelligent printing devices represented by thermal transfer printing devices are increasingly popular and widespread, and manufacturers in the industry mainly rely on the production and sale of consumables to obtain necessary profits. Therefore, there are a large number of unscrupulous manufacturers in the market who counterfeit and forge genuine consumables to obtain unfair competition profits, which poses a serious challenge to the industry competition order, and the counterfeit and forged consumables are difficult to form a good compatibility effect with the original genuine intelligent printing device, which easily causes damage to the intelligent printing device and seriously affects the user experience.
[0003] In the existing encryption anti-counterfeiting identification technology, a chip with consumable genuine identification information is attached to the consumable reel in the consumable production link, and in the specific use process of the printing device, the identification information in the consumable chip is acquired by a reading and writing device of the printing device, and the information is identified and verified to confirm whether the consumable is the original genuine one. In addition, the consumable identification information and verification answer need to be written into the chip in advance in the production link, or the verification answer is determined and stored in the cloud server in advance. This encryption anti-counterfeiting method is easily cracked in the following two cases: (1) when the consumable identification information and verification answer are leaked, the above anti-counterfeiting identification technology is invalid; (2) in the communication process between the printing device and the cloud server, the communication signal is illegally intercepted or tampered with. In addition, even if the consumable identity information is correct, it is difficult to avoid the anti-counterfeiting identification error due to the counterfeit printing device. Therefore, there is an urgent need in the industry for an encryption anti-counterfeiting method and system that is not easy to be cracked by unscrupulous manufacturers. SUMMARY
[0004] In view of the above defects or improvement needs of the prior art, the present application provides an interactive anti-counterfeiting verification method and system for a thermal transfer printing device and consumables, which is not easy to be cracked by unscrupulous manufacturers.
[0005] To achieve the above-mentioned purpose, according to one aspect of the present application, an interactive anti-counterfeiting verification method for a thermal transfer printing device and consumables is provided, which is applied to an interactive anti-counterfeiting verification system including a printing device, consumables and a cloud server, the printing device includes a first printing device control module and a second printing device control module, the consumables include a first consumable control module and a second consumable control module, and the method includes the following steps:
[0006] S101, the first printing device control module reads the printing device serial number, converts the printing device serial number into a first check sequence of n bits using a first check algorithm, encrypts the first check sequence, and sends the encrypted information to the second consumable control module;
[0007] S102, the second consumable control module receives the encrypted information and decrypts and restores it, and converts the decrypted and restored information into an n*bit first check sequence using a first transposition algorithm, extracts an m*bit consumable check code by querying a preset first matching table, the first matching table stores a mapping relationship between a plurality of n*bit first check sequences and a plurality of m*bit consumable check codes, and sends the extracted m*bit consumable check code to the first consumable control module;
[0008] S103, the first consumable control module reads the consumable serial number, converts the consumable serial number into an m*bit second check sequence using a second check algorithm, and converts the m*bit second check sequence into an m*bit second check sequence using a second transposition algorithm, and checks whether the m*bit second check sequence and the m*bit consumable check code are consistent, if not, the verification fails, if consistent, S104 is started;
[0009] S104, the first consumable control module converts the consumable serial number into an m*bit third check sequence using a third check algorithm, and encrypts the m*bit third check sequence, and sends the encrypted information to the second printing device control module;
[0010] S105, the second printing device control module receives the information and decrypts and restores it, converts the decrypted and restored information into an m**bit third check sequence using a third transposition algorithm, extracts an n**bit printing device check code by querying a preset second matching table, the second matching table stores a mapping relationship between a plurality of m**bit third check sequences and a plurality of n**bit printing device check codes, and sends the n**bit printing device check code to the first printing device control module;
[0011] S106, the first printing device control module converts the printing device serial number into an n*bit fourth check sequence using a fourth check algorithm, converts the n*bit fourth check sequence into an n**bit fourth check sequence using a fourth transposition algorithm, checks whether the n**bit fourth check sequence and the n**bit printing device check code are consistent, if not, the verification fails, if the verification is consistent, S107 is started;
[0012] S107, the first printing device controller or the second printing device controller arranges the printing device serial number and the consumable serial number into a first sequence in a predetermined format and method, generates a random code, arranges the first sequence and the random code into a second sequence in a predetermined format and method, encrypts the second sequence and sends it to the cloud server;
[0013] S108, the cloud server receives information and decryption, respectively, to obtain the print device serial number and consumables serial number restoration information, using the fifth check algorithm print device serial number and consumables serial number restoration information calculated into k fifth check sequence, by querying the third matching table extraction k fifth check code, the third matching table stores a plurality of print device serial number, a plurality of consumables serial number and a plurality of k fifth check code corresponding relationship, check k fifth check sequence and k fifth check code is consistent, if not consistent, if the verification is consistent, the cloud server sends the print device to start code, the print device receives and verifies the authenticity of the start code after starting the printing work.
[0014] Further, the print device serial number is 32 bit sequence, n is less than 32 positive integer, the consumables serial number is 16 bit sequence, m is less than 16 positive integer.
[0015] Further, n, n*, n** is not the same and less than or equal to 32 positive integer, m, m*, m** is not the same and less than or equal to 16 positive integer.
[0016] Further, the print device serial number and consumables serial number in the cloud server backup, the S108, after obtaining the print device serial number and consumables serial number restoration information, first, the print device serial number and consumables serial number restoration information respectively with the print device serial number and consumables serial number backup information are checked, if the check is inconsistent, if the check is consistent, the subsequent steps are executed again.
[0017] Further, the consumables serial number, the first matching table is stored in the consumables RFID electronic tag or consumables memory, the print device serial number, the second matching table is stored in the print device RFID electronic tag or print device memory.
[0018] Further, the third matching table is stored in the cloud server.
[0019] Further, the first matching table and the second matching table are the same.
[0020] Further, the start code contains cloud server exclusive identification information, random identification information and activation code, the print device receives the start code, according to the cloud server exclusive identification information and the random identification information to verify the authenticity of the start code.
[0021] Further, the random identification information and the cloud server exclusive identification information, the activation code exist between the verifiable relationship.
[0022] According to a second aspect of the present application, there is provided an interactive anti-counterfeiting verification system of a thermal transfer printing device and consumables, comprising a printing device, consumables and a cloud server, the printing device comprising a first printing device control module and a second printing device control module, the consumables comprising a first consumable control module and a second consumable control module, the method comprising the steps of:
[0023] The first printing device control module is configured to read a printing device serial number, convert the printing device serial number into an n-bit first check sequence using a first check algorithm, encrypt the n-bit first check sequence, and send the encrypted information to the second consumable control module.
[0024] The second consumable control module is configured to receive and decrypt the encrypted information, convert the decrypted information into an n*bit first check sequence using a first transposition algorithm, extract an m*bit consumable check code by querying a preset first matching table, the first matching table storing a mapping relationship between a plurality of n*bit first check sequences and a plurality of m*bit consumable check codes, and send the extracted m*bit consumable check code to the first consumable control module.
[0025] The first consumable control module is configured to read a consumable serial number, convert the consumable serial number into an m-bit second check sequence using a second check algorithm, convert the m-bit second check sequence into an m*bit second check sequence using a second transposition algorithm, check whether the m*bit second check sequence is consistent with the m*bit consumable check code, and if not, the verification fails, and if so, S104 is started.
[0026] The first consumable control module is further configured to encrypt the consumable serial number into an m-bit third check sequence using a third check algorithm, and send the encrypted information to the second printing device control module.
[0027] The second printing device control module is configured to receive and decrypt the information, convert the decrypted information into an m**bit third check sequence using a third transposition algorithm, extract an n**bit printing device check code by querying a preset second matching table, the second matching table storing a mapping relationship between a plurality of m**bit third check sequences and a plurality of n**bit printing device check codes, and send the n**bit printing device check code to the first printing device control module.
[0028] The first printing device control module is further configured to convert the printing device serial number into a fourth check sequence of n* bits by using a fourth check algorithm, convert the fourth check sequence of n* bits into a fourth check sequence of n** bits by using a fourth transposition algorithm, check whether the fourth check sequence of n** bits is consistent with the printing device check code of n** bits, if not, the verification fails, and if the verification is consistent, S107 is started;
[0029] The first printing device controller or the second printing device controller is further configured to arrange the printing device serial number and the consumable serial number into a first sequence in a predetermined format and method, generate a random code, arrange the first sequence and the random code into a second sequence in a predetermined format and method, encrypt the second sequence and send it to the cloud server.
[0030] The cloud server is configured to receive and decrypt information, respectively obtain the restoration information of the printing device serial number and the consumable serial number, calculate the restoration information of the printing device serial number and the consumable serial number into a fifth check sequence of k bits by using a fifth check algorithm, extract a fifth check code of k bits by querying a preset third matching table, the third matching table stores the corresponding relationship between a plurality of printing device serial numbers, a plurality of consumable serial numbers and a plurality of fifth check codes of k bits, check whether the fifth check sequence of k bits is consistent with the fifth check code of k bits, if not, the verification fails, and if the verification is consistent, the cloud server sends a start code to the printing device, and the printing device starts printing work after receiving and verifying the authenticity of the start code.
[0031] Overall, the above technical solutions conceived by the present application have beneficial effects compared with the prior art:
[0032] (1) Through the multiple cross verification of the printing device, the consumable and the cloud server, the efficiency and accuracy of the anti-counterfeiting identification are greatly improved, and in addition to verifying the authenticity of the consumable, the authenticity of the printing device is also verified, effectively avoiding the anti-counterfeiting identification error situation caused by the counterfeit printing device, making the printing device and related consumables not easy to be counterfeited and cracked by unscrupulous manufacturers, with lower design and production cost, and realizing efficient and convenient anti-counterfeiting function, greatly improving the user experience.
[0033] (2) The generation, reading and verification of data are realized by the cooperation of the RFID electronic tag, the printing device and the cloud server, realizing efficient anti-counterfeiting identification function, without the need to redesign or adjust the internal structure of the printing device, with low production cost.
[0034] (3) If the cloud server information is intercepted, tampered or the like, the printing device can identify and stop working. BRIEF DESCRIPTION OF DRAWINGS
[0035] Figure 1is a schematic diagram of the principle of the interactive anti-counterfeiting verification system and method of the heat transfer printing device and consumables of the embodiment of the present application;
[0036] Figure 2 is a flow chart of the interactive anti-counterfeiting verification method of the heat transfer printing device and consumables of the embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of the present application more clear, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application. In addition, the technical features involved in each embodiment of the present application described below can be combined with each other as long as they do not conflict with each other.
[0038] In the description of the embodiments of the present application, the terms "first", "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features limited by "first", "second" can explicitly or implicitly include at least one of the features. The meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise specifically limited.
[0039] Unless otherwise stated, the meaning of "a plurality" is two or more.
[0040] In the embodiments of the present application, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, device, product or equipment including a series of steps or modules does not have to be limited to only those steps or modules clearly listed, but can include other steps or modules not clearly listed or inherent to these processes, methods, products or equipment.
[0041] The naming or numbering of the steps appearing in the embodiments of the present application does not mean that the steps in the method flow must be performed in the time / logical order indicated by the naming or numbering. The named or numbered flow steps can change the execution order according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
[0042] Reference to "embodiments" herein means that the specific features, structures or properties described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears at various places in the specification does not necessarily refer to the same embodiment, nor is it mutually exclusive or alternative to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0043] The application provides an interactive anti-counterfeiting verification method and system of a thermal transfer printing device and consumables.
[0044] As shown in the drawings, Figure 1 The application provides an interactive anti-counterfeiting verification method of a thermal transfer printing device and consumables, which is applied to an interactive anti-counterfeiting verification system comprising a printing device, consumables and a cloud server. The printing device comprises a first printing device control module and a second printing device control module, and the consumables comprise a first consumable control module and a second consumable control module.
[0045] As shown in the drawings, Figure 2 The method comprises the following steps:
[0046] S101, the first printing device control module reads a printing device serial number, converts the printing device serial number into a first check sequence of n bits by using a first check algorithm, encrypts the first check sequence, and sends the encrypted information to the second consumable control module.
[0047] The printing device serial number is a string used to distinguish the printing device, which can specifically comprise a printing device ID, a printing device production batch and the like.
[0048] The method for obtaining the printing device serial number can be any feasible method.
[0049] In one embodiment, an RFID electronic tag is attached to the printing device, and the printing device serial number is obtained by reading the RFID electronic tag. This is a non-contact wireless communication method. Specifically, the printing device serial number can be stored in the RFID electronic tag, and the RFID electronic tag can be attached to a printing device component. If the RFID electronic tag is a passive tag, a wireless radio frequency signal is emitted by the reader in the first printing device control module, and the RFID electronic tag outputs the printing device serial number to the first printing device control module by means of the induced current. If the RFID electronic tag is an active tag, the RFID electronic tag actively outputs the printing device serial number to the first printing device control module at a certain specific frequency.
[0050] In another embodiment, a storage module is arranged 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 conducting member. This is a contact wired communication method.
[0051] In another embodiment, a two-dimensional code containing the printing device serial number is printed on the printing device, and the user obtains the printing device serial number by scanning the two-dimensional code.
[0052] The printing device serial number is acquired, bit conversion is performed, and the encrypted information is sent to the second consumable control module.
[0053] The first check algorithm can be any implementation.
[0054] In S102, the second consumable control module receives the encrypted information, decrypts and restores the information, converts the decrypted and restored information into an n* bit first check sequence by using a first transposition algorithm, extracts an m* bit consumable check code by querying a preset first matching table, the first matching table stores a mapping relationship between a plurality of n* bit first check sequences and a plurality of m* bit consumable check codes, and sends the extracted m* bit consumable check code to the first consumable control module.
[0055] The second consumable control module decrypts and restores the received n bit encrypted information of the first check sequence, and then converts the n* bit first check sequence. n* is a positive integer different from n.
[0056] The first matching table stores a mapping relationship between a plurality of n* bit first check sequences and a plurality of m* bit consumable check codes in advance, that is, one-to-one correspondence between the two, and based on an n* bit first check sequence, a unique m* bit consumable check code corresponding to the n* bit first check sequence can be found.
[0057] The first transposition algorithm can be any implementation, for example, a base conversion algorithm.
[0058] In S103, the first consumable control module reads a consumable serial number, converts the consumable serial number into an m bit second check sequence by using a second check algorithm, converts the m bit second check sequence into an m* bit second check sequence by using a second transposition algorithm, checks whether the m* bit second check sequence is consistent with the m* bit consumable check code, if not, the verification fails, and if yes, S104 is started.
[0059] The consumable serial number is a string used to distinguish consumables, and can specifically include consumable ID, consumable production batch, and the like.
[0060] Similarly, the way of acquiring the consumable serial number can be any feasible way.
[0061] The second transposition algorithm can be any implementation, for example, a base conversion algorithm.
[0062] The first consumable control module checks whether the m* bit second check sequence is consistent with the m* bit consumable check code, wherein the m* bit second check sequence is calculated by the first consumable control module directly according to the read consumable serial number, and the m* bit consumable check code is obtained by the first printing device control module and the second consumable control module based on the printing device serial number. If not consistent, the verification fails, and if consistent, S104 is started.
[0063] At this point, the interactive verification of the consumable is completed.
[0064] S104, the first consumable control module converts the consumable serial number into an m-bit third check sequence by using a third check algorithm, and encrypts the m-bit third check sequence, and sends the encrypted information to the second printing device control module.
[0065] The first consumable control module obtains the printing device serial number, needs to be converted in bit number, so as to increase the cracking difficulty. After the bit number conversion, it is encrypted and sent to the second printing device control module.
[0066] S105, the second printing device control module receives and decrypts the information, converts the decrypted information into an m** bit third check sequence by using a third transposition algorithm, extracts an n** bit printing device check code by querying a preset second matching table, the second matching table stores a mapping relationship between a plurality of m** bit third check sequences and a plurality of n** bit printing device check codes, and sends the n** bit printing device check code to the first printing device control module.
[0067] The second printing device control module decrypts and restores the received m-bit first check sequence encryption information, and then converts it into an m** bit third check sequence. M** is a positive integer different from m.
[0068] The third transposition algorithm can be any implementation, for example, it can be a base conversion algorithm.
[0069] The first matching table stores a mapping relationship between a plurality of m** bit third check sequences and a plurality of n** bit printing device check codes in advance, that is, one-to-one correspondence between the two, so that one n** bit printing device check code corresponding to one m** bit third check sequence can be found.
[0070] S106, the first printing device control module converts the printing device serial number into an n* bit fourth check sequence by using a fourth check algorithm, converts the n* bit fourth check sequence into an n** bit fourth check sequence by using a fourth transposition algorithm, checks whether the n** bit fourth check sequence is consistent with the n** bit printing device check code, if not consistent, the verification fails, if the verification is consistent, S107 is started.
[0071] The fourth transposition algorithm can be any implementation, for example, a base conversion algorithm.
[0072] The first printing device control module checks whether the n**-bit fourth check sequence calculated directly by the first printing device control module according to the printing device serial number is consistent with the n**-bit printing device check code obtained by the first consumable control module and the printing device second control module based on the printing device serial number. If not, the verification fails, and if yes, S107 is started.
[0073] At this point, the interactive verification of the printing device is completed.
[0074] S107, the first printing device controller or the second printing device controller arranges the printing device serial number and the consumable serial number into a first sequence in a predetermined format and method, generates a random code, arranges the first sequence and the random code into a second sequence in a predetermined format and method, encrypts the second sequence, and sends it to the cloud server.
[0075] In order to further improve the cracking difficulty, and in order to facilitate the tracing of cracking behavior, and also to avoid interception and tampering in the data transmission process, the printing device serial number and the consumable serial number need to be processed and encrypted before being sent to the cloud server in the embodiment of the application.
[0076] A random number generation algorithm can be used to generate an a-bit random code. The first sequence is denoted as X, the a-bit random code and the first sequence X are arranged into a second sequence, denoted as Y, and Y is sent to the cloud server after being encrypted.
[0077] S108, the cloud server receives and decrypts the information, respectively obtains the restoration information of the printing device serial number and the consumable serial number, calculates the restoration information of the printing device serial number and the consumable serial number into a k-bit fifth check sequence using a fifth check algorithm, extracts a k-bit fifth check code by querying a preset third matching table, the third matching table stores the correspondence between a plurality of printing device serial numbers, a plurality of consumable serial numbers and a plurality of k-bit fifth check codes, checks whether the k-bit fifth check sequence is consistent with the k-bit fifth check code, if not, the verification fails, if the verification is consistent, the cloud server sends a start code to the printing device, and the printing device starts printing work after receiving and verifying the authenticity of the start code.
[0078] An example of the third matching table is shown in Table 1.
[0079] The printing device serial number is x i, 1≤i≤N, the consumable serial number is denoted as y j , 1≤j≤M, the fifth check sequence of the corresponding k-bit is denoted as z ji . Assuming that the restoration information of the printing device serial number is x2, the restoration information of the consumable serial number is y1, and the corresponding fifth check sequence of the k-bit is z according to the table 12 . The fifth check algorithm is used to calculate the restoration information x2 of the printing device serial number and the restoration information y1 of the consumable serial number into the fifth check sequence of the k-bit, denoted as z' 12 . Whether z 12 and z' 12 are consistent, if not, the verification fails, if the verification is consistent, the cloud server sends a start code to the printing device. After receiving the start code, the printing device verifies the authenticity of the start code, and then starts the printing work.
[0080] Table 1
[0081]
[0082]
[0083] Further, 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. Suitable bit number can take into account the data calculation amount and cracking difficulty.
[0084] Further, n, n*, n** are different and less than or equal to 32 positive integers, m, m*, m** are different and less than or equal to 16 positive integers.
[0085] Further, the printing device serial number and the consumable serial number are backed up in the cloud server, and in the S108, after obtaining the restoration information of the printing device serial number and the consumable serial number, the restoration information of the printing device serial number and the consumable serial number is checked with the backup information of the printing device serial number and the consumable serial number respectively, if the check is inconsistent, the verification fails, if the check is consistent, the subsequent steps are executed.
[0086] That is, x i and y j are backed up in the cloud server, and in the S108, after obtaining the restoration information of the printing device serial number and the consumable serial number, the restoration information of the printing device serial number and the consumable serial number is checked with the backup information of the printing device serial number x i and the consumable serial number y j , if the restoration information of the printing device serial number and the printing device serial number x i are consistent, and the restoration information of the consumable serial number and the consumable serial number y jIf consistent, the print device serial number and the reduced information of the consumable serial number are calculated into a fifth check sequence of k bits by using a fifth check algorithm, a fifth check code of k bits is extracted by querying a preset third matching table, and subsequent checking is performed.
[0087] Further, the consumable serial number and the first matching table are stored in a consumable RFID electronic tag or a consumable memory, and the second consumable control module obtains the consumable serial number and the first matching table from the consumable RFID electronic tag or the consumable memory. The print device serial number and the second matching table are stored in a print device RFID electronic tag or a print device memory, and the second print device control module obtains the print device serial number and the second matching table from the print device RFID electronic tag or the print device memory.
[0088] Further, the third matching table is stored in the cloud server. The cloud server directly calls the third matching table.
[0089] Further, the first matching table and the second matching table can be the same.
[0090] Further, the start code contains cloud server exclusive identification information, random identification information and an activation code. After the print device receives the start code, the authenticity of the start code is verified according to the cloud server exclusive identification information and the random identification information.
[0091] The authenticity of the start code is verified to prevent signal interception and tampering.
[0092] Further, the random identification information has a verifiable relationship with the cloud server exclusive identification information and the activation code, for example, the random identification information is a function of the cloud server exclusive identification information and the activation code.
[0093] According to a second aspect of the present application, an interactive anti-counterfeiting verification system of a thermal transfer printing device and a consumable is provided, comprising a print device, a consumable and a cloud server. The print device comprises a first print device control module and a second print device control module. The consumable comprises a first consumable control module and a second consumable control module. The method comprises the following steps:
[0094] The first print device control module is configured to read a print device serial number, convert the print device serial number into a first check sequence of n bits by using a first check algorithm, encrypt the first check sequence, and send the encrypted information to the second consumable control module.
[0095] The second consumable control module is configured to receive and decrypt the encrypted information, convert the decrypted information into an n-bit first check sequence by using a first transposition algorithm, extract an m-bit consumable check code by querying a preset first matching table, and send the m-bit consumable check code to the first consumable control module, wherein the first matching table stores a mapping relationship between a plurality of n-bit first check sequences and a plurality of m-bit consumable check codes.
[0096] The first consumable control module is configured to read a consumable serial number, convert the consumable serial number into an m-bit second check sequence by using a second check algorithm, convert the m-bit second check sequence into an m-bit second check sequence by using a second transposition algorithm, and check whether the m-bit second check sequence is consistent with the m-bit consumable check code.
[0097] The first consumable control module is further configured to encrypt the consumable serial number after converting the consumable serial number into an m-bit third check sequence by using a third check algorithm, and send the encrypted information to the second printing device control module.
[0098] The second printing device control module is configured to receive and decrypt the information, convert the decrypted information into an m-bit third check sequence by using a third transposition algorithm, extract an n-bit printing device check code by querying a preset second matching table, and send the n-bit printing device check code to the first printing device control module, wherein the second matching table stores a mapping relationship between a plurality of m-bit third check sequences and a plurality of n-bit printing device check codes.
[0099] The first printing device control module is further configured to convert the printing device serial number into an n-bit fourth check sequence by using a fourth check algorithm, convert the n-bit fourth check sequence into an n-bit fourth check sequence by using a fourth transposition algorithm, check whether the n-bit fourth check sequence is consistent with the n-bit printing device check code, and if not, verification fails, and if the verification is consistent, S107 is started.
[0100] The first printing device controller or the second printing device controller is further configured to arrange the printing device serial number and the consumable serial number into a first sequence in a predetermined format and method, generate a random code, arrange the first sequence and the random code into a second sequence in a predetermined format and method, encrypt the second sequence, and send the second sequence to a cloud server.
[0101] The cloud server is configured to receive and decrypt information, obtain restoration information of the print device serial number and the consumable serial number respectively, calculate the restoration information of the print device serial number and the consumable serial number into a fifth check sequence of k bits by using a fifth check algorithm, extract a fifth check code of k bits by querying a preset third matching table, check whether the fifth check sequence of k bits is consistent with the fifth check code of k bits, if not, the verification fails, and if the verification is consistent, the cloud server sends a start code to the print device, and the print device starts printing work after receiving and verifying the authenticity of the start code.
[0102] The working principle and effect of the interactive anti-counterfeiting verification system of the thermal transfer printing device and the consumable are the same as the above interactive anti-counterfeiting verification method, and will not be repeated here.
[0103] Those skilled in the art will readily understand that the above description is only the preferred embodiment of the present application, and is not intended to limit the present application, and any modification, equivalent replacement and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. An interactive anti-counterfeiting verification method for thermal transfer printing equipment and consumables, characterized in that, The method is applied to an interactive anti-counterfeiting verification system including a printing device, consumables, and a cloud server. The printing device includes a first printing device control module and a second printing device control module, and the consumables include a first consumables control module and a second consumables control module. The method includes the following steps: S101, the first printing device control module reads the printing device serial number, uses a first verification algorithm to convert the printing device serial number into an n-bit first verification sequence and encrypts it, and sends the encrypted information to the second consumables control module; S102, the second consumable control module receives the encrypted information and decrypts and restores it, and uses a first transposition algorithm to convert the decrypted and restored information into an n*-bit first verification sequence. It extracts an m*-bit consumable verification code by querying a preset first matching table. The first matching table stores the mapping relationship between multiple n*-bit first verification sequences and multiple m*-bit consumable verification codes. The extracted m*-bit consumable verification code is sent to the first consumable control module. S103, the first consumable control module reads the consumable serial number, uses the second verification algorithm to convert the consumable serial number into an m-bit second verification sequence, and uses the second transposition algorithm to convert the m-bit second verification sequence into an m*-bit second verification sequence. It then checks whether the m*-bit second verification sequence is consistent with the m*-bit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, S104 is initiated. S104, the first consumable control module uses a third verification algorithm to convert the consumable serial number into an m-bit third verification sequence and encrypts it, and then sends the encrypted information to the second printing device control module; S105, the second printing device control module receives the information and decrypts and restores it. It then uses a third transposition algorithm to convert the decrypted and restored information into an m**-bit third check sequence. It extracts an n**-bit printing device checksum by querying a preset second matching table. The second matching table stores the mapping relationship between multiple m**-bit third check sequences and multiple n**-bit printing device checksums. Finally, it sends the extracted n**-bit printing device checksum to the first printing device control module. S106, The first printing device control module uses the fourth verification algorithm to convert the printing device serial number into an n*-bit fourth verification sequence, and uses the fourth transposition algorithm to convert the n*-bit fourth verification sequence into an n**-bit fourth verification sequence. It then checks whether the n**-bit fourth verification sequence is consistent with the n**-bit printing device verification code. If they are inconsistent, the verification fails. If they are consistent, S107 is started. S107, the first printing device control module or the second printing device control module arranges the printing device serial number and the consumable serial number into a first sequence according to a predetermined format and method, generates a random code, arranges the first sequence and the random code into a second sequence according to a predetermined format and method, encrypts the second sequence and sends it to the cloud server; S108, the cloud server receives and decrypts the information, obtains the restored information of the printing device serial number and consumable serial number respectively, and uses the fifth verification algorithm to calculate the restored information of the printing device serial number and consumable serial number into a k-bit fifth verification sequence. The k-bit fifth verification code is extracted by querying a preset third matching table. The third matching table stores the correspondence between multiple printing device serial numbers, multiple consumable serial numbers and multiple k-bit fifth verification codes. The k-bit fifth verification sequence and the k-bit fifth verification code are checked to see if they are consistent. If they are inconsistent, the verification fails. If they are consistent, the cloud server sends a start code to the printing device. The printing device receives and verifies the authenticity of the start code and then starts printing.
2. The interactive anti-counterfeiting verification method as described in claim 1, characterized in that, The serial number of the printing device is a 32-bit sequence, where n is a positive integer less than 32, and the serial number of the consumables is a 16-bit sequence, where m is a positive integer less than 16.
3. The interactive anti-counterfeiting verification method as described in claim 2, characterized in that, n, n*, n** are distinct positive integers less than or equal to 32, and m, m*, m** are distinct positive integers less than or equal to 16.
4. The interactive anti-counterfeiting verification method as described in claim 1, characterized in that, In step S108, after obtaining the restoration information of the printing device serial number and consumable serial number, the restoration information of the printing device serial number and consumable serial number is first checked against the backup information of the printing device serial number and consumable serial number. If the check is inconsistent, the verification fails. If the check is consistent, the subsequent steps are executed.
5. The interactive anti-counterfeiting verification method as described in claim 1, characterized in that, The consumable serial number and the first matching table are stored in the consumable RFID electronic tag or the consumable memory, and the printing device serial number and the second matching table are stored in the printing device RFID electronic tag or the printing device memory.
6. The interactive anti-counterfeiting verification method as described in claim 1, characterized in that, The third matching table is stored on the cloud server.
7. The interactive anti-counterfeiting verification method as described in claim 1, characterized in that, The first matching table is the same as the second matching table.
8. The interactive anti-counterfeiting verification method as described in claim 1, characterized in that, The startup code includes cloud server-specific identification information, random identification information, and an activation code. After receiving the startup code, the printing device verifies the authenticity of the startup code based on the cloud server-specific identification information and the random identification information.
9. The interactive anti-counterfeiting verification method as described in claim 8, characterized in that, There is a verifiable relationship between the random identification information, the cloud server-specific identification information, and the activation code.
10. An interactive anti-counterfeiting verification system for thermal transfer printing equipment and consumables, characterized in that, The system includes printing equipment, consumables, and a cloud server. The printing equipment includes a first printing equipment control module and a second printing equipment control module. The consumables include a first consumables control module and a second consumables control module. The first printing device control module is used to read the printing device serial number, convert the printing device serial number into an n-bit first verification sequence using a first verification algorithm, encrypt it, and send the encrypted information to the second consumables control module. The second consumable control module is used to receive the encrypted information and decrypt and restore it, and use the first transposition algorithm to convert the decrypted and restored information into an n*-bit first verification sequence. It extracts an m*-bit consumable verification code by querying a preset first matching table. The first matching table stores the mapping relationship between multiple n*-bit first verification sequences and multiple m*-bit consumable verification codes. The extracted m*-bit consumable verification code is sent to the first consumable control module. The first consumable control module is used to read the consumable serial number, use the second verification algorithm to convert the consumable serial number into an m-bit second verification sequence, and use the second transposition algorithm to convert the m-bit second verification sequence into an m*-bit second verification sequence. It checks whether the m*-bit second verification sequence is consistent with the m*-bit consumable verification code. If they are inconsistent, the verification fails. If they are consistent, S104 is started. The first consumable control module is also used to convert the consumable serial number into an m-bit third verification sequence using a third verification algorithm, encrypt it, and send the encrypted information to the second printing device control module. The second printing device control module is used to receive information and decrypt and restore it. It uses a third transposition algorithm to convert the decrypted and restored information into an m**-bit third verification sequence. It extracts an n**-bit printing device verification code by querying a preset second matching table. The second matching table stores the mapping relationship between multiple m**-bit third verification sequences and multiple n**-bit printing device verification codes. The extracted n**-bit printing device verification code is then sent to the first printing device control module. The first printing device control module is further configured to use a fourth verification algorithm to convert the printing device serial number into an n*-bit fourth verification sequence, use a fourth transposition algorithm to convert the n*-bit fourth verification sequence into an n**-bit fourth verification sequence, and check whether the n**-bit fourth verification sequence is consistent with the n**-bit printing device verification code. If they are inconsistent, the verification fails. If they are consistent, S107 is started. The first printing device control module or the second printing device control module is further configured to arrange the printing device serial number and the consumable serial number into a first sequence according to a predetermined format and method, generate a random code, arrange the first sequence and the random code into a second sequence according to a predetermined format and method, encrypt the second sequence and send it to the cloud server; The cloud server receives and decrypts information, obtains the restored information of the printing device serial number and consumable serial number, respectively, and uses a fifth verification algorithm to calculate a k-bit fifth verification sequence from the restored information of the printing device serial number and consumable serial number. It then extracts a k-bit fifth verification code by querying a preset third matching table, which stores the correspondence between multiple printing device serial numbers, multiple consumable serial numbers, and multiple k-bit fifth verification codes. The server checks whether the k-bit fifth verification sequence and the k-bit fifth verification code are consistent. If they are inconsistent, the verification fails. If they are consistent, the cloud server sends a start code to the printing device. The printing device receives and verifies the authenticity of the start code before starting the printing process.
Citation Information
Patent Citations
Interactive anti-counterfeiting identification method and system for thermal transfer printing equipment and consumables
CN117283999A
Interactive anti-counterfeiting verification method and system for thermal transfer printing equipment and consumables
CN117301739A