CN117793841A - Deep coverage communication method, device and system based on power equipment body area network - Google Patents

Deep coverage communication method, device and system based on power equipment body area network Download PDF

Info

Publication number
CN117793841A
CN117793841A CN202410201564.5A CN202410201564A CN117793841A CN 117793841 A CN117793841 A CN 117793841A CN 202410201564 A CN202410201564 A CN 202410201564A CN 117793841 A CN117793841 A CN 117793841A
Authority
CN
China
Prior art keywords
node
information frame
relay
current information
relay 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.)
Granted
Application number
CN202410201564.5A
Other languages
Chinese (zh)
Other versions
CN117793841B (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.)
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
Beijing Smartchip Microelectronics 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 Beijing Smartchip Microelectronics Technology Co Ltd filed Critical Beijing Smartchip Microelectronics Technology Co Ltd
Priority to CN202410201564.5A priority Critical patent/CN117793841B/en
Publication of CN117793841A publication Critical patent/CN117793841A/en
Application granted granted Critical
Publication of CN117793841B publication Critical patent/CN117793841B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a deep coverage communication method, device and system based on a power equipment body area network, and relates to the technical field of power equipment communication, wherein the method comprises the following steps: under the condition that the current information frame is determined to be a relay frame, acquiring a corresponding sensor node ID and a first relay node ID; if the fact that the sensor node ID corresponding to the current information frame does not exist in the node attribution matching list is determined, a matching relation between the current sensor node ID and the first relay node ID is newly added in the list; or if the second relay node ID matched with the sensor node ID corresponding to the current information frame is inconsistent with the first relay node ID in the node attribution matching list, determining whether to update the second relay node ID with the first relay node ID according to a relay selection strategy; the node attribution matching list at least comprises relay node IDs corresponding to different sensor node IDs. The routing management efficiency of the power equipment body area network is improved.

Description

Deep coverage communication method, device and system based on power equipment body area network
Technical Field
The application relates to the technical field of power equipment communication, in particular to a deep coverage communication method based on a power equipment body area network, a deep coverage communication device based on the power equipment body area network, a deep coverage communication system based on the power equipment body area network, a machine-readable storage medium and terminal equipment.
Background
The body area network wireless low-power consumption network is a communication network composed of sensor nodes and sink nodes, as shown in fig. 1, the existing body area network topology structure is usually star-shaped, i.e. a plurality of sensor nodes are in direct communication with one sink node. The sensor node is responsible for acquisition and equipment state sensing, and the sink node is connected with the sink node through a wireless mode, and the sink node has simple calculation, ad hoc network and terminal access functions. At present, the body area network wireless low-power consumption network can be used for scenes such as distribution transformer areas, distribution station rooms, switching stations, ring main units and the like, so that real-time perception of internal states and environmental parameters of power equipment is realized, and the main task is to collect data required by business and transmit, analyze and fuse the data.
However, in the existing body area network wireless low-power-consumption network, because of the limitation of wireless coverage in star topology connection between the sink node and the sensor node, especially in extreme scenes such as a trench or in remote coverage scenes, it is difficult to ensure that the single-hop network architecture completely and effectively covers the range of the sensor node, so that part of sensor nodes cannot access the network.
Disclosure of Invention
An objective of the embodiments of the present application is to provide a deep coverage communication method, device and system based on a power equipment body area network, so as to solve the above problems.
In order to achieve the above object, a first aspect of the present application provides a deep coverage communication method based on a power equipment body area network, which is applied to a sink node, and includes:
responding to the received information frame, judging whether the current information frame is a relay frame, wherein the relay frame is an information frame forwarded by a relay node from a sensor node;
under the condition that the current information frame is determined to be a relay frame, acquiring a corresponding sensor node ID and a first relay node ID from the current information frame;
if the fact that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list is determined, a matching relation between the sensor node ID corresponding to the current information frame and the first relay node ID is newly added in the node attribution matching list; or alternatively
If the fact that a second relay node ID matched with the sensor node ID corresponding to the current information frame is inconsistent with the first relay node ID in the node attribution matching list is determined, whether the second relay node ID is updated by the first relay node ID is determined according to a preset relay selection strategy;
the node attribution matching list at least comprises relay node IDs corresponding to different sensor node IDs.
Optionally, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes:
if the second relay node ID is determined not to be updated by the first relay node ID according to a preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the first relay node ID, so that the relay node corresponding to the first relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy further includes:
if the second relay node ID is updated according to the preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, in the case that the current information frame is determined to be a non-relay frame, the method further includes:
acquiring a corresponding sensor node ID from a current information frame;
if it is determined that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list, or a third relay node ID corresponding to the sensor node ID corresponding to the current information frame does not exist, taking the sink node ID as the third relay node ID, and adding a matching relationship between the sensor node ID corresponding to the current information frame and the third relay node ID in the node attribution matching list;
if the node attribution matching list is determined to have a third relay node ID corresponding to the sensor node ID corresponding to the current information frame, determining whether to update the third relay node ID with the sink node ID according to the relay selection strategy;
wherein the non-relay frame is an information frame from the sensor node.
Optionally, determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
and if the third relay node ID is updated according to the relay selection strategy, transmitting blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, the method further comprises:
for any sensor node, if an information frame including the sensor node ID is not received within a continuous preset period, determining a relay node ID corresponding to the sensor node ID through the node attribution matching list, and sending blacklist clearing configuration information including the sensor node ID to the relay node corresponding to the relay node ID, so that the corresponding relay node can forward the information frame from the sensor node.
Optionally, the node attribution matching list further includes routing weighting values corresponding to different sensor node IDs and corresponding relay node IDs thereof; in the case that the current information frame is determined to be a non-relay information frame, the relay selection policy includes:
if the signal intensity of the first node acquired from the current information frame is larger than a preset first signal intensity threshold value, determining that a first route weighting value of the current information frame is a preset maximum route weighting value;
if the signal intensity of the first node is not greater than the first signal intensity threshold, determining that the first route weighting value of the current information frame is an actual route weighting value corresponding to the signal intensity of the first node;
determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
If the third relay node ID is the same as the sink node ID, updating the node attribution matching list by using a first route weighting value of the current information frame, wherein the sensor node ID corresponds to the current information frame and a second route weighting value corresponds to the third relay node ID;
if the third relay node ID is different from the sink node ID, updating the second routing weight value with the first routing weight value when the first routing weight value is greater than the second routing weight value, updating the third relay node ID with the sink node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, in the case that the current information frame is determined to be a relay information frame, the relay selection policy includes:
if the signal intensity of the first node and the signal intensity of the second node obtained from the current information frame are both larger than a preset second signal intensity threshold value, taking the average value of the actual route weighted value corresponding to the signal intensity of the first node and the actual route weighted value corresponding to the signal intensity of the second node as a first route weighted value of the current information frame;
If either the first node signal strength or the second node signal strength is not greater than the second signal strength threshold, calculating a first routing weight of the current information frame based on the first node signal strength and the second node signal strength;
the second signal intensity threshold is smaller than the first signal intensity threshold, the first node signal intensity is the signal intensity of the sensor node corresponding to the sensor node ID corresponding to the current information frame, and the second node signal intensity is the signal intensity of the relay node corresponding to the first relay node ID;
determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes:
if the second relay node ID is the same as the first relay node ID, updating the node attribution matching list by using the first routing weighted value, wherein the sensor node ID corresponds to the current information frame and the third routing weighted value corresponds to the second relay node ID;
if the second relay node ID is different from the first relay node ID, updating the third routing weighted value with the first routing weighted value when the first routing weighted value is greater than the third routing weighted value, updating the second relay node ID with the first relay node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, calculating a first routing weight of the current information frame based on the first node signal strength and the second node signal strength includes:
determining a larger value of the first node signal strength and the second node signal strength as a high value signal strength, and determining a smaller value of the first node signal strength and the second node signal strength as a low value signal strength;
and determining a high value weighted value of the high value signal strength and a low value weighted value of the low value signal strength, wherein the sum of the high value weighted value and the low value weighted value is 1, and the low value weighted value is larger than the high value weighted value.
In a second aspect of the present application, a deep coverage communication method based on a power equipment body area network is provided, and is applied to a relay node, and includes:
responding to the received information frame, and judging that the current information frame is an uplink information frame from a sensor node or a downlink information frame from a sink node;
if the current information frame is determined to be an uplink information frame, acquiring a corresponding sensor node ID from the current information frame, and packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a first information frame and transmitting the first information frame to a sink node under the condition that the sensor node ID corresponding to the current information frame does not belong to a preset blacklist configuration information list; and
And discarding the current information frame under the condition that the sensor node ID corresponding to the current information frame belongs to a preset blacklist configuration information list.
Optionally, the method further comprises:
if the current information frame is determined to be a downlink information frame, judging whether the current information frame is a relay information frame or a non-relay information frame, wherein the relay information frame is an information frame to be forwarded by a relay node, and the non-relay information frame is an information frame directly sent to a sensor node by an aggregation node;
under the condition that the current information frame is determined to be the relay information frame, acquiring a relay node ID in the current information frame, if the acquired relay node ID meets a preset condition, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame, and if the acquired relay node ID does not meet the preset condition, discarding the current information frame;
and discarding the current information frame in the case that the current information frame is determined to be a non-relay information frame.
Optionally, the preset condition includes:
the acquired relay node ID is consistent with the relay node ID of the current relay node, or the acquired relay node ID is a preset value.
Optionally, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame includes:
If the frame information of the current information frame comprises blacklist configuration information, acquiring a sensor node ID in the blacklist configuration information, and if the acquired sensor node ID does not belong to the blacklist configuration information list, adding the acquired sensor node ID in the blacklist configuration information list;
if the frame information of the current information frame comprises blacklist clearing configuration information, acquiring a sensor node ID in the blacklist clearing configuration information, and if the acquired sensor node ID belongs to the blacklist configuration information list, deleting the acquired sensor node ID in the blacklist configuration information list.
Optionally, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame further includes:
if the frame information of the current information frame indicates that the current information frame is of a preset frame sub-type, acquiring a sensor node ID in the current information frame, packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a second information frame, and sending the second information frame to a sensor node corresponding to the sensor node ID in the current information frame.
In a third aspect of the present application, a depth coverage communication device based on a power equipment body area network is provided, and the depth coverage communication method based on the power equipment body area network applied to a sink node includes:
The data receiving module is configured to respond to the received information frame and judge whether the current information frame is a relay frame, wherein the relay frame is an information frame forwarded by a relay node from a sensor node;
the data analysis module is configured to acquire a corresponding sensor node ID and a first relay node ID from the current information frame under the condition that the current information frame is determined to be a relay frame;
the routing control module is configured to add a matching relation between the sensor node ID corresponding to the current information frame and the first relay node ID in the node attribution matching list if the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list; or alternatively
If the fact that a second relay node ID matched with the sensor node ID corresponding to the current information frame is inconsistent with the first relay node ID in the node attribution matching list is determined, whether the second relay node ID is updated by the first relay node ID is determined according to a preset relay selection strategy;
the node attribution matching list at least comprises relay node IDs corresponding to different sensor node IDs.
Optionally, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes:
If the second relay node ID is determined not to be updated by the first relay node ID according to a preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the first relay node ID, so that the relay node corresponding to the first relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy further includes:
if the second relay node ID is updated according to the preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, in the case that the current information frame is determined to be a non-relay frame, the routing control module is further configured to:
Acquiring a corresponding sensor node ID from a current information frame;
if it is determined that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list, or a third relay node ID corresponding to the sensor node ID corresponding to the current information frame does not exist, taking the sink node ID as the third relay node ID, and adding a matching relationship between the sensor node ID corresponding to the current information frame and the third relay node ID in the node attribution matching list;
if the node attribution matching list is determined to have a third relay node ID corresponding to the sensor node ID corresponding to the current information frame, determining whether to update the third relay node ID with the sink node ID according to the relay selection strategy;
wherein the non-relay frame is an information frame from the sensor node.
Optionally, determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
and if the third relay node ID is updated according to the relay selection strategy, transmitting blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, the routing control module is further configured to:
for any sensor node, if an information frame including the sensor node ID is not received within a continuous preset period, determining a relay node ID corresponding to the sensor node ID through the node attribution matching list, and sending blacklist clearing configuration information including the sensor node ID to the relay node corresponding to the relay node ID, so that the corresponding relay node can forward the information frame from the sensor node.
Optionally, the node attribution matching list further includes routing weighting values corresponding to different sensor node IDs and corresponding relay node IDs thereof; in the case that the current information frame is determined to be a non-relay information frame, the relay selection policy includes:
if the signal intensity of the first node acquired from the current information frame is larger than a preset first signal intensity threshold value, determining that a first route weighting value of the current information frame is a preset maximum route weighting value;
if the signal intensity of the first node is not greater than the first signal intensity threshold, determining that the first route weighting value of the current information frame is an actual route weighting value corresponding to the signal intensity of the first node;
Determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
if the third relay node ID is the same as the sink node ID, updating the node attribution matching list by using a first route weighting value of the current information frame, wherein the sensor node ID corresponds to the current information frame and a second route weighting value corresponds to the third relay node ID;
if the third relay node ID is different from the sink node ID, updating the second routing weight value with the first routing weight value when the first routing weight value is greater than the second routing weight value, updating the third relay node ID with the sink node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, in the case that the current information frame is determined to be a relay information frame, the relay selection policy includes:
if the signal intensity of the first node and the signal intensity of the second node obtained from the current information frame are both larger than a preset second signal intensity threshold value, taking the average value of the actual route weighted value corresponding to the signal intensity of the first node and the actual route weighted value corresponding to the signal intensity of the second node as a first route weighted value of the current information frame;
If either the first node signal strength or the second node signal strength is not greater than the second signal strength threshold, calculating a first routing weight of the current information frame based on the first node signal strength and the second node signal strength;
the second signal intensity threshold is smaller than the first signal intensity threshold, the first node signal intensity is the signal intensity of the sensor node corresponding to the sensor node ID corresponding to the current information frame, and the second node signal intensity is the signal intensity of the relay node corresponding to the first relay node ID;
determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes:
if the second relay node ID is the same as the first relay node ID, updating the node attribution matching list by using the first routing weighted value, wherein the sensor node ID corresponds to the current information frame and the third routing weighted value corresponds to the second relay node ID;
if the second relay node ID is different from the first relay node ID, updating the third routing weighted value with the first routing weighted value when the first routing weighted value is greater than the third routing weighted value, updating the second relay node ID with the first relay node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, calculating a first routing weight of the current information frame based on the first node signal strength and the second node signal strength includes:
determining a larger value of the first node signal strength and the second node signal strength as a high value signal strength, and determining a smaller value of the first node signal strength and the second node signal strength as a low value signal strength;
and determining a high value weighted value of the high value signal strength and a low value weighted value of the low value signal strength, wherein the sum of the high value weighted value and the low value weighted value is 1, and the low value weighted value is larger than the high value weighted value.
In a fourth aspect of the present application, a depth coverage communication device based on a power equipment body area network is provided, and the depth coverage communication method based on the power equipment body area network applied to the relay node includes:
the data receiving module is configured to respond to the received information frame and judge that the current information frame is an uplink information frame from the sensor node or a downlink information frame from the sink node;
the data sending module is configured to obtain a corresponding sensor node ID from the current information frame if the current information frame is determined to be an uplink information frame, package the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a first information frame under the condition that the sensor node ID corresponding to the current information frame does not belong to a preset blacklist configuration information list, and send the first information frame to the sink node; and
And discarding the current information frame under the condition that the sensor node ID corresponding to the current information frame belongs to a preset blacklist configuration information list.
Optionally, the method further comprises:
if the current information frame is determined to be a downlink information frame, judging whether the current information frame is a relay information frame or a non-relay information frame, wherein the relay information frame is an information frame to be forwarded by a relay node, and the non-relay information frame is an information frame directly sent to a sensor node by an aggregation node;
under the condition that the current information frame is determined to be the relay information frame, acquiring a relay node ID in the current information frame, if the acquired relay node ID meets a preset condition, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame, and if the acquired relay node ID does not meet the preset condition, discarding the current information frame;
and discarding the current information frame in the case that the current information frame is determined to be a non-relay information frame.
Optionally, the preset condition includes:
the acquired relay node ID is consistent with the relay node ID of the current relay node, or the acquired relay node ID is a preset value.
Optionally, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame includes:
If the frame information of the current information frame comprises blacklist configuration information, acquiring a sensor node ID in the blacklist configuration information, and if the acquired sensor node ID does not belong to the blacklist configuration information list, adding the acquired sensor node ID in the blacklist configuration information list;
if the frame information of the current information frame comprises blacklist clearing configuration information, acquiring a sensor node ID in the blacklist clearing configuration information, and if the acquired sensor node ID belongs to the blacklist configuration information list, deleting the acquired sensor node ID in the blacklist configuration information list.
Optionally, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame further includes:
if the frame information of the current information frame indicates that the current information frame is of a preset frame sub-type, acquiring a sensor node ID in the current information frame, packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a second information frame, and sending the second information frame to a sensor node corresponding to the sensor node ID in the current information frame.
In a fifth aspect of the present application, there is provided a deep coverage communication system based on a power equipment body area network, including:
The depth coverage communication device based on the power equipment body area network, which is applied to the sink node, is disclosed; and
at least one of the above-described deep coverage communication devices based on a power equipment body area network applied to a relay node.
In a sixth aspect of the present application, there is provided a machine-readable storage medium having instructions stored thereon, which when executed by a processor, cause the processor to be configured to perform the above-described deep coverage communication method based on a power device body area network for a sink node, or which when executed by a processor, cause the processor to be configured to perform the above-described deep coverage communication method based on a power device body area network for a relay node.
In a seventh aspect of the present application, a terminal device is provided, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of the above-mentioned deep coverage communication method based on a power equipment body area network applied to a sink node when executing the computer program, or the processor implements the steps of the above-mentioned deep coverage communication method based on a power equipment body area network applied to a relay node when executing the computer program.
According to the method, the relay nodes are added to the existing body area network for relay forwarding of communication data between the sensor nodes and the sink nodes, the relay nodes are added to serve as coverage extension, the signal coverage range is effectively expanded, meanwhile, dynamic and intelligent effective routing and unicast communication routing management are achieved based on a relay selection strategy through a control method combining the node attribution matching list and the sensor blacklist, and the routing management efficiency of the power equipment body area network is improved.
Additional features and advantages of embodiments of the present application will be set forth in the detailed description that follows.
Drawings
The accompanying drawings are included to provide a further understanding of embodiments of the present application and are incorporated in and constitute a part of this specification, illustrate embodiments of the present application and together with the description serve to explain, without limitation, the embodiments of the present application. In the drawings:
fig. 1 is a schematic diagram of a structure of an existing body area network according to a preferred embodiment of the present application;
fig. 2 is a flowchart of a method for a deep coverage communication method based on a power equipment body area network, which is applied to a sink node according to a preferred embodiment of the present application;
fig. 3 is a schematic structural diagram of a body area network according to a preferred embodiment of the present application;
FIG. 4 is a schematic diagram of a prior art frame structure according to a preferred embodiment of the present application;
FIG. 5 is a schematic diagram of a frame structure according to a preferred embodiment of the present application;
fig. 6 is a schematic diagram of a sink node information frame processing flow according to a preferred embodiment of the present application;
fig. 7 is a schematic flowchart of a relay selection policy provided in a preferred embodiment of the present application;
fig. 8 is a schematic diagram of relay unicast uplink transmission provided in a preferred embodiment of the present application;
fig. 9 is a flowchart of a method of a deep coverage communication method based on a power equipment body area network, which is applied to a relay node and provided in a preferred embodiment of the present application;
fig. 10 is a schematic diagram of a relay node information frame processing flow provided in a preferred embodiment of the present application;
FIG. 11 is a schematic block diagram of a deep coverage communication device based on a power equipment body area network applied to a sink node according to a preferred embodiment of the present application;
fig. 12 is a schematic block diagram of a depth coverage communication device based on a power equipment body area network applied to a relay node according to a preferred embodiment of the present application;
fig. 13 is a schematic diagram of a terminal device according to a preferred embodiment of the present application.
Description of the reference numerals
10-terminal equipment, 100-processor, 101-memory, 102-computer program.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the specific implementations described herein are only for illustrating and explaining the embodiments of the present application, and are not intended to limit the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present application based on the embodiments herein.
It should be noted that, the technical solutions of the embodiments of the present application may be combined with each other, but it is necessary to be based on the fact that those skilled in the art can implement the technical solutions, and when the technical solutions are inconsistent or cannot be implemented, it should be considered that the combination of the technical solutions does not exist, and is not within the protection scope of the present application.
As shown in fig. 2, a first aspect of the present application provides a deep coverage communication method based on a power equipment body area network, which is applied to a sink node, and includes:
responding to the received information frame, judging whether the current information frame is a relay frame, wherein the relay frame is an information frame forwarded by a relay node from a sensor node;
Under the condition that the current information frame is determined to be a relay frame, acquiring a corresponding sensor node ID and a first relay node ID from the current information frame;
if the fact that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list is determined, a matching relation between the sensor node ID corresponding to the current information frame and the first relay node ID is newly added in the node attribution matching list; or alternatively
If the second relay node ID matched with the sensor node ID corresponding to the current information frame is inconsistent with the first relay node ID in the node attribution matching list, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection strategy;
the node attribution matching list at least comprises relay node IDs corresponding to different sensor node IDs.
In this way, the relay node is added in the existing body area network for relay forwarding of communication data between the sensor node and the sink node, the relay node is added to serve as coverage extension, so that signal coverage is effectively expanded, meanwhile, the dynamic and intelligent effective routing and unicast communication routing management are realized based on a relay selection strategy through a control method combining the node attribution matching list and the sensor blacklist, and the routing management efficiency of the power equipment body area network is improved.
In the existing body area network low-power consumption sensor network, the sink nodes and the sensor nodes are connected in a star-shaped network, namely, are communicated in a single-hop direct connection mode. Because the low-power consumption sensor of the existing body area network has a wireless coverage dead zone, as shown in fig. 3, the application introduces a relay node into the existing body area network, is used for relay forwarding of communication data between the sensor node and the sink node, and increases the relay node as coverage extension. The information frame received by the sink node may come from the relay node, that is, generated by the sensor node and forwarded by the relay node; or, the information frame received by the sink node is directly from the sensor node.
In the application, the sink node determines whether the current information frame is a relay frame or a non-relay frame according to the frame type of the received information frame. In order to ensure protocol compatibility on the basis of realizing node functions, the method and the device for the wireless network communication protocol frame structure have the advantages that the frame structure and definition are briefly expanded on the basis of the existing wireless network communication protocol, the relay node functions are supported, the existing sensor node related protocol frames are ensured not to be modified, and the related protocol frames can be normally identified and processed. Specifically, as shown in fig. 4, the existing frame structure is shown in fig. 4, where the existing MAC frame includes a MAC header, a MAC layer load, and an information integrity check, where the MAC frame is a data format working in a data link layer and is used for delivering a message of a network layer, and it can be understood that in this application, the information frames of each node are all MAC frames. The MAC header is composed of bytes such as frame control, communication signaling indication, encryption indication, MAC load length, and sensor terminal ID, which is a sensor node ID in the present application. The frame control field of the existing MAC frame may be used to identify the frame type of the current information frame, with different frame type identification information as shown in table 1.
TABLE 1
The frame structure of the present application is shown in fig. 5, where the structure of the MAC header and the definition of each field are not modified, but the frame control, the MAC load length, and the information integrity check when the relay node forwards the information frame are different from those of the information frame received by the sensor node.
As shown in table 1, RFU in the existing frame type definition is reserved for satisfying the user's need to add a newly defined frame. This is extended by the present application to a RELAY MESSAGE frame_message for identifying the frame type of the MESSAGE frame forwarded via the RELAY node, which is used by both the MESSAGE frames from and to the RELAY node. The bit sequence of the frame type identification field that may define the relay information frame is shown in table 2.
TABLE 2
In the relay information frame, the MAC payload length is the actual MAC layer payload byte number of the relay information frame, that is, the extended MAC layer payload includes: the forwarding MAC load length is + [ reserved field+MAC frame subtype length ] (1 byte) +the ID (6 bytes) +RSSI (1 byte) of the own relay node, wherein the RSSI is the signal strength, the received RSSI of the MAC frame to be forwarded is carried during the relay forwarding, and the sink node can obtain the received signal quality of the sensor node reaching the relay node and is used as one of relay selection basis.
That is, when the relay node forwards the information frame from the sensor node, the information such as the load content of the MAC layer, the sub-type of the MAC frame, the ID of the relay node, the signal strength and the like of the original information frame are encapsulated in the load of the MAC layer to form the relay information frame, so that the relay node adds an extension field before the load content of the received information frame, and the relay information frame can be used for relay identification and routing. The extended MAC layer load structure of the present application is shown in table 3, where the forwarding MAC load length is the MAC layer load length received by the relay node.
TABLE 3 Table 3
The definition of the MAC frame sub-type is shown in table 4. Wherein 0-13, 15 may be reserved as a reservation in synchronization with the received frame MAC frame type.
TABLE 4 Table 4
In the present application, the MAC layer information integrity check is recalculated according to a check rule, the MAC header and the MAC layer load are accumulated with 1 byte as a unit, and the protection range is newly constructed MAC-PDU data, where the check rule and the calculation of the MAC layer information integrity check are in the prior art, which is not limited herein.
Thus, after receiving the information frame, the sink node can determine whether the received information frame is a relay frame by analyzing the frame type in the frame control field of the received information frame. After the current information frame is determined to be the relay frame, further acquiring a sensor node ID from the MAC header of the current information frame, acquiring a first relay node ID of the last hop relay node from the MAC layer load, calling a preset node attribution matching list, and judging whether a matching relation between the sensor node ID and the first relay node ID in the current information frame exists in the node attribution matching list. The node attribution matching list is preconfigured with the matching relation between different relay nodes and sensor nodes in the current network, namely the routing relation. For example, the node home matching list includes matching relationships between the sensor nodes and the relay nodes, such as (sensor node 1, relay node 1), (sensor node 2, relay node 1), (sensor node 3, relay node 2), …, and (sensor node N, relay node M).
In a specific example of the present application, the node home matching list further includes routing weight values corresponding to different sensor node IDs and their corresponding relay node IDs, so that the relay selection policy can be calculated by the routing weight values.
As shown in fig. 6, the implementation steps of the sink node in the present application are:
step 1, initializing a node attribution matching list by the sink node, wherein each sensor node ID is unique. The corresponding relation of the different sensor nodes, the relay nodes and the routing weight values in the node attribution matching list is (sensor node ID, relay node ID and routing weight value).
And step 2, the sink node receives the information frame and identifies whether to relay the information frame according to the type of the MAC frame.
And step 3, if the current information frame is confirmed to be a non-relay information frame, namely, the current information frame is a sensor node information frame, processing the current information frame according to the original flow.
And 4, the sink node searches the node attribution matching list at the same time, if no corresponding item of the sensor node ID exists, an item is added, and the relay node ID is set as the sink node ID.
Specifically, the sink node acquires a corresponding sensor node ID from the current information frame; if it is determined that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list, or a third relay node ID corresponding to the sensor node ID corresponding to the current information frame does not exist, taking the aggregation node ID as the third relay node ID, and adding a matching relationship between the sensor node ID corresponding to the current information frame and the third relay node ID in the node attribution matching list.
Taking a sensor node ID in a current information frame as a sensor node 1, taking a sink node ID of a current sink node as a sink node 1 as an example, if the sensor node 1 is not queried in a node attribution matching list, the sink node adds a matching relationship of (the sensor node 1 and the sink node 1) in the node attribution matching list; or if the sensor node 1 is queried in the node home matching list, but there is no relay node matched with the sensor node 1, for example, the sensor node 1 is queried, and the relay node ID is null, the sink node adds a matching relationship of the sensor node 1 and the sink node 1 in the node home matching list.
And step 5, if the corresponding item of the sensor node ID exists, judging whether the corresponding relay node needs to be changed according to a relay selection strategy.
Specifically, if it is determined that the third relay node ID corresponding to the sensor node ID corresponding to the current information frame exists in the node home matching list, determining whether to update the third relay node ID with the sink node ID according to the relay selection policy. For example, if it is found that there is a matching relationship (sensor node 1, relay node 1), it is calculated whether or not to replace the relay node 1 with the sink node 1 according to the relay selection policy.
And step 6, if the change condition is met, modifying the existing relay node ID into an aggregation node ID, and sending the sensing blacklist configuration to the originally recorded relay node.
Specifically, if it is determined that the third relay node ID is updated with the sink node ID according to the relay selection policy, blacklist configuration information including the sensor node ID corresponding to the current information frame is sent to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame. For example, if the matching relationship of the updated sensor node 1 is (sensor node 1, sink node 1), the sink node sends an information frame including the sensor node ID as the sensor node 1 to the relay node 1, and sets the subframe type of the information frame as the sensing blacklist configuration. In this way, after receiving the information frame, the relay node 1 adds the sensor node 1 to the preset blacklist, and if the relay node 1 receives the information frame of the sensor node 1 in the forwarding process of the subsequent information frame, the relay node 1 discards the information frame.
And 7, if the information frame is the relay information frame, identifying the subtype of the MAC frame, and processing according to the original information frame flow.
And 8, extracting the sensor node ID and the relay node ID in the current information frame by the sink node, and searching a node attribution matching list.
And 9, if the sink node does not find the corresponding item of the sensor node ID in the node attribution matching list, adding an item, and increasing the matching relation between the sensor node and the relay node.
Taking the sensor node ID in the current information frame as the sensor node 1 and the relay node ID as the relay node 1 as an example, if the sink node does not inquire the sensor node 1 in the node attribution matching list, the sink node adds a matching relationship of (sensor node 1 and relay node 1) in the node attribution matching list.
And step 10, if the sink node searches the sensor node ID in the node attribution matching list, but the corresponding relay node ID is not matched, judging whether the corresponding relay node needs to be changed according to a relay selection strategy.
If the matching relationship between the sensor node 1 and the relay node is found in the node home matching list, for example, if the matching relationship is found (sensor node 1, relay node 2), it is calculated whether or not the matching relationship between the sensor node 1 and the relay node 2 in the node home matching list is updated to (sensor node 1, relay node 1) according to the relay selection policy.
And step 11, replying the relay node corresponding to the received information frame with the relay information frame with the subframe type configured as the sensing blacklist without changing the matched relay node, and carrying the corresponding sensor node ID.
Specifically, if it is determined that the second relay node ID is not updated by the first relay node ID according to the preset relay selection policy, blacklist configuration information including the sensor node ID corresponding to the current information frame is returned to the relay node corresponding to the first relay node ID. For example, the sink node sends an information frame including the sensor node ID as the sensor node 1 to the relay node 1, and sets the subframe type of the information frame to the sensing blacklist configuration. In this way, after receiving the information frame, the relay node 1 adds the sensor node 1 to its blacklist, and if the relay node 1 receives the information frame of the sensor node 1 in the forwarding process of the subsequent information frame, it is discarded.
And step 12, if the matched relay node needs to be changed, changing the relay node ID corresponding to the sensor node ID in the node attribution matching list into a relay ID carried by the received information frame, and sending a relay information frame with the frame subtype of the sensing blacklist configuration to the originally recorded relay node, wherein the relay information frame carries the corresponding sensor node ID.
Specifically, if it is determined that the second relay node ID is updated by the first relay node ID according to the preset relay selection policy, blacklist configuration information including the sensor node ID corresponding to the current information frame is returned to the relay node corresponding to the second relay node ID. For example, the sink node sends an information frame including the sensor node ID as the sensor node 1 to the relay node 2, and sets the subframe type of the information frame to the sensing blacklist configuration. In this way, after receiving the information frame, the relay node 2 adds the sensor node 2 to its blacklist, and if the relay node 2 receives the information frame of the sensor node 1 during the forwarding of the subsequent information frame, it discards the information frame.
And step 13, if the sink node does not receive the information frame of a certain sensor node ID for a long time, broadcasting the information frame with the sub-type of the issued frame as the sensing blacklist clearing configuration to the relay node and carrying the sensor node ID.
Specifically, for any sensor node, if an information frame including the sensor node ID is not received within a continuous preset period, determining a relay node ID corresponding to the sensor node ID through a node attribution matching list, and sending blacklist clearing configuration information including the sensor node ID to a relay node corresponding to the relay node ID, so that the corresponding relay node can forward the information frame from the sensor node. For example, if the sink node does not receive an information frame from a certain sensor node, such as the sensor node 1, within a certain duration, the routing is considered to be abnormal, the home relay matching relationship of the sensor node is started to be reset, an information frame with the frame subtype being the configuration for clearing the sensing blacklist is sent to the relay node matched with the sensor node 1 in the node home matching list, the corresponding relay node clears the sensor node from the blacklist, and the routing is restarted.
The relay selection strategy refers to a judgment rule that an aggregation node dynamically selects a communication route between two nodes, namely, between the aggregation node and a sensor node. The relay selection strategy triggers and starts when the sink node receives the information frame. The sink node synthesizes three factors of receiving information frames, receiving RSSI of each hop and communication hop number between the sink node and the sensor node, calculates a route weight value, and makes selection judgment according to the route weight value.
In the present application, the first signal strength threshold is set as an RSSI threshold 1, and the second signal strength threshold is set as an RSSI threshold 2. The RSSI threshold 1 is used for judging the received RSSI of the sensor node capable of directly reaching the sink node, and when the direct received RSSI is larger than the RSSI threshold 1, the link is considered to be well covered, and a multi-hop route is not needed to be considered, so that the route is needed to be selected. The RSSI threshold 2 is used for a 2-hop link of the sensor node reaching the sink node through relay forwarding, the RSSI threshold 2 is a better signal receiving threshold, and the transmission loss caused by a link with wireless receiving and transmitting difference in multi-hop transmission is larger.
As shown in fig. 7, the specific steps of the relay selection strategy of the present application are as follows:
step 1, initializing a node attribution matching list by the sink node. Node home matching list= (sensor node ID, relay node ID, route weight value).
And step 2, the sink node receives the uplink information frame and triggers relay selection operation.
And 3, the sink node judges that the information frame is a non-relay information frame, compares whether the received RSSI of the current hop is larger than an RSSI threshold 1, namely judges whether the signal strength of a first node obtained from the current information frame is larger than a preset first signal strength threshold.
And 4, if the received RSSI is larger than the RSSI threshold 1, marking the routing weighted value as an RSSI upper limit, otherwise marking the routing weighted value as an actual value. If the signal intensity of the first node acquired from the current information frame is larger than a preset first signal intensity threshold value, determining that a first route weighting value of the current information frame is a preset maximum route weighting value; for example, an upper limit of the routing weight, that is, a maximum routing weight, may be preset, and if the signal strength of the first node is greater than the preset first signal strength threshold, the routing weight of the current information frame is directly set as the upper limit of the routing weight.
If the signal intensity of the first node is not greater than a preset first signal intensity threshold value, determining that the first route weighting value of the current information frame is an actual route weighting value corresponding to the signal intensity of the first node. For example, under the condition that the signal strength is not greater than a preset first signal strength threshold value, determining the routing weighted value corresponding to different signal strengths in advance, and determining the actual routing weighted value through table lookup; or, if the actual routing weight corresponding to the signal strength of the first node is a routing weight with a weight of 1, that is, an actual routing weight=actually received rssi×1, then the actual routing weight corresponding to the signal strength of the first node=first node signal strength×1.
In the case where the information frame is a non-relay information frame, determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
if the third relay node ID is the same as the sink node ID, updating the node belonging matching list by using the first route weighting value of the current information frame, wherein the sensor node ID corresponds to the current information frame and the second route weighting value corresponds to the third relay node ID. For example, if the third relay node ID is the same as the sink node ID such as the relay node 1 and the sink node ID such as the sink node 1, the route weight matching relation is not replaced, and the route weight matching the sensor node ID and the third relay node ID in the node belonging matching list is updated by the route weight of the current information frame.
If the third relay node ID is different from the sink node ID, updating the second routing weighted value by the first routing weighted value under the condition that the first routing weighted value is larger than the second routing weighted value, updating the third relay node ID by the sink node ID, and returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame. Specifically, taking a sensor node ID in the current information frame as a sensor node 1 and a relay node ID as a relay node 1 as an example, if the obtained first route weighted value of the current information frame, that is, the upper limit of the route weighted value or the actual route weighted value is greater than the second route weighted value corresponding to the sensor node 1 and the relay node 1 in the node attribution matching list, the signal representing the current route is better than the original configuration route, and the original route is updated by the current route.
And step 5, if the received relay information frame is received, judging whether the received RSSI of the information frame and the carried received RSSI of the last hop are larger than an RSSI threshold 2. And judging whether the signal intensity of the first node and the signal intensity of the second node obtained from the current information frame are both larger than a preset second signal intensity threshold value.
And 6, if the condition in the step 5 is met, calculating an arithmetic average value of the two-hop received RSSI, and recording the arithmetic average value as a routing weighted value.
Specifically, if the signal intensity of the first node and the signal intensity of the second node obtained from the current information frame are both greater than a preset second signal intensity threshold, taking the average value of the actual routing weighted value corresponding to the signal intensity of the first node and the actual routing weighted value corresponding to the signal intensity of the second node as the first routing weighted value of the current information frame, that is, when the received RSSI of the 2-hop link is greater than the RSSI threshold 2, the routing weighted value is the arithmetic average value of the received RSSI of the 2-hop link.
The second signal strength threshold is smaller than the first signal strength threshold, the first node signal strength is the signal strength of the sensor node corresponding to the sensor node ID corresponding to the current information frame, and the second node signal strength is the signal strength of the relay node corresponding to the first relay node ID.
If either the first node signal strength or the second node signal strength is not greater than the second signal strength threshold, a first routing weight for the current information frame is calculated based on the first node signal strength and the second node signal strength.
Specifically, calculating a first routing weight of the current information frame based on the first node signal strength and the second node signal strength includes: determining that a larger value of the first node signal strength and the second node signal strength is a high value signal strength, namely a high value receiving RSSI, and determining that a smaller value of the first node signal strength and the second node signal strength is a low value signal strength, namely a low value receiving RSS; and determining a high value weighted value of the high value signal strength and a low value weighted value of the low value signal strength, wherein the sum of the high value weighted value and the low value weighted value is 1, and the low value weighted value is larger than the high value weighted value, namely when the low value weighted value exists below the threshold receiving RSSI, the duty ratio of the low value receiving RSSI in the routing weighted value calculation is larger. It may be appreciated that the high value weighted value and the low value weighted value may be preset, for example, the correspondence between the high value weighted value and the low value weighted value is predetermined in the case that any one of the first node signal strength and the second node signal strength is not greater than the second signal strength threshold, and the sum of the high value weighted value and the low value weighted value is 1, for example, when the low value received RSSI or the high value received RSSI is in different preset intervals, the different low value weighted value or the high value weighted value is corresponding; alternatively, the high value weighted value and the low value weighted value are determined according to the ratio of the low value received RSSI to the high value received RSSI, for example, when the ratio of the low value received RSSI to the high value received RSSI is in different ratio intervals, different low value weighted values or high value weighted values are corresponding, which is not limited herein.
That is, if the condition is not satisfied, the routing weight value is calculated as follows:
route weight = low value received RSSI + high value received RSSI;
low value weight + high value weight = 1, low value weight > high value weight.
And 7, searching a node attribution matching list, if the sensor node ID list item is not available, adding a node attribution matching item, and recording a sensor node ID, a relay node ID (direct information frame is recorded as an aggregation node ID) and a routing weighted value.
And 8, if the sensor node ID and the relay node ID are matched, updating the corresponding routing weighted value.
Specifically, if the second relay node ID is the same as the first relay node ID, updating the node belonging matching list with the first routing weighted value, where the sensor node ID corresponding to the current information frame and the third routing weighted value corresponding to the second relay node ID.
And 9, if the relay node IDs are different, comparing the routing weighted values stored in the node attribution matching list. If the current routing weight value is larger than the stored value, updating the relay node ID, if the current routing weight value is the relay information frame, updating the current frame relay node ID, and if the current routing weight value is the sensor node information frame, updating the current frame relay node ID, updating the sink node ID, and updating the routing weight value.
Specifically, if the second relay node ID is different from the first relay node ID, if the first routing weighted value is greater than the third routing weighted value, it indicates that the current routing is superior to the preset routing, the third routing weighted value is updated by the first routing weighted value, the second relay node ID is updated by the first relay node ID, and the blacklist configuration information including the sensor node ID corresponding to the current information frame is returned to the relay node corresponding to the second relay node ID, for example, the frame subtype is sent to the relay node corresponding to the second relay node ID as the blacklist configuration information, and the information frame including the sensor node ID corresponding to the current information frame is included, so that the sensor node ID of the relay node corresponding to the second relay node ID is added to the blacklist thereof.
And step 10, if the relay node ID changing operation exists, the relay selection is considered to be changed, and the corresponding sensor blacklist configuration operation is executed.
To sum up, in order to realize unicast transmission between the sink node and the sensor node, the sink node autonomously establishes a matching list of the sensor node and the home relay, and after receiving the relay or the sensor information frame, the sink node determines a sensor node route matching relationship according to a preset selection policy. If the information frame forwarded by the non-attributive relay is received, the sink node issues sensor node blacklist configuration to the corresponding relay node, the relay node establishes a sensor node blacklist according to the sink node indication, and the relay node forwards only the information frame of the sensor node in the non-blacklist and directly discards the information frame of the sensor node in the blacklist. Thus, as shown in fig. 8, the data frame P sent by the sensor node S may reach the relay node A, B, but only the relay node a forwards the data frame P ', and the sink node completes the same information processing as the data frame P after receiving P', and performs the necessary path control operation, where the transmission of the downlink information frame is similar to that of the uplink. By adopting the transmission mode, the invalid occupation of link resources caused by repeated transmission of the same data can be reduced, meanwhile, the collision interference possibly caused by multi-point transmission is reduced, and the problem of broadcast flooding is flexibly solved.
As shown in fig. 9, in a second aspect of the present application, a deep coverage communication method based on a power equipment body area network is provided, and is applied to a relay node, and includes:
responding to the received information frame, and judging that the current information frame is an uplink information frame from a sensor node or a downlink information frame from a sink node;
if the current information frame is determined to be an uplink information frame, acquiring a corresponding sensor node ID from the current information frame, and packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a first information frame and transmitting the first information frame to the sink node under the condition that the sensor node ID corresponding to the current information frame does not belong to a preset blacklist configuration information list; and
and discarding the current information frame under the condition that the sensor node ID corresponding to the current information frame belongs to a preset blacklist configuration information list.
Specifically, the relay node can be communication switching equipment in the sensing layer of the power transmission and transformation Internet of things, and has the functions of ad hoc network, extended coverage and data forwarding.
In the application, the relay node does not participate in service data processing and is only used for forwarding communication data. And thus, unlike sink nodes and sensor nodes, it does not require a physical connection with external devices to obtain traffic data. Meanwhile, because of different positions of network nodes, the relay node should be located at a position capable of expanding the network use range to the maximum extent, and the position may need to be flexibly adjusted according to the change of the network. In order to facilitate maintenance and operation, the relay node adopts a plug-and-play working mode, so that manual intervention is reduced as much as possible. Because of the real-time requirement of data forwarding, the relay node needs to monitor whether the network has data packets or not more frequently to forward, so that the relay node works in a constant power supply mode. Because the sensor nodes which accord with the micro-power wireless network communication protocol of the Internet of things of power transmission and transformation equipment exist in the actual scene, and the sensor nodes are low-power consumption equipment and are inconvenient to upgrade, only upgrading sink nodes and newly-added relay nodes are considered in the application.
As shown in fig. 10, the specific steps of the relay node implementation are described as follows:
step 1, initializing a sensor blacklist by a relay node. The list stores a sensor node blacklist corresponding to the relay node, namely a sensor node ID set which needs to be discarded by the relay node, and the sensor node ID set is initialized to be empty. That is, the sensor blacklist= [ sensor node ID ]. It will be appreciated that each relay node is configured with a corresponding blacklist.
And step 2, the relay node receives an uplink information frame sent by the sensor node, and searches a sensor blacklist according to the sensor node ID carried by the MAC frame head. For example, in the MAC frame header of the current information frame, the sensor node ID is the sensor node 1, and then, after analyzing the received information frame, the relay node determines whether the sensor node 1 exists in the sensor blacklist through table lookup.
And 3, if no matching item exists in the sensor blacklist, namely the sensor node ID corresponding to the current information frame does not belong to a preset blacklist configuration information list, reconstructing an MAC frame message, wherein the type of the MAC frame is set as a relay information frame, the MAC load is a relay information frame MAC layer load structure, the type of the MAC frame is set as the type of the received MAC frame of the information frame, the current relay node ID is carried, the RSSI of the information frame is received, the current information frame is packaged as a first information frame, and the first information frame is forwarded to a sink node.
And step 4, if the sensor node ID corresponding to the current information frame is in the blacklist, discarding the received information frame.
And 5, the relay node receives the downlink relay information frame sent by the sink node and identifies whether the downlink relay information frame is the ID of the relay node.
Specifically, if the current information frame is determined to be a downlink information frame, judging that the current information frame is a relay information frame or a non-relay information frame; under the condition that the current information frame is determined to be the relay information frame, acquiring a relay node ID in the current information frame; and discarding the current information frame in the case that the current information frame is determined to be a non-relay information frame.
And step 6, judging whether the acquired relay node ID meets the preset condition, if so, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame, and if not, discarding the current information frame. Wherein, preset conditions include: the obtained relay node ID is consistent with the relay node ID of the current relay node, or the obtained relay node ID is a preset value, where the preset value may be all 0xFF. It will be appreciated that the frame information is the MAC frame subtype.
And 7, if the MAC frame subtype is the sensor blacklist configuration, searching a sensor blacklist. Specifically, if the frame information of the current information frame, that is, the sub-type of the MAC frame is in the configuration of the sensing blacklist, the sensor node ID in the current information frame is obtained.
And 8, if the sensor node ID item is not found in the blacklist configuration information list, namely the blacklist list, adding an item in the sensor blacklist, and recording the sensor node ID.
And 9, if the MAC frame subtype is the sensing blacklist clearing, deleting the recorded sensor node ID. Specifically, if the sub-type of the MAC frame of the current information frame is that the sensing blacklist is cleared, acquiring a sensor node ID in the blacklist, and if the acquired sensor node ID belongs to the blacklist, deleting the acquired sensor node ID in the blacklist.
Step 10, if the frame information of the current information frame indicates that the current information frame is of a preset frame sub-type, acquiring a sensor node ID in the current information frame, packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a second information frame, and sending the second information frame to a sensor node corresponding to the sensor node ID in the current information frame. For example, if the MAC frame subtype is a service or control subtype, the MAC frame message is reconfigured, the MAC frame type is set to the received MAC frame subtype, and the MAC payload carries a forwarding MAC payload field part, so as to forward information.
Step 11, if the sub-type of the MAC frame is other sub-type, discarding the information frame.
Step 12, if the relay node ID is not the own node ID and is not all 0xFF, the information frame is directly discarded.
As shown in fig. 11, in a third aspect of the present application, a depth coverage communication device based on a power equipment body area network is provided, and the depth coverage communication device based on the power equipment body area network may be an aggregation node, or the device may be deployed in the form of a software module at the aggregation node, where the device includes:
the data receiving module is configured to respond to the received information frame and judge whether the current information frame is a relay frame, wherein the relay frame is an information frame forwarded by a relay node from a sensor node;
the data analysis module is configured to acquire a corresponding sensor node ID and a first relay node ID from the current information frame under the condition that the current information frame is determined to be a relay frame;
the routing control module is configured to add a matching relation between the sensor node ID corresponding to the current information frame and the first relay node ID in the node attribution matching list if the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list; or alternatively
If the second relay node ID matched with the sensor node ID corresponding to the current information frame is inconsistent with the first relay node ID in the node attribution matching list, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection strategy; the node attribution matching list at least comprises relay node IDs corresponding to different sensor node IDs.
Optionally, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes: if the second relay node ID is determined not to be updated by the first relay node ID according to the preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the first relay node ID, so that the relay node corresponding to the first relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy further includes: if the second relay node ID is determined to be updated by the first relay node ID according to the preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, in the case that the current information frame is determined to be a non-relay frame, the routing control module is further configured to: acquiring a corresponding sensor node ID from a current information frame; if it is determined that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list, or a third relay node ID corresponding to the sensor node ID corresponding to the current information frame does not exist, taking the sink node ID as the third relay node ID, and adding a matching relationship between the sensor node ID corresponding to the current information frame and the third relay node ID in the node attribution matching list; if the node attribution matching list is determined to have a third relay node ID corresponding to the sensor node ID corresponding to the current information frame, determining whether to update the third relay node ID with the sink node ID according to a relay selection strategy; wherein the non-relay frame is an information frame from the sensor node.
Optionally, determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes: if the third relay node ID is updated according to the relay selection strategy by the sink node ID, the blacklist configuration information comprising the sensor node ID corresponding to the current information frame is sent to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, the routing control module is further configured to: for any sensor node, if an information frame including the sensor node ID is not received within a continuous preset period, determining a relay node ID corresponding to the sensor node ID through a node attribution matching list, and sending blacklist clearing configuration information including the sensor node ID to the relay node corresponding to the relay node ID, so that the corresponding relay node can forward the information frame from the sensor node.
Optionally, the node attribution matching list further includes routing weighting values corresponding to different sensor node IDs and corresponding relay node IDs thereof; in the case that the current information frame is determined to be a non-relay information frame, a relay selection policy includes: if the signal intensity of the first node acquired from the current information frame is larger than a preset first signal intensity threshold value, determining that a first route weighting value of the current information frame is a preset maximum route weighting value; if the signal intensity of the first node is not greater than a preset first signal intensity threshold value, determining that the first route weighting value of the current information frame is an actual route weighting value corresponding to the signal intensity of the first node;
determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
If the third relay node ID is the same as the sink node ID, updating the node attribution matching list by using the first route weighting value of the current information frame, wherein the sensor node ID corresponds to the current information frame and the second route weighting value corresponds to the third relay node ID; if the third relay node ID is different from the sink node ID, updating the second routing weighted value by the first routing weighted value under the condition that the first routing weighted value is larger than the second routing weighted value, updating the third relay node ID by the sink node ID, and returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, in the case that the current information frame is determined to be a relay information frame, the relay selection policy includes: if the signal intensity of the first node and the signal intensity of the second node obtained from the current information frame are both larger than a preset second signal intensity threshold value, taking the average value of the actual routing weighted value corresponding to the signal intensity of the first node and the actual routing weighted value corresponding to the signal intensity of the second node as a first routing weighted value of the current information frame; if any one of the first node signal strength and the second node signal strength is not greater than the second signal strength threshold, calculating a first routing weighting value of the current information frame based on the first node signal strength and the second node signal strength; the second signal intensity threshold value is smaller than the first signal intensity threshold value, the first node signal intensity is the signal intensity of the sensor node corresponding to the sensor node ID corresponding to the current information frame, and the second node signal intensity is the signal intensity of the relay node corresponding to the first relay node ID;
Determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes: if the second relay node ID is the same as the first relay node ID, updating a node attribution matching list by using a first routing weighted value, wherein the sensor node ID corresponding to the current information frame and a third routing weighted value corresponding to the second relay node ID; if the second relay node ID is different from the first relay node ID, updating the third routing weighted value by the first routing weighted value under the condition that the first routing weighted value is larger than the third routing weighted value, updating the second relay node ID by the first relay node ID, and returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
Optionally, calculating the first routing weight of the current information frame based on the first node signal strength and the second node signal strength includes: determining a larger value of the first node signal strength and the second node signal strength as a high value signal strength, and determining a smaller value of the first node signal strength and the second node signal strength as a low value signal strength; and determining a high value weighted value of the high value signal strength and a low value weighted value of the low value signal strength, wherein the sum of the high value weighted value and the low value weighted value is 1, and the low value weighted value is larger than the high value weighted value.
As shown in fig. 12, in a fourth aspect of the present application, a depth coverage communication device based on a power equipment body area network is provided, and the depth coverage communication device based on the power equipment body area network may be a relay node or may be deployed in a form of a software module on the relay node by applying the depth coverage communication method based on the power equipment body area network, and is characterized in that the device includes:
the data receiving module is configured to respond to the received information frame and judge that the current information frame is an uplink information frame from the sensor node or a downlink information frame from the sink node;
the data sending module is configured to obtain a corresponding sensor node ID from the current information frame if the current information frame is determined to be an uplink information frame, package the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a first information frame under the condition that the sensor node ID corresponding to the current information frame does not belong to a preset blacklist configuration information list, and send the first information frame to the sink node; and discarding the current information frame under the condition that the sensor node ID corresponding to the current information frame belongs to a preset blacklist configuration information list.
Optionally, the method further comprises: if the current information frame is determined to be a downlink information frame, judging whether the current information frame is a relay information frame or a non-relay information frame, wherein the relay information frame is an information frame to be forwarded by a relay node, and the non-relay information frame is an information frame directly sent to a sensor node by an aggregation node; under the condition that the current information frame is determined to be the relay information frame, acquiring a relay node ID in the current information frame, if the acquired relay node ID meets a preset condition, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame, and if the acquired relay node ID does not meet the preset condition, discarding the current information frame; and discarding the current information frame in the case that the current information frame is determined to be a non-relay information frame.
Optionally, the preset conditions include: the acquired relay node ID is consistent with the relay node ID of the current relay node, or the acquired relay node ID is a preset value.
Optionally, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame includes: if the frame information of the current information frame comprises blacklist configuration information, acquiring a sensor node ID in the blacklist configuration information, and if the acquired sensor node ID does not belong to the blacklist configuration information list, adding the acquired sensor node ID in the blacklist configuration information list; if the frame information of the current information frame comprises blacklist clearing configuration information, acquiring a sensor node ID in the blacklist clearing configuration information, and if the acquired sensor node ID belongs to a blacklist configuration information list, deleting the acquired sensor node ID in the blacklist configuration information list.
Optionally, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame further includes: if the frame information of the current information frame indicates that the current information frame is of a preset frame sub-type, acquiring a sensor node ID in the current information frame, packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a second information frame, and sending the second information frame to a sensor node corresponding to the sensor node ID in the current information frame.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In a fifth aspect of the present application, there is provided a deep coverage communication system based on a power equipment body area network, including:
The depth coverage communication device based on the power equipment body area network, which is applied to the sink node, is disclosed; and
at least one of the above-described deep coverage communication devices based on a power equipment body area network applied to a relay node.
In a sixth aspect of the present application, there is provided a machine-readable storage medium having instructions stored thereon, which when executed by a processor, cause the processor to perform the above-described deep coverage communication method based on a power device body area network for a sink node, or which when executed by a processor, cause the processor to perform the above-described deep coverage communication method based on a power device body area network for a relay node.
In a seventh aspect of the present application, a terminal device is provided, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of the above-mentioned deep coverage communication method based on a power equipment body area network applied to a sink node when executing the computer program, or implements the steps of the above-mentioned deep coverage communication method based on a power equipment body area network applied to a relay node when executing the computer program.
Fig. 13 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 13, the terminal device 10 of this embodiment includes: a processor 100, a memory 101, and a computer program 102 stored in the memory 101 and executable on the processor 100. The steps of the method embodiments described above are implemented by the processor 100 when executing the computer program 102. Alternatively, the processor 100, when executing the computer program 102, performs the functions of the modules/units of the apparatus embodiments described above.
By way of example, the computer program 102 may be partitioned into one or more modules/units that are stored in the memory 101 and executed by the processor 100 to complete the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing a specific function for describing the execution of the computer program 102 in the terminal device 10.
The terminal device 10 may be a computing device such as a desktop computer, a notebook computer, a palm computer, and a cloud server. Terminal device 10 may include, but is not limited to, a processor 100, a memory 101. It will be appreciated by those skilled in the art that fig. 13 is merely an example of the terminal device 10 and is not limiting of the terminal device 10, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The processor 100 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-ProgrammaBLle Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 101 may be an internal storage unit of the terminal device 10, such as a hard disk or a memory of the terminal device 10. The memory 101 may also be an external storage device of the terminal device 10, such as a plug-in hard disk provided on the terminal device 10, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like. Further, the memory 101 may also include both an internal storage unit and an external storage device of the terminal device 10. The memory 101 is used to store computer programs and other programs and data required by the terminal device 10. The memory 101 may also be used to temporarily store data that has been output or is to be output.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
In summary, the problem that single-hop wireless communication between partial position sink nodes and sensor nodes cannot be completely covered is solved by adding a new functional node, namely a relay node, to the existing wireless low-power-consumption network of the power equipment body area network; meanwhile, the application expands the MAC frame structure and field definition based on the 'micro-power wireless network communication protocol of the Internet of things' of power transmission and transformation equipment, uses the reserved value of MAC frame control, increases the type of a relay information frame, expands the MAC load field of the original MAC frame structure on the basis, is used for relay forwarding and relay configuration, is completely compatible with the existing protocol while supporting the relay function protocol, and does not influence the normal communication of sensor nodes conforming to the existing protocol; adding a home relation list management of the sensor node and the relay node to the sink node, wherein the home relation list management is used for maintaining a unique route between the sink node and the sensor node, and the sink node can select the unique route reaching the sensor node according to the receiving sequence of the received information frame, the receiving RSSI of each hop and the communication hop count between the sink node and the sensor node; meanwhile, the sink node can instruct the non-home relay node to add and delete the corresponding sensor node blacklist according to the selected route so as to control unnecessary data forwarding; the relay node can add and delete the home sensor node blacklist according to the indication of the sink node, and is used for managing the operation authority of the sensor node which can be forwarded by the relay node.
Compared with the prior art, the application has the following beneficial effects:
the method and the device adopt compatible frame extension definition, do not need to modify a sensor node protocol, can be compatible with the existing sensor node without barriers, meet the network compatibility requirement, and meanwhile, the relay selection strategy can give consideration to the link hop count and the signal coverage quality, different RSSI threshold range selection algorithms are different, and the influence of unbalanced link quality of each hop on the whole path transceiving can be effectively balanced through the high-value RSSI weighting duty ratio and the low-value RSSI weighting duty ratio in the weighting values. The aggregation node generates and updates the relay route corresponding to the sensor node by receiving the relay forwarding frame, instructs non-relay to establish the attribution blacklist, combines effective and ineffective route control, and can effectively reduce the electric energy consumption aiming at the low-power consumption sensor network.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (28)

1. The deep coverage communication method based on the power equipment body area network is applied to the sink node and is characterized by comprising the following steps of:
responding to the received information frame, judging whether the current information frame is a relay frame, wherein the relay frame is an information frame forwarded by a relay node from a sensor node;
under the condition that the current information frame is determined to be a relay frame, acquiring a corresponding sensor node ID and a first relay node ID from the current information frame;
if the fact that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list is determined, a matching relation between the sensor node ID corresponding to the current information frame and the first relay node ID is newly added in the node attribution matching list; or alternatively
If the fact that a second relay node ID matched with the sensor node ID corresponding to the current information frame is inconsistent with the first relay node ID in the node attribution matching list is determined, whether the second relay node ID is updated by the first relay node ID is determined according to a preset relay selection strategy;
The node attribution matching list at least comprises relay node IDs corresponding to different sensor node IDs.
2. The deep coverage communication method based on a power equipment body area network according to claim 1, wherein determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy comprises:
if the second relay node ID is determined not to be updated by the first relay node ID according to a preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the first relay node ID, so that the relay node corresponding to the first relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
3. The deep coverage communication method based on a power equipment body area network according to claim 2, wherein determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy further comprises:
if the second relay node ID is updated according to the preset relay selection strategy, returning blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
4. The power device body area network-based depth coverage communication method according to claim 1, wherein in case that it is determined that the current information frame is a non-relay frame, the method further comprises:
acquiring a corresponding sensor node ID from a current information frame;
if it is determined that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list, or a third relay node ID corresponding to the sensor node ID corresponding to the current information frame does not exist, taking the sink node ID as the third relay node ID, and adding a matching relationship between the sensor node ID corresponding to the current information frame and the third relay node ID in the node attribution matching list;
if the node attribution matching list is determined to have a third relay node ID corresponding to the sensor node ID corresponding to the current information frame, determining whether to update the third relay node ID with the sink node ID according to the relay selection strategy;
wherein the non-relay frame is an information frame from the sensor node.
5. The power device body area network-based deep coverage communication method according to claim 4, wherein determining whether to update the third relay node ID with the sink node ID according to the relay selection policy comprises:
And if the third relay node ID is updated according to the relay selection strategy, transmitting blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
6. The power device body area network-based deep coverage communication method of claim 1, further comprising:
for any sensor node, if an information frame including the sensor node ID is not received within a continuous preset period, determining a relay node ID corresponding to the sensor node ID through the node attribution matching list, and sending blacklist clearing configuration information including the sensor node ID to the relay node corresponding to the relay node ID, so that the corresponding relay node can forward the information frame from the sensor node.
7. The deep coverage communication method based on a power equipment body area network according to claim 4, wherein the node attribution matching list further includes routing weight values corresponding to different sensor node IDs and corresponding relay node IDs thereof; in the case that the current information frame is determined to be a non-relay information frame, the relay selection policy includes:
If the signal intensity of the first node acquired from the current information frame is larger than a preset first signal intensity threshold value, determining that a first route weighting value of the current information frame is a preset maximum route weighting value;
if the signal intensity of the first node is not greater than the first signal intensity threshold, determining that the first route weighting value of the current information frame is an actual route weighting value corresponding to the signal intensity of the first node;
determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
if the third relay node ID is the same as the sink node ID, updating the node attribution matching list by using a first route weighting value of the current information frame, wherein the sensor node ID corresponds to the current information frame and a second route weighting value corresponds to the third relay node ID;
if the third relay node ID is different from the sink node ID, updating the second routing weight value with the first routing weight value when the first routing weight value is greater than the second routing weight value, updating the third relay node ID with the sink node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
8. The power device body area network-based depth coverage communication method according to claim 7, wherein the relay selection policy, in the case where it is determined that the current information frame is a relay information frame, includes:
if the signal intensity of the first node and the signal intensity of the second node obtained from the current information frame are both larger than a preset second signal intensity threshold value, taking the average value of the actual route weighted value corresponding to the signal intensity of the first node and the actual route weighted value corresponding to the signal intensity of the second node as a first route weighted value of the current information frame;
if either the first node signal strength or the second node signal strength is not greater than the second signal strength threshold, calculating a first routing weight of the current information frame based on the first node signal strength and the second node signal strength;
the second signal intensity threshold is smaller than the first signal intensity threshold, the first node signal intensity is the signal intensity of the sensor node corresponding to the sensor node ID corresponding to the current information frame, and the second node signal intensity is the signal intensity of the relay node corresponding to the first relay node ID;
Determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes:
if the second relay node ID is the same as the first relay node ID, updating the node attribution matching list by using the first routing weighted value, wherein the sensor node ID corresponds to the current information frame and the third routing weighted value corresponds to the second relay node ID;
if the second relay node ID is different from the first relay node ID, updating the third routing weighted value with the first routing weighted value when the first routing weighted value is greater than the third routing weighted value, updating the second relay node ID with the first relay node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
9. The power device body area network-based deep coverage communication method according to claim 8, wherein calculating a first routing weight value of a current information frame based on the first node signal strength and the second node signal strength comprises:
Determining a larger value of the first node signal strength and the second node signal strength as a high value signal strength, and determining a smaller value of the first node signal strength and the second node signal strength as a low value signal strength;
and determining a high value weighted value of the high value signal strength and a low value weighted value of the low value signal strength, wherein the sum of the high value weighted value and the low value weighted value is 1, and the low value weighted value is larger than the high value weighted value.
10. The deep coverage communication method based on the power equipment body area network is applied to a relay node and is characterized by comprising the following steps of:
responding to the received information frame, and judging that the current information frame is an uplink information frame from a sensor node or a downlink information frame from a sink node;
if the current information frame is determined to be an uplink information frame, acquiring a corresponding sensor node ID from the current information frame, and packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a first information frame and transmitting the first information frame to a sink node under the condition that the sensor node ID corresponding to the current information frame does not belong to a preset blacklist configuration information list; and
And discarding the current information frame under the condition that the sensor node ID corresponding to the current information frame belongs to a preset blacklist configuration information list.
11. The power device body area network-based deep coverage communication method of claim 10, further comprising:
if the current information frame is determined to be a downlink information frame, judging whether the current information frame is a relay information frame or a non-relay information frame, wherein the relay information frame is an information frame to be forwarded by a relay node, and the non-relay information frame is an information frame directly sent to a sensor node by an aggregation node;
under the condition that the current information frame is determined to be the relay information frame, acquiring a relay node ID in the current information frame, if the acquired relay node ID meets a preset condition, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame, and if the acquired relay node ID does not meet the preset condition, discarding the current information frame;
and discarding the current information frame in the case that the current information frame is determined to be a non-relay information frame.
12. The deep coverage communication method based on a power equipment body area network according to claim 11, wherein the preset condition includes:
The acquired relay node ID is consistent with the relay node ID of the current relay node, or the acquired relay node ID is a preset value.
13. The depth coverage communication method based on a power equipment body area network according to claim 11, wherein forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame comprises:
if the frame information of the current information frame comprises blacklist configuration information, acquiring a sensor node ID in the blacklist configuration information, and if the acquired sensor node ID does not belong to the blacklist configuration information list, adding the acquired sensor node ID in the blacklist configuration information list;
if the frame information of the current information frame comprises blacklist clearing configuration information, acquiring a sensor node ID in the blacklist clearing configuration information, and if the acquired sensor node ID belongs to the blacklist configuration information list, deleting the acquired sensor node ID in the blacklist configuration information list.
14. The depth coverage communication method based on a power equipment body area network according to claim 13, wherein forwarding the current information frame or discarding the current information frame according to frame information of the current information frame, further comprises:
If the frame information of the current information frame indicates that the current information frame is of a preset frame sub-type, acquiring a sensor node ID in the current information frame, packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a second information frame, and sending the second information frame to a sensor node corresponding to the sensor node ID in the current information frame.
15. A depth coverage communication device based on a power equipment body area network, applying the depth coverage communication method based on the power equipment body area network according to any one of claims 1 to 9, comprising:
the data receiving module is configured to respond to the received information frame and judge whether the current information frame is a relay frame, wherein the relay frame is an information frame forwarded by a relay node from a sensor node;
the data analysis module is configured to acquire a corresponding sensor node ID and a first relay node ID from the current information frame under the condition that the current information frame is determined to be a relay frame;
the routing control module is configured to add a matching relation between the sensor node ID corresponding to the current information frame and the first relay node ID in the node attribution matching list if the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list; or alternatively
If the fact that a second relay node ID matched with the sensor node ID corresponding to the current information frame is inconsistent with the first relay node ID in the node attribution matching list is determined, whether the second relay node ID is updated by the first relay node ID is determined according to a preset relay selection strategy;
the node attribution matching list at least comprises relay node IDs corresponding to different sensor node IDs.
16. The power device body area network-based depth coverage communication apparatus of claim 15, wherein, in the event that the current information frame is determined to be a non-relay frame, the routing control module is further configured to:
acquiring a corresponding sensor node ID from a current information frame;
if it is determined that the sensor node ID corresponding to the current information frame does not exist in the preset node attribution matching list, or a third relay node ID corresponding to the sensor node ID corresponding to the current information frame does not exist, taking the sink node ID as the third relay node ID, and adding a matching relationship between the sensor node ID corresponding to the current information frame and the third relay node ID in the node attribution matching list;
if the node attribution matching list is determined to have a third relay node ID corresponding to the sensor node ID corresponding to the current information frame, determining whether to update the third relay node ID with the sink node ID according to the relay selection strategy;
Wherein the non-relay frame is an information frame from the sensor node.
17. The power device body area network-based deep coverage communication apparatus of claim 16, wherein determining whether to update the third relay node ID with the sink node ID in accordance with the relay selection policy comprises:
and if the third relay node ID is updated according to the relay selection strategy, transmitting blacklist configuration information comprising the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
18. The power equipment body area network-based deep coverage communication apparatus according to claim 16, wherein the node attribution matching list further includes routing weight values corresponding to different sensor node IDs and their corresponding relay node IDs; in the case that the current information frame is determined to be a non-relay information frame, the relay selection policy includes:
if the signal intensity of the first node acquired from the current information frame is larger than a preset first signal intensity threshold value, determining that a first route weighting value of the current information frame is a preset maximum route weighting value;
If the signal intensity of the first node is not greater than the first signal intensity threshold, determining that the first route weighting value of the current information frame is an actual route weighting value corresponding to the signal intensity of the first node;
determining whether to update the third relay node ID with the sink node ID according to the relay selection policy includes:
if the third relay node ID is the same as the sink node ID, updating the node attribution matching list by using a first route weighting value of the current information frame, wherein the sensor node ID corresponds to the current information frame and a second route weighting value corresponds to the third relay node ID;
if the third relay node ID is different from the sink node ID, updating the second routing weight value with the first routing weight value when the first routing weight value is greater than the second routing weight value, updating the third relay node ID with the sink node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the third relay node ID, so that the relay node corresponding to the third relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
19. The power device body area network-based depth coverage communication apparatus of claim 18, wherein the relay selection policy, in case it is determined that the current information frame is a relay information frame, comprises:
if the signal intensity of the first node and the signal intensity of the second node obtained from the current information frame are both larger than a preset second signal intensity threshold value, taking the average value of the actual route weighted value corresponding to the signal intensity of the first node and the actual route weighted value corresponding to the signal intensity of the second node as a first route weighted value of the current information frame;
if either the first node signal strength or the second node signal strength is not greater than the second signal strength threshold, calculating a first routing weight of the current information frame based on the first node signal strength and the second node signal strength;
the second signal intensity threshold is smaller than the first signal intensity threshold, the first node signal intensity is the signal intensity of the sensor node corresponding to the sensor node ID corresponding to the current information frame, and the second node signal intensity is the signal intensity of the relay node corresponding to the first relay node ID;
Determining whether to update the second relay node ID with the first relay node ID according to a preset relay selection policy includes:
if the second relay node ID is the same as the first relay node ID, updating the node attribution matching list by using the first routing weighted value, wherein the sensor node ID corresponds to the current information frame and the third routing weighted value corresponds to the second relay node ID;
if the second relay node ID is different from the first relay node ID, updating the third routing weighted value with the first routing weighted value when the first routing weighted value is greater than the third routing weighted value, updating the second relay node ID with the first relay node ID, and returning blacklist configuration information including the sensor node ID corresponding to the current information frame to the relay node corresponding to the second relay node ID, so that the relay node corresponding to the second relay node ID does not forward the information frame from the sensor node corresponding to the sensor node ID corresponding to the current information frame.
20. The power device body area network-based deep coverage communication apparatus of claim 19, wherein calculating a first routing weight for a current information frame based on the first node signal strength and the second node signal strength comprises:
Determining a larger value of the first node signal strength and the second node signal strength as a high value signal strength, and determining a smaller value of the first node signal strength and the second node signal strength as a low value signal strength;
and determining a high value weighted value of the high value signal strength and a low value weighted value of the low value signal strength, wherein the sum of the high value weighted value and the low value weighted value is 1, and the low value weighted value is larger than the high value weighted value.
21. A depth coverage communication device based on a power equipment body area network, applying the depth coverage communication method based on the power equipment body area network according to any one of claims 10 to 14, comprising:
the data receiving module is configured to respond to the received information frame and judge that the current information frame is an uplink information frame from the sensor node or a downlink information frame from the sink node;
the data sending module is configured to obtain a corresponding sensor node ID from the current information frame if the current information frame is determined to be an uplink information frame, package the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a first information frame under the condition that the sensor node ID corresponding to the current information frame does not belong to a preset blacklist configuration information list, and send the first information frame to the sink node; and
And discarding the current information frame under the condition that the sensor node ID corresponding to the current information frame belongs to a preset blacklist configuration information list.
22. The power equipment body area network-based deep coverage communication device of claim 21, wherein the method further comprises:
if the current information frame is determined to be a downlink information frame, judging whether the current information frame is a relay information frame or a non-relay information frame, wherein the relay information frame is an information frame to be forwarded by a relay node, and the non-relay information frame is an information frame directly sent to a sensor node by an aggregation node;
under the condition that the current information frame is determined to be the relay information frame, acquiring a relay node ID in the current information frame, if the acquired relay node ID meets a preset condition, forwarding the current information frame or discarding the current information frame according to the frame information of the current information frame, and if the acquired relay node ID does not meet the preset condition, discarding the current information frame;
and discarding the current information frame in the case that the current information frame is determined to be a non-relay information frame.
23. The power equipment body area network-based deep coverage communication device of claim 22, wherein the preset condition comprises:
The acquired relay node ID is consistent with the relay node ID of the current relay node, or the acquired relay node ID is a preset value.
24. The power equipment body area network-based depth coverage communication device of claim 22, wherein forwarding or dropping the current information frame based on frame information of the current information frame comprises:
if the frame information of the current information frame comprises blacklist configuration information, acquiring a sensor node ID in the blacklist configuration information, and if the acquired sensor node ID does not belong to the blacklist configuration information list, adding the acquired sensor node ID in the blacklist configuration information list;
if the frame information of the current information frame comprises blacklist clearing configuration information, acquiring a sensor node ID in the blacklist clearing configuration information, and if the acquired sensor node ID belongs to the blacklist configuration information list, deleting the acquired sensor node ID in the blacklist configuration information list.
25. The power device body area network-based depth coverage communication apparatus of claim 24, wherein forwarding the current information frame or discarding the current information frame according to frame information of the current information frame, further comprises:
If the frame information of the current information frame indicates that the current information frame is of a preset frame sub-type, acquiring a sensor node ID in the current information frame, packaging the relay node ID of the current relay node, the signal strength of the received current information frame and the current information frame into a second information frame, and sending the second information frame to a sensor node corresponding to the sensor node ID in the current information frame.
26. A deep coverage communication system based on a power equipment body area network, comprising:
a deep coverage communication device based on a power equipment body area network as claimed in any one of claims 15 to 20; and
a deep coverage communication means based on a power equipment body area network as claimed in any one of claims 21 to 25.
27. A machine-readable storage medium having instructions stored thereon, which when executed by a processor cause the processor to be configured to perform the power device body area network-based deep coverage communication method of any of claims 1-9, or which when executed by a processor cause the processor to be configured to perform the power device body area network-based deep coverage communication method of claims 10-14.
28. Terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the steps of the power device body area network based deep coverage communication method according to any one of claims 1 to 9 or the steps of the power device body area network based deep coverage communication method according to claims 10 to 14.
CN202410201564.5A 2024-02-23 2024-02-23 Deep coverage communication method, device and system based on power equipment body area network Active CN117793841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410201564.5A CN117793841B (en) 2024-02-23 2024-02-23 Deep coverage communication method, device and system based on power equipment body area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410201564.5A CN117793841B (en) 2024-02-23 2024-02-23 Deep coverage communication method, device and system based on power equipment body area network

