Dual-component anti-counterfeiting identification code and verification method and system thereof, and storage medium

Through the dual-component anti-counterfeiting identification coding and cloud server verification system, the problem of difficulty in verifying the authenticity and adaptation relationship between printing equipment and consumables in the prior art is solved, efficient anti-counterfeiting identification and adaptation verification are achieved, and the interests of genuine manufacturers are protected.

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

Patent Information

Application Number
CN202311722262.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-14
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

The prior art is difficult to verify the authenticity and adaptation relationship between printing equipment and consumables at the same time, resulting in illegal manufacturers being able to counterfeit and crack anti-counterfeiting identification systems, which harms the interests of genuine manufacturers.

Method used

The anti-counterfeiting identification encoding of two components is used to verify the preset relationship between the pre-identification part, the identification part, the computing part and the verification part, and the encoding is identified and verified by the cloud server to ensure the matching of the printing equipment and the consumables.

Benefits of technology

It improves the difficulty of anti-counterfeiting identification, effectively avoids counterfeiting and cracking behaviors of illegal manufacturers, ensures the adaptability of printing equipment and consumables, and protects the interests of genuine manufacturers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120163173A_ABST
    Figure CN120163173A_ABST
Patent Text Reader

Abstract

The invention discloses a double-component anti-counterfeiting identification code and a verification method and system thereof, and a storage medium. The method comprises the following steps that: a cloud server reads a code 1 and a code 2, and identifies a front identification part 1, an identification part 2, a calculation part 3 and a verification part 4 as well as a front identification part 5, an identification part 6, a calculation part 7 and a verification part 8 respectively according to the agreement of a communication protocol; the cloud server sequentially verifies whether a preset relation 1 exists between the front recognition part 1 and the recognition part 2, whether a preset relation 2 exists between the recognition part 2 and the operation part 3, whether a preset relation 4 exists between the front recognition part 5 and the recognition part 6, and whether a preset relation 5 exists between the recognition part 6 and the operation part 7; and whether a preset relation 6 exists between the operation part 7 and the verification part 8 or not is judged. If all the preset relations are established, starting the next step; the cloud server verifies whether a preset relation 7 exists between the identification part 2 and the identification part 6; if the preset relation 7 exists, the next step is started; the cloud server verifies whether a preset relation 3 exists in the operation part 3, the verification part 8 and the verification part 4 or not; and if the preset relation 3 exists, the verification is successful. According to the invention, an efficient anti-counterfeiting identification function can be realized, and the adaptation relation between the consumable and the printing equipment can be verified at the same time.
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 code for dual components, its verification method, system, and storage medium. Background Art

[0002] With the development of the economic society, the portable intelligent printing industry has entered a period of rapid growth. Since the existing business model in the industry is based on setting portable printing devices as flow-based products and consumables with large usage amounts (such as label paper, carbon ribbons, etc.) as profit-based products, that is, manufacturers in the industry mainly rely on the production and sales of consumables to obtain profits. Due to the large usage amount and frequent use of consumable products used in conjunction with printing devices, the production and sales profits of consumables are relatively high. Many illegal manufacturers counterfeit and forge portable printing devices, consumables, etc. to obtain improper competition profits, causing huge economic losses to the original legitimate manufacturers.

[0003] Existing anti-counterfeiting identification technologies usually are: legitimate manufacturers will attach RFID chips to consumables and automatically generate consumable codes according to a preset algorithm during the production process and burn them into the RFID chips. The consumable codes on the RFID chips include an identity information part and an exclusive verification information part. When the printing device is working, it obtains the consumable code on the chip through an RFID reader and checks the consumable identity information and exclusive verification information to conduct authenticity detection. Since all coding information is directly generated by a preset algorithm and all stored on the RFID chip, when illegal manufacturers forge consumables, they only need to crack the chips of legitimate consumables to obtain both the consumable identity information and verification information, and pass the verification of the anti-counterfeiting encryption system, enabling the printing device to work properly.

[0004] In addition, manufacturers in the current industry have launched various types of special printing consumables with different types and price ranges for different scenarios and user groups, that is, corresponding specifications of special consumables should be used on different printing devices; however, some users, in order to save costs, use consumables that are supposed to be applicable to other devices but are cheaper on printing devices. Since both the printing device and the printing consumable are legitimate, they can pass the verification of the existing anti-counterfeiting identification system, enabling the printing device to work as normal. However, since the printing consumable is not fully compatible with the printing device, to a certain extent, the service life of the printing device is abnormally reduced, and at the same time, the legitimate interests of the manufacturer are also damaged.

