WO2022105612A1 - 检测心跳的通信方法、系统、设备及存储介质 - Google Patents

检测心跳的通信方法、系统、设备及存储介质 Download PDF

Info

Publication number
WO2022105612A1
WO2022105612A1 PCT/CN2021/128567 CN2021128567W WO2022105612A1 WO 2022105612 A1 WO2022105612 A1 WO 2022105612A1 CN 2021128567 W CN2021128567 W CN 2021128567W WO 2022105612 A1 WO2022105612 A1 WO 2022105612A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
local
heartbeat
beacon frame
detection information
Prior art date
Application number
PCT/CN2021/128567
Other languages
English (en)
French (fr)
Inventor
牛桂新
赵东艳
李德建
赵旭
Original Assignee
北京智芯微电子科技有限公司
国网信息通信产业集团有限公司
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 北京智芯微电子科技有限公司, 国网信息通信产业集团有限公司 filed Critical 北京智芯微电子科技有限公司
Publication of WO2022105612A1 publication Critical patent/WO2022105612A1/zh

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

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a communication method for detecting a heartbeat, a communication system for detecting a heartbeat, an electronic device, and a computer-readable storage medium.
  • the central node In the wireless broadband power communication system, the central node (Central Coordinator, CCO, also known as the central coordinator, central node) needs to sense the network status of the sub-nodes in the communication network in time to facilitate network management. Nodes or sub-nodes can be divided into proxy nodes or proxy sites or proxy coordinators Proxy Coordinator (PCO), and general nodes or stations Station (STA).
  • Heartbeat detection is a mechanism for detecting whether a site is offline. Generally, heartbeat data can be sent at certain intervals to detect whether the other party is connected.
  • PCO Proxy Coordinator
  • STA stations Station
  • Heartbeat detection is a mechanism for detecting whether a site is offline. Generally, heartbeat data can be sent at certain intervals to detect whether the other party is connected.
  • For the heartbeat detection of the low-voltage power line broadband carrier communication system it is conventional that during the networking process, each site can perceive its own neighbor sites according to the received discovery beacons, and record them to form a discovery list.
  • Each discovery site periodically sends a discovery list message, which is used by the proxy site to determine whether the discovery site is active online.
  • the proxy site sends the site activity information in the locally maintained discovery list to the CCO through periodic heartbeat detection packets, so that the CCO can summarize the online information of the whole site.
  • the lower-level proxy sites are triggered by the heartbeat detection packets of high-level proxy sites to generate new heartbeat detection packets, which can finally be aggregated by the CCO of the entire site.
  • list messages and heartbeat detection messages are both periodic, involving many network maintenance messages and occupying more CSMA (Carrier Sense Multiple Access) time slots. and other businesses have a greater impact.
  • CSMA Carrier Sense Multiple Access
  • the purpose of the present invention is to provide a communication method, system, equipment and storage medium for detecting heartbeat, so as to avoid the occupation of CSMA time slots caused by too many network maintenance messages, and it is difficult to carry out communication services, thereby improving the efficiency and communication of heartbeat detection of each node.
  • System resource utilization is to provide a communication method, system, equipment and storage medium for detecting heartbeat, so as to avoid the occupation of CSMA time slots caused by too many network maintenance messages, and it is difficult to carry out communication services, thereby improving the efficiency and communication of heartbeat detection of each node.
  • an embodiment of the present invention provides a communication method for detecting a heartbeat, and the communication method for detecting a heartbeat includes:
  • the beacon frame sent by the neighbor node in the communication network is received within the timing period, wherein the beacon frame sent by the neighbor node has an increased bit bit, and the bit bit corresponds to the device identifier of the node in the communication network.
  • the value of the bit includes the heartbeat detection information corresponding to the device identification of the node recorded by the neighbor node in the communication network;
  • the communication method for detecting the heartbeat further includes:
  • the network status identifier corresponding to the device identifier of the neighbor node in the local neighbor list is updated to be an active online identifier.
  • the added bits have N bits, and the i-th bit corresponds to the i-th device identifier allocated by the central node in the communication network, where N is a positive integer, and i is a positive integer and less than or equal to N.
  • the heartbeat detection information is heartbeat bitmap information, and the bits occupied by the heartbeat bitmap information are equal to or approximately equal to the maximum number of accessible nodes of the communication network.
  • the network status identifier corresponding to the device identifier of the neighbor node in the updated local neighbor list is the active online identifier
  • the local heartbeat detection information is generated by the local neighbor list
  • the number of beacon frames corresponding to the device identification of the neighbor node is added to the local neighbor list.
  • the network status identifier corresponding to the device identifier of the neighbor node in the updated local neighbor list is the active online identifier
  • the local heartbeat detection information is generated by the local neighbor list
  • the network status identifier of the device identifier corresponding to the bit in the beacon frame sent by the neighbor node in the local neighbor list is updated to be an active online identifier.
  • generating the local heartbeat detection information through the local neighbor list, and executing the sending of the local heartbeat detection information includes:
  • the local beacon frame with the combined heartbeat detection information is obtained, and the local beacon frame with the combined heartbeat detection information is sent.
  • the method further includes:
  • an offline indication message is sent to the node that is not actively online.
  • An embodiment of the present invention provides a communication system for detecting heartbeat, and the communication system for detecting heartbeat includes:
  • 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, wherein the beacon frame sent by the neighbor node has an increased bit bit, and the bit bit is related to the communication network
  • the device identifier of the inner node corresponds, and the value of the bit bit includes the 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 configured to update the network status identifier corresponding to the device identifier of the neighbor node in the local neighbor list as an active online identifier;
  • the communication node module is further configured to generate local heartbeat detection information through the local neighbor list, and execute the sending of the local heartbeat detection information.
  • the communication system for detecting the heartbeat further includes:
  • a central node module configured to receive a beacon frame sent by a node in the communication network, and save the heartbeat detection information in the beacon frame;
  • the central node module is used to start the current timing cycle, perform heartbeat detection of the nodes of the communication network, and determine whether the node corresponding to the device identifier in the heartbeat detection information is active online;
  • the central node module is further configured to send an offline indication message to the node that is not actively online when it is determined that the node corresponding to the device identifier in the heartbeat detection information is not actively online.
  • an embodiment of the present invention provides an electronic device, and the electronic device includes:
  • a memory connected to the at least one processor
  • the memory stores instructions that can be executed by the at least one processor, the at least one processor executes the instructions stored in the memory, and the at least one processor implements the foregoing by executing the instructions stored in the memory.
  • an embodiment of the present invention provides a computer-readable storage medium storing computer instructions, which, when the computer instructions are executed on a computer, cause the computer to execute the foregoing method.
  • Fig. 1 is the step schematic diagram of the main method of the embodiment of the present invention.
  • FIG. 2 is a schematic diagram of an exemplary sub-node heartbeat statistics and sending process flow diagram according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an exemplary sub-node merged bit value processing flow according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of an exemplary central node heartbeat statistics processing process according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an exemplary heartbeat detection process flow of a central node according to an embodiment of the present invention.
  • the embodiment of the present invention provides a communication method for detecting heartbeat.
  • the embodiment of the present invention can be used for sending and detecting heartbeat in a wireless broadband power communication system.
  • the communication method for detecting heartbeat includes:
  • the beacon frame sent by the neighbor node in the communication network is received within the timing period, wherein the beacon frame sent by the neighbor node has an increased bit bit, and the bit bit corresponds to the device identifier of the node in the communication network.
  • the value of the bit includes the heartbeat detection information corresponding to the device identification of the node recorded by the neighbor node in the communication network;
  • the neighbor node can be one or more nodes
  • the value of the bit can be 0 or 1
  • the heartbeat detection information can include
  • the heartbeat bitmap information with the bit value of 1 in the added bits, the node with the device identifier corresponding to the bit value of 1 may be active online, or it may also include the value of the bit in the added bit.
  • Heartbeat bitmap information of 0, the node with the device identifier corresponding to the bit value of 0 can be offline, the added bit can be a bit sequence (with order), and the order can be assigned according to the node when it joins the network.
  • the beacon frame does not require the local node to send the beacon frame, it can be temporarily End sending, wherein the network status identifiers of these device identifiers in the local neighbor list can be changed to active online identifiers according to the device identifiers corresponding to the bits with a value of 1, and the device identifiers corresponding to the bits with a value of 0 can be ignored Or it is 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 this timing period, but the value of the bit corresponding to the device identifier in the beacon frame is still the same. It can be 0 or 1, and when the value of the bit is 0, the network status identification corresponding to the device identification in the local neighbor list can not be changed as offline during this timing period;
  • the communication network in this embodiment of the present invention may include a central node (CCO) and a communication node, and the communication node may include a proxy node (PCO) and a general node (may be referred to as a station or a sub-node or node, STA).
  • CCO central node
  • PCO proxy node
  • STA general node
  • the roles of the two can be assigned by the central node or set by the communication node (for example, STA can set PCO); after the communication node makes an association request, if the central node is allowed to join the communication network, the central node will be based on the available time slot resources.
  • the device identifier of the communication node ie, Terminal Equipment Identifier, TEI
  • the value of the first bit of the 0th byte is 1, indicating that a site with a TEI of 1 is found, and the first byte of the first byte is 1.
  • the value of the 0 bit is 1, indicating that a site with a TEI of 8 is found.
  • the central node will recycle the TEI and the corresponding time slot resource; the communication method for detecting heartbeat here can be It is the communication between the current communication node (any PCO or STA) and the neighbor node.
  • the neighbor node can be a communication node adjacent to the current communication node on the communication connection in the communication network. In some cases, the neighbor node can also be used as a communication node.
  • the current communication node, and in some communication networks, the central node may also have neighbor nodes, and at this time, the neighbor nodes may also be the central node.
  • the nodes (CCO, PCO, and STA) in the communication network can be configured, so that each node can have an increased bit, or the communication node can have an increased bit; the increased bit can be a fixed size It can also be expanded according to the number of nodes accessing the communication network.
  • the corresponding nodes on this bit can add a certain number of ( N) bits, which are used to represent the heartbeat detection information of each node in the network, wherein, the i-th bit corresponds to the node with TEI of i, and this bit is 0 to indicate that the node with TEI of i is not online, and 1 indicates that the node is not online.
  • the node whose TEI is i is online, N is a positive integer, and i is a positive integer and less than or equal to N.
  • the bits and bit values in the beacon frame can form the heartbeat bitmap information (BITMAP).
  • BITMAP heartbeat bitmap information
  • the bitmap occupied by the heartbeat bitmap information is approximately equal to the maximum number of nodes that can be accessed by the network, which can be determined according to the number of nodes connected to the communication network. until the actual situation is adjusted.
  • the neighbor list information is mainly stored to identify the neighbor.
  • the flag of whether the node is valid and the SOF frame (Start of Frame, which can be called the frame start frame) and the number of beacon frames sent within a timer period, after the timer expires, the neighbor list (local neighbor list ) content is initialized to ensure the validity of the child node's neighbor node information statistics.
  • the neighbor list can include the node's device ID, the online ID corresponding to the device ID, the SOF frame corresponding to the device ID and the number of beacon frames and other information. .
  • the frame start frame or beacon frame sent by the neighbor node in the communication network is received within the timing period, and the specific order of implementation of the operation is determined according to the frame sent by the neighbor node in the actual situation. It is decided that this is not a limited implementation.
  • the child node If the child node receives the SOF frame from the neighbor node in the network, indicating that the neighbor node is active online, it will update the locally saved neighbor list information, and set the corresponding neighbor table entry flag (network status flag) to be valid, such as updating to Active online (ie online) identification to indicate that the neighbor node is active online.
  • the child node If the child node receives a beacon frame from a neighbor node in the network, indicating that the neighbor node is active online, it updates the locally saved neighbor list information, and sets the corresponding neighbor table entry flag to be valid to indicate that the neighbor node is active. When online, increase the count of received beacon frames by one.
  • the beacon frame count of the neighbor node can be used as one of the basis for re-selection of the proxy when the proxy of the sub-node changes.
  • the above process of updating the local neighbor list information according to the SOF frames or beacon frames of the neighbor nodes can be performed cyclically for multiple times with the continuously received SOF frames or beacon frames.
  • the beacon frame may also have a pre-defined time slot allocation, and the time slot allocation can inform the communication node receiving the beacon frame that it needs to send back the corresponding signal within a specified time. frame.
  • the received beacon frame may be a beacon frame (central beacon or central beacon) sent by the central node that requires the current communication node to send a beacon frame, or may be sent by other nodes in the communication network to the current communication node, According to the beacon allocation information in the received beacon frame, it can be determined whether a beacon frame needs to be sent.
  • the TEI of the active neighbor nodes in the neighbor list is merged into the heartbeat BITMAP in the beacon frame received before, and it is used as the heartbeat BITMAP of the beacon frame to be sent.
  • the beacon allocation information is used to determine whether to send a local beacon frame, wherein both the received beacon frame and the local beacon frame have the bits.
  • the heartbeat detection information in the received beacon frame After determining to send the local beacon frame, combine the heartbeat detection information in the received beacon frame into The heartbeat detection information in the local beacon frame to be sent, more specifically, the value of the bit bit with the corresponding relationship in the received beacon frame can be updated to the active online flag value, and at the same time, according to The heartbeat detection information in the received beacon frame (that is, each bit and the corresponding value on the bit) retains the active online flag value that the bit in the received beacon frame already has, and can pass the current.
  • the bits and the corresponding values on the bits obtain the local beacon frame to be sent (with the combined heartbeat detection information or the local heartbeat detection information), and send the local beacon frame with the combined heartbeat detection information.
  • the network status identifiers corresponding to the device identifiers TEI 1 to TEI 9 in the neighbor list may all be 0 (not online identifiers, 1 may represent active online identifiers).
  • the network status identifiers corresponding to the device identifiers TEI 1 to TEI 9 in the neighbor list can be They are 0, 0, 1, 0, 1, 0, 0, 1, 1 in sequence.
  • the beacon frame of neighbor node 2 can be received.
  • the beacon allocation information in the received beacon frame needs to be sent by the current child node. If the beacon frame is sent, the current child node can update the bit value.
  • the bit sequence formed by the bit and the bit value of the beacon frame being processed by the current child node can be 001010011, and the received beacon frame and the The bit value (101101110) corresponding to the device ID is combined by bit or device ID and bit sequence, then the current child node can obtain the bit sequence of the beacon frame to be sent as 101111111, and the bit sequence has the combined heartbeat detection information (the merged heartbeat BITMAP); in short, in this embodiment of the present invention, in the beacon frame sent by the neighbor node, the bit value of 1 in the heartbeat BITMAP can be merged or updated to the local The values in the heartbeat BITMAP are 0 and 1.
  • the bits with a value of 0 in the local heartbeat BITMAP are changed to 1, and the bits with a value of 1 in the local heartbeat BITMAP are merged into a value of 1.
  • the bits with a value of 1 in the local heartbeat BITMAP remain unchanged, and the bits with a value of 0 in the heartbeat BITMAP in the beacon frame sent by the neighbor node can also be merged into the local heartbeat BITMAP, which does not affect the local heartbeat.
  • the value of each bit in the BITMAP, the bit with a value of 1 in the local heartbeat BITMAP remains unchanged, and the bit with a value of 0 in the local heartbeat BITMAP also remains unchanged.
  • the first neighbor node can receive information from the second neighbor node (one or more nodes) adjacent to the first neighbor node. ) has sent the beacon frame, and obtained the heartbeat detection information corresponding to each device identification, that is, the corresponding bit value on the corresponding bit, the value of the bit in the beacon frame sent by the first neighbor node can not only include the The heartbeat detection information corresponding to the device identifier of the node recorded by the first neighbor node, the value of this bit may also include the heartbeat detection information corresponding to the device identifier of the node recorded by the second neighbor node, and the information sent by the first neighbor node.
  • the beacon frame has the combined heartbeat detection information.
  • the embodiment of the present invention also provides a communication method for detecting heartbeat, and the communication method for detecting heartbeat includes:
  • an offline indication message is sent to the node that is not actively online.
  • the central node For the heartbeat statistics processing of the central node, as shown in Figure 4, after the central node is powered on, it first initializes the locally stored heartbeat BITMAPs to be all 0s. After receiving the beacon frame of the child node in the network, the heartbeat BITMAP in the beacon frame is combined with the locally saved heartbeat BITMAP, and saved locally for heartbeat detection.
  • the central node For the heartbeat detection processing of the central node, as shown in Figure 5, after the network networking is completed, the central node starts a periodic timer for timing processing of the heartbeat detection. After the heartbeat detection timer expires, the central node determines whether each child node is online according to the locally stored heartbeat BITMAP.
  • the value of bit i in the BITMAP is 0, indicating that the child node whose TEI is i is offline, and the value of bit i is 1, indicating that the TEI is The children of i are online.
  • the central node For a child node that is judged to be offline, if the value of the bit corresponding to the device identification of the child node in the beacon frame received by each central node after the end of the timing period has not appeared as 1 or in the neighbor list saved by the central node The network status identifier corresponding to the device identifier of the child node has not been updated to an active online identifier, and the central node sends an offline indication message to the child node. If the value of the bit corresponding to the device ID of the node is 1 or the network status ID corresponding to the device ID of the child node in the neighbor list saved by the central node is updated to the active online ID, the central node judges that the child node is online. After each heartbeat detection processing cycle is completed, the central node initializes the locally stored heartbeat BITMAP to be all 0.
  • the central node For the heartbeat detection of the nodes in the communication network, the central node, as the aforementioned communication node, obtains the network status of the nodes in the communication network through the beacon frame heartbeat BITMAP sent by each node in the communication network.
  • the beacon frame carries the heartbeat bitmap information of each node.
  • the sub-node After the sub-node joins the network, it starts a periodic timer for initializing the neighbor list, and the sub-node receives the SOF frame or beacon frame of the neighbor node. Then, update the locally saved neighbor list information for heartbeat statistics.
  • the child node Before sending the beacon frame, the child node updates the heartbeat bitmap in the received beacon frame according to the locally saved neighbor list information as the beacon to be sent.
  • the heartbeat bitmap of the frame After the central node receives the beacon frame of the sub-nodes in the network, it updates the locally stored heartbeat bitmap information for heartbeat detection.
  • the central node periodically performs heartbeat detection processing. The timing period for the heartbeat detection of the central node is longer than the initialization period for the neighbor list of the child nodes.
  • the embodiment of the present invention reduces the sending of network maintenance messages by carrying a heartbeat bitmap used to indicate whether each node in the network is online in the beacon frame, and the collection of heartbeat detection information does not depend on each node reporting heartbeat detection messages. , thereby reducing the preemption of CSMA time slots by non-meter reading services in the system and improving the effective utilization of system resources; at the same time, the central node and its sub-nodes do not need to store a large amount of heartbeat-related content locally, and the processing process is simple and easy to implement. The implementation complexity is reduced.
  • the embodiment of the present invention and Embodiment 1 belong to the same inventive concept.
  • the embodiment of the present invention provides a communication system for detecting heartbeat, and the communication system for detecting heartbeat includes:
  • 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, wherein the beacon frame sent by the neighbor node has an increased bit bit, and the bit bit is related to the communication network
  • the device identifier of the inner node corresponds, and the value of the bit bit includes the 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 configured to update the network status identifier corresponding to the device identifier of the neighbor node in the local neighbor list as an active online identifier;
  • the communication node module is further configured to generate local heartbeat detection information through the local neighbor list, and execute the sending of the local heartbeat detection information.
  • the communication system for detecting the heartbeat further includes:
  • a central node module configured to receive a beacon frame sent by a node in the communication network, and save the heartbeat detection information in the beacon frame;
  • the central node module is used to start the current timing cycle, perform heartbeat detection of the nodes of the communication network, and determine whether the node corresponding to the device identifier in the heartbeat detection information is active online;
  • the central node module is further configured to send an offline indication message to the node that is not actively online when it is determined that the node corresponding to the device identifier in the heartbeat detection information is not actively online.
  • the communication node module and the central node module may be one or more processors or chips with a communication interface capable of implementing a communication protocol, respectively, and may also include a memory and related interfaces, a system if necessary A transmission bus, etc.; the processor or chip executes program-related codes to implement corresponding functions.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Power Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种检测心跳的通信方法、系统、设备及存储介质,属于通信技术领域。所述方法包括:确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,所述邻居节点发送的信标帧具有增加的比特位,所述比特位与所述通信网络内节点的设备标识对应,所述比特位的值包括与所述通信网络内被所述邻居节点记录到的节点的设备标识对应的心跳检测信息;更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识;通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送。本发明可用于无线宽带电力通信系统心跳发送与检测。

