CN-121981140-A - Water purifier filter element identification method, system, medium and equipment based on RFID
Abstract
The invention provides a water purifier filter element identification method, a system, a medium and equipment based on RFID, which are applied to RFID identification equipment, wherein the method comprises the following steps of obtaining an access key and a factory key of an RFID label, wherein the RFID label is arranged on the water purifier filter element; generating a composite key through irreversible mixed encryption operation based on the factory key and the custom key, performing access right verification on the RFID tag based on the access key, encrypting filter element data based on the composite key and writing the filter element data into the RFID tag after passing the access right verification, and reading the encrypted filter element data in the RFID tag and acquiring the filter element data based on the composite key. The RFID-based water purifier filter element identification method, system, medium and equipment realize the accurate identification of the water purifier filter element based on the RFID label, are beneficial to the full life cycle management of the filter element, and accurately identify the counterfeit inferior filter element for use on the original factory water purifier.
Inventors
- CHENG YANJUN
- CHEN BIN
- LIU PING
- WU SHENGGUO
- HUANG JUNQIANG
Assignees
- 上海驰亚信息技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260330
Claims (10)
- 1. An RFID-based water purifier filter element identification method is applied to RFID identification equipment and is characterized by comprising the following steps: Acquiring an access key and a factory key of an RFID tag, wherein the RFID tag is arranged on a filter element of a water purifier; Generating a synthetic key through irreversible hybrid encryption operation based on the factory key and the custom key; performing access right verification on the RFID tag based on the access key; And after passing the access right verification, encrypting the filter element data based on the composite key, writing the encrypted filter element data into the RFID tag, reading the encrypted filter element data in the RFID tag, and acquiring the filter element data based on the composite key.
- 2. The RFID-based water purifier cartridge identification method of claim 1, wherein generating a composite key based on the factory key and the custom key by an irreversible hybrid encryption operation comprises: Converting the factory key and the custom key into byte streams; performing mixed operation on the factory key and the custom key based on a hash algorithm or a preset mixed operation of encryption security to obtain an operation result of variable length output of a byte stream; And normalizing the operation result to generate the synthetic key.
- 3. The RFID-based water purifier cartridge identification method of claim 1, wherein generating a composite key based on the factory key and the custom key by an irreversible hybrid encryption operation comprises: acquiring information codes of a first number of digits composed of manufacturer codes, year codes and batch codes; Selecting a random code with a second number of digits; constructing the information code and the random code as the factory key, wherein the number of bits of the factory key is the sum of the first number of bits and the second number of bits; acquiring a custom key of a third number of digits; cross-mixing the factory key and the custom key to obtain a mixed key with a fourth number of digits; Chaotic scrambling and stream encryption are carried out on the mixed secret key with the fourth number of digits, and an encryption secret key is obtained; And after the encryption keys are grouped, dynamic coding is carried out on each group, and a synthesized key with a fifth number of digits is obtained.
- 4. The method of claim 1, wherein the RFID tag includes a direct access area and a key access area, and wherein the encrypted cartridge data is written to the key access area.
- 5. The water purifier filter element identification system based on the RFID is applied to RFID identification equipment and is characterized by comprising an acquisition module, a generation module, a verification module and an access module; the acquisition module is used for acquiring an access key and a factory key of the RFID tag, wherein the RFID tag is arranged on the filter element of the water purifier; the generating module is used for generating a synthesized key through irreversible mixed encryption operation based on the factory key and the custom key; The verification module is used for verifying the access authority of the RFID tag based on the access key; And the access module is used for encrypting the filter element data based on the synthetic key and writing the encrypted filter element data into the RFID tag after passing the access right verification, and reading the encrypted filter element data in the RFID tag and acquiring the filter element data based on the synthetic key.
- 6. An RFID identification device, comprising a processor and a memory; The memory is used for storing a computer program; The processor is configured to execute the computer program stored in the memory, to cause the RFID identification device to perform the RFID-based water purifier cartridge identification method of any one of claims 1 to 4.
- 7. A computer-readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a device, implements the RFID-based water purifier cartridge identification method of any one of claims 1 to 4.
- 8. A water purifier filter element identification system, which is characterized by comprising the RFID identification device, one or more RFID tags, an antenna and a purified water identification control terminal which are in one-to-one correspondence with the RFID tags according to claim 6; Each RFID tag is correspondingly arranged on a water purifier filter element; the RFID identification equipment accesses the RFID tag through the antenna, encrypts filter element data read from the RFID tag and sends the encrypted filter element data to the purified water identification control terminal.
- 9. The water purifier cartridge identification system of claim 8, wherein the antenna is a flexible printed circuit board, and the antenna is a closed symmetrical structure constructed in a bending manner, wherein the bending manner comprises one or more of right angle bending, oblique bending, and rounded corner bending.
- 10. The water purifier cartridge identification system of claim 8, wherein the transmission of the cartridge data read from the RFID tag to the water purifier identification control terminal after encryption comprises the steps of: acquiring N preset shared secret keys, wherein N is a natural number greater than 1; Reading the current time; Mapping the current time to a natural number in [1, N ]; selecting a shared secret key as a real-time shared secret key according to the natural number obtained by mapping; generating a dynamic key based on manufacturer information of the water purifier filter element; generating an encryption key based on the real-time shared key and the dynamic key; And encrypting the filter element data based on the encryption key, and sending the encrypted filter element data to the water purification identification control terminal.
Description
Water purifier filter element identification method, system, medium and equipment based on RFID Technical Field The invention belongs to the technical field of water purifiers, and relates to a method, a system, a medium and equipment for identifying a filter element of a water purifier based on RFID. Background In the field of drinking water purification, the water purifier is widely applied to various scenes such as families, offices, public places (railway stations, bus stops, community centers and the like) and becomes key equipment for guaranteeing drinking water safety by virtue of the filtering effect on impurities, heavy metals and harmful microorganisms in water. The filter element is used as a core consumption component of the water purifier, and the filtering performance, the authenticity quality and the use timeliness of the filter element are directly related to the purification effect and the drinking water safety of the water purifier and are closely related to the drinking water health of users. The filter element identification method in the prior art mainly comprises the following steps: (1) A physical anti-counterfeiting label and the like are arranged on the filter element, but the label is easy to imitate, so that a user cannot distinguish the authenticity and cannot stop using the label; (2) An RFID label is arranged on the filter element to record the information of the filter element, but the method has weak encryption and can copy the label; (3) The contact type chip is arranged on the filter element, but the chip is extremely easy to be influenced by a humid environment to cause identification failure, and the chip can be disassembled and reused. In addition, the existing scheme can not record full life cycle information such as filter element production date, residual life and the like, so that the user replacement time is inaccurate to judge, and manufacturers are difficult to realize tracing and market management and control. Disclosure of Invention The invention aims to provide a water purifier filter element identification method, a system, a medium and equipment based on RFID, which realize accurate identification of a water purifier filter element based on RFID tags, are beneficial to full life cycle management of the filter element and have low cost. In a first aspect, the invention provides an RFID-based water purifier filter element identification method, which is applied to RFID identification equipment, and comprises the following steps of obtaining an access key and a factory key of an RFID label, wherein the RFID label is arranged on the water purifier filter element; generating a composite key through irreversible mixed encryption operation based on the factory key and the custom key, performing access right verification on the RFID tag based on the access key, encrypting filter element data based on the composite key and writing the filter element data into the RFID tag after passing the access right verification, and reading the encrypted filter element data in the RFID tag and acquiring the filter element data based on the composite key. In an implementation manner of the first aspect, generating the composite key through an irreversible hybrid encryption operation based on the factory key and the custom key includes: Converting the factory key and the custom key into byte streams; performing mixed operation on the factory key and the custom key based on a hash algorithm or a preset mixed operation of encryption security to obtain an operation result of variable length output of a byte stream; And normalizing the operation result to generate the synthetic key. In an implementation manner of the first aspect, generating the composite key through an irreversible hybrid encryption operation based on the factory key and the custom key includes: acquiring information codes of a first number of digits composed of manufacturer codes, year codes and batch codes; Selecting a random code with a second number of digits; constructing the information code and the random code as the factory key, wherein the number of bits of the factory key is the sum of the first number of bits and the second number of bits; acquiring a custom key of a third number of digits; cross-mixing the factory key and the custom key to obtain a mixed key with a fourth number of digits; Chaotic scrambling and stream encryption are carried out on the mixed secret key with the fourth number of digits, and an encryption secret key is obtained; And after the encryption keys are grouped, dynamic coding is carried out on each group, and a synthesized key with a fifth number of digits is obtained. In one implementation of the first aspect, the RFID tag includes a direct access area and a key access area, and the encrypted cartridge data is written to the key access area. In a second aspect, the invention provides an RFID-based water purifier filter element identification system, which is applied to RFID identif