CN116405552A - Segmented pushing method and system in low-power-consumption network - Google Patents

Segmented pushing method and system in low-power-consumption network Download PDF

Info

Publication number
CN116405552A
CN116405552A CN202310431784.2A CN202310431784A CN116405552A CN 116405552 A CN116405552 A CN 116405552A CN 202310431784 A CN202310431784 A CN 202310431784A CN 116405552 A CN116405552 A CN 116405552A
Authority
CN
China
Prior art keywords
time
sharing
network
push
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310431784.2A
Other languages
Chinese (zh)
Inventor
刘光跃
王刚
戴翚
王天琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Renhe Information Technology Co ltd
Original Assignee
Hangzhou Renhe Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Renhe Information Technology Co ltd filed Critical Hangzhou Renhe Information Technology Co ltd
Priority to CN202310431784.2A priority Critical patent/CN116405552A/en
Publication of CN116405552A publication Critical patent/CN116405552A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a method and a system for pushing segments in a low-power-consumption network, wherein the method comprises the steps of: sending a network access frame to a gateway with the best signal in a preset range; after receiving the network access frame, the gateway acquires a network access frame request sequence number, determines a time-sharing number according to the request sequence number, acquires the current network scale and the corresponding data push frequency, and sets time-sharing unit duration based on the data push frequency to feed back to the terminal node; after receiving the feedback information, the terminal node calculates the self push time-sharing time, performs clock synchronization, and enters a sleep state until the terminal node is awakened to send push information to the gateway; and after receiving the push information, the gateway stores the push time-sharing time table. By adopting the method, the nodes can push data only at the pushing time by the sectional pushing. The method and the device avoid the nodes to push data to the gateway at the same time and avoid push conflict, thereby improving the push success rate.

Description

