Session management method, device and system, electronic equipment and storage medium

By broadcasting inventory instructions and acquiring signal strength information in the RFID system, unnecessary session connections can be identified and interrupted, thus solving the problem of session connection interruption in the prior art and improving tag inventory efficiency and resource utilization.

CN121842867APending Publication Date: 2026-04-10CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA MOBILE COMM LTD RES INST
Filing Date
2026-01-08
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

When maintaining a session connection with electronic tags, existing RFID systems may interrupt the existing session connection if an inventory command is initiated and a new tag is found, resulting in low tag inventory efficiency and inability to effectively manage the session connection status.

Method used

By broadcasting inventory instructions to the signal coverage area, the system identifies tags that have not established a session connection based on the response information of the electronic tags, sends a connection assessment request to obtain signal strength information, determines whether to maintain the session connection based on the signal strength, and sends a release instruction to terminate unnecessary connections.

Benefits of technology

While maintaining effective communication connections, it improves the overall efficiency and resource utilization of tag inventory, and achieves precise management of session connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121842867A_ABST
    Figure CN121842867A_ABST
Patent Text Reader

Abstract

The invention provides a session management method, device and system, electronic equipment and a storage medium, and the main technical features comprise the steps: broadcasting an inventory instruction to all electronic tags in a signal coverage area of a reader-writer under the condition that a session connection with a first electronic tag is maintained based on a session identifier corresponding to the first electronic tag, determining a second electronic tag which does not establish session connection with the reader-writer according to received response information to the checking instruction; a connection evaluation request is sent to the first electronic tag, signal strength information of the first electronic tag is obtained according to response information of the first electronic tag, and whether session connection with the first electronic tag is maintained or not is judged based on the signal strength information; the connection evaluation request carries a session identifier corresponding to the first electronic tag; when the judgment result is that the session connection with the first electronic tag does not need to be maintained, sending a release instruction to the first electronic tag; the release instruction carries a session identifier corresponding to the first electronic tag.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the Internet of Things (IoT) field, and more particularly to a session management method, apparatus, system, electronic device, and storage medium. Background Technology

[0002] Radio Frequency Identification (RFID) systems are widely used in the Internet of Things (IoT) field, enabling object identification and data exchange through wireless communication between readers and electronic tags.

[0003] Currently, readers typically inventory all electronic tags within their signal coverage area via broadcast inventory commands. To enable continuous access to specific tags, standard protocols provide mechanisms for establishing targeted communication, such as putting the tag into a specific state and obtaining a session identifier.

[0004] However, after directional communication is established, if the reader needs to perform a new round of inventory to discover newly entered tags, the existing directional communication usually needs to be interrupted, or it is limited by the limited number of parallel sessions. This makes it difficult for the system to efficiently discover and identify new tags while maintaining a stable communication connection. In addition, for tags with established connections, there is a lack of a mechanism to flexibly manage the continuity or interruption of session connections based on the actual status, affecting the effective utilization of system resources. Summary of the Invention

[0005] This disclosure provides a session management method, apparatus, system, electronic device, and storage medium. Its main objective is to address the problems in the prior art where, when a reader initiates an inventory command to discover a new tag while maintaining a session connection with an electronic tag, the existing session connection is interrupted, resulting in low tag inventory efficiency and an inability to effectively manage the session connection status based on the actual communication status of the tag.

[0006] According to a first aspect of this disclosure, a session management method is provided, the method being applied to a reader / writer, comprising: While maintaining a session connection with the first electronic tag based on the session identifier corresponding to the first electronic tag, an inventory instruction is broadcast to all electronic tags within the signal coverage area of ​​the reader, and based on the response information of all electronic tags to the inventory instruction received, a second electronic tag that has not established a session connection with the reader is determined. A connection evaluation request is sent to the first electronic tag. Based on the response information of the first electronic tag, the signal strength information of the first electronic tag is obtained, and it is determined whether to maintain the session connection with the first electronic tag based on the signal strength information. The connection evaluation request carries the session identifier corresponding to the first electronic tag. If the determination result is that there is no need to maintain the session connection with the first electronic tag, a release command is sent to the first electronic tag; the release command carries the session identifier corresponding to the first electronic tag.

[0007] In some embodiments, determining a second electronic tag that has not established a session connection with the reader / writer based on the response information of all received electronic tags to the inventory instruction includes: The electronic tag identifier carried in the response information is compared with the set of electronic tag identifiers of the established session connection; Electronic tags that are not present in the set of electronic tag identifiers of the established session connection are identified as the second electronic tag.

[0008] In some embodiments, obtaining the signal strength information of the first electronic tag based on the response information of the first electronic tag includes: The signal strength information is obtained by detecting the received signal strength of the response information of the first electronic tag; or, The signal strength data calculated and carried by the first electronic tag is parsed from the response information to obtain the signal strength information.

[0009] In some embodiments, determining whether to maintain the session connection with the first electronic tag based on the signal strength information includes: The signal strength information is compared with a preset signal strength threshold. If the signal strength information is lower than the preset signal strength threshold, then there is no need to maintain the session connection with the first electronic tag.

[0010] In some embodiments, after determining a second electronic tag that has not established a session connection with the reader based on the response information of all received electronic tags to the inventory instruction, the method further includes: Create a record for the second electronic tag in the tag information table, and mark the second electronic tag as discovered in the tag information table; Based on the session identifier of the first electronic tag, the first electronic tag is marked as connected in the tag information table.

[0011] In some embodiments, after sending a release command to the first electronic tag when the determination result indicates that it is unnecessary to maintain a session connection with the first electronic tag, the method further includes: The first electronic tag is updated to the "unconnected" state in the tag information table.

[0012] According to a second aspect of this disclosure, a session management method is provided, the method being applied to an electronic tag in a connected state, comprising: A session connection is established with the reader, and a session identifier is sent to the reader so that the reader can maintain a session connection with the first electronic tag based on the session identifier. The first electronic tag is an electronic tag in a connected state. Receive the inventory command sent by the reader / writer and suppress the response to the inventory command; In response to a connection evaluation request sent by the reader, a response information corresponding to the connection evaluation request is sent to the reader so that the reader can obtain the signal strength information of the first electronic tag based on the response information; the response information carries a session identifier corresponding to the first electronic tag. In response to receiving a release command from the reader, the session connection is interrupted.

[0013] In some embodiments, receiving an inventory command sent by the reader and suppressing the response to the inventory command includes: Receive the inventory command and check the local session connection status; If the session connection status is connected, calculate the time difference between the current time and the session timestamp corresponding to the session identifier; Determine whether the time difference exceeds a preset time threshold; If the time difference does not exceed the preset time threshold, then the response to the inventory command is suppressed; If the time difference exceeds the preset time threshold, the local session connection status is updated to not connected, and the inventory command is responded to.

[0014] According to a third aspect of this disclosure, a session management device is provided, the device being configured in a reader / writer, comprising: The broadcasting unit is used to broadcast an inventory instruction to all electronic tags within the signal coverage area of ​​the reader while maintaining a session connection with the first electronic tag based on the session identifier corresponding to the first electronic tag. The first determining unit is used to determine, based on the response information of all received electronic tags to the inventory instruction, a second electronic tag that has not established a session connection with the reader / writer; The second determining unit is used to send a connection evaluation request to the first electronic tag and obtain the signal strength information of the first electronic tag based on the response information of the first electronic tag. The determination unit is used to determine whether to maintain the session connection with the first electronic tag based on the signal strength information; the connection evaluation request carries the session identifier corresponding to the first electronic tag; The first sending unit is configured to send a release command to the first electronic tag when the determination result is that there is no need to maintain the session connection with the first electronic tag; the release command carries the session identifier corresponding to the first electronic tag.

[0015] In some embodiments, the first determining unit includes: The comparison module is used to compare the electronic tag identifier carried in the response information with the set of electronic tag identifiers of the established session connection; The first determining module is used to determine an electronic tag that does not exist in the set of electronic tag identifiers of the established session connection as the second electronic tag.

[0016] In some embodiments, the second determining unit includes: The second determining module is used to detect the received signal strength of the response information of the first electronic tag to obtain the signal strength information; or, The third determining module is used to parse the signal strength data calculated and carried by the first electronic tag from the response information to obtain the signal strength information.

[0017] In some embodiments, the determining unit includes: The comparison module is used to compare the signal strength information with a preset signal strength threshold. An interrupt module is used to prevent the session connection with the first electronic tag from being maintained when the signal strength information is lower than the preset signal strength threshold.

[0018] In some embodiments, the apparatus further includes: The first marking unit is used to create a record for the second electronic tag in the tag information table and mark the second electronic tag as discovered in the tag information table after the first determining unit determines the second electronic tag that has not established a session connection with the reader based on the response information of all received electronic tags to the inventory instruction; The second marking unit is used to mark the first electronic tag as connected in the tag information table based on the session identifier of the first electronic tag.

[0019] In some embodiments, the apparatus further includes: The updating unit is configured to update the first electronic tag to the unconnected state in the tag information table after the first sending unit sends a release command to the first electronic tag if the determination result is that there is no need to maintain the session connection with the first electronic tag.

[0020] According to a fourth aspect of this disclosure, a session management device is provided, the device being configured on an electronic tag in a connected state, comprising: A connection unit is used to establish a session connection with the reader and send a session identifier to the reader so that the reader can maintain a session connection with a first electronic tag based on the session identifier, wherein the first electronic tag is an electronic tag in a connected state; A receiving unit is configured to receive an inventory command sent by the reader and suppress the response to the inventory command. The second sending unit is configured to respond to the connection evaluation request sent by the reader by sending response information corresponding to the connection evaluation request to the reader, so that the reader can obtain the signal strength information of the first electronic tag based on the response information; the response information carries the session identifier corresponding to the first electronic tag. An interrupt unit is used to interrupt the session connection in response to receiving a release command sent by the reader / writer.

[0021] In some embodiments, the receiving unit includes: The inspection module is used to receive the inventory command and check the local session connection status; The calculation module is used to calculate the time difference between the current time and the session timestamp corresponding to the session identifier when the session connection status is connected. The judgment module is used to determine whether the time difference exceeds a preset time threshold; The suppression module is used to suppress the response to the inventory command when the time difference does not exceed the preset time threshold. The response module is used to update the local session connection status to disconnected and respond to the inventory command when the time difference exceeds the preset time threshold.

[0022] According to a fifth aspect of this disclosure, a session management system is provided, the system comprising a reader / writer and a connected electronic tag, wherein: The reader / writer includes the device as described in the third aspect above; The connected electronic tag includes the device described in the fourth aspect above.

[0023] According to a sixth aspect of this disclosure, an electronic device is provided, comprising: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the method described in either the first or second aspect.

[0024] According to a seventh aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method described in either the first or second aspect described above.

[0025] According to the eighth aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the method as described in either the first or second aspect described above.

