A segment push method and system in a low-power network
Patent Information
- Application Number
- CN202310431784.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-19
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2043-04-19
AI Technical Summary
[0003]但是,有时在物联网低功耗大规模节点网络中,节点需要主动推送采集数据给网关
[0031] This invention provides a segmented push method and system in a low-power network, including a gateway in the network structure and terminal nodes within a preset range of the gateway. When a terminal node is detected to be offline, the system obtains the timing of a registration timer. When the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within the preset range. After receiving the incoming frame, the gateway obtains the request sequence number corresponding to the incoming frame, determines the corresponding time-sharing number based on the request sequence number, obtains the current network scale and the corresponding data push frequency, sets the corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal node. After receiving the feedback information from the gateway, the terminal node calculates its own push time-sharing time based on the time-sharing number, network scale, and time-sharing unit duration, performs clock synchronization, and enters a sleep state until the clock enters the push time-sharing time, at which point the terminal node is awakened to send push information to the gateway. After receiving the push information, the gateway obtains the target node and the corresponding node address corresponding to the push information, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration, and the corresponding node address, and saves the push time-sharing schedule. This segmented push approach ensures that nodes only push data within their designated push time. This avoids simultaneous data pushes to the gateway by nodes, preventing push conflicts and thus improving the push success rate.
Smart Images