[0005] Therefore, there is a need in the industry for an anti-counterfeiting identification code, its verification method and system that are difficult to crack and not overly complex, and can verify both the authenticity of printing devices and printing consumables and their compatibility. Summary of the Invention

[0006] In view of the above defects or improvement requirements of the prior art, the present invention provides a dual-component anti-counterfeiting identification code and its verification method, system, and storage medium, which can not only achieve efficient anti-counterfeiting identification functions, effectively regulate illegal counterfeiting and cracking behaviors, but also verify the compatibility relationship between consumables and printing devices at the same time.

[0007] To achieve the above object, according to the first aspect of the present invention, a dual-component anti-counterfeiting identification code is provided, including:

[0008] Code 1, where the Code 1 includes a pre-identification part 1, an identification part 2, an operation part 3, and a verification part 4. There is a preset relationship 1 between the pre-identification part 1 and the identification part 2; there is a preset relationship 2 between the identification part 2 and the operation part 3. The pre-identification part 1, the identification part 2, the operation part 3, and the verification part 4 are arranged in a preset manner;

[0009] Code 2, where the Code 2 includes a pre-identification part 5, an identification part 6, an operation part 7, and a verification part 8. There is a preset relationship 4 between the pre-identification part 5 and the identification part 6; there is a preset relationship 5 between the identification part 6 and the operation part 7; there is a preset relationship 6 between the operation part 7 and the verification part 8. The pre-identification part 5, the identification part 6, the operation part 7, and the verification part 8 are arranged in a preset manner.

[0010] Preferably, there is a preset relationship 3 between the operation part 3, the verification part 8, and the verification part 4; there is a preset relationship 7 between the identification part 2 and the identification part 6.

[0011] Preferably, the Code 1 is stored in the storage unit of the printing device.

[0012] Preferably, the Code 2 is stored in the storage unit stored in the consumable RFID chip.

[0013] Preferably, the preset arrangement is pre-set by the communication protocol between the consumable, the printing device, and the cloud server.

[0014] Preferably, the operation part 3 can also be divided into an operation-pre-identification part 31, an operation-identification part 32, an operation-operation part 33, and an operation-verification part 34.

[0015] Preferably, the operation part 7 can also be divided into an operation-pre-identification part 71, an operation-identification part 72, an operation-operation part 73, and an operation-verification part 74.

[0016] Preferably, the pre-identification part 1, the identification part 2, and the operation part 3 are stored in the storage unit of the printing device, and the verification part 4 can be stored in the cloud server.

[0017] According to the second aspect of the present invention, there is provided a method for verifying a dual-component anti-counterfeiting identification code, including the steps:

[0018] S101 The cloud server reads Code 1 and Code 2, and respectively identifies the pre-identification part 1, the identification part 2, the calculation part 3, and the verification part 4, as well as the pre-identification part 5, the identification part 6, the calculation part 7, and the verification part 8 according to the agreement of the communication protocol;

[0019] S102 The cloud server sequentially verifies whether there is a preset relationship 1 between the pre-identification part 1 and the identification part 2, whether there is a preset relationship 2 between the identification part 2 and the operation part 3, whether there is a preset relationship 4 between the pre-identification part 5 and the identification part 6, whether there is a preset relationship 5 between the identification part 6 and the operation part 7, and whether there is a preset relationship 6 between the operation part 7 and the verification part 8. If at least one of the preset relationships does not hold, the verification fails; if all the preset relationships hold, the next step is started;

[0020] S103 The cloud server verifies whether there is a preset relationship 7 between the identification part 2 and the identification part 6; if there is no preset relationship 7, the verification fails; if there is a preset relationship 7, the next step is started;

[0021] S104 The cloud server verifies whether there is a preset relationship 3 among the operation part 3, the verification part 8, and the verification part 4; if there is no preset relationship 3, the verification fails; if there is a preset relationship 3, the verification is successful.

[0022] Preferably, when performing step S101, the printing device reading and writing unit can read Code 2 stored in the consumable RFID chip and Code 1 stored in the printing device storage unit, and then encrypt and send Code 2 and Code 1 to the cloud server through the printing device communication unit.