[0026] In summary, the session management method, apparatus, system, electronic device, and storage medium provided in this disclosure include: a method comprising: while maintaining a session connection with a first electronic tag based on a session identifier corresponding to the first electronic tag; broadcasting an inventory command to all electronic tags within the signal coverage area of ​​the reader / writer; and determining a second electronic tag that has not established a session connection with the reader / writer based on the response information of all received electronic tags to the inventory command; sending a connection evaluation request to the first electronic tag; obtaining the signal strength information of the first electronic tag based on the response information of the first electronic tag; and determining whether to maintain a session connection with the first electronic tag based on the signal strength information; the connection evaluation request carrying the session identifier corresponding to the first electronic tag; and, if the determination result indicates that it is not necessary to maintain a session connection with the first electronic tag, sending a release command to the first electronic tag; the release command carrying the session identifier corresponding to the first electronic tag. Compared with related technologies, the solution of this disclosure can simultaneously broadcast inventory commands and discover second electronic tags without interrupting the session with the already connected first electronic tag. By sending a connection assessment request carrying a session identifier to the first electronic tag and obtaining signal strength information, it is possible to determine whether to maintain the session connection based on the signal strength information, and send a release command carrying a session identifier to terminate the connection when it is no longer necessary to maintain the session connection. This improves the overall efficiency and resource utilization of tag inventory while maintaining an effective communication connection.

[0027] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description

[0028] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein: Figure 1 A flowchart illustrating a session management method provided in an embodiment of this disclosure; Figure 2 A flowchart illustrating another session management method provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of an interactive process for acquiring signal strength information provided in an embodiment of this disclosure; Figure 4 A flowchart illustrating another session management method provided in an embodiment of this disclosure; Figure 5 A flowchart illustrating another session management method provided in an embodiment of this disclosure; Figure 6 A flowchart illustrating another session management method provided in an embodiment of this disclosure; Figure 7 A flowchart illustrating a session management method provided in an embodiment of this disclosure; Figure 8 A flowchart illustrating another session management method provided in an embodiment of this disclosure; Figure 9 A schematic diagram of the session interaction process between a reader and a connected electronic tag provided in an embodiment of this disclosure; Figure 10 This is a schematic diagram of the structure of a session management device provided in an embodiment of the present disclosure; Figure 11 This is a schematic diagram of another session management device provided in an embodiment of the present disclosure; Figure 12 This is a schematic diagram of the structure of a session management device provided in an embodiment of the present disclosure; Figure 13 This is a schematic diagram of another session management device provided in an embodiment of the present disclosure; Figure 14 This is a schematic diagram of the structure of a session management system provided in an embodiment of the present disclosure; Figure 15 This is a schematic block diagram of an example electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0029] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0030] The following description, with reference to the accompanying drawings, outlines a session management method, apparatus, system, electronic device, and storage medium according to embodiments of the present disclosure.

[0031] Figure 1 This is a flowchart illustrating a session management method provided in an embodiment of the present disclosure, the method being applied to a reader / writer.

[0032] like Figure 1 As shown, the method includes the following steps: Step 101: While maintaining a session connection with the first electronic tag based on the session identifier corresponding to the first electronic tag, broadcast an inventory instruction to all electronic tags within the signal coverage area of ​​the reader / writer, and determine the second electronic tag that has not established a session connection with the reader / writer based on the response information of all electronic tags to the inventory instruction received.

[0033] In some embodiments, the session identifier is information obtained based on a standard protocol to uniquely identify the session between the reader and the first electronic tag. Specifically, it can be obtained from the first electronic tag through the Request RandomNumber (Req_RN) instruction in the standard protocol. The inventory instruction is an instruction used to trigger a response from the electronic tag, including but not limited to the Query instruction set such as Query, QueryX, and QueryY. The response information is information containing its own identifier (i.e., the electronic tag identifier) ​​returned by the electronic tag after receiving the inventory instruction. The electronic tag identifier includes, but is not limited to, the Electronic Product Code (EPC). The second electronic tag without a established session connection is determined by comparing the electronic tag identifiers in all response information with the electronic tag identifiers already recorded in the reader that are in a session connection state, filtering out electronic tags not among the recorded identifiers.

[0034] The above method enables the reader to inventory electronic tags within the signal coverage area without interrupting the session connection with the first electronic tag, thereby identifying new electronic tags that have not yet established a session.

[0035] Step 102: Send a connection evaluation request to the first electronic tag, obtain the signal strength information of the first electronic tag based on the response information of the first electronic tag, and determine whether to maintain the session connection with the first electronic tag based on the signal strength information; the connection evaluation request carries the session identifier corresponding to the first electronic tag.

[0036] In some embodiments, a connection assessment request is an instruction used to assess the connection status between the first electronic tag and the reader. Carrying a session identifier ensures that the first electronic tag only responds to connection assessment requests specific to itself. Signal strength information characterizes the strength of the wireless communication signal between the electronic tag and the reader, specifically a Received Signal Strength Indicator (RSSI). RSSI is obtained in two ways: one is that after receiving a connection assessment request, the first electronic tag calculates the corresponding signal strength value and sends this value to the reader in the response information; the other is that after receiving a connection assessment request, the first electronic tag sends a regular response, and the reader calculates the signal strength information based on the signal physical parameters received in the response. Determining whether to maintain the session connection based on the signal strength information involves comparing the acquired signal strength information with a preset signal strength threshold to assess connection stability.

[0037] The above method enables the reader to accurately assess the session connection status with the first electronic tag, providing a basis for whether to maintain the session connection in the future.

[0038] Step 103: If the determination result is that there is no need to maintain the session connection with the first electronic tag, a release command is sent to the first electronic tag; the release command carries the session identifier corresponding to the first electronic tag.