Segmented pushing method and system in low-power-consumption network
Technical Field
The present invention relates to the field of network information transmission technologies, and in particular, to a method and a system for pushing segments in a low-power network.
Background
With the development of the internet, various network forms and connection modes are endless, and a gateway is a network interconnection device in the network forms and connection modes and is only used for network interconnection with two different higher-layer protocols. The gateway can be used for interconnection of wide area networks and local area networks, and is used for interconnecting and communicating different terminal devices, so that a user can conveniently communicate at any moment.
However, sometimes in the low-power-consumption large-scale node network of the internet of things, the nodes need to actively push collected data to the gateway. Because of the numerous nodes in the network, a large number of nodes push data at the same time (such as daily settlement, month settlement and the like), network storm can be caused, the random delay cannot avoid conflict, and the push success is reduced.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a segmented pushing method and a segmented pushing system in a low-power-consumption network.
The embodiment of the invention provides a segmented pushing method in a low-power-consumption network, which comprises a gateway in a network structure and a terminal node within a preset range of the gateway, and comprises the following steps:
when the terminal node is detected to be in an off-network state, acquiring the timing moment of a registration timer, and when the current moment reaches the timing moment, sending an on-network frame to a gateway with the best signal in a preset range by the terminal node;
after receiving a network access frame, the gateway acquires a request sequence number corresponding to the network access frame, determines a corresponding time-sharing number according to the request sequence number, acquires a current network scale and a corresponding data push frequency, sets a corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, the network scale and the time-sharing unit duration to the terminal node;
after receiving the feedback information of the gateway, the terminal node calculates the self push time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit duration, performs clock synchronization, enters a sleep state, and wakes up the terminal node to send push information to the gateway until the clock enters the push time-sharing time;
after receiving the push information, the gateway acquires a target node and a corresponding node address corresponding to the push information, determines a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and stores the push time-sharing time table.
In one embodiment, the method further comprises:
generating a terminal node sequence number table corresponding to the terminal node which is accessed to the network in the gateway, and distributing a time-sharing number for the corresponding terminal node based on the request sequence number;
when detecting that the terminal node which has accessed the network in the gateway exits the network, deleting the corresponding sequence number of the exiting node in the sequence number table of the terminal node, and synchronously updating the corresponding sequence number into the push time-sharing time table.
In one embodiment, the method further comprises:
when detecting that a new node exists in the gateway to access the network, acquiring the least unit time of the terminal nodes pushed in the push time-sharing time table, acquiring all the terminal nodes corresponding to the unit time, distributing the same time-sharing number, network scale and time-sharing unit time length to all the terminal nodes in the unit time, and synchronously updating the time-sharing number, the network scale and the time-sharing unit time length to the push time-sharing time table.
In one embodiment, the method further comprises:
and deleting gateway information of the corresponding gateway when the terminal node does not receive a response frame of the corresponding gateway within a preset duration or receives a rejection frame of the corresponding gateway, and selecting the gateway with the best signal from other gateways within a preset range to send a network access frame.
In one embodiment, the method further comprises:
and when no gateway exists in the preset range of the terminal node, entering a sleep state, and waking up the terminal node to detect the gateway in the preset range when the timing moment is reached next time.
The embodiment of the invention provides a segmented pushing system in a low-power-consumption network, which comprises the following steps:
the detection module is used for acquiring the timing moment of the registration timer when the terminal node is in the off-network state, and sending an on-network frame to a gateway with the best signal in a preset range by the terminal node when the current moment reaches the timing moment;
the time sharing module is used for acquiring a request sequence number corresponding to the network access frame after the gateway receives the network access frame, determining a corresponding time sharing number according to the request sequence number, acquiring the current network scale and the corresponding data pushing frequency, setting a corresponding time sharing unit duration based on the data pushing frequency, and feeding back the time sharing number, the network scale and the time sharing unit duration to the terminal node;
the pushing module is used for calculating the self pushing time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit duration after the terminal node receives the feedback information of the gateway, synchronizing the clock, entering a sleep state, and waking up the terminal node to send the pushing information to the gateway until the clock enters the pushing time-sharing time;
and the table module is used for acquiring the target node and the corresponding node address corresponding to the push information after the gateway receives the push information, determining a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and storing the push time-sharing time table.
In one embodiment, the system further comprises:
the distribution module is used for generating a terminal node sequence number table corresponding to the terminal nodes which are accessed to the network in the gateway and distributing time-sharing numbers for the corresponding terminal nodes based on the request sequence numbers;
and the network-exiting module is used for deleting the corresponding sequence number of the network-exiting node in the sequence number table of the terminal node when detecting that the network-entered terminal node in the gateway exits, and synchronously updating the corresponding sequence number into the push time-sharing time table.
In one embodiment, the system further comprises:
and the new node module is used for acquiring the least unit time of the terminal nodes pushed in the push time-sharing time table when detecting that the new node exists in the gateway to access the network, acquiring all the terminal nodes corresponding to the unit time, distributing the same time-sharing number, network scale and time-sharing unit time length to all the terminal nodes in the unit time, and synchronously updating the time-sharing number, the network scale and the time-sharing unit time length to the push time-sharing time table.
The embodiment of the invention provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the segmented pushing method in the low-power-consumption network when executing the program.
An embodiment of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for segment pushing in a low power network described above.
The embodiment of the invention provides a segmented pushing method and a segmented pushing system in a low-power-consumption network, wherein the segmented pushing method comprises the steps that a gateway in a network structure and a terminal node in a preset range of the gateway are included, when the terminal node is detected to be in an off-network state, the timing moment of a registration timer is acquired, and when the current moment reaches the timing moment, the terminal node sends an on-network frame to the gateway with the best signal in the preset range; after receiving the network access frame, the gateway acquires a request sequence number corresponding to the network access frame, determines a corresponding time-sharing number according to the request sequence number, acquires the current network scale and the corresponding data push frequency, sets a corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, the network scale and the time-sharing unit duration to the terminal node; after receiving the feedback information of the gateway, the terminal node calculates the self push time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit time length, performs clock synchronization, enters a sleep state, and wakes the terminal node to send push information to the gateway until the clock enters the push time-sharing time; after receiving the push information, the gateway acquires a target node and a corresponding node address corresponding to the push information, determines a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and stores the push time-sharing time table. Thus, by the sectional pushing, the nodes can push data only at the pushing time. The method and the device avoid the nodes to push data to the gateway at the same time and avoid push conflict, thereby improving the push success rate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for segment pushing in a low power network according to an embodiment of the present invention;
FIG. 2 is a block diagram of a segmented push system in a low power network in accordance with an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flow chart of a segment pushing method in a low-power consumption network according to an embodiment of the present invention, as shown in fig. 1, where the embodiment of the present invention provides a segment pushing method in a low-power consumption network, including a gateway in a network structure and a terminal node within a preset range of the gateway, and includes:
step S101, when the terminal node is detected to be in an off-network state, acquiring the timing moment of a registration timer, and when the current moment reaches the timing moment, sending an on-network frame to a gateway with the best signal in a preset range by the terminal node.
Specifically, when detecting that the terminal node is in an off-network state after being powered on, i.e. when not connected to a network, the timing moment of a registration timer is obtained, for example, registration timing is once every 10 minutes, after the registration timing is reached, the terminal node can sequentially apply for registration on all channels of the gateway in a preset range, if a gateway response exists, gateway information is stored in a registration list, and then after applying for registration on all channels, the terminal node sends a network access frame from the gateway with the best registration list selection signal to apply for network access.
In addition, when the terminal node does not receive a response frame of the corresponding gateway within a preset duration, or the terminal node receives a rejection frame of the corresponding gateway, it is indicated that there is a barrier in connection with the corresponding gateway, for example, if the distance is too long, the gateway information of the corresponding gateway is deleted, the gateway with the best signal is selected from other gateways within the preset range, and the gateway is sent to the network frame, and when the terminal node does not have the gateway within the preset range, the terminal node enters a sleep state, and when the next time arrives at a timing moment, the terminal node is awakened to detect the gateway within the preset range.
Step S102, after receiving a network access frame, the gateway obtains a request sequence number corresponding to the network access frame, determines a corresponding time-sharing number according to the request sequence number, obtains a current network scale and a corresponding data push frequency, sets a corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, the network scale and the time-sharing unit duration to the terminal node.
Specifically, after the gateway receives the network access frame sent by the terminal node, the node address in the network access frame is obtained and stored, where the node address may be obtained through carrying in the network access frame, or may be obtained when the terminal node applies for registration by the gateway, in general, the terminal node that completes registration may directly access the network, and determines a corresponding request sequence number and a corresponding time-sharing number when the terminal node accesses the network, where the time-sharing number may be a corresponding sequence number allocated by the gateway to the terminal node according to the number of the terminal nodes that access the network and the corresponding network access time, and determines a current network size, that is, the number of the terminal nodes that access the network, and a corresponding data push frequency, that is, for the type of the terminal node, a frequency of one minute push, one time push, one month push, and so on, and then sets a corresponding time-sharing unit duration based on the frequency, in general, the more frequent the push frequency, the shorter the time-sharing unit duration, and then the time-sharing number is fed back to the corresponding terminal node.
And step S103, after receiving the feedback information of the gateway, the terminal node calculates the self push time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit time length, performs clock synchronization, enters a sleep state, and wakes up the terminal node to send push information to the gateway until the clock enters the push time-sharing time.
Specifically, after the receiving node receives the feedback information of the gateway, based on the time number, the network scale and the time-sharing unit duration, the pushing time-sharing time of the terminal node is calculated, for example, the gateway distributes the time number P to the node to be 5, the network scale M is 50, and the time-sharing unit T space 1000 ms, the self push interval calculated by the terminal node is m×t space The first push time is determined according to the time-sharing number P, namely 50 seconds, namely the terminal node can push data to the gateway at 0 point, 0 minute and 5 seconds, 0 point, 0 minute and 55 seconds, 0 point, 1 minute and 45 seconds and the like, and the gateway can allocate the time-sharing number P to the node as 12 when the node accesses the network, the network scale M is 360, and the time-sharing unit T space If the time is 10000 ms, the node can push data at the time of 0 point 2 minutes, 0 seconds, 0 ms, 1 point 2 minutes, 0 seconds, 0 ms, and the like, and at other time except the data pushing time, the terminal node enters a sleep state, and when the clock enters the pushing time sharing time, the terminal node is awakened to send push information to the gateway.
Step S104, after receiving the push information, the gateway acquires a target node and a corresponding node address corresponding to the push information, determines a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and stores the push time-sharing time table.
Specifically, after the gateway receives the push information, determining a target node and a corresponding node address for sending the push information, and establishing a push time-sharing time table corresponding to the terminal node according to a time-sharing number, a network scale, a time-sharing unit duration and the corresponding node address corresponding to the target node, wherein the push time-sharing time table comprises push times of all the middle single nodes of the gateway access to the network, and the push time-sharing time table is stored, so that a worker can conveniently inquire the corresponding terminal node.
In addition, a terminal node sequence number table corresponding to the terminal node which has been accessed to the network in the gateway can be generated, wherein in the terminal node sequence number table, the terminal nodes are ordered according to the access time of the terminal node in the gateway, a time division number is allocated to the corresponding terminal node based on the request sequence number, then when the terminal node which has been accessed to the network in the gateway is detected to be accessed to the network, the corresponding sequence number of the network-exiting node in the terminal node sequence number table is deleted, the terminal node sequence number table is not modified, and because the modification needs to be modified together with other terminal nodes, the modification is not performed, only the sequence number corresponding to the deleted node is left, and when the new node access is detected, the corresponding spare part is complemented, and the corresponding information of the deleted node is synchronously updated to the pushing time table, and the other node information is not modified.
In addition, when a new node in the gateway is detected to be connected to the network, in order to avoid affecting other nodes, the least unit time of the terminal nodes pushed in the push time-sharing time table is acquired, all the terminal nodes corresponding to the unit time are acquired, all the terminal nodes in the unit time are distributed with the same time-sharing number, network scale and time-sharing unit time length, and are synchronously updated into the push time-sharing time table, namely, the new node and the time-sharing number of the other nodes pushing the least unit time are put together, push information is received together, and therefore the influence on the node information of the other nodes can be avoided.
The embodiment of the invention provides a segmented pushing method in a low-power consumption network, which comprises a gateway in a network structure and a terminal node in a preset range of the gateway, wherein when the terminal node is detected to be in an off-network state, the timing moment of a registration timer is acquired, and when the current moment reaches the timing moment, the terminal node sends an on-network frame to the gateway with the best signal in the preset range; after receiving the network access frame, the gateway acquires a request sequence number corresponding to the network access frame, determines a corresponding time-sharing number according to the request sequence number, acquires the current network scale and the corresponding data push frequency, sets a corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, the network scale and the time-sharing unit duration to the terminal node; after receiving the feedback information of the gateway, the terminal node calculates the self push time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit time length, performs clock synchronization, enters a sleep state, and wakes the terminal node to send push information to the gateway until the clock enters the push time-sharing time; after receiving the push information, the gateway acquires a target node and a corresponding node address corresponding to the push information, determines a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and stores the push time-sharing time table. Thus, by the sectional pushing, the nodes can push data only at the pushing time. The method and the device avoid the nodes to push data to the gateway at the same time and avoid push conflict, thereby improving the push success rate.
Fig. 2 is a block push system in a low power network according to an embodiment of the present invention, including: the device comprises a detection module S201, a time sharing module S202, a pushing module S203 and a form module S204, wherein:
and the detection module S201 is used for acquiring the timing moment of the registration timer when the terminal node is detected to be in the off-network state, and sending an on-network frame to a gateway with the best signal in a preset range by the terminal node when the current moment reaches the timing moment.
And the time sharing module S202 is used for acquiring a request sequence number corresponding to the network access frame after the gateway receives the network access frame, determining a corresponding time sharing number according to the request sequence number, acquiring the current network scale and the corresponding data pushing frequency, setting a corresponding time sharing unit duration based on the data pushing frequency, and feeding back the time sharing number, the network scale and the time sharing unit duration to the terminal node.
And the pushing module S203 is used for calculating the self pushing time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit duration after the terminal node receives the feedback information of the gateway, synchronizing the clock, entering a sleep state, and waking up the terminal node to send the pushing information to the gateway until the clock enters the pushing time-sharing time.
And the table module S204 is used for acquiring the target node and the corresponding node address corresponding to the push information after the gateway receives the push information, determining a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and storing the push time-sharing time table.
In one embodiment, the system further comprises:
and the distribution module is used for generating a terminal node sequence number table corresponding to the terminal nodes which are accessed to the network in the gateway and distributing time-sharing numbers for the corresponding terminal nodes based on the request sequence numbers.
And the network-exiting module is used for deleting the corresponding sequence number of the network-exiting node in the sequence number table of the terminal node when detecting that the network-entered terminal node in the gateway exits, and synchronously updating the corresponding sequence number into the push time-sharing time table.
In one embodiment, the system further comprises:
and the new node module is used for acquiring the least unit time of the terminal nodes pushed in the push time-sharing time table when detecting that the new node exists in the gateway to access the network, acquiring all the terminal nodes corresponding to the unit time, distributing the same time-sharing number, network scale and time-sharing unit time length to all the terminal nodes in the unit time, and synchronously updating the time-sharing number, the network scale and the time-sharing unit time length to the push time-sharing time table.
For specific limitations of the segment push system in the low power network, reference may be made to the above limitation of the segment push method in the low power network, and no further description is given here. The various modules in the segmented push system in the low power network described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
Fig. 3 illustrates a physical schematic diagram of an electronic device, as shown in fig. 3, where the electronic device may include: a processor (processor) 301, a memory (memory) 302, a communication interface (Communications Interface) 303 and a communication bus 304, wherein the processor 301, the memory 302 and the communication interface 303 perform communication with each other through the communication bus 304. The processor 301 may call logic instructions in the memory 302 to perform the following method: when detecting that the terminal node is in an off-network state, acquiring the timing moment of a registration timer, and when the current moment reaches the timing moment, the terminal node sends an on-network frame to a gateway with the best signal in a preset range; after receiving the network access frame, the gateway acquires a request sequence number corresponding to the network access frame, determines a corresponding time-sharing number according to the request sequence number, acquires the current network scale and the corresponding data push frequency, sets a corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, the network scale and the time-sharing unit duration to the terminal node; after receiving the feedback information of the gateway, the terminal node calculates the self push time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit time length, performs clock synchronization, enters a sleep state, and wakes the terminal node to send push information to the gateway until the clock enters the push time-sharing time; after receiving the push information, the gateway acquires a target node and a corresponding node address corresponding to the push information, determines a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and stores the push time-sharing time table.
Further, the logic instructions in memory 302 described above may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, embodiments of the present invention further provide a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the transmission method provided in the above embodiments, for example, including: when detecting that the terminal node is in an off-network state, acquiring the timing moment of a registration timer, and when the current moment reaches the timing moment, the terminal node sends an on-network frame to a gateway with the best signal in a preset range; after receiving the network access frame, the gateway acquires a request sequence number corresponding to the network access frame, determines a corresponding time-sharing number according to the request sequence number, acquires the current network scale and the corresponding data push frequency, sets a corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, the network scale and the time-sharing unit duration to the terminal node; after receiving the feedback information of the gateway, the terminal node calculates the self push time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit time length, performs clock synchronization, enters a sleep state, and wakes the terminal node to send push information to the gateway until the clock enters the push time-sharing time; after receiving the push information, the gateway acquires a target node and a corresponding node address corresponding to the push information, determines a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and stores the push time-sharing time table.
The system embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A segmented pushing method in a low-power consumption network comprises a gateway in a network structure and a terminal node within a preset range of the gateway, and is characterized by comprising the following steps:
when the terminal node is detected to be in an off-network state, acquiring the timing moment of a registration timer, and when the current moment reaches the timing moment, sending an on-network frame to a gateway with the best signal in a preset range by the terminal node;
after receiving a network access frame, the gateway acquires a request sequence number corresponding to the network access frame, determines a corresponding time-sharing number according to the request sequence number, acquires a current network scale and a corresponding data push frequency, sets a corresponding time-sharing unit duration based on the data push frequency, and feeds back the time-sharing number, the network scale and the time-sharing unit duration to the terminal node;
after receiving the feedback information of the gateway, the terminal node calculates the self push time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit duration, performs clock synchronization, enters a sleep state, and wakes up the terminal node to send push information to the gateway until the clock enters the push time-sharing time;
after receiving the push information, the gateway acquires a target node and a corresponding node address corresponding to the push information, determines a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and stores the push time-sharing time table.
2. The method for segmented pushing in a low power network according to claim 1, wherein the obtaining the request sequence number corresponding to the network access frame, and determining the corresponding time-sharing number according to the request sequence number, comprises:
generating a terminal node sequence number table corresponding to the terminal node which is accessed to the network in the gateway, and distributing a time-sharing number for the corresponding terminal node based on the request sequence number;
when detecting that the terminal node which has accessed the network in the gateway exits the network, deleting the corresponding sequence number of the exiting node in the sequence number table of the terminal node, and synchronously updating the corresponding sequence number into the push time-sharing time table.
3. The method for fragmented push in a low power network of claim 1, further comprising:
when detecting that a new node exists in the gateway to access the network, acquiring the least unit time of the terminal nodes pushed in the push time-sharing time table, acquiring all the terminal nodes corresponding to the unit time, distributing the same time-sharing number, network scale and time-sharing unit time length to all the terminal nodes in the unit time, and synchronously updating the time-sharing number, the network scale and the time-sharing unit time length to the push time-sharing time table.
4. The method for pushing segments in a low power consumption network according to claim 1, wherein after the terminal node sends a network frame to a gateway with the best signal in a preset range, the method further comprises:
and deleting gateway information of the corresponding gateway when the terminal node does not receive a response frame of the corresponding gateway within a preset duration or receives a rejection frame of the corresponding gateway, and selecting the gateway with the best signal from other gateways within a preset range to send a network access frame.
5. The method for fragmented push in a low power network of claim 1, further comprising:
and when no gateway exists in the preset range of the terminal node, entering a sleep state, and waking up the terminal node to detect the gateway in the preset range when the timing moment is reached next time.
6. A segmented push system in a low power network, the system comprising:
the detection module is used for acquiring the timing moment of the registration timer when the terminal node is in the off-network state, and sending an on-network frame to a gateway with the best signal in a preset range by the terminal node when the current moment reaches the timing moment;
the time sharing module is used for acquiring a request sequence number corresponding to the network access frame after the gateway receives the network access frame, determining a corresponding time sharing number according to the request sequence number, acquiring the current network scale and the corresponding data pushing frequency, setting a corresponding time sharing unit duration based on the data pushing frequency, and feeding back the time sharing number, the network scale and the time sharing unit duration to the terminal node;
the pushing module is used for calculating the self pushing time-sharing time of the terminal node based on the time-sharing number, the network scale and the time-sharing unit duration after the terminal node receives the feedback information of the gateway, synchronizing the clock, entering a sleep state, and waking up the terminal node to send the pushing information to the gateway until the clock enters the pushing time-sharing time;
and the table module is used for acquiring the target node and the corresponding node address corresponding to the push information after the gateway receives the push information, determining a push time-sharing time table corresponding to the terminal node based on the time-sharing number, the network scale, the time-sharing unit duration and the corresponding node address, and storing the push time-sharing time table.
7. The method of segment push in a low power network of claim 6, wherein the system further comprises:
the distribution module is used for generating a terminal node sequence number table corresponding to the terminal nodes which are accessed to the network in the gateway and distributing time-sharing numbers for the corresponding terminal nodes based on the request sequence numbers;
and the network-exiting module is used for deleting the corresponding sequence number of the network-exiting node in the sequence number table of the terminal node when detecting that the network-entered terminal node in the gateway exits, and synchronously updating the corresponding sequence number into the push time-sharing time table.
8. The method of segment push in a low power network of claim 6, wherein the system further comprises:
and the new node module is used for acquiring the least unit time of the terminal nodes pushed in the push time-sharing time table when detecting that the new node exists in the gateway to access the network, acquiring all the terminal nodes corresponding to the unit time, distributing the same time-sharing number, network scale and time-sharing unit time length to all the terminal nodes in the unit time, and synchronously updating the time-sharing number, the network scale and the time-sharing unit time length to the push time-sharing time table.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the piecewise push method in the low power network of any one of claims 1 to 5 when the program is executed by the processor.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the segment push method in a low power network according to any of claims 1 to 5.
CN202310431784.2A 2023-04-19 2023-04-19 Segmented pushing method and system in low-power-consumption network Pending CN116405552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310431784.2A CN116405552A (en) 2023-04-19 2023-04-19 Segmented pushing method and system in low-power-consumption network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310431784.2A CN116405552A (en) 2023-04-19 2023-04-19 Segmented pushing method and system in low-power-consumption network