[0023] According to the third aspect of the present invention, there is provided a system for verifying a dual-component anti-counterfeiting identification code, and the system is used to implement the steps:

[0024] S101 The cloud server reads Code 1 and Code 2, and respectively identifies the pre-identification part 1, the identification part 2, the calculation part 3, and the verification part 4, as well as the pre-identification part 5, the identification part 6, the calculation part 7, and the verification part 8 according to the agreement of the communication protocol;

[0025] In S102, the cloud server sequentially verifies whether there is a preset relationship 1 between the pre-identification part 1 and the identification part 2, whether there is a preset relationship 2 between the identification part 2 and the operation part 3, whether there is a preset relationship 4 between the pre-identification part 5 and the identification part 6, whether there is a preset relationship 5 between the identification part 6 and the operation part 7, and whether there is a preset relationship 6 between the operation part 7 and the verification part 8. If at least one of the preset relationships does not hold, the verification fails; if all the preset relationships hold, the next step is started:

[0026] In S103, the cloud server verifies whether there is a preset relationship 7 between the identification part 2 and the identification part 6; if there is no preset relationship 7, the verification fails; if there is a preset relationship 7, the next step is started;

[0027] In S104, the cloud server verifies whether there is a preset relationship 3 among the operation part 3, the verification part 8, and the verification part 4; if there is no preset relationship 3, the verification fails; if there is a preset relationship 3, the verification is successful.

[0028] Preferably, the verification system for the anti-counterfeiting identification code of the dual-component includes:

[0029] Consumables, including an RFID chip, and the RFID chip is provided with a storage unit for storing Code 1;

[0030] A printing device, including a communication unit, a storage unit, and a reading and writing unit, where the communication unit is used for information transmission between the RFID chip and the cloud server; the storage unit is used for storing Code 2; the reading and writing unit is used for reading the codes stored in the consumables RFID chip and the storage unit of the printing device;

[0031] A cloud server, including a communication unit, a first storage unit, a second storage unit, a first verification unit, and a second verification unit, where the communication unit is used for information transmission between the RFID chip and the printing device; the first storage unit is used for storing Code 1; the second storage unit is used for storing Code 2; the first verification unit is used to execute the steps S101 and S102; the second verification unit is used to execute the steps S103 and S104.

[0032] According to the fourth aspect of the present invention, there is provided a storage medium with executable code thereon, and the code can be executed by a processor on the device where the storage medium is located to implement the encoding and its verification method of the present invention.

[0033] Generally speaking, compared with the prior art, the above technical solution conceived by the present invention has the following

[0034] Advantageous effects:

[0035] (1) An efficient anti-counterfeiting identification function is achieved through the collaborative manner of multi-layer nested embedded software algorithms and encryption / decryption programs. In addition to verifying the authenticity of consumables, the authenticity of the printing device is also verified simultaneously, effectively avoiding the situation of anti-counterfeiting identification errors caused by the counterfeiting of printing devices, making it difficult for portable intelligent printing devices and related consumables to be counterfeited and cracked by illegal manufacturers, with relatively low design and production costs, and being able to achieve an efficient and convenient anti-counterfeiting function, greatly improving the user experience.

[0036] (2) Through the cooperation of RFID consumable chips, printing devices, and cloud servers, the verification of the compatibility between consumables and printing devices is realized, ensuring the matching of printing devices and printing consumables, reducing the loss of the lifespan of printing devices caused by the incompatibility of printing consumables, and safeguarding the legitimate interests of manufacturers. Brief Description of the Drawings

[0037] The drawings are used to better understand the present invention and do not constitute a limitation to the present invention. Among them:

[0038] Figure 1 is a schematic diagram of a two-component anti-counterfeiting identification code;

[0039] Figure 2 is a schematic flowchart of a verification method for a two-component anti-counterfeiting identification code;

[0040] Figure 3 is a schematic diagram of a verification system for a two-component anti-counterfeiting identification code. Detailed Embodiment

[0041] In order to make the objectives, technical solutions, and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used 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.

[0042] In the embodiments of the present invention, 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 that includes a series of steps or modules does not necessarily have to be limited to those clearly listed steps or modules, but may include other steps or modules that are not clearly listed or are inherent to these processes, methods, products, or equipment.

[0043] In the embodiments of the present invention, the naming or numbering of steps 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 named or numbered process steps can be changed in the execution order according to the technical objectives to be achieved, as long as the same or similar technical effects can be achieved.