[0039] In some embodiments, the release command is used to terminate the session connection between the reader and the first electronic tag. Carrying a session identifier ensures that the first electronic tag only responds to release commands specific to itself, preventing accidental interruption of session connections with other electronic tags. The release command can be implemented using existing command settings in standard protocols, including but not limited to the READ command.

[0040] The above method enables precise interruption of the session connection between the reader and the first electronic tag, ensuring the targeted and effective nature of session management.

[0041] In summary, the session management method provided by the embodiments of this disclosure can simultaneously broadcast inventory instructions and discover second electronic tags without interrupting the session with the already connected first electronic tag. By sending a connection evaluation request carrying a session identifier to the first electronic tag and obtaining signal strength information, it can determine whether to maintain the session connection based on the signal strength information, and send a release instruction carrying a session identifier to terminate the connection when it is no longer necessary to maintain the session connection. This improves the overall efficiency and resource utilization of tag inventory while maintaining an effective communication connection.

[0042] Figure 2A flowchart illustrating a session management method provided in this disclosure embodiment is further shown, based on... Figure 1 The illustrated embodiment further explains step 101. Figure 2 This may include the following steps: Step 201: Compare the electronic tag identifier carried in the response information with the set of electronic tag identifiers of the established session connection.

[0043] In some embodiments, the electronic tag identifier is information used to uniquely identify the electronic tag, including but not limited to EPC. The set of electronic tag identifiers with established session connections is a set of identifiers stored in the reader that consists of the electronic tag identifiers of all electronic tags currently maintaining a session connection with the reader. The reader maintains the integrity and accuracy of this identifier set in real time. The comparison process involves matching the electronic tag identifier carried in each response message with each identifier in the identifier set in sequence to check if a corresponding matching record exists.

[0044] Step 202: Identify the electronic tag that does not exist in the set of electronic tag identifiers of the established session connection as the second electronic tag.

[0045] In some embodiments, after comparing the electronic tag identifiers in all response information with the identifier set, electronic tags that do not have a corresponding matching record in the identifier set are filtered out. These electronic tags are those that have not established a session connection with the reader and are identified as the second electronic tags.

[0046] The above method clarifies the determination logic of the second electronic tag, enables accurate screening of electronic tags that have not established a session connection, ensures the accuracy of new tag identification, and provides a foundation for subsequent session management.

[0047] To make it clear Figure 1 The embodiment shown further explains step 102, in which the signal strength information of the first electronic tag is obtained based on the response information of the first electronic tag, including: performing received signal strength detection on the response information of the first electronic tag to obtain the signal strength information; or, parsing the signal strength data calculated and carried by the first electronic tag from the response information to obtain the signal strength information.

[0048] In some embodiments, Figure 3 This is a schematic diagram of an interactive process for acquiring signal strength information provided in an embodiment of this disclosure, as shown below. Figure 3 As shown, Figure 3 The process of acquiring two types of signal strength information includes: The interaction process on the left corresponds to the method of parsing the signal strength data calculated and carried by the first electronic tag from the response information: The reader sends a connection evaluation request (i.e., heartbeat message) carrying the session handle to the first electronic tag (Tag) which is in an established session connection state (i.e., resident state); after receiving the request, the first electronic tag calculates the signal strength data (i.e., calculates RSSI) and sends the signal strength data to the reader in the response information (i.e., heartbeat response); the reader parses the signal strength data from the response information to obtain the signal strength information.

[0049] The interaction process on the right corresponds to the method of receiving signal strength detection in response to the first electronic tag's response information: the reader sends a connection evaluation request carrying a session identifier to the first electronic tag in the resident state; after receiving the request, the first electronic tag sends a regular response information without carrying signal strength data; when the reader receives the response information, it performs received signal strength detection on it and calculates the signal strength information.

[0050] The above methods enable two ways to acquire signal strength information, which can be adapted to electronic tag scenarios with different hardware capabilities, ensuring the flexibility and applicability of signal strength information acquisition.

[0051] Figure 4 A flowchart illustrating a session management method provided in this disclosure embodiment is further shown, based on... Figure 1 The illustrated embodiment further explains step 102. Figure 4 This may include the following steps: Step 301: Compare the signal strength information with a preset signal strength threshold.

[0052] In some embodiments, the unit of signal strength information is dBm, which is quantitative data characterizing the strength of the wireless communication signal between the electronic tag and the reader. The preset signal strength threshold is a critical value of signal strength pre-set by the reader according to the actual application scenario (such as signal coverage range, communication stability requirements). This threshold is usually a fixed value and can be dynamically adjusted according to the scenario. The comparison process involves comparing the specific value of the acquired signal strength information with the value of the preset signal strength threshold.

[0053] Step 302: If the signal strength information is lower than the preset signal strength threshold, then there is no need to maintain the session connection with the first electronic tag.

[0054] In some embodiments, if the signal strength information is lower than a preset signal strength threshold, it indicates that the wireless communication signal between the first electronic tag and the reader is weak and the connection stability is insufficient (e.g., the electronic tag is approaching the edge of the signal coverage area or is about to leave the area). In this case, it is determined that it is not necessary to continue to maintain the session connection with the first electronic tag.

[0055] The above method clarifies the judgment logic for maintaining session connections, enables accurate determination of session connection status, and ensures the rationality of session management and communication stability.

[0056] Figure 5 A flowchart illustrating a session management method provided in an embodiment of this disclosure is further shown, such as... Figure 5 As shown, the method includes steps 401-402.

