CN111836385A - Method and device for processing network beacon in wireless sensor network - Google Patents

Method and device for processing network beacon in wireless sensor network Download PDF

Info

Publication number
CN111836385A
CN111836385A CN202010553061.6A CN202010553061A CN111836385A CN 111836385 A CN111836385 A CN 111836385A CN 202010553061 A CN202010553061 A CN 202010553061A CN 111836385 A CN111836385 A CN 111836385A
Authority
CN
China
Prior art keywords
network
internet
things
network beacon
access point
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
CN202010553061.6A
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.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication 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 Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN202010553061.6A priority Critical patent/CN111836385A/en
Publication of CN111836385A publication Critical patent/CN111836385A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • H04W72/23Control channels or signalling for resource management in the downlink direction of a wireless link, i.e. towards a terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The application discloses a method and equipment for processing a network beacon in a wireless sensor network, wherein the method comprises the following steps: the wireless access point of the Internet of things acquires system time; the wireless access point of the Internet of things determines a network beacon configuration period to which the system time belongs; the wireless access point of the Internet of things determines network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to a preset mapping relation between the network beacon configuration period and the network beacon configuration parameters; and the wireless access point of the Internet of things configures the network beacon to be broadcasted according to the determined network beacon configuration parameters. The embodiment of the invention is beneficial to improving the stability and the real-time property of the data transmission of the wireless sensor network.

Description

