RFID tag coding method

By embedding RFID tags in clothing tags and using cloud boxes to encode and compress data, the problem that traditional RFID tags cannot store pictures or complex data is solved, and the secure storage and efficient decoding of data is realized, which improves the intelligence and automation level of clothing management.

CN119578443AInactive Publication Date: 2025-03-07ZHIZHANGTONG TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411616083.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-03-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional RFID tags cannot directly store pictures or complex data information, which limits their application in scenarios such as product display and brand promotion. In addition, existing code scanning devices are difficult to effectively identify and process complex data information, resulting in limited development of RFID technology in more innovative application scenarios.

Method used

Design an RFID tag writing method. By embedding RFID tags in clothing tags, basic information is written to the chip, and using cloud boxes to encode and compress pictures or complex data. Through the two-way authentication method of RFID tags and cloud boxes, data is ensured to be safely written to the tag. The user reads and transmits it to the cloud box through the scanning device for decoding and displays it to the user.

Benefits of technology

It realizes the encoding, storage and decoding of picture and text data, greatly improving the intelligence and automation level of clothing management, facilitates product tracking and inventory management, and solves the problem of insufficient storage capacity of traditional RFID tags.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119578443A_ABST
    Figure CN119578443A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of RFID tag coding, in particular to an RFID tag coding method. Firstly, an RFID tag is embedded in a clothing tag, then when pictures or complex data need to be stored, a cloud box encodes the data, compresses the pictures and converts the pictures into a format suitable for the storage of the RFID tag, then based on a bidirectional authentication method of the RFID tag and the cloud box, to-be-written tag data is written into the RFID tag, then the RFID tag is scanned through a code scanning device, and the data are sent to the cloud box. And on the basis of a readability authentication method between the code scanning equipment and the RFID tag, it is confirmed that the code scanning equipment has a data reading permission, tag data in the code scanning equipment is obtained, the data is transmitted to the cloud box to be decoded, and the cloud box restores coded information into picture or text information. According to the invention, coding, storage and decoding of picture and text data are realized, the intelligent and automatic level of clothing management is greatly improved, and commodity tracking and inventory management are facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of RFID tag coding, and in particular to a RFID tag coding method. Background Art

[0002] With the development and popularization of Internet of Things technology, RFID tags are being used more and more widely in all walks of life, especially in the apparel industry. RFID technology is used in multiple links such as supply chain management, inventory tracking, and product identification. However, traditional RFID tags have limitations in data storage and cannot directly store images or complex data information, which limits the application of RFID tags in scenarios such as product display and brand promotion.

[0003] A Chinese invention patent with publication number CN112488250A discloses an RFID tag writing method, which captures an image of an information carrier on a face sheet, obtains an image, identifies the image, obtains data information, and then scans and reads the detection area. When the received RFID tag response signal is one, the RFID tag writing step is entered to store the identified data information in the tag storage unit of the RFID tag.

[0004] However, current RFID tags have many limitations in data storage, especially in the apparel industry. Traditional RFID tags can only store simple text or digital information, and cannot directly store images or complex data, which limits their application in scenarios such as product display and brand promotion. In addition, existing barcode scanning equipment is difficult to effectively identify and process complex data information, which limits the development of RFID technology in more innovative application scenarios. Furthermore, the authentication method between RFID and read-write devices is relatively simple, and there is a problem of difficulty in mutual authentication. These problems have restricted the potential of RFID technology in modern intelligent management. Summary of the invention

[0005] The purpose of the present invention is to solve the problems existing in the background technology and propose a method for writing codes on RFID tags. The technical solution of the present invention is: a method for writing codes on RFID tags, comprising the following specific implementation steps:

[0006] S1. Embed an RFID (Radio Frequency Identification) tag in each clothing tag, write the basic information of the clothing into the RFID tag through the initialization device, set a unique RFID tag identifier for each RFID tag, and store the set RFID tag identifier in the back-end database and the RFID tag;

[0007] S2. Collect the image or text data to be stored, merge the encoded image data and the encoded text data to obtain the tag data to be written, and convert it into a binary string. Then, divide the binary string into several unit strings, and construct several standardized tag data writing groups according to the preset encoding format. Then, based on the RFID tag and the cloud box two-way authentication method, send the standardized tag data writing group to the RFID tag;

[0008] S3. When the code scanning device is aimed at the RFID tag, based on the readability authentication method between the code scanning device and the RFID tag, a two-way authentication is performed between the RFID tag and the code scanning device. Then, the RFID tag sends each standardized tag data write group stored inside the RFID tag to the code scanning device. The code scanning device receives each standardized tag data write group returned by the RFID, and then transmits each standardized tag data write group to the cloud box.

[0009] S4. After receiving each standardized tag data writing group from the code scanning device, the cloud box immediately performs decoding processing, extracts each unit string according to the preset encoding format, then splices each unit string, restores it to the tag data, and sends it to the display terminal;

[0010] S5. The display terminal displays the received tag data on the display screen.

[0011] Preferably, the implementation process of the RFID tag and cloud box two-way authentication method is as follows:

[0012] S21, the cloud box sends a communication request to the RFID tag and sends a random number α;

[0013] S22. When the RFID tag receives a communication request from the cloud box, it randomly generates an integer β and calculates the communication verification parameter P Ic =ID j ⊕f s (0, α, β), and {β, P Ic}Send to cloud box;

[0014] Among them, f s () is a pseudo-random function, ⊕ represents an XOR operation, ID j Indicates the ID of the RFID tag, 0≤i≤m, m is the total number of RFID tags set;

[0015] S23, the cloud box performs calculations on the identification ID of each RFID tag in the backend database in a traversal manner to determine whether a certain ID exists i (0≤i≤m), so that ID i =P Ic ⊕fs (0, α, β) is equal. If the equalization is true, it is determined that the RFID tag is writable, that is, the RFID tag is the RFID tag of the clothing pre-set by the merchant, and then the following S24 is executed;

[0016] S24, cloud box calculates authentication parameter γ = ID i ⊕f s (1, α, β), and send the authentication parameter γ to the RFID tag;

[0017] S25, RFID tag judgment ID i =γ⊕f s (1, α, β) is equal. If so, the RFID tag determines that the cloud box has data writing permission, that is, the cloud box is allowed to write the tag data to the RFID tag.

[0018] Preferably, the implementation steps of the readability authentication method between the code scanning device and the RFID tag are as follows:

[0019] S31, the code scanning device first generates a random number θ, sends the random number θ to the RFID tag, and sends a tag data reading request;

[0020] S32, the RFID tag generates a random number δ, and calculates the authentication information IC=H(ID j ||θ||δ), and send {IC, δ} to the scanning device;

[0021] Among them, H() is a hash function, || represents the binary string concatenation symbol, and ID j Indicates the ID of the RFID tag, 0≤i≤m, m is the total number of RFID tags set;

[0022] S33, the code scanning device performs calculations on the identification ID of each RFID tag in the backend database in a traversal manner to determine whether a certain ID i (0≤i≤m), so that H(ID i ||θ||δ)=H(ID j ||θ||δ) is established. If the equation is established, the RFID tag is considered readable. Then H(ID i ||δ) sent to RFID tag;

[0023] S34, RFID tag direct judgment equation H(ID i ||δ)=H(ID j ||δ) is established. If the equation is true, the code scanning device is deemed to have data reading authority and is allowed to read the tag data in the RFID tag.

[0024] Preferably, the code scanning device is a code scanning gun, a smart phone or a handheld PDA device.

[0025] Preferably, the preset encoding format is: file header information+unit character string+check code.

[0026] Preferably, the character string length of the unit character string is 32 bits.

[0027] Compared with the prior art, the above technical solution of the present invention has the following beneficial technical effects:

[0028] The present invention designs an RFID tag writing method, which first embeds an RFID tag in a clothing tag, and writes basic information of the clothing into a chip through an initialization device to ensure that each piece of clothing has a unique identification code. Then, when it is necessary to store pictures or complex data, a cloud box will encode these data, compress the pictures and convert them into a format suitable for RFID tag storage, and then the encoded data is transmitted to the RFID tag in the clothing tag by wireless means, and based on a two-way authentication method between the RFID tag and the cloud box, it is ensured that the data is securely and accurately written into the tag. Subsequently, the user scans the RFID tag through a code scanning device, and based on a readability authentication method between the code scanning device and the RFID tag, it is confirmed that the code scanning device has data reading authority, obtains the encoded data therein, and transmits the data to the cloud box for decoding. The cloud box quickly restores the encoded information to pictures or other complex information, and presents it to the user through a display device to help the user understand the product details. The present invention realizes the encoding, storage and decoding of pictures and text data, greatly improves the intelligence and automation level of clothing management, and facilitates commodity tracking and inventory management. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is a flow chart of a RFID tag coding method proposed by the present invention;

[0030] Figure 2 A flow chart of a method for writing tag data into an RFID tag for a cloud box;

[0031] Figure 3 is a schematic diagram of a preset encoding format;

[0032] Figure 4 Flowchart of the method for obtaining data in RFID tags for cloud boxes. DETAILED DESCRIPTION

[0033] Embodiment 1, as Figure 1 to Figure 4 As shown, the present invention proposes a RFID tag coding method, such as Figure 1 As shown, the specific implementation steps include the following:

[0034] S1. An RFID tag is embedded in each clothing tag. The RFID tag has the function of storing and transmitting clothing-related data. When the clothing is manufactured or shipped, the basic information of the clothing is written into the RFID tag through the initialization device to ensure that each clothing has a unique identification code, and a unique RFID tag identifier is set for any RFID tag, and the set RFID tag identifier is stored in the back-end database and the RFID tag;

[0035] The basic information of clothing includes but is not limited to clothing number, size, color and manufacturing batch.

[0036] S2, compress and encode the image or complex data through the cloud box, use fragmented storage, and transmit the encoded data to the RFID tag, such as Figure 2 As shown, the specific process is as follows:

[0037] S21. Collect the images or text data that need to be stored, including but not limited to:

[0038] Display pictures of clothing (including but not limited to: photos of the actual product, style pictures);

[0039] Brand identity (including but not limited to: company logo, company name);

[0040] Promotional information (including but not limited to: QR codes, barcodes, promotional posters);

[0041] S22. According to the storage capacity limitation of the RFID tag, the resolution of the image is adjusted, and the appropriate size and clarity are selected to ensure that the display requirements are met and the storage capacity of the tag is adapted. The image data is compressed using a pre-selected compression algorithm (such as JPEG compression). During the compression process, the compression ratio needs to be determined according to the specific application scenario. The data volume is further optimized by adjusting the resolution, color depth, brightness and other parameters of the image to ensure that the image can still clearly display key information after compression. The image data is then encoded.

[0042] S23, for the character data embedded in the image, use OCR (Optical Character Recognition) technology to extract the characters, store them in the form of text, process them through a compression algorithm, and then encode the text data;

[0043] S24, merging the encoded image data and the encoded text data to obtain the tag data to be written, and converting the tag data to be written into a data format of a binary string, and then dividing the binary string into n unit strings: unit1, ..., unit n, the string length of any unit string is 32 bits;

[0044] S25, such as Figure 3 As shown, according to the preset encoding format, several standardized tag data writing groups are constructed: {file header information 1, unit string unit1, check code 1}, ..., {file header information n, unit string unit n , check code n};

[0045] The file header information is used to record the file type, compression ratio, data block location information, and indicate the order, size, and total number of fragments;

[0046] The unit string is the tag data to be written after storage segmentation;

[0047] The checksum is used to ensure that the integrity of data is not damaged during the writing and reading process;

[0048] S26. Before writing data, perform an information check to ensure that the compression, encoding and data segmentation operations are correct and the stored data is consistent with expectations. Then the cloud box writes the constructed standardized tag data into the group {file header information 1, unit string unit1, check code 1}, ..., {file header information n, unit string unit n , verification code n} packaging, based on the two-way authentication method of RFID tags and cloud boxes, the standardized tag data writing group is sent to the RFID tag through radio frequency communication to complete the tag data writing operation;

[0049] The specific implementation process of the above RFID tag and cloud box two-way authentication method is as follows:

[0050] (1) The cloud box sends a communication request to the RFID tag and sends a random number α;

