CN112104528A - Communication method, system, device and storage medium for detecting heartbeat - Google Patents

Communication method, system, device and storage medium for detecting heartbeat Download PDF

Info

Publication number
CN112104528A
CN112104528A CN202011297867.XA CN202011297867A CN112104528A CN 112104528 A CN112104528 A CN 112104528A CN 202011297867 A CN202011297867 A CN 202011297867A CN 112104528 A CN112104528 A CN 112104528A
Authority
CN
China
Prior art keywords
node
local
heartbeat
beacon frame
detection information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011297867.XA
Other languages
Chinese (zh)
Other versions
CN112104528B (en
Inventor
牛桂新
赵东艳
王于波
唐晓柯
赵旭
胡建武
李德建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Original Assignee
State Grid Information and Telecommunication Co Ltd
Beijing Smartchip Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Information and Telecommunication Co Ltd, Beijing Smartchip Microelectronics Technology Co Ltd filed Critical State Grid Information and Telecommunication Co Ltd
Priority to CN202011297867.XA priority Critical patent/CN112104528B/en
Publication of CN112104528A publication Critical patent/CN112104528A/en
Application granted granted Critical
Publication of CN112104528B publication Critical patent/CN112104528B/en
Priority to PCT/CN2021/128567 priority patent/WO2022105612A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • H04L45/502Frame based

Abstract

The invention provides a communication method, a system, equipment and a storage medium for detecting heartbeat, and belongs to the technical field of communication. The method comprises the following steps: determining that a beacon frame sent by a neighbor node in a communication network is received in a timing period, wherein the beacon frame sent by the neighbor node has increased bits, the bits correspond to device identifications of the nodes in the communication network, and the values of the bits include heartbeat detection information corresponding to the device identifications of the nodes recorded by the neighbor node in the communication network; updating a network state identifier corresponding to the equipment identifier of the neighbor node in a local neighbor list into an active online identifier; and generating local heartbeat detection information through the local neighbor list, and executing the sending of the local heartbeat detection information. The invention can be used for heartbeat sending and detection of a wireless broadband power communication system.

Description

Communication method, system, device and storage medium for detecting heartbeat
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method for detecting heartbeat, a communication system for detecting heartbeat, an electronic device, and a computer-readable storage medium.
Background
In a wireless broadband power communication system, a Central node (CCO, also referred to as a Central Coordinator (cmo)) needs to timely sense an on-network status of a sub-node in a communication network so as to facilitate network management, where the nodes or the sub-nodes in the communication network may be divided into a Proxy node, a Proxy site, a Proxy Coordinator (PCO), and a general node or a site station (sta). Heartbeat detection is a mechanism for detecting whether a station is offline, and generally, whether an opposite side is connected can be detected by sending heartbeat data at certain intervals. For heartbeat detection of a low-voltage power line broadband carrier communication system, conventionally, in a networking process, each station can sense own neighbor stations according to received discovery beacons and record the neighbor stations to form a discovery list. And each discovery site sends a discovery list message in a timing period, and the discovery list message is used for the proxy site to judge whether the discovery site is actively online or not. The proxy site sends the site activity information in the locally maintained discovery list to the CCO through a heartbeat detection message with a fixed period so that the CCO can collect the information whether the whole network site is on line or not. In the sending process of the heartbeat detection message, the low-level proxy station triggers the heartbeat detection message of the high-level proxy station to generate a new heartbeat detection message, and finally the CCO can collect the whole network station. However, both the list message and the heartbeat detection message are found to be periodic, and related network maintenance messages are more, occupy more CSMA (Carrier Sense Multiple Access) time slots, and have a greater influence on services such as meter reading.
Disclosure of Invention
The invention aims to provide a communication method, a system, equipment and a storage medium for detecting heartbeat, which avoid CSMA time slot occupation and difficult communication service caused by excessive network maintenance messages, and further improve the efficiency of heartbeat detection of each node and the resource utilization rate of a communication system.
In order to achieve the above object, an embodiment of the present invention provides a communication method for detecting a heartbeat, where the communication method for detecting a heartbeat includes:
determining that a beacon frame sent by a neighbor node in a communication network is received in a timing period, wherein the beacon frame sent by the neighbor node has increased bits, the bits correspond to device identifications of the nodes in the communication network, and the values of the bits include heartbeat detection information corresponding to the device identifications of the nodes recorded by the neighbor node in the communication network;
updating a network state identifier corresponding to the equipment identifier of the neighbor node in a local neighbor list into an active online identifier;
and generating local heartbeat detection information through the local neighbor list, and executing the sending of the local heartbeat detection information.
Specifically, the communication method for detecting heartbeat further includes:
determining that a frame start frame sent by the neighbor node in the communication network is received in the timing period;
and updating the network state identifier corresponding to the equipment identifier of the neighbor node in the local neighbor list as an active online identifier.
Specifically, the determination receives a beacon frame sent by a neighbor node in the communication network within a timing period, wherein,
the increased bit positions comprise N bit positions, the ith bit position specifically corresponds to the ith equipment identifier distributed by the central node in the communication network, N is a positive integer, and i is a positive integer and is less than or equal to N.
Specifically, the determination receives a beacon frame sent by a neighbor node in the communication network within a timing period, wherein,
the heartbeat detection information is heartbeat bitmap information, and the bit positions occupied by the heartbeat bitmap information are equal to or approximately equal to the number of the nodes which can be accessed to the communication network in the largest mode.
Specifically, after the network state identifier corresponding to the device identifier of the neighbor node in the updated local neighbor list is an active online identifier, and before the local heartbeat detection information is generated through the local neighbor list and sent, the method further includes:
and increasing the number of the beacon frames corresponding to the equipment identifications of the neighbor nodes to the local neighbor list.
Specifically, after the network state identifier corresponding to the device identifier of the neighbor node in the updated local neighbor list is an active online identifier, and before the local heartbeat detection information is generated through the local neighbor list and sent, the method further includes:
and updating the network state identifier of the equipment identifier corresponding to the bit with the value of 1 in the beacon frame sent by the neighbor node in the local neighbor list as an active online identifier.
Specifically, the generating local heartbeat detection information through the local neighbor list and executing sending of the local heartbeat detection information includes:
determining whether to send a local beacon frame according to beacon allocation information in the received beacon frame, wherein the received beacon frame and the local beacon frame both have the bit;
after determining to send a local beacon frame, according to the corresponding relationship between the device identifier corresponding to the active online identifier in the local neighbor list and the bit,
updating the value of the bit with the corresponding relation in the received beacon frame to an active online mark value respectively, and meanwhile, reserving the active online mark value which the bit in the received beacon frame already has according to the center jump detection information of the received beacon frame,
obtain a local beacon frame with consolidated heartbeat detection information and send the local beacon frame with consolidated heartbeat detection information.
The embodiment of the invention provides a communication method for detecting heartbeat, which comprises the following steps:
receiving a beacon frame sent by a node in a communication network in the communication method for detecting the heartbeat, and storing heartbeat detection information in the beacon frame;
starting a current timing cycle, executing heartbeat detection of nodes of the communication network, and determining whether nodes corresponding to equipment identification in the heartbeat detection information are active online or not;
and when determining that the node corresponding to the equipment identifier in the heartbeat detection information is not actively online, sending an offline indication message to the node which is not actively online.
The embodiment of the invention provides a communication system for detecting heartbeat, which comprises:
a communication node module, configured to determine that a beacon frame sent by a neighbor node in a communication network is received within a timing period, where the beacon frame sent by the neighbor node has an increased bit, the bit corresponds to a device identifier of the node in the communication network, and a value of the bit includes heartbeat detection information corresponding to the device identifier of the node recorded by the neighbor node in the communication network;
the communication node module is used for updating a network state identifier corresponding to the equipment identifier of the neighbor node in a local neighbor list into an active online identifier;
the communication node module is further configured to generate local heartbeat detection information through the local neighbor list, and execute sending of the local heartbeat detection information.
Specifically, the communication system for detecting heartbeat further includes:
the central node module is used for receiving a beacon frame sent by a node in the communication network and storing heartbeat detection information in the beacon frame;
the central node module is used for starting a current timing cycle, executing heartbeat detection of nodes of the communication network, and determining whether a node corresponding to the equipment identifier in the heartbeat detection information is active online or not;
and the central node module is further used for sending an offline indication message to the node which is not actively online when the node corresponding to the equipment identifier in the heartbeat detection information is determined not to be actively online.
In another aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor;
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor implements the aforementioned method by executing the instructions stored by the memory.
In yet another aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the foregoing method.
Additional features and advantages of embodiments of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the embodiments of the invention without limiting the embodiments of the invention. In the drawings:
FIG. 1 is a schematic diagram of the main steps of the method of the present invention;
FIG. 2 is a schematic diagram of an exemplary sub-node heartbeat counting and sending process flow according to an embodiment of the present invention;
FIG. 3 is a flow chart illustrating exemplary processing of the value of the merged bit of the child node according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an exemplary center node heartbeat statistics processing flow according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an exemplary central node heartbeat detection processing flow according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
Example 1
The embodiment of the invention provides a communication method for detecting heartbeat, which can be used for heartbeat sending and detection of a wireless broadband power communication system, and as shown in figure 1, the communication method for detecting the heartbeat comprises the following steps:
determining that a beacon frame sent by a neighbor node in a communication network is received in a timing period, wherein the beacon frame sent by the neighbor node has increased bits, the bits correspond to device identifications of the nodes in the communication network, and the values of the bits include heartbeat detection information corresponding to the device identifications of the nodes recorded by the neighbor node in the communication network;
updating a network state identifier corresponding to a device identifier of a neighbor node in a local neighbor list to be an active online identifier, wherein the neighbor node may be one or more nodes, a bit value may be 0 or 1, heartbeat detection information may include heartbeat bitmap information in which a bit value in an increased bit is 1, a node having a device identifier corresponding to a bit value in 1 may be an active online, and may also include heartbeat bitmap information in which a bit value in an increased bit is 0, a node having a device identifier corresponding to a bit value in 0 may be an offline, the increased bit may be a bit sequence (having an order), and the order may be a time slot order of the device identifier allocated when the node enters a network;
updating the network state identifier of the equipment identifier corresponding to the bit in the beacon frame sent by the neighbor node in the local neighbor list to be an active online identifier, if the beacon frame does not need to send the beacon frame again by the local node, the process can be ended temporarily, wherein, the network status identifiers of the device identifiers in the local neighbor list can be changed into active online identifiers according to the device identifiers corresponding to the bits with the value of 1, the device identifiers corresponding to the bits with the value of 0 can be ignored or considered to be merged with the local neighbor list, that is, the network status identifier with the device identifier in the local neighbor list has been updated to the active online identifier in the current timing period, however, the value of the bit corresponding to the device identifier in the beacon frame may still be 0 or 1, and when the value of the bit is 0, the network state identifier corresponding to the device identifier in the local neighbor list may not be changed to be offline in the current timing cycle;
and generating local heartbeat detection information through the local neighbor list, and executing the sending of the local heartbeat detection information.
In some implementations, a communication network in an embodiment of the present invention may include a central node (CCO) and a communication node, where the communication node may include a proxy node (PCO) and a general node (which may be referred to as a station or a child node or a node, STA), and roles of the two may be assigned by the central node or set by the communication node (for example, the STA may set the PCO); after the communication node performs the association request, if the central node allows to join the communication network, the central node may allocate, according to the available timeslot resources, an Equipment Identifier (i.e., a Terminal Equipment Identifier, TEI) of the communication node, for example, a value of a 1 st bit of a 0 th byte is 1, which indicates that a site where the TEI is 1 is found, and a value of a 0 th bit of the 1 st byte is 1, which indicates that a site where the TEI is 8 is found, and accordingly, when the communication node is considered to be offline, the central node may recycle the TEI and the corresponding timeslot resources; the communication method for detecting the heartbeat here may be that a current communication node (any one of PCOs or STAs) and a neighbor node are performed, the neighbor node may be a communication node adjacent to the current communication node on a communication connection in a communication network, the neighbor node may also be used as the current communication node in some cases, and in some communication networks, a central node may also have a neighbor node, and at this time, the neighbor node may also be a central node.
Nodes (CCO, PCO and STA) in the communication network can be configured, each node can have increased bits, and the communication nodes can also have increased bits; the added bits may be fixed-size bits, or may be expanded following the number of nodes accessing the communication network, and the corresponding node on the bit may add a certain number (N) of bits in the beacon frame according to the sequence of the TEIs allocated when the node ever joins the communication network, for representing the heartbeat detection information of each node in the network, where the ith bit corresponds to a node whose TEI is i, the bit being 0 indicates that the node whose TEI is i is not online, and 1 indicates that the node whose TEI is i is online, N is a positive integer, and i is a positive integer and is less than or equal to N. The bit and the value of the bit in the beacon frame can form heartbeat BITMAP Information (BITMAP), the bit occupied by the heartbeat BITMAP information is approximately equal to the maximum accessible node number of the network, and the heartbeat BITMAP information can be adjusted according to the actual conditions such as the node number of the access communication network.
For the process of counting and sending heartbeat of a child node (or a proxy node), as shown in fig. 2, after the child node accesses the network, a periodic timer for initializing neighbor list information is first started, the neighbor list information mainly stores a flag for identifying whether the neighbor node is valid, and information such as the number of SOF frames (Start of frames, which may be called as Start frames) and beacon frames sent in a timer period, and after the timer expires, the content of the neighbor list (local neighbor list) is initialized to ensure the validity of the child node for the statistics of the neighbor node information, and the neighbor list may include information such as a device identifier of the node, an online identifier corresponding to the device identifier, and the number of SOF frames and beacon frames corresponding to the device identifier.
Specifically, it may be determined that a start frame or a beacon frame of a frame sent by the neighboring node in the communication network is received in the timing period, and the sequence of implementation of the specific determination operation is determined according to a frame sent by the neighboring node in an actual situation, which is not limited herein.
If the sub-node receives the SOF frame from the neighbor node in the network, which indicates that the neighbor node is actively on-line, the neighbor list information stored locally is updated, and the corresponding neighbor table entry flag (network state identifier) is set to be valid, for example, the neighbor table entry flag is updated to be the active on-line (on-line) identifier, so as to indicate that the neighbor node is actively on-line.
If the child node receives the beacon frame from the neighbor node in the network, which indicates that the neighbor node is active online, the neighbor list information stored locally is updated, the corresponding neighbor table entry flag is set to be effective to indicate that the neighbor node is active online, and meanwhile, the number of the received beacon frames is increased by one. The beacon frame count of the neighbor node may be used as one of the basis for reselecting the agent when the agent of the child node changes.
The above process of updating the local neighbor list information according to the SOF frames or beacon frames of the neighbor nodes may be performed in multiple cycles with SOF frames or beacon frames being continuously received.
Then, upon receiving some beacon frames, the beacon frames may also have a predefined time slot allocation, which may inform the communication node receiving the beacon frame that the corresponding beacon frame needs to be sent back within a specified time. For example, the received beacon frame may be a beacon frame (a central beacon or a central beacon) that is sent by a central node and requires a current communication node to send a beacon frame, or may be a beacon frame (a central beacon or a central beacon) that is sent by other nodes in a communication network to the current communication node, and according to beacon allocation information in the received beacon frame, it may be determined whether the beacon frame needs to be sent, and if the current node needs and can send a beacon frame (a proxy beacon or a discovery beacon) at this time, the TEIs of active neighbor nodes in a neighbor list stored locally are merged into a heartbeat BITMAP in a beacon frame received before, as a heartbeat BITMAP of the beacon frame to be sent, and specifically, according to the beacon allocation information in the received beacon frame, it is determined whether the local beacon frame is sent, where the received beacon frame and the local beacon frame both have the bit.
After determining to transmit a local beacon frame, merging the received beacon frame center hop detection information into local beacon frame center hop detection information to be transmitted according to a corresponding relationship between a device identifier corresponding to the active online identifier and the bit in the local neighbor list, more specifically, updating a value of a bit having the corresponding relationship in the received beacon frame to an active online flag value, and meanwhile, according to the received beacon frame center hop detection information (i.e., a corresponding value on each bit and bit), retaining the active online flag value that the bit in the received beacon frame already has, and obtaining a local beacon frame to be transmitted (having merged heartbeat detection information or local heartbeat detection information) according to the current bit and the corresponding value on the bit, and transmits a local beacon frame with the incorporated heartbeat detection information.
For example, as shown in fig. 3, after the neighbor list of the current child node is initialized, the neighbor list is associated with the device identity TEI1-TEI9The corresponding network status identifiers may be all 0 (offline identifier, 1 may represent active online identifier), and after receiving the beacon frame of the neighbor node 1, the corresponding relationship between the bit and the device identifier may be updated and recorded in the neighbor list, at this time, the neighbor list and the device identifier TEI are updated and recorded1-TEI9The corresponding network status identifiers may be respectively 0, 1, 0, 1 in turn, and then the beacon frame of the neighboring node 2 may be received, and the beacon allocation information in the received beacon frame requires the current sub-node to send the beacon frame, so that the current sub-node may updateThe value of the bit, the bit sequence formed by the bit and the bit value of the beacon frame processed by the current child node may be 001010011, and the value (101101110) of the bit corresponding to the device identifier in the received beacon frame is merged with the bit sequence according to the bit or the device identifier, so that the current child node may obtain that the bit sequence of the beacon frame to be transmitted is 101111111, and the bit sequence has merged heartbeat detection information (merged heartbeat tmap); in short, in this embodiment of the present invention, in this timing period, a bit of a beacon frame center-jump BITMAP median value 1 sent by a neighbor node may be merged or updated into local heartbeat BITMAP median values 0 and 1, at this time, a bit of a local heartbeat BITMAP median value 0 is changed to a value of 1, a bit of a local heartbeat BITMAP median value 1 is merged to a value of 1, a bit of a local heartbeat BITMAP median value 1 remains unchanged, a bit of a beacon frame center-jump BITMAP median value 0 sent by a neighbor node may also be merged into a local heartbeat BITMAP, and a bit of a local heartbeat BITMAP median value 0 may not affect a value of each bit in the local heartbeat BITMAP, a bit of a local heartbeat BITMAP median value 1 remains unchanged.
It is to be noted that, before a neighboring node (not serving as a first neighboring node) transmits a beacon frame or a SOF frame, the first neighboring node may receive the beacon frame that was transmitted by a second neighboring node (one or more nodes) adjacent to the first neighboring node, and obtain heartbeat detection information corresponding to each device identifier, that is, a bit value corresponding to a corresponding bit, where a value of a bit in the beacon frame transmitted by the first neighboring node may include not only heartbeat detection information corresponding to the device identifier of the node recorded by the first neighboring node, but also heartbeat detection information corresponding to the device identifier of the node recorded by the second neighboring node, and the beacon frame transmitted by the first neighboring node has merged heartbeat detection information.
The embodiment of the invention also provides a communication method for detecting the heartbeat, which comprises the following steps:
receiving a beacon frame sent by a node in a communication network in the communication method for detecting the heartbeat, and storing heartbeat detection information in the beacon frame;
starting a current timing cycle, executing heartbeat detection of nodes of the communication network, and determining whether nodes corresponding to equipment identification in the heartbeat detection information are active online or not;
and when determining that the node corresponding to the equipment identifier in the heartbeat detection information is not actively online, sending an offline indication message to the node which is not actively online.
For the heart beat statistical processing of the central node, as shown in fig. 4, after the central node is powered on, the locally stored heart beat bitmapp is initialized to be all 0. After receiving the beacon frame of the sub-node in the network, the heartbeat BITMAP in the beacon frame is merged with the heartbeat BITMAP stored locally, and the heartbeat BITMAP is stored locally for heartbeat detection.
For the heartbeat detection processing of the central node, as shown in fig. 5, after the network networking is completed, the central node starts a period timer for timing processing of the heartbeat detection. After the heartbeat detection timer is overtime, the central node judges whether each child node is online according to a heartbeat BITMAP stored locally, the value of a bit i in the BITMAP is 0, the child node with the TEI being i is not online, and the value of the bit i being 1 indicates that the child node with the TEI being i is online. For the child node judged to be offline, if the value of the bit corresponding to the device identifier of the child node in the beacon frame received by each central node does not appear to be 1 after the timing period is ended or the network state identifier corresponding to the device identifier of the child node in the neighbor list stored by the central node is not updated to be an active online identifier, the central node sends an offline indication message to the child node, and if the value of the bit corresponding to the device identifier of the child node in the beacon frame received by each central node appears to be 1 before the timing period is ended or the network state identifier corresponding to the device identifier of the child node in the neighbor list stored by the central node is updated to be an active online identifier, the central node judges that the child node is online. After each heartbeat detection processing period is completed, the central node initializes all heartbeat BITMAP stored locally to be 0.
For performing heartbeat detection on the nodes of the communication network, the central node is used as the communication node, and the network state of the nodes in the communication network is obtained through the beacon frame central hop BITMAP sent by each node in the communication network.
The embodiment of the invention carries heartbeat bitmap information of each node in a beacon frame, a periodic timer for initializing a neighbor list is started after a child node accesses a network, the child node updates the neighbor list information stored locally after receiving an SOF frame or a beacon frame of the neighbor node and is used for heartbeat statistics, the child node updates the heartbeat bitmap in the received beacon frame according to the neighbor list information stored locally before sending the beacon frame and is used as the heartbeat bitmap of the beacon frame to be sent, a central node updates the heartbeat bitmap information stored locally after receiving the beacon frame of the child node in the network so as to be used for heartbeat detection, and the central node performs heartbeat detection processing in a periodic mode. The time length of the timing period of the heartbeat detection of the central node is longer than the time length of the initialization period of the neighbor list of the child node.
The embodiment of the invention reduces the sending of network maintenance messages by carrying the heartbeat bitmap for marking whether each node in the network is on line in the beacon frame, and the collection of the heartbeat detection information does not depend on each node to report the heartbeat detection message specially, thereby reducing the occupation of the CSMA time slot by the non-meter reading service of the system and improving the effective utilization rate of system resources; meanwhile, the central node and the child nodes do not need to store a large amount of heartbeat-related content locally, the processing flow is simple and easy to implement, and the implementation complexity is reduced.
Example 2
The embodiment of the invention and the embodiment 1 belong to the same invention concept, the embodiment of the invention provides a communication system for detecting heartbeat, and the communication system for detecting the heartbeat comprises:
a communication node module, configured to determine that a beacon frame sent by a neighbor node in a communication network is received within a timing period, where the beacon frame sent by the neighbor node has an increased bit, the bit corresponds to a device identifier of the node in the communication network, and a value of the bit includes heartbeat detection information corresponding to the device identifier of the node recorded by the neighbor node in the communication network;
the communication node module is used for updating a network state identifier corresponding to the equipment identifier of the neighbor node in a local neighbor list into an active online identifier;
the communication node module is further configured to generate local heartbeat detection information through the local neighbor list, and execute sending of the local heartbeat detection information.
Specifically, the communication system for detecting heartbeat further includes:
the central node module is used for receiving a beacon frame sent by a node in the communication network and storing heartbeat detection information in the beacon frame;
the central node module is used for starting a current timing cycle, executing heartbeat detection of nodes of the communication network, and determining whether a node corresponding to the equipment identifier in the heartbeat detection information is active online or not;
and the central node module is further used for sending an offline indication message to the node which is not actively online when the node corresponding to the equipment identifier in the heartbeat detection information is determined not to be actively online.
Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, the embodiments of the present invention are not limited to the details of the above embodiments, and various simple modifications can be made to the technical solutions of the embodiments of the present invention within the technical idea of the embodiments of the present invention, and the simple modifications all belong to the protection scope of the embodiments of the present invention.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, the embodiments of the present invention do not describe every possible combination.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of various different implementation manners of the embodiments of the present invention is also possible, and the embodiments of the present invention should be considered as disclosed in the embodiments of the present invention as long as the combination does not depart from the spirit of the embodiments of the present invention.

Claims (12)

1. A communication method for detecting heartbeat, the communication method for detecting heartbeat comprising:
determining that a beacon frame sent by a neighbor node in a communication network is received in a timing period, wherein the beacon frame sent by the neighbor node has increased bits, the bits correspond to device identifications of the nodes in the communication network, and the values of the bits include heartbeat detection information corresponding to the device identifications of the nodes recorded by the neighbor node in the communication network;
updating a network state identifier corresponding to the equipment identifier of the neighbor node in a local neighbor list into an active online identifier;
and generating local heartbeat detection information through the local neighbor list, and executing the sending of the local heartbeat detection information.
2. A communication method for detecting heartbeats as claimed in claim 1, further comprising:
determining that a frame start frame sent by the neighbor node in the communication network is received in the timing period;
and updating the network state identifier corresponding to the equipment identifier of the neighbor node in the local neighbor list as an active online identifier.
3. A communication method for detecting heartbeats as claimed in claim 1, wherein the determining receives beacon frames transmitted by neighbor nodes in the communication network within a timing period, wherein,
the increased bit positions comprise N bit positions, the ith bit position specifically corresponds to the ith equipment identifier distributed by the central node in the communication network, N is a positive integer, and i is a positive integer and is less than or equal to N.
4. A communication method for detecting heartbeats as claimed in claim 3, wherein the determination is made to receive beacon frames sent by neighbor nodes within the communication network within a timing period, wherein,
the heartbeat detection information is heartbeat bitmap information, and the bit positions occupied by the heartbeat bitmap information are equal to or approximately equal to the number of the nodes which can be accessed to the communication network in the largest mode.
5. The communication method for detecting heartbeat according to claim 1, wherein after the network status identifier corresponding to the device identifier of the neighbor node in the updated local neighbor list is an active online identifier, and before the local heartbeat detection information is generated by the local neighbor list and the sending of the local heartbeat detection information is executed, further comprising:
and increasing the number of the beacon frames corresponding to the equipment identifications of the neighbor nodes to the local neighbor list.
6. The communication method for detecting heartbeat according to claim 1, wherein after the network status identifier corresponding to the device identifier of the neighbor node in the updated local neighbor list is an active online identifier, and before the local heartbeat detection information is generated by the local neighbor list and the sending of the local heartbeat detection information is executed, further comprising:
and updating the network state identifier of the equipment identifier corresponding to the bit with the value of 1 in the beacon frame sent by the neighbor node in the local neighbor list as an active online identifier.
7. The communication method for detecting heartbeats according to any one of claims 1 to 6, wherein the generating local heartbeat detection information by the local neighbor list and the sending of the local heartbeat detection information are performed, and the method includes:
determining whether to send a local beacon frame according to beacon allocation information in the received beacon frame, wherein the received beacon frame and the local beacon frame both have the bit;
after determining to send a local beacon frame, according to the corresponding relationship between the device identifier corresponding to the active online identifier in the local neighbor list and the bit,
updating the value of the bit with the corresponding relation in the received beacon frame to an active online mark value respectively, and meanwhile, reserving the active online mark value which the bit in the received beacon frame already has according to the center jump detection information of the received beacon frame,
obtain a local beacon frame with consolidated heartbeat detection information and send the local beacon frame with consolidated heartbeat detection information.
8. A communication method for detecting heartbeat, the communication method for detecting heartbeat comprising:
receiving a beacon frame sent by a node in a communication network in the communication method for detecting the heartbeat according to any one of claims 1 to 7, and storing heartbeat detection information in the beacon frame;
starting a current timing cycle, executing heartbeat detection of nodes of the communication network, and determining whether nodes corresponding to equipment identification in the heartbeat detection information are active online or not;
and when determining that the node corresponding to the equipment identifier in the heartbeat detection information is not actively online, sending an offline indication message to the node which is not actively online.
9. A communication system for detecting a heartbeat, the communication system for detecting a heartbeat comprising:
a communication node module, configured to determine that a beacon frame sent by a neighbor node in a communication network is received within a timing period, where the beacon frame sent by the neighbor node has an increased bit, the bit corresponds to a device identifier of the node in the communication network, and a value of the bit includes heartbeat detection information corresponding to the device identifier of the node recorded by the neighbor node in the communication network;
the communication node module is used for updating a network state identifier corresponding to the equipment identifier of the neighbor node in a local neighbor list into an active online identifier;
the communication node module is further configured to generate local heartbeat detection information through the local neighbor list, and execute sending of the local heartbeat detection information.
10. A communication system for detecting heartbeats as claimed in claim 9, wherein the communication system for detecting heartbeats further comprises:
the central node module is used for receiving a beacon frame sent by a node in the communication network and storing heartbeat detection information in the beacon frame;
the central node module is used for starting a current timing cycle, executing heartbeat detection of nodes of the communication network, and determining whether a node corresponding to the equipment identifier in the heartbeat detection information is active online or not;
and the central node module is further used for sending an offline indication message to the node which is not actively online when the node corresponding to the equipment identifier in the heartbeat detection information is determined not to be actively online.
11. An electronic device, comprising:
at least one processor;
a memory coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing the method of any one of claims 1 to 8 by executing the instructions stored by the memory.
12. A computer readable storage medium storing computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 8.
CN202011297867.XA 2020-11-19 2020-11-19 Communication method, system, device and storage medium for detecting heartbeat Active CN112104528B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011297867.XA CN112104528B (en) 2020-11-19 2020-11-19 Communication method, system, device and storage medium for detecting heartbeat
PCT/CN2021/128567 WO2022105612A1 (en) 2020-11-19 2021-11-04 Communication method and system for detecting heartbeat, and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011297867.XA CN112104528B (en) 2020-11-19 2020-11-19 Communication method, system, device and storage medium for detecting heartbeat

Publications (2)

Publication Number Publication Date
CN112104528A true CN112104528A (en) 2020-12-18
CN112104528B CN112104528B (en) 2021-02-19

Family

ID=73785337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011297867.XA Active CN112104528B (en) 2020-11-19 2020-11-19 Communication method, system, device and storage medium for detecting heartbeat

Country Status (2)

Country Link
CN (1) CN112104528B (en)
WO (1) WO2022105612A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363096A (en) * 2022-03-21 2022-04-15 中国电建集团华东勘测设计研究院有限公司 Data access transmission system crossing safety partitions
WO2022105612A1 (en) * 2020-11-19 2022-05-27 北京智芯微电子科技有限公司 Communication method and system for detecting heartbeat, and device and storage medium
CN117793757A (en) * 2024-02-18 2024-03-29 山东浪潮数据库技术有限公司 Method and device for detecting heartbeat of distributed network

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117335839A (en) * 2022-06-24 2024-01-02 华为技术有限公司 Communication method and related equipment
CN115333983B (en) * 2022-08-16 2023-10-10 超聚变数字技术有限公司 Heartbeat management method and node
CN116032619A (en) * 2022-12-30 2023-04-28 北京欣博电子科技有限公司 State inspection method and device of intelligent safety networking equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090232063A1 (en) * 2008-03-11 2009-09-17 Carlos Cordeiro Arrangements for association and re-association in a wireless network
CN107426003A (en) * 2017-05-02 2017-12-01 华为技术有限公司 A kind of fault detection method and device
CN108696297A (en) * 2017-04-10 2018-10-23 华为技术有限公司 Equipment state detecting method and device in power line communication network
CN109213684A (en) * 2018-09-18 2019-01-15 北京工业大学 Program detecting method and application based on OpenMP thread heartbeat detection technology

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8605657B2 (en) * 2009-12-18 2013-12-10 Electronics And Telecommunications Research Institute Mesh routing method and mesh routing apparatus in beacon enabled wireless AD-HOC networks
CN106100698B (en) * 2016-06-12 2018-03-27 南京南瑞集团公司 A kind of network-building method of power line carrier module applied to power information collection
CN112104528B (en) * 2020-11-19 2021-02-19 北京智芯微电子科技有限公司 Communication method, system, device and storage medium for detecting heartbeat

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090232063A1 (en) * 2008-03-11 2009-09-17 Carlos Cordeiro Arrangements for association and re-association in a wireless network
CN108696297A (en) * 2017-04-10 2018-10-23 华为技术有限公司 Equipment state detecting method and device in power line communication network
CN107426003A (en) * 2017-05-02 2017-12-01 华为技术有限公司 A kind of fault detection method and device
CN109213684A (en) * 2018-09-18 2019-01-15 北京工业大学 Program detecting method and application based on OpenMP thread heartbeat detection technology

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022105612A1 (en) * 2020-11-19 2022-05-27 北京智芯微电子科技有限公司 Communication method and system for detecting heartbeat, and device and storage medium
CN114363096A (en) * 2022-03-21 2022-04-15 中国电建集团华东勘测设计研究院有限公司 Data access transmission system crossing safety partitions
CN117793757A (en) * 2024-02-18 2024-03-29 山东浪潮数据库技术有限公司 Method and device for detecting heartbeat of distributed network

Also Published As

Publication number Publication date
WO2022105612A1 (en) 2022-05-27
CN112104528B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN112104528B (en) Communication method, system, device and storage medium for detecting heartbeat
US9681467B2 (en) System and method for detecting and resolving conflicts
CN106851549B (en) Random access method for M2M terminal
EP2793521A1 (en) Node grouping method, node, and access point
US11671864B2 (en) Joint transmission method and communications apparatus
Lee et al. An energy efficient active RFID protocol to avoid overhearing problem
US11172442B2 (en) Method and apparatus for indicating a system information block change
CN110401971B (en) Communication method based on 230MHz electric power special frequency band intelligent ad hoc network
CN108012278A (en) Manage method, access point and the website of Basic Service Set color
Ma et al. A novel contention-based MAC protocol with channel reservation for wireless LANs
US9788356B2 (en) Terminal device, and frame sending and receiving methods
CN113099486A (en) Multilink communication method, device and system
KR101527044B1 (en) Method and apparatus for supporting group delegator in wireless connection system supporting machine-to-machine communication
Kuhn et al. Radio network clustering from scratch
EP2840838B1 (en) Network discovery method, access point, and terminal device
CN110602798B (en) Distributed determination method for optimal parameters of LTE network machine communication random access
Popovski et al. Batch conflict resolution algorithm with progressively accurate multiplicity estimation
CN214380929U (en) Gateway equipment for connecting Internet of things sensing equipment and electric power information acquisition equipment
CN115412419A (en) Ad hoc network master node election and data synchronization method
CN114759953A (en) Logic phase selection method applied to HPLC
CN113891479A (en) Time slot estimation method based on beacon network
CN106131970B (en) Protocol sequence channel access algorithm based on feedback
CN110650135B (en) Node processing method, related equipment and computer readable storage medium
US9160560B2 (en) CSMA time slot providing and obtaining method and device, networking method and device, and system
CN114173430A (en) Management method and device for block acknowledgement session in wireless local area network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20201218

Assignee: CHINA GRIDCOM Co.,Ltd.

Assignor: BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY Co.,Ltd.

Contract record no.: X2022980018383

Denomination of invention: Communication method, system, device and storage medium for heartbeat detection

Granted publication date: 20210219

License type: Common License

Record date: 20221019

EE01 Entry into force of recordation of patent licensing contract