Description

检测心跳的通信方法、系统、设备及存储介质 技术领域
本发明涉及通信技术领域,具体地涉及一种检测心跳的通信方法、一种检测心跳的通信系统、一种电子设备和一种计算机可读存储介质。
背景技术
无线宽带电力通信系统中,中心节点(Central Coordinator,CCO,亦可称为中央协调器、中央节点)需要及时感知通信网络中子节点的在网状态,以便于进行网络管理,其中,通信网络中节点或子节点可分为代理节点或代理站点或代理协调器Proxy Coordinator(PCO),以及一般节点或站点Station(STA)。心跳检测是检测站点是否离线的一种机制,一般可以通过每间隔一定时间发送心跳数据,来检测对方是否连接。对于低压电力线宽带载波通信系统心跳检测,常规的是,在组网过程中,每个站点可以根据接收的发现信标,感知自己的邻居站点,并记录下来,形成一个发现列表。每个发现站点定时周期的发送发现列表报文,用于代理站点判断发现站点是否活跃在线。代理站点将本地维护的发现列表中的站点活跃信息,通过定周期的心跳检测报文,发送给CCO,以便CCO汇总全网站点是否在线的信息。在心跳检测报文的发送过程中,低层级的代理站点,通过高层级代理站点的心跳检测报文触发,产生新的心跳检测报文,最终可以由CCO汇总全网站点。然而发现列表报文和心跳检测报文都是周期性的,涉及的网络维护报文较多,占用了较多的CSMA(载波侦听多路访问,Carrier Sense Multiple Access)时隙,对于抄表等业务有较大影响。
发明内容
本发明的目的是提供一种检测心跳的通信方法、系统、设备及存储介质,避免网络维护报文过多导致的CSMA时隙占用、难以进行通信业务,进而改善各节点心跳检测的效率和通信系统资源利用率。
为了实现上述目的,本发明实施例提供一种检测心跳的通信方法,该检测心跳的通信方法包括:
确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,所述邻居节点发送的信标帧具有增加的比特位,所述比特位与所述通信网络内节点的设备标识对应,所述比特位的值包括与所述通信网络内被所述邻居节点记录到的节点的设备标识对应的心跳检测信息;
更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识;
通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送。
具体的,该检测心跳的通信方法还包括:
确定在所述定时周期内接收到所述通信网络内所述邻居节点发送的帧起始帧;
更新所述本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识。
具体的,所述确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,
增加的比特位有N个比特位,第i个比特位具体与所述通信网络内中心节点分配的第i个设备标识对应,N为正整数,i为正整数且小于等于N。
具体的,所述确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,
所述心跳检测信息为心跳位图信息,所述心跳位图信息占用的比特位等 于或近似等于所述通信网络最大可接入的节点的个数。
具体的,在所述更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识之后,且在所述通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送之前,还包括:
增加与所述邻居节点的设备标识对应的信标帧的个数于所述本地邻居列表。
具体的,在所述更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识之后,且在所述通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送之前,还包括:
更新所述本地邻居列表中与所述邻居节点发送的信标帧中值为1的比特位对应的设备标识的网络状态标识为活跃在线标识。
具体的,所述通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送,包括:
根据接收到的信标帧中信标分配信息,确定是否发送本地的信标帧,其中,所述接收到的信标帧和所述本地的信标帧均具有所述比特位;
在确定发送本地的信标帧之后,根据所述本地邻居列表中与所述活跃在线标识对应的设备标识和所述比特位的对应关系,
分别将所述接收到的信标帧中具有所述对应关系的比特位的值更新为活跃在线标记值,并同时,根据所述接收到的信标帧中心跳检测信息,保留所述接收到的信标帧中比特位已具有的活跃在线标记值,
获得具有合并的心跳检测信息的本地的信标帧,并发送具有合并的心跳检测信息的本地的信标帧。
在确定在定时周期内接收到通信网络内邻居节点发送的信标帧之后,所述方法还包括:
保存所述信标帧中的心跳检测信息;
启动当前的定时周期,执行所述通信网络的节点的心跳检测,确定所述心跳检测信息中与设备标识对应的节点是否活跃在线;
在确定所述心跳检测信息中与设备标识对应的节点不是活跃在线时,向不是活跃在线的节点发送离线指示报文。
本发明实施例提供一种检测心跳的通信系统,该检测心跳的通信系统包括:
通信节点模块,用于确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,所述邻居节点发送的信标帧具有增加的比特位,所述比特位与所述通信网络内节点的设备标识对应,所述比特位的值包括与所述通信网络内被所述邻居节点记录到的节点的设备标识对应的心跳检测信息;
所述通信节点模块用于更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识;
所述通信节点模块还用于通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送。
具体的,该检测心跳的通信系统还包括:
中心节点模块,用于接收所述通信网络内节点发送的信标帧,保存所述信标帧中的心跳检测信息;
所述中心节点模块用于启动当前的定时周期,执行所述通信网络的节点的心跳检测,确定所述心跳检测信息中与设备标识对应的节点是否活跃在线;
所述中心节点模块还用于在确定所述心跳检测信息中与设备标识对应的节点不是活跃在线时,向不是活跃在线的节点发送离线指示报文。
再一方面,本发明实施例提供一种电子设备,该电子设备包括:
至少一个处理器;
存储器,与所述至少一个处理器连接;
其中,所述存储器存储有能被所述至少一个处理器执行的指令,所述至 少一个处理器通过执行所述存储器存储的指令,所述至少一个处理器通过执行所述存储器存储的指令实现前述的方法。
又一方面,本发明实施例提供一种计算机可读存储介质,存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行前述的方法。
本发明实施例的其它特征和优点将在随后的具体实施方式部分予以详细说明。
附图说明
附图是用来提供对本发明实施例的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明实施例,但并不构成对本发明实施例的限制。在附图中:
图1为本发明实施例的主要方法的步骤示意图;
图2为本发明实施例的示例性子节点心跳统计与发送处理流程示意图;
图3为本发明实施例的示例性子节点合并比特位的值处理流程示意图;
图4为本发明实施例的示例性中心节点心跳统计处理流程示意图;
图5为本发明实施例的示例性中心节点心跳检测处理流程示意图。
具体实施方式
以下结合附图对本发明实施例的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明实施例,并不用于限制本发明实施例。
实施例1
本发明实施例提供了检测心跳的通信方法,本发明实施例可用于无线宽带电力通信系统心跳发送与检测,如图1,该检测心跳的通信方法包括:
确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,所 述邻居节点发送的信标帧具有增加的比特位,所述比特位与所述通信网络内节点的设备标识对应,所述比特位的值包括与所述通信网络内被所述邻居节点记录到的节点的设备标识对应的心跳检测信息;
更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识,其中,邻居节点可以是一个或多个节点,比特位的值可以为0或1,心跳检测信息可以包括增加的比特位中比特位的值为1的心跳位图信息,具有与值为1的比特位对应的设备标识的节点可以为活跃在线,也可以还包括增加的比特位中比特位的值为0的心跳位图信息,具有与值为0的比特位对应的设备标识的节点可以为不在线,增加的比特位可以是比特序列(具有顺序),顺序性可以按与节点入网时,被分配的设备标识的时隙大小排序;
更新本地邻居列表中与所述邻居节点发送的信标帧中比特位对应的设备标识的网络状态标识为活跃在线标识,若该信标帧不需要本地的节点再发送信标帧,则可暂时结束发送,其中,可以根据值为1的比特位所对应的设备标识,将本地邻居列表中这些设备标识的网络状态标识更改为活跃在线标识,值为0的比特位所对应的设备标识可以忽略或者视为与本地邻居列表合并,即本地邻居列表中有设备标识的网络状态标识在本次定时周期内已被更新为活跃在线标识,但信标帧中该设备标识对应的比特位的值仍可以为0或1,比特位的值为0时可以在本次定时周期内不进行本地邻居列表中该设备标识对应的网络状态标识为不在线的更改;
通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送。
在一些具体实施中,本发明实施例中通信网络可以包括中心节点(CCO)和通信节点,通信节点可以包括代理节点(PCO)和一般节点(可以简称站点或子节点或节点,STA),该两者角色可以是中心节点所分配的或通信节 点自行设置的(如STA可以设置PCO);在通信节点进行关联请求后,中心节点若允许加入通信网络时,中心节点会根据可用的时隙资源,分配该通信节点的设备标识(即终端设备标识,Terminal Equipment Identifier,TEI),例如第0字节的第1比特位的值为1,表示发现TEI为1的站点,第1字节的第0比特位的值为1,表示发现TEI为8的站点,相应地,在通信节点被视为离线时,中心节点会回收该TEI和对应的时隙资源;此处的检测心跳的通信方法可以是当前通信节点(任意一个PCO或STA)与邻居节点进行,邻居节点可以是相对在通信网络中通信连接上与当前通信节点相邻的一个通信节点,邻居节点在一些情况下,也可以被作为当前通信节点,并且在一些通信网络中,中心节点也可以有邻居节点,此时邻居节点还可以是中心节点。
可以对通信网络中节点(CCO、PCO和STA)进行配置,可以让每个节点均具有增加的比特位,也可以让通信节点具有增加的比特位即可;该增加的比特位可以是固定大小的比特位,也可以跟随接入通信网络的节点的个数进行扩展,该比特位上对应的节点可以按照曾加入通信网络时被分配的TEI的顺序,在信标帧中增加一定数量的(N个)比特位,用于表示该网络内各节点的心跳检测信息,其中,第i比特位对应TEI为i的节点,该比特位为0表示TEI为i的节点不在线,为1则表示TEI为i的节点在线,N为正整数,i为正整数且小于等于N。信标帧中比特位和比特位的值,可以形成心跳位图信息(BITMAP),心跳位图信息占用比特位大约等于网络最大可接入的节点个数,可根据接入通信网络的节点数量等实际情况有所调整。
对于子节点(或代理节点)心跳统计与发送处理,如图2所示,子节点入网后,首先需要启动一个用于初始化邻居列表信息的周期定时器,邻居列表信息主要存储用于标识该邻居节点是否有效的标志及在一个定时器周期内发送的SOF帧(Start of Frame,可以称为帧起始帧)和信标帧的个数等信息,定时器超时后,将邻居列表(本地邻居列表)内容进行初始化处理,保 证子节点对于邻居节点信息统计的有效性,邻居列表中可以包括节点的设备标识、与设备标识对应的在线标识、与设备标识对应的SOF帧和信标帧个数等信息。
具体的,可以确定在所述定时周期内接收到所述通信网络内所述邻居节点发送的帧起始帧或信标帧,具体确定操作的实现先后顺序是根据实际情况中邻居节点发送的帧决定的,此处并不是限定的实施。
若子节点收到来自网络内邻居节点的SOF帧,说明该邻居节点是活跃在线的,则更新本地保存的邻居列表信息,将对应的邻居表项flag(网络状态标识)设为有效,如更新为活跃在线(即在线)标识,以表明该邻居节点是活跃在线的。
若子节点收到来自网络内邻居节点的信标帧,说明该邻居节点是活跃在线的,则更新本地保存的邻居列表信息,将对应的邻居表项flag设为有效,以表明该邻居节点是活跃在线的,同时将接收信标帧个数计数加一。该邻居节点的信标帧计数可以用于子节点代理变更时重新选择代理的依据之一。
以上根据邻居节点的SOF帧或信标帧更新本地的邻居列表信息的过程可以随不断接收的SOF帧或信标帧,多次循环地执行。
然后在接收到一些信标帧时,该信标帧可以还具有预先定义的时隙分配,该时隙分配可以告知接收该信标帧的通信节点,需要在指定的时间内发送回去相应的信标帧。例如接收到的信标帧可以是中心节点发送的需要当前通信节点发送信标帧的信标帧(中心信标或中央信标),也可以是通信网络内其他节点向当前通信节点发送的,根据收到的信标帧中的信标分配信息,可以判断是否需要发送信标帧,若本子节点本次需要且可以发送信标帧(代理信标或发现信标),则将本地保存的邻居列表中活跃邻居节点的TEI按比特位对位合并到之前收到的信标帧中的心跳BITMAP中,作为即将发送的信标帧的心跳BITMAP,具体的,根据接收到的信标帧中信标分配信息,确定是否 发送本地的信标帧,其中,所述接收到的信标帧和所述本地的信标帧均具有所述比特位。
在确定发送本地的信标帧之后,根据所述本地邻居列表中与所述活跃在线标识对应的设备标识和所述比特位的对应关系,合并所述接收到的信标帧中心跳检测信息至待发送的本地的信标帧中心跳检测信息,更具体地,可以分别将所述接收到的信标帧中具有所述对应关系的比特位的值更新为活跃在线标记值,并同时,根据所述接收到的信标帧中心跳检测信息(即各个比特位和比特位上相应的值),保留所述接收到的信标帧中比特位已具有的活跃在线标记值,可以通过当前的比特位和比特位上相应的值获得即将发送本地的信标帧(具有合并的心跳检测信息或本地的心跳检测信息),并发送具有合并的心跳检测信息的本地的信标帧。
例如,如图3,当前子节点的邻居列表被初始化后,邻居列表中与设备标识TEI 1-TEI 9对应的网络状态标识可均为0(不在线标识,1可代表活跃在线标识),在接收到邻居节点1的信标帧之后,可以按比特位与设备标识的对应关系,更新并记录于邻居列表中,此时,邻居列表中与设备标识TEI 1-TEI 9对应的网络状态标识可分别依次为0、0、1、0、1、0、0、1、1,此后,可以收到邻居节点2的信标帧,该收到的信标帧中信标分配信息需要当前子节点发送信标帧,则该当前子节点可以更新比特位的值,当前子节点处理中的信标帧的比特位和比特位值构成的比特序列可以是001010011,并把接收到的信标帧中与设备标识对应的比特位的值(101101110)按比特位或设备标识与比特序列进行合并,则当前子节点可以得到即将发送的信标帧的比特序列为101111111,该比特序列具有合并的心跳检测信息(合并后的心跳BITMAP);简而言之,在本发明实施例中,在本次定时周期内,邻居节点发送的信标帧中心跳BITMAP中值为1的比特位可以合并或更新至本地的心跳BITMAP中值为0和1中,此时,本地的心跳BITMAP中值为0的比特位 被更改为值为1,本地的心跳BITMAP中值为1的比特位被合并为值为1,本地的心跳BITMAP中值为1的比特位保持不变,而邻居节点发送的信标帧中心跳BITMAP中值为0的比特位也可以合并至本地的心跳BITMAP中,并可以不影响本地的心跳BITMAP中各个比特位的值,本地的心跳BITMAP中值为1的比特位保持不变,本地的心跳BITMAP中值为0的比特位也保持不变。
需要提出的是,邻居节点(不妨作为第一邻居节点)在发送信标帧或SOF帧之前,第一邻居节点可以接收由与第一邻居节点相邻的第二邻居节点(一个或多个节点)曾发送的信标帧,并获得了各个设备标识对应的心跳检测信息,即相应比特位上对应的比特位值,该第一邻居节点发送的信标帧中比特位的值不仅可以包括被第一邻居节点记录到的节点的设备标识对应的心跳检测信息,该比特位的值还可以包括被第二邻居节点记录到的节点的设备标识对应的心跳检测信息,第一邻居节点所发送的信标帧中具有合并的心跳检测信息。
本发明实施例还提供了检测心跳的通信方法,该检测心跳的通信方法包括:
接收前述的检测心跳的通信方法中的通信网络内节点发送的信标帧,保存所述信标帧中的心跳检测信息;
启动当前的定时周期,执行所述通信网络的节点的心跳检测,确定所述心跳检测信息中与设备标识对应的节点是否活跃在线;
在确定所述心跳检测信息中与设备标识对应的节点不是活跃在线时,向不是活跃在线的节点发送离线指示报文。
对于中心节点心跳统计处理,如图4所示,中心节点在上电后,首先初始化本地保存的心跳BITMAP全部为0。在收到本网络内子节点的信标帧后,将信标帧中的心跳BITMAP与本地保存的心跳BITMAP合并,并保存在本 地,以供心跳检测使用。
对于中心节点心跳检测处理,如图5所示,中心节点在网络组网完成后,启动一个周期定时器,用于心跳检测的定时处理。心跳检测定时器超时后,中心节点根据本地保存的心跳BITMAP判断各子节点是否在线,BITMAP中比特位i值为0,表示TEI为i的子节点不在线,比特位i值为1表示TEI为i的子节点在线。对于判断为不在线的子节点,如若定时周期结束后各个中心节点收到的信标帧中该子节点的设备标识所对应的比特位的值没有出现过为1或中心节点保存的邻居列表中该子节点的设备标识所对应的网络状态标识没有被更新为活跃在线标识,中心节点给该子节点发送离线指示报文,若定时周期结束前,各个中心节点收到的信标帧中该子节点的设备标识所对应的比特位的值出现过为1或中心节点保存的邻居列表中该子节点的设备标识所对应的网络状态标识被更新为活跃在线标识,中心节点则判断该子节点为在线。中心节点在每个心跳检测处理周期完成后,初始化本地保存的心跳BITMAP全部为0。
对于执行所述通信网络的节点的心跳检测,中心节点作为前述的通信节点,通过通信网络内各个节点发送的信标帧中心跳BITMAP,获得通信网络内节点的网络状态。
本发明实施例在信标帧中携带各节点的心跳位图信息,子节点在入网后,启动一个用于初始化邻居列表的周期定时器,子节点在收到邻居节点的SOF帧或信标帧后,更新本地保存的邻居列表信息,用于心跳统计,子节点在发送信标帧前,根据本地保存的邻居列表信息更新收到的信标帧中的心跳位图,作为即将发送的信标帧的心跳位图,中心节点收到本网络内子节点的信标帧后,更新本地保存的心跳位图信息,以供心跳检测使用,中心节点定周期进行心跳检测处理。中心节点进行心跳检测的定时周期时长要大于子节点的邻居列表初始化周期时长。
本发明实施例通过在信标帧中携带用于标示网络中各节点是否在线的心跳位图,减少了网络维护报文的发送,心跳检测信息的收集不依赖于各个节点特别上报心跳检测报文,从而降低了系统非抄表业务对CSMA时隙的抢占,提高了系统资源的有效利用率;同时,中心节点及其子节点本地均不用存储大量心跳相关的内容,且处理流程简单易行,降低了实现复杂度。
实施例2
本发明实施例与实施例1属于同一发明构思,本发明实施例提供了检测心跳的通信系统,该检测心跳的通信系统包括:
通信节点模块,用于确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,所述邻居节点发送的信标帧具有增加的比特位,所述比特位与所述通信网络内节点的设备标识对应,所述比特位的值包括与所述通信网络内被所述邻居节点记录到的节点的设备标识对应的心跳检测信息;
所述通信节点模块用于更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识;
所述通信节点模块还用于通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送。
具体的,该检测心跳的通信系统还包括:
中心节点模块,用于接收所述通信网络内节点发送的信标帧,保存所述信标帧中的心跳检测信息;
所述中心节点模块用于启动当前的定时周期,执行所述通信网络的节点的心跳检测,确定所述心跳检测信息中与设备标识对应的节点是否活跃在线;
所述中心节点模块还用于在确定所述心跳检测信息中与设备标识对应的节点不是活跃在线时,向不是活跃在线的节点发送离线指示报文。
在本申请的实施例中,所述通信节点模块、中心节点模块分别可以是具有通信接口能够实现通信协议的一个或多个处理器或者芯片,如有需要还可 以包括存储器及相关的接口、系统传输总线等;所述处理器或者芯片执行程序相关的代码实现相应的功能。
以上结合附图详细描述了本发明实施例的可选实施方式,但是,本发明实施例并不限于上述实施方式中的具体细节,在本发明实施例的技术构思范围内,可以对本发明实施例的技术方案进行多种简单变型,这些简单变型均属于本发明实施例的保护范围。
另外需要说明的是,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合。为了避免不必要的重复,本发明实施例对各种可能的组合方式不再另行说明。
本领域技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得单片机、芯片或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
此外,本发明实施例的各种不同的实施方式之间也可以进行任意组合,只要其不违背本发明实施例的思想,其同样应当视为本发明实施例所公开的内容。

