CN120471085B - RFID tag pairing method and device based on near field coupling - Google Patents
RFID tag pairing method and device based on near field couplingInfo
- Publication number
- CN120471085B CN120471085B CN202510979868.9A CN202510979868A CN120471085B CN 120471085 B CN120471085 B CN 120471085B CN 202510979868 A CN202510979868 A CN 202510979868A CN 120471085 B CN120471085 B CN 120471085B
- Authority
- CN
- China
- Prior art keywords
- tag
- slave
- master
- pairing
- data information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Near-Field Transmission Systems (AREA)
Abstract
本发明提出一种基于近场耦合的RFID标签配对方法及装置,该方法通过配置标志位存储单元中的标志位来设定RFID标签为主标签或从标签,通过主、从标签的近场耦合通信实现标签配对,阅读器只需正常盘点即可获取标签配对信息。通过该方法可以准确、高效地实现RFID标签的批量配对。
This invention proposes a method and device for pairing RFID tags based on near-field coupling. This method configures a flag in a flag storage unit to set an RFID tag as either a master or slave tag. Tag pairing is achieved through near-field coupling communication between the master and slave tags. A reader only needs to perform a normal inventory to obtain tag pairing information. This method enables accurate and efficient batch pairing of RFID tags.
Description
Technical Field
The invention relates to the technical field of RFID tag communication, in particular to an RFID tag pairing method and device based on near field coupling.
Background
RFID (radio frequency identification) technology is a contactless automatic identification technology. In a multi-tag environment, how to accurately and efficiently realize the pairing between tags becomes one of the important problems in the development of the RFID technology. The existing RFID tag is connected with the tag in a wired mode, the slave tag is driven by the master tag, and then the reader needs to count information of the master tag and the slave tag at the same time, so that the connection stability is poor, the counting data is inaccurate, and the pairing efficiency is low.
Disclosure of Invention
The invention aims to provide an RFID tag pairing method and device based on near field coupling, which at least partially overcome the defects of the prior art.
The invention provides the following technical scheme for realizing the purposes:
In a first aspect, there is provided an RFID tag pairing method based on near field coupling, where the RFID tag includes a near field communication antenna, a far field communication antenna, and a flag bit storage unit, where the far field communication antenna is used for communicating with other RFID tags, and the far field communication antenna is used for communicating with a reader, and the method includes:
After the RFID tag is electrified, checking whether a tag bit exists in the tag bit storage unit, if so, determining that the local role is a master tag or a slave tag according to the tag bit, and if not, entering a normal checking working mode by the RFID tag;
After the role of the local end is determined, the RFID tag is paired with other RFID tags through a near field communication antenna of the local end, after the pairing is successful, the master tag acquires and stores EPC data information of the slave tag, and then the master tag is shifted into a normal inventory working mode;
in a normal inventory working mode, the RFID tag responds to an inventory signal of the reader and sends EPC data information stored by the local end to the reader, wherein the main tag successfully matched sends the EPC data information of the local end and the EPC data information of the corresponding slave tag.
As an optional implementation manner of the method of the first aspect, the flag bit in the flag bit storage unit is written in advance from the outside.
As an optional implementation manner of the method of the first aspect, the flag bit storage unit is a nonvolatile memory.
As an optional implementation manner of the method of the first aspect, after determining the role of the local end, the RFID tag is paired with other RFID tags through a near field communication antenna of the local end, and specifically includes:
the master tag sends a detection signal to the slave tag, and the slave tag returns a response signal after receiving the detection signal;
In response to receiving the response signal, the master tag transmits a request pairing command and enters a waiting data receiving state;
The slave tag responds to the request pairing command and sends EPC data information of a local terminal to the master tag;
And the master tag stores EPC data information of the slave tag to finish pairing.
Specifically, if the master tag does not receive the response information of the slave tag within a preset time period after entering a state of waiting for data reception, the pairing fails, and the master tag is shifted to a normal inventory working mode.
In a second aspect, an RFID tag pairing device based on near field coupling is provided, comprising a plurality of RFID tags and a reader, wherein the RFID tags comprise a near field communication antenna, a far field communication antenna and a zone bit storage unit, the far field communication antenna is used for communicating with other RFID tags, and the far field communication antenna is used for communicating with the reader;
the RFID tag is configured to check whether a flag bit exists in the flag bit storage unit after power-on, if so, the local role is determined to be a master tag or a slave tag according to the flag bit, and if not, the normal checking working mode is entered;
The RFID tag is further configured to pair with other RFID tags through a near field communication antenna of the local end after determining the role of the local end, and after successful pairing, the master tag acquires and stores EPC data information of the slave tag and then shifts to a normal inventory working mode;
The RFID tag is further configured to respond to the inventory signal of the reader to send EPC data information stored by the local end to the reader in a normal inventory working mode, wherein the main tag successfully matched sends the EPC data information of the local end and the EPC data information of the corresponding slave tag.
As an optional implementation manner of the apparatus according to the second aspect, the flag bit in the flag bit storage unit is written in advance from the outside.
As an optional implementation manner of the apparatus of the second aspect, the flag bit storage unit is a nonvolatile memory.
As an optional implementation manner of the apparatus according to the second aspect, when pairing is performed, the master tag sends a detection signal to the slave tag, and returns a response signal after the slave tag receives the detection signal, the master tag sends a request pairing command and enters a waiting data receiving state in response to receiving the response signal, the slave tag sends EPC data information of a local end to the master tag in response to the request pairing command, and the master tag stores EPC data information of the slave tag to complete pairing.
Specifically, if the master tag does not receive the response information of the slave tag within a preset time period after entering a state of waiting for data reception, the pairing fails, and the master tag is shifted to a normal inventory working mode.
Compared with the prior art, the RFID tag pairing method and device based on near field coupling have the following advantages:
1. in the near field coupling-based RFID tag pairing method, the tag bit in the tag bit storage unit is configured to set the RFID tag as a master tag or a slave tag, tag pairing is realized through near field coupling communication of the master tag and the slave tag, and the reader can acquire tag pairing information only by normal inventory.
2. In the near field coupling-based RFID tag pairing method, when the tag bit storage unit does not store the tag bit, the RFID tag is in a normal inventory working mode, so that the RFID tag can be suitable for other scenes without pairing.
3. The master tag and the slave tag detect the existence of each other when in power-on initialization, so that the accuracy and stability of the pairing process are ensured, the tags can flexibly adapt to different application scene requirements, the application range of the RFID technology is expanded, and more scenes requiring tag pairing can be met.
Drawings
Fig. 1 is a schematic structural diagram of an RFID tag according to an embodiment.
Fig. 2 is a flow chart of an RFID tag pairing method based on near field coupling according to an embodiment.
Fig. 3 is a schematic diagram of a workflow after the main label is powered up according to an embodiment.
Fig. 4 is a schematic diagram of a workflow after powering up from a tag according to an embodiment.
Fig. 5 is a schematic structural diagram of an RFID tag pairing device based on near field coupling according to an embodiment.
Detailed Description
The invention will be further described with reference to the drawings and the specific examples. It is to be understood that the invention may be embodied in various forms and that the exemplary and non-limiting embodiments shown in the drawings and described below are not intended to limit the invention to the specific embodiments described.
It is to be understood that the technical features listed above for the different embodiments may be combined with each other where technically feasible to form further embodiments within the scope of the invention. Furthermore, the particular examples and embodiments described herein are not limiting and corresponding modifications may be made to the structures, steps, and sequences set forth above without departing from the scope of the invention.
Referring to fig. 1, fig. 1 shows a schematic structural diagram of an RFID tag, and as shown in fig. 1, the RFID tag includes a near field communication antenna, a far field communication antenna, and a flag bit storage unit. The remote communication antenna is used for completing communication with the reader, and specifically comprises instruction receiving and energy collecting. The near field communication antenna is used for completing data communication with other RFID tags in a near field coupling mode. Near field communication distance provided by the near field communication antenna is 1-2 cm.
It should be noted that the RFID tag should also have a chip/microprocessor for instruction processing/data processing, which is not shown in fig. 1 for simplicity of the drawing.
Aiming at the RFID tag shown in fig. 1, the embodiment provides an RFID tag pairing method based on near field coupling. Referring to fig. 2, fig. 2 is a schematic flow chart of an RFID tag pairing method based on near field coupling. As shown in fig. 2, the method includes steps S200 to S204:
And S200, after the RFID label is electrified, checking whether a zone bit exists in a zone bit storage unit, if so, determining that the local end role is a master label or a slave label according to the zone bit, and if not, entering a normal inventory working mode by the RFID label.
The powering-on of the RFID tag means that the RFID tag collects energy from electromagnetic waves sent by a reader through a long-distance communication antenna and converts the energy into electric energy for self operation.
The flag bit storage unit may be a nonvolatile memory. The flag bit in the flag bit storage unit may be written from the outside in advance before the execution of this step S100. The RFID tags described above may be classified into a master tag and a slave tag according to the written flag bit. If the flag bit is not written in the flag bit storage unit of the RFID tag, the RFID tag directly enters a normal inventory working mode after being electrified. Through the design, the RFID tag can be flexibly adapted to different application scenes, and can be applied to scenes needing tag pairing or single-tag scenes.
The flag bits of the master tag and the slave tag may be set according to the requirement, so long as the master tag and the slave tag can be distinguished.
S202, after the role of the local end is determined, the RFID tag is paired with other RFID tags through a near field communication antenna of the local end, after the pairing is successful, the master tag acquires and stores EPC data information of the slave tag, then the normal inventory working mode is shifted to, and if the pairing is failed, the master tag or the slave tag enters the normal inventory working mode.
Referring to fig. 3 and 4, fig. 3 shows the workflow after the master tag is powered up, and fig. 4 shows the workflow after the slave tag is powered up.
As shown in fig. 3, the main tag reads the flag bit after power-up, and then starts pairing.
The master tag transmits a detection signal to the slave tag, and the slave tag returns a response signal after receiving the detection signal. And after receiving the response signal, the master tag sends out a pairing request command and enters a waiting data receiving state. If the slave tag successfully receives the request pairing command, a confirmation signal is returned to the master tag and the master tag sends the EPC data information of the master tag, after the master tag determines that the request pairing command is received based on the confirmation signal, the EPC data information sent by the slave tag is received and stored, and at the moment, the pairing is completed, and the master tag enters a normal inventory working mode. If the master tag does not receive response information of the slave tag within a preset time period after entering a state of waiting for data reception, the pairing is failed, and the master tag still enters a normal inventory working mode.
As shown in fig. 4, after the slave tag is powered on, the slave tag reads the flag bit, waits for the detection signal of the master tag, and after receiving the detection signal, replies a confirmation signal to the master tag, at this time, starts pairing. After pairing starts, the slave tag enters a waiting data receiving state, if a request pairing command sent by the master tag is received by the slave tag in the waiting data receiving state, the slave tag replies a confirmation signal to the master tag and sends the EPC data information of the slave tag, and then the slave tag is switched into a normal inventory working mode. If the slave tag does not receive the pairing request command sent by the master tag within a preset time period after entering the waiting data receiving state, the slave tag indicates that pairing fails, and the slave tag is switched into a normal inventory working mode.
S204, in a normal inventory working mode, the RFID tag responds to an inventory signal of the reader and sends EPC data information stored by the local end to the reader, wherein the EPC data information of the local end and the EPC data information of the corresponding slave tag are sent by the master tag which is successfully matched.
In the pairing process, the master tag successfully paired obtains the EPC data information of the slave tag, and the master tag stores the EPC data information of the slave tag. After receiving the inventory command of the reader, the master tag sends two EPC data messages to the reader, one EPC data message of the master tag and the other EPC data message of the slave tag. And after receiving the inventory instruction of the reader, the master tag or the slave tag which is not successfully paired and the common tag which is not written with the zone bit send the EPC data information of the master tag or the slave tag to the reader, namely only one EPC data information. And the reader screens the received EPC data information to obtain RFID tag pairing information.
In the method, the master tag and the slave tag can perform normal tag inventory functions no matter whether the pairing is successful or not. And once paired, the master tag returns the pairing result and the slave tag returns normal EPC data. The reader can acquire the tag pairing information only by normal inventory.
In the method, the near field communication distance provided by the near field communication antenna of the RFID tag is 1-2 cm, so that the RFID tag can communicate with each other only when the distance between the master tag and the slave tag is very short. The master tag enters a normal inventory working mode after receiving EPC data information of a slave tag, so that the condition that a plurality of slave tags respond to one master tag does not occur, namely the accuracy and the stability of the pairing process can be ensured by the method, and invalid pairing is avoided.
Corresponding to the method, the embodiment also provides an RFID tag pairing device based on near field coupling, which is used for realizing the RFID tag pairing method based on near field coupling. Fig. 5 is a schematic structural diagram of an RFID tag pairing device based on near field coupling, which includes a plurality of RFID tags and a reader. The structure of the RFID tag is shown in fig. 1, and the RFID tag comprises a near field communication antenna, a far field communication antenna and a zone bit storage unit, wherein the near field communication antenna is used for communicating with other RFID tags, and the far field communication antenna is used for communicating with a reader and collecting energy. Near field communication distance provided by the near field communication antenna is 1-2 cm.
It should be noted that, the computer control end and the antenna in fig. 5 are only exemplary, and the reader described in this embodiment is a device capable of performing the corresponding functions in this embodiment, and in actual operation, the computer control end of the reader may be built in the reader, or may be separately provided and connected to the reader, and the antenna of the reader may be directly integrated on the reader, or may be separately provided and connected to the reader.
The RFID tag is configured to check whether a flag bit exists in the flag bit storage unit after power-on, if so, the local role is determined to be a master tag or a slave tag according to the flag bit, and if not, the normal inventory working mode is entered.
The RFID tag is further configured to pair with other RFID tags through a near field communication antenna of the local end after determining the role of the local end, after the matching is successful, the master tag obtains and stores EPC data information of the slave tag, then the normal inventory working mode is shifted to, and if the matching is failed, the master tag or the slave tag enters the normal inventory working mode.
The RFID tag is further configured to send EPC data information stored by the local terminal to the reader in response to the inventory signal of the reader in a normal inventory working mode, wherein the EPC data information of the local terminal and the EPC data information of the corresponding slave tag are sent by the master tag which is successfully paired.
Specifically, the above-mentioned powering on of the RFID tag means that the RFID tag collects energy from electromagnetic waves emitted from the reader through the remote communication antenna and converts the energy into electric energy for its own operation.
The flag bit storage unit may be a nonvolatile memory. The flag bit in the flag bit storage unit may be written from the outside in advance before the execution of this step S100. The RFID tags described above may be classified into a master tag and a slave tag according to the written flag bit. If the flag bit is not written in the flag bit storage unit of the RFID tag, the RFID tag directly enters a normal inventory working mode after being electrified. Through the design, the RFID tag can be flexibly adapted to different application scenes, and can be applied to scenes needing tag pairing or single-tag scenes.
The flag bits of the master tag and the slave tag may be set according to the requirement, so long as the master tag and the slave tag can be distinguished.
Specifically, in the pairing process, the steps performed by the master tag and the slave tag may refer to the corresponding contents in step S202, which are not described herein.
In the pairing process, the master tag successfully paired obtains the EPC data information of the slave tag, and the master tag stores the EPC data information of the slave tag. After receiving the inventory command of the reader, the master tag sends two EPC data messages to the reader, one EPC data message of the master tag and the other EPC data message of the slave tag. And after receiving the inventory instruction of the reader, the master tag or the slave tag which is not successfully paired and the common tag which is not written with the zone bit send the EPC data information of the master tag or the slave tag to the reader, namely only one EPC data information. And the reader screens the received EPC data information to obtain RFID tag pairing information.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of the present application is to be determined by the following claims.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202510979868.9A CN120471085B (en) | 2025-07-16 | 2025-07-16 | RFID tag pairing method and device based on near field coupling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202510979868.9A CN120471085B (en) | 2025-07-16 | 2025-07-16 | RFID tag pairing method and device based on near field coupling |
Publications (2)
Publication Number | Publication Date |
---|---|
CN120471085A CN120471085A (en) | 2025-08-12 |
CN120471085B true CN120471085B (en) | 2025-09-26 |
Family
ID=96637360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202510979868.9A Active CN120471085B (en) | 2025-07-16 | 2025-07-16 | RFID tag pairing method and device based on near field coupling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN120471085B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009058381A (en) * | 2007-08-31 | 2009-03-19 | Ricoh Co Ltd | Tag group setting method and moving body position monitoring system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006067160A (en) * | 2004-08-26 | 2006-03-09 | Fujitsu Ltd | Wireless tag system, wireless tag access control device, wireless tag access control method, wireless tag access control program, and wireless tag |
CA2570616C (en) * | 2006-12-07 | 2014-07-15 | Psion Teklogix Inc. | Rfid based monitoring system and method |
CA2572649C (en) * | 2006-12-29 | 2017-01-24 | Bce Inc | Method and apparatus for wireless management of articles |
CN118114699A (en) * | 2023-05-10 | 2024-05-31 | 华为技术有限公司 | Radio frequency identification system and method, master tag, controlled tag and reader |
CN120087381A (en) * | 2024-08-28 | 2025-06-03 | 华为技术有限公司 | Radio frequency identification device, system and radio frequency identification tag pairing method |
CN119599037A (en) * | 2024-08-30 | 2025-03-11 | 桔帧科技(江苏)有限公司 | Monitoring system for realizing occupation of identification ports in optical cross boxes |
CN118798230B (en) * | 2024-09-14 | 2024-12-27 | 广东识芯微电子科技有限公司 | Radio frequency identification system and method |
-
2025
- 2025-07-16 CN CN202510979868.9A patent/CN120471085B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009058381A (en) * | 2007-08-31 | 2009-03-19 | Ricoh Co Ltd | Tag group setting method and moving body position monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN120471085A (en) | 2025-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101174308B (en) | Response control mehtod for RFID tag, device for rfid tag, and rfid reading and control device | |
US8193910B2 (en) | Interrogator, transponder and transponder identification method | |
US20100169686A1 (en) | Near field communication host controller interface | |
US20070069863A1 (en) | IC tag, method of controlling the IC tag, and IC tag system | |
CN101647028B (en) | Method for establishing a wireless communication connection between an automation component and a mobile operating terminal | |
CN118798230B (en) | Radio frequency identification system and method | |
CN101377820B (en) | Method for searching label in radio frequency recognition system and reader-writer | |
WO2019179093A1 (en) | Method for obtaining device identifier in nb-iot, and device | |
US20130187765A1 (en) | Simultaneous programming of selected tags | |
JP2018152130A (en) | Communication device and communication system | |
CN120471085B (en) | RFID tag pairing method and device based on near field coupling | |
EP1901197A2 (en) | Reader/writer and data communication method | |
JP2006040185A (en) | IC tag semiconductor device, IC tag and IC tag control method | |
US20230222301A1 (en) | System with reader, transponder and sensors and operating method | |
CN110661554B (en) | Radio frequency circuit, radio frequency tag and communication system | |
JPH11250198A (en) | Non-contact data transmitter-receiver | |
CN110543796A (en) | Passive UHF Electronic Sensing System with Identification and Data Recording Functions | |
JP5143464B2 (en) | DATA READING DEVICE, DATA READING SYSTEM, AND DATA READING METHOD | |
US12141636B2 (en) | RFID tag IC with standard-adapted counter increment, and RFID communication system | |
CN120509423A (en) | RFID tag pairing method and device | |
CN210469306U (en) | Radio frequency circuit, radio frequency tag and communication system | |
CN116415602A (en) | System with reader, transponder and sensor and method of operation | |
CN101833633B (en) | Radio frequency identification device, wireless network platform and operation method thereof | |
CN116708643A (en) | Quick connection method of Bluetooth printer and Bluetooth printer | |
JP2000068924A (en) | Information read system, radio medium used for the same, reader and information read method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |