Communication signal enhancement method and system of body area network equipment

By querying the optimal relay forwarding number of times to the aggregation node in the wireless low-power network of the body domain network and optimizing the relay path, the problem of insufficient wireless transmission distance and signal penetration performance of the body domain network is solved, which improves the communication success rate and reduces the network burden.

CN119893758APending Publication Date: 2025-04-25BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510007178.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing wireless low-power networks in the existing bulk area network have shortcomings in terms of wireless transmission distance and signal penetration performance. Especially in the column-changing station area scenario, due to transformer shading and JP cabinet shielding, the communication success rate is low, and the station area with complex environments is basically unable to communicate.

Method used

By sending a relay-level query information frame to the aggregation node and receiving the relay-level query response frame of the aggregation node, a forwarding information field containing the optimal relay forwarding times is determined, and data forwarding is performed based on this information to optimize the relay path and reduce the number of forwarding times.

Benefits of technology

The communication success rate of wireless body area network equipment is improved, especially in complex station areas, which reduces the burden on the communication network, prevents broadcast flooding, and ensures the reliability and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893758A_ABST
    Figure CN119893758A_ABST
Patent Text Reader

Abstract

The invention discloses a communication signal enhancement method and system of body area network equipment. The method comprises the following steps: sending a relay level query information frame to a sink node, receiving a relay level query response frame returned by the sink node through at least one path, determining a forwarding information domain containing the optimal relay forwarding times based on the relay level query response frame, obtaining a to-be-forwarded data frame, and forwarding the to-be-forwarded data frame to the sink node according to the forwarding information domain. And the forwarding information domain containing the optimal relay forwarding times is set as the optimal hop count when the data frame is forwarded, so that the data frame is forwarded. According to the embodiment of the invention, the relay level query information frame is sent to the sink node, the relay level query response frame returned by the sink node is received, the forwarding information domain containing the optimal relay forwarding times is determined based on the relay level query response frame, and data forwarding is carried out based on the forwarding information domain. The communication success rate of wireless body area network equipment can be increased, communication in a zone area with a complex environment can be improved, and the burden of a communication network is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power equipment communication, and in particular to a method and system for enhancing communication signals of a body area network device. Background Art

[0002] The body area network wireless low-power network can be used in distribution substations, distribution station buildings, switchgear, ring network cabinets and other scenarios to achieve real-time perception of the internal status and environmental parameters of power equipment. Its main task is to collect the data required for the business and transmit, analyze and integrate the data.

[0003] The body area network wireless low-power network is a communication network composed of sensor nodes and aggregation nodes. The network topology is star-shaped, that is, multiple sensor nodes communicate directly with one aggregation node. The sensor nodes are responsible for data collection and device status perception, and access the aggregation node through wireless. The aggregation node has simple computing, self-organizing network and terminal access functions.

[0004] The star topology structure (multiple sensor terminals are directly connected to a convergence node device) used in the existing body area network wireless low-power network has poor indicators in terms of wireless transmission distance and signal penetration performance. In the actual application of the column-type transformer substation scene, due to the shielding of the transformer and the JP cabinet (JP integrated distribution box) between the terminal sensor and the fusion terminal convergence node, there will be problems such as low communication success rate of wireless body area network equipment and basically no communication in complex environment. Summary of the invention

[0005] In view of this, the present invention provides a method and system for enhancing communication signals of a body area network device, which can improve the communication success rate of wireless body area network devices and the communication in areas with complex environments, and reduce the burden on the communication network.

[0006] According to one aspect of the present invention, an embodiment of the present invention provides a method for enhancing communication signals of a body area network device, which is applied to sensor nodes, and the sensor nodes are deployed inside and outside a JP cabinet; the communication signal enhancement method includes:

[0007] Sending a relay-level query information frame to a sink node; wherein the relay-level query information frame includes: a first relay-level query information frame and / or a second relay-level query information frame, wherein the first relay-level query information frame is an information frame directly sent by the sensor node to the sink node; the second relay-level query information frame is an information frame sent by the sensor node to the sink node via a main relay node, and / or is an information frame sent by the sensor node to the sink node via at least one slave relay node and a main relay node; the first relay-level query information frame and the second relay-level query information frame are the same relay-level query information frame that reaches the sink node via different paths;

[0008] Receive a relay level query response frame returned by the sink node via at least one path, and determine a forwarding information field containing an optimal relay forwarding number based on the relay level query response frame; wherein the at least one path includes at least one of the following: the sink node directly transmits to the sensor node, the sink node passes through a master relay node, or the master relay node and at least one slave relay node transmit to the sensor node;

[0009] A data frame to be forwarded is obtained, and the forwarding information field containing the optimal relay forwarding number is set as the optimal hop number when forwarding the data frame, so as to forward the data frame.

[0010] According to another aspect of the present invention, an embodiment of the present invention further provides a communication signal enhancement method for a body area network device, which is applied to a master relay node; the master relay node is deployed inside a JP cabinet; the master relay node is connected to a slave relay node via an antenna; the slave relay node is deployed outside the JP cabinet;

[0011] The communication signal enhancement method comprises:

[0012] Receiving a relay level query information frame transmitted by a sensor node; wherein the relay level query information frame includes: a sensor node, or a relay level query frame transmitted from a sensor node to the sink node via at least one relay node;

[0013] Determining whether the frame type of the relay level query information frame is a relay information frame;

[0014] If it is not a relay information frame, it is determined to be a relay level query information frame directly transmitted by the sensor node, a relay information frame is added to the original frame type of the relay level query information frame directly transmitted by the sensor node, and a forwarding information field is added before the initial MAC layer load in the relay level query information frame; wherein the forwarding information field is used to record the initial frame type of the relay level query information frame and the number of relay forwardings, and the number of relay forwardings is cumulatively increased by 1 each time it is forwarded;

[0015] If it is a relay information frame, it is determined that there is at least one slave relay node, and the relay information frame is a relay level query information frame transmitted from at least one slave relay node. The subframe type in the forwarding information field of the relay level query information frame transmitted from at least one slave relay node is not changed, and the number of relay forwarding times is increased by 1.

[0016] According to another aspect of the present invention, an embodiment of the present invention further provides a communication signal enhancement method for a body area network device, which is applied to a slave relay node; the communication signal enhancement method comprises:

[0017] Receive the relay level query information frame transmitted by the sensor node outside the JP cabinet, and determine whether it is a relay information frame;

[0018] If it is not a relay information frame, it is determined to be a relay level query information frame in the form of an original MAC frame directly transmitted by a sensor node outside the JP cabinet, a relay information frame is added to the original frame type of the relay level query information frame, and a forwarding information field is added before the initial MAC layer payload in the relay level query information frame, and the frame is forwarded to the main relay node;

[0019] If it is a relay information frame, the subframe type in the forwarding information field transmitted by the slave relay node is not changed, the number of relay forwarding times is increased by 1, and the frame is forwarded to the master relay node.

[0020] According to another aspect of the present invention, an embodiment of the present invention further provides a method for enhancing communication signals of a body area network device, which is applied to a convergence node; the convergence node is deployed inside a JP cabinet; the convergence node is connected to a main relay node via an antenna;

[0021] The communication signal enhancement method comprises:

[0022] Within a preset receiving time, receiving relay level query information frames in sequence; wherein the relay level query information frames include: a first relay level query frame directly sent by the sensor node, or a second relay level query frame transmitted via the main relay node;

[0023] The first relay level query frame and / or the second relay level query frame are respectively timestamped, and the first relay level query frame and / or the second relay level query frame are parsed to obtain a relay level query response frame containing an optimal relay forwarding number and return it to the sensor node.

[0024] According to another aspect of the present invention, an embodiment of the present invention further provides a communication signal enhancement system for a body area network device, the communication signal enhancement system comprising: a sensor node, a slave relay node, a master relay node and a convergence node; the master relay node and the convergence node are in a JP cabinet, and antennas are led out of the JP cabinet;

[0025] Wherein, the sensor node is used to execute the communication signal enhancement method of the body area network device applied to the sensor node in the embodiment of the present invention;

[0026] The master relay node is used to execute the communication signal enhancement method of the body area network device applied to the master relay node in the embodiment of the present invention;

[0027] The slave relay node is used to execute the communication signal enhancement method of the body area network device applied to the slave relay node in the embodiment of the present invention;

[0028] The aggregation node is used to execute the communication signal enhancement method of the body area network device applied to the aggregation node in the embodiment of the present invention.

[0029] The technical solution of the embodiment of the present invention, by sending a relay level query information frame to the aggregation node, receiving the relay level query response frame returned by the aggregation node, and determining the forwarding information field containing the optimal relay forwarding number based on the relay level query response frame, and forwarding data based on the forwarding information field, can improve the communication success rate of wireless body area network devices and the communication in complex environments, and reduce the burden on the communication network.

[0030] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A flow chart of a method for enhancing communication signals of a body area network device provided by one embodiment of the present invention;

[0033] Figure 2 A schematic diagram of a frame structure of an existing MAC frame provided by an embodiment of the present invention;

[0034] Figure 3A schematic diagram of a frame structure of an extended MAC frame format provided by an embodiment of the present invention;

[0035] Figure 4 A flowchart of another method for enhancing communication signals of a body area network device provided by an embodiment of the present invention;

[0036] Figure 5 A flowchart of a method for enhancing communication signals of a body area network device provided by an embodiment of the present invention;

[0037] Figure 6 A schematic diagram of data broadcast flooding relay forwarding in a low-frequency data interaction scenario provided by an embodiment of the present invention;

[0038] Figure 7 A schematic diagram of realizing controlled flooding forwarding by optimizing the MAC layer protocol forwarding mechanism in a multi-relay node forwarding scenario provided by an embodiment of the present invention;

[0039] Figure 8 A flowchart of a method for enhancing communication signals of a body area network device provided by an embodiment of the present invention;

[0040] Fig. 9 A schematic diagram of a processing flow of a relay node within a preset time provided by an embodiment of the present invention;

[0041] Fig.10 A structural block diagram of a communication signal enhancement system for a body area network device provided by an embodiment of the present invention;

[0042] Fig.11 A structural block diagram of a communication signal enhancement system for a body area network device provided by an embodiment of the present invention;

[0043] Fig.12 A hardware architecture diagram of a body area network master relay node provided by an embodiment of the present invention;

[0044] Fig.13 A software functional block diagram of a body area network master relay node provided by an embodiment of the present invention;

[0045] Fig.14 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0048] In one embodiment, Figure 1 A flowchart of a method for enhancing communication signals of a body area network device provided in one embodiment of the present invention. This embodiment is applicable to situations where communication signals between body area network devices are enhanced. The method can be executed by a sensor node in a communication signal enhancement system of the body area network device.

[0049] like Figure 1 As shown, the communication signal enhancement method of the body area network device in this embodiment is applied to the sensor node, and the relay node is deployed between the sensor node and the aggregation node. The deployed relay nodes include the master relay node and the slave relay node. The master relay node and the aggregation node are deployed inside the JP cabinet, and the slave relay node is deployed outside the JP cabinet. The sensor nodes are inside and outside the JP cabinet. Among them, the abbreviation of the integrated distribution cabinet of the distribution transformer is the JP cabinet. The JP cabinet is a compensation distribution cabinet for the low-voltage distribution system, integrating metering, distribution, and compensation functions.

[0050] The communication signal enhancement method of the body area network device in this embodiment specifically includes the following steps:

[0051] S110. Send a relay level query information frame to the aggregation node; wherein the relay level query information frame includes: a first relay level query information frame and / or a second relay level query information frame, the first relay level query information frame and the second relay level query information frame are the same relay level query information frame that reaches the aggregation node via different paths.

[0052] Among them, the first relay level query information frame is an information frame sent directly from the sensor node to the aggregation node; the second relay level query information frame is an information frame sent from the sensor node to the aggregation node via the main relay node, and / or is an information frame sent from the sensor node to the aggregation node via at least one slave relay node and the main relay node; in this embodiment, the first relay level query information frame and the second relay level query information frame are the same relay level query information frame that reaches the aggregation node via different paths.

[0053] In this embodiment, the format of the relay level query information frame includes: sensor node ID, parameter number, fragmentation indication, first message type, first message content and check bit; wherein the first message content includes: relay level query and parameter configuration type identifier.

[0054] In one embodiment, the first relay level query information frame includes a MAC header, an initial MAC layer payload, and an integrity check; the control message type included in the initial MAC layer payload adds a relay level query of a sensor node; the frame type in the MAC header of the second relay level query information frame adds a relay information frame, and a forwarding information field is added between the MAC header and the initial MAC layer payload in the second relay level query information frame; the forwarding information field includes a subframe type, the actual cumulative forwarding times after relay forwarding, and the optimal relay forwarding times; the initial setting of the optimal relay forwarding times is a default value. In this embodiment, the payload length in the MAC layer header = [subframe type (4 bits) + relay times (4 bits)] (1 byte) + initial MAC layer payload length; the MAC layer information integrity check is to accumulate the newly constructed MAC PDU data (including the MAC frame header and the MAC layer payload) byte by byte, and the lowest byte of the accumulated result is taken as the information integrity check value.

[0055] In this embodiment, for the use scenario of distribution pole substation, the aggregation side gateway terminal is deployed in the JP cabinet, receives the aggregation terminal sensor data and sends it to the main station after processing. A part of the body area network sensor terminal is deployed in the JP cabinet to monitor the environmental parameters, equipment operating status and other parameters in the JP cabinet; the other part is deployed outside the JP cabinet to monitor the lines outside the JP cabinet, equipment operating status parameters and environmental parameters.

[0056] In this embodiment, multiple relay nodes are deployed between the sensor node and the aggregation node, including a master relay node and multiple slave relay nodes. The master relay node is deployed inside the JP cabinet. The master relay node is connected to the slave relay node through an antenna. The slave relay node is deployed outside the JP cabinet. Before the sensor node accesses the aggregation, it first sends a relay-level query frame to the aggregation node, which is broadcast to the aggregation node through multiple forwarding paths. The multiple forwarding paths in this embodiment include but are not limited to a first relay-level query information frame sent directly from the sensor node to the aggregation node, and / or a second relay-level query information frame sent from the sensor node to the aggregation node through the master relay node, or through at least one slave relay node and the master relay node. It can be understood that after the sensor node starts running, it sends a query frame in the initial MAC frame format. A relay-level query frame is sent to the aggregation node. The relay-level query frame will reach the aggregation node through different paths. One is that the query frame sent directly from the sensor node to the aggregation node conforms to the original MAC frame format, in which the frame type == "control channel request frame", and the control message type in the MAC layer load can be set with a corresponding type value. Exemplarily, the control message type = 100; the other is that the MAC frame forwarded through at least one relay node conforms to the extended MAC frame format. The extended MAC frame format is manifested as adding a relay information frame to the frame type in the MAC header, and adding a forwarding information field between the MAC header and the initial MAC layer load in the second relay-level query information frame. The subframe type in the forwarding information field is a control channel request frame, the number of relay times = actual forwarding through the relay, and the optimal number of relay times = the default value.

[0057] In this embodiment, in order to better understand the extended MAC frame format, Figure 2 A schematic diagram of a frame structure of an existing MAC frame provided by an embodiment of the present invention, Figure 3 A schematic diagram of a frame structure of an extended MAC frame format provided by an embodiment of the present invention, Figure 3 The maximum number of relay times in is the optimal number of relay times. Table 1 is a frame type table corresponding to an existing frame structure provided by an embodiment of the present invention. Table 2 is a frame type table corresponding to an extended frame structure provided by an embodiment of the present invention.

[0058] Table 1: Frame type table corresponding to existing frame structure

[0059] Bit sequence (4bit) Frame Type (English) Frame Type (Chinese) 0b0000 MESSAGE Traffic Channel Information Frame 0b0001 REQ Control Channel Request Frame 0b0010 RSP Control channel response frame 0b0011 RSP_END Control channel response end frame 0b0100 BURST Burst data frame 0b0101 ACK Control channel acknowledgment frame other RFU Reserve

[0060] In this embodiment, the frame type and frame load are simply extended based on the existing body area network communication protocol, and the protocol compatibility is ensured on the basis of optimizing the forwarding function of the relay node. Figure 3As shown, an extended body area network MAC frame structure, and its extended frame type is shown in Table 2. In this embodiment, the extended frame type is a relay information frame RELAY_MESSAGE, which is used to identify the frame type of the information frame forwarded by the relay node, wherein the information frames from and to the relay node use this frame type, and other MAC frames that do not pass through the relay node maintain the original frame type. In this embodiment, the role of the relay information frame is to enable the forwarding relay node and the aggregation node to determine whether the received query frame is a relay frame or an original frame.

[0061] Table 2: Frame type table corresponding to the extended frame structure

[0062]

[0063] In this embodiment, the "sensor terminal relay level query" type is expanded on the basis of the original body area network control message type. According to the protocol expansion requirements (starting from the "manufacturer custom reserved field"), the newly added control message type value is 100, which means the sensor terminal relay level query. The original protocol content and the expansion type are shown in Table 3. The format of the relay level query information frame of the sensor node is shown in Table 4.

[0064] Table 3: Original protocol content and amplification type

[0065] Type value (7 bits) meaning 1 Sensor terminal general parameter query / setting 2 Sensor terminal monitoring data query message 3 Sensor terminal alarm parameter query / setting 4 Sensor terminal time parameter query / setting 5 Sensor terminal ID query / setting 6 Sensor terminal reset settings 7 The sensor terminal requests time calibration 8-99 Protocol extension reserved field 100 Sensor terminal relay level query 101-127 Manufacturer-defined reserved fields

[0066] Table 4: Format of the relay level query information frame

[0067]

[0068]

[0069] S120: Receive a relay level query response frame returned by the aggregation node via at least one path, and determine a forwarding information field containing an optimal relay forwarding number based on the relay level query response frame.

[0070] The optimal relay forwarding times can be called the minimum relay forwarding times, which is the shortest hop count of data forwarding returned by the aggregation node. In addition to the optimal relay forwarding times, the forwarding information field can also include the subframe type and the actual cumulative forwarding times. The initial value of the actual cumulative forwarding times is 0, and it is incremented by 1 after each relay node.

[0071] In this embodiment, the format of the relay-level query response frame includes: sensor node ID, number of parameters, fragmentation indication, second message type, second message content and check bit; wherein the second message content includes: relay-level query response, parameter configuration type identifier and the best relay forwarding number returned by the aggregation node.

[0072] Exemplarily, to facilitate a better understanding of the format of the relay level query response frame transmitted by the sensor node, that is, the sensor terminal relay level query response message format, Table 5 is a sensor terminal relay level query response message format provided by an embodiment of the present invention.

[0073] Table 5: Sensor terminal relay level query response message format

[0074]

[0075]

[0076] In one embodiment, a forwarding information field containing an optimal relay forwarding number is determined based on a relay level query response frame, including: parsing the relay level query response frame to obtain a forwarding information field; wherein the forwarding information field includes one of the following: a first forwarding information field that has not been forwarded by a relay node; or a second forwarding information field that has been forwarded by at least one relay node; both the first forwarding information field and the second forwarding information field include: a subframe type, a relay forwarding number, and an optimal relay forwarding number returned by the aggregation node.

[0077] In this embodiment, after the sensor node receives the aggregated relay-level query response frame, it parses the relay-level query response frame to form a relay information frame containing the optimal number of relays to send sampling data, that is, the terminal sensor node obtains the optimal number of hops to the aggregation node, and when sending any frame thereafter, the relay information frame format is used to set this optimal number of hops in the relay number information field of the MAC layer message extension (frame type = relay information frame, subframe type = actual frame type). When the new first-level relay node determines that the relay number of the forwarded frame is greater than or equal to the optimal number of hops, it will no longer forward the frame, thereby controlling the flooding within a very small range and reducing the network burden.

[0078] S130, obtaining a data frame to be forwarded, and setting the forwarding information field containing the optimal relay forwarding number as the optimal hop number when forwarding the data frame, so as to forward the data frame.

[0079] In this embodiment, the data frame to be forwarded is obtained, and the forwarding information field containing the optimal relay forwarding number is set as the optimal hop number when forwarding the data frame to forward the data frame. It can be understood that the sensor node receives the relay level query response frame and enters the real-time data collection and transmission state. After the sensor node collects the data, it sends the sampled data according to the extended MAC frame format, specifically: frame type = relay information frame, subframe type in the forwarding information field = service channel information frame, relay number = 0, optimal relay number = relay level returned by the convergence. In this embodiment, the relay strategy is simplified by designing the link of "sensor terminal relay level query" with the convergence before the sensor sends the sampled data, which greatly reduces the software implementation work on the relay node and the convergence node side; and in the process of the sensor sampled data arriving at the convergence node, the relay node only compares the relay number, which can significantly save the system operation overhead.

[0080] The technical solution of the embodiment of the present invention increases the relay query request from the terminal sensor node to the aggregation node, and realizes the judgment of the optimal relay number on the aggregation side in the relay information field of the MAC layer load expansion, and sets it to the terminal sensor in the form of a response frame, only limiting the relay number but not the specific relay path. It has strong path fault tolerance, ensures the data transmission success rate while greatly reducing the relay forwarding number, and is combined with a cache anti-retransmission mechanism to effectively prevent broadcast flooding, which can improve the communication success rate of wireless body area network devices and the communication in complex environments, and reduce the burden on the communication network.

[0081] In one embodiment, Figure 4 A flowchart of another method for enhancing communication signals of a body area network device provided by an embodiment of the present invention. This embodiment is applicable to the case where communication signals between body area network devices are enhanced. The method can be executed by a communication signal enhancement system of the body area network device.