Claims (12)

  1. 一种检测心跳的通信方法,其特征在于,该检测心跳的通信方法包括:
    确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,所述邻居节点发送的信标帧具有增加的比特位,所述比特位与所述通信网络内节点的设备标识对应,所述比特位的值包括与所述通信网络内被所述邻居节点记录到的节点的设备标识对应的心跳检测信息;
    更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识;
    通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送。
  2. 根据权利要求1所述的检测心跳的通信方法,其特征在于,该检测心跳的通信方法还包括:
    确定在所述定时周期内接收到所述通信网络内所述邻居节点发送的帧起始帧;
    更新所述本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识。
  3. 根据权利要求1所述的检测心跳的通信方法,其特征在于,所述确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,
    增加的比特位有N个比特位,第i个比特位具体与所述通信网络内中心节点分配的第i个设备标识对应,N为正整数,i为正整数且小于等于N。
  4. 根据权利要求3所述的检测心跳的通信方法,其特征在于,所述确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,
    所述心跳检测信息为心跳位图信息,所述心跳位图信息占用的比特位等 于或近似等于所述通信网络最大可接入的节点的个数。
  5. 根据权利要求1所述的检测心跳的通信方法,其特征在于,在所述更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识之后,且在所述通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送之前,还包括:
    增加与所述邻居节点的设备标识对应的信标帧的个数于所述本地邻居列表。
  6. 根据权利要求1所述的检测心跳的通信方法,其特征在于,在所述更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识之后,且在所述通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送之前,还包括:
    更新所述本地邻居列表中与所述邻居节点发送的信标帧中值为1的比特位对应的设备标识的网络状态标识为活跃在线标识。
  7. 根据权利要求1至6中任意一项所述的检测心跳的通信方法,其特征在于,所述通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送,包括:
    根据接收到的信标帧中信标分配信息,确定是否发送本地的信标帧,其中,所述接收到的信标帧和所述本地的信标帧均具有所述比特位;
    在确定发送本地的信标帧之后,根据所述本地邻居列表中与所述活跃在线标识对应的设备标识和所述比特位的对应关系,
    分别将所述接收到的信标帧中具有所述对应关系的比特位的值更新为活跃在线标记值,并同时,根据所述接收到的信标帧中心跳检测信息,保留 所述接收到的信标帧中比特位已具有的活跃在线标记值,
    获得具有合并的心跳检测信息的本地的信标帧,并发送具有合并的心跳检测信息的本地的信标帧。
  8. 根据权利要求1至6任一项所述的检测心跳的通信方法,其特征在于,在确定在定时周期内接收到通信网络内邻居节点发送的信标帧之后,所述方法还包括:
    保存所述信标帧中的心跳检测信息;
    启动当前的定时周期,执行所述通信网络的节点的心跳检测,确定所述心跳检测信息中与设备标识对应的节点是否活跃在线;
    在确定所述心跳检测信息中与设备标识对应的节点不是活跃在线时,向不是活跃在线的节点发送离线指示报文。
  9. 一种检测心跳的通信系统,其特征在于,该检测心跳的通信系统包括:
    通信节点模块,用于确定在定时周期内接收到通信网络内邻居节点发送的信标帧,其中,所述邻居节点发送的信标帧具有增加的比特位,所述比特位与所述通信网络内节点的设备标识对应,所述比特位的值包括与所述通信网络内被所述邻居节点记录到的节点的设备标识对应的心跳检测信息;
    所述通信节点模块用于更新本地邻居列表中与所述邻居节点的设备标识对应的网络状态标识为活跃在线标识;
    所述通信节点模块还用于通过所述本地邻居列表生成本地的心跳检测信息,执行所述本地的心跳检测信息的发送。
  10. 根据权利要求9所述的检测心跳的通信系统,其特征在于,该检测心跳的通信系统还包括:
    中心节点模块,用于接收所述通信网络内节点发送的信标帧,保存所述信标帧中的心跳检测信息;
    所述中心节点模块用于启动当前的定时周期,执行所述通信网络的节点的心跳检测,确定所述心跳检测信息中与设备标识对应的节点是否活跃在线;
    所述中心节点模块还用于在确定所述心跳检测信息中与设备标识对应的节点不是活跃在线时,向不是活跃在线的节点发送离线指示报文。
  11. 一种电子设备,其特征在于,该电子设备包括:
    至少一个处理器;
    存储器,与所述至少一个处理器连接;
    其中,所述存储器存储有能被所述至少一个处理器执行的指令,所述至少一个处理器通过执行所述存储器存储的指令实现权利要求1至8中任意一项权利要求所述的方法。
  12. 一种计算机可读存储介质,存储有计算机指令,当所述计算机指令在计算机上运行时,使得计算机执行权利要求1至8中任意一项权利要求所述的方法。
