Consumable anti-counterfeiting identification method and system

By introducing cross-verification of authorization quantity and serial number in the consumables anti-counterfeiting identification system, combined with coding algorithms and transposition algorithms, the problems of vulnerability to anti-counterfeiting identification and poor compatibility of consumables in the prior art have been solved, and efficient and accurate anti-counterfeiting functions and user experience have been achieved.

CN119945691APending Publication Date: 2025-05-06WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311450576.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-03
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The prior art is prone to failure in anti-counterfeiting identification information and verification answers being leaked, and counterfeit consumables are difficult to compatible with original equipment, affecting the user experience.

Method used

By introducing the number of authorizations, combining it with cross-verification of serial numbers, the encoding algorithm and transposition algorithm between the printing device and the cloud server can be used to verify the serial numbers of consumables and printing devices, limit the number of printing times and prevent unlimited printing.

Benefits of technology

It improves the efficiency and accuracy of anti-counterfeiting identification, increases the difficulty of cracking consumables, avoids unlimited printing by users, reduces production costs, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure HDA0004528969680000011
    Figure HDA0004528969680000011
  • Figure HDA0004528969680000012
    Figure HDA0004528969680000012
Patent Text Reader

Abstract

The invention discloses a consumable anti-counterfeiting identification method and system, and the method comprises the steps: S101, a first control module of printing equipment reads a consumable serial number x, employs a first coding algorithm f1 to calculate x as a sequence f1 (x), encrypts f1 (x), and transmits the encrypted f1 (x) to a cloud server; s102, the cloud server decrypts the identification sequence f1 (x) from the received information, inquires a printing quantity authorization table according to f1 (x) to determine an authorization quantity y, mixes f1 (x) and y into a new sequence z, calculates the sequence z into a sequence f2 (z) by adopting a second coding algorithm f2, encrypts f2 (z) and sends the encrypted f2 (z) to a second control module of the printing equipment; s103, the second control module of the printing equipment decrypts and identifies the authorization number from the received information and carries out subsequent verification, and if the verification is passed, S104 is executed; and S104, the printing device executes printing according to the authorized number. The consumable cracking difficulty can be increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Portable smart printing devices are becoming more and more popular, 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 genuine consumables in order to obtain unfair competition profits, which poses a serious challenge to the competition order of the industry. In addition, counterfeit consumables are difficult to form a good compatibility effect with the original genuine smart printing devices, which can easily cause damage to the smart printing devices and seriously affect the user experience.

[0003] In the existing encrypted anti-counterfeiting identification technology, the chip with the genuine identification information of the consumables is mainly attached to the consumable reel during the consumable production process, and during the specific use of the printing device, the identification information in the consumable chip is obtained through the reader / writer provided by the printing device, and the information is identified and verified to confirm whether the consumable is original and genuine. In addition, the consumable identification information and verification answer need to be written into the chip in advance during the production process, or the verification answer needs to be determined in advance and stored in the cloud server. This encrypted anti-counterfeiting method is prone to failure when the consumable identification information and verification answer are leaked. Summary of the invention

[0004] In view of the above defects or improvement needs of the prior art, the present invention provides an anti-counterfeiting identification method and system for consumables, which can increase the difficulty of cracking consumables.

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

[0006] S101, a first control module of a printing device reads a consumable serial number x, and uses a first encoding algorithm f1 to calculate the consumable serial number x into a sequence f1(x), encrypts f1(x) and sends it to a cloud server;

[0007] S102, the cloud server decrypts the identification sequence f1(x) from the received information, queries the print quantity authorization table according to f1(x) to determine the authorized quantity in decimal, if the authorized quantity is not zero, converts the authorized quantity in decimal into the authorized quantity y in n-ary, mixes f1(x) and y into a new sequence z, calculates the sequence z into a sequence f2(z) using the second encoding algorithm f2, encrypts f2(z) and sends it to the second control module of the printing device, if the authorized quantity is 0, the cloud server notifies the printing device to stop working;

[0008] S103, the second control module of the printing device decrypts the identification sequence u from the received information, separates the sequence y by using the third encoding algorithm, and converts the sequence y into a decimal sequence y*, records the remaining sequence as g, and converts the sequence g into an m-bit sequence h by using the first transposition algorithm; the second control module of the printing device reads the printing device serial number, and converts the printing device serial number into an a-bit sequence k by using the second transposition algorithm; the second control module of the printing device checks whether there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k, if not, the verification fails; if yes, execute S104;

