An electronic tag dynamic reporting method and system

Through the dynamic reporting method of electronic tags and gateway name signal optimization, the problem of untimely update of traditional electronic tag information is solved, and faster information updates and lower gateway load are achieved.

CN115081563BActive Publication Date: 2025-07-04SHENZHEN MINEW TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210509004.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-11
Publication Date
2025-07-04
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

The information update of traditional electronic tags is not timely, and the gateway is overburdened in the case of multiple tags, resulting in inconvenience to users.

Method used

After receiving the gateway call signal through electronic tags, the gateway call signal is dynamically reported according to its own status, and the position change is judged in combination with the timer and signal strength, and the gateway call signal density and report strategy are optimized to reduce interference.

Benefits of technology

It shortens the waiting time of electronic tags in networking and mobile states, reduces gateway load, avoids interference between tags, and improves the timeliness of information updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115081563B_ABST
    Figure CN115081563B_ABST
Patent Text Reader

Abstract

An electronic tag dynamic reporting method includes the following steps. When the electronic tag is in the first state, the electronic tag receives a polling signal sent by the gateway; the electronic tag uploads reporting information to the gateway, receives the confirmation information fed back by the gateway, and the electronic tag switches to the second state; when the electronic tag is in the second state, the electronic tag activates a timer; receives the polling signal sent by the gateway; determines whether the location information of the electronic tag has changed; if the location information of the electronic tag has changed, uploads reporting information to the gateway, receives the confirmation information fed back by the gateway and resets the timer; if the location information of the electronic tag remains unchanged, resets the timer; when the timer times out, the electronic tag switches to the first state. This application can greatly shorten the discovery and waiting time of the electronic tag in the system in the case of networking and movement of the electronic tag.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of electronic tags, and particularly relates to a method and system for dynamically reporting electronic tags. Background Art

[0002] Commodity price tags and price tags are the most direct way to provide customers with commodity information. The content mainly includes information such as barcodes, names, prices, specifications, origins, grades, etc. Traditional paper tags are not easy to modify and are easy to lose, with relatively high usage costs. While new electronic tags can report to the surrounding gateways to determine the position of the electronic tags, and at the same time, the information of the electronic tags is also easy to modify, greatly saving the usage cost.

[0003] Currently, in the traditional solution where an electronic tag reports to a gateway, the electronic shelf label reports to the surrounding gateways periodically and without designation. Therefore, when the electronic shelf label is taken from the warehouse to the store, the electronic tag cannot report quickly. It needs to wait for a period of time until the gateway receives the position information of the electronic tag before its content information can be modified. The main disadvantages include: it needs to report periodically, so that the information of the electronic tag can only be updated according to a certain period, and the information update is not timely; at the same time, in the traditional reporting solution, if the number of electronic tags is large, the gateway cannot process the reporting information of the electronic tags in time, increasing the operation burden of the gateway and causing inconvenience to users. Summary of the Invention

[0004] The purpose of this application is to provide a method and system for dynamically reporting electronic tags, aiming to solve the problem of untimely update of electronic tag information in the traditional electronic tag reporting method.

[0005] In the first aspect of the embodiments of this application, a method for dynamically reporting electronic tags is provided, which is applied to a gateway and an electronic tag. The electronic tag includes a first state and a second state. The method includes the following steps:

[0006] When the electronic tag is in the first state:

[0007] The electronic tag receives a polling signal sent by the gateway;

[0008] The electronic tag uploads reporting information to the gateway and receives a confirmation information fed back by the gateway;

[0009] After the electronic tag receives the confirmation information fed back by the gateway, the electronic tag switches to the second state;

[0010] When the electronic tag is in the second state:

[0011] The electronic tag starts a timer;

[0012] The electronic tag receives the roll call signal sent by the gateway;

[0013] The electronic tag determines whether the location information of the electronic tag has changed;

[0014] If the location information of the electronic tag changes and the timer has not timed out, the electronic tag uploads the report information to the gateway, receives the confirmation information feedback by the gateway, and resets the timer;

[0015] If the location information of the electronic tag remains unchanged and the timer has not timed out, the electronic tag resets the timer;

[0016] When the timer times out, the electronic tag switches to the first state.

[0017] In other embodiments of the present application, the electronic tag determines whether the location information of the electronic tag has changed, including:

[0018] The electronic tag receives the identity ID of the gateway sent by the gateway and obtains the first signal strength information corresponding to the gateway;

[0019] The electronic tag queries the second signal strength information corresponding to the gateway in the signal strength information stored in the electronic tag according to the identity ID of the gateway;

[0020] The electronic tag determines whether the location information of the electronic tag has changed according to the first signal strength information and the second signal strength information;

[0021] If the location information of the electronic tag changes, the electronic tag updates the second signal strength information based on the first signal strength information.

[0022] Further, the electronic tag determines whether the location information of the electronic tag has changed according to the first signal strength information and the second signal strength information, including:

[0023] When the first signal strength is greater than -50 dbm and the second signal strength is greater than -50 dbm;

[0024] Or, when the second signal strength is less than or equal to -50 dbm and greater than -60 dbm and the absolute value of the difference from the first signal strength is less than 7 dbm;

[0025] Or, when the second signal strength is less than or equal to -60 dbm and greater than -70 dbm and the absolute value of the difference from the first signal strength is less than 4 dbm;

[0026] Or, when the second signal strength is less than or equal to -70 dbm and greater than -80 dbm and the absolute value of the difference from the first signal strength is less than 2 dbm;

[0027] Alternatively, when the first signal strength is less than or equal to -80 dbm and the second signal strength is less than or equal to -80 dbm, the location information of the electronic tag remains unchanged;

[0028] Otherwise, the location information of the electronic tag changes.

[0029] Further, when the timer times out, the electronic tag switches to the first state, including:

[0030] The electronic tag deletes the signal strength information stored in the electronic tag.

[0031] In other embodiments of the present application, the electronic tag receives the roll call signal sent by the gateway, including:

[0032] The gateway monitors the roll call signals sent by other gateways;

[0033] The gateway adjusts the transmission interval of the roll call signal according to the number of roll call signals monitored.

[0034] Further, the transmission interval of the roll call signal is obtained by the formula y = k * (x + 1) + rand(-x, 2x), where y is the transmission interval of the roll call signal of each gateway, k is the set wireless signal density, x is the number of roll call signals monitored by the gateway, and rand(-x, 2x) is a random number selected from -x to 2x.

[0035] In other embodiments of the present application, the electronic tag uploads the reporting information to the gateway, including:

[0036] The electronic tag adds a pending reporting flag to the electronic tag heartbeat packet, and the pending reporting flag is used to indicate whether the reporting information of the electronic tag has been successfully reported to the gateway;

[0037] The gateway counts the number of electronic tags with uncompleted reporting in all the electronic tag heartbeat packets received within a period of time according to the pending reporting flag;

[0038] The gateway dynamically adjusts the number of reporting information received by the gateway according to the number of electronic tags with uncompleted reporting.

[0039] The second aspect of the embodiments of the present application provides an electronic tag dynamic reporting system, including an electronic tag and a gateway. Among them, the electronic tag includes:

[0040] A state switching module for enabling the electronic tag to switch between the first state and the second state;

[0041] A timer for limiting the time that the electronic tag is in the second state. When the timer times out, the electronic tag switches from the second state to the first state;

[0042] A roll call signal receiving module for receiving the roll call signal sent by the gateway end;

[0043] A location information judgment module, configured to judge whether the location information of the electronic tag has changed;

[0044] A reporting information sending module, when the electronic tag is in the first state and the roll call signal receiving module receives the roll call signal sent by the gateway side, is used to send reporting information to the gateway side; or when the electronic tag is in the second state, the timer has not timed out, the roll call signal receiving module receives the roll call signal sent by the gateway side and the location information of the electronic tag has changed, is used to send reporting information to the gateway side;

[0045] A confirmation information receiving module, configured to receive the confirmation information fed back by the gateway side after receiving the reporting information;

[0046] A timer reset module, when the electronic tag is in the second state, after the reporting information sending module sends the reporting information, is used to reset the timer;

[0047] Further, the location information judgment module further includes a memory and a signal strength calculation module, and the signal strength calculation module calculates whether the location information has changed according to the signal strength stored in the memory and the signal strength of the roll call signal received by the roll call signal receiving module..