PCT/CN2021/128567 2020-11-19 2021-11-04 检测心跳的通信方法、系统、设备及存储介质 WO2022105612A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011297867.XA CN112104528B (zh) 2020-11-19 2020-11-19 检测心跳的通信方法、系统、设备及存储介质
CN202011297867.X 2020-11-19

Publications (1)

Publication Number Publication Date
WO2022105612A1 true WO2022105612A1 (zh) 2022-05-27

Family

ID=73785337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/128567 WO2022105612A1 (zh) 2020-11-19 2021-11-04 检测心跳的通信方法、系统、设备及存储介质

Country Status (2)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333983A (zh) * 2022-08-16 2022-11-11 超聚变数字技术有限公司 心跳管理方法及节点
CN116032619A (zh) * 2022-12-30 2023-04-28 北京欣博电子科技有限公司 智能安全联网设备的状态巡检方法及装置
WO2023246425A1 (zh) * 2022-06-24 2023-12-28 华为技术有限公司 一种通信方法及相关设备
CN116032619B (zh) * 2022-12-30 2024-06-04 北京欣博电子科技有限公司 智能安全联网设备的状态巡检方法及装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112104528B (zh) * 2020-11-19 2021-02-19 北京智芯微电子科技有限公司 检测心跳的通信方法、系统、设备及存储介质
CN114363096B (zh) * 2022-03-21 2022-07-05 中国电建集团华东勘测设计研究院有限公司 一种跨安全分区的数据接入传输系统
CN117793757A (zh) * 2024-02-18 2024-03-29 山东浪潮数据库技术有限公司 一种分布式网络的心跳检测方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110149858A1 (en) * 2009-12-18 2011-06-23 Electronics And Telecommunications Research Institute Mesh routing method and mesh routing apparatus in beacon enabled wireless ad-hoc networks
CN106100698A (zh) * 2016-06-12 2016-11-09 南京南瑞集团公司 一种应用于用电信息采集的电力线载波模块的组网方法
CN108696297A (zh) * 2017-04-10 2018-10-23 华为技术有限公司 电力线通信网络中设备状态检测方法和装置
CN112104528A (zh) * 2020-11-19 2020-12-18 北京智芯微电子科技有限公司 检测心跳的通信方法、系统、设备及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8902822B2 (en) * 2008-03-11 2014-12-02 Intel Corporation Arrangements for association and re-association in a wireless network
CN107426003B (zh) * 2017-05-02 2019-12-13 华为技术有限公司 一种故障检测方法及装置
CN109213684B (zh) * 2018-09-18 2022-01-28 北京工业大学 基于OpenMP线程心跳检测技术的程序检测方法及应用

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110149858A1 (en) * 2009-12-18 2011-06-23 Electronics And Telecommunications Research Institute Mesh routing method and mesh routing apparatus in beacon enabled wireless ad-hoc networks
CN106100698A (zh) * 2016-06-12 2016-11-09 南京南瑞集团公司 一种应用于用电信息采集的电力线载波模块的组网方法
CN108696297A (zh) * 2017-04-10 2018-10-23 华为技术有限公司 电力线通信网络中设备状态检测方法和装置
CN112468372A (zh) * 2017-04-10 2021-03-09 华为技术有限公司 电力线通信网络中设备状态检测方法和装置
CN112104528A (zh) * 2020-11-19 2020-12-18 北京智芯微电子科技有限公司 检测心跳的通信方法、系统、设备及存储介质

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023246425A1 (zh) * 2022-06-24 2023-12-28 华为技术有限公司 一种通信方法及相关设备
CN115333983A (zh) * 2022-08-16 2022-11-11 超聚变数字技术有限公司 心跳管理方法及节点
CN115333983B (zh) * 2022-08-16 2023-10-10 超聚变数字技术有限公司 心跳管理方法及节点
CN116032619A (zh) * 2022-12-30 2023-04-28 北京欣博电子科技有限公司 智能安全联网设备的状态巡检方法及装置
CN116032619B (zh) * 2022-12-30 2024-06-04 北京欣博电子科技有限公司 智能安全联网设备的状态巡检方法及装置

Also Published As

Publication number Publication date
CN112104528A (zh) 2020-12-18
CN112104528B (zh) 2021-02-19

Similar Documents

Publication Publication Date Title
WO2022105612A1 (zh) 检测心跳的通信方法、系统、设备及存储介质
US20210399989A1 (en) Method and device for data transmission, method and device for quality of service flow management, and storage medium
US11671864B2 (en) Joint transmission method and communications apparatus
US20230209536A1 (en) Multi-link communication method, traffic-to-link mapping method, and device
US10813032B2 (en) Systems and methods for neighboring node discovery in a network
US20220346166A1 (en) Multi-link communication method, apparatus, and system
WO2020088314A1 (zh) 信息传输方法及节点设备
CN108366438B (zh) 大规模自组织无线通信的生成簇组网方法和生成簇网络
CN113873455A (zh) 流量统计方法及其系统、计算机可读存储介质
CN113923751A (zh) 一种节点入网的方法、装置、设备及可读存储介质
US11165864B2 (en) Information synchronization method and apparatus
US11489737B2 (en) Network performance assurance method and apparatus
Kuhn et al. Radio network clustering from scratch
KR101874575B1 (ko) 최대 어웨이 지속기간
CN116249077A (zh) 获取工作组成员通信路由状态的方法及装置
WO2018233646A1 (zh) 唤醒方法、接入点和站点
WO2022134697A1 (zh) 一种接口数据的交互方法、分布式单元以及中心单元
US20230345517A1 (en) Data Transmission Method and Apparatus
Lu et al. A dynamic token passing MAC protocol for mobile ad hoc networks
CN111327418B (zh) 一种基于G.hn的域名及密码更新方法及系统
CN114691734A (zh) 缓存管控方法、装置、计算机可读介质及电子设备
CN113923708B (zh) 辅节点的接入和释放方法、装置、电子设备及存储介质
CN116599891B (zh) 双模通信方法、装置和计算机可读存储介质
CN111343589A (zh) 通信组网方法、子节点设备及主节点设备
WO2024067029A1 (zh) 一种随机接入的参数选择方法及装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21893759

Country of ref document: EP

Kind code of ref document: A1