Publications (1)

Publication Number Publication Date
CN116405552A true CN116405552A (en) 2023-07-07

Family

ID=87010400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310431784.2A Pending CN116405552A (en) 2023-04-19 2023-04-19 Segmented pushing method and system in low-power-consumption network

Country Status (1)

Country Link
CN (1) CN116405552A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082652A (en) * 2023-08-08 2023-11-17 北京中关村智连安全科学研究院有限公司 Data transmission method and system based on LoRa ad hoc network same-frequency avoidance

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117082652A (en) * 2023-08-08 2023-11-17 北京中关村智连安全科学研究院有限公司 Data transmission method and system based on LoRa ad hoc network same-frequency avoidance
CN117082652B (en) * 2023-08-08 2024-05-07 北京中关村智连安全科学研究院有限公司 Data transmission method and system based on LoRa ad hoc network same-frequency avoidance

Similar Documents

Publication Publication Date Title
US10855643B2 (en) Bluetooth low energy address resolving
CN109511133B (en) Awakening processing method and device
CN109788027A (en) Method of data synchronization, device, server and computer storage medium
KR20180035145A (en) Error detection in communication networks
CN102118263A (en) Method and system for distribution of configuration information
CN108848530B (en) Method and device for acquiring network resources and scheduling server
CN116405552A (en) Segmented pushing method and system in low-power-consumption network
WO2015196685A1 (en) Clock synchronization method and apparatus
CN106294691B (en) List refreshing method and device and server
CN103905574A (en) DNS service access method and DNS data synchronization method and device
CN109714757B (en) Method and device for preparing eSIM card in shared mode
Renzler et al. Improving the efficiency and responsiveness of smart objects using adaptive BLE device discovery
CN111314221A (en) Service processing method, device, equipment and computer readable storage medium
CN111511013B (en) Method, electronic device, and computer storage medium for synchronizing control signals
CN116744432A (en) Communication method, system, computer equipment and storage medium of electronic price tag system
CN110213359B (en) Internet of vehicles networking data pushing system and method based on D2D
CN104639399B (en) More primary time server detection methods and device
CN109905260A (en) Method, management equipment and the service processing equipment of device configuration
CN103957230A (en) Client user number determination method, server and system, and server
CN106815053A (en) A kind of data-updating method, device, data call end and data update system
Panta et al. Efficient wireless reprogramming through reduced bandwidth usage and opportunistic sleeping
CN111491354B (en) Node synchronization method and device in ad hoc network and ad hoc network system
CN102255753B (en) A kind of business configuration synchronous method and system
CN107995681B (en) Time synchronization method and device for wireless sensor network
CN103973804B (en) Method and device for setting terminal time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination