A portable intelligent printing device and a counterfeit identification method and system for consumables

CN117170594BActive Publication Date: 2026-09-25WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311084225.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-28
Publication Date
2026-09-25
Estimated Expiration
2043-08-28

AI Technical Summary

Technical Problem

[0004]但是这种现有技术难以避免当该身份信息被盗用或泄密后的防伪识别错误情形,且即使耗材身份信息正确,亦难以避免因打印设备被仿冒而存在的防伪识别错误情形

Benefits of technology

[0037](1)通过多层嵌套的嵌入式软件算法与加解密程序相互协同的方式实现高效的防伪识别功能,除了验证耗材真伪之外,亦同时验证打印设备真伪,有效避免因打印设备被仿冒而存在的防伪识别错误情形,使得便携智能打印设备及相关耗材不易被不法厂商仿冒破解、设计和生产成本较小、又能通过实现高效便捷的防伪功能,极大提高了用户使用体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117170594B_ABST
    Figure CN117170594B_ABST
Patent Text Reader

Abstract

The application discloses a portable intelligent printing equipment and a counterfeit identification method and system for consumables. The method comprises the following steps: obtaining and encrypting consumable identification information, converting the consumable identification information into first to-be-verified information; generating second consumable-specific verification information, randomly mixing and arranging the second consumable-specific verification information with the first to-be-verified information, encrypting the second consumable-specific verification information and the first to-be-verified information, and converting the second consumable-specific verification information and the first to-be-verified information into second to-be-verified information; decrypting and checking the second to-be-verified information, and if the checking result is consistent, starting the next step; reading and encrypting printing equipment identification information, converting the printing equipment identification information into third to-be-verified information; generating second printing equipment-specific verification information, randomly mixing and arranging the second printing equipment-specific verification information with the third to-be-verified information, encrypting the second printing equipment-specific verification information and the third to-be-verified information, and converting the second printing equipment-specific verification information and the third to-be-verified information into fourth to-be-verified information; randomly mixing and arranging the fourth to-be-verified information with the second to-be-verified information, encrypting the fourth to-be-verified information and the second to-be-verified information, and converting the fourth to-be-verified information and the second to-be-verified information into fifth to-be-verified information; decrypting and checking the fifth to-be-verified information, and if the checking result is consistent, the verification is successful, otherwise, the verification fails. The application can realize efficient anti-counterfeiting identification function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of printing technology, and more specifically, relates to a portable intelligent printing device and a method and system for anti-counterfeiting identification of consumables. Background Technology

[0002] With economic and social development, portable smart printing devices, such as label printers and barcode printers, are increasingly penetrating various application scenarios including commerce, industry, daily office work, logistics, and home use, ushering in a period of rapid growth for the portable smart printing industry. The existing business model in the industry is based on positioning portable printing devices as high-volume products, while consumables with large usage (such as label paper and ribbons) are positioned as profit-generating products. This means that manufacturers in the industry mainly rely on the production and sales of consumables to obtain necessary profits. Due to the huge and rapidly growing demand for consumables used with portable smart printing devices, many unscrupulous manufacturers counterfeit portable printing devices and consumables to disrupt this business model and seize unfair competitive profits. This causes huge economic losses to genuine manufacturers, and counterfeit consumables are often incompatible with genuine smart printing devices, easily causing premature damage and severely impacting the user experience. Therefore, there is an urgent need for anti-counterfeiting identification for portable smart printing devices and consumables within the industry.

[0003] Existing anti-counterfeiting identification technologies typically involve writing data recording the consumable's identity information into an RFID chip during the consumable's production process and attaching the chip to the consumable's core or embedding it inside the consumable. Then, a reader in a portable smart device reads the data and verifies its authenticity.

[0004] However, this existing technology is difficult to avoid anti-counterfeiting identification errors when the identity information is stolen or leaked, and even if the consumable identity information is correct, it is still difficult to avoid anti-counterfeiting identification errors due to the counterfeiting of printing equipment. Summary of the Invention

[0005] In view of the above-mentioned defects or improvement needs of the existing technology, the present invention provides a portable intelligent printing device and consumable anti-counterfeiting identification method and system, which can achieve efficient anti-counterfeiting identification function.

[0006] To achieve the above objectives, according to a first aspect of the present invention, a portable intelligent printing device and a method for anti-counterfeiting identification of consumables are provided, comprising the following steps:

[0007] S101, Obtain consumable identification information, the consumable identification information including consumable identity information and first consumable-specific verification information, and use a first encryption algorithm to convert the consumable identification information into first verification information;

[0008] S102, generate second consumable-specific verification information, randomly mix the second consumable-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified;

[0009] S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the restored information of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information, and check it against the generation records of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information. If the check is inconsistent, the verification is confirmed to have failed. If the check is consistent, step S104 is started.

[0010] S104, Read the printing device identification information in the printing device memory. The printing device identification information includes the printing device identity information and the first printing device-specific verification information. Use the third encryption algorithm to convert the printing device identification information into the third verification information.

[0011] S105, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the third verification information, and use the fourth encryption algorithm to convert the mixed information into the fourth verification information;

[0012] S106, the fourth information to be verified is randomly mixed and arranged with the second information to be verified, and the fourth information to be verified is converted into the fifth information to be verified using the fifth encryption algorithm;

[0013] S107, the fifth information to be verified is decrypted using the second decryption algorithm to obtain the restored information of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second production printing device-specific verification information. This information is then compared with the generation records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is confirmed to have succeeded.

[0014] Furthermore, the decryption in S107 will also obtain the restoration information of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm, and compare the restored information obtained by decryption with the records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, the generation records of the second printing device-specific verification information, the first encryption algorithm information, the second encryption algorithm information, the third encryption algorithm information, the fourth encryption algorithm information, and the fifth encryption algorithm information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is successful.

[0015] Furthermore, steps S101, S102, S104, S105, and S106 are executed by the portable smart printing device, while steps S103 and S107 are executed by the server.

[0016] Furthermore, steps S101, S102, S103, S104, S105, and S106 are executed by the portable smart printing device, and step S107 is executed by the server.

[0017] Furthermore, it also includes step S108:

[0018] If the verification in S107 is successful, the server generates a startup code and sends it to the portable smart printing device. The portable smart printing device starts printing after receiving the startup code.

[0019] Furthermore, the first consumable-specific verification information is generated using a preset first random code generation algorithm and is burned into the consumable during the production process;

[0020] The first printing device-specific verification information is generated using a preset second random code generation algorithm and is burned into the portable smart printing device during the production process.

[0021] Furthermore, the second consumable-specific verification information is generated by the portable smart printing device using a preset third random code generation algorithm and sent to the server for backup, and the second printing device-specific verification information is generated by the portable smart printing device using a preset fourth random code generation algorithm and sent to the server for backup.

[0022] Furthermore, back up the unique verification information of the first consumable and the unique verification information of the first printing device on the server.

[0023] Furthermore, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are backed up on the server, and the portable smart printing device requests the server to invoke the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm.

[0024] Furthermore, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are backed up on the portable smart printing device, and the portable smart printing device calls the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm for encryption.

[0025] Furthermore, the RFID chip on the consumable is used to obtain the consumable identification information, and the printing device identification information is stored in the portable smart printing device.

[0026] Furthermore, at least two of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are the same.

[0027] According to a second aspect of the present invention, a portable intelligent printing device and a consumable anti-counterfeiting identification system are provided, the system being used to implement the following steps:

[0028] S101, Obtain consumable identification information, the consumable identification information includes the consumable's identity information and the first consumable-specific verification information, and use the first encryption algorithm to convert the above identification information into the first verification information;

[0029] S102, generate second consumable-specific verification information, randomly mix the second consumable-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified;

[0030] S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the restored information of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information, and check it against the generation records of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information. If the check is inconsistent, the verification is confirmed to have failed. If the check is consistent, step S104 is started.

[0031] S104, Read the printing device identification information in the printing device memory. The printing device identification information includes the printing device identity information and the first printing device-specific verification information. Use the third encryption algorithm to convert the printing device identification information into the third verification information.

[0032] S105, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the third verification information, and use the fourth encryption algorithm to convert the mixed information into the fourth verification information;

[0033] S106, the fourth information to be verified is randomly mixed and arranged with the second information to be verified, and the fourth information to be verified is converted into the fifth information to be verified using the fifth encryption algorithm;