[0044] As used herein, the mention of "embodiment" means that the specific features, structures, or characteristics described in connection with the embodiment may be included in at least one embodiment of the present invention. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.

[0045] The present invention provides a printing system, an encoding of printing instructions, a printing method, and a storage medium, which will be described separately below.

[0046] As Figure 1 shown, a two-component anti-counterfeiting identification code according to an embodiment of the present invention includes:

[0047] Encoding 1, where the encoding 1 includes a pre-identification part 1, an identification part 2, an operation part 3, and a verification part 4;

[0048] Encoding 2, where the encoding 2 includes a pre-identification part 5, an identification part 6, an operation part 7, and a verification part 8.

[0049] In the prior art, the anti-counterfeiting identification code is often automatically generated by a burning software during the consumable production process and directly burned onto the RFID chip of the consumable; it includes the consumable identity information and the consumable exclusive verification information, and there is a specific corresponding relationship between the two. When the printing device is working, it obtains the consumable code on the chip through the RFID reader and verifies the consumable identity information and the exclusive verification information. Since all the coding information is stored on the RFID chip, when an illegal manufacturer forges a consumable, they only need to crack the chip of the genuine consumable to obtain both the consumable identity information and the verification information, and pass the verification of the anti-counterfeiting encryption system to make the printing device work properly. Since the anti-counterfeiting identification code and its verification method in the prior art are too simple and the cracking difficulty is not great, the anti-counterfeiting identification code generated by the burning software in this embodiment is a two-component code, and is automatically divided into a pre-identification part, an identification part, an operation part, and a verification part respectively.

[0050] Further, the encoding 1 is stored in the storage unit of the printing device.

[0051] Further, the encoding 2 is stored in the storage unit inside the consumable RFID chip.

[0052] Further, the pre-identification part 1, the identification part 2, the operation part 3, and the verification part 4 are arranged in a preset manner; the pre-identification part 5, the identification part 6, the operation part 7, and the verification part 8 are arranged in a preset manner.

[0053] Specifically, the arrangement in the preset manner is preset by the communication protocol among the consumable, the printing device, and the cloud server.

[0054] Further, in the encoding 1, there is a preset relationship 1 between the pre-identification part 1 and the identification part 2; there is a preset relationship 2 between the identification part 2 and the operation part 3.

[0055] Further, in the encoding 2, there is a preset relationship 4 between the pre-identification part 5 and the identification part 6; there is a preset relationship 5 between the identification part 6 and the operation part 7; there is a preset relationship 6 between the operation part 7 and the verification part 8.

[0056] Further, there is a preset relationship 3 among the operation part 3, the verification part 8, and the verification part 4; there is a preset relationship 7 between the identification part 2 and the identification part 6.

[0057] Different from the prior art, in the embodiments of the present invention, by verifying whether there is a preset relationship among the components of the encoding 1, the authenticity of the printing device can be verified; by verifying whether there is a preset relationship among the components of the encoding 2, the authenticity of the printing consumable can be verified; and after all parts of the encoding 1 and the encoding 2 pass the verification, by verifying whether there is a preset relationship between the encoding 1 and the encoding 2, it can also be verified whether the printing device and the consumable are matched. Moreover, all the identification and verification work is performed by the cloud server. When an illegal manufacturer attempts to crack the anti-counterfeiting identification code or illegally counterfeit the anti-counterfeiting encryption system, it has to avoid or break through the security protection measures of the cloud server. Once the cloud server identifies illegal intrusion or control information, it can prompt the manufacturer that there is a situation of anti-counterfeiting identification error, and can effectively combat the counterfeiting and forgery behaviors of illegal manufacturers in a timely manner.

[0058] If an illegal manufacturer cracks the RFID chip on the consumable, it can only obtain part of the anti-counterfeiting identification code and cannot pass the verification of the anti-counterfeiting system.

[0059] If an illegal manufacturer cracks the codes stored in the consumable chip and the storage unit of the printing device respectively, it still cannot obtain the preset relationship randomly generated among each part of the codes and still cannot pass the verification of the anti-counterfeiting system.

[0060] If both the printing device and the consumable are genuine, but the user installs an incompatible consumable in the printing device, since it does not conform to the preset relationship between the encoding 1 and the encoding 2, it still cannot pass the verification of the anti-counterfeiting identification system of the two components, and the printing device cannot work properly.

