Search

CN-115551113-B - Topology construction method and related equipment

CN115551113BCN 115551113 BCN115551113 BCN 115551113BCN-115551113-B

Abstract

The application provides a topology construction method and related equipment. The topology construction method comprises the steps of generating a second signaling for requesting to establish the connection relation based on a first signaling which is sent by an upper computer and contains the connection relation between a target node and a target sub-node in a target network topology, sending the second signaling to the target sub-node, and determining that establishment of the connection relation is completed through a third signaling returned by the target sub-node. According to the scheme, the upper computer and the node equipment are utilized to realize the dynamic topology construction of the sensor network, so that the high controllability of the sensor network is realized, and the reconstruction requirement of the electric power Internet of things of full I P in the future is met.

Inventors

  • Song Jigao
  • WANG XUANZHONG
  • ZHANG YANAN
  • GONG SHUANG
  • WANG QIAN
  • OU QINGHAI
  • GAO JINZHAO
  • KONG XIANGYU

Assignees

  • 北京中电飞华通信有限公司
  • 国网信息通信产业集团有限公司

Dates

Publication Date
20260512
Application Date
20220823
Priority Date
20220622

Claims (9)

  1. 1. A topology construction method, comprising: Receiving a first signaling sent by an upper computer in a broadcasting mode, wherein the first signaling is generated by the upper computer according to a target network topology, and the target network topology is generated by utilizing visual dragging software; analyzing the first signaling to obtain a signaling type, a target node ID and a target child node ID; Generating a second signaling according to the first signaling in response to determining that the signaling type of the first signaling is control signaling and the self ID is consistent with the target node ID, wherein the second signaling comprises an information existence mark, a target node ID and a target child node ID; sending the second signaling to a target child node according to the target child node ID to request to establish a connection relationship with the target child node; Determining that the establishment of the connection relation with the target child node is completed in response to receiving a third signaling returned by the target child node, wherein the third signaling is generated by the target child node in response to determining that an information existence mark of the second signaling is existence; the method also comprises the step of reporting topology information by the following method: receiving a fourth signaling sent by any downstream node; analyzing the fourth signaling to obtain the signaling type, the first topology description information and the first topology description length of the fourth signaling; And generating a fifth signaling according to the fourth signaling in response to determining that the signaling type of the fourth signaling is the notification signaling, and transmitting the fifth signaling to an upper computer through an upstream node relay, wherein the fifth signaling comprises the signaling type, second topology description information and second topology description length.
  2. 2. The method of claim 1, wherein the generating fifth signaling from the fourth signaling comprises: Reading the first topology description information according to the first topology description length to obtain a first field; generating the second topology description information according to the first field, and determining the second topology description length according to the second topology description information to obtain the fifth signaling; wherein the first field includes an ID of the downstream node represented in a four-bit binary number.
  3. 3. The method of claim 2, wherein the second topology description information includes the first field and a second field, wherein the second field is a self-ID represented in a four-bit binary number.
  4. 4. A topology construction method, comprising: The method comprises the steps of sending a first signaling in a broadcasting mode, wherein the first signaling is generated by an upper computer according to a target network topology, and comprises a signaling type, a target node ID and a target child node ID, and the target network topology is generated by utilizing visual dragging software; and receiving complete topology information generated based on a fifth signaling to monitor the operation condition of the network topology, wherein the fifth signaling is generated according to a fourth signaling in response to determining that the type of the fourth signaling is an announcement signaling, and the fourth signaling is a signaling sent by any downstream node.
  5. 5. The method of claim 4, further comprising generating the first signaling by: and creating an array set according to the target network topology so as to represent the connection relation of the nodes of the target network topology, and generating the first signaling according to the array set.
  6. 6. The method of claim 5, wherein the array set includes a number of elements, each element representing a connection relationship between any two nodes of the target network topology.
  7. 7. A node device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, wherein the processor implements the method of any of claims 1 to 3 when executing the computer program.
  8. 8. A host computer comprising a memory, a processor and a computer program stored on the memory and executable by the processor, wherein the processor implements the method of any one of claims 4 to 6 when executing the computer program.
  9. 9. A topology building system, comprising: the node device as claimed in claim 7; The host computer as claimed in claim 8.

Description

Topology construction method and related equipment Technical Field The present application relates to the field of communications technologies, and in particular, to a topology construction method and related devices. Background Along with the acceleration of urban process in China, urban and rural power grid deployment, capacity expansion, transformation and other requirements are frequent, and a sensor network matched with the urban and rural power grid deployment, capacity expansion, transformation and other requirements faces the problem of repeated planning. And because the running condition of the power grid changes frequently, the flow distribution condition of the sensor network also changes. In a grid monitoring application scenario, the sensor network needs to have a high controllable characteristic. In the related art, for example, in a sensor network with a traditional tree topology, overload of sink nodes can cause excessive energy consumption, packet loss and even network breakdown. Disclosure of Invention Accordingly, an objective of the present application is to provide a topology construction method and related devices to solve or partially solve the above-mentioned problems. The first aspect of the present application provides a topology construction method using node equipment as an execution body, including: receiving a first signaling sent by an upper computer in a broadcasting mode, wherein the first signaling is generated by the upper computer according to a target network topology; analyzing the first signaling to obtain a signaling type, a target node ID and a target child node ID; Generating a second signaling according to the first signaling in response to determining that the signaling type of the first signaling is control signaling and the self ID is consistent with the target node ID, wherein the second signaling comprises an information existence mark, a target node ID and a target child node ID; sending the second signaling to a target child node according to the target child node ID to request to establish a connection relationship with the target child node; and determining that the establishment of the connection relation with the target child node is completed in response to receiving a third signaling returned by the target child node, wherein the third signaling is generated by the target child node in response to determining that the information presence flag of the second signaling is present. The second aspect of the present application provides a topology construction method using more than one host computer as an execution body, including: and sending a first signaling in a broadcasting mode, wherein the first signaling is generated by an upper computer according to the target network topology and comprises a signaling type, a target node ID and a target child node ID. In a third aspect of the present application, there is provided a node apparatus comprising: A memory, a processor and a computer program stored on the memory and executable by the processor, characterized in that the processor implements the method according to the first aspect when executing the computer program. In a fourth aspect of the present application, there is provided an upper computer, including: a memory, a processor and a computer program stored on the memory and executable by the processor, characterized in that the processor implements the method according to the second aspect when executing the computer program. In a fifth aspect of the present application, there is provided a topology construction system, comprising: A node device as described in the third aspect; The host computer as described in the fourth aspect. From the above, it can be seen that, according to the topology construction method and related equipment provided by the application, based on the first signaling sent by the upper computer and including the connection relation between the target node and the target sub-node in the target network topology, the second signaling for requesting to establish the connection relation is generated and sent to the target sub-node, and the establishment completion of the connection relation is determined through the third signaling returned by the target sub-node, so that the dynamic topology construction of the sensor network is realized by using the upper computer and the node equipment, and the high controllability of the sensor network is realized, and the reconstruction requirement of the future full IP electric power Internet of things is met. Drawings In order to more clearly illustrate the technical solutions of the present application or related art, the drawings that are required to be used in the description of the embodiments or related art will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to the drawings without inventive eff