[0048] Further, the gateway side includes a roll call signal density homogenization module and a roll call signal density calculation module. Among them, the roll call signal density homogenization module is used to monitor the roll call signals sent by other gateways and adjust the transmission interval of the roll call signals according to the number of monitored roll call signals; the roll call signal density calculation module is used to count the number of unreported electronic tags in all the received electronic tag heartbeat packets within a period of time according to the to-be-reported flag in the electronic tag heartbeat packet; and dynamically adjust the number of reporting information received by the gateway according to the number of unreported electronic tags.

[0049] The beneficial effects of the embodiments of the present application compared with the prior art are: in the present application, the gateway actively releases a roll call signal to the electronic tag to inform its existence, and after the electronic tag senses the existence of the gateway, it sends reporting information to the corresponding gateway according to its own state. The present application shortens the waiting time of the electronic tag in the system in the networking and moving states. At the same time, the roll call signal density homogenization method of the gateway and the wireless roll call signal density calculation method are introduced, which reduces the load of the gateway and avoids the interference generated by the electronic tags during reporting. Description of the Drawings

[0050] Figure 1 It is an interaction process schematic diagram of a traditional electronic tag reporting method;

[0051] Figure 2Schematic flowchart of a method for dynamic reporting of electronic tags provided by this application;

[0052] Figure 3 Schematic interaction flowchart of an embodiment of a method for dynamic reporting of electronic tags provided by this application;

[0053] Figure 4 Schematic flowchart of a method for an electronic tag to determine location information in the embodiment provided by this application;

[0054] Figure 5 For Figure 4 Schematic example flowchart for determining whether location information changes based on RSSI in the schematic flowchart of the method for an electronic tag to determine location information shown;

[0055] Figure 6 Schematic structural diagram of an electronic tag dynamic reporting system provided by an embodiment of this application Detailed implementation manners

[0056] In order to make the technical problems, technical solutions and beneficial effects to be solved by this application clearer and more understandable, the following further details this application in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit this application.

[0057] Figure 1 Schematic interaction flowchart of a traditional electronic tag reporting method. As Figure 1 shown, a traditional electronic tag sends reporting information to the gateway at regular intervals. After the gateway confirms the reporting information, it sends a confirmation message to the electronic tag. In this way, the information update frequency of the electronic tag is determined by the reporting information sending frequency of the electronic tag, which often causes the situation that the information of the electronic tag on the system is not updated in time.

[0058] Figure 2 Shows a schematic flowchart of a method for dynamic reporting of an electronic tag provided by the first embodiment of this application, which is described in detail as follows:

[0059] When the electronic tag is in the first state:

[0060] The electronic tag receives the roll call signal sent by the gateway;

[0061] The electronic tag uploads reporting information to the gateway;

[0062] The electronic tag receives the confirmation message fed back by the gateway;

[0063] The electronic tag switches to the second state;

[0064] When the electronic tag is in the second state:

[0065] The electronic tag activates the timer;

[0066] The electronic tag receives the roll call signal sent by the gateway;

[0067] The electronic tag determines whether the position information of the electronic tag has changed;

[0068] If the position information of the electronic tag changes and the timer has not timed out, the electronic tag uploads the reporting information to the gateway, receives the confirmation information feedback by the gateway and resets the timer;

[0069] If the position information of the electronic tag remains unchanged and the timer has not timed out, the electronic tag resets the timer;

[0070] When the timer times out, the electronic tag switches to the first state.

[0071] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0072] For the convenience of narration, the first state of the electronic tag in this embodiment is called the inventory state, and the second state is called the active state.

[0073] Generally speaking, when the electronic tag is in the inventory, it will not receive the roll call information from the gateway. Once it receives the roll call signal from the gateway, it means that the electronic tag is activated from the inventory and starts to be used. The gateway can continuously send roll call signals to the surrounding. Once the electronic tag enters the range where the gateway sends roll call signals, it is activated from the inventory state.

[0074] In this embodiment, the information encapsulation format of the roll call signal sent by the gateway is as follows:

[0075] Header Information Identity ID Reporting Frequency