Publications (2)

Publication Number Publication Date
CN117793841A true CN117793841A (en) 2024-03-29
CN117793841B CN117793841B (en) 2024-05-14

Family

ID=90389416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410201564.5A Active CN117793841B (en) 2024-02-23 2024-02-23 Deep coverage communication method, device and system based on power equipment body area network

Country Status (1)

Country Link
CN (1) CN117793841B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100083622A (en) * 2009-01-14 2010-07-22 국방과학연구소 Method and device for deploying relay node, computer recordable medium
CN102340838A (en) * 2011-07-18 2012-02-01 西安电子科技大学 Medium access control method for prolonging network lifetime in wireless body area network
CN103079289A (en) * 2013-01-18 2013-05-01 浙江大学 Wireless multi-person motion data collector and collection method
CN104010314A (en) * 2014-05-26 2014-08-27 哈尔滨工业大学(威海) Wireless sensor network relay node distributing method
US20170085573A1 (en) * 2014-06-09 2017-03-23 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Data Transmission Method and Apparatus
US10149230B2 (en) * 2017-03-13 2018-12-04 International Business Machines Corporation Management of a blacklist for controlling a communication
CN109964475A (en) * 2016-08-29 2019-07-02 皇家Kpn公司 The system and method for sending and receiving relaying notice

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100083622A (en) * 2009-01-14 2010-07-22 국방과학연구소 Method and device for deploying relay node, computer recordable medium
CN102340838A (en) * 2011-07-18 2012-02-01 西安电子科技大学 Medium access control method for prolonging network lifetime in wireless body area network
CN103079289A (en) * 2013-01-18 2013-05-01 浙江大学 Wireless multi-person motion data collector and collection method
CN104010314A (en) * 2014-05-26 2014-08-27 哈尔滨工业大学(威海) Wireless sensor network relay node distributing method
US20170085573A1 (en) * 2014-06-09 2017-03-23 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Data Transmission Method and Apparatus
CN109964475A (en) * 2016-08-29 2019-07-02 皇家Kpn公司 The system and method for sending and receiving relaying notice
US10149230B2 (en) * 2017-03-13 2018-12-04 International Business Machines Corporation Management of a blacklist for controlling a communication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
严巧凤;章敬雪;苏丹;李章勇;: "体域网中基于数据区分化服务的路由算法研究", 生命科学仪器, no. 01, 25 February 2015 (2015-02-25) *

