CN107835521B - Method and device for networking field intensity threshold - Google Patents

Method and device for networking field intensity threshold Download PDF

Info

Publication number
CN107835521B
CN107835521B CN201711056961.4A CN201711056961A CN107835521B CN 107835521 B CN107835521 B CN 107835521B CN 201711056961 A CN201711056961 A CN 201711056961A CN 107835521 B CN107835521 B CN 107835521B
Authority
CN
China
Prior art keywords
field intensity
node
layer
slave
slave node
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.)
Active
Application number
CN201711056961.4A
Other languages
Chinese (zh)
Other versions
CN107835521A (en
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 Friendcom Technology Co Ltd
Original Assignee
Shenzhen Friendcom 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 Friendcom Technology Co Ltd filed Critical Shenzhen Friendcom Technology Co Ltd
Priority to CN201711056961.4A priority Critical patent/CN107835521B/en
Publication of CN107835521A publication Critical patent/CN107835521A/en
Application granted granted Critical
Publication of CN107835521B publication Critical patent/CN107835521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic

Abstract

The invention provides a field intensity threshold networking method and device, and relates to the technical field of networking. The method and the device perform networking on the master node and the slave nodes based on the field intensity threshold value to form a communication network, namely perform networking based on the communication connection condition of each current communication node to improve the stability and the reliability of the formed communication network. Specifically, the scheme provided by the invention broadcasts the preset beacon frame through the main node, the slave nodes receive the beacon frame and obtain the corresponding field intensity data, and the slave nodes receiving the preset beacon frame regenerate the preset beacon frame and broadcast the preset beacon frame so as to expand the number of the slave nodes capable of receiving the preset beacon frame; and aiming at the slave nodes receiving the preset beacon frame, networking the slave nodes of which the field intensity data is not less than the corresponding field intensity threshold value with the master node or the slave nodes sending the preset beacon frame layer by layer to form a cascaded communication network.

Description

Method and device for networking field intensity threshold
Technical Field
The invention relates to the technical field of networking, in particular to a field intensity threshold networking method and device.
Background
With the development of the internet of things, the application of the micropower wireless communication technology in certain low-power consumption fields is more and more extensive, and the advantages of simple field construction and low cost are accepted by users. The micropower wireless communication device in the prior art is widely applied to wireless meter reading, industrial remote measurement and remote control, and is applied to industrial and civil equipment such as automatic data acquisition, building automation, machine room equipment monitoring, security protection, access control systems, wireless keyboards, wireless mice, underwater positioning, alarming and the like. In the application process, the communication devices are usually required to be networked to realize data interaction. In the prior art, a communication link is usually used for networking, so that stability in communication cannot be guaranteed, and poor stability of a network system formed by networking is easily caused.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a field intensity threshold value networking method and device, which can calculate field intensity data in a self-adaptive manner and perform networking according to the field intensity data so as to improve the stability of a network system formed by networking and further solve the problems.
In order to achieve the above object, the technical solutions provided by the preferred embodiments of the present invention are as follows:
the preferred embodiment of the present invention provides a field intensity threshold networking method, which is applied to a plurality of communication nodes, wherein each communication node comprises a master node and a plurality of slave nodes, and the method comprises the following steps:
the main node broadcasts a preset beacon frame;
for each slave node, when the preset beacon frame is received for the first time, regenerating the preset beacon frame and broadcasting and forwarding the regenerated preset beacon frame;
the master node sends an acquisition command, and the slave nodes receiving the acquisition command sent by the master node report field intensity data recorded by each slave node to the master node;
the master node takes the slave node reporting the field intensity data to the master node as a layer 1 slave node, and records the field intensity data reported by the layer 1 slave node;
the method comprises the steps that a kth layer slave node sends an acquisition command, and the slave node which receives the acquisition command sent by the kth layer slave node reports recorded field intensity data to the kth layer slave node, wherein k is an integer greater than or equal to 1;
the kth layer slave node takes the slave node reporting the field intensity data as a kth +1 layer slave node, and records the field intensity data reported by the kth +1 layer slave node;
selecting non-zero field intensity data in the field intensity data reported by each layer of slave nodes, calculating the characteristic value of the selected field intensity data, and obtaining the field intensity threshold value corresponding to each layer according to the characteristic value;
and forming a communication network by the slave nodes of which the field intensity data in each hierarchy is not less than the field intensity threshold value.
In a preferred embodiment of the present invention, the step of, for each slave node, when receiving the preset beacon frame for the first time, regenerating the preset beacon frame and broadcasting and forwarding the regenerated preset beacon frame includes:
monitoring the signal intensity and the propagation direction of the preset beacon frame at each slave node to obtain corresponding field intensity data;
and recording and storing the obtained field intensity data in corresponding slave nodes, so that the master/slave node which sends the preset beacon frame can collect the corresponding field intensity data from each slave node which receives the preset beacon frame.
In a preferred embodiment of the present invention, the step of using the kth-layer slave node as a kth + 1-layer slave node to record the field intensity data reported by the kth + 1-layer slave node includes:
and collecting field intensity data of corresponding slave nodes layer by layer from the kth slave node, and stopping collecting when the collected slave node hierarchy is a preset hierarchy.
In a preferred embodiment of the present invention, the step of forming a communication network by slave nodes whose field intensity data in each hierarchy is not less than the field intensity threshold includes:
selecting slave nodes of which the field intensity data are not less than the field intensity threshold from the layer 1 slave nodes;
and connecting the selected slave nodes with the master node to form the communication network.
In a preferred embodiment of the present invention, the step of forming a communication network by slave nodes whose field intensity data in each hierarchy is not less than the field intensity threshold includes:
selecting the kth layer slave nodes from the kth layer slave nodes, wherein the kth layer slave nodes enable the field intensity data of the preset beacon frame received by each slave node of the (k + 1) th layer to be maximum;
and communicatively connecting the (k + 1) th layer slave node with the corresponding selected k layer slave node to form the communication network.
The preferred embodiment of the present invention further provides a field intensity threshold networking device, which is applied to a plurality of communication nodes, wherein each communication node includes a master node and a plurality of slave nodes, and the field intensity threshold networking device includes:
a first broadcasting unit, configured to cause the master node to broadcast a preset beacon frame;
a second broadcasting unit, configured to, for each slave node, when receiving the preset beacon frame for the first time, enable the corresponding slave node to regenerate the preset beacon frame and broadcast and forward the regenerated preset beacon frame;
the first acquisition unit is used for enabling the main node to send an acquisition command, and the slave nodes receiving the acquisition command sent by the main node report field intensity data recorded by each slave node to the main node;
a first recording unit, configured to enable the master node to use the slave node that reports the field strength data to the master node as a layer 1 slave node, so that the master node records the field strength data reported by the layer 1 slave node;
the second acquisition unit is used for enabling the kth layer slave node to send an acquisition command, and reporting the recorded field intensity data to the kth layer slave node by the slave node receiving the acquisition command sent by the kth layer slave node, wherein k is an integer greater than or equal to 1;
a second recording unit, configured to enable the kth-layer slave node to use the slave node reporting the field strength data as a (k + 1) th-layer slave node, so that the kth-layer slave node records the field strength data reported by the (k + 1) th-layer slave node;
the selection calculation unit is used for selecting non-zero field intensity data in the field intensity data reported by the slave nodes of each layer, calculating the characteristic value of the selected field intensity data, and obtaining the field intensity threshold value corresponding to each layer through the characteristic value;
and the networking unit is used for forming a communication network by the slave nodes of which the field intensity data in each hierarchy is not less than the field intensity threshold.
In a preferred embodiment of the present invention, the second broadcasting unit is further configured to:
monitoring the signal intensity and the propagation direction of the preset beacon frame at each slave node to obtain corresponding field intensity data;
and recording and storing the obtained field intensity data in corresponding slave nodes, so that the master/slave node which sends the preset beacon frame can collect the corresponding field intensity data from each slave node which receives the preset beacon frame.
In a preferred embodiment of the present invention, the second recording unit is further configured to:
and collecting field intensity data of corresponding slave nodes layer by layer from the kth slave node, and stopping collecting when the collected slave node hierarchy is a preset hierarchy.
In a preferred embodiment of the present invention, the networking unit is further configured to:
selecting slave nodes of which the field intensity data are not less than the field intensity threshold from the layer 1 slave nodes;
and connecting the selected slave nodes with the master node to form the communication network.
In a preferred embodiment of the present invention, the networking unit is further configured to:
selecting the kth layer slave nodes from the kth layer slave nodes, wherein the kth layer slave nodes enable the field intensity data of the preset beacon frame received by each slave node of the (k + 1) th layer to be maximum;
and communicatively connecting the (k + 1) th layer slave node with the corresponding selected k layer slave node to form the communication network.
Compared with the prior art, the field intensity threshold value networking method and device provided by the invention at least have the following beneficial effects: the method and the device perform networking on the master node and the slave nodes based on the field intensity threshold value to form a communication network, namely perform networking based on the communication connection condition of each current communication node to improve the stability and the reliability of the formed communication network. Specifically, the scheme provided by the invention broadcasts the preset beacon frame through the main node, the slave nodes receive the beacon frame and obtain the corresponding field intensity data, and the slave nodes receiving the preset beacon frame regenerate the preset beacon frame and broadcast the preset beacon frame so as to expand the number of the slave nodes capable of receiving the preset beacon frame; and aiming at the slave nodes receiving the preset beacon frame, networking the slave nodes of which the field intensity data is not less than the corresponding field intensity threshold value with the master node or the slave nodes sending the preset beacon frame layer by layer to form a cascaded communication network.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments will be briefly described below. It is appreciated that the following drawings depict only some embodiments of the invention and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 is a distribution diagram of communication nodes according to a preferred embodiment of the present invention.
Fig. 2 is a block diagram of a host node according to a preferred embodiment of the present invention.
Fig. 3 is a field strength threshold networking method according to a preferred embodiment of the present invention.
Fig. 4 is a field intensity threshold networking apparatus according to a preferred embodiment of the present invention.
Icon: 10-a master node; 11-a processing unit; 12-a storage unit; 13-a communication unit; 20-a slave node; 100-field intensity threshold networking means; 110-a first broadcast unit; 120-a second broadcast unit; 130-a first acquisition unit; 140-a first recording unit; 150-a second acquisition unit; 160-a second recording unit; 170-selecting a computing unit; 180-networking unit.
Detailed Description
The technical solution in 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. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Furthermore, the terms "first," "second," and the like are used merely to distinguish one description from another, and are not to be construed as indicating or implying relative importance.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Fig. 1 is a schematic diagram illustrating a distribution of communication nodes according to a preferred embodiment of the present invention. Understandably, the communication node may include a master node 10 and slave nodes 20, and fig. 1 is a schematic view of a hierarchical distribution of the master node 10 and a plurality of slave nodes 20, which is a schematic view obtained by performing identification division on each slave node 20 after networking. In this embodiment, generally, during network communication, the geographical positions (or physical spatial positions) of the master node 10 and the slave node 20 are relatively fixed and do not change randomly. However, limited to the geographical location, there are cases where the slave node 20 cannot directly perform network communication with the master node 10. For such slave nodes 20, it is necessary to connect with one or more other slave nodes 20 to realize a communication connection with the master node 10, thereby realizing data interaction.
For example, in the field of centralized meter reading technology, data such as electricity consumption, water consumption, and gas consumption used by a user need to be measured by various metering devices. The metering devices may be connected to a collecting device via a wired or wireless network, and the collecting device may collect data measured by each metering device in a centralized manner, which may cause the above-mentioned problems during data interaction.
In this embodiment, the master node 10 may be the above-mentioned collection device. Specifically, the master node 10 is, for example, a microcellular Access Center (CAC). The slave node 20 may be a metering device as described above, such as a wireless water meter, electricity meter, or the like. The scheme of the invention carries out networking on the master node 10 and each slave node 20 based on the field intensity data, and can form a stable and reliable communication network.
Fig. 2 is a block diagram of the host node 10 according to the preferred embodiment of the present invention. Understandably, the master node 10 may include a processing unit 11, a communication unit 13, a storage unit 12 and a field intensity threshold networking device 100, where the processing unit 11, the communication unit 13, the storage unit 12 and the field intensity threshold networking device 100 are electrically connected directly or indirectly to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The processing unit 11 may be a processor. For example, the Processor may be a Central Processing Unit (CPU), a Network Processor (NP), a Graphics Processing Unit (GPU), or the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed.
The communication unit 13 is used for communication connection with the slave node 20 through the network master node 10, and for transceiving data through the network. Alternatively, the master node 10 establishes a communication connection with the slave node 20 through a wireless network.
The memory unit 12 may be, but is not limited to, a random access memory, a read only memory, a programmable read only memory, an erasable programmable read only memory, an electrically erasable programmable read only memory, and the like. In this embodiment, the storage unit 12 may be used to store field strength data collected from each slave node 20. Of course, the memory may also be used for storing a program, which the processing unit 11 executes upon receiving an execution instruction.
Further, the field strength threshold networking device 100 includes at least one software functional module which can be stored in the storage unit 12 in the form of software or firmware (firmware) or is solidified in an Operating System (OS) of the master node 10. The processing unit 11 is configured to execute executable modules stored in the storage unit 12, such as software functional modules and computer programs included in the field strength threshold networking apparatus 100.
It is to be understood that the structure shown in fig. 2 is only a schematic structural diagram of the host node 10, and the host node 10 may further include more or fewer components than those shown in fig. 2. The components shown in fig. 2 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 3, a field strength threshold networking method according to a preferred embodiment of the invention is shown. The field intensity threshold networking method provided by the embodiment of the invention can be applied to the communication node, and the communication node comprises a master node 10 and a plurality of slave nodes 20. The method broadcasts a preset beacon frame through the master node 10, the slave nodes 20 receive the preset beacon frame and record corresponding field intensity threshold values, and the preset beacon frame is regenerated and the regenerated preset beacon frame is broadcasted, so that more slave nodes 20 can receive the preset beacon frame. Based on the preset field intensity threshold, the slave node 20 receiving the preset beacon frame performs networking from the master node 10 to the lower-layer slave node 20 layer by layer to obtain the communication network. After receiving the preset beacon frame, each slave node 20 records the field intensity data corresponding to the beacon frame, that is, in the networking process, the communication nodes along the uplink path collect the field intensity data, and according to the communication status of each current communication node, a more optimal networking mode is provided, so that the formed communication network is more stable and reliable.
Understandably, in the networking process, the field intensity threshold networking method provided by this embodiment does not need to change the geographical positions of the master node 10 and the slave nodes 20, as long as the communication connection between each slave node 20 and the master node 10 can be established to form a communication network.
The steps shown in fig. 3 will be described in detail below. In the embodiment of the present invention, the field strength threshold networking method may include the following steps:
in step S210, the master node 10 broadcasts a preset beacon frame.
Understandably, the master node 10 broadcasts the preset beacon frame every preset time, and calculates the field intensity threshold value for the preset beacon frame broadcasted every time and performs networking. Namely, each communication node performs the steps S210 to S280 every preset time, that is, the network is automatically re-networked according to the communication connection status of each current communication node, thereby improving the reliability of the formed communication network. Preferably, the broadcast mode is a radio broadcast. The preset beacon frame can be set according to actual conditions, and the preset duration can be set according to actual conditions.
Step S220, for each slave node 20, when the preset beacon frame is received for the first time, the preset beacon frame is regenerated and the regenerated preset beacon frame is broadcast and forwarded.
Understandably, step S220 is performed for each preset beacon frame broadcast by the master node 10. Step S220 may specifically include monitoring the signal strength and the propagation direction of the preset beacon frame at each slave node 20 to obtain corresponding field strength data; the obtained field strength data records are stored in the corresponding slave nodes 20, so that the master/slave node 20 which sends out the preset beacon frame can collect the corresponding field strength data from each slave node 20 which receives the preset beacon frame.
Further, the obtained field strength data includes the signal strength and the propagation direction of the received preset beacon frame. Wherein the propagation direction is from the master/slave node 20 broadcasting the preset beacon frame to the slave node 20 receiving the preset beacon frame, so as to collect the field strength data. The signal strength of the preset beacon frame transmitted by the slave node 20 may be the same as or different from the signal strength transmitted by the master node 10, and may be set according to the actual situation, which is not specifically limited herein.
Step S230, the master node 10 sends an acquisition command, and the slave nodes 20 that receive the acquisition command sent by the master node 10 report the field intensity data recorded by each slave node 20 to the master node 10.
In this embodiment, each slave node 20 stores the field intensity data corresponding to the preset beacon frame sent by the slave master node 10/slave node 20, and when the master node 10 sending the preset beacon frame sends the acquisition command, the field intensity data stored and recorded by the slave node 20 receiving the acquisition command may be reported and finally collected to the master node 10, so that the master node 10 calculates the field intensity threshold according to each field intensity data and performs networking according to the calculated field intensity threshold.
In step S240, the master node 10 takes the slave node 20 reporting the field strength data to the master node 10 as the layer 1 slave node 20, and records the field strength data reported by the layer 1 slave node 20.
Understandably, by identifying the slave node 20 that will report the field strength data to the master node 10, the slave node 20 of the layer 1, that is, the layer identification information of the layer 1 formed by each slave node 20 of the layer 1, can be obtained. In addition, the field intensity data reported by the layer 1 slave node 20 is recorded, so that the master node 10 is facilitated to calculate the field intensity threshold value of the layer 1 slave node 20 according to the recorded field intensity data, and the slave node 20 with a larger field intensity signal is screened out according to the field intensity threshold value of the layer to be used as a communication node which is integrated into the communication network. Wherein the content of the first and second substances,
step S250, the kth layer slave node 20 sends an acquisition command, and the slave node 20 that receives the acquisition command sent by the kth layer slave node 20 reports the recorded field intensity data to the kth layer slave node 20, where k is an integer greater than or equal to 1.
Step S260, the kth-layer slave node 20 takes the slave node 20 reporting the field intensity data as the kth + 1-layer slave node 20, and records the field intensity data reported by the kth + 1-layer slave node 20.
In this embodiment, after determining the slave node 20 of layer 1, the slave node 20 of layer 1 may issue a collection command to collect field strength data recorded by other slave nodes 20 besides the slave node 20 of layer 1. The slave node 20 receiving the acquisition command reports the field intensity data thereof, and the slave node 20 reporting the field intensity data can be identified as a layer 2 slave node 20; and then, the layer 2 slave node 20 continuously sends out a collection command to collect field intensity data of other slave nodes 20 which are divided into layers so as to obtain each slave node 20 of the layer 3, and the identification is carried out, and in this cycle, each slave node 20 is divided and identified layer by layer. The divided levels can be set with level thresholds, and the level thresholds can be set according to actual conditions. For example, when the slave node 20 is divided into the levels corresponding to the level thresholds, the division of the slave node 20 may be stopped.
Optionally, the kth level slave nodes 20 collect field intensity data corresponding to the slave nodes 20 layer by layer, and the collection is stopped when the collected level of the slave nodes 20 is a preset level, which may be the level threshold described above, and may be set according to actual conditions.
Step S270, selecting non-zero field intensity data from the field intensity data reported by the slave nodes 20 at each layer, calculating a characteristic value of the selected field intensity data, and obtaining a field intensity threshold corresponding to each layer through the characteristic value.
In the present embodiment, the field strength data of the slave node 20 in each layer is taken as a data set, and the characteristic value may include one or more combinations of the average value, the minimum value, the maximum value, the median value, and the like of the field strength data in each layer of data set. And according to the characteristic value, the field intensity threshold value corresponding to each level can be obtained.
Step S280, the slave nodes 20 with the field intensity data not less than the field intensity threshold value in each hierarchy form a communication network.
In step S280, for the layer 1 slave node 20, selecting a slave node 20 from the layer 1 slave node 20, wherein the field intensity data is not less than the field intensity threshold; connecting the selected slave nodes 20 with the master node 10 to form the communication network.
For each (k + 1) th layer slave node 20, selecting a kth layer slave node 20 from the kth layer slave nodes 20, wherein the field intensity data of the preset beacon frame received by each slave node 20 of the (k + 1) th layer is not less than the field intensity threshold of the (k + 1) th layer; optionally, one slave node 20 is selected from the selected k-th layer slave nodes 20 to connect with the corresponding k + 1-th layer slave node 20 to form the communication network. Preferably, the communication node selected for connection with the connecting layer k +1 slave node 20 is the layer k +1 slave node 20 that maximizes the field strength data of the layer k +1 slave node 20.
Different communication connection conditions may exist in different periods of time for each communication node, namely, the conditions that the communication signal is strong and weak exist. According to the scheme, networking is carried out at intervals of preset time, each slave node 20 records field intensity data corresponding to a preset beacon frame after receiving the beacon frame, and after the slave nodes 20 record field intensity information of surrounding nodes, the master node 10 initiates a command for collecting the field intensity data of each slave node 20 to obtain and store the field intensity data and provide data basis for field intensity threshold calculation of each layer. That is, the solution provided by the present invention calculates a field strength threshold suitable for the current communication connection status according to the field strength information of each slave node 20 recorded by the current master node 10, thereby improving the reliability of the formed communication network, contributing to improving the communication connection status of the communication node with weak communication signal, and further improving the stability of the formed communication network.
Referring to fig. 4, a field strength threshold networking apparatus 100 according to a preferred embodiment of the invention is shown. The field intensity threshold value networking device 100 can be applied to a plurality of communication nodes including the master node 10 and a plurality of slave nodes 20. The field intensity threshold networking device 100 is matched with a field intensity threshold networking method to perform networking on a plurality of communication nodes. The reliability in the networking process is improved, and the reliability of the composed communication network is improved, that is, the communication signal strength between the master node 10 and the slave node 20, and between the slave node 20 and the slave node 20 can be improved. The field intensity threshold networking device 100 may include a first broadcasting unit 110, a second broadcasting unit 120, a first collecting unit 130, a first recording unit 140, a second collecting unit 150, a second recording unit 160, a selection calculating unit 170, and a networking unit 180.
The first broadcasting unit 110 is configured to enable the master node 10 to broadcast a preset beacon frame. Specifically, the first broadcasting unit 110 may be configured to perform step S210 shown in fig. 3, and specific operation steps may refer to the detailed description of step S210, which is not described herein again.
A second broadcasting unit 120, configured to, for each slave node 20, when receiving the preset beacon frame for the first time, enable the corresponding slave node 20 to regenerate the preset beacon frame and broadcast and forward the regenerated preset beacon frame. Specifically, the second broadcasting unit 120 may be configured to execute step S220 shown in fig. 3, and the detailed description of step S220 may be referred to for specific operation steps, which is not repeated herein.
A first acquisition unit 130, configured to enable the master node 10 to send an acquisition command, and the slave node 20 that receives the acquisition command sent by the master node 10 reports field intensity data recorded by each slave node 20 to the master node 10. Specifically, the first collecting unit 130 may be configured to execute step S230 shown in fig. 3, and the detailed description of step S230 may be referred to for specific operation steps, which is not repeated herein.
A first recording unit 140, configured to enable the master node 10 to use the slave node 20 that reports the field strength data to the master node 10 as a layer 1 slave node 20, so that the master node 10 records the field strength data reported by the layer 1 slave node 20. Specifically, the first recording unit 140 may be configured to execute step S240 shown in fig. 3, and the detailed description of step S240 may be referred to for specific operation steps, which is not repeated here.
And a second acquisition unit 150, configured to enable the kth layer slave node 20 to send an acquisition command, and report the recorded field intensity data from the slave node 20 to the kth layer slave node 20 after receiving the acquisition command sent by the kth layer slave node 20, where k is an integer greater than or equal to 1. Specifically, the second acquisition unit 150 may be configured to execute step S250 shown in fig. 3, and for specific operation steps, reference may be made to the detailed description of step S250, which is not described herein again.
A second recording unit 160, configured to enable the kth-layer slave node 20 to use the slave node 20 reporting the field strength data as a (k + 1) -layer slave node 20, so that the kth-layer slave node 20 records the field strength data reported by the (k + 1) -layer slave node 20. Specifically, the second recording unit 160 may be configured to execute step S260 shown in fig. 3, and the detailed description of step S260 may be referred to for specific operation steps, which is not repeated here.
The selection calculation unit 170 is configured to select non-zero field intensity data from the field intensity data reported by the slave nodes 20 at each layer, calculate a characteristic value of the selected field intensity data, and obtain a field intensity threshold corresponding to each layer through the characteristic value. Specifically, the selection calculating unit 170 may be configured to execute step S270 shown in fig. 3, and the detailed description of step S270 may be referred to for specific operation steps, which is not repeated herein.
And the networking unit 180 is used for forming the slave nodes 20 of which the field intensity data is not less than the field intensity threshold value in each hierarchy into a communication network. Specifically, the networking unit 180 may be configured to execute step S280 shown in fig. 3, and the detailed description of step S280 may be referred to for specific operation steps, which is not described herein again.
In summary, the present invention provides a field intensity threshold networking method and device. The method and the device perform networking on the master node and the slave nodes based on the field intensity threshold value to form a communication network, namely perform networking based on the communication connection condition of each current communication node to improve the stability and the reliability of the formed communication network. Specifically, the scheme provided by the invention broadcasts the preset beacon frame through the main node, the slave nodes receive the beacon frame and obtain the corresponding field intensity data, and the slave nodes receiving the preset beacon frame regenerate the preset beacon frame and broadcast the preset beacon frame so as to expand the number of the slave nodes capable of receiving the preset beacon frame; and aiming at the slave nodes receiving the preset beacon frame, networking the slave nodes of which the field intensity data is not less than the corresponding field intensity threshold value with the master node or the slave nodes sending the preset beacon frame layer by layer to form a cascaded communication network.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A field intensity threshold networking method is applied to a plurality of communication nodes, wherein each communication node comprises a main node and a plurality of slave nodes, and the method comprises the following steps:
the main node broadcasts a preset beacon frame;
for each slave node, when the preset beacon frame is received for the first time, regenerating the preset beacon frame and broadcasting and forwarding the regenerated preset beacon frame;
the master node sends an acquisition command, and the slave nodes receiving the acquisition command sent by the master node report field intensity data recorded by each slave node to the master node;
the master node takes the slave node reporting the field intensity data to the master node as a layer 1 slave node, and records the field intensity data reported by the layer 1 slave node;
the method comprises the steps that a k-th layer slave node sends an acquisition command, and other slave nodes which receive the acquisition command sent by the k-th layer slave node report recorded field intensity data to the k-th layer slave node, wherein the field intensity data comprise the received signal intensity and the propagation direction of a preset beacon frame, k is an integer larger than or equal to 1, and the other slave nodes are slave nodes which are except the 1 st to k-th layer slave nodes and receive the acquisition command;
the kth layer slave node takes the other slave nodes reporting the field intensity data as kth +1 layer slave nodes, and records the field intensity data reported by the kth +1 layer slave nodes;
selecting non-zero field intensity data in the field intensity data reported by each layer of slave nodes, calculating the characteristic value of the selected field intensity data, and obtaining the field intensity threshold value corresponding to each layer according to the characteristic value;
and forming a communication network by the slave nodes of which the field intensity data in each hierarchy is not less than the field intensity threshold value.
2. The method according to claim 1, wherein the step of, for each slave node, regenerating the preset beacon frame and broadcasting and forwarding the regenerated preset beacon frame when the preset beacon frame is received for the first time comprises:
monitoring the signal intensity and the propagation direction of the preset beacon frame at each slave node to obtain corresponding field intensity data;
and recording and storing the obtained field intensity data in corresponding slave nodes, so that the master/slave node which sends the preset beacon frame can collect the corresponding field intensity data from each slave node which receives the preset beacon frame.
3. The method of claim 1, wherein the step of recording the field strength data reported by the (k + 1) th layer slave node, taking the slave node reporting the field strength data as the (k + 1) th layer slave node, comprises:
and collecting field intensity data of corresponding slave nodes layer by layer from the kth slave node, and stopping collecting when the collected slave node hierarchy is a preset hierarchy.
4. The method of claim 1, wherein the step of forming the slave nodes having field strength data not less than the field strength threshold in each hierarchy into a communication network comprises:
selecting slave nodes of which the field intensity data are not less than the field intensity threshold from the layer 1 slave nodes;
and connecting the selected slave nodes with the master node to form the communication network.
5. The method of claim 4, wherein the step of forming the slave nodes having field strength data not less than the field strength threshold in each hierarchy into a communication network comprises:
selecting the kth layer slave nodes from the kth layer slave nodes, wherein the kth layer slave nodes enable the field intensity data of the preset beacon frame received by each slave node of the (k + 1) th layer to be maximum;
and communicatively connecting the (k + 1) th layer slave node with the corresponding selected k layer slave node to form the communication network.
6. A field intensity threshold value networking device is applied to a plurality of communication nodes, each communication node comprises a main node and a plurality of slave nodes, and the field intensity threshold value networking device comprises:
a first broadcasting unit, configured to cause the master node to broadcast a preset beacon frame;
a second broadcasting unit, configured to, for each slave node, when receiving the preset beacon frame for the first time, enable the corresponding slave node to regenerate the preset beacon frame and broadcast and forward the regenerated preset beacon frame;
the first acquisition unit is used for enabling the main node to send an acquisition command, and the slave nodes receiving the acquisition command sent by the main node report field intensity data recorded by each slave node to the main node;
a first recording unit, configured to enable the master node to use the slave node that reports the field strength data to the master node as a layer 1 slave node, so that the master node records the field strength data reported by the layer 1 slave node;
the second acquisition unit is used for enabling the kth layer slave node to send an acquisition command, and reporting the recorded field intensity data to the kth layer slave node by the slave node receiving the acquisition command sent by the kth layer slave node, wherein k is an integer greater than or equal to 1;
a second recording unit, configured to enable the kth-layer slave node to use another slave node that reports the field intensity data as a (k + 1) th-layer slave node, so that the kth-layer slave node records the field intensity data reported by the (k + 1) th-layer slave node, where the field intensity data includes the signal intensity and the propagation direction of the received preset beacon frame, and the other slave nodes are slave nodes that are other than the 1 st-kth-layer slave nodes and that receive the acquisition command;
the selection calculation unit is used for selecting non-zero field intensity data in the field intensity data reported by the slave nodes of each layer, calculating the characteristic value of the selected field intensity data, and obtaining the field intensity threshold value corresponding to each layer through the characteristic value;
and the networking unit is used for forming a communication network by the slave nodes of which the field intensity data in each hierarchy is not less than the field intensity threshold.
7. The field strength threshold networking apparatus of claim 6, wherein the second broadcasting unit is further configured to:
monitoring the signal intensity and the propagation direction of the preset beacon frame at each slave node to obtain corresponding field intensity data;
and recording and storing the obtained field intensity data in corresponding slave nodes, so that the master/slave node which sends the preset beacon frame can collect the corresponding field intensity data from each slave node which receives the preset beacon frame.
8. The field strength threshold networking apparatus of claim 6, wherein the second recording unit is further configured to:
and collecting field intensity data of corresponding slave nodes layer by layer from the kth slave node, and stopping collecting when the collected slave node hierarchy is a preset hierarchy.
9. The field strength threshold networking apparatus of claim 6, wherein the networking unit is further configured to:
selecting slave nodes of which the field intensity data are not less than the field intensity threshold from the layer 1 slave nodes;
and connecting the selected slave nodes with the master node to form the communication network.
10. The field strength threshold networking apparatus of claim 9, wherein the networking unit is further configured to:
selecting the kth layer slave nodes from the kth layer slave nodes, wherein the kth layer slave nodes enable the field intensity data of the preset beacon frame received by each slave node of the (k + 1) th layer to be maximum;
and communicatively connecting the (k + 1) th layer slave node with the corresponding selected k layer slave node to form the communication network.
CN201711056961.4A 2017-10-27 2017-10-27 Method and device for networking field intensity threshold Active CN107835521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711056961.4A CN107835521B (en) 2017-10-27 2017-10-27 Method and device for networking field intensity threshold

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711056961.4A CN107835521B (en) 2017-10-27 2017-10-27 Method and device for networking field intensity threshold

Publications (2)

Publication Number Publication Date
CN107835521A CN107835521A (en) 2018-03-23
CN107835521B true CN107835521B (en) 2021-03-23

Family

ID=61651227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711056961.4A Active CN107835521B (en) 2017-10-27 2017-10-27 Method and device for networking field intensity threshold

Country Status (1)

Country Link
CN (1) CN107835521B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067653B (en) * 2018-09-27 2021-05-14 深圳友讯达科技股份有限公司 Method and system for establishing dual-mode communication network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539315A (en) * 2014-12-02 2015-04-22 上海电器科学研究院 Rapid networking method for power line carrier communication
CN105634554A (en) * 2014-10-30 2016-06-01 国家电网公司 Carrier wave communication networking method, nodes and system
CN105871419A (en) * 2016-03-18 2016-08-17 宁波三星智能电气有限公司 Networking method for BPL (Broadband over Power Line) carrier communication network
CN106792851A (en) * 2016-12-21 2017-05-31 国电南瑞三能电力仪表(南京)有限公司 A kind of wireless communication network system and network-building method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9143197B2 (en) * 2011-10-18 2015-09-22 Texas Instruments Incorporated Joining process for G3 networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634554A (en) * 2014-10-30 2016-06-01 国家电网公司 Carrier wave communication networking method, nodes and system
CN104539315A (en) * 2014-12-02 2015-04-22 上海电器科学研究院 Rapid networking method for power line carrier communication
CN105871419A (en) * 2016-03-18 2016-08-17 宁波三星智能电气有限公司 Networking method for BPL (Broadband over Power Line) carrier communication network
CN106792851A (en) * 2016-12-21 2017-05-31 国电南瑞三能电力仪表(南京)有限公司 A kind of wireless communication network system and network-building method

Also Published As

Publication number Publication date
CN107835521A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN110213068B (en) Message middleware monitoring method and related equipment
CN112468372B (en) Method and device for detecting equipment state in power line communication network
CN111181801A (en) Node cluster testing method and device, electronic equipment and storage medium
US10742482B2 (en) Clustering event records representing anomalous events
CN107786390B (en) Method and device for correcting networking nodes
CN111966289B (en) Partition optimization method and system based on Kafka cluster
RU2015132097A (en) METHODS AND SYSTEMS FOR DYNAMIC DETECTION OF CONSUMERS CONCERNING ACCIDENTALLY ACCESSED TO THE SITE
CN109597800B (en) Log distribution method and device
CN105357069A (en) Distributed node service state monitoring method, device and system
CN111352799A (en) Inspection method and device
JP2014217062A (en) Link failure diagnosis device and method
CN110113392A (en) A kind of monitoring APP client buries a method and apparatus for acquisition integrality
CN107835521B (en) Method and device for networking field intensity threshold
CN103856959A (en) Wireless local area network quality monitoring method, device and system
CN111314185A (en) Ad hoc network method, ad hoc network response method, controlled equipment and gateway
CN111163485B (en) Active sensing method and system for sensor network fault
CN106161058B (en) Alarm classification method and device
CN109284275B (en) Cloud platform virtual machine file system monitoring method and device
CN110971488A (en) Data processing method, device, server and storage medium
CN114422412B (en) Equipment detection method and device and communication equipment
CN107493308B (en) Method and device for sending message and distributed equipment cluster system
CN115687026A (en) Multi-node server fault early warning method, device, equipment and medium
CN111787584B (en) Data acquisition method and system based on Internet of things
CN113300914A (en) Network quality monitoring method, device, system, electronic equipment and storage medium
CN113572768B (en) Analysis method for abnormal change of number of botnet family propagation sources

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
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 3rd Floor, Building 6, Guangqian Industrial Zone, Longzhu 3rd Road, Longzhu 3rd Road, Longguang Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province, 518000

Patentee after: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

Address before: 518000 6th floor, building 17, Guangqian Industrial Zone, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

CP02 Change in the address of a patent holder