[0061] Further, the preset relationship can be a pre-set corresponding relationship (verified by looking up a table), or a functional relationship (verified by function calculation), and the present invention does not make further limitations in this regard.

[0062] In one embodiment, the burning software randomly generates the pre-identification part 1 and the pre-identification part 5 of the dual-component code during the production process, and generates the corresponding identification part 2, operation part 3, verification part 4, identification part 6, operation part 7 and verification part 8 according to the preset corresponding relationship. All the codes are arranged in a preset manner to form an inspection table and stored on the cloud server. When the cloud server performs verification, it directly compares each part of the code with the inspection table one by one. If all parts of the anti-counterfeiting identification code are consistent with the inspection table, the verification passes; otherwise, the verification fails.

[0063] In another embodiment, the pre-identification part 1 is denoted as x1, the identification part 2 is denoted as x2, the operation part 3 is denoted as x3, the verification part 4 is denoted as x4, the pre-identification part 5 is denoted as x5, the identification part 6 is denoted as x6, the operation part 7 is denoted as x7, and the verification part 8 is denoted as x8. The preset relationship 1 is denoted as f1, the preset relationship 2 is denoted as f2, the preset relationship 3 is denoted as f3, the preset relationship 4 is denoted as f4, the preset relationship 5 is denoted as f5, the preset relationship 6 is denoted as f6, and the preset relationship 7 is denoted as f7. Then there are x2 = f1(x1), x3 = f2(x2), x6 = f4(x5), x7 = f5(x6), x8 = f6(x7), x4 = f3(x3, x8), x6 = f7(x2). The present invention does not further limit what kind of carry counting system algorithm f(x) is.

[0064] Further, the operation part 3 can also be divided into an operation-pre-identification part 31, an operation-identification part 32, an operation-operation part 33 and an operation-verification part 34.

[0065] Further, the operation part 7 can also be divided into an operation-pre-identification part 71, an operation-identification part 72, an operation-operation part 73 and an operation-verification part 74.

[0066] In one embodiment, the code of the operation part 3 is denoted as x3, the code of the operation part 7 is denoted as x7, the operation-pre-identification part 31 is denoted as a 31 , the operation-identification part 32 is denoted as a 32 , the operation-operation part 33 is denoted as a 33 , the operation-verification part 34 is denoted as a 34 , the operation-pre-identification part 71 is denoted as a 71 , the operation-identification part 72 is denoted as a 72 , the operation-operation part 73 is denoted as a 73 , the operation-verification part 74 is denoted as a 74 . Then the burning software randomly generates a 31 , a 32 , a 33 , a 34 , a71 and a 72 and a 73 and a 74 , they are arranged in order and combined to encode x3 and x7, and a verification table is generated and stored on the cloud server. When the cloud server performs verification, it directly compares each part of the encoding with the verification table one by one. If all parts of the x3 encoding and the x7 encoding are consistent with the verification table, the verification passes; otherwise, the verification fails.

[0067] Furthermore, the pre-identification part 1, the identification part 2, and the operation part 3 are stored in the storage unit of the printing device, and the verification part 4 can also be stored on the cloud server.

[0068] In this embodiment, an efficient anti-counterfeiting identification function is realized through the cooperation of a multi-layer nested embedded software algorithm and an encryption / decryption program. In addition to verifying the authenticity of the consumables and the printing device, it can also verify the compatibility between the consumables and the printing device, ensure that the printing device and the printing consumables match, effectively avoid the anti-counterfeiting identification error situation caused by the counterfeiting of the printing device, make it difficult for portable intelligent printing devices and related consumables to be counterfeited and cracked by illegal manufacturers, have a relatively low design and production cost, and can greatly improve the user experience by realizing an efficient and convenient anti-counterfeiting function.

[0069] As Figure 2 shown, according to the second aspect of the present invention, a method for verifying a dual-component anti-counterfeiting identification code is provided, including the steps:

[0070] S101 The cloud server reads the encoding 1 and the encoding 2, and respectively identifies the pre-identification part 1, the identification part 2, the calculation part 3, and the verification part 4, as well as the pre-identification part 5, the identification part 6, the calculation part 7, and the verification part 8 according to the agreement of the communication protocol;

[0071] Furthermore, the communication protocol stipulates the arrangement and parsing methods of the encodings of the pre-identification part 1, the identification part 2, the calculation part 3, and the verification part 4, as well as the pre-identification part 5, the identification part 6, the calculation part 7, and the verification part 8.

