Microwave network root node query method and apparatus, microwave system and storage medium
By identifying the microwave network topology and collecting outgoing port information to automatically query the root node, the problem of network disconnection caused by manual intervention in the existing technology is solved, and efficient and reliable root node query is achieved.
Patent Information
- Application Number
- CN202210023367.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-10
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-01-10
AI Technical Summary
In microwave networks, existing technologies require manual intervention to determine the root node, which makes it difficult to guarantee timeliness and reliability, potentially causing the network to lose connection when the root node configuration is changed.
By identifying the topology of the microwave network, collecting the outgoing port information of the network management equipment, and filtering the root node in the topology based on the outgoing port information, the root node of the microwave network can be automatically queried, avoiding manual intervention.
It enables timely and reliable automatic querying of root nodes in microwave networks, avoiding network disconnections and improving network robustness.
Smart Images

Figure CN116456422B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of microwave communication technology, and in particular to a microwave network root node query method and apparatus, microwave system and storage medium. Background Technology
[0002] In major safety incidents such as earthquakes and fires, microwave equipment plays an important role due to its low latency, high flexibility, and high reliability. Its deployment flexibility and low construction cost also make it a key driver for the implementation of 5G technology.
[0003] These inherent characteristics of microwave equipment stem from the flexible deployment and modification of the network it constitutes. In the process of changing the configuration of parameters such as microwave frequency, the order of changing the microwave network element (NE) nodes is crucial. Microwave network element is also known as network element.
[0004] The root node is a network element in a microwave network subnet that directly connects to the Network Element Management System (EMS). It is a critical node for communication between the entire microwave subnet and other subnets, external networks, and network management equipment. If the configuration of the root node is changed, remote nodes are highly likely to lose connection and become disconnected, leading to partial network paralysis. Therefore, timely identification of the microwave network root node is of great significance. Currently, manual intervention is still required to determine the root node in the microwave network, making timeliness and reliability difficult to guarantee. Summary of the Invention
[0005] The main objective of this application is to propose a method and apparatus for querying root nodes in a microwave network, a microwave system, and a storage medium, which can automatically query root nodes in a microwave network with high timeliness and reliability.
[0006] To achieve the above objectives, this application provides a method for querying the root node of a microwave network, comprising: identifying the topology of a microwave network, wherein the topology includes at least the link port information of the microwave network; collecting the outgoing port information of network management devices connected in the microwave network; and filtering out the root node of the microwave network from the topology of the microwave network based on the outgoing port information, wherein the outgoing port information of the root node is not included in the link port information of the microwave network.
[0007] To achieve the above objectives, this application also provides a microwave network root node query device, comprising: an identification unit for identifying the topology of a microwave network, the topology including at least the link port information of the microwave network; an interaction unit connected to the identification unit for collecting outgoing port information of the network management device connected to the microwave network; and a query unit connected to the identification unit and the interaction unit for filtering the root node of the microwave network in the topology of the microwave network according to the outgoing port information, wherein the outgoing port information of the root node is not included in the link port information of the microwave network.
[0008] To achieve the above objectives, this application also provides a network management device, including the aforementioned microwave network root node query device.
[0009] To achieve the above objectives, embodiments of this application also provide a microwave system, a plurality of mesh-connected network elements, and the aforementioned network management device connected to one or more of the network elements.
[0010] To achieve the above objectives, embodiments of this application also provide a computer-readable storage medium storing a computer program, characterized in that the computer program is executed by a processor using the above-described microwave network root node query method.
[0011] This application proposes a method for querying the root node of a microwave network, comprising: identifying the topology of the microwave network, wherein the topology includes at least the link port information of the microwave network; collecting the outgoing port information of the network management devices connected in the microwave network; and filtering the root node of the microwave network from the topology based on the outgoing port information, wherein the outgoing port information of the root node is not included in the link port information of the microwave network. In this way, automatic querying of the root node of the microwave network is achieved without manual intervention, and the timeliness and reliability of the queried root node are high. Attached Figure Description
[0012] One or more embodiments are illustrated by way of example with reference to the accompanying drawings, and these illustrative descriptions do not constitute a limitation on the embodiments.
[0013] Figure 1 This is a flowchart illustrating the microwave network root node query method according to an embodiment of the present invention;
[0014] Figure 2 This is an example diagram illustrating the connection between the microwave network and the gateway device according to an embodiment of the present invention;
[0015] Figure 3 This is a schematic diagram of the structure of the microwave network root node query device according to an embodiment of the present invention;
[0016] Figure 4 This is a structural example diagram of a microwave system according to an embodiment of the present invention. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the various embodiments of this application will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been provided in the various embodiments of this application to help readers better understand this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments. The division of the various embodiments below is for the convenience of description and should not constitute any limitation on the specific implementation of this application. The various embodiments can be combined with and referenced by each other without contradiction.
[0018] In the description of this application, it should be noted that, unless otherwise stated, "a plurality of" means two or more; the terms "upper," "lower," "left," "right," "inner," and "outer," etc., indicating orientation or positional relationships, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this application. Furthermore, the terms "first," "second," and "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. "Vertical" is not vertical in the strict sense, but within the allowable tolerance range. "Parallel" is not parallel in the strict sense, but within the allowable tolerance range.
[0019] The directional terms used in the following description refer to the directions shown in the figures and are not intended to limit the specific structure of this application. It should also be noted in the description of this application that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0020] This application provides a method for querying the root node of a microwave network. The core of this method includes: identifying the topology of the microwave network, which at least includes the link port information of the microwave network; collecting the outgoing port information of network management devices connected to the microwave network; and filtering the root node of the microwave network from the topology based on the outgoing port information, wherein the outgoing port information of the root node is not included in the link port information of the microwave network. This achieves automatic querying of the microwave network root node without manual intervention, ensuring high timeliness and reliability of the queried root node.
[0021] The implementation details of the microwave network root node query method in this embodiment are described below. The following content is only for the convenience of understanding and is not necessary for implementing this solution.
[0022] The flowchart of the microwave network root node query method in this embodiment is shown below. Figure 1 As shown:
[0023] Step S11: Identify the topology of the microwave network, which includes at least the link port information of the microwave network.
[0024] Specifically, when a user needs to determine the root node of a microwave network containing a certain network element, they can select the target network element on the display interface, which serves as the trigger condition for the microwave network root node query method. In this embodiment, any network element can be selected, and the network topology it belongs to is automatically identified by the interaction and calculation between the network management device and the microwave network element.
[0025] In the process of identifying the topology of a microwave network, all connected network elements are calculated based on the first / last network element information of the link where the target network element is located. This operation is performed on each connected network element one by one, and the relevant information is stored. The stored relevant information includes at least the link port information of the microwave network.
[0026] Optionally, the information in the topology includes network element information, which includes: network element ID, which serves as a unique identifier for the network management system to access the network element; network element IP, which is used for communication between the network management system and the network element; network element display name, which is used for display by the network management system to facilitate human-computer interaction; and network element on / off status, which is used for communication between the network management system and the network element.
[0027] The topology information also includes link information, which includes: link ID, which serves as a unique identifier for the link in the network management system; link display name, used for network management display and facilitating human-computer interaction; source and destination network element IDs, used for network management link calculations; and link port information, used for outgoing port calculations, including source and destination port information. Link port information refers to the port information of links formed between any two network elements in the microwave network. Therefore, the link port information in a microwave network does not include outgoing port information where network elements directly connect to the network management device.
[0028] Step S12: Collect the output port information of the network management device connected in the microwave network.
[0029] Specifically, the network management device acts as a controller, analyzing basic network element information and identifying key information such as network element version. Through the southbound interface, it obtains outgoing port information from the network element that allows it to connect to the network management device. The input and output parameters of the southbound interface can be defined as follows:
[0030] Input:
[0031] leaf ipaddr
[0032] type ipv4-address;
[0033] output:
[0034] list mwoutport:
[0035] key'outport'
[0036] leaf outport
[0037] type string;
[0038] In some examples, collecting outgoing port information of network management devices in a microwave network includes: sending a port query request to a network element in the microwave network, the port query request containing the gateway identifier of the network management device, the port query request being used by the network element to determine the outgoing port information of the network management device based on the gateway identifier; and receiving the outgoing port information of the network management device sent by a network element in the microwave network.
[0039] Specifically, the network element stores a routing table containing information about each outgoing port of the network element and the corresponding device identifier for each outgoing port. After receiving a request from the network management device, the network element searches the established and maintained routing table using the gateway identifier provided by the network management device. If the gateway identifier provided by the network management device is found in the routing table, the network element determines the corresponding outgoing port information based on the mapping in the routing table and returns this outgoing port information to the network management device, thus completing the collection of outgoing port information. In this embodiment, the outgoing port information connected to the network management device includes both outgoing port information where the network element is indirectly connected to the network management device and outgoing port information where the network element is directly connected to the network management device.
[0040] Step S13: Select the root node of the microwave network from the topology of the microwave network based on the outgoing port information. The outgoing port information of the root node is not included in the link port information of the microwave network.
[0041] Since the link port information in the microwave network topology refers to the link port information between any two network elements in the microwave network, it does not include the outgoing port information where a network element directly connects to the network management device. The outgoing port information connecting to the network management device includes both outgoing port information where a network element indirectly connects to the network management device and outgoing port information where a network element directly connects to the network management device. According to the definition of the root node, the root node is directly connected to the network management device. Therefore, the root node of the microwave network can be identified in the microwave network topology based on its outgoing port information. The outgoing port information of the root node is not included in the link port information of the microwave network.
[0042] In some examples, the root node of the microwave network is selected from the topology of the microwave network based on the outgoing port information, including: traversing the topology of the microwave network and obtaining the link port information in the microwave network; comparing the outgoing port information with the link port information; and determining the network element corresponding to the outgoing port information not included in the link port information as the root node.
[0043] In this embodiment, after the network management device obtains the outgoing ports of all network elements in the network topology, it traverses the topology of the microwave network and obtains the link port information in the microwave network. It compares the outgoing port information fed back by the network element with the link port information. If the outgoing port information is included in the link port information, it means that the network element with the outgoing port information is not the root node; if the outgoing port information is not included in the link port information, it means that the network element with the outgoing port information is the root node.
[0044] The microwave network root node query method provided in this invention can identify the network topology of the selected network element in the network management device and store relevant information. It completes the interaction between the network element and the network management device according to specified interface information, and determines the root node by comparing port information with network link port information. In this way, the set of root nodes of the network topology of the target network element can be grasped at the network management level, thereby effectively strengthening network management. Furthermore, it achieves automatic microwave network root node query without manual intervention, and the timeliness and reliability of the queried root nodes are high.
[0045] The following is combined Figure 2 The microwave network root node query method provided by the present invention will be described in detail through specific implementation.
[0046] The network management device collects network element information from network element 1, network element 2, network element 3, and network element 4, and also collects link information from link 12, link 13, and link 34.
[0047] After the user determines the target network element 1, all connected network elements are calculated and stored based on the information of the first and last nodes of the link. According to the link information of link 12 and link 13, all connected network elements of network element 1 can be identified, namely network element 2 and network element 3. The information that needs to be stored for the entire network topology is network element 1, network element 2, network element 3, and link 12 and link 13. Repeat the above steps to identify network element 4 and link 34, and complete the identification of the entire network topology.
[0048] The network management device sends outgoing port query requests to network elements 1, 2, 3, and 4 according to the agreed interface. Based on the network topology, the network elements sequentially return outgoing port information as outgoing port 1, outgoing port 2, outgoing port 3, and outgoing port 4. After receiving the returned messages from the network elements, the network management device performs calculations. Among all outgoing ports, only outgoing port 1 is not included in the links of the known network topology. Therefore, it determines that network element 1 containing port 1 is the root node, and traverses the entire network until all root nodes are found.
[0049] In this embodiment, relying on network management equipment, the network topology where microwave network elements are located can be quickly and effectively identified automatically, and the root node of the entire network topology can be found. This avoids the situation where the entire network is disconnected or lost due to changes in the configuration of the root node network elements, thus improving the robustness of the microwave communication network.
[0050] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this patent.
[0051] This invention also provides a microwave network root node query device, such as... Figure 3 As shown, it includes:
[0052] An identification unit 11 is used to identify the topology of a microwave network, which includes at least the link port information of the microwave network. An interaction unit 12, connected to the identification unit 11, is used to collect the outgoing port information of network management devices connected to the microwave network. A query unit 13, connected to the identification unit 11 and the interaction unit 12, is used to filter out the root node of the microwave network from the topology based on the outgoing port information, wherein the outgoing port information of the root node is not included in the link port information of the microwave network.
[0053] In some examples, the interaction unit 12 includes: a sending subunit 121, which is used to send a port query request to a network element in the microwave network. The port query request contains the gateway identifier of the network management device. The port query request is used by the network element to determine the outgoing port information of the network management device based on the gateway identifier; and a receiving subunit 122, which is used to receive the outgoing port information of the network management device sent by the network element in the microwave network.
[0054] In some examples, the query unit 13 includes: a traversal subunit 131 connected to the identification unit 11 and the interaction unit 12, the traversal subunit 131 being used to traverse the topology of the microwave network and obtain the port information of the links in the microwave network; and a filtering subunit 132, the filtering subunit 132 being used to compare the outgoing port information with the port information of the links, and to determine the network element corresponding to the outgoing port information not included in the port information of the links as the root node.
[0055] The microwave network root node query device in this embodiment is a device embodiment corresponding to the microwave network root node query method. Therefore, the implementation details in the microwave network root node query method embodiment can be applied to this embodiment, and the implementation details in this embodiment can also be applied to the microwave network root node query method embodiment.
[0056] It is worth mentioning that all the units involved in the above embodiments are logical units. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of this invention, units that are not closely related to solving the technical problem proposed by this invention have not been introduced in the above embodiments. However, this does not mean that other units are absent from the above embodiments.
[0057] This invention also provides a network management device, including the aforementioned microwave network root node query device.
[0058] This invention also provides a microwave system, such as... Figure 4 As shown, it includes: multiple mesh-connected network elements, and a network management device as described in the above embodiments connected to one or more network elements. The network management device is used to identify the topology of the microwave network in which these multiple mesh-connected network elements reside. The topology includes at least the link port information of the microwave network. The network management device collects the outgoing port information of the microwave network connected to the network management device. The network management device is also used to filter out the root node of the microwave network in the topology of the microwave network based on the outgoing port information, wherein the outgoing port information of the root node is not included in the link port information of the microwave network.
[0059] The network management device is used to send port query requests to network elements in the microwave network. The port query request contains the gateway identifier of the network management device. The network element is used to receive the port query request and, in response to the port query request, determine the outgoing port information for connecting to the network management device based on the gateway identifier. The network management device is also used to receive the outgoing port information for connecting to the network management device sent by the network element.
[0060] The network management device is also used to traverse the topology of the microwave network and obtain the port information of the links in the microwave network; compare the outgoing port information with the port information of the links; if the outgoing port information is not included in the port information of the links, then the network element with the outgoing port information is determined to be the root node.
[0061] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described microwave network root node query method.
[0062] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0063] Those skilled in the art will understand that the above embodiments are specific embodiments for implementing the present invention, and in practical applications, various changes in form and detail may be made without departing from the spirit and scope of the present invention.
Claims
1. A method for querying the root node of a microwave network, characterized in that, include: Identify the topology of a microwave network, wherein the topology includes at least the link port information of the microwave network; Collect the output port information of the network management devices connected in the microwave network; Traverse the topology of the microwave network and obtain the port information of the links in the microwave network; Compare the outgoing port information with the port information of the link; The network element corresponding to the outgoing port information that is not included in the port information of the link is determined as the root node.
2. The microwave network root node query method according to claim 1, characterized in that, The collection of outgoing port information of the network management device connected to the microwave network includes: A port query request is sent to a network element in the microwave network. The port query request includes the gateway identifier of the network management device. The port query request allows the network element to determine the outgoing port information for connecting to the network management device based on the gateway identifier. Receive the outgoing port information of the connection to the network management device sent by the network element in the microwave network.
3. A microwave network root node query device, characterized in that, include: An identification unit is used to identify the topology of a microwave network, wherein the topology includes at least the link port information of the microwave network; An interactive unit connected to the identification unit is used to collect outgoing port information of network management devices connected in the microwave network. A query unit connected to the identification unit and the interaction unit, the query unit comprising: The traversal subunit, connected to the identification unit and the interaction unit, is used to traverse the topology of the microwave network and obtain the port information of the links in the microwave network. The filtering subunit is used to compare the outgoing port information with the link port information and determine the network element corresponding to the outgoing port information that is not included in the link port information as the root node.
4. The microwave network root node query device according to claim 3, characterized in that, The interaction unit includes: A transmitting subunit is configured to send a port query request to a network element in the microwave network. The port query request includes the gateway identifier of the network management device. The port query request is used by the network element to determine the outgoing port information for connecting to the network management device based on the gateway identifier. A receiving subunit is used to receive outgoing port information of the connection to the network management device sent by a network element in the microwave network.
5. A network management device, characterized in that, include: The microwave network root node query device as described in any one of claims 3 to 4.
6. A microwave system, characterized in that, include: Multiple mesh-connected network elements and a network management device as described in claim 5 connected to one or more of the network elements.
7. The microwave system according to claim 6, characterized in that, The network management device is used to send a port query request to the network element in the microwave network, and the port query request includes the gateway identifier of the network management device. The network element is used to receive the port query request and, in response to the port query request, determine the outgoing port information for connecting to the network management device based on the gateway identifier; The network management device is also used to receive the outgoing port information of the network element that connects to the network management device.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the microwave network root node query method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Microwave network planning method and system
CN102946610A
Adaptive topology discovery in communication networks
US7366113B1