An electronic tag identification method based on RFID chips and two-dimensional codes

By combining RFID chips and QR codes in electronic tags, the security and dynamic interaction problems of traditional electronic tag identification methods are solved, enabling accurate identification and dynamic updates of information, preventing counterfeit and substandard products, and making it suitable for the apparel, logistics warehousing, and retail industries.

CN120706447BActive Publication Date: 2025-11-25SHENZHEN RONGZHI XING TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511212806.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-28
Publication Date
2025-11-25
Estimated Expiration
2045-08-28

AI Technical Summary

Technical Problem

Traditional electronic tag technology suffers from a single information storage method, lacks security and complementary mechanisms, making the identification process prone to failure, unable to effectively prevent counterfeit and substandard products, and lacking dynamic interaction mechanisms, making it difficult to trace and update product information.

Method used

An electronic tag identification method combining RFID chips and QR codes is adopted. By storing encrypted information in the RFID chip and user-readable verification information in the QR code, roll-to-roll mapping is performed to form a complementary information structure. This is combined with non-contact identification and multi-angle scanning for bidirectional decoding verification, dynamically matching information and feeding it back to the user.

Benefits of technology

It improves the accuracy and reliability of information identification, ensures information security, and can still accurately identify and trace even when some information is damaged. It supports dynamic updates and real-time monitoring to prevent counterfeit and substandard products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120706447B_ABST
    Figure CN120706447B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of electronic record carrier, and particularly relates to an electronic tag identification method based on RFID chip and two-dimensional code. The method comprises the following steps: storing batch production information and washing information of the electronic tag in the RFID chip in an encrypted form, and generating a machine-readable two-dimensional code on the surface of the electronic tag in an embroidery way through an embroidery machine, wherein the two-dimensional code contains verification information readable by a user end; performing roll-to-roll mapping association of the encrypted information in the RFID chip and the verification information in the two-dimensional code to form information complementary structure data; and performing non-contact identification on the electronic tag to read the encrypted information in the RFID chip. The present application realizes safe storage and complementary verification of information by performing roll-to-roll mapping association of the encrypted information in the RFID chip and the verification information in the two-dimensional code and realizing bidirectional decoding verification, so as to improve the accuracy and safety of information identification.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electronic record carrier, and particularly to an electronic tag identification method based on RFID chip and two-dimensional code. BACKGROUND

[0002] Traditional electronic tag technology usually only uses a single information storage method, such as relying only on RFID chips or two-dimensional codes. Although RFID chips can store a large amount of information, the information encryption and verification mechanism is relatively complex, and there is a lack of intuitive user-side verification means. Two-dimensional codes are easy to read and verify, but the amount of information stored is limited, and they are easy to copy and tamper with. This single information storage method has obvious security risks in actual application; secondly, the information of RFID chips and two-dimensional codes is usually stored and verified independently, lacking an effective information complementary mechanism. In the identification process, if the information in the RFID chip or two-dimensional code is damaged or interfered, the entire identification process may fail, resulting in inaccurate information reading; in addition, traditional electronic tag identification technology usually only performs static information reading and verification, lacking a dynamic interaction mechanism. The above defects make it difficult to effectively prevent the occurrence of counterfeit and inferior products in actual application, such as the clothing industry, logistics and retail industry, etc., and it is difficult to accurately identify and trace the goods information, and to update and feedback the changes of commodity information in a timely manner. SUMMARY

[0003] Therefore, it is necessary to provide an electronic tag identification method based on RFID chip and two-dimensional code to solve at least one of the above technical problems.

[0004] To achieve the above purpose, an electronic tag identification method based on RFID chip and two-dimensional code, the electronic tag is embedded with RFID chip and has two-dimensional code on the surface, the method comprises the following steps:

[0005] Step S1: store the batch production information and washing information of the electronic tag in the RFID chip in an encrypted form, and generate a machine-readable two-dimensional code on the surface of the electronic tag by embroidery through an embroidery machine, wherein the two-dimensional code contains user-side readable verification information;

[0006] Step S2: map and associate the encrypted information in the RFID chip with the verification information in the two-dimensional code to form information complementary structure data;

[0007] Step S3: non-contact identification of the electronic tag, reading the encrypted information in the RFID chip; obtaining user-side verification information by intermittently scanning the two-dimensional code from multiple angles; and bidirectional decoding and verification of the encrypted information in the RFID chip and the user-side verification information;

[0008] Step S4: send the decoded user terminal verification information to the server, and the server dynamically matches the information complementary structure data in the RFID chip according to the verification information, and feeds back the matching result to the user terminal, completing the dynamic interaction and matching of information.

[0009] The beneficial effects of the present application are:

[0010] By storing the batch production information and washing information of the electronic tag in the RFID chip in an encrypted form, and storing the user terminal readable verification information in the form of a two-dimensional code on the surface of the electronic tag, this dual information storage method ensures the security of the information. The encrypted information in the RFID chip is difficult to tamper with and copy, and the verification information in the two-dimensional code is convenient for users to directly read and check. In actual application, such as the clothing industry, consumers can quickly obtain verification information by scanning the two-dimensional code, and enterprises can perform detailed product information tracing and management through the encrypted information in the RFID chip.

[0011] The encrypted information in the RFID chip and the verification information in the two-dimensional code are roll-to-roll mapped and associated to form information complementary structure data, and this structure makes the two kinds of information complementary and verified each other. In the identification process, the encrypted information in the RFID chip is read through non-contact identification, and the user terminal verification information is obtained by multi-angle intermittent scanning of the two-dimensional code, and bidirectional decoding verification is performed. This dual verification mechanism greatly improves the accuracy and reliability of information identification. In logistics and warehousing application scenarios, even if part of the information in the RFID chip or the two-dimensional code is slightly damaged or disturbed, the other part of the information can still be verified as a supplement to ensure accurate identification and tracing of goods information.

[0012] The decoded user terminal verification information is sent to the server, and the server dynamically matches the information complementary structure data in the RFID chip according to the verification information, and feeds back the matching result to the user terminal, completing the dynamic interaction and matching of information. This dynamic interaction mechanism enables the system to flexibly perform data matching and updating according to different verification information. In the retail industry, when the commodity information changes, the server can update the information in the RFID chip in time, and feed back to the user terminal through dynamic matching, ensuring that the information obtained by the user is always the latest; at the same time, this dynamic interaction also facilitates real-time monitoring and management of the whole life cycle of products by enterprises. BRIEF DESCRIPTION OF DRAWINGS

[0013] Fig. 1 It is a step flowchart of an electronic tag identification method based on RFID chip and two-dimensional code;

[0014] Fig. 2 It is a flexible label diagram of RFID chip and two-dimensional code;

[0015] Fig. 3 RFID copper antenna electronic tag diagram;

[0016] The object, the function characteristics and the advantages of the present application will be further explained with reference to the embodiments, in conjunction with the drawings. DETAILED DESCRIPTION

[0017] The technical method of the present application will be described clearly and completely below in conjunction with the drawings. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all the other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.

[0018] In addition, the drawings are only schematic illustrations of the present application, and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and thus repeated description thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities, which do not necessarily have to correspond to physically or logically independent entities. The functional entities can be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different network and / or processor methods and / or microcontroller methods.

[0019] It should be understood that although the terms "first", "second" and the like can be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of the exemplary embodiments, a first element can be called a second element, and similarly a second element can be called a first element. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0020] To achieve the above object, please refer to Figs. 1 to 3 An electronic tag identification method based on an RFID chip and a two-dimensional code, the electronic tag is embedded with an RFID chip and has a two-dimensional code attached to the surface, the method comprises the following steps:

[0021] Preferably, step S1: the batch production information and the washing information of the electronic tag are stored in the RFID chip in an encrypted form, and a machine-readable two-dimensional code is generated on the surface of the electronic tag by an embroidery machine in an embroidery manner, wherein the two-dimensional code contains verification information readable by a user end;

[0022] In an embodiment, in the production process of the electronic tag, firstly, batch production information (such as production batch, production date, production location, etc.) and washing information (such as recommended washing method, washing temperature, whether bleaching, etc.) of the electronic tag are collected. After the information is processed by a professional encryption device, the information is stored in the RFID chip.

[0023] It should be noted that the encryption device can be a common RFID writer on the market, which has an encryption function and can ensure the security and non-tamperability of the information.

[0024] In another embodiment, a "two-dimensional code embroidery mode" of an industrial embroidery machine is used to embroider the data matrix on the surface of the electronic tag directly with high-contrast polyester embroidery thread (black / white or black / yellow combination) to form a two-dimensional code plate. The embroidery parameters are set as follows: stitch pitch 0.3 mm, needle angle 45°, and the positioning angle point is formed by encrypted skipping to form a solid square of 0.5 mm x 0.5 mm, so that the angle point can be quickly identified by the scanning device. After the embroidery is completed, the two-dimensional code plate is subjected to heat pressing and flattening treatment to eliminate the yarn fluff and ensure that the surface flatness is ≤0.1 mm, thereby improving the edge matching degree in subsequent multi-angle scanning.

[0025] It should be noted that the industrial embroidery machine needs to have a "variable data embroidery" function, and automatically generates an embroidery path after receiving the two-dimensional code data matrix through USB. The device also has a broken thread detection and tension compensation module built-in to ensure that the tension error of each yarn is ≤2 cN, preventing the absence of the two-dimensional code module.

[0026] For example, assuming that the production information of a batch of electronic tags is "production batch: 20240518, production location: factory A", and the washing information is "recommended hand washing, washing temperature: 30℃, not bleaching". After the information is processed by the encryption device, it is stored in the RFID chip. At the same time, the verification information readable by the user end is "product model: XYZ123, verification code: 456789", which is generated by a two-dimensional code generation device and stored on the surface of the electronic tag.

[0027] Preferably, step S2: the encrypted information in the RFID chip is mapped and associated with the verification information in the two-dimensional code in a roll-to-roll manner to form an information complementary structure data;

[0028] Optionally, before the encrypted information in the RFID chip is mapped and associated with the verification information in the two-dimensional code in a roll-to-roll manner in step S2, it includes:

[0029] extracting a plurality of feature points from the encrypted information in the RFID chip, and extracting the same number of feature points from the verification information in the two-dimensional code;

[0030] The RFID feature points are sequentially and one-to-one corresponding to the two-dimensional code feature points in the order of appearance to form a forward mapping chain.

[0031] The RFID feature points are sequentially and one-to-one corresponding to the two-dimensional code feature points in the reverse order of appearance to form a reverse mapping chain.

[0032] The feature points with the same position in the forward mapping chain and the reverse mapping chain are marked as core associated points, and the rest are auxiliary associated points.

[0033] In an embodiment, a plurality of feature points are extracted from the encryption information of the RFID chip, and the same number of feature points are extracted from the verification information of the two-dimensional code. The feature points can be key fields in the information, such as production date, product model, etc.

[0034] For example, the feature points extracted from the RFID chip are "production date: 20240518, product model: XYZ123", and the feature points extracted from the two-dimensional code are "product model: XYZ123, verification code: 456789".

[0035] In another embodiment, the RFID feature points are sequentially and one-to-one corresponding to the two-dimensional code feature points in the order of appearance to form a forward mapping chain.

[0036] For example, the forward mapping chain is:

[0037] RFID feature point 1 (production date: 20240518) corresponds to two-dimensional code feature point 1 (product model: XYZ123);

[0038] RFID feature point 2 (product model: XYZ123) corresponds to two-dimensional code feature point 2 (verification code: 456789).

[0039] In another embodiment, the RFID feature points are sequentially and one-to-one corresponding to the two-dimensional code feature points in the reverse order of appearance to form a reverse mapping chain.

[0040] For example, the reverse mapping chain is:

[0041] RFID feature point 1 (production date: 20240518) corresponds to two-dimensional code feature point 2 (verification code: 456789);

[0042] RFID feature point 2 (product model: XYZ123) corresponds to two-dimensional code feature point 1 (product model: XYZ123).

[0043] In another embodiment, the feature points with the same position in the forward mapping chain and the reverse mapping chain are marked as core association points, and the rest are auxiliary association points; for example, in the above mapping chain, the feature point with the same position is "product model: XYZ123", so it is marked as a core association point. The rest of the feature points are marked as auxiliary association points.

[0044] Optionally, the roll-to-roll mapping association in step S2 is specifically:

[0045] With the core association point as the boundary, the RFID encrypted information and the two-dimensional code verification information are divided into several independent information blocks, each information block containing a group of continuous core association points and auxiliary association points.

[0046] Calculate the coincidence degree of RFID information and two-dimensional code information in each information block, and keep the information block with a coincidence degree higher than the critical value as an effective association unit;

[0047] For information blocks with insufficient coincidence degree, adjust the information block boundary based on the auxiliary association points and recalculate. If the recalculated coincidence degree is still insufficient after three times, discard the information block.

[0048] Arrange the effective association units in the original order, record the core association point position and coincidence degree data in each unit, and form an information complementary structure framework with information block division.

[0049] In an embodiment, the encrypted information is read from the RFID chip and is divided into several key fields; for example, production date, product model, production location, etc. The verification information is read from the two-dimensional code and is divided into several key fields. For example, product model, verification code, etc.

[0050] In another embodiment, the core association point is identified, i.e. the field that exists in both the RFID information and the two-dimensional code information; for example, product model. With the core association point as the boundary, the RFID information and the two-dimensional code information are divided into several information blocks. Each information block contains a core association point and its adjacent auxiliary association points.

[0051] For example, the RFID information is "production date: 20240518, product model: XYZ123, production location: factory A", and the two-dimensional code information is "product model: XYZ123, verification code: 456789". The core association point is "product model: XYZ123", and the information block is divided into:

[0052] Information block 1: RFID information (production date: 20240518), two-dimensional code information (verification code: 456789);

[0053] Information block 2: RFID information (production location: factory A), two-dimensional code information (no corresponding information).

[0054] For each information block, the coincidence degree of the RFID information and the two-dimensional code information is calculated; the coincidence degree is measured by the field matching rate, i.e., the ratio of the number of matched fields to the total number of fields.

[0055] It should be noted that a threshold value, for example, 50%, is set. If the coincidence degree of the information block is higher than the threshold value, the information block is retained as a valid association unit; otherwise, it enters the next step of processing. For example, the coincidence degree of information block 1 is 0%, and the coincidence degree of information block 2 is 0%, both of which are lower than the threshold value, and need to be further processed.

[0056] In another embodiment, for the information block with insufficient coincidence degree, the information block boundary is adjusted based on the auxiliary association point; the auxiliary association point refers to other association fields existing in the RFID information and the two-dimensional code information. For example, for information block 1, the auxiliary association points are “production date: 20240518” and “verification code: 456789”. The “production date” in the RFID information and the “verification code” in the two-dimensional code information are recombined to form a new information block.

[0057] It should be noted that the coincidence degree of the adjusted information block is recalculated. If the coincidence degree is still lower than the threshold value, a second adjustment is performed. For example, the “production date” in the RFID information and the “product model” in the two-dimensional code information are recombined, and the coincidence degree is calculated again.

[0058] It should be noted that if the coincidence degree after the second adjustment is still lower than the threshold value, a third adjustment is performed; if the coincidence degree after the third adjustment is still lower than the threshold value, the information block is discarded. For information block 2, three boundary adjustments and coincidence degree calculations are also performed. If the coincidence degree after the third adjustment is still lower than the threshold value, information block 2 is discarded.

[0059] The valid association units retained after the above steps of screening and adjustment are arranged in the original order, and the position of the core association point and the coincidence degree data in each valid association unit are recorded.

[0060] For example, the final information complementary structure framework is as follows:

[0061] Information block 1: RFID information (production date: 20240518), two-dimensional code information (verification code: 456789), core association point position: product model, coincidence degree: 60%;

[0062] Information block 2: RFID information (production location: factory A), two-dimensional code information (no corresponding information), core association point position: product model, coincidence degree: 70%.

[0063] Optionally, the information complementary structure data formed in step S2 is specifically:

[0064] In each valid association unit, a continuous information segment containing the core association point is intercepted. When the RFID segment is fixed, the two-dimensional code segment is gradually offset by one character length, and the number of matching characters for each offset is recorded.

[0065] The offset position with the largest number of matching characters in each segment is selected as the optimal mapping point, and the optimal mapping points of all segments are marked in the information complementary structure framework to form information complementary structure data.

[0066] In an embodiment, for each valid association unit, a continuous information segment containing the core association point is intercepted. For example, assuming that the RFID information segment is "Production date: 20240518, product model: XYZ123", and the two-dimensional code information segment is "Product model: XYZ123, verification code: 456789". The core association point is "Product model: XYZ123", and the intercepted information segments are the RFID segment "Product model: XYZ123" and the two-dimensional code segment "Product model: XYZ123, verification code: 456789".

[0067] In another embodiment, the RFID segment "Product model: XYZ123" is fixed, and the two-dimensional code segment "Product model: XYZ123, verification code: 456789" is gradually offset by one character length. The specific offset process is as follows:

[0068] Offset 0 times: the two-dimensional code segment is "Product model: XYZ123, verification code: 456789";

[0069] Offset 1 time: the two-dimensional code segment is "Product model: XYZ123, verification code: 45678";

[0070] Offset 2 times: the two-dimensional code segment is "Product model: XYZ123, verification code: 4567";

[0071] Offset 3 times: the two-dimensional code segment is "Product model: XYZ123, verification code: 456";

[0072] Offset 4 times: the two-dimensional code segment is "Product model: XYZ123, verification code: 45";

[0073] Offset 5 times: the two-dimensional code segment is "Product model: XYZ123, verification code: 4".

[0074] In another embodiment, the number of matching characters between the RFID segment and the two-dimensional code segment is recorded after each offset. For example:

[0075] Offset 0 times: the number of matching characters is 13 ("Product model: XYZ123");

[0076] Offset 1 times: 12 matching characters ("Product Model: XYZ123");

[0077] Offset 2 times: 11 matching characters ("Product Model: XYZ123");

[0078] Offset 3 times: 10 matching characters ("Product Model: XYZ123");

[0079] Offset 4 times: 9 matching characters ("Product Model: XYZ123");

[0080] Offset 5 times: 8 matching characters ("Product Model: XYZ123").

[0081] The optimal mapping point in each segment is selected as the position with the largest number of matching characters. In the above example, the number of matching characters is the largest when offset 0 times, which is 13, so the optimal mapping point is offset 0 times; the optimal mapping points of all segments are marked in the information complementary structure framework to form information complementary structure data; for example, the final information complementary structure framework is as follows:

[0082] Information block 1: RFID information (production date: 20240518, product model: XYZ123), two-dimensional code information (product model: XYZ123, verification code: 456789), optimal mapping point: offset 0 times.

[0083] Preferably, step S3: non-contact identification of the electronic tag, reading of the encrypted information in the RFID chip; through multi-angle intermittent scanning of the two-dimensional code, user-side verification information is obtained; the encrypted information in the RFID chip and the user-side verification information are bidirectionally decoded and verified;

[0084] Optionally, the non-contact identification of the electronic tag in step S3 to read the encrypted information in the RFID chip includes:

[0085] An ultra-high frequency RFID reader is used to read the electronic tag three times within a preset identification distance;

[0086] The reader antenna is aligned with the center position of the electronic tag in the first reading;

[0087] The second time is offset by a preset distance above the tag;

[0088] The third time is offset by the same preset distance below the tag;

[0089] The encrypted information read three times is compared bit by bit, and when the three results are completely consistent, it is determined as valid reading and the complete encrypted information is saved.

[0090] In one embodiment, a suitable UHF RFID reader is selected to ensure that its operating frequency matches that of the RFID chip. For example, a UHF RFID reader operating at 915 MHz is used. The RFID reader is connected to a data processing device (such as a computer or a dedicated reading terminal) and communication is ensured to be normal. The electronic tag is placed within the pre-set identification area, and the surface of the electronic tag is ensured to be free of obstructions so that the signal of the RFID reader can accurately read the tag information.

[0091] It should be noted that, according to the actual application scenario and test results, the pre-set identification distance is set to 1 meter. This is the maximum effective reading distance between the RFID reader and the electronic tag. The offset pre-set distance is set to 5 centimeters. This distance is determined according to actual tests and can ensure the stability and consistency of the signal when reading at different positions.

[0092] In another embodiment, the antenna of the RFID reader is aligned with the center position of the electronic tag. The distance between the antenna and the electronic tag is ensured to be 1 meter; the RFID reader is started and the first reading operation is performed. The encrypted information read is recorded, including all fields and data; for example, the encrypted information read for the first time is: "production date: 20240518, product model: XYZ123, production location: Factory A".

[0093] In another embodiment, while keeping the reader antenna parallel to the surface of the electronic tag, the antenna is offset upwards by 5 centimeters. The distance between the antenna and the electronic tag is still ensured to be 1 meter. The RFID reader is started and the second reading operation is performed. The encrypted information read is recorded; for example, the encrypted information read for the second time is: "production date: 20240518, product model: XYZ123, production location: Factory A".

[0094] In another embodiment, while keeping the reader antenna parallel to the surface of the electronic tag, the antenna is offset downwards by 5 centimeters. The distance between the antenna and the electronic tag is still ensured to be 1 meter. The RFID reader is started and the third reading operation is performed. The encrypted information read is recorded. For example, the encrypted information read for the third time is: "production date: 20240518, product model: XYZ123, production location: Factory A".

[0095] In another embodiment, the encrypted information read three times is compared bit by bit, which means that each character or each data bit in the encrypted information read each time is compared one by one.

[0096] The specific comparison method is as follows:

[0097] The encrypted information read for the first time is compared bit by bit with the encrypted information read for the second time, and the position and content of the inconsistency are recorded.

[0098] The encrypted information read the first time is compared bit by bit with the encrypted information read the third time, and the inconsistent positions and contents are recorded.

[0099] The encrypted information read the second time is compared bit by bit with the encrypted information read the third time, and the inconsistent positions and contents are recorded.

[0100] If the results of the three readings are completely consistent, it is determined to be a valid reading, and the complete encrypted information is saved.

[0101] If the results of the three readings are not completely consistent, the inconsistent positions and contents are recorded, and the reading operation is re-performed until a result consistent for three times is obtained.

[0102] It should be noted that once it is confirmed that the results of the three readings are completely consistent, the complete encrypted information is saved to the data processing device for subsequent processing and analysis. For inconsistent reading results, specific problems can be recorded and troubleshooting can be performed to ensure the accuracy and reliability of the reading process.

[0103] Optionally, the two-dimensional code is a two-dimensional code card formed by an embroidery machine, and the surface yarn reflection characteristics are suppressed by multi-angle scanning. In step S3, the two-dimensional code is intermittently scanned by multi-angle scanning, including:

[0104] The device lens is kept parallel to the two-dimensional code plane, and the first collection is completed by staying for a preset basic time;

[0105] The device lens is rotated clockwise around the center of the two-dimensional code by 10-20 degrees, and the second collection is completed by staying for the same time;

[0106] The lens is rotated counterclockwise by 20-40 degrees to the other side of the initial position by 10-20 degrees, and the third collection is completed by staying for the same time. After the three collections, the user verification information segment is spliced.

[0107] In an embodiment, a scanning device with a high-resolution camera (such as a dedicated two-dimensional code scanner or a mobile device with corresponding functions) is used; the device lens is kept parallel to the two-dimensional code plane, ensuring that the lens center is aligned with the center position of the two-dimensional code; the preset basic time is set to 2 seconds, which is the time the lens stays during each collection, to ensure that a clear image is collected.

[0108] In another embodiment, the scanning device is started, the lens stays at the initial position for a preset basic time (2 seconds), and the first collection is completed; after the collection is completed, the device automatically saves the image data collected the first time; the image collected the first time is subjected to preliminary quality inspection to ensure that the image is clear and the two-dimensional code area is not blocked; if the image quality is poor, the device position is adjusted and the collection is re-performed.

[0109] In another embodiment, the device lens rotates 15 degrees clockwise around the center of the QR code (select a specific value within the range of 10-20 degrees, ensuring the accuracy of the rotation angle); the lens stays in the new position for the same length of time (2 seconds), completing the second acquisition; after the acquisition is complete, the device automatically saves the image data of the second acquisition; the image of the second acquisition is checked for quality, with particular attention to the upper right corner area of the QR code, ensuring that the image of this area is clear and free of distortion. If the image quality of this area is poor, adjust the rotation angle of the device and re-acquire.

[0110] In another embodiment, the device lens rotates 30 degrees counterclockwise from the position of the second acquisition (select a specific value within the range of 20-40 degrees, ensuring the accuracy of the rotation angle), reaching a position 15 degrees from the other side of the initial position; the lens stays in the new position for the same length of time (2 seconds), completing the third acquisition; after the acquisition is complete, the device automatically saves the image data of the third acquisition; the image of the third acquisition is checked for quality, with particular attention to the lower left corner area of the QR code, ensuring that the image of this area is clear and free of distortion; if the image quality of this area is poor, adjust the rotation angle of the device and re-acquire.

[0111] Optionally, the verification information operation is performed using a display device, and the user-side verification information obtained in step S3 is specifically:

[0112] The display device generates a temporary verification pattern containing a random line combination based on the user verification information segment and displays it full screen.

[0113] Place the screen of the display device close to the surface of the electronic tag, so that the temporary verification pattern and the QR code physically overlap and the edges are completely aligned, and after maintaining for 2-4 seconds, perform a second scan to acquire the composite pattern;

[0114] Identify the random line combination in the temporary verification pattern and match it with the preset line features in the user verification information segment, and after the match is passed, separate the temporary pattern area from the composite pattern;

[0115] Extract the original QR code information in the temporary pattern area as the user-side verification information.

[0116] In an embodiment, the display device generates a temporary verification pattern containing a random line combination based on the user verification information segment. The random line combination can include lines of different directions, different lengths, and different colors, ensuring that each generated pattern is unique. For example, the randomly generated line combination may include a horizontal line, a vertical line, and a diagonal line, and the color and position of each line are randomly generated; the generated temporary verification pattern is displayed full screen on the device screen, ensuring that the pattern is clear and visible.

[0117] In another embodiment, the screen of the display device is attached to the surface of the electronic tag, so that the temporary verification pattern is physically overlapped with the two-dimensional code and the edges are completely aligned. The edges of the temporary verification pattern are completely aligned with the edges of the two-dimensional code to ensure that the subsequent scanning collection can be accurately performed. For example, alignment marks such as positioning patterns of the two-dimensional code are used to assist alignment, and it is ensured that the edges of the temporary verification pattern are completely overlapped with the edges of the two-dimensional code. The device screen is kept close to the surface of the electronic tag for 2-4 seconds to ensure that the physical overlap between the temporary verification pattern and the two-dimensional code is stable and has no displacement. In the state that the temporary verification pattern is physically overlapped with the two-dimensional code, the scanning function of the device is started to perform secondary scanning collection of the composite pattern. After the collection is completed, the device automatically saves the composite pattern image data collected by the secondary scanning; in the composite pattern image collected by the secondary scanning, the image information of the temporary verification pattern and the two-dimensional code will be fused together. The composite pattern image collected by the secondary scanning is processed to identify the random line combination in the temporary verification pattern; the identified random line combination is matched with the preset line features in the user verification information segment. The preset line features include information such as the direction, length and color of the line.

[0118] It should be noted that if the preset line features are a horizontal line (100 pixels in length, red in color), a vertical line (50 pixels in length, blue in color) and a diagonal line (70 pixels in length, green in color), the line features are identified and matched. If the matching is passed, it indicates that the temporary verification pattern in the composite pattern is consistent with the preset line features, and the next operation can be performed; if the matching fails, the temporary verification pattern is regenerated and the above steps are repeated. The original two-dimensional code information is extracted from the peeled temporary pattern area, and the image after peeling is decoded to extract the user-side verification information.

[0119] Optionally, the multi-angle intermittent scanning in step S3 is specifically as follows:

[0120] The device lens is directed at the center of the two-dimensional code to complete the first scanning, and is stopped for 1-2 seconds;

[0121] The lens is tilted upward by 10-20 degrees for scanning, and the stop time is increased by 0.2-0.3 seconds compared with the previous time;

[0122] The lens is tilted downward by the same angle for scanning, and the stop time is continuously increased by the same amplitude;

[0123] The lens is tilted leftward by the same angle for scanning, and the stop time is increased by the same amplitude;

[0124] The lens is tilted rightward by the same angle for scanning to form a five-angle stepwise scanning sequence;

[0125] During each stop, the edges of the two-dimensional code image scanned last time are compared with the preset standard two-dimensional code contour to calculate the edge fit degree;

[0126] When the ambient light is insufficient during the scanning process, the light supplement lamp is started to pulse light supplement with the period of 0.1-0.3 seconds of light-on and 0.2-0.4 seconds of light-off, and the light supplement brightness is increased by 5%-15% every time according to the scanning times;

[0127] When the edge coincidence degree of the two consecutive scans exceeds 85%-95% and the position deviation of the four corner points of the two-dimensional code is within the preset small range, the angle transformation is stopped, the current angle is kept, the decoding results after two consecutive scans are combined, and the user end verification information is obtained.

[0128] In an embodiment, the scanning device is started, the lens is directed to the center of the two-dimensional code to complete the first scan, the device is stopped for 1 second to ensure that the image is stable and is correctly collected by the device, and after the collection is completed, the device automatically saves the image data of the first scan.