[0072] Denote the pre-identification part 1 as x1, the identification part 2 as x2, the operation part 3 as x3, the pre-identification part 5 as x5, the identification part 6 as x6, the operation part 7 as x7, and the verification part 8 as x8. Denote the preset relationship 1 as f1, the preset relationship 2 as f2, the preset relationship 4 as f4, the preset relationship 5 as f5, and the preset relationship 6 as f6. Then there are x2 = f1(x1), x3 = f2(x2), x6 = f4(x5), x7 = f5(x6), and x8 = f6(x7).

[0073] The cloud server sequentially verifies whether there is a preset relationship 1 between the pre-identification part 1 and the identification part 2, whether there is a preset relationship 2 between the identification part 2 and the operation part 3, whether there is a preset relationship 4 between the pre-identification part 5 and the identification part 6, whether there is a preset relationship 5 between the identification part 6 and the operation part 7, and whether there is a preset relationship 6 between the operation part 7 and the verification part 8. If at least one of the preset relationships does not hold, the verification fails; if all the preset relationships hold, step S103 is started;

[0074] Denote the preset relationship 7 as f7, then x6 = f7(x2).

[0075] The cloud server verifies whether there is a preset relationship 7 between the identification part 2 and the identification part 6; if there is no preset relationship 7, the verification fails; if there is a preset relationship 7, step S104 is started;

[0076] Denote the verification part 4 as x4 and the preset relationship 3 as f3, then x4 = f3(x3, x8).

[0077] The cloud server verifies whether there is a preset relationship 3 among the operation part 3, the verification part 8 and the verification part 4; if there is no preset relationship 3, the verification fails; if there is a preset relationship 3, the verification is successful.

[0078] Further, when executing step S101, the printing device reading and writing unit reads the codes stored in the consumable RFID chip and the printing device storage unit, and then encrypts and sends the codes to the cloud server through the printing device communication unit. The present invention does not further limit the specific encryption and decryption methods.

[0079] In one embodiment, the code 1 is stored in the printing device storage unit, and the code 2 is stored in the storage unit inside the consumable RFID chip. After the printing device reading and writing unit reads the code 1 and the code 2, it sends them to the cloud server in an encrypted manner. The cloud server communication unit receives and decrypts them, respectively identifies each part of the code 1 and the code 2, and stores the code 1 in the first storage unit; stores the code 2 in the second storage unit; S101 and S102 are executed by the cloud server first verification unit, and S103 and S104 are executed by the cloud server second verification unit.

[0080] In another embodiment, the pre-identification part 1, the identification part 2, and the operation part 3 are stored in the storage unit of the printing device, and the verification part 4 is stored in the first storage unit of the cloud server; the encoding 2 is stored on the consumable chip. After the reading and writing unit of the printing device reads the pre-identification part 1, the identification part 2, the operation part 3, and the encoding 2, it sends them to the cloud server in an encrypted manner. The communication unit of the cloud server receives and decrypts them, respectively identifies each part of the dual-component encoding, and stores the pre-identification part 1, the identification part 2, and the operation part 3 in the first storage unit; stores the encoding 2 in the second storage unit; the S101 and S102 are executed by the first verification unit of the cloud server, and the S103 and S104 are executed by the second verification unit of the cloud server.

[0081] The present invention realizes the generation, reading, and verification of data through the mutual cooperation of the RFID consumable chip, the printing device, and the cloud server, realizing an efficient anti-counterfeiting identification function. It can not only effectively avoid the anti-counterfeiting identification errors caused by the counterfeiting of printing consumables or printing devices, but also ensure that the special printing consumables are used on the correct printing device. Moreover, it does not require re-designing or adjusting the internal structure of the printing device, with low production costs and convenient for users to use.

[0082] A verification system for an anti-counterfeiting identification code of a dual-component in an embodiment of the present invention is used to implement the steps:

[0083] S101 The cloud server reads the encoding 1 and the encoding 2, and respectively identifies the pre-identification part 1, the identification part 2, the calculation part 3, and the verification part 4, as well as the pre-identification part 5, the identification part 6, the calculation part 7, and the verification part 8 according to the agreement of the communication protocol;