Method and device for processing network beacon in wireless sensor network
Technical Field
The present application relates to the field of communications, and in particular, to a method and an apparatus for processing a network beacon in a wireless sensor network.
Background
The wireless sensing network in the application of the Internet of things is composed of an Internet of things gateway, an Internet of things wireless access point and an Internet of things terminal, data acquisition is carried out through the Internet of things terminal, and data transmission is carried out through the Internet of things wireless access point and the Internet of things gateway. The internet of things has two meanings: firstly, the core and the foundation of the internet of things are still the internet, and the internet is an extended and expanded network on the basis of the internet; and secondly, the user side extends and expands to any article to perform information exchange and communication, namely, the article information. The internet of things is widely applied to network fusion through communication perception technologies such as intelligent perception, identification technology and pervasive computing, and is also called as the third wave of development of the world information industry after computers and the internet. The internet of things is an application expansion of the internet, and is not a network, but a business and an application.
At present, in a wireless sensor network, an access point of the internet of things generally broadcasts a fixedly configured network beacon, the network beacon includes a plurality of time slots, and after receiving the network beacon, a terminal of the internet of things can query a time slot for sending uplink data according to its own network number and occupy a channel resource of the access point of the internet of things at the corresponding time slot to send the uplink data.
However, some internet of things terminals may have uplink data burst when the environment changes, the burst data often cannot be completely transmitted in the predetermined time slot, and the data that is not completely transmitted may be discarded or may be continuously transmitted in the predetermined time slot corresponding to the next beacon period.
Disclosure of Invention
The application provides a processing method and equipment for a network beacon in a wireless sensor network, which can improve the stability and the real-time performance of data transmission of the wireless sensor network.
In a first aspect, an embodiment of the present invention provides a method for processing a network beacon in a wireless sensor network, which is applied to the wireless sensor network, where the wireless sensor network includes an internet of things wireless access point and an internet of things terminal in communication connection with the internet of things wireless access point, and the method includes the following steps:
the wireless access point of the Internet of things acquires system time;
the wireless access point of the Internet of things determines a network beacon configuration period to which the system time belongs;
the wireless access point of the Internet of things determines network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to a preset mapping relation between the network beacon configuration period and the network beacon configuration parameters;
and the wireless access point of the Internet of things configures the network beacon to be broadcasted according to the determined network beacon configuration parameters.
As can be seen from the above, in the embodiment of the present invention, the wireless access point of the internet of things first obtains the system time, determines the network beacon configuration period to which the system time belongs, then determines the network beacon configuration parameter corresponding to the network beacon configuration period to which the system time belongs according to the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameter, and finally configures the network beacon to be broadcasted according to the determined network beacon configuration parameter. In the mapping relationship between the preset network beacon configuration time period and the network beacon configuration parameters, different network beacon configuration time periods correspond to different network beacon configuration parameters, that is, the network beacon configuration parameters can be dynamically adjusted according to the uplink data volume in the corresponding time period, for example, a first network beacon configuration parameter is configured for a first time period with a larger uplink data volume, and a second network beacon configuration parameter is configured for a second time period with a smaller uplink data volume, so that the internet of things wireless access point configures a first network beacon in the first time period and configures a second network beacon in the second time period, so that the uplink data of the internet of things terminal in the wireless sensor network always has an adaptive network beacon to support the transmission of the uplink data, and the improvement of the stability and the real-time performance of the wireless sensor network data transmission is facilitated.
In one possible design, after the internet of things wireless access point configures a network beacon to be broadcasted according to the determined network beacon configuration parameter, the method further includes:
and the wireless access point of the Internet of things broadcasts the configured network beacon to be broadcasted in the determined network beacon configuration time period.
In one possible design, a beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameter includes the number n1 of network slots of an ordered contention type and the number n2 of network slots of an unordered contention type in the n network slots, and the sum of n1 and n2 is less than or equal to n, where n1 network slots are used for the internet of things terminal to perform data interaction on a corresponding network slot according to its own network number, and n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on a corresponding slot according to a preset unordered contention mechanism.
In one possible design, after the internet-of-things wireless access point broadcasts the configured network beacon to be broadcasted within the determined network beacon configuration period, the method further includes:
the wireless access point of the internet of things receives first uplink data sent by a first internet of things terminal in the n1 network time slots in an ith network time slot, wherein the network number of the first internet of things terminal corresponds to the ith network time slot, and i is a positive integer less than or equal to n 1; and/or
The wireless access point of the internet of things receives second uplink data sent by a second networking terminal in the internet of things terminal in a j-th network time slot of the n2 network time slots, the second networking terminal competes for wireless channel resources of the wireless access point of the internet of things in the j-th network time slot, and j is a positive integer less than or equal to n 2.
It can be seen that, in this possible design, since the network beacon includes n1 network slots of ordered contention types and n2 network slots of unordered contention types, the terminal of the internet of things can further contend for channel resources in n2 network slots of unordered contention types to transmit remaining uplink data while making full use of the network slots of ordered contention types to perform data transmission, which is particularly suitable for data transmission of the terminal of the internet of things with suddenly increased uplink data, and the sudden increased data of the terminal of the internet of things can be prevented from being lost or delayed to be transmitted in the next beacon period as much as possible, which is beneficial to further improving the stability and the real-time performance of data transmission of the wireless sensor network.
In one possible design, the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters includes m network beacon configuration periods, m is a positive integer, and before the internet of things wireless access point acquires the system time, the method further includes:
the wireless access point of the Internet of things counts the number of the terminals of the Internet of things which detect the sudden increase of the uplink data in each network beacon configuration period in the m network beacon configuration periods;
and the wireless access point of the Internet of things determines the network beacon configuration parameters corresponding to each network beacon configuration period according to the number of the detected terminals of the Internet of things with the suddenly increased uplink data, and establishes a mapping relation between the network beacon configuration periods and the network beacon configuration parameters.
In a second aspect of the embodiments of the present invention, an internet of things wireless access point is provided, where the internet of things wireless access point has a function of implementing the internet of things wireless access point in the method design of the first aspect. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the above-described functions.
Specifically, the wireless access point of the internet of things comprises a processing unit, wherein the processing unit is used for acquiring system time; and a network beacon configuration period for determining to which the system time belongs; the system time management device is used for determining the network beacon configuration parameters corresponding to the network beacon configuration time period to which the system time belongs according to the mapping relation between the preset network beacon configuration time period and the network beacon configuration parameters; and the network beacon is used for configuring the network beacon to be broadcasted according to the determined network beacon configuration parameters.
In a possible design, the internet of things wireless access point further includes a communication unit, and after configuring, by the processing unit, a network beacon to be broadcasted according to the determined network beacon configuration parameter, the processing unit is further configured to broadcast, by the communication unit, the configured network beacon to be broadcasted within the determined network beacon configuration period.
In one possible design, a beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameter includes the number n1 of network slots of an ordered contention type and the number n2 of network slots of an unordered contention type in the n network slots, and the sum of n1 and n2 is less than or equal to n, where n1 network slots are used for the internet of things terminal to perform data interaction on a corresponding network slot according to its own network number, and n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on a corresponding slot according to a preset unordered contention mechanism.
In a possible design, after broadcasting the configured network beacon to be broadcasted within the determined network beacon configuration period, the processing unit is further configured to receive, through the communication unit, first uplink data sent by a first internet of things terminal in the internet of things terminals in an ith network slot of the n1 network slots, where a network number of the first internet of things terminal corresponds to the ith network slot, and i is a positive integer less than or equal to n 1; and/or the communication unit is further configured to receive second uplink data, sent by a second networking terminal of the internet of things terminals in a j-th network time slot of the n2 network time slots, where the second networking terminal contends for a wireless channel resource of the internet of things wireless access point in the j-th network time slot, and j is a positive integer less than or equal to n 2.
In one possible design, the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters includes m network beacon configuration periods, m is a positive integer, and the processing unit is further configured to count the number of internet of things terminals that detect an uplink data burst in each network beacon configuration period of the m network beacon configuration periods before acquiring the system time; and the network beacon configuration parameter corresponding to each network beacon configuration time period is determined according to the number of the detected internet of things terminals with the suddenly increased uplink data, and a mapping relation between the network beacon configuration time period and the network beacon configuration parameters is established.
In a third aspect of the embodiments of the present invention, an internet of things wireless access point is provided, which includes a processor configured to support the internet of things wireless access point to perform corresponding functions in the method of the first aspect. Further, the internet of things wireless access point may further include a transceiver for supporting communication between the internet of things wireless access point and the internet of things terminal. Further, the wireless access point of the internet of things may further include a memory for coupling with the processor that retains program instructions and data necessary for the wireless access point of the internet of things.
In a fourth aspect of the present application, a computer program product is provided, which includes instructions that, when executed by a computer, perform the rule processing method provided in the first aspect or any implementation manner of the first aspect, where the computer includes an internet of things wireless access point. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present invention, the wireless access point of the internet of things first obtains the system time, determines the network beacon configuration period to which the system time belongs, then determines the network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters, and finally configures the network beacon to be broadcasted according to the determined network beacon configuration parameters. In the mapping relationship between the preset network beacon configuration time period and the network beacon configuration parameters, different network beacon configuration time periods correspond to different network beacon configuration parameters, that is, the network beacon configuration parameters can be dynamically adjusted according to the uplink data volume in the corresponding time period, for example, a first network beacon configuration parameter is configured for a first time period with a larger uplink data volume, and a second network beacon configuration parameter is configured for a second time period with a smaller uplink data volume, so that the internet of things wireless access point configures a first network beacon in the first time period and configures a second network beacon in the second time period, so that the uplink data of the internet of things terminal in the wireless sensor network always has an adaptive network beacon to support the transmission of the uplink data, and the improvement of the stability and the real-time performance of the wireless sensor network data transmission is facilitated.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a communication network architecture diagram for a wireless ad hoc network according to an embodiment of the present invention;
fig. 2A is a schematic flowchart of a method for processing a network beacon in a wireless sensor network according to an embodiment of the present invention;
fig. 2B is a schematic diagram illustrating an exemplary configuration of a network beacon according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another processing method for network beacons in a wireless sensor network according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another processing method for network beacons in a wireless sensor network according to an embodiment of the present invention
Fig. 5A is a functional unit block diagram of an internet of things wireless access point according to an embodiment of the present invention;
fig. 5B is a schematic structural diagram of an internet of things wireless access point according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following is a detailed description of specific embodiments.
Referring to fig. 1, fig. 1 is a network architecture diagram of an exemplary wireless sensor network according to an embodiment of the present invention, where the wireless sensor network includes an internet of things gateway, an internet of things wireless access point in communication connection with the internet of things gateway, and an internet of things terminal in communication connection with the internet of things wireless access point, where the internet of things gateway is connected to the internet through media such as optical fibers, the internet of things gateway is connected to the internet of things wireless access point in a wireless manner, the internet of things wireless access point and the internet of things terminal are connected by using a star topology structure, frequency points of each internet of things wireless access point are different, the internet of things terminal that is not networked searches for an internet of things wireless access point that is most beneficial to itself in a frequency hopping manner, and communication networks constructed by the internet. The internet of things terminal comprises a battery-powered internet of things terminal and a power-powered internet of things terminal. The internet of things terminal powered by the power supply is embedded with a routing algorithm, when the internet of things terminal powered by a certain power supply is used as a repeater function, the embedded routing algorithm is started, and the internet of things terminal serves as the internet of things terminal and also serves as the repeater at the same time. Specifically, the wireless access point of the internet of things can identify whether the terminal of the internet of things is a battery-powered terminal of the internet of things or a power-powered terminal of the internet of things through a preset state identifier in the terminal of the internet of things during registration, so that the wireless access point of the internet of things can correctly select the repeater. When the terminal of the internet of things detects that the distance between the terminal of the internet of things and the wireless access point of the internet of things exceeds the preset maximum transmission distance, relay transmission needs to be completed through the repeater. An example wireless sensor network to which embodiments of the present invention are applicable may include a plurality of repeaters.
Referring to fig. 2A, fig. 2A is a schematic flowchart of a processing method of a network beacon in a wireless sensor network, which is applied to the wireless sensor network, where the wireless sensor network includes an internet of things wireless access point and an internet of things terminal in communication connection with the internet of things wireless access point, and as shown in fig. 2A, the method includes:
s201, the wireless access point of the Internet of things acquires system time;
the system time may be any one of 24 hours, such as 8 o 'clock, 9 o' clock, 15 o 'clock, 20 o' clock, etc.
In one example, the wireless access point of the internet of things can determine the current system time through a self timer.
In another example, the internet of things wireless access point may also query an internet of things gateway in the wireless sensor network, and the internet of things gateway informs the system time of the internet of things wireless access point.
S202, the wireless access point of the Internet of things determines a network beacon configuration time period to which the system time belongs;
the network beacon configuration time period can be flexibly set by a developer according to a service environment applied by the wireless sensor network, if the wireless sensor network is applied to a bicycle internet of things service of a city, then according to the use habits of users, if the users generally use a large number of vehicles in early peak, noon and late peak, the network beacon configuration time period can be set to comprise a first network beacon configuration time period, a second network beacon configuration time period and a third network beacon configuration time period, wherein the first network beacon configuration time period is 7 o 'clock to 9 o' clock in the morning, the second network beacon configuration time period is 11 o 'clock to 1 o' clock in the noon, the third network beacon configuration time period is 17 o 'clock to 19 o' clock, and the like.
S203, the wireless access point of the Internet of things determines the network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to the preset mapping relation between the network beacon configuration period and the network beacon configuration parameters;
as shown in fig. 2B, a beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameter includes the number n1 of network slots of an ordered contention type and the number n2 of network slots of an unordered contention type in the n network slots, and the sum of n1 and n2 is less than or equal to n, where n1 network slots are used for the internet of things terminal to perform data interaction on a corresponding network slot according to its own network number, and n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on a corresponding slot according to a preset unordered contention mechanism.
And S204, the wireless access point of the Internet of things configures the network beacon to be broadcasted according to the determined network beacon configuration parameters.
For example, assuming that the wireless access point of the internet of things determines that the value of n1 is 80, the value of n2 is 15, and the network beacon includes 100 network slots, the specific form of configuring the network beacon to be broadcasted according to the determined network beacon configuration parameters may be:
the first 5 idle network time slots (used for the internet of things terminal which is not added into the wireless sensor network) are plus 80 network time slots of the ordered competition type and plus 15 network time slots of the unordered competition type.
It can be seen that, in the embodiment of the present invention, the wireless access point of the internet of things first obtains the system time, determines the network beacon configuration period to which the system time belongs, then determines the network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters, and finally configures the network beacon to be broadcasted according to the determined network beacon configuration parameters. In the mapping relationship between the preset network beacon configuration time period and the network beacon configuration parameters, different network beacon configuration time periods correspond to different network beacon configuration parameters, that is, the network beacon configuration parameters can be dynamically adjusted according to the uplink data volume in the corresponding time period, for example, a first network beacon configuration parameter is configured for a first time period with a larger uplink data volume, and a second network beacon configuration parameter is configured for a second time period with a smaller uplink data volume, so that the internet of things wireless access point configures a first network beacon in the first time period and configures a second network beacon in the second time period, so that the uplink data of the internet of things terminal in the wireless sensor network always has an adaptive network beacon to support the transmission of the uplink data, and the improvement of the stability and the real-time performance of the wireless sensor network data transmission is facilitated.
In an example, after the internet of things wireless access point configures the network beacon to be broadcasted according to the determined network beacon configuration parameter, the method of the embodiment of the present invention may further include:
and the wireless access point of the Internet of things broadcasts the configured network beacon to be broadcasted in the determined network beacon configuration time period.
In an example, after the internet of things wireless access point broadcasts the configured network beacon to be broadcast within the determined network beacon configuration period, the method of the embodiment of the present invention may further include:
the wireless access point of the internet of things receives first uplink data sent by a first internet of things terminal in the n1 network time slots in an ith network time slot, wherein the network number of the first internet of things terminal corresponds to the ith network time slot, and i is a positive integer less than or equal to n 1; and/or
The wireless access point of the internet of things receives second uplink data sent by a second networking terminal in the internet of things terminal in a j-th network time slot of the n2 network time slots, the second networking terminal competes for wireless channel resources of the wireless access point of the internet of things in the j-th network time slot, and j is a positive integer less than or equal to n 2.
It can be seen that, in this possible example, since the network beacon includes n1 network slots of ordered contention types and n2 network slots of unordered contention types, the terminal of the internet of things can further contend for channel resources in n2 network slots of unordered contention types to transmit remaining uplink data while making full use of the network slots of ordered contention types to perform data transmission, which is particularly suitable for data transmission of the terminal of the internet of things with suddenly increased uplink data, and the sudden increased data of the terminal of the internet of things can be prevented from being lost or delayed to be transmitted in the next beacon period as much as possible, which is beneficial to further improving stability and real-time of data transmission of the wireless sensor network.
In an example, the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters includes m network beacon configuration periods, where m is a positive integer, and before the internet of things wireless access point acquires the system time, the method of the embodiment of the present invention may further include:
the wireless access point of the Internet of things counts the number of the terminals of the Internet of things which detect the sudden increase of the uplink data in each network beacon configuration period in the m network beacon configuration periods;
and the wireless access point of the Internet of things determines the network beacon configuration parameters corresponding to each network beacon configuration period according to the number of the detected terminals of the Internet of things with the suddenly increased uplink data, and establishes a mapping relation between the network beacon configuration periods and the network beacon configuration parameters.
Referring to fig. 3, fig. 3 is a schematic flowchart of a processing method of a network beacon in another wireless sensor network according to an embodiment of the present invention, and is applied to a wireless sensor network, where the wireless sensor network includes an internet of things wireless access point and an internet of things terminal in communication connection with the internet of things wireless access point. As shown in the figure, the processing method of the network beacon in the wireless sensor network includes:
s301, the Internet of things wireless access point acquires system time;
s302, the wireless access point of the Internet of things determines a network beacon configuration time period to which the system time belongs;
s303, the wireless access point of the Internet of things determines the network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to the preset mapping relation between the network beacon configuration period and the network beacon configuration parameters;
the beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameters include the number n1 of network slots of an ordered contention type and the number n2 of network slots of an unordered contention type in the n network slots, and the sum of n1 and n2 is less than or equal to n, where the n1 network slots are used for the internet of things terminal to perform data interaction on the corresponding network slot according to its own network number, and the n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on the corresponding slot according to a preset unordered contention mechanism.
Wherein, the network time slots of the n network time slots except the n1 network time slots and the n2 network time slots are used for the terminals of the internet of things joining the wireless sensor network.
S304, the wireless access point of the Internet of things configures the network beacon to be broadcasted according to the determined network beacon configuration parameters.
S305, the wireless access point of the Internet of things broadcasts the configured network beacon to be broadcasted in the determined network beacon configuration time period.
S306, the wireless access point of the Internet of things receives first uplink data sent by a first Internet of things terminal in the ith network time slot of the n1 network time slots, the network number of the first Internet of things terminal corresponds to the ith network time slot, and i is a positive integer less than or equal to n 1.
It can be seen that, in the embodiment of the present invention, the wireless access point of the internet of things first obtains the system time, determines the network beacon configuration period to which the system time belongs, then determines the network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters, and finally configures the network beacon to be broadcasted according to the determined network beacon configuration parameters. In the mapping relationship between the preset network beacon configuration time period and the network beacon configuration parameters, different network beacon configuration time periods correspond to different network beacon configuration parameters, that is, the network beacon configuration parameters can be dynamically adjusted according to the uplink data volume in the corresponding time period, for example, a first network beacon configuration parameter is configured for a first time period with a larger uplink data volume, and a second network beacon configuration parameter is configured for a second time period with a smaller uplink data volume, so that the internet of things wireless access point configures a first network beacon in the first time period and configures a second network beacon in the second time period, so that the uplink data of the internet of things terminal in the wireless sensor network always has an adaptive network beacon to support the transmission of the uplink data, and the improvement of the stability and the real-time performance of the wireless sensor network data transmission is facilitated.
In addition, the network beacon comprises n1 network time slots of ordered competition types and n2 network time slots of unordered competition types, so that the terminal of the internet of things can fully utilize the network time slots of the ordered competition types to transmit data, and can further contend channel resources in the n2 network time slots of the unordered competition types to transmit residual uplink data.
Referring to fig. 4, in accordance with the embodiments shown in fig. 2A and fig. 3, fig. 4 is a flowchart illustrating another method for processing a network beacon in a wireless sensor network according to an embodiment of the present invention. As shown in the figure, the processing method of the network beacon in the wireless sensor network includes:
s401, the wireless access point of the Internet of things acquires system time;
s402, the wireless access point of the Internet of things determines a network beacon configuration time period to which the system time belongs;
s403, the wireless access point of the Internet of things determines the network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to the preset mapping relation between the network beacon configuration period and the network beacon configuration parameters;
the beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameters include the number n1 of network slots of an ordered contention type and the number n2 of network slots of an unordered contention type in the n network slots, and the sum of n1 and n2 is less than or equal to n, where the n1 network slots are used for the internet of things terminal to perform data interaction on the corresponding network slot according to its own network number, and the n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on the corresponding slot according to a preset unordered contention mechanism.
Wherein, the network time slots of the n network time slots except the n1 network time slots and the n2 network time slots are used for the terminals of the internet of things joining the wireless sensor network.
S404, the wireless access point of the Internet of things configures the network beacon to be broadcasted according to the determined network beacon configuration parameters.
S405, the wireless access point of the Internet of things broadcasts the configured network beacon to be broadcasted in the determined network beacon configuration time period.
S406, the Internet of things wireless access point receives second uplink data sent by a second Internet of things terminal in the j-th network time slot of the n2 network time slots, the second Internet of things terminal competes for wireless channel resources of the Internet of things wireless access point in the j-th network time slot, and j is a positive integer less than or equal to n 2.
It can be seen that, in the embodiment of the present invention, the wireless access point of the internet of things first obtains the system time, determines the network beacon configuration period to which the system time belongs, then determines the network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters, and finally configures the network beacon to be broadcasted according to the determined network beacon configuration parameters. In the mapping relationship between the preset network beacon configuration time period and the network beacon configuration parameters, different network beacon configuration time periods correspond to different network beacon configuration parameters, that is, the network beacon configuration parameters can be dynamically adjusted according to the uplink data volume in the corresponding time period, for example, a first network beacon configuration parameter is configured for a first time period with a larger uplink data volume, and a second network beacon configuration parameter is configured for a second time period with a smaller uplink data volume, so that the internet of things wireless access point configures a first network beacon in the first time period and configures a second network beacon in the second time period, so that the uplink data of the internet of things terminal in the wireless sensor network always has an adaptive network beacon to support the transmission of the uplink data, and the improvement of the stability and the real-time performance of the wireless sensor network data transmission is facilitated.
In addition, the network beacon comprises n1 network time slots of ordered competition types and n2 network time slots of unordered competition types, so that the terminal of the internet of things can fully utilize the network time slots of the ordered competition types to transmit data, and can further contend channel resources in the n2 network time slots of the unordered competition types to transmit residual uplink data.
The above description has introduced the solution of the embodiment of the present invention mainly from the perspective of the method-side implementation process. It is understood that, in order to implement the above functions, the wireless access point of the internet of things includes a corresponding hardware structure and/or software module for performing each function. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
According to the method, the functional units of the wireless access point of the internet of things can be divided, for example, the functional units can be divided corresponding to the functions, or two or more functions can be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5A shows a possible structure diagram of the wireless access point of the internet of things involved in the above embodiments, in the case of an integrated unit. The internet of things wireless access point 500 includes: a processing unit 502 and a communication unit 503. Processing unit 502 is configured to control and manage actions of the internet of things wireless access point, for example, processing unit 502 is configured to support the internet of things wireless access point to perform steps S201 to S204 in fig. 2A, steps S301 to 306 in fig. 3, and steps S401 to S407 in fig. 4, and/or other processes for the techniques described herein. The communication unit 503 is configured to support communications between the internet-of-things wireless access point and other devices, for example, communications between an internet-of-things gateway and an internet-of-things terminal in a wireless sensor network. The internet of things wireless access point may also include a storage unit 501 for storing program codes and data for the internet of things wireless access point.
The processing Unit 502 may be a Processor or a controller, such as a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 503 may be a communication interface, a transceiver circuit, etc., wherein the communication interface is a generic term and may include one or more interfaces. The storage unit 501 may be a memory.
The processing unit 502 is configured to obtain a system time; and a network beacon configuration period for determining to which the system time belongs; the system time management device is used for determining the network beacon configuration parameters corresponding to the network beacon configuration time period to which the system time belongs according to the mapping relation between the preset network beacon configuration time period and the network beacon configuration parameters; and the network beacon is used for configuring the network beacon to be broadcasted according to the determined network beacon configuration parameters.
In a possible example, the internet of things wireless access point further includes a communication unit 503, and after configuring the network beacon to be broadcasted according to the determined network beacon configuration parameter, the processing unit 502 is further configured to broadcast the configured network beacon to be broadcasted within the determined network beacon configuration period through the communication unit 503.
In one possible example, a beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameter includes a number n1 of network slots of an ordered contention type and a number n2 of network slots of an unordered contention type in the n network slots, and a sum of n1 and n2 is less than or equal to n, where n1 network slots are used for the internet of things terminal to perform data interaction on a corresponding network slot according to its own network number, and n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on a corresponding slot according to a preset unordered contention mechanism.
In a possible example, after broadcasting the configured network beacon to be broadcasted within the determined network beacon configuration period, the processing unit 502 is further configured to receive, through the communication unit 503, first uplink data sent by a first internet-of-things terminal of the internet-of-things terminals in an ith network slot of the n1 network slots, where a network number of the first internet-of-things terminal corresponds to the ith network slot, and i is a positive integer less than or equal to n 1; and/or the communication unit 503 is further configured to receive second uplink data, sent by a second networking terminal of the internet of things terminals in a j-th network time slot of the n2 network time slots, where the second networking terminal contends for a wireless channel resource of the internet of things wireless access point in the j-th network time slot, and j is a positive integer smaller than or equal to n 2.
In a possible example, the preset mapping relationship between the network beacon configuration period and the network beacon configuration parameters includes m network beacon configuration periods, where m is a positive integer, and the processing unit 502 is further configured to count the number of internet of things terminals that detect an uplink data burst in each of the m network beacon configuration periods before obtaining the system time; and the network beacon configuration parameter corresponding to each network beacon configuration time period is determined according to the number of the detected internet of things terminals with the suddenly increased uplink data, and a mapping relation between the network beacon configuration time period and the network beacon configuration parameters is established.
When the processing unit 502 is a processor, the communication unit 503 is a transceiver, and the storage unit 501 is a memory, the wireless access point of the internet of things according to the embodiment of the present invention may be the wireless access point of the internet of things shown in fig. 5B.
Referring to fig. 5B, the internet of things wireless access point 510 includes: a processor 512, a transceiver 513, a memory 511. Optionally, the internet of things wireless access point 510 may further include a bus 515. Wherein the transceiver 513, the processor 512 and the memory 511 may be connected to each other by a bus 515; the bus 515 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 515 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5B, but this is not intended to represent only one bus or type of bus.
The internet of things wireless access point shown in fig. 5A or fig. 5B may also be understood as a device for the internet of things wireless access point, which is not limited in the embodiment of the present invention.
An embodiment of the present invention further provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program includes some or all of the steps of the method for processing a network beacon in a wireless sensor network described in any of the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above embodiments of the present invention are described in detail, and the principle and the implementation of the present invention are explained by applying specific embodiments, and the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for processing a network beacon in a wireless sensor network, the method comprising:
the method comprises the steps that an Internet of things wireless access point obtains system time;
the wireless access point of the Internet of things determines a network beacon configuration period to which the system time belongs;
the wireless access point of the Internet of things determines network beacon configuration parameters corresponding to the network beacon configuration period to which the system time belongs according to a preset mapping relation between the network beacon configuration period and the network beacon configuration parameters;
and the wireless access point of the Internet of things configures the network beacon to be broadcasted according to the determined network beacon configuration parameters.
2. The method of claim 1, wherein after the IOT wireless access point configures the network beacon to be broadcasted according to the determined network beacon configuration parameter, the method further comprises:
and the wireless access point of the Internet of things broadcasts the configured network beacon to be broadcasted in the determined network beacon configuration time period.
3. The method according to claim 1 or 2, wherein a beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameters include a number n1 of network slots of an ordered contention type and a number n2 of network slots of an unordered contention type in the n network slots, and a sum of n1 and n2 is less than or equal to n, where the n1 network slots are used for the internet of things terminal to perform data interaction on a corresponding network slot according to its own network number, and the n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on the corresponding slot according to a preset unordered contention mechanism.
4. The method of claim 3, wherein after the IOT wireless access point broadcasts the configured network beacon to be broadcast within the determined network beacon configuration period, the method further comprises:
the wireless access point of the internet of things receives first uplink data sent by a first internet of things terminal in the n1 network time slots in an ith network time slot, wherein the network number of the first internet of things terminal corresponds to the ith network time slot, and i is a positive integer less than or equal to n 1; and/or
The wireless access point of the internet of things receives second uplink data sent by a second networking terminal in the internet of things terminal in a j-th network time slot of the n2 network time slots, the second networking terminal competes for wireless channel resources of the wireless access point of the internet of things in the j-th network time slot, and j is a positive integer less than or equal to n 2.
5. The method according to any one of claims 1 to 4, wherein the mapping relationship between the preset network beacon configuration period and the network beacon configuration parameters includes m network beacon configuration periods, m is a positive integer, and before the internet of things wireless access point acquires the system time, the method further includes:
the wireless access point of the Internet of things counts the number of the terminals of the Internet of things which detect the sudden increase of the uplink data in each network beacon configuration period in the m network beacon configuration periods;
and the wireless access point of the Internet of things determines the network beacon configuration parameters corresponding to each network beacon configuration period according to the number of the detected terminals of the Internet of things with the suddenly increased uplink data, and establishes a mapping relation between the network beacon configuration periods and the network beacon configuration parameters.
6. An Internet of things wireless access point is characterized by comprising a processing unit,
the processing unit is used for acquiring system time; and a network beacon configuration period for determining to which the system time belongs; the system time management device is used for determining the network beacon configuration parameters corresponding to the network beacon configuration time period to which the system time belongs according to the mapping relation between the preset network beacon configuration time period and the network beacon configuration parameters; and the network beacon is used for configuring the network beacon to be broadcasted according to the determined network beacon configuration parameters.
7. The internet of things wireless access point of claim 6, further comprising a communication unit, wherein after configuring the network beacon to be broadcasted according to the determined network beacon configuration parameter, the processing unit is further configured to broadcast the configured network beacon to be broadcasted within the determined network beacon configuration period through the communication unit.
8. The wireless access point of claim 6 or 7, wherein a beacon period of the network beacon is T, the beacon period T includes n network slots, the network beacon configuration parameters include n1 of network slots of an ordered contention type and n2 of network slots of an unordered contention type in the n network slots, and a sum of n1 and n2 is less than or equal to n, where the n1 network slots are used for the internet of things terminal to perform data interaction on corresponding network slots according to its own network number, and the n2 network slots are used for the internet of things terminal to perform data interaction after contending for channel resources on corresponding slots according to a preset unordered contention mechanism.
9. An internet of things wireless access point, comprising:
a processor, a transceiver, and a memory; wherein the transceiver, processor and memory are interconnected by a bus;
wherein the processor is adapted to execute a computer program stored in the memory to implement the method of any of claims 1 to 5.
10. A computer storage medium comprising, in combination,
the computer storage medium may store a program that when executed by a processor is for implementing the method of any one of claims 1 to 5.
CN202010553061.6A 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network Pending CN111836385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010553061.6A CN111836385A (en) 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010553061.6A CN111836385A (en) 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network
CN201710588647.4A CN107548019B (en) 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710588647.4A Division CN107548019B (en) 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network

Publications (1)

Publication Number Publication Date
CN111836385A true CN111836385A (en) 2020-10-27

Family

ID=60970327

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710588647.4A Active CN107548019B (en) 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network
CN202010553061.6A Pending CN111836385A (en) 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710588647.4A Active CN107548019B (en) 2017-07-19 2017-07-19 Method and device for processing network beacon in wireless sensor network

Country Status (1)

Country Link
CN (2) CN107548019B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885507B (en) * 2020-06-19 2022-01-04 国网湖南省电力有限公司供电服务中心(计量中心) Sensing method of dual-medium converged communication network
CN114915919B (en) * 2022-04-29 2024-02-27 合肥中感微电子有限公司 Connection method and device for wireless communication, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110142028A1 (en) * 2009-12-10 2011-06-16 Nokia Corporation Synchronization via additional beacon transmission
CN102291775A (en) * 2010-06-17 2011-12-21 中兴通讯股份有限公司 Method and device for automatically adjusting uplink and downlink time slot ratio
US20140376536A1 (en) * 2012-02-17 2014-12-25 Huawei Device Co., Ltd. Device access method, access point and access device
CN104968029A (en) * 2015-05-20 2015-10-07 中国电子科技集团公司第三十八研究所 Synchronous time division multiple access method suitable for wireless sensing network
CN106535343A (en) * 2016-12-23 2017-03-22 北京邮电大学 Channel access method and device of wireless sensor network
CN106792723A (en) * 2016-12-29 2017-05-31 重庆邮电大学 Channel resource allocation method, access point and website in a kind of wireless network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
UA93029C2 (en) * 2004-02-06 2011-01-10 Конінклійке Філіпс Електронікс Н.В. Beacon communication protocol for random access structure
CN104038953B (en) * 2013-03-08 2017-09-15 北京邮电大学 A kind of collocation method of mobile communications network wireless parameter
DE102015106205A1 (en) * 2015-04-22 2016-10-27 Wiesemann & Theis Gmbh Method for allocating timeslots

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110142028A1 (en) * 2009-12-10 2011-06-16 Nokia Corporation Synchronization via additional beacon transmission
CN102291775A (en) * 2010-06-17 2011-12-21 中兴通讯股份有限公司 Method and device for automatically adjusting uplink and downlink time slot ratio
US20140376536A1 (en) * 2012-02-17 2014-12-25 Huawei Device Co., Ltd. Device access method, access point and access device
CN104968029A (en) * 2015-05-20 2015-10-07 中国电子科技集团公司第三十八研究所 Synchronous time division multiple access method suitable for wireless sensing network
CN106535343A (en) * 2016-12-23 2017-03-22 北京邮电大学 Channel access method and device of wireless sensor network
CN106792723A (en) * 2016-12-29 2017-05-31 重庆邮电大学 Channel resource allocation method, access point and website in a kind of wireless network

Also Published As

Publication number Publication date
CN107548019B (en) 2020-07-03
CN107548019A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
EP3745768B1 (en) Resource selection method and terminal device
TWI779165B (en) Method for reserving resources and devices and terminals
US10993166B2 (en) Data transmission method, electronic device, and computer readable storage medium
WO2019084816A1 (en) Method and device for terminal to select resource, and computer storage medium
EP3512118B1 (en) Method and device for transmitting response message
CN104094664B (en) For reducing the system and method for the conflict after traffic instruction mapping paging
CN107528678B (en) Method and equipment for updating system message
EP3163946B1 (en) Transmission list in wi-fi acces point
CN108353378B (en) Transmission method, device and equipment for activation system information
CN107548019B (en) Method and device for processing network beacon in wireless sensor network
CN112492618A (en) Network sharing method and device, electronic equipment and storage medium
US8855693B2 (en) Method and apparatus for controlling wireless devices
CN103875293A (en) Methods and apparatus for adaptive paging in peer-to-peer networks
CN106851685B (en) Method and system for controlling bandwidth of mobile terminal
CN112383386B (en) Data transmission method, device, computer equipment and computer readable storage medium
CN111436119A (en) DRX (discontinuous reception) transmission method and related equipment
CN109076594B (en) Method and device for accessing low-power-consumption terminal to network
KR20170048544A (en) Data transmission method and terminal
CN107690194B (en) Method and equipment for configuring network beacon in wireless sensor network
CN111601337B (en) Wireless sensor network repeater exception handling method and device
CN107483542B (en) Exception handling method and device for wireless sensor network
CN107295693B (en) Random access method, base station and terminal
JP2021503742A (en) Transmission time determination method and device, computer storage medium
CN112492703B (en) Network connection management method, device, equipment and storage medium
CN112188593B (en) Wireless configuration method and device, storage medium and electronic device

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