[0051] (2) When the RFID tag receives a communication request from the cloud box, it randomly generates an integer β and calculates the communication verification parameter P Ic =ID j ⊕f s (0, α, β), and {β, P Ic}Send to cloud box;

[0052] Among them, f s () is a pseudo-random function, ⊕ represents an XOR operation, ID j Indicates the ID of the RFID tag, 0≤i≤m, m is the total number of RFID tags set;

[0053] (3) The cloud box performs calculations on the identification ID of each RFID tag in the backend database in a traversal manner to determine whether a certain ID existsi (0≤i≤m), so that ID i =P Ic ⊕f s (0, α, β) is equal. If the equalization is true, it is determined that the RFID tag is writable, that is, the RFID tag is the RFID tag of the clothing pre-set by the merchant, and then the following step (4) is performed;

[0054] (4) Cloud Box calculates authentication parameter γ = ID i ⊕f s (1, α, β), and send the authentication parameter γ to the RFID tag;

[0055] (5) RFID tag ID i =γ⊕f s (1, α, β) is equal. If so, the RFID tag determines that the cloud box has data writing permission, that is, the cloud box is allowed to write the tag data to the RFID tag.

[0056] S3. The staff uses a barcode scanning device to scan the clothing tag embedded with the RFID tag. The barcode scanning device communicates with the RFID tag through radio frequency technology to obtain the coded data stored in the tag, such as Figure 4 As shown, the specific implementation steps are as follows:

[0057] S31. When the barcode scanning device is aimed at the RFID tag, a read request is sent to the chip in the RFID tag through a radio frequency signal. After receiving the request, the chip in the RFID tag immediately starts and responds. The RFID tag sends the stored standardized tag data to the barcode scanning device and writes the group {file header information 1, unit string unit1, verification code 1}, ..., {file header information n, unit string unit n , check code n};

[0058] Among them, the scanning device includes but is not limited to a scanning gun, a smart phone or a handheld PDA device;

[0059] S32, the code scanning device receives the coded data returned by the RFID, stores it in the local memory, and then transmits the coded data to the cloud box;

[0060] S33, the cloud box receives each standardized tag data from the code scanning device and writes it into the group {file header information 1, unit string unit1, verification code 1}, ..., {file header information n, unit string unit n , after the verification code n}, the decoding process is immediately performed, and each unit string is extracted according to the preset encoding format, and then each unit string is spliced ​​and restored to the label data;

[0061] S34. After decoding, the cloud box returns the restored product information to the connected display terminal (including but not limited to: smart phone, tablet computer or laptop computer) via the wireless network.

[0062] S4. The display terminal presents the decoded product information on the display screen according to the decoded information returned by the cloud box, and the user then learns the detailed information of the product, including but not limited to clothing display pictures, brand logos and production information, thus completing the tag data reading operation.

[0063] Embodiment 2, a method for writing code to an RFID tag proposed by the present invention, compared with Embodiment 1, further includes a method for authenticating readability between a code scanning device and an RFID tag, and its specific implementation steps are as follows:

[0064] S1. The scanning device first generates a random number θ, sends the random number θ to the RFID tag, and sends a tag data reading request;

[0065] S2, RFID tag generates a random number δ, calculates the authentication information IC = H (ID j ||θ||δ), and send {IC, δ} to the scanning device;

[0066] Among them, H() is a hash function, || represents the binary string concatenation symbol, and ID j Indicates the ID of the RFID tag, 0≤i≤m, m is the total number of RFID tags set;

[0067] S3: The barcode scanning device performs calculations on the identification ID of each RFID tag in the backend database in a traversal manner to determine whether a certain ID exists. i (0≤i≤m), so that H(ID i ||θ||δ)=H(ID j ||θ||δ) is established. If the equation is established, the RFID tag is considered readable. Then H(ID i ||δ) sent to RFID tag;

[0068] S4, RFID tag direct judgment equation H(ID i ||δ)=H(ID j ||δ) is established. If the equation is true, the code scanning device is deemed to have data reading authority and is allowed to read the tag data in the RFID tag.

[0069] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited thereto, and various changes can be made within the knowledge scope of technicians in the relevant technical field without departing from the purpose of the present invention.

Claims

1. A method for writing code to an RFID tag, characterized in that: The specific implementation steps include the following: S1. An RFID tag is embedded in each clothing tag, and the basic information of the clothing is written into the RFID tag through the initialization device. A unique RFID tag identifier is set for each RFID tag, and the set RFID tag identifier is stored in the back-end database and the RFID tag; S2. Collect the image or text data to be stored, merge the encoded image data and the encoded text data to obtain the tag data to be written, and convert it into a binary string. Then, divide the binary string into several unit strings, and construct several standardized tag data writing groups according to the preset encoding format. Then, based on the RFID tag and the cloud box two-way authentication method, send the standardized tag data writing group to the RFID tag; S3. When the code scanning device is aimed at the RFID tag, based on the readability authentication method between the code scanning device and the RFID tag, a two-way authentication is performed between the RFID tag and the code scanning device. Then, the RFID tag sends each standardized tag data write group stored inside the RFID tag to the code scanning device. The code scanning device receives each standardized tag data write group returned by the RFID, and then transmits each standardized tag data write group to the cloud box. S4. After receiving each standardized tag data writing group from the code scanning device, the cloud box immediately performs decoding processing, extracts each unit string according to the preset encoding format, then splices each unit string, restores it to the tag data, and sends it to the display terminal; S5. The display terminal displays the received tag data on the display screen.

2. The RFID tag coding method according to claim 1, characterized in that: The implementation process of the two-way authentication method between RFID tags and cloud boxes is as follows: S21, the cloud box sends a communication request to the RFID tag and sends a random number α; S22. When the RFID tag receives a communication request from the cloud box, it randomly generates an integer β and calculates the communication verification parameter P Ic =ID j ⊕f s (0, α, β), and {β, P Ic }Send to cloud box; Among them, f s () is a pseudo-random function, Indicates XOR operation, ID j Indicates the ID of the RFID tag, 0≤i≤m, m is the total number of RFID tags set; S23, the cloud box performs calculations on the identification ID of each RFID tag in the backend database in a traversal manner to determine whether a certain ID exists i (0≤i≤m), such that The equation is established. If the equation is established, it is determined that the RFID tag is writable, that is, the RFID tag is the RFID tag of the clothing pre-set by the merchant, and then the following S24 is executed; S24, Cloud Box Computing Authentication Parameters And send the authentication parameter γ to the RFID tag; S25, RFID tag judgment Is the equation true? If so, the RFID tag determines that the cloud box has data writing permission, that is, the cloud box is allowed to write the tag data to be written into the RFID tag.

3. The RFID tag coding method according to claim 1, characterized in that: The implementation steps of the readability authentication method between the scanning device and the RFID tag are as follows: S31, the code scanning device first generates a random number θ, sends the random number θ to the RFID tag, and sends a tag data reading request; S32, the RFID tag generates a random number δ, and calculates the authentication information IC=H(ID j ||θ||δ), and send {IC, δ} to the scanning device; Among them, H() is a hash function, || represents the binary string concatenation symbol, and ID j Indicates the ID of the RFID tag, 0≤i≤m, m is the total number of RFID tags set; S33, the code scanning device performs calculations on the identification ID of each RFID tag in the backend database in a traversal manner to determine whether a certain ID i (0≤i≤m), so that H(ID i ||θ||δ)=H(ID j ||θ||δ) is established. If the equation is established, the RFID tag is considered readable. Then H(ID i ||δ) sent to RFID tag; S34, RFID tag direct judgment equation H(ID i ||δ)=H(ID j ||δ) is established. If the equation is true, the code scanning device is deemed to have data reading authority and is allowed to read the tag data in the RFID tag.

4. The RFID tag coding method according to claim 1, characterized in that: The code scanning device is a code scanning gun, a smart phone or a handheld PDA device.

5. The RFID tag coding method according to claim 1, characterized in that: The default encoding format is: file header information + unit string + checksum.

6. The RFID tag coding method according to claim 5, characterized in that: The string length of a unit string is 32 bits.

Citation Information

Patent Citations

  • RFID tag writing method

    CN112488250A