[0082] In this embodiment, the communication signal enhancement method of the body area network device is applied to the master relay node, wherein the master relay node is deployed inside the JP cabinet; the master relay node is connected to the slave relay node and the aggregation node through antennas respectively; the slave relay node is deployed outside the JP cabinet;

[0083] like Figure 4 As shown, the communication signal enhancement method comprises the following specific steps:

[0084] S410, receiving a relay level query information frame transmitted by a sensor node; wherein the relay level query information frame includes: a relay level query frame transmitted by a sensor node to a sink node, or a relay level query frame transmitted by a sensor node from at least one relay node to a sink node.

[0085] In this embodiment, the main relay node receives a sensor node inside the JP cabinet, a sensor node outside the JP cabinet, or a relay level query frame transmitted to the sink node via at least one slave relay node.

[0086] S420, determining whether the frame type of the relay level query information frame is a relay information frame, if not, executing S430; if yes, executing S440.

[0087] S430. Determine the relay-level query information frame directly transmitted by the sensor node, add the relay information frame to the original frame type of the relay-level query information frame directly transmitted by the sensor node, and add a forwarding information field before the initial MAC layer load in the relay-level query information frame; wherein the forwarding information field is used to record the initial frame type of the relay-level query information frame, as well as the number of relay forwarding times, and the number of relay forwarding times is increased by 1 each time it is forwarded.

[0088] In this embodiment, if the frame type of the relay-level query information frame is not a relay information frame, it is the original MAC frame directly forwarded from the sensor node inside the JP cabinet or the sensor node outside the JP cabinet to the main relay node. At this time, it is determined that there is no slave relay node, and the relay information frame is added to the original frame type of the relay-level query information frame, and the forwarding information field is added before the initial MAC layer load in the relay-level query information frame; wherein, the forwarding information field includes the subframe type and the actual cumulative number of forwardings through the relay; the forwarding information field is used to record the initial frame type of the relay-level query information frame, as well as the number of relay forwardings, and the number of relay forwardings is cumulatively increased by 1 each time the frame is forwarded.

[0089] It can be understood that when a data packet reaches the relay node for the first time, the relay node needs to forward the data packet. When forwarding, the relay node first modifies the frame type in the MAC header in the original MAC frame structure corresponding to the data packet to a relay information frame, and then adds a byte before the initial MAC layer payload content, represented as the subframe type (4 bits) + relay count (4 bits) as the forwarding information field to record the initial frame type of this frame and the number of times it has been relayed. The relay count increases by 1 each time it is forwarded.

[0090] S440. Determine that there is at least one slave relay node, the relay information frame is a relay level query information frame transmitted from at least one of the slave relay nodes, the subframe type in the forwarding information field of the relay level query information frame transmitted from at least one slave relay node is not changed, and the number of relay forwarding times is increased by 1.

[0091] In this embodiment, if the frame type of the relay level query information frame is a relay information frame, it is determined that it is not the original MAC frame directly forwarded by the sensor node inside the JP cabinet or the sensor node outside the JP cabinet to the main relay node, but a relay level query information frame forwarded from the slave relay node. At this time, it is determined that there is at least one slave relay node, and the subframe type in the forwarding information field in the relay level query information frame transmitted by the slave relay node is not changed, and the number of relay forwarding times is increased by 1. In this embodiment, for the relay node, the relay node will perform frame type judgment on each received MAC frame transmitted by other relay nodes. It may also be directly received by the sensor node, so it may be a relay information frame or it may be original. If the MAC frame received by the relay is itself a relay information frame through frame type judgment, the subframe type of the frame payload part will not be changed, that is, the subframe type can only be one of the six types of service channel information frame before frame type extension, control channel request frame, control channel response frame, control channel response end frame, burst data frame, and control channel confirmation frame. The function is to retain the initial MAC frame type for subsequent frame parsing and processing.

[0092] In one embodiment, after receiving the sampled data forwarded by the sensor node according to the forwarding information field containing the optimal relay forwarding number, compare whether the actual cumulative forwarding number currently passed through the relay forwarding in the forwarding information field is greater than or equal to the optimal relay forwarding number; if so, discard the sampled data and do not continue forwarding; if not, add 1 to the actual cumulative forwarding number currently passed through the relay forwarding in the forwarding information field and continue forwarding.

[0093] In this embodiment, multiple relay nodes may receive the data frame containing the maximum number of relay times sent by the sensor node, which may not be forwarded through relay or may be forwarded through relay N times. The relay node will judge whether the "number of relay times" in the "forwarding information field" of the received data frame exceeds the maximum number of relay times previously obtained by the sensor from the aggregation. If it exceeds, the data frame will not be forwarded and discarded. If it does not exceed the maximum number of relays, the relay broadcast will continue. After the relay node receives the relay information frame with a "relay number" of 0 sent by the sensor, it compares whether the "relay number" in this frame is ≥ "maximum relay number". Otherwise, it will forward the frame with the "relay number" + 1 and other contents unchanged. If it does, the frame will be discarded and not forwarded. In this embodiment, by controlling the broadcast mode of the maximum relay times, the sampling data of the sensor node will reach the aggregation node through multiple paths, and the aggregation node will process the forwarded frame that arrives first. This method has strong wireless transmission path fault tolerance in actual engineering applications. As long as the path does not exceed the maximum relay forwarding times, it can lead to the aggregation node, instead of specifying that it must be forwarded by a certain relay node, which is easy to cause sensor data packet loss due to weak signal.

[0094] In one embodiment, the method further includes: receiving a relay-level query response frame sent by a sink node; wherein the relay-level query response frame is a response frame directly transmitted by the sink node to the sensor node, and forwarding the relay-level query response frame to the sensor node. In this embodiment, after receiving the relay-level query response frame sent by the sink node, the master relay node forwards it to the sensor node through multiple paths, wherein the multiple paths may include: the master relay node forwards it to at least one slave relay node to reach the sensor node, or the master relay node directly forwards it to the sensor node, and this embodiment does not limit this.

[0095] In one embodiment, the method further includes:

[0096] Regularly check the connection status with the aggregation node and use indicator lights to indicate whether it is in normal working condition;

[0097] The checking method includes: monitoring whether a relay-level query response frame transmitted by the aggregation node is received, or monitoring whether a relay-level query information frame transmitted by the sensor node is received; if any data frame in the relay-level query response frame or the relay-level query information frame is received, then continue to determine whether it is a duplicate data frame, if it is a duplicate data frame, then discard it and no longer forward it; if it is not a duplicate data frame, then perform relay forwarding mode, and the working indicator light is green;

[0098] If any data frame in the relay level query response frame or the relay level query information frame is not received, the connection check timer is checked to see if it has timed out. In the case of timeout, an abnormal mode is displayed and the working indicator light is red.

[0099] In this embodiment, the relay node can only have the meaning of a forwarding node if it maintains normal communication with the aggregation node. Therefore, after powering on, it is necessary to first confirm whether it can communicate with the aggregation node, and also to regularly check the connection with the aggregation node in the working mode, and use the indicator light to prompt the user whether the relay node is in normal working state. To better understand the startup process of the relay node, Figure 5 A flowchart of starting a relay node provided by an embodiment of the present invention.

[0100] In the above technical scheme in this embodiment, the relay forwarding node can be regarded as a transparent node in the network structure. It does not participate in the actual business, and does not need to carry its own ID or address in the forwarded data packet. After forwarding by the relay forwarding node, the MAC frame structure and field definition are expanded, the frame type of the MAC header adds the relay information frame type, and the MAC load adds the relay information field for frame processing and relay number judgment. It supports the relay function protocol and is fully compatible with the existing protocol, and will not affect the normal communication of the sensor nodes that follow the existing protocol.

[0101] In one embodiment, Figure 5 A flowchart of another method for enhancing communication signals of a body area network device provided by an embodiment of the present invention. This embodiment is applicable to the case where communication signals between body area network devices are enhanced. The method can be executed by a communication signal enhancement system of the body area network device.

[0102] The communication signal enhancement method of the body area network device in this embodiment is applied to a slave relay node; wherein the slave relay node is deployed outside the JP cabinet;

[0103] like Figure 5 As shown, the communication signal enhancement method comprises the following specific steps:

[0104] S510, receiving a transmitted relay level query information frame, wherein the relay level query information frame includes: a relay level query information frame transmitted by a sensor node outside the JP cabinet, or at least one other relay level query frame transmitted from a relay node to a sink node.

[0105] S520, determine whether it is a relay information frame, if so, execute S530; if not, execute S540.

[0106] S530, determine the relay level query information frame in the form of original MAC frame directly transmitted by the sensor node outside the JP cabinet, add the relay information frame to the original frame type of the relay level query information frame, add the forwarding information field before the initial MAC layer load in the relay level query information frame, and forward it to the main relay node.

[0107] S540: The subframe type in the forwarding information field transmitted by at least one other slave relay node is not changed, the number of relay forwarding times is increased by 1, and the message is forwarded to the master relay node.

[0108] In this embodiment, a relay-level query information frame transmitted by a sensor node outside the JP cabinet is received from a relay node, and it is determined whether the frame type of the relay-level query information frame is a relay information frame. If it is not a relay information frame, it is determined that the sensor node directly transmits a relay-level query information frame in the form of an original MAC frame, and a relay information frame is added to the original frame type of the relay-level query information frame. A forwarding information field is added before the initial MAC layer load in the relay-level query information frame, and the frame is forwarded to the main relay node. If the frame is a relay information frame, the subframe type in the forwarding information field transmitted by the slave relay node is not changed, the number of relay forwarding times is increased by 1, and the frame is forwarded to the main relay node.

[0109] In this embodiment, after receiving the sampled data forwarded by the sensor node according to the forwarding information field containing the optimal relay forwarding number, the relay node compares whether the current accumulated relay forwarding number in the forwarding information field is greater than or equal to the optimal relay forwarding number; if so, the sampled data is discarded and forwarding is not continued; if not, the current accumulated relay forwarding number is added by 1 and forwarding is continued.

[0110] For example, to better understand the forwarding of relay nodes in different scenarios, Figure 6 A schematic diagram of data broadcast flooding relay forwarding in a low-frequency data interaction scenario provided by an embodiment of the present invention, such as Figure 6 As shown in the figure, since most of the terminal sensors in the body area network are in a low-power sleep state during operation, and the frequency of data interaction with the aggregation node is also low, the data packet transmission in the network is not crowded in the conventional use scenario. Based on this network characteristic, the relay forwarding method can adopt the data broadcast flooding method, that is, every time the sensor terminal or aggregation node has data to send, as long as the relay forwarding node receives the data packet, it will transparently forward it without routing judgment and data packet filtering, and only discard the same duplicate data packets that have been forwarded, to prevent data storms caused by unlimited multiple forwarding.

[0111] The process of sensor node S sending data to the aggregation node: 1) Sensor S sends data packet P, and relays A and B both receive P and broadcast forwarding, and cache P. 2) Relays A and B receive data packet P forwarded by each other respectively, and if they find that it is repeated with P in the forwarded cache, they will discard it and no longer forward it. 3) The aggregation node receives data packet P forwarded by relays A and B respectively, and only processes the P received first, and discards it if it is repeated. 4) All P received by the sensor are discarded. In this embodiment, each relay node will have a cache. For example, if the data frames received continuously within one minute are the same, the duplicate ones will be discarded. It can be understood that the data sent by the sensor is the same. The data sent directly by the sensor or through other paths will be compared with the earliest received data packet, and if they are the same, they will be discarded.

[0112] Based on this mechanism, the relay forwarding node can be regarded as a transparent node in the network structure. It does not participate in the actual business, and does not need to carry its own ID or address in the forwarded data packet. After forwarding by the relay forwarding node, the aggregation node and the terminal sensor may receive multiple duplicate data packets. The receiving node adopts the first-come-first-served processing logic for the same data packet, and the duplicates within the buffer timeout period are discarded.

[0113] Figure 7A schematic diagram of controlling flood forwarding by optimizing the MAC layer protocol forwarding mechanism in a multi-relay node forwarding scenario provided by an embodiment of the present invention. When there are a large number of relay nodes, the main problem faced is the broadcast storm problem. The current flood forwarding mechanism generates a copy of each data packet to be forwarded as long as it passes through a relay node. When there are too many relay nodes, a large number of data packet copies will cause a huge waste of bandwidth and network performance degradation, and even cause network paralysis. Therefore, further limiting the number of times a data packet is copied and forwarded is the main problem to be solved by the current relay network.

[0114] The main steps include: 1. After the sensor starts running, it sends a relay-level query frame to the aggregation in the initial MAC frame format. This relay-level query frame will reach the aggregation through different paths:

[0115] a1. The query frame sent directly from the sensor to the aggregation conforms to the original MAC frame format - frame type == "control channel request frame", "control message type" in the MAC layer payload == 100.

[0116] a2. The MAC frame forwarded by the relay node conforms to the extended MAC frame format: "Frame Type" in the MAC header == "Relay Information Frame", "Subframe Type" in the forwarding information field == "Control Channel Request Frame", "Number of Relay Times" == the actual number of relays forwarded, and "Optimal Number of Relay Times" == the default value (999).

[0117] a3. The aggregation saves the original frame content of a relay-level query frame received for the first time (i.e., the sensor initial frame that does not contain relay information) and the first receiving time t1, and compares other forwarded frames containing the same relay-level query frame received subsequently within the timeout period (e.g., 1 minute) (which may be forwarded via a relay node or directly from the sensor to the aggregation). After the minimum number of relays is obtained, the relay-level query response frame is sent down and reaches the sensor node through multiple paths.

[0118] 2. The sensor that receives the relay-level query response frame enters the real-time data collection and transmission state.

[0119] b1. After the sensor collects data, it sends the sampled data according to the extended MAC frame format: frame type == "relay information frame", "subframe type" in the forwarding information field == "service channel information frame", "relay times" == 0, "optimal relay times" == "relay level returned by aggregation".

[0120] b2. After the relay node receives the relay information frame with a "relay count" of 0 sent by the sensor, it compares whether the "relay count" in this frame is ≥ the "optimal relay count". If not, it forwards the frame with the "relay count" + 1 and other contents unchanged. If yes, it discards the frame and does not forward it.

[0121] In this way, the sensor sampling data can reach the aggregation through multiple paths while controlling the number of forwarding times, thus ensuring the aggregation reception success rate while preventing broadcast flooding.

[0122] In one embodiment, Figure 8 A flowchart of another method for enhancing communication signals of a body area network device provided by an embodiment of the present invention. This embodiment is applicable to the case where communication signals between body area network devices are enhanced. The method can be executed by a communication signal enhancement system of the body area network device.

[0123] The communication signal enhancement method of the body area network device in this embodiment is applied to the aggregation node; the aggregation node is deployed inside the JP cabinet; the aggregation node is connected to the main relay node through an antenna;

[0124] like Figure 8 As shown, the communication signal enhancement method comprises the following specific steps:

[0125] S810. Receive relay level query information frames in sequence within a preset receiving time; wherein the relay level query information frames include: a first relay level query frame directly sent by a sensor node, or a second relay level query frame transmitted via a main relay node.

[0126] S820, respectively mark the first relay level query frame and / or the second relay level query frame with a timestamp, and parse the first relay level query frame and / or the second relay level query frame to obtain a relay level query response frame including an optimal relay forwarding number and return it to the sensor node.

[0127] In this embodiment, the aggregation node receives the same relay-level query frame arriving via different paths for multiple times, and first parses all received MAC frames according to whether the frame type is a relay information frame to complete the initial MAC frame cache and set the cache timeout (cache timeout < control request frame waiting reply period / 2), and at the same time marks the number of times the frame is relayed - non-relay information frames are directly cached as initial MAC frames, and the number of times this frame is relayed is marked as 0; relay information frames restore the initial MAC frame content from the extended protocol for cache, and read the relay number in the forwarding information field to mark the relay number of this frame; (the aggregation uses only the minimum number of relays as the basis for judgment within the specified response time window and replies to the sensor node).

[0128] It should be noted that the latest received and processed initial MAC frame is compared with the same MAC frame in the cache in terms of the number of relays, and only the initial MAC frame with fewer relays and its relay number information are retained. Even if the other MAC frame has not reached the cache timeout, it is deleted from the cache. Thus, only the initial MAC frame and its corresponding minimum relay number from the sensor node to the aggregation node are saved in the cache. When the cache timeout of this record is reached, the aggregation node is triggered to send a control request response frame, and the control request response frame containing the minimum relay number information from this sensor node to the aggregation node is returned to the sensor node. By setting the timeout, it can be ensured that the recording is performed faster when the number of relays is small.

[0129] In one embodiment, the parsing of the first relay level query frame and / or the second relay level query frame includes:

[0130] Determining whether the frame type included in the first relay level query frame and / or the second relay level query frame is a relay information frame;

[0131] If it is not a relay information frame, it is a first relay level query frame in the original MAC frame format directly sent by the sensor node, completing the initial MAC frame cache, and marking the number of relay forwarding times of the first relay level query frame as 0;

[0132] If it is a relay information frame, it is at least two second relay level query frames in the extended MAC frame format that pass through the main relay node, or at least one slave relay node and the main relay node, and the subframe type of the forwarding information field in each of the second relay level query frames and the initial MAC layer load content are judged. If the subframe type and the initial MAC layer load content are consistent, the initial MAC layer load content is restored and cached, and the actual cumulative number of forwarding forwardings through the relay in each of the forwarding information fields is read and marked;

[0133] From the actual cumulative forwarding times of each relay forwarding, the initial MAC frame with the least number of relay forwarding times is selected as the optimal number of relay forwarding times, and the subframe type and the optimal number of relay forwarding times are combined into a forwarding information field. After the preset receiving time expires, the aggregation node is triggered to send a relay level query response frame with the forwarding information field to the sensor node.

[0134] In this embodiment, it is determined whether the frame type contained in the first relay level query frame and / or the second relay level query frame is a relay information frame; if it is not a relay information frame, it is a first relay level query frame in the original MAC frame format directly sent by the sensor node, the initial MAC frame cache is completed, and the relay forwarding times of the first relay level query frame are marked as 0; if it is a relay information frame, it is at least two second relay level query frames in the extended MAC frame format that pass through at least one relay node, and it is determined whether the subframe type of the forwarding information field in each of the second relay level query frames and the initial MAC layer load content are consistent, and when the subframe type and the initial MAC layer load content are consistent, the initial MAC frame content is restored and cached, and the relay forwarding times in each of the forwarding information fields are read and marked; the initial MAC frame with the least relay forwarding times is selected from each of the relay forwarding times as the optimal relay forwarding times, and the subframe type and the optimal relay forwarding times form a forwarding information field, and after the preset receiving time expires, the aggregation node is triggered to send a relay level query response frame with the forwarding information field to the sensor node. It can be understood that after reaching convergence, the true type is the original information frame of the sensor or the relay information frame. If it is the original, the relay level returned is 0. If it is a relay frame, continue to look at the subframe type in the forwarding information field after the MAC frame header, compare the subframe type and the MAC layer load, and if the subframe type and the MAC layer load are the same, then look at the number of relays, compare, and select the one with the least number of relays to return.

[0135] Exemplarily, in order to better understand the processing flow of the relay node within the preset time, Fig. 9 A schematic diagram of a processing flow of a relay node within a preset time is provided in accordance with an embodiment of the present invention.

[0136] In one embodiment, Fig.10 This is a structural block diagram of a communication signal enhancement system for body area network devices provided by an embodiment of the present invention. The system is suitable for situations where communication signals between body area network devices are enhanced.

[0137] like Fig.10 As shown, the system includes: a sensor node 1010, a slave relay node 1020, a master relay node 1030, and a convergence node 1040; the sensor node 1010 is deployed inside and outside the JP cabinet;

[0138] The master relay node 1030 and the aggregation node 1040 are in the JP cabinet, and the antenna is led out of the JP cabinet so that the master relay node 1030 is connected to at least one slave relay node 1020;

[0139] Wherein, the sensor node 1010 is used to execute any of the communication signal enhancement methods of a body area network device applied to a sensor node according to an embodiment of the present invention;

[0140] The master relay node 1030 is used to execute the communication signal enhancement method of the body area network device as applied to any master relay node in the embodiments of the present invention;

[0141] The slave relay node 1020 is used to execute the communication signal enhancement method of the body area network device as applied to the slave relay node according to the embodiment of the present invention;

[0142] The aggregation node 1040 is used to execute the communication signal enhancement method of the body area network device applied to any aggregation node as described in the embodiments of the present invention.

[0143] In one embodiment, the slave relay node 1020 includes a first body area network module, and the master relay node 1030 includes a second body area network module and a third body area network module; the second body area network module and the third body area network module form a master relay node 1030 through a serial port connection; the master relay node 1030 has a built-in antenna and communicates with the aggregation node 1040; the slave relay node 1020 has no built-in antenna, and is wired to the master relay node 1020 via an SMA interface suction cup antenna placed outside the JP cabinet.

[0144] In one embodiment, the main relay node is externally connected to an AC power supply, and after isolation and voltage reduction by a transformer, a DC voltage is converted by rectification and filtering and a DC-DC converter to output a DC voltage to power the first body area network module, the second body area network module, the third body area network module and the indicator light;

[0145] The master relay node is directly connected to the slave relay node through a serial port. The master relay node has an independent watchdog outside. The master relay node can power off and reset the slave repeater through GPIO; the communication indicator lights are all controlled by the GPIO of the first body area network module, the second body area network module and the third body area network module through software.

[0146] The communication signal enhancement system of the body area network device provided in the embodiment of the present invention can execute the communication signal enhancement method of the body area network device provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0147] In one embodiment, Fig.11 A structural block diagram of a communication signal enhancement system for a body area network device provided by an embodiment of the present invention. Fig.11The blue dots in the figure represent sensor nodes, the repeaters outside the JP cabinet are the slave relay nodes in the above embodiment, and the master repeaters outside the JP cabinet are the master relay nodes in the above embodiment. Fig.12 A hardware architecture diagram of a body area network master relay node provided in an embodiment of the present invention. Fig.13 A software functional block diagram of a body area network master relay node provided by an embodiment of the present invention. Fig.11 As shown, the master relay node is deployed inside the JP cabinet, and the master-slave structure is formed by two body area network modules of A2 and A3. The A2 module is the master device and the A3 module is the slave device. The A3 body area network module includes the second body area network module and the third body area network module in the above embodiment. The A3 module contains a built-in antenna, which is responsible for short-distance wireless communication with the aggregation side gateway and forwarding the monitoring information outside the JP cabinet to the gateway aggregation node. The A2 body area network module is the first body area network module in the above embodiment. The A2 module has no built-in antenna and is wired to the SMA interface suction cup antenna placed outside the JP cabinet, which is responsible for wireless communication with the body area network terminal sensor outside the JP cabinet. Multiple slave repeaters are flexibly deployed outside the JP cabinet according to the distribution position of the terminal sensors. One slave repeater covers as many terminal sensor transmission paths as possible. The slave repeater wireless communication module is composed of an A3 body area network module, which is responsible for data relay and forwarding.

[0148] like Fig.12 As shown in the figure, the main relay node of the body area network is connected to an external 220V AC power supply. After the transformer isolation and voltage reduction, it outputs a 3.3V DC voltage through rectification, filtering and DCDC conversion to power the modules and indicator lights in the system. The A2 module is directly connected to the A3 module through the serial port. The A2 module is the master device and the A3 module is the slave device. The A2 module has an independent watchdog outside. The A2 module can reset the A3 module through GPIO. The communication indicator lights are all controlled by the module's GPIO through software.

[0149] like Fig.13 As shown, Fig.13 The main module software is the second body area network module in the master relay node, and the slave module software is the third body area network module in the master relay node. According to the functional requirements of the body area network master relay node and its hardware architecture, the master relay node software needs to realize data relay forwarding, relay cache anti-retransmission, master-slave module anti-self-collision, peripheral management, relay file management, and relay operation and maintenance upgrade functions.

[0150] In one embodiment, Fig.14A schematic diagram of the structure of an electronic device provided for an embodiment of the present invention. The electronic device 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0151] like Fig.14 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0152] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0153] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a communication signal enhancement method for a body area network device.

[0154] In some embodiments, the communication signal enhancement method of the body area network device can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the communication signal enhancement method of the body area network device described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the communication signal enhancement method of the body area network device in any other appropriate manner (for example, by means of firmware).

[0155] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0156] The computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable body area network device's communication signal enhancement device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0157] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0158] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0159] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0160] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0161] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0162] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for enhancing communication signals of a body area network device, characterized in that: Applied to sensor nodes, the sensor nodes are deployed inside and outside the JP cabinet of the distribution transformer integrated distribution cabinet; The communication signal enhancement method comprises: Sending a relay-level query information frame to the sink node; wherein the relay-level query information frame includes: a first relay-level query information frame and / or a second relay-level query information frame, wherein the first relay-level query information frame is a relay-level query information frame directly sent by the sensor node to the sink node; the second relay-level query information frame is a relay-level query information frame sent by the sensor node to the sink node via a master relay node, and a relay-level query information frame sent by the sensor node to the sink node via at least one slave relay node and a master relay node; the first relay-level query information frame and the second relay-level query information frame are the same relay-level query information frame that reaches the sink node via different paths; receiving a relay level query response frame returned by the aggregation node via at least one path, and determining a forwarding information field including an optimal relay forwarding number based on the relay level query response frame; A data frame to be forwarded is obtained, and the forwarding information field containing the optimal relay forwarding number is set as the optimal hop number when forwarding the data frame, so as to forward the data frame.

2. The method according to claim 1, characterized in that The first relay level query information frame includes a MAC header, an initial MAC layer payload and an integrity check; a relay level query of a sensor node is added to the control message type included in the initial MAC layer payload; A relay information frame is added to the frame type in the MAC header of the second relay level query information frame, and a forwarding information field is added between the MAC header and the initial MAC layer load in the second relay level query information frame; the forwarding information field includes the subframe type, the actual cumulative number of forwardings after relay forwarding, and the optimal relay forwarding number; the initial setting of the optimal relay forwarding number is a default value.

3. The method according to claim 1, characterized in that The format of the relay level query information frame includes: sensor node ID, number of parameters, fragmentation indication, first message type, first message content and check bit; wherein, the first message content includes: relay level query and parameter configuration type identification; The format of the relay-level query response frame includes: sensor node ID, number of parameters, fragmentation indication, second message type, second message content and check bit; wherein the second message content includes: relay-level query response, parameter configuration type identifier and the best relay forwarding number returned by the aggregation node.

4. The method according to claim 1, characterized in that: The determining of the forwarding information field including the optimal relay forwarding times based on the relay level query response frame comprises: Parsing the relay level query response frame to obtain a forwarding information field; Among them, the forwarding information field includes one of the following: a first forwarding information field that is not forwarded by a relay node; or a second forwarding information field that is forwarded by at least one relay node; both the first forwarding information field and the second forwarding information field include: subframe type, actual cumulative forwarding times after relay forwarding, and the best relay forwarding times returned by the aggregation node.

5. The method according to claim 1, characterized in that The at least one path includes at least one of the following: the sink node directly transmits to the sensor node, the sink node transmits via the master relay node, or the master relay node and at least one slave relay node transmit to the sensor node.

6. A method for enhancing communication signals of a body area network device, characterized in that: Applied to a master relay node; wherein the master relay node is deployed inside a JP cabinet; the master relay node is connected to a slave relay node via an antenna; the slave relay node is deployed outside the JP cabinet; The communication signal enhancement method comprises: Receiving a relay level query information frame transmitted by a sensor node; wherein the relay level query information frame comprises: a relay level query frame transmitted by a sensor node to a sink node, or a relay level query frame transmitted by a sensor node to the sink node via at least one relay node; Determining whether the frame type of the relay level query information frame is a relay information frame; If it is not a relay information frame, it is determined to be a relay level query information frame directly transmitted by the sensor node, a relay information frame is added to the original frame type of the relay level query information frame directly transmitted by the sensor node, and a forwarding information field is added before the initial MAC layer load in the relay level query information frame; wherein the forwarding information field is used to record the initial frame type of the relay level query information frame and the number of relay forwardings, and the number of relay forwardings is cumulatively increased by 1 each time it is forwarded; If it is a relay information frame, it is determined that there is at least one slave relay node, and the relay information frame is a relay level query information frame transmitted from at least one slave relay node. The subframe type in the forwarding information field of the relay level query information frame transmitted from at least one slave relay node is not changed, and the number of relay forwarding times is increased by 1.

7. The method according to claim 6, characterized in that The method further comprises: Receiving a relay-level query response frame sent by a sink node; wherein the relay-level query response frame is a response frame directly transmitted by the sink node to the sensor node; The relay level query response frame is forwarded to the sensor node.

8. The method according to claim 6, characterized in that After receiving the sampled data forwarded by the sensor node according to the forwarding information field containing the optimal relay forwarding number, comparing whether the actual cumulative forwarding number currently forwarded by the relay in the forwarding information field is greater than or equal to the optimal relay forwarding number; If yes, the sampled data is discarded and not forwarded further; If not, then the actual cumulative number of forwarding times currently forwarded by the relay in the forwarding information field is incremented by 1, and the forwarding is continued.

9. The method according to any one of claims 6 or 7, characterized in that: The method further comprises: Regularly check the connection status with the aggregation node and use indicator lights to indicate whether it is in normal working condition; The checking method includes: monitoring whether a relay-level query response frame transmitted by the aggregation node is received, or monitoring whether a relay-level query information frame transmitted by the sensor node is received; if any data frame in the relay-level query response frame or the relay-level query information frame is received, then continue to determine whether it is a duplicate data frame, if it is a duplicate data frame, then discard it and no longer forward it; if it is not a duplicate data frame, then perform relay forwarding mode, and the working indicator light is green; If any data frame in the relay level query response frame or the relay level query information frame is not received, the connection check timer is checked to see if it has timed out. In the case of timeout, an abnormal mode is displayed and the working indicator light is red.

10. A method for enhancing communication signals of a body area network device, characterized in that: Applied to slave relay nodes; The communication signal enhancement method comprises: Receiving the transmitted relay level query information frame, wherein the relay level query information frame includes: a relay level query information frame transmitted by a sensor node outside the JP cabinet, or at least one other relay level query frame transmitted from a relay node to a sink node; Determine whether it is a relay information frame; If it is not a relay information frame, it is determined to be a relay level query information frame in the form of an original MAC frame directly transmitted by a sensor node outside the JP cabinet, a relay information frame is added to the original frame type of the relay level query information frame, and a forwarding information field is added before the initial MAC layer payload in the relay level query information frame, and the frame is forwarded to the main relay node; If it is a relay information frame, the subframe type in the forwarding information field transmitted by the slave relay node is not changed, the number of relay forwarding times is increased by 1, and the frame is forwarded to the master relay node.

11. A method for enhancing communication signals of a body area network device, characterized in that: Applied to a convergence node; the convergence node is deployed inside a JP cabinet; The aggregation node is connected to the main relay node via an antenna; The communication signal enhancement method comprises: Relay-level query information frames are received in sequence within a preset receiving time; wherein the relay-level query information frames include: a first relay-level query frame directly sent by the sensor node, or a second relay-level query frame transmitted via the master relay node; wherein the second relay-level query frame includes: a relay-level query frame transmitted via the master relay node, and a relay-level query frame transmitted via at least one slave relay node and the master relay node; The first relay level query frame and / or the second relay level query frame are respectively timestamped, and the first relay level query frame and / or the second relay level query frame are parsed to obtain a relay level query response frame containing an optimal relay forwarding number and return it to the sensor node.

12. The method according to claim 11, characterized in that The parsing of the first relay level query frame and / or the second relay level query frame includes: Determining whether the frame type included in the first relay level query frame and / or the second relay level query frame is a relay information frame; If it is not a relay information frame, it is a first relay level query frame in the original MAC frame format directly sent by the sensor node, completing the initial MAC frame cache, and marking the number of relay forwarding times of the first relay level query frame as 0; If it is a relay information frame, it is at least two second relay level query frames in the extended MAC frame format that pass through the main relay node, or at least one slave relay node and the main relay node, determine whether the subframe type of the forwarding information field in each of the second relay level query frames, and whether the initial MAC layer load content is consistent, and when the subframe type and the initial MAC layer load content are consistent, restore the initial MAC layer load content and cache it, read the actual cumulative number of forwarding forwardings through the relay in each of the forwarding information fields and mark it; From the actual cumulative forwarding times of each relay forwarding, the initial MAC frame with the least number of relay forwarding times is selected as the optimal number of relay forwarding times, and the subframe type and the optimal number of relay forwarding times are combined into a forwarding information field. After the preset receiving time expires, the aggregation node is triggered to send a relay level query response frame with the forwarding information field to the sensor node.

13. A communication signal enhancement system for a body area network device, characterized in that: include: Sensor nodes, slave relay nodes, master relay nodes and aggregation nodes; the master relay nodes and aggregation nodes are in the JP cabinet, and antennas are led out of the JP cabinet; Wherein, the sensor node is used to execute the communication signal enhancement method of the body area network device according to any one of claims 1 to 5; The master relay node is used to execute the communication signal enhancement method of the body area network device according to any one of claims 6 to 9; The slave relay node is used to execute the communication signal enhancement method of the body area network device according to claim 10; The aggregation node is used to execute the communication signal enhancement method of the body area network device as described in any one of claims 11-12.

14. The system according to claim 13, characterized in that The slave relay node includes a first body area network module, and the master relay node includes a second body area network module and a third body area network module; the second body area network module and the third body area network module form a master relay node through a serial port connection; the master relay node has a built-in antenna and communicates with the aggregation node; the slave relay node has no built-in antenna and is wired to the master relay node via an SMA interface suction cup antenna placed outside the JP cabinet.

15. The system according to claim 14, characterized in that The main relay node is externally connected to an AC power supply, which is isolated and stepped down by a transformer, and then converted into an output DC voltage through rectification and filtering and a DC-DC converter to supply power to the first body area network module, the second body area network module, the third body area network module and the indicator light; The master relay node is directly connected to the slave relay node through a serial port. The master relay node has an independent watchdog outside. The master relay node can power off and reset the slave repeater through GPIO; the communication indicator lights are all controlled by the GPIO of the first body area network module, the second body area network module and the third body area network module through software.

16. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the step of enhancing the communication signal of the body area network device described in any one of claims 1 to 5, or the processor implements the steps of the communication signal enhancement method of the body area network device described in claims 6 to 9 when executing the computer program, or the processor implements the steps of the communication signal enhancement method of the body area network device described in claim 10 when executing the computer program, or the processor implements the steps of the communication signal enhancement method of the body area network device described in claims 11 to 12 when executing the computer program.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the processor to implement the steps of enhancing the communication signal of the body area network device described in any one of claims 1-5 when executed, or the computer instructions are used to enable the processor to implement the steps of enhancing the communication signal of the body area network device described in any one of claims 6-9 when executed, or the computer instructions are used to enable the processor to implement the steps of enhancing the communication signal of the body area network device described in claim 10 when executed, or the computer instructions are used to enable the processor to implement the steps of enhancing the communication signal of the body area network device described in claims 11-12 when executed.

18. A computer program product, characterized in that The computer program product includes a computer program, which, when executed by a processor, implements the steps of enhancing the communication signal of the body area network device according to any one of claims 1 to 5, or the processor implements the steps of the method for enhancing the communication signal of the body area network device according to claims 6 to 9 when executing the computer program, or the processor implements the steps of the method for enhancing the signal of the body area network device according to claim 10 when executing the computer program, or the processor implements the steps of the method for enhancing the communication signal of the body area network device according to claims 11 to 12 when executing the computer program.