[0009] S104, the printing device records the authorized quantity y* and starts to execute the printing work. Every time a consumable label paper is printed, the authorized quantity y* is reduced by 1. When y*=0, execute S101.

[0010] Furthermore, the print quantity authorization table is pre-stored in the cloud server, and the print quantity authorization table records the M authorization quantities [P1, P2, P3...PM] corresponding to f1(x), wherein Pm represents the authorization quantity when S102 is executed for the mth time, 1≤m≤M, and the authorization quantity for each execution of S102 is determined according to Pm in S102. When the number of grants is equal to M, then when y*=0 in S104, S101 is no longer executed.

[0011] Furthermore, P1, P2, P3 ... PM are all greater than zero, and the sum of P1, P2, P3 ... PM is not greater than the maximum printing quantity of the consumables.

[0012] Furthermore, n, m, and a are all any positive integers greater than 0 and less than 99.

[0013] Furthermore, the consumable serial number x is generated using a preset first random code generation algorithm and burned into the consumable during the production process.

[0014] Furthermore, the consumable serial number x is burned into the RFID electronic tag of the consumable.

[0015] Furthermore, the printing device serial number is generated using a preset second random code generation algorithm and burned into the printing device during the production process.

[0016] Furthermore, the serial number of the printing device is burned into the RFID electronic tag of the printing device.

[0017] According to another aspect of the present invention, there is provided an anti-counterfeiting identification system for consumables, including consumables, a printing device and a cloud server, wherein the printing device includes a first control module of the printing device and a second control module of the printing device, and the system is used to implement the steps:

[0018] S101, a first control module of a printing device reads a consumable serial number x, and uses a first encoding algorithm f1 to calculate the consumable serial number x into a sequence f1(x), encrypts f1(x) and sends it to a cloud server;

[0019] S102, the cloud server decrypts the identification sequence f1(x) from the received information, queries the print quantity authorization table according to f1(x) to determine the authorized quantity in decimal, if the authorized quantity is not zero, converts the authorized quantity in decimal into the authorized quantity y in n-ary, mixes f1(x) and y into a new sequence z, calculates the sequence z into a sequence f2(z) using the second encoding algorithm f2, encrypts f2(z) and sends it to the second control module of the printing device, if the authorized quantity is 0, the cloud server notifies the printing device to stop working;

[0020] S103, the second control module of the printing device decrypts the identification sequence u from the received information, separates the sequence y by using the third encoding algorithm, and converts the sequence y into a decimal sequence y*, records the remaining sequence as g, and converts the sequence g into an m-bit sequence h by using the first transposition algorithm; the second control module of the printing device reads the printing device serial number, and converts the printing device serial number into an a-bit sequence k by using the second transposition algorithm; the second control module of the printing device checks whether there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k, if not, the verification fails; if yes, execute S104;

[0021] S104, the printing device records the authorized quantity y* and starts to execute the printing work. Every time a consumable label paper is printed, the authorized quantity y* is reduced by 1. When y*=0, execute S101.

[0022] Furthermore, the print quantity authorization table is pre-stored in the cloud server, and the print quantity authorization table records the M authorization quantities [P1, P2, P3...PM] corresponding to f1(x), wherein Pm represents the authorization quantity when S102 is executed for the mth time, 1≤m≤M, and the authorization quantity for each execution of S102 is determined according to Pm in S102. When the number of grants is equal to M, then when y*=0 in S104, S101 is no longer executed.

[0023] In general, the above technical solutions conceived by the present invention have beneficial effects compared with the prior art:

[0024] (1) By introducing the authorized number and combining the authorized number with the cross-verification of the serial number, the efficiency and accuracy of anti-counterfeiting identification are greatly improved, making it difficult for consumables to be counterfeited and cracked by illegal manufacturers, with low design and production costs, and achieving efficient and convenient anti-counterfeiting functions, greatly improving the user experience.

[0025] (2) By authorizing the printing quantity in batches, it is possible to prevent users from making unlimited subsequent prints after a successful verification.

[0026] (3) There is no need to redesign or adjust the internal structure of the printing equipment, and the production cost is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a flow chart of the anti-counterfeiting identification method of consumables;

[0028] Figure 2 It is a schematic diagram of the anti-counterfeiting identification system of consumables. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0030] In the description of the embodiments of the present application, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features.

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

[0032] The naming or numbering of the steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

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

[0034] like Figure 1 As shown, the present invention provides an anti-counterfeiting identification method and system for consumables, which are described below respectively.

[0035] An anti-counterfeiting identification method for consumables according to an embodiment of the present invention comprises the following steps:

[0036] S101, a first control module of a printing device reads a consumable serial number x, and uses a first coding algorithm f1 to calculate the consumable serial number x into a sequence f1(x), encrypts f1(x), and sends it to a cloud server.

[0037] The consumable serial number x is a character string used to distinguish consumables.

[0038] The method of obtaining the consumable serial number x may be any feasible method.

[0039] In one embodiment, an RFID electronic tag is attached to the consumables, and the consumable serial number x is burned on the RFID electronic tag. The consumable serial number x is obtained by reading the RFID electronic tag. If the RFID electronic tag is a passive tag, the reader in the control module of the printing device sends a wireless radio frequency signal, and the RFID electronic tag outputs the consumable serial number x to the printing device by means of the induced current. If the RFID electronic tag is an active tag, the RFID electronic tag actively outputs the consumable serial number x to the printing device at a specific frequency.

[0040] In another embodiment, a two-dimensional code containing information of the consumable serial number x is printed on the consumable, and the user obtains the consumable serial number x by scanning the two-dimensional code.

[0041] The first encoding algorithm may be any encoding algorithm, and may be pre-stored in the printing device, or may be stored in a cloud server, and the first encoding algorithm may be called from the cloud server for calculation.

[0042] S102, the cloud server decrypts the identification sequence f1(x) from the received information, queries the print quantity authorization table based on f1(x) to determine the authorized quantity in decimal. If the authorized quantity is not zero, the authorized quantity in decimal is converted into an authorized quantity y in n-base, and f1(x) and y are mixed into a new sequence z. The second encoding algorithm f2 is used to calculate the sequence z into a sequence f2(z), and f2(z) is encrypted and sent to the second control module of the printing device. If the authorized quantity is 0, the cloud server notifies the printing device to stop working.

[0043] The print quantity authorization table stores the authorization quantities in decimal that correspond to f1(x) one by one. The unique authorization quantity in decimal can be queried based on f1(x).

[0044] When f1(x) and y are mixed into a new sequence z, the characters in f1(x) and y are mixed and arranged.

[0045] n is a positive integer not equal to 10.

[0046] The second encoding algorithm f2 may be any preset encoding algorithm.

[0047] S103, the second control module of the printing device decrypts the identification sequence u from the received information, uses the third encoding algorithm to separate the sequence y, and converts the sequence y into a decimal sequence y*, records the remaining sequence as g, and uses the first transposition algorithm to convert the sequence g into an m-bit sequence h; the second control module of the printing device reads the printing device serial number, and uses the second transposition algorithm to convert the printing device serial number into an a-bit sequence k; the second control module of the printing device checks whether there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k. If not, the verification fails; if so, execute S104.

[0048] The printing device serial number is a string used to distinguish printing devices.

[0049] Similarly, the method of reading the serial number of the printing device can be any feasible method.

[0050] For genuine consumables, it is assumed that there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k after the same processing. Therefore, the authenticity of the consumables can be verified by verifying whether there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k.

[0051] S104, the printing device records the authorized quantity y* and starts to execute the printing work. Every time a consumable label paper is printed, the authorized quantity y* is reduced by 1. When y*=0, execute S101.

[0052] After the verification is passed, the printing device can perform the printing work, but after one verification is passed, the maximum amount that the printing device can print is the authorized amount y*. After printing y* sheets, it is necessary to re-execute S101 and re-verify.

[0053] Furthermore, the print quantity authorization table is pre-stored in the cloud server, and the print quantity authorization table records the M authorization quantities [P1, P2, P3...PM] corresponding to f1(x), wherein Pm represents the authorization quantity when S102 is executed for the mth time, 1≤m≤M, and the authorization quantity for each execution of S102 is determined according to Pm in S102. When the number of grants is equal to M, then when y*=0 in S104, S101 is no longer executed.

[0054] That is, when step S102 is executed for the first time, the first authorization quantity P1 is determined according to the print quantity authorization table; when step S102 is executed for the second time, the second authorization quantity P2 is determined according to the print quantity authorization table; when step S102 is executed for the third time, the third authorization quantity P3 is determined according to the print quantity authorization table; and so on. When step S102 is executed for the Mth time, the Mth authorization quantity PM is determined according to the print quantity authorization table. When PM sheets of label paper are printed in S104, S101 is no longer executed, and the cloud server notifies the printing device to stop working.

[0055] Furthermore, P1, P2, P3, ..., PM are all greater than zero, and the sum of P1, P2, P3, ..., PM is not greater than the maximum print quantity of the consumables. That is, the authorization quantity each time should be greater than zero, and the cumulative authorization quantity is not greater than the maximum print quantity of the consumables.

[0056] Furthermore, n, m, and a are all any positive integers greater than 0 and less than 99.

[0057] Furthermore, the consumable serial number x is generated using a preset first random code generation algorithm and burned into the consumable during the production process. The consumable serial number x may include a production date, model, random code, etc. Burning refers to engraving the consumable serial number x into the consumable storage medium.

[0058] Furthermore, the consumable serial number x is burned into the RFID electronic tag of the consumable. The RFID electronic tag supports a contactless communication method, which can avoid major changes to the structure of the consumable and the printing device.

[0059] Furthermore, the printing device serial number is generated using a preset second random code generation algorithm and burned into the printing device during the production process. The printing device serial number may include a production date, model, random code, etc. Burning refers to engraving the printing device serial number into the storage medium of the printing device.

[0060] Furthermore, the serial number of the printing device is burned into the RFID electronic tag of the printing device. The RFID electronic tag supports a contactless communication method, which can avoid major changes to the consumables and the structure of the printing device.

[0061] According to another aspect of the present invention, there is provided an anti-counterfeiting identification system for consumables, including consumables, a printing device and a cloud server, wherein the printing device includes a first control module of the printing device and a second control module of the printing device, and the system is used to implement the steps:

[0062] S101, a first control module of a printing device reads a consumable serial number x, and uses a first encoding algorithm f1 to calculate the consumable serial number x into a sequence f1(x), encrypts f1(x) and sends it to a cloud server;

[0063] S102, the cloud server decrypts the identification sequence f1(x) from the received information, queries the print quantity authorization table according to f1(x) to determine the authorized quantity in decimal, if the authorized quantity is not zero, converts the authorized quantity in decimal into the authorized quantity y in n-ary, mixes f1(x) and y into a new sequence z, calculates the sequence z into a sequence f2(z) using the second encoding algorithm f2, encrypts f2(z) and sends it to the second control module of the printing device, if the authorized quantity is 0, the cloud server notifies the printing device to stop working;

[0064] S103, the second control module of the printing device decrypts the identification sequence u from the received information, separates the sequence y by using the third encoding algorithm, and converts the sequence y into a decimal sequence y*, records the remaining sequence as g, and converts the sequence g into an m-bit sequence h by using the first transposition algorithm; the second control module of the printing device reads the printing device serial number, and converts the printing device serial number into an a-bit sequence k by using the second transposition algorithm; the second control module of the printing device checks whether there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k, if not, the verification fails; if yes, execute S104;

[0065] S104, the printing device records the authorized quantity y* and starts to execute the printing work. Every time a consumable label paper is printed, the authorized quantity y* is reduced by 1. When y*=0, execute S101.

[0066] Furthermore, the print quantity authorization table is pre-stored in the cloud server, and the print quantity authorization table records the M authorization quantities [P1, P2, P3...PM] corresponding to f1(x), wherein Pm represents the authorization quantity when S102 is executed for the mth time, 1≤m≤M, and the authorization quantity for each execution of S102 is determined according to Pm in S102. When the number of grants is equal to M, then when y*=0 in S104, S101 is no longer executed.

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

[0068] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for anti-counterfeiting identification of consumables, characterized in that: Includes steps: S101, a first control module of a printing device reads a consumable serial number x, and uses a first encoding algorithm f1 to calculate the consumable serial number x into a sequence f1(x), encrypts f1(x) and sends it to a cloud server; S102, the cloud server decrypts the identification sequence f1(x) from the received information, queries the print quantity authorization table according to f1(x) to determine the authorized quantity in decimal, if the authorized quantity is not zero, converts the authorized quantity in decimal into the authorized quantity y in n-ary, mixes f1(x) and y into a new sequence z, calculates the sequence z into a sequence f2(z) using the second encoding algorithm f2, encrypts f2(z) and sends it to the second control module of the printing device, if the authorized quantity is 0, the cloud server notifies the printing device to stop working; S103, the second control module of the printing device decrypts the identification sequence u from the received information, separates the sequence y by using the third encoding algorithm, and converts the sequence y into a decimal sequence y*, records the remaining sequence as g, and converts the sequence g into an m-bit sequence h by using the first transposition algorithm; the second control module of the printing device reads the printing device serial number, and converts the printing device serial number into an a-bit sequence k by using the second transposition algorithm; the second control module of the printing device checks whether there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k, if not, the verification fails; if yes, execute S104; S104, the printing device records the authorized quantity y* and starts to execute the printing work. Every time a consumable label paper is printed, the authorized quantity y* is reduced by 1. When y*=0, execute S101.

2. The anti-counterfeiting identification method of consumables according to claim 1, characterized in that: The print quantity authorization table is pre-stored in the cloud server, and the print quantity authorization table records the M authorization quantities [P1, P2, P3...PM] corresponding to f1(x), wherein Pm represents the authorization quantity when S102 is executed for the mth time, 1≤m≤M, and the authorization quantity for each execution of S102 is determined according to Pm in S102. When the number of grants is equal to M, then when y*=0 in S104, S101 is no longer executed.

3. The anti-counterfeiting identification method of consumables according to claim 2, characterized in that: P1, P2, P3...PM are all greater than zero, and the sum of P1, P2, P3...PM is not greater than the maximum printing quantity of the consumables.

4. The anti-counterfeiting identification method of consumables according to claim 1, characterized in that: n, m, and a are all any positive integers greater than 0 and less than 99.

5. The anti-counterfeiting identification method of consumables according to claim 1, characterized in that: The consumable serial number x is generated using a preset first random code generation algorithm and burned into the consumable during the production process.

6. The anti-counterfeiting identification method of consumables according to claim 5, characterized in that: The consumable serial number x is burned into the consumable RFID electronic tag.

7. The anti-counterfeiting identification method of consumables according to claim 1, characterized in that: The printing device serial number is generated using a preset second random code generation algorithm and burned into the printing device during the production process.

8. The anti-counterfeiting identification method of consumables according to claim 7, characterized in that: The serial number of the printing device is burned into the RFID electronic tag of the printing device.

9. An anti-counterfeiting identification system for consumables, characterized in that: The system comprises consumables, a printing device and a cloud server, wherein the printing device comprises a first control module of the printing device and a second control module of the printing device, and the system is used to implement the steps: S101, a first control module of a printing device reads a consumable serial number x, and uses a first encoding algorithm f1 to calculate the consumable serial number x into a sequence f1(x), encrypts f1(x) and sends it to a cloud server; S102, the cloud server decrypts the identification sequence f1(x) from the received information, queries the print quantity authorization table according to f1(x) to determine the authorized quantity in decimal, if the authorized quantity is not zero, converts the authorized quantity in decimal into the authorized quantity y in n-ary, mixes f1(x) and y into a new sequence z, calculates the sequence z into a sequence f2(z) using the second encoding algorithm f2, encrypts f2(z) and sends it to the second control module of the printing device, if the authorized quantity is 0, the cloud server notifies the printing device to stop working; S103, the second control module of the printing device decrypts the identification sequence u from the received information, separates the sequence y by using the third encoding algorithm, and converts the sequence y into a decimal sequence y*, records the remaining sequence as g, and converts the sequence g into an m-bit sequence h by using the first transposition algorithm; the second control module of the printing device reads the printing device serial number, and converts the printing device serial number into an a-bit sequence k by using the second transposition algorithm; the second control module of the printing device checks whether there is a preset functional relationship between the m-bit sequence h and the a-bit sequence k, if not, the verification fails; if yes, execute S104; S104, the printing device records the authorized quantity y* and starts to execute the printing work. Every time a consumable label paper is printed, the authorized quantity y* is reduced by 1. When y*=0, execute S101.

10. The anti-counterfeiting identification system for consumables according to claim 9, characterized in that: The print quantity authorization table is pre-stored in the cloud server, and the print quantity authorization table records the M authorization quantities [P1, P2, P3...PM] corresponding to f1(x), wherein Pm represents the authorization quantity when S102 is executed for the mth time, 1≤m≤M, and the authorization quantity for each execution of S102 is determined according to Pm in S102. When the number of grants is equal to M, then when y*=0 in S104, S101 is no longer executed.