[0084] S102 The cloud server sequentially verifies whether there is a preset relationship 1 between the pre-identification part 1 and the identification part 2, whether there is a preset relationship 2 between the identification part 2 and the operation part 3, whether there is a preset relationship 4 between the pre-identification part 5 and the identification part 6, whether there is a preset relationship 5 between the identification part 6 and the operation part 7, and whether there is a preset relationship 6 between the operation part 7 and the verification part 8. If at least one of the preset relationships does not hold, the verification fails; if all the preset relationships hold, the next step is started:

[0085] S103 The cloud server verifies whether there is a preset relationship 7 between the identification part 2 and the identification part 6; if there is no preset relationship 7, the verification fails; if there is a preset relationship 7, the next step is started;

[0086] S104 The cloud server verifies whether there is a preset relationship 3 among the operation part 3, the verification part 8, and the verification part 4; if there is no preset relationship 3, the verification fails; if there is a preset relationship 3, the verification is successful.

[0087] As Figure 3 shown, a verification system for anti-counterfeiting identification codes of a two-component according to an embodiment of the present invention includes:

[0088] Consumables, including an RFID chip, where the RFID chip is provided with a storage unit for storing Code 1;

[0089] A printing device, including a communication unit, a storage unit, and a reading and writing unit. The communication unit is used for information transmission between the RFID chip and a cloud server; the storage unit is used for storing Code 2; the reading and writing unit is used for reading the codes stored in the consumables RFID chip and the storage unit of the printing device;

[0090] A cloud server, including a communication unit, a first storage unit, a second storage unit, a first verification unit, and a second verification unit. The communication unit is used for information transmission between the RFID chip and the printing device; the first storage unit is used for storing Code 1; the second storage unit is used for storing Code 2; the first verification unit is used for executing the steps S101 and S102; the second verification unit is used for executing the steps S103 and S104.

[0091] According to a fourth aspect of the present invention, there is provided a storage medium having executable code thereon, and the code can be executed by a processor on the device where the storage medium is located to implement the two-component code and its verification method of the present invention.

[0092] Furthermore, the storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage medium include: an electrical connection having one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0093] Furthermore, the program code contained on the computer-readable storage medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0094] Furthermore, computer program code for performing the operations of the embodiments of the present invention can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0095] Those skilled in the art can easily understand 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 replacements, 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 two-component anti-counterfeiting identification code, characterized in that, It includes Encoding 1 and Encoding 2. The Encoding 1 includes a pre-identification part 1, an identification part 2, an operation part 3, and a verification part 4; the Encoding 2 includes a pre-identification part 5, an identification part 6, an operation part 7, and a verification part 8.

2. The two-component anti-counterfeiting identification code according to claim 1, characterized in that, The Encoding 1 is stored in the storage unit of the printing device.

3. The two-component anti-counterfeiting identification code according to claim 1, characterized in that, The Encoding 2 is stored in the storage unit within the consumable RFID chip.

4. The two-component anti-counterfeiting identification code according to claim 1, characterized in that, The pre-identification part 1, the identification part 2, the operation part 3, and the verification part 4 are arranged in a preset manner; the pre-identification part 5, the identification part 6, the operation part 7, and the verification part 8 are arranged in a preset manner.

5. The two-component anti-counterfeiting identification code according to claim 4, characterized in that, The preset arrangement is pre-set by the communication protocol among the consumable, the printing device, and the cloud server.

6. The two-component anti-counterfeiting identification code according to claim 1 or 2, characterized in that, In the Encoding 1, there is a preset relationship 1 between the pre-identification part 1 and the identification part 2; there is a preset relationship 2 between the identification part 2 and the operation part 3.

7. The two-component anti-counterfeiting identification code according to claim 1 or 3, characterized in that, In the Encoding 2, there is a preset relationship 4 between the pre-identification part 5 and the identification part 6; there is a preset relationship 5 between the identification part 6 and the operation part 7; there is a preset relationship 6 between the operation part 7 and the verification part 8.

8. The two-component anti-counterfeiting identification code according to claim 1, characterized in that, There is a preset relationship 3 among the operation part 3, the verification part 8, and the verification part 4; there is a preset relationship 7 between the identification part 2 and the identification part 6.

9. The two-component anti-counterfeiting identification code according to claim 1, characterized in that, The operation part 3 can also be divided into an operation-pre-identification part 31, an operation-identification part 32, an operation-operation part 33, and an operation-verification part 34.