[0076] Among them, the header information includes the protocol version information for the connection between the gateway and the electronic tag, the data information for signature verification of the electronic tag, and the reporting frequency information used by the electronic tag for reporting later. It should be noted that the frequency band range where the frequency points are located in the reporting frequency information is 2360Mhz to 2400Mhz, just avoiding the frequency band range of 2400Mhz to 2480Mhz where Bluetooth broadcasts. Exemplarily, the reporting frequency point 1 is 2360Mhz, the reporting frequency point 2 is 2362Mhz, and so on. The gateway has 20 reporting frequency points, which can greatly reduce the interference between electronic tags when reporting.

[0077] When the electronic tag is in the first state (i.e., the inventory state), when the electronic tag receives the roll call signal from the gateway, it immediately sends the reporting information to the gateway. In this embodiment, the specific format of the reporting information is as follows:

[0078] Header Information Mac Information

[0079] Among them, the header information corresponds to the header information in the roll call signal, including the protocol version information of the connection between the gateway and the electronic tag and the verification result of the data information for signature verification sent by the gateway. The Mac information is the Mac address of the electronic tag.

[0080] After receiving the reported information from the electronic tag, the gateway decides whether to send a confirmation message to the electronic tag according to the verification result. If the signature verification passes, a confirmation message will be sent to the electronic tag. The specific format of the confirmation message is as follows:

[0081] Header Information Signature Data

[0082] Among them, the signature data is used to sign the MAC information of the electronic shelf label to check whether this confirmation message is sent to this electronic tag.

[0083] After receiving the confirmation message, the electronic tag is activated and switches to the second state (i.e., the active state); if the signature verification fails, the electronic tag continues to receive the roll call signal sent by the gateway until the report passes.

[0084] When the electronic tag is in the second state (i.e., the active state), the electronic tag starts a timer. In this embodiment, the timer is set to 15 seconds. Within 15 seconds, if the electronic tag does not receive the roll call information sent by the gateway, it means that there is no gateway around the electronic tag. At this time, the location information cannot be reported, and the electronic tag automatically switches back to the inventory state. If the roll call information sent by the gateway is received within 15 seconds, then the electronic tag will judge whether its own location information has changed. If the location information has changed, then the electronic tag will actively report the location information. After the reporting is completed, it will receive the confirmation message feedback from the gateway. When the confirmation message is received, the reporting is successful. If the location information of the electronic tag has not changed, it means that a reporting and confirmation process must have been carried out before. At this time, the gateway has informed the server of the location information of the electronic tag. When the location information of the electronic tag has not changed, there is no need to perform the reporting process again, which can save the power consumption of the device side. When the state of the electronic tag itself changes, such as the battery power changes, the reporting is carried out by means of Bluetooth broadcast.

[0085] It should be noted that once the electronic tag fails to report, the electronic shelf label will directly start the reporting process the next time it hears the roll call information, without judging whether the position of the electronic tag has changed. At the same time, regardless of whether the electronic tag has received the confirmation information from the gateway, when it sends the reporting information, the timer of the electronic tag is reset. If the position information has not changed, the electronic tag will also reset the timer to keep it in the active state and be able to continue receiving the roll call signal from the gateway.

[0086] Exemplarily, refer to Figure 3 , the gateway sends roll call signals to the surrounding electronic tags at any time. Once an electronic tag receives a roll call signal, it will judge whether it meets the conditions for sending reporting information according to its own state. When the electronic tag meets the conditions for sending reporting information, it will automatically send the reporting information and randomly report it to the initiator of the roll call. After completing the reporting, it will keep receiving for a period of time to receive the confirmation reply reported by the gateway and complete one reporting.

[0087] Embodiment 2

[0088] Refer to Figure 4 , which is a schematic flow chart for an electronic tag in an embodiment of the present application to judge whether its own position information has changed. After receiving the roll call signal sent by the gateway, the electronic tag obtains the ID information of the gateway and the signal strength of the roll call signal sent by the gateway from the roll call signal. Exemplarily, the signal strength is evaluated by RSSI. When the electronic tag receives the roll call signal for the first time after transitioning from the inventory state to the active state, it directly stores the ID information of the gateway and the signal strength information of the roll call signal. After receiving the roll call signal again later, it judges the position of the electronic tag according to the gateway ID information and the signal strength information of the roll call signal. Refer to Figure 5 , and the specific judgment method is as follows:

