Pairing identification method for RFID tags, identifier processing method for RFID tags, and device

By accessing the first RFID tag in each connected RFID tag pair through electronic devices, the identification pair can be obtained and verified, solving the problem of low efficiency in the prior art and realizing efficient RFID tag pairing identification and device port resource management.

WO2026097825A1PCT designated stage Publication Date: 2026-05-15HUAWEI TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2025-05-22
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

In existing technologies, the method of scanning RFID tags on the fiber optic side and the device port side one by one with a single-port card reader is inefficient and cannot efficiently obtain the connection pairing relationship between the line connector and the device port.

Method used

Electronic devices only need to access the first RFID tag in each connected RFID tag pair to obtain the identification pair indicating the current connection, and obtain the second identification through the digital communication interface to verify the pairing status, reducing the time complexity of accessing RFID tags.

Benefits of technology

It improves the efficiency of RFID tag pairing and identification, reduces the time overhead of identifying whether multiple tag pairs are successfully paired, and achieves efficient management of device port resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025096429_15052026_PF_FP_ABST
    Figure CN2025096429_15052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a pairing identification method for RFID tags, an identifier processing method for RFID tags, and a device, which are used for reducing the time overhead for identifying whether multiple tag pairs have been successfully paired, and improving identification efficiency. The pairing identification method for RFID tags is applied to an electronic device. The method comprises: sending a first instruction to a plurality of first RFID tags, the first instruction instructing each first RFID tag to acquire a first identifier pair, the first identifier pair comprising a first identifier of the first RFID tag and a second identifier of a second RFID tag, the first RFID tag being connected to the second RFID tag by means of a digital communication interface, and both the first RFID tag and the second RFID tag being passive tags; acquiring a plurality of first identifier pairs from the plurality of first RFID tags, respectively; acquiring a plurality of second identifier pairs, each of the plurality of second identifier pairs comprising a first identifier and a third identifier of a second RFID tag matching a first RFID tag; and on the basis of the plurality of second identifier pairs, verifying the pairing status of the plurality of first identifier pairs.
Need to check novelty before this filing date? Find Prior Art

Description

RFID tag pairing and identification methods, RFID tag identification processing methods and equipment

[0001] This application claims priority to Chinese Patent Application No. 202411604449.9, filed on November 8, 2024, entitled "A Method for Pairing and Identifying RFID Tags, a Method and Device for Identifying RFID Tags", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of communications, and in particular to RFID tag pairing and identification methods, RFID tag identification processing methods and equipment. Background Technology

[0003] With the advent of the era of massive information and the rapid development of communication technology, device ports are connected to a dense network of lines, resulting in complex connection relationships. These lines include fiber optic cables, power lines, and network cables, and are numerous and diverse. How to determine the connection pairing relationships between line connectors and device ports to achieve digital monitoring and intelligent management has become a pressing issue.

[0004] In the relevant technical solution, radio frequency identification (RFID) tags are added to the fiber optic connector and the port of the optical cross-connect device. The RFID tag on the fiber optic side and the RFID tag on the port of the device connected to it are read one by one by a single-port card reader, and the binding relationship between the two RFID tags is established.

[0005] This method requires a single-port reader to scan and read the RFID tags on the fiber optic side and the port side one by one, which results in long reading times and low work efficiency. Summary of the Invention

[0006] This application provides a method for pairing and identifying RFID tags, a method for processing the identification of RFID tags, and an apparatus. In the method for pairing and identifying RFID tags, the electronic device does not need to access each RFID tag; it only needs to access the first RFID tag in each connected RFID tag pair to obtain the first identification pair indicating the currently connected RFID tag pair. This reduces the time complexity of accessing RFID tags, thereby reducing the time overhead of identifying whether multiple tag pairs have been successfully paired and improving efficiency.

[0007] In a first aspect, this application provides a pairing and identification method for RFID tags, which is applied to electronic devices and includes:

[0008] An electronic device sends a command to one side of an RFID tag to acquire a first identifier pair, which includes the identifier of this side's RFID tag and the identifier of another side's RFID tag connected to this side's RFID tag via a digital communication interface. The electronic device also acquires a second identifier pair, which includes the identifier of this side's RFID tag and the identifier of the other side's RFID tag that matches this side's RFID tag. Then, based on the second identifier pair, the pairing status of the first identifier pair acquired based on the command is verified. For example, the electronic device sends a first command to each of a plurality of first RFID tags, instructing each first RFID tag to acquire a first identifier pair, which includes the first identifier of the first RFID tag and the second identifier of the second RFID tag. The first and second RFID tags indicated by the first identifier pair are connected via a digital communication interface, and both the first and second RFID tags are passive tags. Each first RFID tag provides a first identifier pair, and the electronic device acquires multiple first identifier pairs provided by multiple first RFID tags respectively. The electronic device also acquires multiple second identifier pairs, where each second identifier pair includes a first identifier and a third identifier of the second RFID tag that matches the first RFID tag. That is, the second identifier pair reflects a matched RFID tag pair. The electronic device verifies the pairing status of multiple first identifier pairs based on multiple second identifier pairs. Verifying the pairing status of multiple first identifier pairs can also be understood as verifying each of the multiple first identifier pairs to determine whether the connection relationship between the first RFID tag and the second RFID tag indicated by each first identifier pair is correct.

[0009] In this application, an electronic device sends a first instruction to a first RFID tag to obtain the first identifier of the first RFID tag and the second identifier of a second RFID tag connected to the first RFID tag, thus obtaining a first identifier pair indicating the currently connected RFID tag pair. Based on the matching second identifier pair, the first identifier pair is then verified. For the electronic device, obtaining the first identifier pair only requires accessing the first RFID tag, and does not require accessing each RFID tag indicated by the first identifier pair. This reduces the number of RFID tags the electronic device needs to access, thereby reducing the time complexity of accessing RFID tags, reducing the time overhead of identifying whether multiple tag pairs are successfully paired, and improving the efficiency of pairing identification.

[0010] In some alternative implementations of the first aspect, the electronic device verifies the pairing of multiple first identifier pairs. Specifically, if the first target identifier pair in the multiple first identifier pairs includes the same first identifier as the second target identifier pair in the multiple second identifier pairs, and the second identifier included in the first target identifier pair is different from the third identifier included in the second target identifier pair, then the electronic device can determine that the matching of the first target identifier pair is incorrect, that is, the connection relationship of the first RFID tag indicated by the first target identifier pair is incorrect.

[0011] In this application, in a scheme where the first identifier included in the first target identifier pair is the same as that included in the second target identifier pair, but the second identifier included in the first target identifier pair is different from the third identifier included in the second target identifier pair, the electronic device determines that the matching of the first target identifier pair is incorrect, thereby determining that the connection relationship of the corresponding first RFID tag is incorrect, which provides a basis for the implementation of the technical solution of this application and improves the feasibility of the solution.

[0012] In some optional implementations of the first aspect, the second identifier included in the first target identifier pair may differ from the third identifier included in the second target identifier pair in several ways. It could be that the value of the second identifier is empty or a default value, or that the value of the second identifier is a system-defined identifier value that differs from the value of the third identifier. In the former case, it indicates that the first RFID tag is not connected to the second RFID tag, meaning the first RFID tag has been mis-paired. In the latter case, it indicates that the second RFID tag connected to the first RFID tag is not a matched RFID tag, meaning the connection of the first RFID tag is incorrect. Regardless of the situation, the electronic device can also issue a prompt message to indicate that the first RFID tag has been mis-paired or mismatched.

[0013] In some optional implementations of the first aspect, multiple second identifier pairs are included in a first database. Besides including multiple second identifier pairs, the first database also includes service information corresponding to each second identifier pair, indicating the status of the service transmitted between the matched first RFID tag and the second RFID tag. If a third target identifier pair among the multiple first identifier pairs matches a fourth target identifier pair among the multiple second identifier pairs, and the service information of the fourth target identifier pair indicates that the service status of the fourth target identifier pair is stopped, then it is determined that the port connected to the device for the tag pair indicated by the third target identifier pair is occupied. Matching the third target identifier pair among the multiple first identifier pairs with the fourth target identifier pair among the multiple second identifier pairs includes: the first identifier included in the third target identifier pair is the same as the first identifier included in the fourth target identifier pair, and the second identifier included in the third target identifier pair is the same as the third identifier included in the fourth target identifier pair. A stopped service status includes service suspension, service interruption, or service completion. A stopped service status means that data for that service is not being transmitted at the current time, and therefore, the port on the device used for transmitting data for that service can be released. If the third target identifier pair matches the fourth target identifier pair, it means that the port is connected to the RFID tag pair indicated by the third target identifier pair and is in use, which means that the port is occupied.

[0014] In this application, based on the identifier pair and service information, it is also possible to identify whether the device port connected to the tag pair indicated by the identifier pair is occupied, thereby realizing the management of device port resources, enriching the application scenarios of the technical solution of this application, and improving the practicality of the solution.

[0015] In some alternative implementations of the first aspect, the electronic device sequentially acquires multiple first tag pairs of multiple first RFID tags in ascending order of received signal strength indication (RSSI) of the multiple first RFID tags.

[0016] Understandably, the lower the RSSI of an RFID tag, the less energy it can obtain, and the more easily the RFID tag is powered off. The electronic device acquires the first tag pair in ascending order of RSSI, ensuring that the most easily lost first tag pair is acquired first. This makes the acquisition of multiple first tag pairs more stable and improves the reliability of the technical solution in this application.

[0017] In some alternative implementations of the first aspect, before acquiring multiple first tag pairs from multiple first RFID tags, the electronic device also sends a second instruction to the first RFID tag and the second RFID tag, the second instruction being used to enable the first RFID tag and the second RFID tag to communicate through a connected digital communication interface, that is, to enable the first RFID tag and the second RFID tag to operate in peripheral digital communication interface mode.

[0018] In this application, the electronic device enables the first and second RFID tags to operate in peripheral digital communication interface mode. During the RFID tag reading process, the first RFID tag can obtain the second identifier of the connected second RFID tag through the digital communication interface, thereby enabling the electronic device to acquire the first identifier pair. This provides a basis for the implementation of the technical solution of this application and improves its feasibility.

[0019] In some alternative implementations of the first aspect, the second instruction sent by the electronic device to the second RFID tag also triggers the second RFID tag to prepare data, that is, to store the second identifier of the second RFID tag in a register that can be read by the first RFID tag connected to it, so that the first RFID tag can obtain the second identifier through a digital communication interface.

[0020] In some alternative implementations of the first aspect, the electronic device includes an RFID reader, or the electronic device is connected to an RFID reader. The coverage area of ​​the RFID reader's group scanning antenna is the target area. In addition to identifying the pairing status of RFID tag pairs, the electronic device can also identify whether any RFID tags are missing. Specifically, the RFID tag pairs indicated by multiple second identifier pairs included in the first database are located in the target area. The electronic device sends a third instruction to the RFID tags currently located in the target area, the third instruction being used to acquire the identifier of the RFID tags currently located in the target area. Based on the third instruction, the identifier of the RFID tags currently located in the target area is acquired. Then, based on the first database and the identifier of the RFID tags currently located in the target area, it is identified whether any RFID tags are missing in the current target area. The RFID tag is missing because the RFID tag malfunctioned and was not acquired by the electronic device, or because the device or line connecting the RFID tag is missing. In the RFID tag missing scheme, the electronic device can issue a prompt message.

[0021] In this application, the RFID tag pairs indicated by the multiple second identifier pairs included in the first database are located in the target area, which can be used to determine whether there are missing RFID tags in the current target area, further enriching the application scenarios of the technical solution of this application.