[0034] S107, the fifth information to be verified is decrypted using the second decryption algorithm to obtain the restored information of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second production printing device-specific verification information. This information is then compared with the generation records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is confirmed to have succeeded.

[0035] Furthermore, the portable intelligent printing device and consumable anti-counterfeiting identification system includes a portable intelligent printing device and a server. S101, S102, S104, S105, and S106 are executed by the portable intelligent printing device, S107 is executed by the server, and S103 is executed by either the portable intelligent printing device or the server.

[0036] Overall, the technical solutions conceived in this invention have beneficial effects compared with the prior art:

[0037] (1) The high-efficiency anti-counterfeiting identification function is achieved by using a multi-layered nested embedded software algorithm and encryption / decryption program in collaboration. In addition to verifying the authenticity of consumables, it also verifies the authenticity of printing equipment, effectively avoiding anti-counterfeiting identification errors caused by counterfeiting of printing equipment. This makes portable smart printing equipment and related consumables less likely to be counterfeited or cracked by illegal manufacturers, with lower design and production costs, and greatly improves the user experience by achieving efficient and convenient anti-counterfeiting functions.

[0038] (2) Data generation, reading and verification are achieved by the cooperation of RFID consumable chips, printer readers, controllers and cloud servers, realizing efficient anti-counterfeiting identification function. No redesign or adjustment of the internal structure of the printer is required, resulting in low production cost and convenient use for users. Attached Figure Description

[0039] Figure 1 This is a flowchart illustrating the anti-counterfeiting identification method for portable smart printing devices and consumables;

[0040] Figure 2 This is a schematic diagram of the modules of a portable intelligent printing device and a consumable anti-counterfeiting identification system. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.

[0042] In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first" and "second" may explicitly or implicitly include at least one of that feature.

[0043] In this embodiment of the invention, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, apparatus, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to such process, method, product or device.

[0044] The naming or numbering of 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 order 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 effect can be achieved.

[0045] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0046] This invention provides a portable intelligent printing device and a method and system for anti-counterfeiting identification of consumables, which will be described below.

[0047] like Figure 1 As shown, an embodiment of the present invention provides a portable intelligent printing device and a method for anti-counterfeiting identification of consumables, comprising the following steps:

[0048] S101, Obtain consumable identification information, the consumable identification information including consumable identity information and first consumable-specific verification information, and use a first encryption algorithm to convert the consumable identification information into first verification information.

[0049] Consumable identification information includes two categories: one is consumable identity information, and the other is the unique verification information for the first consumable.

[0050] Consumable identification information is a string used to distinguish consumables, which may specifically include consumable ID, consumable production batch, and other information.

[0051] The first consumable-specific verification information is a string used for subsequent verification and comparison.

[0052] Furthermore, the first consumable-specific verification information is generated using a preset first random code generation algorithm and burned into the consumable during the production process. Specifically, the first random code generation algorithm can be stored in the burning software. When a consumable burning request is received, the first consumable-specific verification information is generated and burned into the consumable.

[0053] The method for obtaining consumable identification information can be any feasible method.

[0054] In one embodiment, an RFID tag is attached to the consumable, and the consumable's identification information is obtained by reading the RFID tag. This employs a contactless wireless communication method. Specifically, the consumable's identification information can be stored in the RFID tag, which can be attached to the side wall of the consumable core. If the RFID tag is passive, the printing device emits a radio frequency signal, and the RFID tag outputs the consumable's identification information to the printing device based on the sensed current. If the RFID tag is active, it actively outputs the consumable's identification information to the printing device at a specific frequency.

[0055] In another embodiment, a storage module is provided on the consumable to store consumable identification information. After the consumable is placed in the label printer, the conductive part in the label printer contacts the output interface of the storage module to obtain the consumable identification information. This adopts a contact-type wired communication method.

[0056] In another embodiment, a QR code containing consumable identification information is printed on the consumable, and the user obtains the consumable identification information by scanning the QR code.

[0057] After obtaining the consumable identification information, the consumable identification information is converted into first verification information using a first encryption algorithm.

[0058] Let the consumable identification information be x1, the first consumable-specific verification information be x2, the consumable identification information be (x1, x2), the first encryption algorithm be f1, and the first information to be verified be y1. Then we have y1 = f1(x1, x2).

[0059] S102, generate second consumable-specific verification information, randomly mix the second consumable-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified.

[0060] Unlike the first consumable's exclusive verification information, which is pre-programmed into the consumable, the second consumable's exclusive verification information is not pre-programmed, but generated during the anti-counterfeiting verification process.

[0061] The unique verification information for the second consumable is denoted as x3. The information resulting from a random mixture of the unique verification information x3 and the first information to be verified, y1, is denoted as x4. Assuming the first information to be verified, y1, is ABC and x3, is D, the randomly mixed information x4 could be ABCD, ABDC, ADBC, DABC, ACBD, ACDB, ADCB, DACB, etc. The specific value of the randomly mixed information x4 can be calculated based on a preset first random mixing method. This mixed arrangement increases the difficulty of counterfeiting consumables.

[0062] Let the second encryption algorithm be denoted as f2 and the second information to be verified be denoted as y2, then y2 = f2(x4).

[0063] S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the restored information of the consumable identity information, the first consumable-specific verification information, and the second consumable-specific verification information, and compare it with the generation records of the consumable identity information, the first consumable-specific verification information, and the second consumable-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed. If the comparison is consistent, step S104 is started.

[0064] The first decryption algorithm is denoted as F1. Using F1, the second information to be verified, y2, is decrypted to obtain three types of restored information: restored information of the consumable's identity, restored information of the first consumable's unique verification information, and restored information of the second consumable's unique verification information. Decryption and restoration using the first decryption algorithm F1 refers to converting garbled text into restored information in a predetermined format according to a predetermined method.

[0065] If the restored information of the consumable's identity information is the same as x1, the restored information of the first consumable-specific verification information is the same as x2, and the restored information of the second consumable-specific verification information is the same as x3, that is, the three types of restored information are completely consistent with the corresponding generated records, then the consumable verification is successful. Otherwise, the consumable verification fails.

[0066] Steps S101 to S103 complete the anti-counterfeiting verification of the consumables. However, another key aspect of this invention is that it also verifies the authenticity of the printing device. Therefore, if the consumable verification is successful, step S104 is initiated to verify the printing device. If the consumable verification fails, no further steps are required.

[0067] S104, Read the printing device identification information in the printing device memory. The printing device identification information includes the printing device identity information and the first printing device-specific verification information. Use the third encryption algorithm to convert the printing device identification information into the third verification information.

[0068] The identification information of a printing device includes two types of information: one is the identity information of the printing device, and the other is the unique verification information of the first printing device.

[0069] Printer identification information is a string used to distinguish printing devices.

[0070] The first verification information specific to the printing device is a string used for subsequent verification and comparison.

[0071] Furthermore, the verification information specific to the first printing device is generated using a preset second random code generation algorithm and is burned into the portable smart printing device during the production process.

[0072] Reading the printer identification information from the printer's memory can be done in any feasible way.

[0073] The printer identification information is denoted as x5, the first printer-specific verification information is denoted as x6, the printer identification information is denoted as (x5, x6), the third encryption algorithm is denoted as f3, and the third information to be verified is denoted as y3, where y3 = f3(x5, x6).

[0074] S105, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the third verification information, and use the fourth encryption algorithm to convert the mixed information into the fourth verification information.

[0075] Unlike the first printing device, whose exclusive verification information is pre-programmed into the printing device, the second printing device's exclusive verification information is not pre-programmed, but generated during the anti-counterfeiting verification process.

[0076] The second printing device-specific verification information is recorded as x7, and the information obtained by randomly mixing the second printing device-specific verification information x7 with the third verification information y3 is recorded as x8.

[0077] The principle behind this random mixing arrangement is similar to that of step S102 above. The specific arrangement of the randomly mixed information x8 can be calculated based on a preset second random mixing arrangement method. This mixed arrangement increases the difficulty of counterfeiting printing equipment.

[0078] Let the fourth encryption algorithm be denoted as f4, and the fourth information to be verified be denoted as y4, where y4 = f4(x8).

[0079] S106, the fourth information to be verified is randomly mixed and arranged with the second information to be verified, and the fourth information to be verified is converted into the fifth information to be verified using the fifth encryption algorithm.

[0080] By randomly mixing and arranging the fourth information to be verified, y4, and the second information to be verified, y2, the anti-counterfeiting verification of consumables is combined with the anti-counterfeiting verification of printing equipment. The principle of this random mixing and arranging step is similar to the random mixing and arranging in step S102 above.

[0081] The information after random mixing and arrangement is denoted as x9, which can be calculated based on the preset third random mixing and arrangement method.

[0082] Let the fifth encryption algorithm be denoted as f5, and the fifth information to be verified be denoted as y5, where y5 = f5(x9).

[0083] S107, the fifth information to be verified is decrypted using the second decryption algorithm to obtain the restored information of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second production printing device-specific verification information. This information is then compared with the generation records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is confirmed to have succeeded.

[0084] The second decryption algorithm is denoted as F2. Using F2, the fifth piece of information to be verified, y5, is decrypted to obtain six types of restored information: restored information of the consumable's identity, restored information of the first consumable's exclusive verification information, restored information of the second consumable's exclusive verification information, restored information of the printing device's identity, restored information of the first printing device's exclusive verification information, and restored information of the second production printing device's exclusive verification information. The principle and function of the second decryption algorithm F2 are the same as those of the first decryption algorithm.

[0085] If the restored information of the consumable's identity information is the same as x1, the restored information of the first consumable's exclusive verification information is the same as x2, the restored information of the second consumable's exclusive verification information is the same as x3, the restored information of the printer's identity information is the same as x5, the restored information of the first printer's exclusive verification information is the same as x6, and the restored information of the second printer's exclusive verification information is the same as x7, meaning that all six types of restored information are completely consistent with their corresponding generated records, then it indicates that both the consumable and the printer have been successfully verified and are genuine. Otherwise, it indicates that the verification has failed, meaning that at least one of the consumable or the printer is counterfeit.

[0086] This invention achieves efficient anti-counterfeiting identification through a multi-layered nested embedded software algorithm and encryption / decryption program working together. In addition to verifying the authenticity of consumables, it also verifies the authenticity of printing equipment, effectively avoiding anti-counterfeiting identification errors caused by counterfeit printing equipment.

[0087] Furthermore, the decryption in S107 will also obtain the restoration information of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm, and compare the restored information obtained by decryption with the records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, the generation records of the second printing device-specific verification information, the first encryption algorithm information, the second encryption algorithm information, the third encryption algorithm information, the fourth encryption algorithm information, and the fifth encryption algorithm information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is successful.

[0088] In step S107, decrypting the fifth piece of information to be verified, y5, yields eleven types of restored information. These include information about the encryption algorithm itself, information about the object being calculated by the encryption algorithm, and information about the object after encryption. Specifically, these are restored information about the consumable's identity, the first consumable-specific verification information, the second consumable-specific verification information, the printing device's identity, the first printing device-specific verification information, the second production printing device-specific verification information, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm. If each of these eleven types of restored information is completely consistent with its corresponding generated record, it indicates that both the consumable and the printing device have been successfully verified and are genuine. Otherwise, it indicates that the verification has failed, meaning that at least one of the consumable or the printing device is counterfeit.

[0089] In one embodiment, S101, S102, S104, S105, and S106 are executed by the portable smart printing device, which performs five encryption operations. S103 and S107 are executed by the server, which performs two decryption operations.

[0090] In another embodiment, S101, S102, S103, S104, S105, and S106 are executed by the portable smart printing device, which performs five encryption operations and a first decryption operation. S107 is executed by the server, which performs a second decryption operation.

[0091] Furthermore, it also includes step S108:

[0092] If the verification in S107 is successful, the server generates a startup code and sends it to the portable smart printing device. The portable smart printing device starts printing after receiving the startup code.

[0093] Furthermore, the second consumable-specific verification information is generated by the portable smart printing device using a preset third random code generation algorithm and sent to the server for backup, and the second printing device-specific verification information is generated by the portable smart printing device using a preset fourth random code generation algorithm and sent to the server for backup. In other words, the portable smart printing device generates the second consumable-specific verification information and the second printing device-specific verification information during the anti-counterfeiting verification process and sends them to the server for backup.

[0094] Furthermore, the first consumable-specific verification information and the first printing device-specific verification information are backed up on the server. Specifically, the first consumable-specific verification information and the first printing device-specific verification information generated during the burning process are backed up on the server. This can be done by the burning software sending the information to the server.

[0095] Furthermore, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are backed up on the server. The portable smart printing device requests the server to call the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm, that is, the encryption algorithm is called according to the encryption request. The advantage of backing up the encryption algorithms on the server is that it can reduce the hardware cost of the portable smart printing device.

[0096] Furthermore, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are backed up on the portable smart printing device. The portable smart printing device then calls the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm for encryption. The advantage of backing up the encryption algorithms on the portable smart printing device is that the data processing speed is fast.

[0097] In one embodiment, the consumable identification information is stored in an RFID chip on the consumable, and the printing device identification information is stored in the portable smart printing device. When using wireless communication to identify the consumable information via an RFID chip, there is no need to redesign or adjust the internal structure of the printing device, resulting in low production costs and ease of use for users.

[0098] Furthermore, at least two of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are the same. That is, the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm can all be the same algorithm, or some of the algorithms can be the same algorithm, for example, the first encryption algorithm and the second encryption algorithm are the same algorithm.

[0099] A portable intelligent printing device and consumable anti-counterfeiting identification system according to an embodiment of the present invention are used to implement the following steps:

[0100] S101, Obtain consumable identification information, the consumable identification information includes the consumable's identity information and the first consumable-specific verification information, and use the first encryption algorithm to convert the above identification information into the first verification information;

[0101] S102, generate second consumable-specific verification information, randomly mix the second consumable-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified;

[0102] S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the restored information of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information, and check it against the generation records of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information. If the check is inconsistent, the verification is confirmed to have failed. If the check is consistent, step S104 is started.

[0103] S104, Read the printing device identification information in the printing device memory. The printing device identification information includes the printing device identity information and the first printing device-specific verification information. Use the third encryption algorithm to convert the printing device identification information into the third verification information.

[0104] S105, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the third verification information, and use the fourth encryption algorithm to convert the mixed information into the fourth verification information;

[0105] S106, the fourth information to be verified is randomly mixed and arranged with the second information to be verified, and the fourth information to be verified is converted into the fifth information to be verified using the fifth encryption algorithm;

[0106] S107, the fifth information to be verified is decrypted using the second decryption algorithm to obtain the restored information of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second production printing device-specific verification information. This information is then compared with the generation records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is confirmed to have succeeded.

[0107] Furthermore, a portable smart printing device and consumable anti-counterfeiting identification system, including the portable smart printing device and server.

[0108] In one embodiment, S101, S102, S104, S105, and S106 are executed by the portable smart printing device, S107 is executed by the server, and S103 is executed by either the portable smart printing device or the server.

[0109] In another embodiment, S101, S102, S103, S104, S105, and S106 are executed by the portable smart printing device, and S107 is executed by the server.

[0110] The anti-counterfeiting identification system for portable smart printing devices and consumables is the same as the anti-counterfeiting identification method for portable smart printing devices and consumables mentioned above, and will not be repeated here.

[0111] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A portable intelligent printing device and a method for anti-counterfeiting identification of consumables, characterized in that, Including the following steps: S101, Obtain consumable identification information, the consumable identification information including consumable identity information and first consumable-specific verification information, and use a first encryption algorithm to convert the consumable identification information into first verification information; S102, generate second consumable-specific verification information, randomly mix the second consumable-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified; S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the restored information of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information, and check it against the generation records of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information. If the check is inconsistent, the verification is confirmed to have failed. If the check is consistent, step S104 is started. S104, Read the printing device identification information in the printing device memory. The printing device identification information includes the printing device identity information and the first printing device-specific verification information. Use the third encryption algorithm to convert the printing device identification information into the third verification information. S105, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the third verification information, and use the fourth encryption algorithm to convert the mixed information into the fourth verification information; S106, the fourth information to be verified is randomly mixed and arranged with the second information to be verified, and the fourth information to be verified is converted into the fifth information to be verified using the fifth encryption algorithm; S107, use the second decryption algorithm to decrypt the fifth information to be verified, obtain the restored information of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information, and compare it with the generation records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is successful.

2. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, In step S107, the decryption process also obtains the restoration information of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm. The restored information obtained through decryption is then compared with the records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, the second printing device-specific verification information, the generation records of the second printing device-specific verification information, the first encryption algorithm information, the second encryption algorithm information, the third encryption algorithm information, the fourth encryption algorithm information, and the fifth encryption algorithm information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is confirmed to have succeeded.

3. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, S101, S102, S104, S105, and S106 are executed by the portable smart printing device, while S103 and S107 are executed by the server.

4. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, S101, S102, S103, S104, S105, and S106 are executed by the portable smart printing device, and S107 is executed by the server.

5. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 3 or 4, characterized in that, It also includes step S108: If the verification in S107 is successful, the server generates a startup code and sends it to the portable smart printing device. The portable smart printing device starts printing after receiving the startup code.

6. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, The first consumable-specific verification information is generated using a preset first random code generation algorithm and is burned into the consumable during the production process. The first printing device-specific verification information is generated using a preset second random code generation algorithm and is burned into the portable smart printing device during the production process.

7. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, The second consumable-specific verification information is generated by the portable smart printing device using a preset third random code generation algorithm and sent to the server for backup. The second printing device-specific verification information is generated by the portable smart printing device using a preset fourth random code generation algorithm and sent to the server for backup.

8. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, Back up the unique verification information of the first consumable and the unique verification information of the first printing device on the server.

9. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, The first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are backed up on the server. The portable smart printing device then requests the server to invoke the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm.

10. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, The first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are backed up on the portable smart printing device, and the portable smart printing device calls the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm for encryption.

11. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, The RFID chip on the consumable is used to obtain the consumable identification information, and the printing device identification information is stored in the portable smart printing device.

12. The portable intelligent printing device and consumable anti-counterfeiting identification method as described in claim 1, characterized in that, At least two of the first encryption algorithm, the second encryption algorithm, the third encryption algorithm, the fourth encryption algorithm, and the fifth encryption algorithm are the same.

13. A portable intelligent printing device and consumable anti-counterfeiting identification system, characterized in that, The system is used to implement the following steps: S101, Obtain consumable identification information, the consumable identification information includes consumable identity information and first consumable-specific verification information, and use a first encryption algorithm to convert the above identification information into first verification information; S102, generate second consumable-specific verification information, randomly mix the second consumable-specific verification information with the first information to be verified, and use the second encryption algorithm to convert the mixed information into the second information to be verified; S103, use the first decryption algorithm to decrypt the second information to be verified to obtain the restored information of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information, and check it against the generation records of the consumable identity information, the first consumable exclusive verification information, and the second consumable exclusive verification information. If the check is inconsistent, the verification is confirmed to have failed. If the check is consistent, step S104 is started. S104, Read the printing device identification information in the printing device memory. The printing device identification information includes the printing device identity information and the first printing device-specific verification information. Use the third encryption algorithm to convert the printing device identification information into the third verification information. S105, generate second printing device-specific verification information, randomly mix the second printing device-specific verification information with the third verification information, and use the fourth encryption algorithm to convert the mixed information into the fourth verification information; S106, the fourth information to be verified is randomly mixed and arranged with the second information to be verified, and the fourth information to be verified is converted into the fifth information to be verified using the fifth encryption algorithm; S107, use the second decryption algorithm to decrypt the fifth information to be verified, obtain the restored information of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information, and compare it with the generation records of the consumable identity information, the first consumable-specific verification information, the second consumable-specific verification information, the printing device identity information, the first printing device-specific verification information, and the second printing device-specific verification information. If the comparison is inconsistent, the verification is confirmed to have failed; if the comparison is consistent, the verification is successful.

14. The portable intelligent printing device and consumable anti-counterfeiting identification system as described in claim 13, characterized in that, It includes a portable smart printing device and a server. S101, S102, S104, S105, and S106 are executed by the portable smart printing device, S107 is executed by the server, and S103 is executed by either the portable smart printing device or the server.

Citation Information

Patent Citations

  • Printing consumable, ink box and control method

    CN110202940A

  • Safe printing method, chip, printing consumable and printer

    CN110481155A