[0089] (1) When the RSSI of the stored roll call signal strength information in the electronic tag > -50dbm and the RSSI of the monitored roll call signal strength information > -50dbm, or;

[0090] (2) When -50dbm > RSSI of the stored roll call signal strength information in the electronic tag > -60dbm and the absolute value difference from the RSSI of the monitored roll call signal strength information is less than 7dbm, or;

[0091] (3) When -60dbm > RSSI of the stored roll call signal strength information in the electronic tag > -70dbm and the absolute value difference from the RSSI of the monitored roll call signal strength information is less than 4dbm, or;

[0092] (4) When -70dbm>RSSI>-80dbm of the roll call signal strength information stored in the electronic tag and the absolute value of the roll call signal strength information RSSI monitored is less than 2dbm, or;

[0093] (5) When the RSSI of the call-call signal strength information stored in the electronic tag is less than -80dbm, and the RSSI of the monitored call-call signal strength information is less than -80dbm,

[0094] As long as any one of the above conditions (1) to (5) is met, it means that the location information of the electronic tag has not changed. Otherwise, it means that the location information of the electronic tag has changed.

[0095] It should be noted that the threshold of the above judgment condition can be set manually. This judgment method is based on the attenuation characteristics of wireless signals and has been verified through actual tests. The effect is relatively ideal. Because the antenna reception of each electronic tag is different, the threshold of the judgment condition (such as absolute value, etc.) will be fine-tuned.

[0096] Example 3

[0097] At the same time, an electronic tag may receive roll call signals sent to it by multiple gateways. In order to avoid the influence between the roll call signals, this application also introduces a method for uniformizing the density of gateway roll call signals, such as Figure 5 As shown, the following steps are included:

[0098] The gateway monitors the roll call signals sent by other gateways;

[0099] The gateway adjusts the transmission interval of the roll call signal according to the number of roll call signals monitored.

[0100] The gateway roll call signal density uniformization method can dynamically adjust the density of the roll call signal to keep it within a reasonable range.

[0101] If an electronic tag is set to receive a roll call signal at regular intervals, the gateway will monitor the roll call signals sent by other surrounding gateways while starting to send the roll call signal to the electronic tag. The number of gateways that send roll call signals to the electronic tag at the same time is determined based on the gateway ID in the roll call signal. Based on the number of gateways, the roll call signal transmission interval of each gateway is calculated. The calculation method is as follows:

[0102] y = k*x + rand(-x, 2x);

[0103] Where y is the transmission interval of the roll call signal of each gateway, k is the set wireless signal density, x is the number of gateways transmitting roll call signals in the current environment, and rand(-x, 2x) is a random number selected from -x to 2x.

[0104] For example, if it is set that an electronic tag receives a roll call signal every 10 ms, and gateway A monitors that there are 3 gateways transmitting roll call signals around. Together with itself, that is, there are 4 gateways transmitting roll call signals in the current environment. Then these four gateways will adjust the transmission interval of the roll call signal to transmit one packet every about 40 milliseconds, so that an electronic tag can receive a roll call signal every 10 ms.

[0105] Embodiment 4

[0106] Since a gateway may receive the reporting information sent by multiple electronic tags at the same time, and since the time for receiving reports is fixed after each transmission of the roll call signal, if there are many devices to be reported at this time, it will cause mutual interference and all reports will not be successful. To avoid congestion caused by a large number of electronic shelf labels reporting at the same time, the present application also introduces a method for calculating the density of wireless roll call signals. A pending report flag is added to the reporting heartbeat data packet of the electronic tag. If the reporting information is successfully reported, the pending report flag is set to 0. If the reporting information has not been successfully reported, the pending report flag is set to 1. The gateway will count the number of electronic tags with the pending report flag set to 1 within a certain period of time, and dynamically adjust the number of reporting information received by the gateway according to the number of electronic tags.

[0107] Taking the gateway's statistics of the number d of all electronic tags with the pending report flag set to 1 within 10 s as an example, the calculation method is as follows:

[0108] a = b * c;

[0109] b = 10 * 60 / 10 * d / 1300;

[0110] It should be noted that if the calculated b is 0, that is, d (the number of electronic shelf tags that have not been successfully reported every 10 s) is 0, then a = c.

[0111] If the calculated a is less than c, then a = c.

[0112] Among them, a is the calculated wireless signal density; c is the density of the wireless signal calculated by the gateway roll call signal density homogenization method in Embodiment 3 above; d is the number of electronic shelf tags that have not been successfully reported every 10 s; 1300 is the preset maximum number of reports received by the gateway per second.

[0113] Embodiment 5

[0114] See Figure 6 , the present application also provides an electronic tag dynamic reporting system. The system includes an electronic tag and a gateway end that are communicatively connected to each other. Among them, the electronic tag includes:

[0115] A state switching module for switching the electronic tag between a first state and a second state;

[0116] A timer for limiting the time when the electronic tag is in the second state. When the timer times out, the electronic tag switches from the second state to the first state;

[0117] A roll call signal receiving module for receiving the roll call signal sent by the gateway side;

[0118] A location information judgment module for judging whether the location information of the electronic tag has changed. It should be noted that the location information judgment module also includes a memory and a signal strength calculation module. The signal strength calculation module calculates whether the location information has changed according to the signal strength stored in the memory and the signal strength of the roll call signal received by the roll call signal receiving module.

[0119] A reporting information sending module, when the electronic tag is in the first state and the roll call signal receiving module receives the roll call signal sent by the gateway side, is used to send reporting information to the gateway side; or when the electronic tag is in the second state, the timer has not timed out, the roll call signal receiving module receives the roll call signal sent by the gateway side and the location information of the electronic tag has changed, is used to send reporting information to the gateway side;

[0120] An acknowledgment information receiving module for receiving the acknowledgment information fed back by the gateway side after receiving the reporting information;

[0121] A timer reset module for resetting the timer when the reporting information sending module sends reporting information when the electronic tag is in the second state;

[0122] The gateway side includes a roll call signal density equalization module and a roll call signal density calculation module. Among them, the roll call signal density equalization module is used to monitor the roll call signals sent by other gateways and adjust the transmission interval of the roll call signals according to the number of monitored roll call signals; the roll call signal density calculation module is used to count the number of unreported electronic tags in all the received electronic tag heartbeat packets within a period of time according to the to-be-reported flag in the electronic tag heartbeat packet; and dynamically adjust the number of reporting information received by the gateway according to the number of unreported electronic tags.

[0123] Based on the above embodiments, it can be seen that the present application can greatly shorten the discovery and waiting time of the electronic shelf label networking and moving in the system; at the same time, the gateway roll call signal density equalization method is adopted, which will not increase the wireless load, and further introduces the wireless roll call signal density calculation method to avoid the interference generated by the electronic shelf tags during wireless reporting.

[0124] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included within the protection scope of the present application.

Claims

1. An electronic tag dynamic reporting method, characterized in that, The electronic tag includes a first state and a second state, and the method includes the following steps: When the electronic tag is in the first state: The electronic tag receives a polling signal sent by the gateway; The electronic tag uploads reporting information to the gateway and receives confirmation information feedback from the gateway; After the electronic tag receives the confirmation information feedback from the gateway, the electronic tag switches to the second state; When the electronic tag is in the second state: The electronic tag starts a timer; The electronic tag receives a polling signal sent by the gateway; The electronic tag determines whether the location information of the electronic tag has changed; If the location information of the electronic tag has changed and the timer has not timed out, the electronic tag uploads reporting information to the gateway, receives confirmation information feedback from the gateway, and resets the timer; If the location information of the electronic tag has not changed and the timer has not timed out, the electronic tag resets the timer; When the timer times out, the electronic tag switches to the first state.

2. The method according to claim 1, characterized in that The electronic tag determines whether the location information of the electronic tag has changed, including: The electronic tag receives the identity ID of the gateway sent by the gateway and obtains the first signal strength information corresponding to the gateway; The electronic tag queries the second signal strength information corresponding to the gateway in the signal strength information stored in the electronic tag according to the identity ID of the gateway; The electronic tag determines whether the location information of the electronic tag has changed according to the first signal strength information and the second signal strength information; If the location information of the electronic tag has changed, the electronic tag updates the second signal strength information based on the first signal strength information.

3. The method according to claim 2, characterized in that, The electronic tag determines whether the location information of the electronic tag has changed according to the first signal strength information and the second signal strength information, including: When the first signal strength is greater than -50 dbm and the second signal strength is greater than -50 dbm; Or, when the second signal strength is less than or equal to -50 dbm and greater than -60 dbm and the absolute value of the difference from the first signal strength is less than 7 dbm; Or, when the second signal strength is less than or equal to -60 dbm and greater than -70 dbm and the absolute value of the difference from the first signal strength is less than 4 dbm; Or, when the second signal strength is less than or equal to -70 dbm and greater than -80 dbm and the absolute value of the difference from the first signal strength is less than 2 dbm; Or, when the first signal strength is less than or equal to -80 dbm and the second signal strength is less than or equal to -80 dbm, the location information of the electronic tag has not changed; Otherwise, the location information of the electronic tag has changed.

4. The method according to claim 3, wherein The step that when the timer times out, the electronic tag switches to the first state, includes: The electronic tag deletes the signal strength information stored in the electronic tag.

5. The method according to claim 4, characterized in that The electronic tag receives a polling signal sent by the gateway, including: The gateway listens for polling signals sent by other gateways; The gateway adjusts the transmission interval of the polling signal according to the number of polling signals listened to.

6. The method according to claim 5, wherein The transmission interval of the roll call signal is obtained through the formula y = k*(x + 1)+rand(-x, 2x), where y is the transmission interval of the roll call signal for each gateway, k is the set wireless signal density, x is the number of roll call signals monitored by the gateway, and rand(-x, 2x) is a random number selected from -x to 2x.

7. The method according to claim 6, characterized in that The electronic tag uploads reporting information to the gateway, including: The electronic tag adds a to-be-reported flag in the electronic tag heartbeat packet, and the to-be-reported flag is used to indicate whether the electronic tag has completed reporting to the gateway; The gateway counts the number of electronic tags that have not completed reporting in all the electronic tag heartbeat packets received within a period of time according to the to-be-reported flag; The gateway dynamically adjusts the number of reporting information received by the gateway according to the number of electronic tags that have not completed reporting.

8. An electronic tag dynamic reporting system, including an electronic tag and a gateway end, wherein, The electronic tag includes: A state switching module for switching the electronic tag between a first state and a second state; A timer for limiting the time when the electronic tag is in the second state. When the timer times out, the electronic tag switches from the second state to the first state; A roll call signal receiving module for receiving the roll call signal sent by the gateway side; A location information judgment module for judging whether the location information of the electronic tag has changed; A reporting information sending module, when the electronic tag is in the first state and the roll call signal receiving module receives the roll call signal sent by the gateway side, is used to send reporting information to the gateway side; or when the electronic tag is in the second state, the timer has not timed out, the roll call signal receiving module receives the roll call signal sent by the gateway side and the location information of the electronic tag has changed, is used to send reporting information to the gateway side; An acknowledgement information receiving module for receiving the acknowledgement information fed back by the gateway side after receiving the reporting information; A timer reset module for resetting the timer when the reporting information sending module sends reporting information when the electronic tag is in the second state.

9. The system according to claim 8, wherein The location information judgment module further includes a memory and a signal strength calculation module. The signal strength calculation module calculates whether the location information of the electronic tag has changed according to the signal strength stored in the memory by the same gateway and the signal strength of the roll call signal received by the roll call signal receiving module.

10. The system according to claim 9, characterized in that, The gateway side includes a roll call signal density homogenization module and a roll call signal density calculation module. Among them, the roll call signal density homogenization module is used to monitor the roll call signals sent by other gateways and adjust the transmission interval of the roll call signal according to the number of monitored roll call signals; the roll call signal density calculation module is used to count the number of electronic tags that have not completed reporting in all the heartbeat packets received within a period of time according to the to-be-reported flag in the electronic tag heartbeat packet; and dynamically adjust the number of reporting information received by the gateway according to the number of electronic tags that have not completed reporting.

Citation Information

Patent Citations

  • Low-power-consumption network adaptive warehouse management system

    CN107330661A

  • Tray monitoring method and computer readable storage medium

    CN113361668A