Figure CN116405552B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network information transmission technology, and in particular to a segmented push method and system in a low-power network. Background Technology
[0002] With the development of the Internet, various types of network forms and connection methods have emerged. Gateways are network interconnection devices used solely for interconnecting two networks with different high-level protocols. Gateways can be used for both wide area network (WAN) and local area network (LAN) interconnection, enabling communication between different terminal devices and facilitating communication between users at any time.
[0003] However, in low-power, large-scale node networks for the Internet of Things (IoT), nodes sometimes need to actively push collected data to the gateway. Due to the large number of nodes in the network, a large number of nodes pushing data at the same time (e.g., daily settlement, monthly settlement, etc.) can cause network storms, and random delays cannot avoid conflicts, reducing the success rate of pushes. Summary of the Invention
[0004] To address the problems existing in the prior art, embodiments of the present invention provide a segmented push method and system in a low-power network.
[0005] This invention provides a segmented push method in a low-power network, including a gateway in the network structure and terminal nodes within a preset range of the gateway, comprising:
[0006] When the terminal node is detected to be in an offline state, the timing of the registration timer is obtained, and when the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within the preset range.
[0007] After receiving the incoming frame, the gateway obtains the request sequence number corresponding to the incoming frame, determines the corresponding time-sharing number based on the request sequence number, obtains the current network scale and the corresponding data push frequency, sets the corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal node.
[0008] After receiving feedback information from the gateway, the terminal node calculates its own push time based on the time-sharing number, network scale, and time-sharing unit duration, synchronizes its clock, and enters a sleep state until the clock enters the push time-sharing period, at which point the terminal node is woken up to send push information to the gateway.
[0009] After receiving the push information, the gateway obtains the target node and the corresponding node address corresponding to the push information, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration and the corresponding node address, and saves the push time-sharing schedule.
[0010] In one embodiment, the method further includes:
[0011] Generate a terminal node sequence number table corresponding to the terminal nodes that have already joined the network in the gateway, and assign time-sharing numbers to the corresponding terminal nodes based on the request sequence number;
[0012] When a terminal node that has joined the network in the gateway is detected to have left the network, the corresponding serial number of the deactivated node in the terminal node serial number table is deleted, and the push time-sharing schedule is updated synchronously.
[0013] In one embodiment, the method further includes:
[0014] When a new node is detected joining the network in the gateway, the minimum unit time of the push time-sharing schedule is obtained, all terminal nodes corresponding to the unit time are obtained, and all terminal nodes in the unit time are assigned the same time-sharing number, network size, and time-sharing unit duration, and are synchronously updated in the push time-sharing schedule.
[0015] In one embodiment, the method further includes:
[0016] If the terminal node does not receive a response frame from the corresponding gateway within a preset time period, or if the terminal node receives a rejection frame from the corresponding gateway, it deletes the gateway information of the corresponding gateway and selects the gateway with the best signal from other gateways within a preset range to send an incoming frame.
[0017] In one embodiment, the method further includes:
[0018] When there is no gateway within the preset range of the terminal node, it enters a sleep state and wakes up to detect a gateway within the preset range when the next timed period arrives.
[0019] This invention provides a segmented push system in a low-power network, comprising:
[0020] The detection module is used to detect when the terminal node is in an offline state, obtain the timing of the registration timer, and when the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within a preset range.
[0021] The time-sharing module is used to obtain the request sequence number corresponding to the incoming frame after the gateway receives the incoming frame, determine the corresponding time-sharing number according to the request sequence number, obtain the current network scale and the corresponding data push frequency, set the corresponding time-sharing unit duration based on the data push frequency, and feed back the time-sharing number, network scale, and time-sharing unit duration to the terminal node.
[0022] The push module is used to calculate the push time of the terminal node itself based on the time division number, network scale, and time division unit duration after the terminal node receives the feedback information from the gateway, and to synchronize the clock and enter a sleep state until the clock enters the push time division time, and then wake up the terminal node to send push information to the gateway.
[0023] The table module is used by the gateway to obtain the target node and the corresponding node address corresponding to the push information after receiving the push information, and to determine the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration and the corresponding node address, and save the push time-sharing schedule.
[0024] In one embodiment, the system further includes:
[0025] The allocation module is used to generate a terminal node sequence number table corresponding to the terminal nodes that have joined the network in the gateway, and to allocate time-sharing numbers to the corresponding terminal nodes based on the request sequence number.
[0026] The network exit module is used to delete the corresponding serial number of the exited node in the terminal node serial number table when it is detected that a terminal node that has joined the network in the gateway has exited the network, and to synchronously update the push time-sharing schedule.
[0027] In one embodiment, the system further includes:
[0028] The new node module is used to obtain the minimum unit time of the push time-sharing schedule of terminal nodes when a new node is detected joining the network in the gateway, obtain all terminal nodes corresponding to the unit time, assign the same time-sharing number, network size, and time-sharing unit duration to all terminal nodes in the unit time, and synchronously update the push time-sharing schedule.
[0029] This invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the segmented push method in the low-power network described above.
[0030] This invention provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the segmented push method in the low-power network described above.
[0031] This invention provides a segmented push method and system in a low-power network, including a gateway in the network structure and terminal nodes within a preset range of the gateway. When a terminal node is detected to be offline, the system obtains the timing of a registration timer. When the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within the preset range. After receiving the incoming frame, the gateway obtains the request sequence number corresponding to the incoming frame, determines the corresponding time-sharing number based on the request sequence number, obtains the current network scale and the corresponding data push frequency, sets the corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal node. After receiving the feedback information from the gateway, the terminal node calculates its own push time-sharing time based on the time-sharing number, network scale, and time-sharing unit duration, performs clock synchronization, and enters a sleep state until the clock enters the push time-sharing time, at which point the terminal node is awakened to send push information to the gateway. After receiving the push information, the gateway obtains the target node and the corresponding node address corresponding to the push information, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration, and the corresponding node address, and saves the push time-sharing schedule. This segmented push approach ensures that nodes only push data within their designated push time. This avoids simultaneous data pushes to the gateway by nodes, preventing push conflicts and thus improving the push success rate. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 This is a flowchart of a segmented push method in a low-power network according to an embodiment of the present invention;
[0034] Figure 2 This is a structural diagram of a segmented push system in a low-power network according to an embodiment of the present invention;
[0035] Figure 3 This is a schematic diagram of the electronic device structure in an embodiment of the present invention. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0037] Figure 1 This is a flowchart illustrating a segmented push method in a low-power network according to an embodiment of the present invention, as shown below. Figure 1 As shown, this embodiment of the invention provides a segmented push method in a low-power network, including a gateway in the network structure and terminal nodes within a preset range of the gateway, including:
[0038] Step S101: When the terminal node is detected to be in an offline state, the timing of the registration timer is obtained, and when the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within the preset range.
[0039] Specifically, when a terminal node is detected to be powered on and in an offline state (i.e., not connected to the network), the timing of the registration timer is obtained, such as a registration timer every 10 minutes. When the registration timer is reached, the terminal node can apply for registration on all the channels of all gateways within the preset range in sequence. If a gateway responds, the gateway information is stored in the registration list. After applying for registration on all channels, the terminal node selects the gateway with the best signal from the registration list and sends an inbound frame to apply for network access.
[0040] In addition, if the terminal node does not receive a response frame from the corresponding gateway within a preset time period, or if the terminal node receives a rejection frame from the corresponding gateway, it indicates that there is an obstacle to the connection with the corresponding gateway, such as the distance being too far. In this case, the gateway information of the corresponding gateway is deleted, and the gateway with the best signal is selected from other gateways within the preset range to send an incoming frame. Furthermore, when there is no gateway within the preset range of the terminal node, it enters a sleep state and is woken up to detect the gateway within the preset range at the next time the timer is reached.
[0041] In step S102, after receiving the incoming frame, the gateway obtains the request sequence number corresponding to the incoming frame, determines the corresponding time-sharing number based on the request sequence number, obtains the current network scale and the corresponding data push frequency, sets the corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal node.
[0042] Specifically, when the gateway receives an inbound frame from a terminal node, it obtains and saves the node address in the inbound frame. The node address can be obtained by carrying it in the inbound frame or by obtaining it when the terminal node applies for registration with the gateway. Generally, a registered terminal node can directly join the network. The gateway determines the request sequence number and the corresponding time-sharing number for the terminal node when it joins the network. The time-sharing number can be a sequence number assigned by the gateway to the terminal node based on the number of terminal nodes joining the network and the corresponding joining time. The gateway also determines the current network scale, i.e., the number of terminal nodes joining the network, and the corresponding data push frequency. For the type of terminal node, the corresponding push frequency is one minute sequentially, once an hour, once a day, once a month, etc. Then, the gateway sets the corresponding time-sharing unit duration based on the frequency. Generally, the more frequent the push frequency, the shorter the time-sharing unit duration. Finally, the gateway feeds back the time-sharing number, network scale, and time-sharing unit duration to the corresponding terminal node.
[0043] In step S103, after receiving the feedback information from the gateway, the terminal node calculates its own push time based on the time division number, network scale, and time division unit duration, performs clock synchronization, and enters a sleep state until the clock enters the push time division period, at which point the terminal node is woken up to send push information to the gateway.
[0044] Specifically, after receiving feedback information from the gateway, the receiving node calculates its own push time-sharing time based on the time-sharing number, network size, and time-sharing unit duration. For example, the gateway assigns a time-sharing number P of 5, a network size M of 50, and a time-sharing unit T to the node. space If the interval is 1000 milliseconds, then the terminal node calculates its own push interval as M*T. space That is, 50 seconds. Then, the first push time is determined according to the time-sharing number P. That is, the terminal node can push data to the gateway at times such as 0:00:05, 0:00:55, 0:01:45, etc. Alternatively, when a node joins the network, the gateway assigns the node a time-sharing number P of 12, the network size M of 360, and the time-sharing unit T. space If the time interval is 10000 milliseconds, the node can push data at times such as 0:02:00:00, 1:02:00:00, and 2:02:00:00. At other times, the terminal node enters a sleep state and is woken up to send push information to the gateway when the clock enters the push time interval.
[0045] In step S104, after receiving the push information, the gateway obtains the target node and the corresponding node address corresponding to the push information, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration and the corresponding node address, and saves the push time-sharing schedule.
[0046] Specifically, after the gateway receives the push information, it determines the target node and the corresponding node address to send the push information, and establishes a push time-sharing schedule for the terminal node based on the time-sharing number, network scale, time-sharing unit duration, and the corresponding node address of the target node. The push time-sharing schedule includes the push time of all single nodes in the gateway network and is saved to facilitate staff to query the corresponding terminal nodes.
[0047] Additionally, a terminal node sequence number table can be generated corresponding to the terminal nodes already connected to the gateway. In this table, terminal nodes are sorted according to their connection time within the gateway, and time-sharing numbers are assigned to the corresponding terminal nodes based on their request sequence numbers. When a terminal node already connected to the gateway is detected to have left the network, the corresponding sequence number of the deactivated node is deleted from the terminal node sequence number table. The terminal node sequence number table itself is not modified, as modification would require changes to other terminal nodes. Instead, the sequence number corresponding to the deleted node is left empty. When a new node is detected to be connected to the network, the empty space is filled in, and the time-sharing schedule is updated synchronously. This update also corresponds to the information of the deleted node, without modifying the information of other nodes.
[0048] In addition, when a new node is detected joining the network in the gateway, in order to avoid affecting other nodes, the system obtains the minimum unit time of the push time-sharing schedule for terminal nodes, retrieves all terminal nodes corresponding to the unit time, and assigns the same time-sharing number, network size, and time-sharing unit duration to all terminal nodes within the unit time. This information is then synchronously updated in the push time-sharing schedule. In other words, the time-sharing numbers of the new node and other nodes with the minimum push time are placed together, and the push information is received together, thereby avoiding affecting the node information of other nodes.
[0049] This invention provides a segmented push method in a low-power network, comprising a gateway in the network structure and terminal nodes within a preset range of the gateway. When a terminal node is detected to be offline, the method acquires the timing of a registration timer. When the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within the preset range. After receiving the incoming frame, the gateway acquires the request sequence number corresponding to the incoming frame, determines the corresponding time-sharing number based on the request sequence number, acquires the current network scale and the corresponding data push frequency, sets the corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal node. After receiving the feedback information from the gateway, the terminal node calculates its own push time-sharing time based on the time-sharing number, network scale, and time-sharing unit duration, performs clock synchronization, and enters a sleep state until the clock enters the push time-sharing time, at which point the terminal node is awakened to send push information to the gateway. After receiving the push information, the gateway acquires the target node and the corresponding node address corresponding to the push information, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration, and the corresponding node address, and saves the push time-sharing schedule. This segmented push approach ensures that nodes only push data within their designated push time. This avoids simultaneous data pushes to the gateway by nodes, preventing push conflicts and thus improving the push success rate.
[0050] Figure 2 A segmented push system in a low-power network provided by an embodiment of the present invention includes: a detection module S201, a time-division module S202, a push module S203, and a table module S204, wherein:
[0051] The detection module S201 is used to detect that the terminal node is in an offline state, obtain the timing of the registration timer, and when the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within a preset range.
[0052] The time-sharing module S202 is used to, after the gateway receives an incoming frame, obtain the request sequence number corresponding to the incoming frame, determine the corresponding time-sharing number based on the request sequence number, obtain the current network scale and the corresponding data push frequency, set the corresponding time-sharing unit duration based on the data push frequency, and feed back the time-sharing number, network scale, and time-sharing unit duration to the terminal node.
[0053] The push module S203 is used to, after the terminal node receives the feedback information from the gateway, calculate its own push time based on the time division number, network scale, and time division unit duration, synchronize the clock, enter a sleep state, and wake up the terminal node to send push information to the gateway when the clock enters the push time division.
[0054] The table module S204 is used for the gateway to obtain the target node and the corresponding node address corresponding to the push information after receiving the push information, and to determine the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration and the corresponding node address, and to save the push time-sharing schedule.
[0055] In one embodiment, the system further includes:
[0056] The allocation module is used to generate a terminal node sequence number table corresponding to the terminal nodes that have joined the network in the gateway, and to allocate time-sharing numbers to the corresponding terminal nodes based on the request sequence number.
[0057] The network exit module is used to delete the corresponding serial number of the exited node in the terminal node serial number table when it is detected that a terminal node that has joined the network in the gateway has exited the network, and to synchronously update the push time-sharing schedule.
[0058] In one embodiment, the system further includes:
[0059] The new node module is used to obtain the minimum unit time of the push time-sharing schedule of terminal nodes when a new node is detected joining the network in the gateway, obtain all terminal nodes corresponding to the unit time, assign the same time-sharing number, network size, and time-sharing unit duration to all terminal nodes in the unit time, and synchronously update the push time-sharing schedule.
[0060] Specific limitations regarding the segmented push system in low-power networks can be found in the limitations of the segmented push method in low-power networks described above, and will not be repeated here. Each module in the aforementioned segmented push system in low-power networks can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independent of the processor in a computer device, or stored in software in the memory of a computer device, so that the processor can call and execute the corresponding operations of each module.
[0061] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3As shown, the electronic device may include: a processor 301, a memory 302, a communication interface 303, and a communication bus 304, wherein the processor 301, the memory 302, and the communication interface 303 communicate with each other through the communication bus 304. The processor 301 can call the logic instructions in the memory 302 to execute the following method: When the terminal node is detected to be in an offline state, the processor obtains the timing of the registration timer, and when the current time reaches the timing, the terminal node sends an entry frame to the gateway with the best signal within the preset range; After receiving the entry frame, the gateway obtains the request sequence number corresponding to the entry frame, determines the corresponding time-sharing number based on the request sequence number, obtains the current network scale and the corresponding data push frequency, sets the corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal node; After receiving the feedback information from the gateway, the terminal node calculates its own push time-sharing time based on the time-sharing number, network scale, and time-sharing unit duration, performs clock synchronization, enters a sleep state, and wakes up the terminal node to send push information to the gateway when the clock enters the push time-sharing time; After receiving the push information, the gateway obtains the target node and the corresponding node address corresponding to the push information, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration, and the corresponding node address, and saves the push time-sharing schedule.
[0062] Furthermore, the logical instructions in the aforementioned memory 302 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0063] On the other hand, embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the transmission methods provided in the above embodiments, including, for example, when a terminal node is detected to be in an offline state, obtaining the timing of a registration timer, and when the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within a preset range; after receiving the incoming frame, the gateway obtains the request sequence number corresponding to the incoming frame, determines the corresponding time division number based on the request sequence number, obtains the current network scale and the corresponding data push frequency, and sets the corresponding [data push frequency] based on the data push frequency. The gateway assigns time-sharing unit durations and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal nodes. After receiving the feedback information from the gateway, the terminal node calculates its own push time-sharing time based on the time-sharing number, network scale, and time-sharing unit duration, synchronizes its clock, and enters a sleep state until the clock enters the push time-sharing time, at which point it wakes up and sends push information to the gateway. After receiving the push information, the gateway obtains the target node and its corresponding node address, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration, and the corresponding node address, and saves the push time-sharing schedule.
[0064] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0065] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0066] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions 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 invention.
Claims
1. A segmented push method in a low-power network, comprising a gateway in the network structure and terminal nodes within a preset range of the gateway, characterized in that, include: When the terminal node is detected to be in an offline state, the timing of the registration timer is obtained, and when the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within the preset range. After receiving the incoming frame, the gateway obtains the request sequence number corresponding to the incoming frame, determines the corresponding time-sharing number based on the request sequence number, obtains the current network scale and the corresponding data push frequency, sets the corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, network scale, and time-sharing unit duration to the terminal node. After receiving feedback information from the gateway, the terminal node calculates its own push time based on the time-sharing number, network size, and time-sharing unit duration. It determines the first push time based on the time-sharing number, calculates the push interval based on the network size and time-sharing unit duration, performs clock synchronization, and enters sleep mode until the clock enters the push time-sharing period, at which point the terminal node is woken up to send push information to the gateway. After receiving the push information, the gateway obtains the target node and the corresponding node address corresponding to the push information, and determines the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration and the corresponding node address, and saves the push time-sharing schedule.
2. The segmented push method in a low-power network according to claim 1, characterized in that, The step of obtaining the request sequence number corresponding to the incoming frame and determining the corresponding time-sharing number based on the request sequence number includes: Generate a terminal node sequence number table corresponding to the terminal nodes that have already joined the network in the gateway, and assign time-sharing numbers to the corresponding terminal nodes based on the request sequence number; When a terminal node that has joined the network in the gateway is detected to have left the network, the corresponding serial number of the deactivated node in the terminal node serial number table is deleted, and the push time-sharing schedule is updated synchronously.
3. The segmented push method in a low-power network according to claim 1, characterized in that, The method further includes: When a new node is detected joining the network in the gateway, the minimum unit time of the push time-sharing schedule is obtained, all terminal nodes corresponding to the unit time are obtained, and all terminal nodes in the unit time are assigned the same time-sharing number, network size, and time-sharing unit duration, and are synchronously updated in the push time-sharing schedule.
4. The segmented push method in a low-power network according to claim 1, characterized in that, After the terminal node sends the incoming frame to the gateway with the best signal within the preset range, it also includes: If the terminal node does not receive a response frame from the corresponding gateway within a preset time period, or if the terminal node receives a rejection frame from the corresponding gateway, it deletes the gateway information of the corresponding gateway and selects the gateway with the best signal from other gateways within a preset range to send an incoming frame.
5. The segmented push method in a low-power network according to claim 1, characterized in that, The method further includes: When there is no gateway within the preset range of the terminal node, it enters a sleep state and wakes up to detect a gateway within the preset range when the next timed period arrives.
6. A segmented push system in a low-power network, characterized in that, The system includes: The detection module is used to obtain the timing of the registration timer when the terminal node is in an offline state, and when the current time reaches the timing, the terminal node sends an incoming frame to the gateway with the best signal within a preset range. The time-sharing module is used to obtain the request sequence number corresponding to the incoming frame after the gateway receives the incoming frame, determine the corresponding time-sharing number according to the request sequence number, obtain the current network scale and the corresponding data push frequency, set the corresponding time-sharing unit duration based on the data push frequency, and feed back the time-sharing number, network scale, and time-sharing unit duration to the terminal node. The push module is used to calculate the push time of the terminal node itself based on the time number, network scale, and time unit duration after the terminal node receives the feedback information from the gateway, determine the first push time based on the time number, calculate the push interval based on the network scale and time unit duration, perform clock synchronization, enter sleep state, and wake up the terminal node to send push information to the gateway when the clock enters the push time period. The table module is used by the gateway to obtain the target node and the corresponding node address corresponding to the push information after receiving the push information, and to determine the push time-sharing schedule corresponding to the terminal node based on the time-sharing number, network scale, time-sharing unit duration and the corresponding node address, and save the push time-sharing schedule.
7. The segmented push system in a low-power network according to claim 6, characterized in that, The system also includes: The allocation module is used to generate a terminal node sequence number table corresponding to the terminal nodes that have joined the network in the gateway, and to allocate time-sharing numbers to the corresponding terminal nodes based on the request sequence number. The network exit module is used to delete the corresponding serial number of the exited node in the terminal node serial number table when it is detected that a terminal node that has joined the network in the gateway has exited the network, and to synchronously update the push time-sharing schedule.
8. The segmented push system in a low-power network according to claim 6, characterized in that, The system also includes: The new node module is used to obtain the minimum unit time of the push time-sharing schedule of terminal nodes when a new node is detected joining the network in the gateway, obtain all terminal nodes corresponding to the unit time, assign the same time-sharing number, network size, and time-sharing unit duration to all terminal nodes in the unit time, and synchronously update the push time-sharing schedule.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the segmented push method in the low-power network as described in any one of claims 1 to 5.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the segmented push method in a low-power network as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Wireless sensor network communication method based on time division dormancy
CN107835527A
Time domain resource allocation for data transmissions
WO2022192442A1