[0057] Step 401: Create a record for the second electronic tag in the tag information table, and mark the second electronic tag as discovered in the tag information table.

[0058] In some embodiments, the tag information table is a table maintained by the reader to record information related to electronic tags, including fields such as electronic tag identifier and status. Creating a record for the second electronic tag involves entering the electronic tag identifier and other information of the second electronic tag into the corresponding field of the tag information table; marking the second electronic tag as discovered involves filling in "discovered" in the status field corresponding to the second electronic tag in the tag information table, indicating that the electronic tag has been recognized by the reader but no session connection has been established.

[0059] Step 402: Based on the session identifier of the first electronic tag, mark the first electronic tag as connected in the tag information table.

[0060] In some embodiments, based on the session identifier of the first electronic tag, a record corresponding to the first electronic tag is matched in the tag information table, and "connected" is filled in the status field corresponding to the record to indicate that the first electronic tag maintains a session connection with the reader.

[0061] The above method enables standardized recording of electronic tag information and status, allowing readers to clearly understand the session association of each electronic tag and providing data support for subsequent session management operations.

[0062] Figure 6 A flowchart illustrating a session management method provided in an embodiment of this disclosure is further shown, such as... Figure 6 As shown, the method includes steps 501-504.

[0063] Step 501: While maintaining a session connection with the first electronic tag based on the session identifier corresponding to the first electronic tag, broadcast an inventory instruction to all electronic tags within the signal coverage area of ​​the reader / writer, and determine the second electronic tag that has not established a session connection with the reader / writer based on the response information of all electronic tags to the inventory instruction received.

[0064] Step 502: Send a connection evaluation request to the first electronic tag, obtain the signal strength information of the first electronic tag based on the response information of the first electronic tag, and determine whether to maintain the session connection with the first electronic tag based on the signal strength information; the connection evaluation request carries the session identifier corresponding to the first electronic tag.

[0065] Step 503: If the determination result is that there is no need to maintain the session connection with the first electronic tag, a release command is sent to the first electronic tag; the release command carries the session identifier corresponding to the first electronic tag.

[0066] For explanations of steps 501-503, please refer to [link / reference needed]. Figure 1 The detailed descriptions of the relevant embodiments are not repeated here.

[0067] Step 504: Update the first electronic tag to the "unconnected" state in the tag information table.

[0068] In some embodiments, the tag information table is a table maintained by the reader to record electronic tag information, including the status field corresponding to the electronic tag; when the reader sends a release instruction carrying its corresponding session identifier to the first electronic tag, it matches the record corresponding to the first electronic tag in the tag information table based on the session identifier, and updates the corresponding status field in the record from "connected" to "not connected" to synchronize the current session status of the first electronic tag.

[0069] The above method enables real-time updates of the electronic tag status in the tag information table, ensuring that the tag information table accurately reflects the session connection status of each electronic tag and provides accurate status information for the reader's subsequent session management operations.

[0070] Figure 7 This is a flowchart illustrating a session management method provided in an embodiment of the present disclosure, the method being applied to an electronic tag in a connected state.

[0071] like Figure 7 As shown, the method includes the following steps: Step 601: Establish a session connection with the reader and send a session identifier to the reader so that the reader can maintain a session connection with the first electronic tag based on the session identifier. The first electronic tag is an electronic tag in a connected state.

[0072] In some embodiments, the establishment of a session connection is achieved through interaction with the reader's standard protocol (such as responding to the Req_RN command sent by the reader); the session identifier is information used to uniquely associate the current session, specifically handle information. The electronic tag obtains the handle information by responding to the reader's Req_RN command, and after sending it to the reader, the reader can identify and maintain the session connection with the first electronic tag based on the handle information.

[0073] Step 602: Receive the inventory command sent by the reader / writer and suppress the response to the inventory command.

[0074] In some embodiments, the inventory instruction is a command broadcast by the reader to inventory the electronic tags. Since the first electronic tag is in a connected state and has maintained a session connection with the reader, it does not send corresponding response information to the reader after receiving the inventory instruction, thereby suppressing the response to the inventory instruction.

[0075] Step 603: In response to the connection evaluation request sent by the reader, send response information corresponding to the connection evaluation request to the reader so that the reader can obtain the signal strength information of the first electronic tag based on the response information; the response information carries the session identifier corresponding to the first electronic tag.

[0076] In some embodiments, the connection evaluation request is a request sent by the reader carrying a session identifier corresponding to the first electronic tag. After receiving the request, the electronic tag performs a matching verification on the session identifier. If the verification is successful, it generates corresponding response information and carries its own corresponding session identifier in the response information. Then, it sends the response information to the reader so that the reader can obtain signal strength information based on the response information.

[0077] Step 604: In response to receiving a release command sent by the reader / writer, the session connection is interrupted.

[0078] In some embodiments, the release instruction is an instruction sent by the reader that carries a session identifier corresponding to the first electronic tag. After receiving the release instruction, the electronic tag performs a matching verification of the session identifier. If the verification is successful, the current session connection with the reader is terminated, and the previous communication state is no longer maintained.

[0079] The above methods enable the establishment of sessions, response suppression, signal strength information provision, and session interruption between connected electronic tags and readers. This works in conjunction with the reader's session management process to ensure the orderliness and effectiveness of dual-end session management.

[0080] Figure 8 A flowchart illustrating a session management method provided in this disclosure embodiment is further shown, based on... Figure 7 The illustrated embodiment further explains step 602. Figure 8 This may include the following steps: Step 701: Receive the inventory command and check the local session connection status.