Also Published As

Publication number Publication date
CN117793841B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
US11606839B2 (en) Method, apparatus, system, and device for managing a session corresponding to multiple session management function network elements
CN112165725B (en) Message processing method and device
CN106851589B (en) Wireless network access method, apparatus and system
US8199701B2 (en) Radio communication device, and ad hoc route information acquiring method
EP1301052B1 (en) Method and associated apparatus for distributed dynamic paging area clustering under heterogeneous access network
US20170019833A1 (en) Methods and devices for sending or receiving routing information, and system for processing routing information
US20060025161A1 (en) Method and associated apparatus for distributed dynamic paging area clustering under heterogeneous access networks
CN105493609A (en) Adaptive RTS/CTS in high-efficiency wireless communications
CN109314695A (en) Determine method, control plane network element and the system of user face protocol stack
US10440631B1 (en) Payload type aware routing in wireless mesh networks
CN110505600B (en) Routing method and device
CN111316685A (en) Method and device for converged networking
CN105163349A (en) IEEE802.11s-based multi-gateway wireless Mesh network realization method
CN106900174B (en) Data transmission method, device and system for wireless local area network mesh network
CN108270745B (en) Business customized information pushing method, terminal and master control Bluetooth device
Huang et al. Virtual mesh networking for achieving multi-hop D2D communications in 5G networks
US20150215199A1 (en) Network device and computer-readable recording medium
US20160112311A1 (en) Enhanced connectivity to end devices via access points of wireless local area networks (wlan)
Bocchino et al. SPEED routing protocol in 6LoWPAN networks
CN117793841B (en) Deep coverage communication method, device and system based on power equipment body area network
CN111193667B (en) Routing method, leaf node and storage medium of ad hoc network
CN104662991A (en) Apparatus and method for communication
CN110601893B (en) Data transmission system, method and device
CN109246796A (en) A kind of communication means and device
JP6374482B2 (en) Node partitioning

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