[0022] In some alternative implementations of the first aspect, the electronic device includes an RFID reader, or the electronic device is connected to an RFID reader. The coverage area of ​​the RFID reader's group scanning antenna is the target area. The electronic device sends a third instruction to the RFID tag currently located within the target area via the RFID reader. The third instruction is used to acquire the identifier of the RFID tag currently located within the target area. The target area is the coverage area of ​​the RFID reader's group scanning antenna. Based on the third instruction, the electronic device acquires the identifier of the RFID tag currently located within the target area. The electronic device also acquires the identifiers of all RFID tags configured within the target area. By comparing the identifiers of all RFID tags configured within the target area with the identifier of the RFID tag currently located within the target area, the electronic device identifies whether there is a missing RFID tag within the current target area. The missing RFID tag may be due to a malfunction that prevents the electronic device from acquiring the tag, or it may be due to a missing device or line connecting the RFID tag. In the RFID tag missing solution, the electronic device can issue a prompt message.

[0023] In this application, there are multiple ways for electronic devices to identify whether there are missing RFID tags in the current target area, which enriches the implementation methods and application scenarios of the technical solution and improves the flexibility of the technical solution.

[0024] In some optional implementations of the first aspect, the identifiers of all RFID tags configured within the target area are included in a second database. The second database can be stored locally on the electronic device, in the cloud, or on other devices, such as servers, and can be determined based on the needs of the actual application; no specific limitations are made here.

[0025] In some alternative implementations of the first aspect, the first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical distribution device. Alternatively, the first RFID tag is also connected to an optical distribution device, and the second RFID tag is also connected to an optical fiber.

[0026] In some alternative implementations of the first aspect, the first RFID tag is also connected to a power line, and the second RFID tag is also connected to an electrical appliance. Alternatively, the first RFID tag is also connected to an electrical appliance, and the second RFID tag is also connected to a power line.

[0027] In some alternative implementations of the first aspect, the first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device. Alternatively, the first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

[0028] In this application, the RFID tags have multiple possibilities for the connected lines and devices, and can be applied in different scenarios, further enriching the application scenarios of the technical solution of this application.

[0029] In some optional implementations of the first aspect, the digital communication interface used to connect the first RFID tag includes any one of a serial peripheral interface (IPC), an inter-integrated circuit (IIC) interface, or a universal asynchronous receiver / transmitter (UART). This can be determined based on the needs of the actual application, enriching the implementation methods and application scenarios of the solution and further enhancing the flexibility of the technical solution.

[0030] Secondly, this application provides an identification processing method for an RFID tag, which is applied to a first RFID tag and includes:

[0031] A first RFID tag is connected to a second RFID tag via a digital communication interface. Both the first and second RFID tags are passive tags. The first RFID tag receives a first instruction from an electronic device, which instructs the acquisition of a first identifier pair. The first identifier pair includes a first identifier of the first RFID tag and a second identifier of the second RFID tag connected to the first RFID tag. The first RFID tag acquires the second identifier through the digital communication interface. Then, the first identifier pair is determined based on the second identifier.

[0032] In this application, the first RFID tag receives a first instruction, and based on that instruction, obtains the second identifier of the second RFID tag connected to it through a digital communication interface, thereby obtaining a first identifier pair including the second identifier and the first identifier of the first RFID tag, enabling the electronic device to acquire the first identifier pair. In other words, for the electronic device, acquiring the first identifier pair does not require accessing each RFID tag indicated by the identifier pair; it only needs to access the first RFID tag. This reduces the time complexity of accessing RFID tags, thereby reducing the time overhead of identifying whether multiple tag pairs are successfully paired and improving the efficiency of identifying pairing status.

[0033] In some alternative implementations of the second aspect, the first RFID tag acquires the second tag via a digital communication interface, including: sending an access command to the second RFID tag via the digital communication interface, the access command being used to acquire the second tag; and acquiring the second tag in response to the access command via the digital communication interface.

[0034] In some alternative implementations of the second aspect, before acquiring the second identifier through the digital communication interface, the method further includes: the first RFID tag receiving a second instruction from an electronic device, the second instruction enabling the first RFID tag to communicate with the second RFID tag through the digital communication interface; and responding to the second instruction, enabling the first RFID tag to communicate with the second RFID tag through the digital communication interface.

[0035] In this application, the first RFID tag responds to the second instruction and enables itself to work in the peripheral digital communication interface mode, ensuring that the first RFID tag can obtain the second identifier of the second RFID tag connected to it through the digital communication interface, thereby enabling the electronic device to obtain the first identifier pair, providing a basis for the implementation of the technical solution of this application and improving the feasibility of the solution.

[0036] In some alternative implementations of the second aspect, the first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical distribution device. Alternatively, the first RFID tag is also connected to an optical distribution device, and the second RFID tag is also connected to an optical fiber.

[0037] In some alternative implementations of the second aspect, the first RFID tag is also connected to a power line, and the second RFID tag is also connected to an electrical appliance. Alternatively, the first RFID tag is also connected to an electrical appliance, and the second RFID tag is also connected to a power line.

[0038] In some alternative implementations of the second aspect, the first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device. Alternatively, the first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

[0039] In this application, the RFID tags have multiple possibilities for the connected lines and devices, and can be applied in different communication scenarios, further enriching the application scenarios of the technical solution of this application.

[0040] In some optional implementations of the second aspect, the digital communication interface used to connect the first RFID tag includes any one of IPC, IIC interface, or UART. This can be determined based on the needs of the actual application, enriching the implementation methods and application scenarios of the solution and further enhancing the flexibility of the technical solution.

[0041] Thirdly, this application provides an RFID tag system, including a first RFID tag and a second RFID tag, which are connected through a digital communication interface, and both the first RFID tag and the second RFID tag are passive tags.

[0042] A first RFID tag is used to receive a first instruction from an electronic device. The first instruction instructs the acquisition of a first identifier pair, which includes a first identifier of the first RFID tag and a second identifier of the second RFID tag. The second identifier is acquired through a digital communication interface. The first identifier pair is determined based on the second identifier.

[0043] In this application, the first RFID tag receives a first instruction, and based on that instruction, obtains the second identifier of the second RFID tag connected to it through a digital communication interface, thereby obtaining a first identifier pair including the second identifier and the first identifier of the first RFID tag, enabling the electronic device to acquire the first identifier pair. In other words, for the electronic device, acquiring the first identifier pair does not require accessing each RFID tag indicated by the identifier pair; it only needs to access the first RFID tag. This reduces the time complexity of accessing RFID tags, thereby reducing the time overhead of identifying whether multiple tag pairs are successfully paired and improving the efficiency of identifying pairing status.

[0044] In some alternative implementations of the third aspect, the first RFID tag is specifically used to send an access command to the second RFID tag via a digital communication interface, the access command being used to acquire the second identifier. The second RFID tag is used to respond to the access command, causing the second identifier to be acquired by the first RFID tag.

[0045] In some alternative implementations of the third aspect, the first RFID tag is further configured to: receive a second instruction from an electronic device, the second instruction enabling the first RFID tag to communicate with the second RFID tag via a digital communication interface; and respond to the second instruction by enabling the first RFID tag to communicate with the second RFID tag via the digital communication interface.

[0046] The second RFID tag is also used to: receive a second instruction from an electronic device, the second instruction enabling the second RFID tag to communicate with the first RFID tag via a digital communication interface; and respond to the second instruction by enabling the second RFID tag to communicate with the first RFID tag via the digital communication interface.

[0047] In this application, the first RFID tag and the second RFID tag respond to the second instruction and enable themselves to work in the peripheral digital communication interface mode. This allows the first RFID tag to obtain the second identifier of the second RFID tag connected to it through the digital communication interface, thereby enabling the electronic device to obtain the first identifier pair. This provides a basis for the implementation of the technical solution of this application and improves the feasibility of the solution.

[0048] In some alternative implementations of the third aspect, the first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical distribution device. Alternatively, the first RFID tag is also connected to an optical distribution device, and the second RFID tag is also connected to an optical fiber.

[0049] In some alternative implementations of the third aspect, the first RFID tag is also connected to a power line, and the second RFID tag is also connected to an electrical appliance. Alternatively, the first RFID tag is also connected to an electrical appliance, and the second RFID tag is also connected to a power line.

[0050] In some alternative implementations of the third aspect, the first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device. Alternatively, the first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

[0051] In this application, the RFID tags have multiple possibilities for the connected lines and devices, and can be applied in different communication scenarios, further enriching the application scenarios of the technical solution of this application.

[0052] In some optional implementations of the third aspect, the digital communication interface used to connect the first RFID tag includes any one of IPC, IIC interface, or UART. This can be determined based on the needs of the actual application, enriching the implementation methods and application scenarios of the solution and further enhancing the flexibility of the technical solution.

[0053] Fourthly, this application provides an electronic device, comprising:

[0054] The transmitting unit is used to send a first instruction to a plurality of first RFID tags. The first instruction instructs each first RFID tag to acquire a first identification pair. The first identification pair includes a first identification of the first RFID tag and a second identification of the second RFID tag. The first RFID tag and the second RFID tag are connected through a digital communication interface. Both the first RFID tag and the second RFID tag are passive tags.

[0055] The acquisition unit is configured to acquire multiple first identifier pairs from multiple first RFID tags respectively. It also acquires multiple second identifier pairs, each of which includes a first identifier and a third identifier of a second RFID tag that matches a first RFID tag.

[0056] The processing unit is used to verify the pairing status of multiple first identifier pairs based on multiple second identifier pairs.

[0057] The electronic device is used to perform the method shown in the first aspect above, or any possible implementation of the first aspect, and its beneficial effects are as described above, and will not be repeated here.

[0058] Fifthly, this application provides a first RFID tag, characterized in that the first RFID tag is connected to a second RFID tag via a digital communication interface, both the first and second RFID tags are passive tags, and the first RFID tag includes:

[0059] The receiving unit is configured to receive a first instruction from an electronic device, the first instruction instructing the acquisition of a first identifier pair, the first identifier pair including a first identifier of a first RFID tag and a second identifier of a second RFID tag.

[0060] The processing unit is used to obtain the second identifier through a digital communication interface and to determine the first identifier pair based on the second identifier.

[0061] In this configuration, the first RFID tag is a line-side RFID tag, and the second RFID tag is a port-side RFID tag. Alternatively, the first RFID tag is a port-side RFID tag, and the second RFID tag is a line-side RFID tag. The line-side RFID tag connects the line and the port-side RFID tag. The port-side RFID tag connects the device port and the line-side RFID tag.

[0062] The first RFID tag is used to perform the method shown in the second aspect above, or any possible implementation of the second aspect, and its beneficial effects are as described above, and will not be repeated here.

[0063] Sixthly, this application provides an electronic device including a processor and a memory. The processor stores instructions, and when the instructions stored in the memory are executed on the processor, they implement the method shown in the first aspect or any possible implementation of the first aspect. Its beneficial effects are as described above and will not be repeated here.

[0064] In a seventh aspect, this application provides a first RFID tag, which is a line-side RFID tag or a port-side RFID tag. The first RFID tag includes a chip and an interface circuit. The interface circuit is used to receive signals from other communication devices and transmit them to the chip, or to send signals from the chip to other communication devices. The chip is used to implement the method shown in the second aspect above, or any possible implementation of the second aspect, through logic circuits or executing code instructions. Its beneficial effects are as described above and will not be repeated here.

[0065] Eighthly, this application provides a computer-readable storage medium storing instructions that, when executed on a processor, implement the methods shown in the first aspect, any possible implementation of the first aspect, the second aspect, or any possible implementation of the second aspect. Its beneficial effects are as described above and will not be repeated here.

[0066] Ninthly, this application provides a computer program product that, when executed on a processor, implements the method shown in the first aspect, any possible implementation of the first aspect, the second aspect, or any possible implementation of the second aspect. Its beneficial effects are as described above and will not be repeated here. Attached Figure Description

[0067] Figure 1 is a schematic diagram of a system architecture provided in an embodiment of this application;

[0068] Figure 2 is a schematic diagram of another system architecture provided in an embodiment of this application;

[0069] Figure 3 is a flowchart illustrating an RFID tag pairing and identification method provided in an embodiment of this application.

[0070] Figure 4 is a flowchart illustrating an RFID tag identification processing method provided in an embodiment of this application;

[0071] Figure 5 is a schematic diagram of another system architecture provided in an embodiment of this application;

[0072] Figure 6 is another flowchart illustrating the RFID tag pairing and identification method provided in the embodiments of this application;

[0073] Figure 7 is a structural schematic diagram of an RFID tag system provided in an embodiment of this application;

[0074] Figure 8 is a schematic diagram of another system architecture provided in an embodiment of this application;

[0075] Figure 9 is a schematic diagram of another system architecture provided in an embodiment of this application;

[0076] Figure 10 is a schematic diagram of the circuit principle of the RFID tag provided in the embodiment of this application;

[0077] Figure 11 is a 3D schematic diagram of an RFID tag provided in an embodiment of this application;

[0078] Figure 12 is another 3D schematic diagram of the RFID tag provided in the embodiment of this application;

[0079] Figure 13 is a schematic diagram of the tray for RFID tags provided in an embodiment of this application;

[0080] Figure 14 is a schematic diagram of the experimental results provided in the embodiments of this application;

[0081] Figure 15 is a schematic diagram of an electronic device provided in an embodiment of this application;

[0082] Figure 16 is a structural schematic diagram of a first RFID tag provided in an embodiment of this application;

[0083] Figure 17 is another structural schematic diagram of the electronic device provided in an embodiment of this application. Detailed Implementation

[0084] This application provides an RFID tag pairing and identification method, an RFID tag identification processing method, and an apparatus. In the RFID tag pairing and identification method, the electronic device does not need to access each RFID tag; it only needs to access the first RFID tag in each connected RFID tag pair to obtain the first identifier indicating the currently connected RFID tag pair. This reduces the time complexity of accessing RFID tags, thereby reducing the time overhead of identifying whether multiple tag pairs have been successfully paired and improving efficiency.

[0085] The embodiments of this application will now be described with reference to the accompanying drawings. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.

[0086] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such terms are interchangeable where appropriate; this is merely a way of distinguishing objects with the same attributes in the embodiments of this application. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, so that a process, method, system, product, or apparatus that comprises a series of units is not necessarily limited to those units, but may include other units not explicitly listed or inherent to those processes, methods, products, or apparatuses. Additionally, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or multiple items. For example, at least one of a, b, or c can be expressed as: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0087] First, please refer to Figures 1 and 2, which are schematic diagrams of the system architecture provided in the embodiments of this application.

[0088] As shown in Figure 1, an RFID tag 1 is connected to the line connector for identifying the line. An RFID tag 2 is connected to the device port for identifying the device. In this embodiment, RFID tag 1 and RFID tag 2 are connected to form an RFID tag pair. The electronic device controls an RFID reader to read the interconnected RFID tag pairs and verifies the pairing status to identify RFID tag pairs with incorrect pairing.

[0089] The form of lines and equipment varies across different systems or application scenarios. In optical communication, the line is an optical fiber, and the equipment is an optical cross-connector. In network communication, the line is a network cable, and the equipment is a network device. Additionally, lines can also be power lines, and equipment can be electrical appliances. Power lines can also be electrical wires.

[0090] Regardless of the application scenario, both RFID tag 1 connecting the line and RFID tag 2 connecting the device port are passive devices. A passive device is one that does not have an independent power source and relies on an external energy source. In this embodiment, the electronic device powers RFID tag 1 and RFID tag 2 through an RFID reader.

[0091] In terms of device form, there are various possibilities for the connection between the electronic device and the RFID tag reader provided in the embodiments of this application.

[0092] Optionally, in the embodiment shown in Figure 1, the RFID reader and the electronic device are independent devices, connected via wired or wireless means. The electronic device sends instructions to the RFID reader via a network or line.

[0093] Optionally, in the embodiment shown in Figure 2, the RFID reader can also be a module or unit within an electronic device. In this case, the electronic device can be understood as an embedded device that includes the RFID reader. The electronic device sends instructions to the RFID reader through its internal circuitry.

[0094] In terms of device type, the electronic devices provided in this application embodiment can also be of various types. Electronic devices have computing logic functions, including terminal devices, network devices, etc.

[0095] Among them, terminal equipment can be a device with wireless transceiver function, specifically referring to user equipment (UE), access terminal, subscriber unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication equipment, user agent, or user device. Terminal devices can also be satellite phones, cellular phones, smartphones, wireless data cards, wireless modems, machine-type communication devices, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, in-vehicle devices, communication devices mounted on high-altitude aircraft, wearable devices, drones, robots, terminals in device-to-device (D2D) communication, terminals in vehicle-to-everything (V2X) communication, virtual reality (VR) terminal devices, augmented reality (AR) terminal devices, mixed reality (MR) terminal devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical care, wireless terminals in smart grids, and wireless terminals in transportation safety. This application does not limit the scope of wireless terminals, such as those used in smart cities, smart homes, or future communication networks.

[0096] Network devices can be understood as devices that connect to a network, including information network devices and communication network devices. Common network devices include servers, switches, and routers, but specific examples are not limited here.

[0097] Additionally, it should be noted that Figures 1 and 2 illustrate a single RFID tag pair. In practical applications, multiple RFID tag pairs may be connected to the lines and equipment. The electronic device initiates a group scanning procedure, controlling the RFID reader to acquire the identifiers of all RFID tags within the target area. The target area is the coverage area of ​​the RFID reader's group scanning antenna.

[0098] In the embodiments of this application, there may be more or fewer electronic devices in this communication system. The number and type of electronic devices are determined according to actual needs and are not limited here.

[0099] The technical solutions of the embodiments of this application will be described below. Please refer to Figure 3, which is a schematic flowchart of the RFID tag pairing and identification method provided in the embodiments of this application. In Figure 3, an electronic device is used as the execution subject.

[0100] 301. Send a first instruction to a plurality of first RFID tags, the first instruction instructing each first RFID tag to acquire a first identification pair, the first identification pair including a first identifier of the first RFID tag and a second identifier of the second RFID tag, the first RFID tag and the second RFID tag being connected via a digital communication interface.

[0101] An electronic device sends a first instruction to each of a plurality of first RFID tags within the coverage area of ​​the RFID reader's group scanning antenna via an RFID reader, in order to acquire a plurality of first identifier pairs. Each of these plurality of first identifier pairs includes a first identifier indicating a first RFID tag and a second identifier indicating a second RFID tag. The first RFID tag indicated by the first identifier is connected to the second RFID tag via a digital communication interface. Furthermore, both the first and second RFID tags are passive tags. The first identifier uniquely indicates the first RFID tag, and the second identifier uniquely indicates the second RFID tag.

[0102] Furthermore, an RFID reader can be a module within an electronic device or a device independent of the electronic device. That is, the RFID reader is included within the electronic device, or the RFID reader is connected to the electronic device. In the latter case, the RFID reader and the electronic device can be connected via wired or wireless means; no specific limitation is made here.

[0103] In this embodiment, the RFID tag connecting the line and the device can be configured such that a first RFID tag connects to the line and a second RFID tag connects to the device port. Alternatively, the second RFID tag can connect to the line and the first RFID tag connects to the device. Specifically, the connecting line is connected to a connector on a line, and the connecting device is connected to a port on a device. The RFID tag connecting to the line can be called a line-side RFID tag, and the RFID tag connecting to the device port can be called a port-side RFID tag. The specific line or device to which the RFID tag is connected may differ depending on the application scenario.

[0104] Optionally, in optical communication scenarios, the first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical distribution unit (ODU). Alternatively, the first RFID tag is also connected to an ODU, and the second RFID tag is also connected to an optical fiber. The RFID tag connected to the optical fiber can be called an optical fiber-side RFID tag, and the RFID tag connected to the ODU can be called a port-side RFID tag. The ODU includes optical cable junction boxes, optical fiber distribution boxes, optical transmission equipment, optical fiber distribution frames, and other devices used to connect and distribute optical fibers in optical communication systems.

[0105] Optionally, the first RFID tag is also connected to a power line, and the second RFID tag is also connected to an electrical device. Alternatively, the first RFID tag is also connected to an electrical device, and the second RFID tag is also connected to a power line. Here, the power line can also be called a wire, the RFID tag connected to the wire can be called a wire-side RFID tag, and the RFID tag connected to the electrical device can be called a port-side RFID tag. Electrical devices include servers, transformers, generators, motors, and other equipment that requires cable power supply or transmission.

[0106] Optionally, the first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device. Alternatively, the first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable. The RFID tag connected to the network cable can be called a network cable-side RFID tag, and the RFID tag connected to the network device can be called a port-side RFID tag. Network devices include routers, switches, and other equipment used to connect various servers, personal computers (PCs), application terminals, and other nodes to form an information communication network.

[0107] It should be noted that before sending the first instruction to multiple first RFID tags, that is, before step 301, the electronic device initializes all RFID tags within the target range through the RFID reader, including assigning roles to these RFID tags, that is, determining which RFID tags are first RFID tags and which RFID tags are second RFID tags. Here, the target range is the coverage area of ​​the RFID reader's group scanning antenna.

[0108] In the embodiments of this application, the RFID tags can be connected to various lines and devices, and can be applied in different scenarios, which enriches the application scenarios of the technical solution of this application and improves the flexibility of the technical solution.

[0109] Furthermore, there are various possibilities for the digital communication interface connecting the first and second RFID tags. A digital communication interface is an interface used for transmitting and processing digital signals; its specific form can be a hardware interface or a software interface. For example, the digital communication interface connecting the first and second RFID tags includes: IPC, IIC interface, or UART, etc., without further limitation here.

[0110] In this embodiment, the digital communication interface used to connect the first RFID tag can have multiple possibilities. It can be determined based on the needs of the actual application, enriching the implementation methods and application scenarios of the solution and further enhancing the flexibility of the technical solution.

[0111] 302. Acquire multiple first identifier pairs from multiple first RFID tags respectively.

[0112] An electronic device sends a first instruction to multiple first RFID tags via an RFID reader, triggering each first RFID tag to acquire a first tag pair. For each first RFID tag, it acquires the second identifier of the second RFID tag connected to it via a digital communication interface. Specifically, the aforementioned electronic device initializes all RFID tags within the target range via the RFID reader, and also triggers the second RFID tags within the target range to prepare data, that is, triggers the second RFID tags to store their own second identifier in a first local register that can be read by the first RFID tags. Therefore, after receiving the first instruction, the first RFID tag responds by reading the first local register of the second RFID tag, thus acquiring the second identifier of the second RFID tag.

[0113] After the first RFID tag acquires the second identifier, it stores the second identifier in the second local register of the first RFID tag, which can be read by an RFID reader. The second local register also stores the first identifier of the first RFID tag. Thus, each first RFID tag acquires one first identifier pair. The electronic device controls the RFID reader to read the second local register of the first RFID tag and acquire this first identifier pair. Based on a similar principle, the electronic device acquires multiple first identifier pairs from multiple first RFID tags.

[0114] In some alternative implementations, the electronic device may sequentially acquire multiple first identifier pairs of multiple first RFID tags based on the RSSI of multiple first RFID tags in ascending order.

[0115] It is understandable that the lower the RSSI of the first RFID tag, the less energy it can obtain, and the more easily the first RFID tag is powered off. The electronic device acquires the first tag pairs in ascending order of RSSI, so that the first tag pairs most easily lost are acquired first, thereby making the acquisition of multiple first tag pairs more stable and improving the reliability of the technical solution of this application.

[0116] In some alternative implementations, the electronic device may also acquire multiple first identifier pairs of multiple first RFID tags sequentially based on the distance between multiple first RFID tags and the RFID reader, from far to near or from near to far.

[0117] 303. Obtain a plurality of second identifier pairs, each of the plurality of second identifier pairs including a first identifier and a third identifier of a second RFID tag that matches the first RFID tag.

[0118] Each second identifier pair in the first database is a pair of mutually matched RFID tag pairs. That is, the first RFID tag indicated by the first identifier in each second identifier pair is mutually matched with the second RFID tag indicated by the third identifier. The mutual matching of the first and second RFID tags here can be understood as the first and second RFID tags having a correct connection relationship. The correct connection relationship between the first and second RFID tags can be defined by the user, configured based on system parameters, or set based on actual communication needs; specific details are not limited here.

[0119] Optionally, multiple second identifier pairs are included in the first database, which may be stored locally on the electronic device, in the cloud, or on other devices accessible by the electronic device; no specific limitation is made here.

[0120] 304. Based on multiple second identifier pairs, verify the pairing status of multiple first identifier pairs.

[0121] The electronic device uses multiple second identifier pairs as reference identifier pairs. Based on these multiple second identifier pairs, the electronic device verifies the pairing status of multiple acquired first identifier pairs.

[0122] Specifically, the electronic device verifies each first identifier pair to determine whether the connection between the first RFID tag and the second RFID tag indicated by each first identifier pair is correct. If the first identifier pair is correctly paired, then the connection between the first RFID tag and the second RFID tag indicated by that first identifier pair is correct. If the first identifier pair is incorrectly paired, then the connection between the first RFID tag and the second RFID tag indicated by that first identifier pair is incorrect. Since the first RFID tag and the second RFID tag are respectively connected to the line and the device (or respectively connected to the device and the line), an incorrect connection between the first RFID tag and the second RFID tag also means that the connection between the line and the device is incorrect.

[0123] Furthermore, if the first target identifier pair in a plurality of first identifier pairs includes the same first identifier as the second target identifier pair in a plurality of second identifier pairs, and the second identifier included in the first target identifier pair is different from the third identifier included in the second target identifier pair, then the electronic device determines that the first target identifier pair is incorrectly matched.

[0124] Specifically, there are several possibilities for the second and third identifiers to differ:

[0125] Optionally, if the value of the second identifier in the first target identifier pair is empty or a default value, the electronic device determines that the first RFID tag indicated by the first identifier in the first target identifier pair is not connected to the second RFID tag. That is, the first RFID tag has been mismatched; it should be connected to the second RFID tag at this moment, but it is not. In this case, the electronic device can issue a prompt message to indicate that the first electronic RFID tag has been mismatched. It can also prompt the user to connect the first RFID tag to its matched second RFID tag.

[0126] Optionally, if the value of the second identifier in the first target identifier pair is not empty or a default value, but its value differs from the value of the third identifier in the second target identifier pair, the electronic device determines that the first RFID tag indicated by the first identifier in the first target identifier pair is misconfigured. In other words, the connection between the first RFID tag and the currently connected second RFID tag is incorrect. In this case, the electronic device can issue a prompt message to suggest modifying the connection between the first RFID tag and the second RFID tag.

[0127] For example, please refer to Table 1 below:

[0128] Table 1

[0129] The electronic device acquires a first identifier pair, which includes a first identifier and a second identifier. The first database contains a second identifier pair, which includes a first identifier and a third identifier.

[0130] As shown in row 2 of Table 1, the first identifier pair 1 acquired by the electronic device includes a first identifier of 1.1 and a second identifier of NULL (indicating an empty value). This means that the first RFID tag indicated by the first identifier 1.1 is not connected to the second RFID tag; a mismatch has occurred with this first RFID tag. In the second identifier pair where the first identifier is 1.1, the matching third identifier is 2.1, indicating that the first RFID tag with the first identifier 1.1 should be connected to the second RFID tag indicated by the third identifier 2.1.

[0131] As shown in row 3 of Table 1, the first identifier pair 2 acquired by the electronic device includes a first identifier of 1.2 and a second identifier of 2.4. However, in the second identifier pair where the first identifier is 1.2, the matching third identifier is 2.2. The second identifier 2.4 and the third identifier 2.2 are not the same, indicating an error in the matching of the first identifier pair 2. This means that the connection between the first RFID tag indicated by the first identifier 1.2 and the second RFID tag indicated by the second identifier 2.4 is incorrect. The first RFID tag indicated by the first identifier 1.2 should be connected to the second RFID tag indicated by the third identifier 2.2.

[0132] There are several ways for electronic devices to send notifications. They can display the notification on the screen, send it via email, SMS, or other means, such as making a notification sound. The choice can be made based on the needs of the application, and no specific restrictions are set here.

[0133] In this embodiment of the application, in a scheme where the first identifier included in the first target identifier pair and the second target identifier pair are the same, but the second identifier included in the first target identifier pair is different from the third identifier included in the second target identifier pair, the electronic device determines that the matching of the first target identifier pair is incorrect, thereby determining that the connection relationship of the corresponding first RFID tag is incorrect, providing a basis for the implementation of the technical solution of this application and improving the feasibility of the solution.

[0134] In some alternative implementations, multiple first identifier pairs and multiple second identifier pairs may also have matching identifier pairs. That is, the first identifier pair in a certain first identifier pair is the same as the first identifier in a certain second identifier pair, and the second identifier in the first identifier pair is the same as the third identifier in the second identifier pair. In this scheme, the electronic device determines that the connection relationship of the RFID tag pair indicated by the first identifier pair is correct.

[0135] As described in Figure 3 above, in this embodiment, the electronic device sends a first instruction to the first RFID tag to obtain the first identifier of the first RFID tag and the second identifier of the second RFID tag connected to the first RFID tag, thus obtaining a first identifier pair indicating the currently connected RFID tag pair. Based on the matched second identifier pair in the first database, the first identifier pair is then verified. Specifically, the first RFID tag and the second RFID tag are connected via a digital communication interface. After receiving the first instruction, the first RFID tag obtains the second identifier of the second RFID tag through the digital communication interface. Therefore, when obtaining the first identifier pair, the electronic device only needs to access the first RFID tag, without needing to access each RFID tag indicated by the first identifier pair. This reduces the number of RFID tags the electronic device needs to access, thus reducing the time complexity of accessing RFID tags and reducing the time overhead of identifying whether multiple tag pairs are successfully paired, thereby improving the efficiency of identifying pairing status. Furthermore, this technical solution uses RFID technology to construct a digital communication interface between the line connector and the device port to determine the line connection pairing relationship, solving the problems of poor stability, low efficiency, and inability to verify data that occur in traditional technical solutions such as near-field coupling or simple flag bits. It also enables digital, intelligent, and batch management of dumb resources such as lines and equipment ports, improving the efficiency of communication system inspection and maintenance, fault location, and resource management.

[0136] In this embodiment, the electronic device, in addition to identifying the pairing status of RFID tag pairs, can also identify whether a device port is occupied. Specifically, the first database includes not only multiple second identifier pairs but also service information corresponding to each second identifier pair. The service information indicates the status of the service transmitted between the matched first and second RFID tags. Based on the service information of each second identifier pair, it can also verify whether the interconnected RFID tag pairs indicated by the first identifier pair occupy a device port.

[0137] If the third target identifier pair among multiple first identifier pairs matches the fourth target identifier pair among multiple second identifier pairs, and the service information of the fourth target identifier pair indicates that the service status of the fourth target identifier pair is stopped, then the electronic device determines that the port connected to the device for the tag pair indicated by the third target identifier pair is occupied.

[0138] The "service stoppage" status includes service interruption, service suspension, and service completion. In any of these cases, it means that at the current moment, the service corresponding to the fourth target identifier pair is no longer transmitting service data. Therefore, the port of the device corresponding to the fourth target identifier pair no longer needs to be connected, and the port resource can be released. A match between the fourth target identifier pair and the third target identifier pair means that the port of the device corresponding to the fourth target identifier pair, i.e., the port of the device connected to the RFID tag pair indicated by the third target identifier pair, is in an occupied state. Furthermore, this device port is the port of the device connected to the second RFID tag indicated by the second identifier in the third target identifier pair.

[0139] In this context, "matching the third target identifier pair among multiple first identifier pairs with the fourth target identifier pair among multiple second identifier pairs" means that the first identifier and second identifier included in the third target identifier are the same as the first identifier and third identifier included in the fourth target identifier pair, respectively. Specifically, the first identifier included in the third target identifier pair is the same as the first identifier included in the fourth target identifier pair, and the second identifier included in the third target identifier pair is the same as the third identifier included in the fourth target identifier pair.

[0140] Optionally, in scenarios where a device port is occupied, the electronic device can issue a notification message prompting the user or administrator to release the occupied port resource. The method by which the electronic device issues this notification message is similar to the method used when there is a mismatch in the RFID tag pair, as explained earlier; please refer to the relevant instructions thereafter, which will not be repeated here.

[0141] In this embodiment of the application, the electronic device can also identify whether the device port connected to the tag pair indicated by the tag pair is occupied based on the identification pair and service information, thereby realizing the management of device port resources, enriching the application scenarios of the technical solution of this application, and improving the practicality of the solution.

[0142] In the description of step 302 above, it was introduced that the first RFID tag obtains the second identifier of the second RFID tag connected to it through the digital communication interface. The reason why the first RFID tag can achieve this process is that, before this, the electronic device enables the first RFID tag to work in the peripheral digital communication interface mode, enabling the first RFID tag to communicate with the second RFID tag connected to it through the digital communication interface.

[0143] Specifically, before the electronic device acquires multiple first identifier pairs from multiple first RFID tags, that is, before the aforementioned step 302, the electronic device initializes the RFID tags. This includes the electronic device sending second instructions to the first RFID tag and the second RFID tag respectively. The second instructions enable the first RFID tag and the second RFID tag to communicate through the connected digital communication interface. This can also be understood as enabling the first RFID tag to operate in peripheral digital communication interface mode.

[0144] Furthermore, the electronic device can perform initial configuration on all RFID tags within the target area via an RFID reader. The electronic device sends a second command to the first and second RFID tags within the target area via the RFID reader. This second command enables the first and second RFID tags within the target area to communicate via the connected digital communication interface. In other words, it enables both the first and second RFID tags within the target area to operate in peripheral digital communication interface mode, allowing them to communicate through the connected digital communication interface. The target area is the coverage area of ​​the RFID reader's group scanning antenna.

[0145] The aforementioned initialization configuration includes: assigning roles to RFID tags, determining which RFID tags are first RFID tags and which are second RFID tags; triggering the second RFID tags to prepare data and store their second identifier in a local register that can be read by the first RFID tags connected to them; enabling the first and second RFID tags to work in peripheral digital communication interface mode, so that the connected first and second RFID tags can communicate through the digital communication interface.

[0146] In this embodiment, the electronic device enables the first RFID tag and the second RFID tag to operate in peripheral digital communication interface mode. During the RFID tag reading process, the first RFID tag can obtain the second identifier of the connected second RFID tag through the digital communication interface, thereby enabling the electronic device to obtain the first identifier pair. This provides a basis for the implementation of the technical solution of this application and improves the feasibility of the solution.

[0147] In this embodiment, the electronic device can also perform resource inventory, that is, identify whether there are any missing RFID tags in the current target area. Different implementation methods exist in practical applications, which will be described below.

[0148] In some alternative implementations, the RFID tag pairs indicated by the multiple second identifier pairs included in the first database are located in the target area. Using the first database, the electronic device verifies whether any missing RFID tags exist within the current target area.

[0149] Specifically, the electronic device sends a third instruction to the RFID tags currently located within the target area via an RFID reader. This third instruction is used to acquire the identifiers of the RFID tags currently located within the target area. The RFID tags currently located within the target area respond to the third instruction by storing their identifiers in a local register that can be read by the reader. Based on the third instruction, the RFID reader acquires the identifiers of the RFID tags currently located within the target area and returns these identifiers to the electronic device. The electronic device compares the multiple second identifier pairs included in the first database with the identifiers of the RFID tags currently located within the target area to identify whether any RFID tags are missing from the current target area.

[0150] In the scheme that uses a first database to identify whether RFID tags are missing, the presence of missing RFID tags within the current target area means that RFID tags that should be located in the target area have not been identified within it. This implies that the RFID tag pairs indicated by multiple second identifier pairs include tags that are not present in the RFID tags within the current target area as acquired by the electronic device. This can manifest as the number of tags included in the second identifier pair being greater than the number of tags in the current target area. Alternatively, the second identifier pair may include tags that are not present in the RFID tags within the current target area.

[0151] In some optional implementations, the electronic device can also acquire the identifiers of all RFID tags configured within the target area. The identifiers of all RFID tags configured within the target area are compared with the identifiers of the RFID tags currently located within the target area to verify whether any RFID tags are missing within the current target area. Specifically, the electronic device sends a third instruction to the RFID tags currently located within the target area via an RFID reader. This third instruction is used to acquire the identifiers of the RFID tags currently located within the target area. The RFID tags currently located within the target area respond to the third instruction by storing their own identifiers in a local register that can be read by the reader. Based on the third instruction, the RFID reader acquires the identifiers of the RFID tags currently located within the target area and returns these identifiers to the electronic device. The electronic device compares the identifiers of all RFID tags configured within the target area with the identifiers of the RFID tags currently located within the target area to identify whether any RFID tags are missing within the current target area.

[0152] It should be noted that the identifiers of all RFID tags configured within the target area refer to the identifiers of all RFID tags set up during the deployment phase based on user definitions, system parameters, or the requirements of the actual system architecture. These identifiers are configured before RFID tag pairing is detected, or they are continuously updated as the services transmitted between lines and devices change. In other words, the identifiers of all RFID tags configured within the target area can remain unchanged or be continuously updated.

[0153] Optionally, the identifiers of all RFID tags configured within the target area are included in a second database, which is independent of the first database. Furthermore, the second database can be located locally on the electronic device, in the cloud, or on other devices accessible by the electronic device; specific locations are not limited here.

[0154] In a scheme that identifies whether RFID tags are missing in the current target area by combining the identifiers of all RFID tags configured within the target area, the presence of missing RFID tags in the current target area means that RFID tags that should be located in the target area have not been identified. This implies that the identifiers of all RFID tags configured within the target area include those not present in the identifiers of RFID tags currently located within the target area, as acquired by the electronic device. For example, the number of identifiers of all RFID tags configured within the target area may be greater than the number of identifiers of RFID tags currently located within the target area.

[0155] A missing RFID tag could be due to a malfunction preventing the electronic device from detecting it, or it could be caused by a missing piece of the equipment or wiring connecting the RFID tag. In a solution for a missing RFID tag, the electronic device can issue a notification message to prompt the user or administrator to check the wiring, equipment, or RFID tag to determine the cause of the missing tag and resolve the issue. The method by which the electronic device issues the notification message is similar to the method used when there is a mismatch in the RFID tag pair, as explained earlier; it will not be repeated here.

[0156] In this embodiment, the RFID tag pairs indicated by multiple second identifier pairs included in the first database are located in the target area, which can be used to determine whether there are missing RFID tags in the current target area, further enriching the application scenarios of the technical solution of this application. Furthermore, in this embodiment, the electronic device can identify whether there are missing RFID tags in the current target area in multiple ways, enriching the implementation methods and application scenarios of the technical solution of this application and improving the flexibility of the technical solution.

[0157] The preceding description used an electronic device as the execution subject to introduce the RFID tag pairing and identification method provided in the embodiments of this application. Below, using a first RFID tag as the execution subject, the identification processing method of the RFID tag provided in the embodiments of this application will be described. Please refer to Figure 4, which is a flowchart illustrating the identification processing method of the RFID tag provided in the embodiments of this application.

[0158] 401. Receive a first instruction from an electronic device, the first instruction instructing the acquisition of a first identification pair, the first identification pair including a first identifier of a first RFID tag and a second identifier of a second RFID tag.

[0159] The first RFID tag connects to the second RFID tag via a digital communication interface, and both the first and second RFID tags are passive tags. The digital communication interface includes any one of IPC, IIC interface, or UART. This can be determined based on the needs of the actual application, enriching the implementation methods and application scenarios of the solution and further enhancing the flexibility of the technical solution. Specific details have already been introduced in the relevant explanation of step 301 above and will not be repeated here.

[0160] In addition, there are several possibilities for the devices and lines connecting the first and second RFID tags:

[0161] Optionally, in optical communication scenarios, the first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical distribution unit. Alternatively, the first RFID tag is also connected to an optical distribution unit, and the second RFID tag is also connected to an optical fiber.

[0162] Optionally, the first RFID tag is also connected to a power line, and the second RFID tag is also connected to an electrical appliance. Alternatively, the first RFID tag is also connected to an electrical appliance, and the second RFID tag is also connected to a power line.

[0163] Optionally, the first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device. Alternatively, the first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

[0164] In this embodiment, the RFID tag can be connected to various lines and devices, and can be applied in different communication scenarios, further enriching the application scenarios of the technical solution of this application. Specific details have already been described in the preceding explanation of step 301, and will not be repeated here.

[0165] Optionally, the first RFID tag receives a first instruction from an electronic device via an RFID reader, triggering the acquisition of a first identifier pair. The RFID reader is included in or connected to the electronic device. The first identifier pair includes a first identifier that is the identifier of the first RFID tag itself, and a second identifier that is the identifier of a second RFID tag connected to the first RFID tag via a digital communication interface.

[0166] 402. Obtain the second identifier through the digital communication interface.

[0167] The first RFID tag acquires the second identifier via a digital communication interface. Specifically, the first RFID tag sends an access command to the second RFID tag through the digital communication interface. This access command is used to acquire the second identifier. The second identifier responding to this access command is then acquired through the digital communication interface. In other words, the second RFID tag is unaware of the first RFID tag's operation of acquiring the second identifier.

[0168] Specifically, during the initialization process of the electronic device using an RFID reader as described earlier, the second RFID tag has already stored its second identifier in a local register that can be read by the first RFID tag connected to it. Therefore, after the first RFID tag sends an access command to the second RFID tag, it can directly read the second RFID tag's local register to obtain the second identifier.

[0169] 403. Determine the first identifier pair based on the second identifier.

[0170] The first RFID tag also identifies its own first identifier, and combines this with the acquired second identifier to determine a first identifier pair, which includes both the first and second identifiers. The first RFID tag stores the first identifier pair in a local register that can be read by an RFID reader, enabling electronic devices to retrieve the first identifier pair through the RFID reader.

[0171] In this embodiment, the first RFID tag receives a first instruction, and based on that instruction, obtains the second identifier of the second RFID tag connected to it through a digital communication interface, thereby obtaining a first identifier pair including the second identifier and the first identifier of the first RFID tag, enabling the electronic device to acquire the first identifier pair. In other words, for the electronic device, acquiring the first identifier pair does not require accessing each RFID tag indicated by the identifier pair; it only needs to access the first RFID tag. This reduces the time complexity of accessing RFID tags, thereby reducing the time overhead of identifying whether multiple tag pairs are successfully paired and improving the efficiency of identifying pairing status.

[0172] In some alternative implementations, before acquiring the second identifier through the digital communication interface, the first RFID tag may, based on a second instruction from the electronic device, enable itself to operate in peripheral digital communication interface mode, allowing the first RFID tag and the second RFID tag to communicate through the connected digital communication interface. This enables the first RFID tag to acquire the second identifier through the digital communication interface.

[0173] Specifically, the first RFID tag receives a second instruction from an electronic device via an RFID reader. This second instruction enables the first RFID tag to communicate with the second RFID tag via a digital communication interface. In response to the second instruction, the first RFID tag is enabled to communicate with the second RFID tag via the digital communication interface.

[0174] In this embodiment, the first RFID tag responds to the second instruction and enables itself to work in the peripheral digital communication interface mode, ensuring that the first RFID tag can obtain the second identifier of the second RFID tag connected to it through the digital communication interface, thereby enabling the electronic device to obtain the first identifier pair, providing a basis for the implementation of the technical solution of this application and improving the feasibility of the solution.

[0175] It should be noted that the first RFID tag responds to the second command and completes its initial configuration, which includes not only enabling itself to operate in the peripheral digital communication interface mode, but also identifying itself as the master RFID tag. The master RFID tag refers to the RFID tag that communicates directly with the electronic device, that is, the tag that needs to obtain the identification of the other RFID tag it is connected to.

[0176] In some alternative implementations, the first RFID tag also receives a third instruction sent by the electronic device through an RFID reader, and responds to the third instruction to enable the electronic device to acquire the first identifier of the first RFID tag, thereby verifying whether there is a missing RFID tag in the current target area.

[0177] The following describes the RFID tag pairing and identification method provided in the embodiments of this application from a system perspective. Please refer to Figures 5 and 6. Figure 5 is a schematic diagram of the system architecture provided in the embodiments of this application, and Figure 6 is a schematic diagram of the RFID tag pairing and identification method provided in the embodiments of this application.

[0178] As shown in Figure 5, the system includes a database module, a group scanning management module, an RFID reader, a first RFID tag, and a second RFID tag.

[0179] The database module is used to obtain the first and second databases mentioned above, and to assist the group scanning management module in identifying the pairing status of the first tag pair currently obtained, as well as whether there are any missing RFID tags in the current target area.

[0180] The group scanning management module is used to initialize and configure RFID tags within a target area using an RFID reader, acquire multiple first identifier pairs using the RFID reader to verify the pairing status of these pairs, and acquire the identifiers of all RFID tags in the current target area using the RFID reader to identify whether any RFID tags are missing. It can also output pairing anomalies, resource anomalies, and resource management logs.

[0181] The RFID reader receives various functional commands from the group scanning management module, communicates with the first and / or second RFID tags, and transmits the acquired data to the group scanning management module. These functional commands include resource inventory commands, tag pair identification commands, and initialization commands. The resource inventory command, also known as the aforementioned third command, triggers the RFID reader to acquire the tags of all RFID tags within the current target area. The tag pair identification command, also known as the aforementioned first command, triggers the RFID reader to acquire the first tag pair from the first RFID tag. The initialization command, also known as the aforementioned second command, triggers the RFID reader to initialize the configuration of all RFID tags within the target area.

[0182] The first RFID tag, acting as the master tag, receives operation instructions from the RFID reader and directly returns its own first identifier; or, it obtains the second identifier of the second RFID tag connected to it through the digital communication interface and returns the first identifier pair; or, it enables itself to work in the peripheral digital communication interface mode.

[0183] The second RFID tag, acting as a slave tag, receives operation commands from the RFID reader and directly returns its own second identifier, or enables itself to operate in peripheral digital communication interface mode. It also responds to access commands from the first RFID tag, enabling the first RFID tag to acquire the second identifier.

[0184] Optionally, the database module and the group scanning management module are included in the electronic device described in the aforementioned embodiments. The specific functions implemented are detailed in the preceding descriptions of the electronic device and will not be repeated here. The functions of the RFID reader, the first RFID tag, and the second RFID tag can also be found in the preceding descriptions; storage details are not repeated here.

[0185] In the embodiment shown in Figure 6, taking an optical communication scenario as an example, the first RFID tag is an optical fiber-side RFID tag connected to the optical fiber interface, and the second RFID tag is a port-side tag connected to the optical cross-connect device, as an example of the RFID tag pairing and identification method provided in this application embodiment.

[0186] 601. The electronic device initiates the group scanning program and controls the RFID reader to supply power to the RFID tags.

[0187] There are several possible ways to implement step 601, which will be explained below.

[0188] Optionally, if the electronic device and the RFID reader are independent devices, when the electronic device initiates the group scanning program, it sends a command to the RFID reader to control the RFID reader to function as an RFID tag. The electronic device can initiate the group scanning program via code commands, touch operations, or other methods. The command sent by the electronic device to the RFID reader is transmitted via a wireless network or wireless network.

[0189] Optionally, if the electronic device includes an RFID reader, meaning the RFID reader is a module or unit within the electronic device, the RFID reader automatically enters working mode and supplies power to the RFID tags when the electronic device initiates the group scanning program. There are several ways for the electronic device to initiate the group scanning program, such as clicking the group scanning program start control on the electronic device's screen, using a group scanning program start button or switch on the electronic device, or pressing the button or turning on the switch to initiate the group scanning program.

[0190] The RFID tags powered by the RFID reader are located within the coverage area of ​​the RFID reader's group scanning antenna, i.e., within the target range. Powering the RFID tags means providing energy to them, which can be understood as energizing them so that they can communicate with each other and the signals emitted by the RFID tags can be read by the RFID reader.

[0191] 602. The electronic device initializes all RFID tags within the target area via an RFID reader.

[0192] In this embodiment of the application, the electronic device can initialize RFID tags in batches through an RFID reader. The initialization includes: assigning roles to RFID tags, enabling RFID tags to work in peripheral digital communication interface mode, and triggering a second RFID tag to prepare data.

[0193] In the embodiment shown in Figure 6, assigning roles to RFID tags means determining that the RFID tag on the fiber optic side is the first RFID tag, and the RFID tag on the port side is the second RFID tag. Enabling the RFID tags to operate in peripheral digital communication interface mode means enabling the first and second RFID tags to communicate through the digital communication interface, allowing the first RFID tag to obtain the second identifier of the connected second RFID tag through the digital communication interface. Triggering the second RFID tag to prepare data means that the second RFID tag stores its own second identifier in a local register that can be read by the first RFID tag.

[0194] 603. The electronic device sends the first instruction to the RFID tag on the fiber optic side via an RFID reader.

[0195] The first instruction triggers the fiber optic RFID tag to execute step 604. The fiber optic RFID tag obtains the second identifier of the port-side RFID tag through the digital communication interface, thus obtaining the first identifier pair.

[0196] 605. Electronic devices acquire multiple first identifier pairs via RFID readers.

[0197] 606. Electronic devices identify the pairing of multiple first identifier pairs.

[0198] The implementation process of steps 605 and 606 is similar to steps 303 and 304 in the embodiment shown in Figure 3. Please refer to the relevant description above, and it will not be repeated here.

[0199] 607. After the group scan is completed, the electronic device controls the RFID reader to stop supplying power to the RFID tags.

[0200] In some alternative implementations, after step 601, step 608 can also be performed: the electronic device controls the RFID reader to read all RFID tags within the target range to obtain a list to be processed.

[0201] The pending list includes the identifiers of all RFID tags within the target area.

[0202] 609. Are there any missing RFID tags in the electronic device identification pending list?

[0203] Steps 608 and 609 describe the resource inventory process introduced earlier, that is, the electronic device identifies whether there are any missing RFID tags in the current target area. For the specific implementation process, please refer to the relevant explanations above, which will not be repeated here.

[0204] It should be noted that this application does not limit the execution order of steps 602 and 608. In practical applications, steps 608 and 609 can be executed first, followed by step 602. Alternatively, steps 602 and 608 can be executed simultaneously. In the former approach, a resource inventory of the current target area is performed first. If RFID tags are missing, relevant fault identification and troubleshooting can be carried out first, which also facilitates the identification of RFID tag pair pairing status.

[0205] This application also provides an RFID tag system. The following description is in conjunction with schematic diagrams. Please refer to Figure 7, which is a structural schematic diagram of the RFID tag system provided in this application embodiment. As shown in Figure 7, the RFID tag system 700 includes a first RFID tag 701 and a second RFID tag 702. The first RFID tag 701 and the second RFID tag 702 are connected through a digital communication interface, and both the first RFID tag 701 and the second RFID tag 702 are passive tags.

[0206] In some optional implementations, a first RFID tag 701 is used to receive a first instruction from an electronic device, the first instruction instructing the acquisition of a first identifier pair, the first identifier pair including a first identifier of the first RFID tag 701 and a second identifier of the second RFID tag 702. The second identifier is acquired via a digital communication interface. The first identifier pair is determined based on the second identifier.

[0207] In some alternative implementations, the first RFID tag 701 is specifically used to send an access command to the second RFID tag 702 via a digital communication interface, the access command being used to obtain the second identifier.

[0208] The second RFID tag 702 is used to respond to an access command, so that the second identifier is acquired by the first RFID tag 701.

[0209] In some alternative implementations, the first RFID tag 701 is further configured to: receive a second instruction from an electronic device, the second instruction enabling the first RFID tag 701 to communicate with the second RFID tag 702 via a digital communication interface. The RFID reader is included in the electronic device, or the RFID reader is connected to the electronic device. In response to the second instruction, the first RFID tag 701 is enabled to communicate with the second RFID tag 702 via the digital communication interface.

[0210] The second RFID tag 702 is further configured to: receive a second instruction from an electronic device, the second instruction enabling the second RFID tag 702 to communicate with the first RFID tag 701 via a digital communication interface; and, in response to the second instruction, enable the second RFID tag 702 to communicate with the first RFID tag 701 via the digital communication interface.

[0211] In some alternative implementations, the first RFID tag 701 is used to receive a second instruction from an electronic device via an RFID reader. The second RFID tag 702 is used to receive the second instruction from the electronic device via an RFID reader. The first RFID tag 701 and the second RFID tag 702 are located within the coverage area of ​​the group scanning antenna of the RFID reader.

[0212] In some alternative implementations, the first RFID tag 701 is also connected to an optical fiber, and the second RFID tag 702 is also connected to an optical distribution device. Alternatively, the first RFID tag 701 is also connected to an optical distribution device, and the second RFID tag 702 is also connected to an optical fiber.

[0213] In some alternative implementations, the first RFID tag 701 is also connected to a power line, and the second RFID tag 702 is also connected to an electrical appliance. Alternatively, the first RFID tag 701 is also connected to an electrical appliance, and the second RFID tag 702 is also connected to a power line.

[0214] In some alternative implementations, the first RFID tag 701 is also connected to a network cable, and the second RFID tag 702 is also connected to a network device. Alternatively, the first RFID tag 701 is also connected to a network device, and the second RFID tag 702 is also connected to a network cable.

[0215] In some alternative implementations, a digital communication interface includes any one of IPC, IIC interface, or UART.

[0216] The first RFID tag 701 is used to implement the function of the first RFID tag in the previous embodiment, and the second RFID tag 702 is used to implement the function of the second RFID tag in the previous embodiment, as detailed above, and will not be repeated here.

[0217] The following section uses an optical communication scenario as an example to further describe the RFID tag system provided in this application embodiment. Please refer to Figures 8 and 9, which are schematic diagrams of the system architecture provided in this application embodiment.

[0218] As shown in Figure 8, the RFID reader communicates with the RFID tag system, which includes fiber-optic RFID tags and port-side RFID tags. The following example uses the fiber-optic RFID tag as the first RFID tag and the port-side RFID tag as the second RFID tag.

[0219] The RFID reader has a similar structure to traditional commercial RFID readers, including a power regulation module, a processor system and peripheral devices, and an RFID frequency transmission module. The power regulation module adjusts the RFID reader's transmission power. The processor system and peripheral devices receive operation commands from the terminal and send them to the RFID tags on the fiber optic side. The RFID frequency transmission module communicates with the RFID tags on the fiber optic side via carrier waves, capturing the backscattered signals of the RFID tags to obtain a first tag pair and / or a first tag. It also supplies power to the RFID tags on the port side.

[0220] The structure of fiber optic RFID tags is similar to that of port-side RFID tags. The following explanation uses a fiber optic RFID tag as an example. A fiber optic RFID tag includes a radio frequency (RF) module, a power supply management (PSM) module, an RFID protocol core, and a digital processor. The RF module is used for carrier communication with the RFID reader, modulating the data to be reflected back to the RFID reader onto the backscattered signal, including a first identifier and / or a first identifier pair. The power supply management module powers the fiber optic RFID tag. The RFID protocol core receives instructions from the RFID reader and calls the digital processor to obtain the second identifier of the port-side RFID tag through a digital communication interface.

[0221] For example, in an optical communication scenario, the physical models and deployment locations of the fiber-optic side RFID tag and the port-side RFID tag can be shown in Figure 9. The port-side RFID tag is connected to the port of the optical distribution box. The port-side RFID tag is connected to one end of the fiber-optic side RFID tag via a digital communication interface. The other end of the fiber-optic side RFID tag is connected to the optical fiber.

[0222] In the embodiment shown in Figure 9, during system operation, the RFID reader and the RFID tag on the fiber optic side communicate via backscattering in the ultra-high frequency (UHF) band to obtain data from the local memory within the RFID tag. The UHF band includes 433MHz and 860MHz-930MHz. The specific range of the UHF band in which the RFID tag operates varies in different regions, for example, 902MHz-928MHz, etc., but is not limited here. Furthermore, within the 860MHz-930MHz range, the RFID reader and the RFID tag can communicate via the relevant protocols of the Electronic Product Code Global (EPC Global).

[0223] The fiber optic RFID tags and the port-side RFID tags are interconnected via a digital communication interface, such as an SPI interface. For example, the SPI interface includes five components: chip select (CS) signal, serial clock (SCK) signal, master input / slave output (MISO), master output / slave input (MOSI), and ground (GND). Physically, this is represented by a 5-pin header / female connector connecting the fiber optic RFID tags and the port-side RFID tags.

[0224] The circuit principle of the RFID tag shown in Figure 9 can be illustrated in Figure 10. Please refer to Figure 10, which is a schematic diagram of the circuit principle of the RFID tag provided in the embodiment of this application.

[0225] In the embodiment shown in Figure 10, the RFID tag includes an antenna port (i.e., RF+ and RF-) connected to a helical antenna, a matching circuit (i.e., inductors L1 and L2, capacitor C3), an integrated circuit (IC) (i.e., U1) for the RFID tag, an energy storage capacitor C2, a filter capacitor C1, a light-emitting diode (LED) indicator light, a current-limiting resistor R1, and a digital communication interface U2.

[0226] 3D schematic diagrams of RFID tags are shown in Figures 11 and 12. If Figure 11 is considered as a front view of an RFID tag pair based on a 5-pin header and nut interconnection, then Figure 12 is a back view of the tag pair.

[0227] When an RFID tag is operational, the antenna port receives UHF electromagnetic waves emitted by the RFID reader. After passing through a matching circuit, the waves flow into the RFID tag chip. This chip contains a radio frequency (RF) processing module that rectifies the RF energy into DC power, which is then stored in an energy storage capacitor via an energy management module, providing DC power for subsequent digital communication of the RFID tag. The RF module also demodulates the input RF signal and sends it to the RFID protocol core to receive instructions from the RFID reader. Based on these instructions, the module modulates the data to be reflected back to the RFID reader onto the backscattered signal using on-off keying (OOK). This signal is captured and demodulated by the RFID reader to obtain the local data stored within the RFID tag. In this embodiment, for the fiber optic RFID tag, the locally stored data includes its own identifier and the identifier of the port-side RFID tag connected to it. For the port-side RFID tag, the locally stored data includes its own identifier.

[0228] In the embodiments shown in Figures 11 and 12, the master RFID tag on the fiber optic connector obtains the identifier of the slave RFID tag on the device port through a physical pin header and nut header that transmits digital communication signals. This communication process with a master-slave physical connection offers advantages over existing methods such as near-field coupling between two tags, including higher stability and immunity to interference from neighboring tags. Furthermore, in the proposed technical solution, determining the connection relationship between a pair of fiber optic connectors and the device port only requires one wireless access to the master RFID tag via an RFID tag reader, resulting in a time complexity of O(n), compared to the O(n) time complexity of single-flag GPIO detection technology. 2 This significantly reduces the time overhead of wireless group scanning, which further lays the foundation for the stability of group scanning in the applied technical solution.

[0229] For example, for a circuit board including the RFID tag pairs shown in Figures 11 and 12, the tag pairs can be fixed to the fiber optic connector and the device port respectively using the tray shown in Figure 13, thereby enabling the connection between the tag pairs and the fiber optic cable and the device port.

[0230] For example, the left image in Figure 13 shows a tray conforming to the fiber optic connector. Its bottom latches are conforming to the fiber optic connector, allowing the RFID tag on the fiber optic side to be stably fixed to the fiber. The right image in Figure 13 shows a tray conforming to the port of the optical distribution equipment. Its bottom latches are conforming to the port of the optical distribution equipment, allowing the RFID tag on the port side to be stably fixed to the equipment port.

[0231] In this embodiment, before actually deploying RFID tags, especially before densely deploying RFID tag pairs, simulation software can be used to simulate the real working environment of the RFID tags. This allows for adjustments to the RFID tag circuit structure, optimization of impedance matching performance in actual application scenarios, reduction of the impact of mutual coupling between RFID tag antennas, and improvement of RFID tag wireless power acquisition efficiency and wireless communication quality. The simulation principle uses periodic boundaries to simulate the real working scenario of a tag group. This is a type of boundary condition in electromagnetic computation, reflecting how to use boundary conditions to replace the influence of the surrounding environment on a selected part (system). It can be seen as the conditions that should be added if the surrounding environment is removed while keeping the system unchanged, or as generalizing global properties from partial properties.

[0232] Specifically, the principle of simulating a real working environment to optimize RFID tag design includes: In simulation software, modeling a single pair of RFID tags and RFID reader antennas, and obtaining their energy transmission efficiency as the optimization target. Energy transmission efficiency can be represented by the S21 parameter, which represents the energy transmission efficiency from the electromagnetic radiation port of the RFID reader to the antenna receiving port on the RFID tag side. Using a periodic boundary environment, the real working environment and dimensions of the optical distribution equipment, modeling multiple pairs of RFID tags and RFID reader antennas, and obtaining the energy transmission efficiency as initial parameters. By adjusting the antenna and / or circuit design of the RFID tags towards the optimization target, optimizing the energy transmission efficiency, and performing multiple iterations until convergence, the optimized RFID tag structure is obtained.

[0233] For example, the optimization results of the RF link are shown in Figure 14. The data in Figure 14 are in logarithmic form and reflect the ratio S11 of the energy reflected back from the RFID tag antenna feed port to the feed energy. As shown by the upper curve in Figure 14, due to mutual coupling, the RFID tag frequency, which should have been operating in the UHF band of 902MHz-928MHz, has drifted to 960MHz. As shown by the lower curve in Figure 14, after electromagnetic optimization, the frequency shift is corrected back to around 920MHz; at the same time, the S11 depth is also optimized from -4dB to -12dB, and the energy conversion efficiency is improved by nearly 8 times. This optimization result will broaden the RFID tag RF passband and improve the communication payload.

[0234] In some alternative implementations, in addition to reducing the impact of mutual coupling between RFID tag antennas by adjusting the circuit structure of the RFID tags, a dielectric block can be added to the tray structure shown in Figure 13 to reduce mutual coupling interference between RFID tags, so as to support complex logic communication between fiber optic RFID tags and port-side RFID tags.

[0235] Please refer to Figure 15, which is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. As shown in Figure 15, the electronic device 1500 includes a transmitting unit 1501, an acquiring unit 1502, and a processing unit 1503.

[0236] In some optional embodiments, the transmitting unit 1501 is configured to send a first instruction to a plurality of first RFID tags, the first instruction instructing each first RFID tag to acquire a first identifier pair, the first identifier pair including a first identifier of the first RFID tag and a second identifier of the second RFID tag. The first RFID tags and the second RFID tags are connected via a digital communication interface, and both the first RFID tags and the second RFID tags are passive tags.

[0237] The acquisition unit 1502 is configured to acquire multiple first identifier pairs from multiple first RFID tags respectively. It also acquires multiple second identifier pairs, each of which includes a first identifier and a third identifier of a second RFID tag that matches a first RFID tag.

[0238] The processing unit 1503 is used to verify the pairing status of multiple first identifier pairs based on multiple second identifier pairs.

[0239] In some optional implementations, the processing unit 1503 is specifically configured to determine that the matching of the first target identifier pair is incorrect if the first target identifier pair in a plurality of first identifier pairs includes the same first identifier as the second target identifier pair in a plurality of second identifier pairs, and the second identifier included in the first target identifier pair is different from the third identifier included in the second target identifier pair.

[0240] In some alternative implementations, multiple second identifier pairs are included in a first database, which also includes service information corresponding to each second identifier pair, the service information indicating the status of the service transmitted between the matched first RFID tag and the second RFID tag.

[0241] The processing unit 1503 is further configured to determine that the port connected to the device of the tag pair indicated by the third target identifier pair is occupied if the third target identifier pair among the plurality of first identifier pairs matches the fourth target identifier pair among the plurality of second identifier pairs, and the service information of the fourth target identifier pair indicates that the service status of the fourth target identifier pair is stopped.

[0242] Among them, the third target identifier pair in the plurality of first identifier pairs matches the fourth target identifier pair in the plurality of second identifier pairs, including: the first identifier and the second identifier included in the third target identifier are the same as the first identifier and the third identifier included in the fourth target identifier pair, respectively.

[0243] In some optional implementations, the acquisition unit 1502 is specifically used to acquire multiple first identification pairs of multiple first RFID tags in sequence from low to high based on the received signal strength index (RSSI) of multiple first RFID tags.

[0244] In some alternative implementations, the transmitting unit 1501 is further configured to transmit a second instruction to the first RFID tag and the second RFID tag, the second instruction being used for the first RFID tag and the second RFID tag to communicate through a connected digital communication interface.

[0245] In some alternative implementations, the electronic device 1500 includes an RFID reader, or the electronic device 1500 is connected to an RFID reader. The coverage area of ​​the RFID reader's group scanning antenna is the target area. The RFID tag pairs indicated by the plurality of second identifier pairs included in the first database are located in the target area.

[0246] The transmitting unit 1501 is also used to send a third instruction to the RFID tag currently located in the target area, the third instruction being used to obtain the identifier of the RFID tag currently located in the target area.

[0247] The acquisition unit 1502 is also used to acquire the identifier of the RFID tag currently located in the target area based on a third instruction.

[0248] The processing unit 1503 is also used to identify whether there are missing RFID tags in the current target area based on the first database and the identifiers of RFID tags currently located in the target area.

[0249] In some alternative implementations, the electronic device 1500 includes an RFID reader, or the electronic device 1500 is connected to an RFID reader. The coverage area of ​​the RFID reader's group scanning antenna is the target area.

[0250] The transmitting unit 1501 is also used to send a third instruction to the RFID tag currently located in the target area, the third instruction being used to obtain the identifier of the RFID tag currently located in the target area.

[0251] The acquisition unit 1502 is also used to acquire the identifiers of RFID tags currently located within the target area based on a third instruction. It acquires the identifiers of all RFID tags configured within the target area.

[0252] The processing unit 1503 is also used to identify whether there are missing RFID tags in the current target area based on the identifiers of all RFID tags configured in the target area and the identifiers of the RFID tags currently located in the target area.

[0253] In some alternative implementations, the first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical distribution device. Alternatively, the first RFID tag is also connected to an optical distribution device, and the second RFID tag is also connected to an optical fiber.

[0254] In some alternative implementations, the first RFID tag is also connected to a power line, and the second RFID tag is also connected to an electrical appliance. Alternatively, the first RFID tag is also connected to an electrical appliance, and the second RFID tag is also connected to a power line.

[0255] In some alternative implementations, the first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device. Alternatively, the first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

[0256] In some alternative implementations, a digital communication interface includes any one of IPC, IIC interface, or UART.

[0257] Electronic device 1500 is used to implement the operations performed by the electronic device in the aforementioned embodiments, as detailed above, and will not be repeated here.

[0258] Please refer to Figure 16, which is a schematic diagram of the structure of the first RFID tag provided in an embodiment of this application. In this embodiment, the first RFID tag is connected to the second RFID tag via a digital communication interface, and both the first and second RFID tags are passive tags. Alternatively, the first RFID tag is a line-side RFID tag, and the second RFID tag is a port-side RFID tag. Or, the first RFID tag is a port-side RFID tag, and the second RFID tag is a line-side RFID tag. The line-side RFID tag connects the line and the port-side RFID tag. The port-side RFID tag connects the device port and the line-side RFID tag.

[0259] As shown in Figure 16, the first RFID tag 1600 includes a receiving unit 1601 and a processing unit 1602.

[0260] In some alternative implementations, the receiving unit 1601 is configured to receive a first instruction from an electronic device, the first instruction instructing the acquisition of a first identifier pair, the first identifier pair including a first identifier of a first RFID tag 1600 and a second identifier of a second RFID tag connected to the first RFID tag 1600 via a digital communication interface.

[0261] The processing unit 1602 is used to obtain a second identifier through a digital communication interface and determine a first identifier pair based on the second identifier.

[0262] In some optional implementations, the processing unit 1602 is specifically configured to send an access command to the second RFID tag via a digital communication interface, the access command being used to acquire the second identifier. The second identifier, responding to the access command, is acquired via the digital communication interface.

[0263] In some alternative implementations, the receiving unit 1601 is further configured to receive a second instruction from an electronic device, the second instruction being configured to enable the first RFID tag to communicate with the second RFID tag via a digital communication interface.

[0264] The processing unit 1602 is also configured to respond to the second instruction and enable the first RFID tag to communicate with the second RFID tag through the digital communication interface.

[0265] In some alternative implementations, the RFID reader is included in the electronic device, or the RFID reader is connected to the electronic device. The receiving unit 1601 is specifically configured to receive a second instruction from the electronic device via the RFID reader.

[0266] In some alternative implementations, the first RFID tag 1600 is also connected to an optical fiber, and the second RFID tag is also connected to an optical distribution device. Alternatively, the first RFID tag 1600 is also connected to an optical distribution device, and the second RFID tag is also connected to an optical fiber.

[0267] In some alternative implementations, the first RFID tag 1600 is also connected to a power line, and the second RFID tag is also connected to an electrical appliance. Alternatively, the first RFID tag 1600 is also connected to an electrical appliance, and the second RFID tag is also connected to a power line.

[0268] In some alternative implementations, the first RFID tag 1600 is also connected to a network cable, and the second RFID tag is also connected to a network device. Alternatively, the first RFID tag 1600 is also connected to a network device, and the second RFID tag is also connected to a network cable.

[0269] In some alternative implementations, a digital communication interface includes any one of IPC, IIC interface, or UART.

[0270] The first RFID tag 1600 is used to perform the operations of RFID tag 1 or RFID tag 2 in the embodiments shown in Figures 1 and 2 above, or to perform the operations performed by the first RFID tag in the embodiments shown in Figures 3 to 14 above, as detailed above, and will not be repeated here.

[0271] Please refer to Figure 17, which is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device 1700 includes a processor 1701, a memory 1702, a communication interface 1703, and a bus 1704. The processor 1701, memory 1702, and communication interface 1703 communicate via the bus 1704, or they can communicate through other means such as wireless transmission. The memory 1702 stores program code, and the processor 1701 can call the program code stored in the memory 1702 to execute the operations performed by the electronic device in the aforementioned embodiment; further details will not be elaborated here.

[0272] It should be understood that in the embodiments of this application, the processor 1701 may be a CPU, or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.

[0273] The memory 1702 may include read-only memory and random access memory, and provides instructions and data to the processor 1701. The memory 1702 may also include non-volatile random access memory. For example, the memory 1702 may also store device type information.

[0274] The memory 1702 can be volatile memory or non-volatile memory, or it can include both. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0275] In addition to the data bus, bus 1704 can also include a power bus, control bus, and status signal bus. However, for clarity, all buses are labeled as bus 1704 in the diagram. Bus 1740 can be a Peripheral Component Interconnect Express (PCIe) bus, or an Extended Industry Standard Architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc. Bus 1704 can be divided into address bus, data bus, control bus, etc.

[0276] Electronic device 1700 may also include one or more communication interfaces and one or more operating systems, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM wait.

[0277] This application embodiment also provides a first RFID tag, which is a line-side RFID tag or a port-side RFID tag. The first RFID tag includes a chip and an interface circuit. The interface circuit is used to receive signals from other communication devices and transmit them to the chip, or to send signals from the chip to other communication devices. Other communication devices include the electronic devices described in the foregoing embodiments. The chip is used to implement the method performed by the first RFID tag in the embodiments through logic circuits or execution code instructions. Its beneficial effects are as described above and will not be repeated here.

[0278] This application also provides a computer-readable storage medium storing instructions that, when executed on a processor, implement the methods performed by the electronic device, the first RFID tag, or the second RFID tag in the aforementioned embodiments. For details, please refer to the preceding descriptions; they will not be repeated here.

[0279] This application also provides a computer program product that, when executed on a processor, implements the method executed by the electronic device, the first RFID tag, or the second RFID tag in the foregoing embodiments. For details, please refer to the relevant descriptions above, which will not be repeated here.

[0280] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0281] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.

[0282] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0283] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0284] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for pairing and identifying RFID tags, characterized in that, The method is applied to an electronic device, and the method includes: Send a first instruction to a plurality of first RFID tags, the first instruction instructing each first RFID tag to acquire a first identifier pair, the first identifier pair including a first identifier of the first RFID tag and a second identifier of the second RFID tag, the first RFID tag and the second RFID tag being connected via a digital communication interface, and both the first RFID tag and the second RFID tag being passive tags; Multiple first identifier pairs are acquired from the plurality of first RFID tags respectively; Acquire multiple second identifier pairs, each of the multiple second identifier pairs including the first identifier and a third identifier of a second RFID tag that matches the first RFID tag; The pairing status of the plurality of first identifier pairs is verified based on the plurality of second identifier pairs.

2. The method according to claim 1, characterized in that, The step of verifying the pairing status of the plurality of first identifier pairs based on the plurality of second identifier pairs includes: If the first target identifier pair in the plurality of first identifier pairs is the same as the first identifier in the second target identifier pair in the plurality of second identifier pairs, and the second identifier in the first target identifier pair is different from the third identifier in the second target identifier pair, then it is determined that the matching of the first target identifier pair is incorrect.

3. The method according to claim 1 or 2, characterized in that, The plurality of second identifier pairs are contained in a first database, and the first database also includes service information corresponding to each second identifier pair, wherein the service information indicates the status of the service transmitted between the matched first RFID tag and the second RFID tag. The method further includes: If the third target identifier pair among the plurality of first identifier pairs matches the fourth target identifier pair among the plurality of second identifier pairs, and the service information of the fourth target identifier pair indicates that the service status of the fourth target identifier pair is stopped, then it is determined that the port connected to the device by the tag pair indicated by the third target identifier pair is occupied. The third target identifier pair in the plurality of first identifier pairs is matched with the fourth target identifier pair in the plurality of second identifier pairs, including: the first identifier and the second identifier included in the third target identifier are the same as the first identifier and the third identifier included in the fourth target identifier pair, respectively.

4. The method according to any one of claims 1 to 3, characterized in that, The acquisition of multiple first identifier pairs of the multiple first RFID tags includes: Based on the Received Signal Strength Index (RSSI) of the plurality of first RFID tags in ascending order, the plurality of first identifier pairs of the plurality of first RFID tags are obtained sequentially.

5. The method according to any one of claims 1 to 4, characterized in that, Before acquiring the plurality of first identifier pairs from the plurality of first RFID tags respectively, the method further includes: A second instruction is sent to the first RFID tag and the second RFID tag, the second instruction being used to enable the first RFID tag and the second RFID tag to communicate through the connected digital communication interface.

6. The method according to any one of claims 3 to 5, characterized in that, The electronic device includes an RFID reader, or the electronic device is connected to the RFID reader, and the coverage area of ​​the RFID reader's group scanning antenna is the target area; The first database includes multiple second identifier pairs indicating RFID tag pairs located in the target area; The method further includes: Send a third instruction to the RFID tag currently located within the target area, the third instruction being used to obtain the identifier of the RFID tag currently located within the target area; Based on the third instruction, obtain the identifier of the RFID tag currently located within the target area; Based on the first database and the identifiers of the RFID tags currently located within the target area, identify whether there are any missing RFID tags within the current target area.

7. The method according to any one of claims 1 to 5, characterized in that, The electronic device includes an RFID reader, or the electronic device is connected to the RFID reader, and the coverage area of ​​the RFID reader's group scanning antenna is the target area; The method further includes: Send a third instruction to the RFID tag currently located within the target area, the third instruction being used to obtain the identifier of the RFID tag currently located within the target area; Based on the third instruction, obtain the identifier of the RFID tag currently located within the target area; Obtain the identifiers of all RFID tags configured within the target area; Based on the identifiers of all RFID tags configured within the target area and the identifiers of the RFID tags currently located within the target area, identify whether there are any missing RFID tags within the current target area.

8. The method according to any one of claims 1 to 7, characterized in that, The first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical exchange device; or... The first RFID tag is also connected to an optical exchange device, and the second RFID tag is also connected to an optical fiber.

9. The method according to any one of claims 1 to 7, characterized in that, The first RFID tag is also connected to a power line, and the second RFID tag is also connected to electrical equipment; or... The first RFID tag is also connected to electrical equipment, and the second RFID tag is also connected to a power line.

10. The method according to any one of claims 1 to 7, characterized in that, The first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device; or... The first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

11. The method according to any one of claims 1 to 10, characterized in that, The digital communication interface includes any one of the following: Serial Peripheral Interface (SPI), Integrated Circuit Bus (IIC) interface, or Universal Asynchronous Receiver / Transmitter (UART).

12. A method for identifying and processing RFID tags, characterized in that, The method is applied to a first RFID tag, which is connected to a second RFID tag via a digital communication interface. Both the first and second RFID tags are passive tags. The method includes: Receive a first instruction from an electronic device, the first instruction instructing the acquisition of a first identifier pair, the first identifier pair including a first identifier of the first RFID tag and a second identifier of the second RFID tag; The second identifier is obtained through the digital communication interface; The first identifier pair is determined based on the second identifier.

13. The method according to claim 12, characterized in that, The step of obtaining the second identifier through the digital communication interface includes: An access command is sent to the second RFID tag via the digital communication interface, the access command being used to obtain the second identifier; The second identifier in response to the access command is obtained through the digital communication interface.

14. The method according to claim 12 or 13, characterized in that, Before obtaining the second identifier through the digital communication interface, the method further includes: Receive a second instruction from an electronic device, the second instruction being used to enable the first RFID tag to communicate with the second RFID tag through the digital communication interface; In response to the second instruction, the first RFID tag is enabled to communicate with the second RFID tag through the digital communication interface.

15. The method according to any one of claims 12 to 14, characterized in that, The first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical exchange device; or... The first RFID tag is also connected to an optical exchange device, and the second RFID tag is also connected to an optical fiber.

16. The method according to any one of claims 12 to 14, characterized in that, The first RFID tag is also connected to a power line, and the second RFID tag is also connected to electrical equipment; or... The first RFID tag is also connected to electrical equipment, and the second RFID tag is also connected to a power line.

17. The method according to any one of claims 12 to 14, characterized in that, The first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device; or... The first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

18. The method according to any one of claims 12 to 17, characterized in that, The digital communication interface includes any one of SPI, IIC interface, or UART.

19. An RFID tag system, characterized in that, It includes a first RFID tag and a second RFID tag, which are connected through a digital communication interface, and both the first RFID tag and the second RFID tag are passive tags; The first RFID tag is used to receive a first instruction from an electronic device, the first instruction instructing the acquisition of a first identifier pair, the first identifier pair including a first identifier of the first RFID tag and a second identifier of the second RFID tag; The first RFID tag is also used to acquire the second identifier through the digital communication interface; The first RFID tag is also used to determine the first identifier pair based on the second identifier.

20. The system according to claim 19, characterized in that, The first RFID tag is specifically used to send an access command to the second RFID tag through the digital communication interface, and the access command is used to obtain the second identifier; The second RFID tag is used to respond to the access command, causing the second identifier to be acquired by the first RFID tag.

21. The system according to claim 19 or 20, characterized in that, The first RFID tag is also used for: Receive a second instruction from an electronic device, the second instruction being used to enable the first RFID tag to communicate with the second RFID tag through the digital communication interface; In response to the second instruction, enable the first RFID tag to communicate with the second RFID tag through the digital communication interface; The second RFID tag is also used for: Receive a second instruction from an electronic device, the second instruction being used to enable the second RFID tag to communicate with the first RFID tag through the digital communication interface; In response to the second instruction, the second RFID tag is enabled to communicate with the first RFID tag through the digital communication interface.

22. The system according to any one of claims 19 to 21, characterized in that, The first RFID tag is also connected to an optical fiber, and the second RFID tag is also connected to an optical exchange device; or... The first RFID tag is also connected to an optical exchange device, and the second RFID tag is also connected to an optical fiber.

23. The system according to any one of claims 19 to 21, characterized in that, The first RFID tag is also connected to a power line, and the second RFID tag is also connected to electrical equipment; or... The first RFID tag is also connected to electrical equipment, and the second RFID tag is also connected to a power line.

24. The system according to any one of claims 19 to 21, characterized in that, The first RFID tag is also connected to a network cable, and the second RFID tag is also connected to a network device; or... The first RFID tag is also connected to a network device, and the second RFID tag is also connected to a network cable.

25. The system according to any one of claims 19 to 24, characterized in that, The digital communication interface includes any one of SPI, IIC interface, or UART.

26. An electronic device, characterized in that, include: A transmitting unit is used to send a first instruction to a plurality of first RFID tags. The first instruction instructs each first RFID tag to acquire a first identifier pair. The first identifier pair includes a first identifier of the first RFID tag and a second identifier of the second RFID tag. The first RFID tag and the second RFID tag are connected through a digital communication interface. Both the first RFID tag and the second RFID tag are passive tags. The acquisition unit is used to acquire multiple first identifier pairs from the plurality of first RFID tags respectively; The acquisition unit is further configured to acquire a plurality of second identifier pairs, each of the plurality of second identifier pairs including the first identifier and a third identifier of a second RFID tag that matches the first RFID tag; The processing unit is used to verify the pairing status of the plurality of first identifier pairs based on the plurality of second identifier pairs.

27. A first RFID tag, characterized in that, The first RFID tag is connected to the second RFID tag via a digital communication interface. Both the first and second RFID tags are passive tags. The first RFID tag includes: A receiving unit is configured to receive a first instruction from an electronic device, the first instruction instructing the acquisition of a first identifier pair, the first identifier pair including a first identifier of the first RFID tag and a second identifier of the second RFID tag; A processing unit is configured to obtain the second identifier through the digital communication interface; The processing unit is further configured to determine the first identifier pair so that the electronic device can acquire the first identifier pair; Wherein, the first RFID tag is a line-side RFID tag, and the second RFID tag is a port-side RFID tag; or... The first RFID tag is the port-side RFID tag, and the second RFID tag is the line-side RFID tag.

28. An electronic device, characterized in that, Includes a processor, which is coupled to a memory; The memory stores instructions that, when executed on the processor, cause the electronic device to perform the method of any one of claims 1 to 11.

29. A first RFID tag, characterized in that, Includes chips and interface circuits; the first RFID tag is a line-side RFID tag or a port-side RFID tag. The interface circuit is used to receive signals from other communication devices and transmit them to the chip, or to send signals from the chip to other communication devices. The chip is used to implement the method as described in any one of claims 12 to 18 via logic circuits or executable code instructions.

30. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on a processor, cause the method of any one of claims 1 to 11, 12 to 18 to be implemented.

31. A computer program product, characterized in that, When the computer program product is executed on a computer, the method of any one of claims 1 to 11, 12 to 18 is implemented.