[0081] In some embodiments, the session connection status is an identifier maintained locally by the electronic tag to characterize its association with the reader session, including a connected state and a disconnected state. The electronic tag records this identifier through a built-in status storage unit, and the inspection process reads the identifier information recorded in the status storage unit.

[0082] Step 702: If the session connection status is connected, calculate the time difference between the current time and the session timestamp corresponding to the session identifier.

[0083] In some embodiments, the session timestamp is the corresponding time data recorded by the local clock when the electronic tag generates or updates the session identifier; the current time is the real-time time data obtained by the local clock when the electronic tag receives the inventory instruction; the time difference is obtained by subtracting the session timestamp data from the current time data, and the calculation method includes, but is not limited to, numerical subtraction operations based on seconds and milliseconds.

[0084] Step 703: Determine whether the time difference exceeds a preset time threshold.

[0085] In some embodiments, the preset time threshold is a session timeout threshold set in advance by the electronic tag, and its value can be set according to the actual application scenario; the judgment process is to compare the calculated time difference with the preset time threshold to determine the relationship between the two.

[0086] If the time difference does not exceed the preset time threshold, then proceed to step 704; if the time difference exceeds the preset time threshold, then proceed to step 705.

[0087] Step 704: Suppress the response to the inventory command.

[0088] In some embodiments, suppressing a response means that the electronic tag does not send a response message to the reader in response to the inventory instruction, but only maintains the currently established session connection state and does not participate in the response interaction of the inventory instruction.

[0089] Step 705: Update the local session connection status to not connected and respond to the inventory command.

[0090] In some embodiments, updating the session connection status involves changing the identifier recorded in the local status storage unit of the electronic tag from a connected state to a disconnected state; responding to an inventory instruction involves generating response information containing its own identifier according to a standard protocol and sending the response information to the reader for identification.

[0091] The above method enables electronic tags to accurately control their response to inventory commands based on their own session connection status and session duration, ensuring that the session status is consistent with the actual communication situation, and providing collaborative support for readers to maintain existing sessions and discover new tags.

[0092] In some possible ways, Figure 9 This is a schematic diagram of a session interaction process between a reader and a connected electronic tag, provided in an embodiment of this disclosure. Figure 9 As shown, when Reader1 sends a Query / Adjust / Rep command to Tag1, Tag1 is in the ready state. Tag1 then sends a 16-bit random number (RN16) to Reader1 and enters the reply state. Reader1 replies with ACK (RN16), and Tag1 sends the Protocol Control (PC) field and EPC information, entering the acknowledged state. After Reader1 sends the Req_RN (RN16) command, Tag1 returns a handle (i.e., the session identifier) ​​and enters the open state. If Reader1 sends an Access (handle) command, Tag1 enters the secured state and returns a handle, thus establishing a session connection. When Reader1 sends a Query / Adjust / Rep command (i.e., an inventory command) again, Tag1 performs a status check and a session timeout check. Because it is already connected and has not timed out, it does not respond to the connection state (i.e., it suppresses the response to the inventory command). Subsequently, Reader1 sends a heartbeat message carrying the handle (i.e., a connection evaluation request). After checking its status, Tag1 replies with a heartbeat response if it is in a session connection state. When Reader1 sends a release message carrying the handle (i.e., a release command), Tag1 disconnects and discards the handle, thus ending the session.

[0093] This interaction process corresponds to the complete process of establishing a session between the connected electronic tag and the reader, suppressing the response to the inventory command, evaluating the connection, and interrupting the session, reflecting the collaborative logic of dual-end session management.

[0094] Corresponding to the session management method described above, this invention also proposes a session management device. Since the device embodiments of this invention correspond to the method embodiments described above, details not disclosed in the device embodiments can be referred to in the method embodiments described above, and will not be repeated here.

[0095] Figure 10 This is a schematic diagram of the structure of a session management device provided in an embodiment of this disclosure, as shown below. Figure 10 As shown, the device is configured in a reader / writer and includes: The broadcasting unit 81 is used to broadcast an inventory instruction to all electronic tags within the signal coverage area of ​​the reader while maintaining a session connection with the first electronic tag based on the session identifier corresponding to the first electronic tag. The first determining unit 82 is used to determine, based on the response information of all received electronic tags to the inventory instruction, a second electronic tag that has not established a session connection with the reader / writer; The second determining unit 83 is used to send a connection evaluation request to the first electronic tag and obtain the signal strength information of the first electronic tag based on the response information of the first electronic tag. The determination unit 84 is used to determine whether to maintain the session connection with the first electronic tag based on the signal strength information; the connection evaluation request carries the session identifier corresponding to the first electronic tag; The first sending unit 85 is used to send a release command to the first electronic tag when the determination result is that there is no need to maintain the session connection with the first electronic tag; the release command carries the session identifier corresponding to the first electronic tag.

[0096] The session management device provided in this disclosure can simultaneously broadcast inventory instructions and discover second electronic tags without interrupting the session with the already connected first electronic tag. By sending a connection evaluation request carrying a session identifier to the first electronic tag and obtaining signal strength information, it can determine whether to maintain the session connection based on the signal strength information, and send a release instruction carrying a session identifier to terminate the connection when it is no longer necessary to maintain the session connection. This improves the overall efficiency and resource utilization of tag inventory while maintaining an effective communication connection.

[0097] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 11 As shown, the first determining unit 82 includes: The comparison module 821 is used to compare the electronic tag identifier carried in the response information with the set of electronic tag identifiers of the established session connection; The first determining module 822 is used to determine an electronic tag that does not exist in the set of electronic tag identifiers of the established session connection as the second electronic tag.

[0098] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 11 As shown, the second determining unit 83 includes: The second determining module 831 is used to detect the received signal strength of the response information of the first electronic tag to obtain the signal strength information; or, The third determining module 832 is used to parse the signal strength data calculated and carried by the first electronic tag from the response information to obtain the signal strength information.

[0099] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 11 As shown, the judgment unit 84 includes: Comparison module 841 is used to compare the signal strength information with a preset signal strength threshold; Interruption module 842 is used to prevent the session connection with the first electronic tag from being maintained when the signal strength information is lower than the preset signal strength threshold.

[0100] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 11 As shown, the device further includes: The first marking unit 86 is used to create a record for the second electronic tag in the tag information table and mark the second electronic tag as discovered in the tag information table after the first determining unit 82 determines the second electronic tag that has not established a session connection with the reader based on the response information of all received electronic tags to the inventory instruction; The second marking unit 87 is used to mark the first electronic tag as connected in the tag information table based on the session identifier of the first electronic tag.

[0101] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 11 As shown, the device further includes: The updating unit 88 is used to update the first electronic tag to the unconnected state in the tag information table after the first sending unit 85 sends a release command to the first electronic tag in the case that the first sending unit 85 determines that there is no need to maintain the session connection with the first electronic tag.

[0102] Figure 12 This is a schematic diagram of the structure of a session management device provided in an embodiment of this disclosure, as shown below. Figure 12 As shown, the device is configured in a connected state on an electronic tag, including: The connection unit 91 is used to establish a session connection with the reader and send a session identifier to the reader so that the reader can maintain a session connection with the first electronic tag based on the session identifier, wherein the first electronic tag is an electronic tag in a connected state; The receiving unit 92 is used to receive the inventory command sent by the reader and suppress the response to the inventory command; The second sending unit 93 is configured to respond to the connection evaluation request sent by the reader and writer by sending response information corresponding to the connection evaluation request to the reader and writer, so that the reader and writer can obtain the signal strength information of the first electronic tag based on the response information; the response information carries the session identifier corresponding to the first electronic tag. Interrupt unit 94 is used to interrupt the session connection in response to receiving a release command sent by the reader / writer.

[0103] Furthermore, in one possible implementation of the embodiments of this disclosure, such as Figure 13 As shown, the receiving unit 92 includes: The inspection module 921 is used to receive the inventory command and check the local session connection status; Calculation module 922 is used to calculate the time difference between the current time and the session timestamp corresponding to the session identifier when the session connection status is connected; The judgment module 923 is used to determine whether the time difference exceeds a preset time threshold; Suppression module 924 is used to suppress the response to the inventory command when the time difference does not exceed the preset time threshold; The response module 925 is used to update the local session connection status to not connected and respond to the inventory command when the time difference exceeds the preset time threshold.

[0104] It should be noted that the foregoing explanation of the method embodiments also applies to the apparatus of the embodiments of this disclosure, and the principle is the same. Therefore, the embodiments of this disclosure are not limited thereto.

[0105] Figure 14 This is a schematic diagram of the structure of a session management system provided in an embodiment of the present disclosure, such as... Figure 14 As shown, the session management system includes a reader / writer 1001 and a connected electronic tag 1002, wherein: The reader / writer 1001 includes, for example: Figure 11The apparatus shown; The connected electronic tag 1002 includes, for example: Figure 13 The apparatus shown.

[0106] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0107] Figure 15 A schematic block diagram of an example electronic device 1500 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0108] like Figure 15 As shown, the electronic device 1500 includes a computing unit 1501, which can perform various appropriate actions and processes according to a computer program stored in ROM (Read-Only Memory) 1502 or loaded from storage unit 1508 into RAM (Random Access Memory) 1503. The RAM 1503 may also store various programs and data required for the operation of the electronic device 1500. The computing unit 1501, ROM 1502, and RAM 1503 are interconnected via bus 1504. An I / O (Input / Output) interface 1505 is also connected to bus 1504.

[0109] Multiple components in electronic device 1500 are connected to I / O interface 1505, including: input unit 1506, such as keyboard, mouse, etc.; output unit 1507, such as various types of monitors, speakers, etc.; storage unit 1508, such as disk, optical disk, etc.; and communication unit 1509, such as network card, modem, wireless transceiver, etc. Communication unit 1509 allows electronic device 1500 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0110] The computing unit 1501 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1501 include, but are not limited to, CPUs (Central Processing Units), GPUs (Graphics Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, DSPs (Digital Signal Processors), and any suitable processor, controller, microcontroller, etc. The computing unit 1501 performs the various methods and processes described above, such as session management methods. For example, in some embodiments, the session management method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 1508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1500 via ROM 1502 and / or communication unit 1509. When the computer program is loaded into RAM 1503 and executed by the computing unit 1501, one or more steps of the methods described above may be performed. Alternatively, in other embodiments, the computing unit 1501 may be configured to perform the aforementioned session management method by any other suitable means (e.g., by means of firmware).

[0111] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application-Specific Standard Products), SOCs (System-on-Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0112] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0113] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0114] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0115] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include LANs (Local Area Networks), WANs (Wide Area Networks), the Internet, and blockchain networks.

[0116] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service system that addresses the shortcomings of traditional physical hosts and VPS (Virtual Private Server) services, such as high management difficulty and weak business scalability. Servers can also be servers for distributed systems or servers incorporating blockchain technology.

[0117] It's important to note that artificial intelligence (AI) is the study of enabling computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). It encompasses both hardware and software technologies. AI hardware technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, and big data processing. AI software technologies primarily include computer vision, speech recognition, natural language processing, machine learning / deep learning, big data processing, and knowledge graph technologies.

[0118] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0119] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A session management method, characterized in that, The method is applied to a reader / writer and includes: While maintaining a session connection with the first electronic tag based on the session identifier corresponding to the first electronic tag, an inventory instruction is broadcast to all electronic tags within the signal coverage area of ​​the reader, and based on the response information of all electronic tags to the inventory instruction received, a second electronic tag that has not established a session connection with the reader is determined. A connection evaluation request is sent to the first electronic tag. Based on the response information of the first electronic tag, the signal strength information of the first electronic tag is obtained, and it is determined whether to maintain the session connection with the first electronic tag based on the signal strength information. The connection evaluation request carries the session identifier corresponding to the first electronic tag. If the determination result is that there is no need to maintain the session connection with the first electronic tag, a release command is sent to the first electronic tag; the release command carries the session identifier corresponding to the first electronic tag.

2. The method according to claim 1, characterized in that, The step of determining the second electronic tag that has not established a session connection with the reader based on the response information of all received electronic tags to the inventory instruction includes: The electronic tag identifier carried in the response information is compared with the set of electronic tag identifiers of the established session connection; Electronic tags that are not present in the set of electronic tag identifiers of the established session connection are identified as the second electronic tag.

3. The method according to claim 1, characterized in that, The step of obtaining the signal strength information of the first electronic tag based on the response information of the first electronic tag includes: The signal strength information is obtained by detecting the received signal strength of the response information of the first electronic tag; or, The signal strength data calculated and carried by the first electronic tag is parsed from the response information to obtain the signal strength information.

4. The method according to claim 1, characterized in that, The step of determining whether to maintain the session connection with the first electronic tag based on the signal strength information includes: The signal strength information is compared with a preset signal strength threshold. If the signal strength information is lower than the preset signal strength threshold, then there is no need to maintain the session connection with the first electronic tag.

5. The method according to claim 1, characterized in that, After determining the second electronic tag that has not established a session connection with the reader based on the response information of all received electronic tags to the inventory instruction, the method further includes: Create a record for the second electronic tag in the tag information table, and mark the second electronic tag as discovered in the tag information table; Based on the session identifier of the first electronic tag, the first electronic tag is marked as connected in the tag information table.

6. The method according to claim 5, characterized in that, After sending a release command to the first electronic tag when the determination result indicates that maintaining the session connection with the first electronic tag is unnecessary, the method further includes: The first electronic tag is updated to the "unconnected" state in the tag information table.

7. A session management method, characterized in that, The method is applied to connected electronic tags, including: A session connection is established with the reader, and a session identifier is sent to the reader so that the reader can maintain a session connection with the first electronic tag based on the session identifier, wherein the first electronic tag is an electronic tag in a connected state; Receive the inventory command sent by the reader / writer and suppress the response to the inventory command; In response to a connection evaluation request sent by the reader, a response information corresponding to the connection evaluation request is sent to the reader so that the reader can obtain the signal strength information of the first electronic tag based on the response information; the response information carries the session identifier corresponding to the first electronic tag. In response to receiving a release command from the reader, the session connection is interrupted.

8. The method according to claim 7, characterized in that, The step of receiving the inventory command sent by the reader and suppressing the response to the inventory command includes: Receive the inventory command and check the local session connection status; If the session connection status is connected, calculate the time difference between the current time and the session timestamp corresponding to the session identifier; Determine whether the time difference exceeds a preset time threshold; If the time difference does not exceed the preset time threshold, then the response to the inventory command is suppressed; If the time difference exceeds the preset time threshold, the local session connection status is updated to not connected, and the inventory command is responded to.

9. A session management device, characterized in that, The device is configured in the reader / writer and includes: The broadcasting unit is used to broadcast an inventory instruction to all electronic tags within the signal coverage area of ​​the reader while maintaining a session connection with the first electronic tag based on the session identifier corresponding to the first electronic tag. The first determining unit is used to determine, based on the response information of all received electronic tags to the inventory instruction, a second electronic tag that has not established a session connection with the reader / writer; The second determining unit is used to send a connection evaluation request to the first electronic tag and obtain the signal strength information of the first electronic tag based on the response information of the first electronic tag. The determination unit is used to determine whether to maintain the session connection with the first electronic tag based on the signal strength information; the connection evaluation request carries the session identifier corresponding to the first electronic tag; The first sending unit is configured to send a release command to the first electronic tag when the determination result is that there is no need to maintain the session connection with the first electronic tag; the release command carries the session identifier corresponding to the first electronic tag.

10. A session management device, characterized in that, The device is configured on an electronic tag in a connected state, including: A connection unit is used to establish a session connection with the reader and send a session identifier to the reader so that the reader can maintain a session connection with a first electronic tag based on the session identifier, wherein the first electronic tag is an electronic tag in a connected state; A receiving unit is configured to receive an inventory command sent by the reader and suppress the response to the inventory command. The second sending unit is configured to respond to the connection evaluation request sent by the reader by sending response information corresponding to the connection evaluation request to the reader, so that the reader can obtain the signal strength information of the first electronic tag based on the response information; the response information carries the session identifier corresponding to the first electronic tag. An interrupt unit is used to interrupt the session connection in response to receiving a release command sent by the reader / writer.

11. A session management system, characterized in that, The system includes a reader / writer and a connected electronic tag, wherein: The reader / writer includes the device as described in claim 9; The connected electronic tag includes the device as described in claim 10.

12. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6 or 7-8.

13. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-6 or 7-8.

14. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method according to any one of claims 1-6 or 7-8.