10. The two-component anti-counterfeiting identification code according to claim 1, characterized in that, The operation part 7 can also be divided into an operation-pre-identification part 71, an operation-identification part 72, an operation-operation part 73, and an operation-verification part 74.

11. The two-component anti-counterfeiting identification code according to claim 1, characterized in that, The pre-identification part 1, the identification part 2, and the operation part 3 are stored in the storage unit of the printing device, and the verification part 4 can be stored in the cloud server.

12. A verification method for a two-component anti-counterfeiting identification code, characterized in that, It includes steps: S101 The cloud server reads the Encoding 1 and Encoding 2, and respectively identifies the pre-identification part 1, the identification part 2, the calculation part 3, and the verification part 4, as well as the pre-identification part 5, the identification part 6, the calculation part 7, and the verification part 8 according to the agreement of the communication protocol; S102 The cloud server sequentially verifies whether there is a preset relationship 1 between the pre-identification part 1 and the identification part 2, whether there is a preset relationship 2 between the identification part 2 and the operation part 3, whether there is a preset relationship 4 between the pre-identification part 5 and the identification part 6, whether there is a preset relationship 5 between the identification part 6 and the operation part 7, and whether there is a preset relationship 6 between the operation part 7 and the verification part 8. If at least one of the preset relationships does not hold, the verification fails; If all the preset relationships hold, the next step is started; S103 The cloud server verifies whether there is a preset relationship 7 between the identification part 2 and the identification part 6; If there is no preset relationship 7, the verification fails; If there is a preset relationship 7, the next step is started; S104 The cloud server verifies whether there is a preset relationship 3 among the operation part 3, the verification part 8, and the verification part 4; If there is no preset relationship 3, the verification fails; if there is a preset relationship 3, the verification is successful.

13. The verification method for a two-component anti-counterfeiting identification code according to claim 12, characterized in that, When performing the step S101, the reading and writing unit of the printing device reads the code 2 stored in the consumable RFID chip and the code 1 stored in the storage unit of the printing device, and then encrypts and sends the code 2 and the code 1 to the cloud server through the communication unit of the printing device.

14. A verification system for a two-component anti-counterfeiting identification code, characterized in that, The system is used to implement the steps: S101 The cloud server reads the code 1 and the code 2, and respectively identifies the pre-identification part 1, the identification part 2, the calculation part 3, and the verification part 4, as well as the pre-identification part 5, the identification part 6, the calculation part 7, and the verification part 8 according to the agreement of the communication protocol; S102 The cloud server sequentially checks whether there is a preset relationship 1 between the pre-identification part 1 and the identification part 2, whether there is a preset relationship 2 between the identification part 2 and the operation part 3, whether there is a preset relationship 4 between the pre-identification part 5 and the identification part 6, whether there is a preset relationship 5 between the identification part 6 and the operation part 7, and whether there is a preset relationship 6 between the operation part 7 and the verification part 8. If at least one of the preset relationships does not hold, the verification fails; If all the preset relationships hold, the next step is started; S103 The cloud server checks whether there is a preset relationship 7 between the identification part 2 and the identification part 6; If there is no preset relationship 7, the verification fails; If there is a preset relationship 7, the next step is started; S104 The cloud server checks whether there is a preset relationship 3 among the operation part 3, the verification part 8, and the verification part 4; If there is no preset relationship 3, the verification fails; if there is a preset relationship 3, the verification is successful.

15. The verification system for the anti-counterfeiting identification code of a two-component according to claim 14, characterized in that, The system includes: A consumable, which includes an RFID chip. The RFID chip is provided with a storage unit for storing the code 1; A printing device, which includes a communication unit, a storage unit, and a reading and writing unit. The communication unit is used for information transmission between the RFID chip and the cloud server; the storage unit is used for storing the code 2; the reading and writing unit is used for reading the codes stored in the consumable RFID chip and the storage unit of the printing device; A cloud server, which includes a communication unit, a first storage unit, a second storage unit, a first verification unit, and a second verification unit. The communication unit is used for information transmission between the RFID chip and the printing device; the first storage unit is used for storing the code 1; the second storage unit is used for storing the code 2; the first verification unit is used to perform the steps S101 and S102; the second verification unit is used to perform the steps S103 and S104.

16. A storage medium, characterized in that, Stored with executable code, the executable code can be executed by the processor of the device where the storage medium is located to implement the verification method for the anti-counterfeiting identification code of the double-component as described in any one of claims 12 to 13.