Interactive anti-counterfeiting verification method and system for a thermal transfer printing device and consumables
By employing multiple cross-validation methods and leveraging the collaborative work of printing equipment and cloud server clusters, the problem of easily counterfeited encrypted anti-counterfeiting identification of thermal transfer printing equipment has been solved, achieving efficient and convenient anti-counterfeiting functions and ensuring the accuracy and security of authenticity verification for consumables and printing equipment.
Patent Information
- Application Number
- CN202311207056.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2025-11-25
- 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 uses multiple verification algorithms and matching tables to encrypt and decrypt the serial numbers of printing devices and consumables through the collaborative work of printing devices and cloud server clusters, and verifies the verification codes of consumables and printing devices to ensure the accuracy and security of verification.
It improves the efficiency and accuracy of anti-counterfeiting identification, prevents printing equipment from being counterfeited, reduces production costs, and enhances the user experience.
Smart Images

Figure CN117301739B_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 through the 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 easy to be 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 situation caused by 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 group, the printing device includes a printing device control module, the cloud server group includes a first cloud server and a second cloud server, and the method includes the following steps:
[0006] S101, the printing device control module reads the printing device serial number, and converts the printing device serial number into an n-bit first check sequence by using a first check algorithm and then encrypts the n-bit first check sequence; the printing device control module reads the consumable serial number, and converts the consumable serial number into an m-bit second check sequence by using a second check algorithm and then encrypts the m-bit second check sequence;
[0007] S102, the printing device control module sends the encrypted n-bit first check sequence to a first cloud server, and sends the encrypted m-bit second check sequence to a second cloud server;
[0008] S103, the first cloud server receives the encrypted n-bit first check sequence, decrypts and restores the n-bit first check sequence, 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 second cloud server; the second cloud server receives the encrypted m-bit second check sequence, decrypts and restores the m-bit second check sequence, converts the decrypted and restored information into an m*bit second check sequence by using a second transposition algorithm, checks whether the m*bit consumable check code is consistent with the m*bit second check sequence, if not, the verification fails, and if yes, S104 is executed;
[0009] S104, the second cloud server receives the encrypted m-bit second check sequence, decrypts and restores the m-bit second check sequence, converts the decrypted and restored 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 extracted n**bit printing device check code to the first cloud server; the first cloud server receives the encrypted n-bit first check sequence, decrypts and restores the n-bit first check sequence, converts the decrypted and restored information into an n**bit fourth check sequence by using a fourth transposition algorithm, checks whether the n**bit printing device check code is consistent with the n**bit fourth check sequence, if not, the verification fails, and if yes, the first cloud server encrypts an identification code and sends the identification code to the printing device control module;
[0010] S105, the printing device control module receives the encrypted identification code, decrypts and restores the identification code, verifies the legality of the decrypted and restored identification code, if the verification is passed, the printing device starts printing.
[0011] Further, the start code is composed of a printing device serial number, a consumable serial number, an activation code, a server serial number, and a random code in a preset format, and the legality verification of the decrypted and restored start code comprises the following steps:
[0012] S1051, checking whether the decrypted and restored start code conforms to the preset format, and if not, the verification fails, and if so, performing S1052;
[0013] S1052, checking whether the printing device serial number and the consumable serial number in the decrypted and restored start code are consistent with the printing device serial number and the consumable serial number identified in S101, and if not, the verification fails, and if so, performing S1053;
[0014] S1053, checking whether the decrypted and restored start code contains a server serial number, and if not, the verification fails, and if so, calculating the server check sequence by using a preset check algorithm on the server serial number in the decrypted and restored start code, and checking whether the server check sequence conforms to the preset format, and if so, the verification fails; and if so, performing S1054;
[0015] S1054, checking whether the server check sequence and the random code in the decrypted and restored start code satisfy a preset verifiable relationship, and if not, the verification fails, and if so, the verification passes.
[0016] Further, the random code in the start code is generated by the first cloud server by using a preset random code generation algorithm.
[0017] Further, the checking whether the server check sequence and the random code in the decrypted and restored start code satisfy a preset verifiable relationship is checking whether a preset function relationship exists between the two.
[0018] 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, and m is a positive integer less than 16.
[0019] Further, n, n*, and n** are different positive integers less than or equal to 32, and m, m*, and m** are different positive integers less than or equal to 16.
[0020] Further, the first matching table is predetermined and stored in the first cloud server.
[0021] Further, the second matching table is predetermined and stored in the second cloud server.
[0022] Further, the first matching table and the second matching table are the same.
[0023] According to a second aspect of the present application, an interactive anti-counterfeiting verification system of a thermal transfer printing device and consumables is provided, comprising a printing device, consumables and a cloud server group, the printing device comprising a printing device control module, the cloud server group comprising a first cloud server and a second cloud server, the system being used to implement the steps of:
[0024] S101, the printing device control module reads the printing device serial number, and converts the printing device serial number into an n-bit first check sequence using a first check algorithm and then encrypts it; the printing device control module reads the consumable serial number, and converts the consumable serial number into an m-bit second check sequence using a second check algorithm and then encrypts it;
[0025] S102, the printing device control module sends the encrypted n-bit first check sequence to the first cloud server, and the printing device control module sends the encrypted m-bit second check sequence to the second cloud server;
[0026] S103, the first cloud server receives the encrypted n-bit first check sequence 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 the 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 second cloud server; the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, and converts the decrypted and restored information into an m* bit second check sequence using a second transposition algorithm, checks whether the m* bit consumable check code and the m* bit second check sequence are consistent, if not, the verification fails, and if consistent, S104 is executed;
[0027] S104, the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, and 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 the mapping relationship between a plurality of m** bit third check sequences and a plurality of n** bit printing device check codes, and sends the extracted n** bit printing device check code to the first cloud server; the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores it, and converts the decrypted and restored information into an n** bit fourth check sequence using a fourth transposition algorithm, checks whether the n** bit printing device check code and the n** bit fourth check sequence are consistent, if not, the verification fails, and if consistent, the first cloud server encrypts an identification code and sends it to the printing device control module;
[0028] S105, the printing device control module receives the encrypted identification code, and decrypts and restores it, verifies the legality of the decrypted and restored start code, and if the verification is passed, controls the printing device to start printing.
[0029] Overall, the above technical solutions conceived by the present application have beneficial effects compared with the prior art:
[0030] (1) Through multiple cross-verification of the cloud server group, the efficiency and accuracy of anti-counterfeiting identification are greatly improved, and in addition to verifying the authenticity of consumables, the authenticity of the printing device is also verified, effectively avoiding the situation of anti-counterfeiting identification error due to the counterfeiting of the printing device, making the printing device and related consumables not easy to be counterfeited and cracked by unscrupulous manufacturers, the design and production cost is small, and the efficient and convenient anti-counterfeiting function can be realized, greatly improving the user experience.
[0031] (2) No need to redesign or adjust the internal structure of the printing device, low production cost;
[0032] (3) If the cloud server information is intercepted, tampered, etc., the printing device can identify and stop working. BRIEF DESCRIPTION OF DRAWINGS
[0033] Figure 1 is the principle schematic diagram of the interactive anti-counterfeiting verification system and method of the heat transfer printing device and consumables of the embodiment of the present application;
[0034] 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
[0035] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be 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 there is no conflict.
[0036] 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, such as two, three, etc., unless otherwise specifically limited.
[0037] Unless otherwise specified, the meaning of "a plurality of" is two or more.
[0038] The terms "comprising" and "having" and any variations thereof herein are intended to cover a non-exclusive inclusion, for example a process, method, article, or apparatus that comprises a list of steps or modules as non- limiting examples rather than by way of limitation to only those steps or modules that are expressly listed.
[0039] The naming or numbering of steps appearing in the embodiments of the present application does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The 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.
[0040] Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase that the phrase in the specification do not necessarily all refer to the same embodiment, nor are they necessarily mutually exclusive or alternative embodiments. It is explicitly and implicitly understood that the embodiments described herein are combinable.
[0041] The present application provides an interactive anti-counterfeiting verification method and system for a thermal transfer printing device and consumables, which are described below.
[0042] As shown in Figure 1 An interactive anti-counterfeiting verification method for a thermal transfer printing device and consumables according to an embodiment of the present application, the method is applied to an interactive anti-counterfeiting verification system comprising a printing device, consumables, and a cloud server group, the printing device comprises a printing device control module, and the cloud server group comprises a first cloud server and a second cloud server.
[0043] As shown in Figure 2 An interactive anti-counterfeiting verification method for a thermal transfer printing device and consumables according to an embodiment of the present application comprises the following steps:
[0044] S101, the printing device control module reads the printing device serial number, and converts the printing device serial number into a first check sequence of n bits using a first check algorithm and then encrypts it; the printing device control module reads the consumable serial number, and converts the consumable serial number into a second check sequence of m bits using a second check algorithm and then encrypts it.
[0045] The printing device serial number is a string used to distinguish the printing device, which can specifically include printing device ID, printing device production batch, and the like.
[0046] The way to obtain the printing device serial number can be any feasible way.
[0047] In one embodiment, the RFID electronic tag is attached to the printing device, and the printing device serial number is obtained by reading the RFID electronic tag, which 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 the printing device component. If the RFID electronic tag is a passive tag, the reader in the printing device control module sends a wireless radio frequency signal, and the RFID electronic tag outputs the printing device serial number to the 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 printing device control module at a certain specific frequency.
[0048] 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 connecting the output interface of the storage module with the lead-through, which is a contact wired communication method.
[0049] 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.
[0050] After obtaining the printing device serial number, it needs to be converted into an n-bit first check sequence and encrypted.
[0051] The consumable serial number is a string used to distinguish consumables, which can specifically include consumable ID, consumable production batch, etc.
[0052] Similarly, the way to obtain the consumable serial number can be any feasible way.
[0053] After obtaining the consumable serial number, it needs to be converted into an m-bit second check sequence and encrypted.
[0054] S102, the printing device control module sends the encrypted n-bit first check sequence to the first cloud server, and the printing device control module sends the encrypted m-bit second check sequence to the second cloud server.
[0055] The encrypted n-bit first check sequence and the encrypted m-bit second check sequence are sent to the first cloud server and the second cloud server respectively for subsequent encryption.
[0056] S103, the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores it, and converts the decrypted and restored information into n*bit first check sequence by using a first transposition algorithm, extracts 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 second cloud server; the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, and converts the decrypted and restored information into m*bit second check sequence by using a second transposition algorithm, checks whether the m*bit consumable check code and the m*bit second check sequence are consistent, if not, the verification fails, and if yes, S104 is executed.
[0057] The first cloud server decrypts and restores the encrypted information of the received n-bit first check sequence, and then converts it into n*bit first check sequence. n* is a positive integer different from n. The first transposition algorithm can be any implementation, for example, it can be a base conversion algorithm.
[0058] The mapping relationship between a plurality of n*bit first check sequences and a plurality of m*bit consumable check codes is stored in the first matching table in advance, that is, they are one-to-one corresponding. Based on an n*bit first check sequence, a unique m*bit consumable check code corresponding to it can be found.
[0059] The m*bit second check sequence is obtained by transposing the m-bit second check sequence by using a second transposition algorithm. The second transposition algorithm can be any implementation, for example, it can be a base conversion algorithm.
[0060] The second cloud server checks whether the m*bit consumable check code and the m*bit second check sequence are consistent, wherein the m*bit consumable check code is obtained by converting and querying based on the serial number of the printing device, and the m*bit second check sequence is calculated directly according to the read consumable serial number, if they are consistent, S104 is executed.
[0061] S104, the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, and uses a third transposition algorithm to convert the decrypted and restored information into an m**-bit third check sequence, 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 extracted n**-bit printing device check code to the first cloud server; the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores it, and uses a fourth transposition algorithm to convert the decrypted and restored information into an n**-bit fourth check sequence, checks whether the n**-bit printing device check code is consistent with the n**-bit fourth check sequence, if not, the verification fails, and if yes, the first cloud server encrypts the identification code and sends it to the printing device control module.
[0062] The second cloud server decrypts and restores the encrypted information of the received m-bit first check sequence, and then converts it into an m**-bit third check sequence. m** is a positive integer different from m. The third transposition algorithm can be any implementation, for example, it can be a base conversion algorithm.
[0063] The second matching table pre-stores a mapping relationship between a plurality of m**-bit third check sequences and a plurality of n**-bit printing device check codes, that is, a one-to-one correspondence between the two, so that a unique n**-bit printing device check code can be found according to a m**-bit third check sequence.
[0064] The n**-bit fourth check sequence is obtained by transposing the n-bit first check sequence using a fourth transposition algorithm. The fourth transposition algorithm can be any implementation, for example, it can be a base conversion algorithm.
[0065] The first cloud server checks whether the n**-bit printing device check code is consistent with the n**-bit fourth check sequence, wherein the n**-bit fourth check sequence is directly calculated according to the printing device serial number, and the n**-bit printing device check code is obtained by converting and querying based on the consumable serial number, and if the check is consistent, the identification code is encrypted and sent to the printing device control module.
[0066] In order to further improve the cracking difficulty, and also to avoid interception and tampering in the data transmission process, the starting code needs to be encrypted and sent to the printing device control module in the embodiment of the application.
[0067] S105, the printing device control module receives the encrypted identification code, decrypts and restores it, verifies the legality of the decrypted and restored starting code, and if the verification is passed, controls the printing device to start printing.
[0068] The decrypted start code also needs to be verified for legality to prevent interception and tampering during data transmission. If the legality verification fails, the verification fails, and if the legality verification passes, the control of the printing device starts printing.
[0069] Further, the start code is composed of the printing device serial number, the consumable serial number, the activation code, the server serial number, and the random code in a preset format, i.e., not necessarily in the order of arrangement, but the order can be adjusted or other formats can be used, as long as the preset format is followed.
[0070] The server serial number is a string used to distinguish servers and can include server ID, consumable production batch, etc.
[0071] The legality verification of the decrypted and restored start code includes the following sub-steps:
[0072] S1051, check whether the decrypted and restored start code conforms to the preset format, i.e., whether it conforms to the preset format when composed. If not, the verification fails, and if so, S1052 is performed.
[0073] S1052, check whether the printing device serial number and the consumable serial number in the decrypted and restored start code are consistent with the printing device serial number and the consumable serial number identified in S101. If not, the verification fails, and if so, S1053 is performed.
[0074] Inconsistent means that any of the two is inconsistent, and the verification fails. Consistent means that both are consistent, and S1053 is performed.
[0075] S1053, check whether the decrypted and restored start code contains the server serial number. If not, the verification fails, and if so, a preset verification algorithm is used to calculate the server serial number in the decrypted and restored start code to obtain a server verification sequence, and check whether the server verification sequence conforms to the preset format. If so, the verification fails, and if not, S1054 is performed.
[0076] The server serial number corresponding to the server with the start code sending authority should meet certain requirements, i.e., a verification result sequence is calculated using a preset verification algorithm, and the verification result sequence is verified for conformity to the preset format. If the server serial number does not meet the requirements, it may be a server without the start code sending authority that has forged the start code, so the verification fails. If the server serial number meets the requirements, S1054 is continued.
[0077] S1054, check whether the server verification sequence and the random code in the decrypted and restored start code meet a preset verifiable relationship. If not, the verification fails, and if so, the verification passes.
[0078] The check sequence corresponding to the server serial number and the random code need to satisfy a preset verifiable relationship. If not, it is possible that the server without the right to send the start code is forged to generate the start code, so the verification fails. If yes, the verification is passed.
[0079] Further, the random code in the start code is generated by the first cloud server using a preset random code generation algorithm.
[0080] Further, the checking whether the server check sequence and the random code in the decrypted start code satisfy the preset verifiable relationship is checking whether there is a preset function relationship between the two. That is, the server serial number and the random code need to satisfy a preset function relationship.
[0081] Further, the print 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.
[0082] Further, n, n*, n** are different and less than or equal to 32 positive integers, and m, m*, m** are different and less than or equal to 16 positive integers.
[0083] Further, the first matching table is predetermined and stored in the first cloud server. The first cloud server directly calls the first matching table to extract the m* bit consumable check code.
[0084] Further, the second matching table is predetermined and stored in the second cloud server. The second cloud server directly calls the second cloud server to extract the n** bit print device check code.
[0085] Further, the first matching table and the second matching table are the same.
[0086] According to the second aspect of the present application, an interactive anti-counterfeiting verification system of a thermal transfer printing device and consumables is provided, comprising a printing device, consumables and a cloud server group, the printing device comprising a printing device control module, the cloud server group comprising a first cloud server and a second cloud server, the system is used to realize the steps of:
[0087] S101, the printing device control module reads the print device serial number, and converts the print device serial number into an n-bit first check sequence using a first check algorithm and then encrypts it; the printing device control module reads the consumable serial number, and converts the consumable serial number into an m-bit second check sequence using a second check algorithm and then encrypts it;
[0088] S102, the printing device control module sends the encrypted n-bit first check sequence to the first cloud server, and the printing device control module sends the encrypted m-bit second check sequence to the second cloud server;
[0089] S103, the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores it, converts the decrypted and restored information into n*bit first check sequence by using a first transposition algorithm, extracts m*bit consumable check code by querying a preset first matching table, the first matching table stores the 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 second cloud server; the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, converts the decrypted and restored information into m*bit second check sequence by using a second transposition algorithm, checks whether the m*bit consumable check code is consistent with the m*bit second check sequence, if not, the verification fails, and if yes, S104 is executed;
[0090] S104, the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, converts the decrypted and restored information into m**bit third check sequence by using a third transposition algorithm, extracts n**bit printing device check code by querying a preset second matching table, the second matching table stores the mapping relationship between a plurality of m**bit third check sequences and a plurality of n**bit printing device check codes, and sends the extracted n**bit printing device check code to the first cloud server; the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores it, converts the decrypted and restored information into n**bit fourth check sequence by using a fourth transposition algorithm, checks whether the n**bit printing device check code is consistent with the n**bit fourth check sequence, if not, the verification fails, and if yes, the first cloud server sends the encrypted identification code to the printing device control module;
[0091] S105, the printing device control module receives the encrypted identification code, decrypts and restores it, verifies the legality of the decrypted and restored start code, if the verification is passed, controls the printing device to start printing.
[0092] The working principle and effect of the interactive anti-counterfeiting verification system of the thermal transfer printing device and consumables are the same as the above-mentioned interactive anti-counterfeiting verification method, which will not be repeated here.
[0093] Those skilled in the art can easily understand that the above description is only a preferred embodiment of the present application, and is not used to limit the present application, 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 a thermal transfer printing device 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 group, the printing device includes a printing device control module, the cloud server group includes a first cloud server and a second cloud server, and the method includes the following steps: S101, the printing device control module reads a printing device serial number, converts the printing device serial number into an n-bit first check sequence by using a first check algorithm, and then encrypts the n-bit first check sequence; the printing device 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, and then encrypts the m-bit second check sequence; S102, the printing device control module sends the encrypted n-bit first check sequence to the first cloud server, and the printing device control module sends the encrypted m-bit second check sequence to the second cloud server; S103, the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores the n-bit first check sequence, 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 second cloud server; the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores the m-bit second check sequence, converts the decrypted and restored information into an m*bit second check sequence by using a second transposition algorithm, checks whether the m*bit consumable check code is consistent with the m*bit second check sequence, if not, the verification fails, and if yes, S104 is executed; S104, the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores the m-bit second check sequence, converts the decrypted and restored 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 extracted n**bit printing device check code to the first cloud server; the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores the n-bit first check sequence, converts the decrypted and restored information into an n**bit fourth check sequence by using a fourth transposition algorithm, checks whether the n**bit printing device check code is consistent with the n**bit fourth check sequence, if not, the verification fails, and if yes, the first cloud server encrypts a start code and sends the start code to the printing device control module; S105, the printing device control module receives the encrypted start code, decrypts and restores the start code, verifies the legality of the decrypted and restored start code, if the verification is passed, the printing device starts printing; The start code is composed of a printing device serial number, a consumable serial number, an activation code, a server serial number and a random code according to a preset format, and the legality of the decrypted and restored start code includes the following sub-steps: S1051, check whether the decrypted and restored start code conforms to the preset format, if not, the verification fails, if yes, execute S1052; S1052, check whether the print device serial number and the consumable serial number in the decrypted and restored start code are consistent with the print device serial number and the consumable serial number identified in S101, if not, the verification fails, if yes, execute S1053; S1053, check whether the decrypted and restored start code contains the server serial number, if not, the verification fails, if yes, calculate the server check sequence by using a preset check algorithm on the server serial number in the decrypted and restored start code, and check whether the server check sequence conforms to the preset format, if yes, the verification fails, if not, execute S1054; S1054, check whether the server check sequence and the random code in the decrypted and restored start code satisfy a preset verifiable relationship, if not, the verification fails, if yes, the verification passes.
2. The method of claim 1, wherein the thermal transfer printing apparatus and consumable interactive anti-counterfeiting verification method is characterized by, The random code in the start code is generated by the first cloud server by using a preset random code generation algorithm.
3. The interactive anti-forgery verification method of claim 1, wherein, The check whether the server check sequence and the random code in the decrypted and restored start code satisfy a preset verifiable relationship is to check whether there is a preset function relationship between the two.
4. The method of claim 1, wherein the thermal transfer printing apparatus and consumable interactive anti-counterfeiting verification method is characterized by, n, n*, n** are positive integers which are different and less than or equal to 32, and m, m*, m** are positive integers which are different and less than or equal to 16.
5. The method of claim 1, wherein the thermal transfer printing apparatus and consumable interactive anti-counterfeiting verification method is characterized by, The first matching table is predetermined and stored in the first cloud server.
6. The method of claim 1, wherein the thermal transfer printing apparatus and consumable interactive anti-counterfeiting verification method is characterized by, The second matching table is predetermined and stored in the second cloud server.
7. The interactive anti-forgery verification method of claim 1, wherein, The first matching table is the same as the second matching table.
8. An interactive anti-counterfeiting verification system for a thermal transfer printing device and consumables, characterized in that, The system comprises a print device, consumables and a cloud server group, the print device comprises a print device control module, the cloud server group comprises a first cloud server and a second cloud server, and the system is used to implement the steps of: S101, the print device control module reads a print device serial number, and converts the print device serial number into a first check sequence of n bits by using a first check algorithm and then encrypts the first check sequence; the print device control module reads a consumable serial number, and converts the consumable serial number into a second check sequence of m bits by using a second check algorithm and then encrypts the second check sequence; S102, the print device control module sends the encrypted first check sequence of n bits to the first cloud server, and the print device control module sends the encrypted second check sequence of m bits to the second cloud server; S103, the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores it, converts the decrypted and restored information into n*bit first check sequence by using a first transposition algorithm, extracts m*bit consumable check code by querying a preset first matching table, the first matching table stores the 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 second cloud server; the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, converts the decrypted and restored information into m*bit second check sequence by using a second transposition algorithm, checks whether the m*bit consumable check code is consistent with the m*bit second check sequence, if not, the verification fails, and if yes, S104 is executed; S104, the second cloud server receives the encrypted m-bit second check sequence and decrypts and restores it, converts the decrypted and restored information into m**bit third check sequence by using a third transposition algorithm, extracts n**bit printing device check code by querying a preset second matching table, the second matching table stores the mapping relationship between a plurality of m**bit third check sequences and a plurality of n**bit printing device check codes, and sends the extracted n**bit printing device check code to the first cloud server; the first cloud server receives the encrypted n-bit first check sequence and decrypts and restores it, converts the decrypted and restored information into n**bit fourth check sequence by using a fourth transposition algorithm, checks whether the n**bit printing device check code is consistent with the n**bit fourth check sequence, if not, the verification fails, and if yes, the first cloud server encrypts the start code and sends it to the printing device control module; S105, the printing device control module receives the encrypted start code, decrypts and restores it, verifies the legality of the decrypted and restored start code, if the verification is passed, controls the printing device to start printing; Wherein, the start code is composed of printing device serial number, consumable serial number, activation code, server serial number, random code according to a preset format, and the legality of the decrypted and restored start code includes the following steps: S1051, check whether the decrypted and restored start code conforms to the preset format, if not, the verification fails, and if yes, S1052 is executed; S1052, check whether the printing device serial number and the consumable serial number in the decrypted and restored start code are consistent with the printing device serial number and the consumable serial number identified in S101, if not, the verification fails, and if yes, S1053 is executed; S1053, check whether the decrypted and restored start code contains the server serial number, if not, the verification fails, and if yes, calculate the server serial number in the decrypted and restored start code by using a preset check algorithm, obtain the server check sequence, and check whether the server check sequence conforms to the preset format, if yes, the verification fails; if not, S1054 is executed; S1054, checking whether the server check sequence and the random code in the decrypted and restored start code satisfy a preset verifiable relationship, if not, the verification fails, and if yes, the verification passes.
Citation Information
Patent Citations
Interactive anti-counterfeiting verification method and system for thermal transfer printing equipment and consumables
CN117283998A
Interactive anti-counterfeiting identification method and system for thermal transfer printing equipment and consumables
CN117283999A