[0129] In another embodiment, the device is adjusted so that the lens is tilted upward by 15 degrees (a specific value is selected within the range of 10-20 degrees to ensure the accuracy of the tilt angle), the stopping time is increased by 0.2 seconds compared to the previous time, i.e., 1.2 seconds, the scanning device is started to complete the second scan, and after the collection is completed, the device automatically saves the image data of the second scan.

[0130] In another embodiment, the device is adjusted so that the lens is tilted downward by 15 degrees (the same as the upward tilt angle), the stopping time is continuously increased by the same amplitude, i.e., 1.4 seconds, the scanning device is started to complete the third scan, and after the collection is completed, the device automatically saves the image data of the third scan.

[0131] In another embodiment, the device is adjusted so that the lens is tilted leftward by 15 degrees (the same as the upward tilt angle), the stopping time is continuously increased by the same amplitude, i.e., 1.6 seconds, the scanning device is started to complete the fourth scan, and after the collection is completed, the device automatically saves the image data of the fourth scan.

[0132] In another embodiment, the device is adjusted so that the lens is tilted rightward by 15 degrees (the same as the upward tilt angle) to form a five-angle stepwise scanning sequence, the stopping time is continuously increased by the same amplitude, i.e., 1.8 seconds, the scanning device is started to complete the fifth scan, and after the collection is completed, the device automatically saves the image data of the fifth scan.

[0133] It should be noted that during each stopping period, the edge of the two-dimensional code image of the previous scan is compared with the preset standard two-dimensional code contour, the image comparison function of the device is used to calculate the edge coincidence degree. For example, the device can provide an edge coincidence percentage value; if the edge coincidence degree is lower than the preset threshold value (such as 85%), the device position is adjusted and the scanning is re-performed.

[0134] It should be noted that during the scanning process, the device detects the ambient light intensity in real time, and if it detects that the ambient light is insufficient, the light supplement lamp is started to pulse light. The light supplement lamp pulses light according to the cycle of 0.2 seconds on and 0.3 seconds off. The light supplement brightness is gradually increased by 10% for each scan to ensure the clarity of the two-dimensional code image at each scan.

[0135] It should be noted that when the edge coincidence of two consecutive scans exceeds 90% (a specific value is selected within the range of 85%-95%), and the position deviation of the four corners of the two-dimensional code is within a preset small range (such as ±2 pixels), the angle transformation is stopped; the current angle is continuously scanned twice to ensure the stability and consistency of the image; the decoding results of the two scans are merged to obtain the user-side verification information.

[0136] Optionally, the bidirectional decoding verification of the encrypted information in the RFID chip and the user-side verification information in step S3 includes:

[0137] The encrypted information and the user-side verification information are decrypted in layers, the outer encrypted data is first parsed to obtain a temporary key, and then the inner core data is decrypted using the temporary key;

[0138] The production information feature code in the core data is extracted, a reverse verification request is generated according to a preset algorithm, and sent to the RFID chip; the feature code response value returned by the chip is compared with the local user-side verification information, and if they are consistent, the bidirectional verification is completed.

[0139] In an embodiment, a device with RFID reading function and data processing capability (such as a dedicated RFID reading terminal or a mobile device with corresponding functions) is used; it is ensured that the device has been correctly connected to the RFID chip and can read its encrypted information; it is ensured that the device has correctly read the user-side verification information, such as verification information obtained through two-dimensional code scanning or other means.

[0140] It should be noted that the data processing module of the device is started, and the encrypted information in the RFID chip is decrypted in layers. The built-in decryption module of the device is used to parse the outer encrypted data and obtain a temporary key; for example, the device inputs the encrypted information through a specific decryption program and outputs the temporary key. The temporary key just obtained is used to decrypt the inner core data; for example, the device inputs the temporary key into the decryption module to decrypt the inner core data and obtain the core data content.

[0141] In another embodiment, the production information feature code is extracted from the decrypted core data. The core data contains "production date: 20240518, product model: XYZ123", and "product model: XYZ123" is extracted as the production information feature code. The data processing module of the device is used to generate a reverse verification request according to a preset rule.

[0142] It should be noted that the preset rule is to generate a reverse verification request according to the extracted production information characteristic code in a preset format and content. For example, the preset rule is to convert the production information characteristic code "product model: XYZ123" into a request data packet in a specific format, such as "REQ: XYZ123". The device stores the generated request data packet "REQ: XYZ123" in the memory of the device, and is ready to send.

[0143] In another embodiment, the generated reverse verification request is sent to the RFID chip through the communication module of the device. The device sends the reverse verification request to the RFID chip through the wireless communication module, and waits for the RFID chip to return a characteristic code response value. The device receives the characteristic code response value returned by the RFID chip, for example, the device receives the response value returned by the RFID chip, such as "product model: XYZ123, response code: 123456", through the communication module. The received characteristic code response value is compared with the local user terminal verification information, for example, the device compares the received "product model: XYZ123" with "product model: XYZ123" in the local stored user terminal verification information. If they are consistent, the device displays a verification success information, and completes the two-way verification, and the device screen displays "verification success"; if they are inconsistent, the device displays a verification failure information, and prompts the user to re-operate, and the device screen displays "verification failed, please try again".

[0144] Optionally, the two-way decoding verification of the encrypted information in the RFID chip and the user terminal verification information in step S3 further includes:

[0145] During the decryption process, if the first decryption fails, the reader signal receiving sensitivity is adjusted after a preset interval of staying time to try decryption again;

[0146] If the decryption is successful, the washing parameter identifier in the encrypted information is extracted, and a random verification sequence is generated and sent to the RFID chip;

[0147] The chip receives and converts the sequence according to the preset built-in rule and returns, and compares the returned result with the local user terminal verification information, and matches to determine that the verification is passed.

[0148] In an embodiment, if the first decryption fails, the device records the information of the decryption failure, and after an interval of a preset dwell time (for example, 3 seconds), adjusts the reading signal receiving sensitivity; the adjustment of the sensitivity can be performed through the setting menu of the device, for example, increasing the sensitivity from the default value to a high sensitivity mode; the decryption module is started again to attempt to decrypt the encrypted information in the RFID chip. If the decryption is successful, the washing parameter identifier in the encrypted information is extracted from the decrypted core data; for example, the core data contains "washing parameter identifier: W12345", and the identifier is extracted as the basic information for subsequent verification.

[0149] In another embodiment, a random verification sequence is generated by using the data processing module of the device; for example, the device generates a random sequence "RND: 67890", which is used to verify the response capability of the RFID chip, and the generated random verification sequence is sent to the RFID chip.

[0150] In another embodiment, after the RFID chip receives the random verification sequence, the sequence is converted according to the preset built-in rule. It should be noted that the built-in rule can be to add 1 to each digit in the sequence, converting "RND: 67890" to "RND: 78901", and the RFID chip returns the converted sequence to the device.

[0151] In another embodiment, the device receives the converted sequence returned by the RFID chip and compares it with the local user terminal verification information; for example, the device compares the returned "RND: 78901" with the corresponding sequence in the locally stored user terminal verification information; if the returned result matches the local user terminal verification information, it is determined that the verification is passed; if it does not match, it is determined that the verification fails.

[0152] Preferably, step S4: sending the decoded user terminal verification information to the server, and the server dynamically matches the information complementary structure data in the RFID chip according to the verification information, and feeds back the matching result to the user terminal, completing the dynamic interaction and matching of information.

[0153] Especially important is that in step S4, the decoded user terminal verification information is sent to the server, and the server dynamically matches the information complementary structure data in the RFID chip according to the verification information, and feeds back the matching result to the user terminal, completing the dynamic interaction and matching of information.

[0154] The user terminal sends the decoded verification information to the server after attaching the current operation timestamp;

[0155] After the server receives the information, it first checks whether the timestamp is within the preset valid period, and if it exceeds the period, it returns a resend request to the user terminal;

[0156] After the verification, the server splits the verification information into production verification section and washing verification section according to the information type, and splits the information complementary structure data in the RFID chip into corresponding production association section and washing association section;

[0157] The server compares the production verification section and the production association section character by character, and compares the washing verification section and the washing association section character by character, and records the number of matching characters in the two sections respectively.

[0158] The number of matching characters in the two sections and the total matching ratio are integrated into the matching result and fed back to the user end.

[0159] Especially important is that the matching result is fed back to the user end in step S4, and the dynamic interaction and matching of information are completed, which specifically comprises:

[0160] The user end sends the decoded verification information to the server after adding the current operation timestamp, and automatically re-sends if no response is received from the server within 3 seconds, with the re-sending frequency not exceeding 3 times.

[0161] After receiving the information, the server checks whether the timestamp is within the preset valid period. If it exceeds the period, it returns a resend request. If it passes, the verification information and the information complementary structure data are divided into 3-5 data blocks.

[0162] For each data block, the server first compares the characteristic characters at the beginning of the block. If the characteristic characters are consistent, it continues to compare other characters in the block. If they are not consistent, it is marked as a block to be adjusted.

[0163] For the block to be adjusted, the server shifts the verification information block by 1-2 character positions and re-compare, and records the number of characters matched after adjustment.

[0164] Integrate the matching results of all data blocks, the adjustment records of the blocks to be adjusted, and the total matching ratio to generate a result containing detailed matching positions and feed back to the user end to complete the dynamic interaction.

[0165] In one embodiment, after the user end decodes the verification information, it adds the current operation timestamp and sends it to the server. If no response is received from the server within 3 seconds, it automatically re-sends, with the re-sending frequency not exceeding 3 times. This mechanism ensures the reliability and timeliness of information transmission, avoiding interaction failure due to network delay or packet loss.

[0166] In another embodiment, after receiving the information, the server first checks whether the timestamp is within the preset valid period. If it exceeds the valid period, it returns a resend request. The verification information and the information complementary structure data are divided into 3-5 data blocks. For each data block, the server first compares the characteristic characters at the beginning of the block.

[0167] It should be noted that if the feature characters are consistent, then the comparison of other characters in the block is continued; if not, the block is marked as a block to be adjusted; for the block to be adjusted, the server will re-compare after shifting the information block as a whole by 1-2 character positions backward, and record the number of matched characters after adjustment; the matching results of all data blocks, the adjustment records of the blocks to be adjusted, and the total matching proportion are integrated to generate a result containing detailed matching positions, which is fed back to the user end.

[0168] Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting, the scope of the application being defined by the appended claims and not by the above description, therefore all variations falling within the meaning and scope of the equivalent elements of the application file are intended to be included in the application.

[0169] The above description is merely one specific implementation of the application, which enables those skilled in the art to understand or implement the application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the application will not be limited to these embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for identifying electronic tags based on RFID chips and QR codes, characterized in that, The electronic tag has an embedded RFID chip and a QR code affixed to its surface. The method includes the following steps: Step S1: Store the batch production information and washing information of the electronic tag in an encrypted form in the RFID chip, and generate a machine-readable QR code on the surface of the electronic tag by embroidery using an embroidery machine. The QR code contains verification information that can be read by the user. Step S2: Perform roll-to-roll mapping association between the encrypted information in the RFID chip and the verification information in the QR code to form complementary information structure data; wherein, before performing roll-to-roll mapping association between the encrypted information in the RFID chip and the verification information in the QR code in step S2, the following is included: Extract several feature points from the encrypted information of the RFID chip, and extract the same number of feature points from the verification information of the QR code. The RFID feature points are matched one-to-one with the QR code feature points in the order of their appearance, forming a positive mapping chain. Then, the RFID feature points are matched one-to-one with the QR code feature points in reverse order of appearance, forming a reverse mapping chain; Feature points that overlap in the forward and reverse mapping chains are marked as core associated points, and the rest are auxiliary associated points. Specifically, the volume-to-volume mapping association in step S2 is as follows: Using the core association points as the boundary, the RFID encrypted information and QR code verification information are divided into several independent information blocks, and each information block contains a set of continuous core association points and auxiliary association points; Calculate the overlap between RFID information and QR code information in each information block, and retain information blocks with an overlap higher than the threshold as valid association units; For information blocks with insufficient overlap, the information block boundary is adjusted based on auxiliary association points and recalculated. If the overlap is still insufficient after three recalculations, the information block is discarded. Arrange the effective related units in the original order, record the location and overlap data of the core related points in each unit, and form an information complementary structure framework with information block division. Step S3: Perform contactless identification on the electronic tag and read the encrypted information in the RFID chip; obtain user verification information by intermittently scanning the QR code from multiple angles; and perform bidirectional decoding and verification of the encrypted information in the RFID chip and the user verification information. Step S4: Send the decoded user terminal verification information to the server. The server dynamically matches the complementary information structure data in the RFID chip according to the verification information and feeds back the matching result to the user terminal, thus completing the dynamic interaction and matching of information.

2. The electronic tag identification method based on RFID chip and QR code according to claim 1, characterized in that, The specific steps in step S2 to form complementary information structure data are as follows: Within each valid associated unit, a continuous information segment containing the core associated point is extracted. When the RFID segment is fixed, the QR code segment is gradually shifted by one character length, and the number of matching characters at each shift is recorded. The offset position with the most matches in each segment is selected as the optimal mapping point. The optimal mapping points of all segments are marked on the information complementarity structure framework to form information complementarity structure data.

3. The electronic tag identification method based on RFID chip and QR code according to claim 1, characterized in that, Step S3 involves contactless identification of the electronic tag and reading the encrypted information from the RFID chip, including: An ultra-high frequency RFID reader is used to read the electronic tag three times within a preset identification distance; During the first read, the reader antenna should be aligned with the center of the electronic tag; The label is shifted upwards a preset distance a second time. The third offset is the same preset distance below the label; The encrypted information read three times is compared bit by bit. If the three results are completely consistent, it is determined that the encrypted information has been read effectively and the complete encrypted information is saved.

4. The electronic tag identification method based on RFID chip and QR code according to claim 1, characterized in that, The QR code is an embroidered QR code tag, and the reflective properties of its surface yarn are suppressed by multi-angle scanning. Step S3 involves intermittently scanning the QR code from multiple angles, including: Keep the device lens parallel to the plane of the QR code and scan for a preset basic time to complete the first data collection. The device's lens rotates 10-20 degrees clockwise around the center of the QR code, pausing for the same duration to complete the second data collection. The camera is rotated 20-40 degrees counterclockwise to the other side of the initial position by 10-20 degrees, and the same duration is used to complete the third acquisition. The three acquisitions are then stitched together to form a user verification information fragment.

5. The electronic tag identification method based on RFID chip and QR code according to claim 4, characterized in that, The verification information operation is performed using a display device. Specifically, obtaining the user-side verification information in step S3 involves: The display device generates a temporary verification graphic containing random line combinations based on fragments of user verification information and displays it in full screen; The screen of the display device is placed close to the surface of the electronic tag, so that the temporary verification graphic and the QR code are physically overlapped and the edges are completely aligned. After holding for 2-4 seconds, a second scan is performed to collect the composite graphic. Identify random line combinations in the temporary verification graphic and match them with preset line features in the user verification information fragment. Once the match is successful, the temporary graphic area is extracted from the composite graphic. Extract the original QR code information from the temporary graphic area as user verification information.

6. The electronic tag identification method based on RFID chip and QR code according to claim 1, characterized in that, The multi-angle intermittent scanning in step S3 specifically involves: The device's camera is positioned directly in front of the center of the QR code to complete the initial scan, pausing for 1-2 seconds; The camera tilts upwards by 10-20 degrees for scanning, with the pause time increasing by 0.2-0.3 seconds compared to the previous scan. The camera tilts downwards at the same angle to scan, and the pause time continues to increase by the same amount. The camera tilts to the left at the same angle for scanning, and the pause time increases by the same amount each time. The camera tilts to the right at the same angle to scan, forming a five-angle stepped scanning sequence; During each pause, the edges of the previously scanned QR code image are compared with the preset standard QR code outline, and the edge matching degree is calculated. When insufficient ambient light is detected during scanning, the supplementary light is activated to provide pulsed supplementary light in a cycle of 0.1-0.3 seconds on and 0.2-0.4 seconds off. The supplementary light brightness is gradually increased by 5%-15% with each scan. When the edge matching degree of two consecutive scans exceeds 85%-95%, and the positional deviation of the four corner points of the QR code is within a preset small range, stop the angle change, maintain the current angle and scan twice consecutively, then merge the decoding results to obtain the user terminal verification information.

7. The electronic tag identification method based on RFID chip and QR code according to claim 1, characterized in that, Step S3 involves bidirectional decoding and verification of the encrypted information in the RFID chip and the user terminal verification information, including: The encrypted information and the user terminal verification information are decrypted in layers. First, the outer layer of encrypted data is parsed to obtain a temporary key, and then the temporary key is used to decrypt the inner core data. Extract the production information feature code from the core data, generate a reverse verification request according to a preset algorithm and send it to the RFID chip; receive the feature code response value returned by the chip, compare it with the local user terminal verification information, and if the two match, the two-way verification is completed.

8. The electronic tag identification method based on RFID chip and QR code according to claim 7, characterized in that, Step S3, which involves bidirectional decoding and verification of the encrypted information in the RFID chip and the user terminal verification information, also includes: If the first decryption fails during the decryption process, the reader signal receiving sensitivity will be adjusted after a preset pause time to attempt decryption again. If decryption is successful, the washing parameter identifier in the encrypted information is extracted, and a random verification sequence is generated and sent to the RFID chip. After receiving the data, the chip converts the sequence according to the preset built-in rules and returns the result. The returned result is then compared with the verification information on the local user terminal. If they match, the verification is considered successful.

Citation Information

Patent Citations

  • Anti-counterfeiting method based on radio frequency identification tag and two dimension code tag

    CN104217342A