Network topology calibration method and device, computing equipment and communication system

By automatically comparing and calibrating network topology differences, the problem of low network topology calibration efficiency and accuracy in the existing technology is solved, and efficient network topology automatic calibration is achieved.

CN118677784APending Publication Date: 2024-09-20HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310305141.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In the existing technology, network topology calibration relies on manual operations, resulting in low efficiency and accuracy, and it is difficult to automatically calibrate the difference between the actual network and the planned network.

Method used

By comparing the matching results between the planned network topology and the actual network topology, the matching results indicate the operation steps to automatically calibrate the difference paths, including differences in network equipment and connections, to improve calibration efficiency and accuracy.

Benefits of technology

It realizes automated network topology calibration, reduces manual operations, improves calibration efficiency and accuracy, and ensures network availability and connectivity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677784A
    Figure CN118677784A
Patent Text Reader

Abstract

The invention discloses a network topology calibration method and device, computing equipment and a communication system, and relates to the field of communication networks. The method comprises the following steps: determining a matching result according to a planned network topology and an actual network topology; and when the matching result indicates that the difference exists between the planned network topology and the actual network topology, calibrating a difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result. The difference path between the planned network topology and the actual network topology is calibrated, the actual network of the site can be calibrated according to the planned network topology, and due to the fact that the matching result indicates the operation steps, network maintenance personnel repair the actual network according to the operation steps. And the network equipment or connection problems in the actual network do not need to be checked one by one according to the drawing for planning the network topology. Alternatively, the planning network topology can be automatically calibrated according to the actual network topology, so that manual on-site operation of the actual network is avoided, and the efficiency and accuracy of network topology calibration are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication networks, and in particular to a network topology calibration method, apparatus, computing device and communication system. Background Art

[0002] Currently, construction workers build actual networks according to the connection relationships between network devices and network devices indicated by the planned network topology. However, construction workers inevitably make mistakes when installing or connecting network devices on site, resulting in inconsistency between the actual network topology and the planned network topology. Usually, the actual network topology is matched with the planned network topology, and problems with the actual network are troubleshooted based on the matching results. However, the calibration method of this method relies on manual operation, resulting in low efficiency and accuracy of network topology calibration. Summary of the invention

[0003] The present application provides a network topology calibration method, apparatus, computing device and communication system, thereby improving the efficiency and accuracy of network topology calibration.

[0004] In a first aspect, a network topology calibration method is provided, the method comprising: determining a matching result based on a planned connection relationship of network devices indicated by a planned network topology and an actual connection relationship of network devices indicated by an actual network topology. When the matching result indicates that there is a difference between the planned network topology and the actual network topology, calibrating the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result. The difference includes at least one of a network device difference and a connection difference between network devices.

[0005] In this way, the planned network topology is compared with the actual network topology to obtain a matching result between the planned network topology and the actual network topology. Based on the difference path between the calibrated planned network topology and the actual network topology indicated by the matching result, the actual network on site can be calibrated according to the planned network topology. Since the matching result indicates the operation steps, the network maintenance personnel can repair the actual network according to the operation steps without having to check the network equipment or connection problems in the actual network one by one according to the drawings of the planned network topology. Alternatively, based on the difference path indicated by the matching result, the planned network topology can be automatically calibrated according to the actual network topology, thus avoiding manual on-site operation of the actual network, thereby improving the efficiency and accuracy of network topology calibration.

[0006] In combination with the first aspect, in a possible implementation method, the difference path between the planned network topology and the actual network topology is calibrated according to at least one operation step indicated by the matching result, including: when the difference type of the difference path is a system repair difference, the planned network topology is calibrated according to the actual network topology according to at least one operation step indicated by the matching result, and the planned network configuration is calibrated to obtain an updated network configuration, and the updated network configuration is used to indicate the parameters required to activate the actual network topology.

[0007] The difference types of the difference paths are distinguished so that when the difference type is a system repair difference, the actual network topology is kept unchanged, and the planned network topology and planned network configuration are automatically calibrated according to the actual network topology. Compared with manual on-site calibration of the actual network, the efficiency and accuracy of network topology calibration can be improved.

[0008] In combination with the first aspect, in another possible implementation method, the planned network topology is calibrated according to the actual network topology based on at least one operation step indicated by the matching result, and the calibrated planned network configuration is obtained to obtain an updated network configuration, including: splitting at least one operation step indicated by the matching result into atomic operations, the atomic operations including at least one of network device type operations, link type operations, gateway type operations and service type operations; calibrating the planned network topology according to the actual network topology based on the atomic operations, and the calibrated planned network configuration is obtained to obtain an updated network configuration.

[0009] At least one operation step can be used as a step combination. The atomic operation can break down the step combination into a series of steps. Splitting at least one operation step into different types of atomic operations facilitates calibrating and planning network topology or planning network configuration through step-by-step operations, thereby reducing the complexity of calibration.

[0010] In combination with the first aspect, in another possible implementation, determining a matching result between a planned network topology and an actual network topology includes: determining a matching result based on a graph structure of the planned network topology and a graph structure of the actual network topology, the matching result including at least one operation step and a difference path.

[0011] By topologically modeling the planned network topology and the actual network topology, we can obtain the graph structure of the planned network topology and the graph structure of the actual network topology. The points in the graph structure are used to indicate network devices, and the edges in the graph structure are used to indicate the connections between network devices. Determining the matching results based on the points and edges in the graph structure can simplify the matching process and improve matching efficiency.

[0012] In combination with the first aspect, in another possible implementation method, a matching result is determined based on the graph structure of the planned network topology and the graph structure of the actual network topology, including: determining at least one operation step based on the minimum cost of operating the graph structure of the planned network topology, the cost is used to indicate the degree of impact of the operation on the graph structure of the planned network topology, and the operation includes at least one of an insertion operation, a deletion operation, and a replacement operation.

[0013] The minimum cost of operating the graph structure of the planned network topology can indicate the minimum impact of the operation on the graph structure of the planned network topology, and the smaller the cost, the smaller the impact. By determining at least one operation step according to the minimum cost, a combination of operation steps with the minimum impact on the connectivity of the network topology can be obtained, so as to maximize the availability of the network when calibrating the network topology according to the operation steps.

[0014] In combination with the first aspect, in another possible implementation manner, the method further includes: when the actual network topology and the updated network configuration are verified successfully, configuring the updated network configuration for the actual network topology.

[0015] Perform a rationality check on the network topology and network configuration. When the check is successful, the network configuration can be sent to the actual network to ensure the smooth opening of the actual network.

[0016] In combination with the first aspect, in another possible implementation, the difference path between the planned network topology and the actual network topology is calibrated according to at least one operation step indicated by the matching result, including: when the difference type of the difference path is an on-site repair difference, the actual network topology is calibrated according to the planned network topology according to at least one operation step indicated by the matching result.

[0017] In combination with the first aspect, in another possible implementation manner, the method further includes: when the planned network topology and the planned network configuration are verified successfully, configuring the planned network configuration for the calibrated actual network topology.

[0018] In combination with the first aspect, in another possible implementation manner, the method further includes: when there is a difference between the planned network topology and the actual network topology, displaying a matching result, the matching result including at least one operation step and a difference path.

[0019] In combination with the first aspect, in another possible implementation manner, the method further includes: when there is no difference between the planned network topology and the actual network topology, displaying a matching result, wherein the matching result is used to indicate that there is no difference between the planned network topology and the actual network topology.

[0020] The matching results of the planned network topology and the actual network topology are presented intuitively and clearly. When there are differences in the matching results, the problems are pointed out and repair suggestions are given, so that users can calibrate the planned network topology or the actual network topology according to the matching results, effectively improving the efficiency of network topology calibration and user experience.

[0021] In a second aspect, a network topology calibration device is provided, which includes a communication module for acquiring a planned network topology and an actual network topology, wherein the planned network topology is used to indicate a planned connection relationship between network devices, and the actual network topology is used to indicate an actual connection relationship between network devices; a matching module for determining a matching result between the planned network topology and the actual network topology, wherein the matching result is used to indicate whether there is a difference or no difference between the planned network topology and the actual network topology, and the difference includes at least one of a difference in network devices and a difference in connections between network devices; and a calibration module for calibrating a difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result when there is a difference between the planned network topology and the actual network topology.

[0022] In combination with the second aspect, in another possible implementation method, when the calibration module calibrates the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result, it is specifically used for: when the difference type of the difference path is a system repair difference, calibrating the planned network topology according to the actual network topology according to at least one operation step indicated by the matching result, and calibrating the planned network configuration to obtain an updated network configuration, and the updated network configuration is used to indicate the parameters required to activate the actual network topology.

[0023] In combination with the second aspect, in another possible implementation method, when the calibration module calibrates the planned network topology according to the actual network topology based on at least one operation step indicated by the matching result, and the calibrated planned network configuration obtains the updated network configuration, it is specifically used to: split at least one operation step indicated by the matching result into atomic operations, and the atomic operations include at least one of network device type operations, link type operations, gateway type operations and service type operations; calibrate the planned network topology according to the actual network topology based on the atomic operations, and the calibrated planned network configuration obtains the updated network configuration.

[0024] In combination with the second aspect, in another possible implementation method, the calibration module calibrates the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result, and is specifically used for: when the difference type of the difference path is an on-site repair difference, calibrating the actual network topology according to the planned network topology according to at least one operation step indicated by the matching result.

[0025] In combination with the second aspect, in another possible implementation method, when the matching module determines the matching result between the planned network topology and the actual network topology, it is specifically used to: determine the matching result based on the graph structure of the planned network topology and the graph structure of the actual network topology, and the matching result includes at least one operation step and a difference path.

[0026] In combination with the second aspect, in another possible implementation method, when the matching module determines the matching result based on the graph structure of the planned network topology and the graph structure of the actual network topology, it is specifically used to: determine at least one operation step based on the minimum cost of operating the graph structure of the planned network topology, the cost is used to indicate the degree of influence of the operation on the graph structure of the planned network topology, and the operation includes at least one of an insertion operation, a deletion operation, and a replacement operation.

[0027] In combination with the second aspect, in another possible implementation manner, the device further includes a verification module, which is used to configure the updated network configuration for the actual network topology when the verification of the actual network topology and the updated network configuration succeeds.

[0028] In conjunction with the second aspect, in another possible implementation, the device further includes a display module, which is used to display a matching result when there is a difference between the planned network topology and the actual network topology, and the matching result includes at least one operation step and a difference path. Alternatively, when there is no difference between the planned network topology and the actual network topology, the matching result is displayed, and the matching result is used to indicate that there is no difference between the planned network topology and the actual network topology.

[0029] In a third aspect, a computing device is provided, which includes a processor and a memory, the memory being used to store a set of computer instructions; when the processor executes the set of computer instructions as an execution device in the first aspect or any possible implementation of the first aspect, the operating steps of the network topology calibration method in the first aspect or any possible implementation of the first aspect are executed.

[0030] In a fourth aspect, a communication system is provided, which includes a computing device and multiple network devices, wherein the multiple network devices constitute an actual network topology, and the computing device is used to execute the operating steps of the network topology calibration method in the first aspect or any possible implementation of the first aspect to calibrate the difference between the planned network topology and the actual network topology.

[0031] In a fifth aspect, a computer-readable storage medium is provided, comprising: computer software instructions; when the computer software instructions are executed in a computing device, the computing device executes the operating steps of the network topology calibration method in the first aspect or any possible implementation of the first aspect.

[0032] In a sixth aspect, a computer program product is provided. When the computer program product is run on a computer, the computing device executes the operating steps of the network topology calibration method in the first aspect or any possible implementation of the first aspect.

[0033] In a seventh aspect, a chip system is provided, the chip system comprising a processor and a power supply circuit, the power supply circuit supplies power to the processor, and the processor is used to execute the operation steps of the network topology calibration method in the first aspect or any possible implementation of the first aspect. In one possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0034] The technical effects brought about by any design method in the second to seventh aspects can refer to the technical effects brought about by the first aspect or different design methods in the first aspect, and will not be repeated here.

[0035] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of the structure of a communication system provided for this application;

[0037] Figure 2 A flowchart of a network topology calibration method provided in this application;

[0038] Figure 3 A schematic diagram of network topology matching provided for this application;

[0039] Figure 4 A schematic diagram of a type of matching result provided for this application;

[0040] Figure 5 A schematic diagram of a planned network topology and planned network configuration provided for this application;

[0041] Figure 6 A schematic diagram of a calibration configuration attribute diagram provided for this application;

[0042] Figure 7 A schematic diagram showing matching results provided by this application;

[0043] Figure 8 A schematic diagram of a network topology provided for this application;

[0044] Fig. 9 A schematic diagram of calculating graph edit distance provided in this application;

[0045] Fig.10 A schematic diagram of a network topology calibration process provided by this application;

[0046] Fig.11 A schematic diagram of the structure of a planned network topology and an actual network topology provided for this application;

[0047] Fig.12 A schematic diagram of a calibration planning network topology and planning network configuration provided for this application;

[0048] Fig.13 A schematic diagram of the structure of a network topology calibration device provided in this application;

[0049] Fig.14 A schematic diagram of the structure of a computing device provided in this application. DETAILED DESCRIPTION

[0050] Network topology refers to the physical layout of various network devices interconnected by transmission media, that is, the specific physical or logical arrangement between network devices. If the connection structure of two networks is the same, it means that the network topology is the same, although the physical wiring and distance between nodes may be different.

[0051] In order to smoothly open the network, the network topology is usually planned in advance, and the construction workers install and connect the network equipment on site according to the planned network topology to build the actual network. However, construction workers inevitably make mistakes when installing and connecting network equipment, resulting in inconsistency between the actual network topology and the planned network topology. Since network equipment is scattered in different areas and floors, the efficiency and accuracy of construction workers calibrating the actual network on site based on the drawings of the planned network topology are very low.

[0052] Usually, construction workers input network equipment information into the network management system, and the network management system will feedback the recommended equipment models and recommended network topology, guide construction workers to build the actual network according to the prompt information, generate the actual network topology according to the actual connection relationship of the network equipment, and guide construction workers to manually configure the network to achieve connectivity of small-scale networks. However, in large-scale networks, the connection relationship and network configuration of network equipment are relatively complex, requiring experts to plan the network topology and network configuration in advance and verify the actual network topology. Since this method does not plan the network configuration and avoids the verification of the network topology, it is likely to cause the failure of large-scale network opening.

[0053] Alternatively, based on graph modeling technology, network devices are abstracted as points, and the connections between network devices are abstracted as edges, so as to match the actual network topology with the planned network topology, and to troubleshoot problems in the actual network based on the matching results. Although this method can calibrate the actual network, the calibration method relies on manual operation and cannot be calibrated automatically. In addition, this method only matches network devices, but does not match the connections between network devices, and connection errors will also affect the opening of the network. As a result, the efficiency and accuracy of network topology calibration are low.

[0054] In order to solve the problem of low efficiency and accuracy of network topology calibration, the present application provides a network topology calibration method, that is, determining a matching result based on the planned connection relationship of network devices indicated by the planned network topology and the actual connection relationship of network devices indicated by the actual network topology, and when the matching result indicates that there is a difference between the planned network topology and the actual network topology, calibrating the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result. The difference includes at least one of a network device difference and a connection difference between network devices.

[0055] In this way, the planned network topology is compared with the actual network topology to obtain a matching result between the planned network topology and the actual network topology. Based on the difference path between the calibrated planned network topology and the actual network topology indicated by the matching result, the actual network on site can be calibrated according to the planned network topology. Since the matching result indicates the operation steps, the network maintenance personnel can repair the actual network according to the operation steps without having to check the network equipment or connection problems in the actual network one by one according to the drawings of the planned network topology. Alternatively, based on the difference path indicated by the matching result, the planned network topology can be automatically calibrated according to the actual network topology, thus avoiding manual on-site operation of the actual network, thereby improving the efficiency and accuracy of network topology calibration.

[0056] The network topology calibration method provided by the present application is described in detail below with reference to the accompanying drawings.

[0057] Figure 1 The communication system 100 is a schematic diagram of a structure of a communication system provided in the present application. The communication system 100 includes a computing device 110 and a network 120. The computing device 110 and the network 120 can communicate with each other.

[0058] Among them, network 120 can be a network built according to the planned network topology, that is, the actual network to be calibrated, and the actual network includes multiple network devices, and the network devices can be wireless network devices or wired network devices. For example, the actual network is a three-layer network architecture, including a core layer, a convergence layer, and an access layer. The core layer is the high-speed switching backbone of the network, which plays a vital role in the connectivity of the entire network. For example, the core layer includes a high-bandwidth gigabit or above switch. The convergence layer is the "intermediary" between the access layer and the core layer. Before the workstation accesses the core layer, it first converges to reduce the load on the core layer equipment. The network equipment of the convergence layer includes switches that support three-layer switching technology. The access layer provides workstation access to the local network segment. The network equipment of the access layer includes access switches, wired access points, or wireless access points.

[0059] After the network devices in the network 120 are powered on, the network devices can report the actual network consisting of the network device information and the connection information between the network devices to the computing device 110 based on the discovery protocol. The specific implementation method can refer to the description in step 210.

[0060] The computing device 110 may be a terminal device installed with the network topology calibration system 111, such as a mobile phone, a tablet computer, a laptop computer, etc. In the present application, the computing device 110 may instruct the network devices in the network 120 to report the information of the actual network based on the operation of the network topology calibration system 111 by the system administrator, thereby obtaining the actual network topology based on the physical layout of the actual network in the network 120. The computing device 110 may also be a component of a server, such as a controller, or an independent component, such as an analyzer.

[0061] The network topology calibration system 111 running in the computing device 110 can be used to provide a network topology planning function. In some embodiments, the system administrator can plan the network topology based on the interface of the network topology calibration system 111, so that the computing device 110 obtains the planned network topology.

[0062] The computing device 110 is used to determine the matching result between the acquired planned network topology and the actual network topology. When there is a difference between the planned network topology and the actual network topology, the difference path between the planned network topology and the actual network topology is calibrated according to at least one operation step indicated by the matching result. The computing device 110 is also used to display the matching result, for example, display the matching result in the interface of the network topology calibration system 111. When there is a difference in the matching result, the user is pointed out the existing problem and a repair processing suggestion is provided. The computing device 110 is also used to send the network configuration to the actual network to achieve the connectivity of the actual network.

[0063] Next, combine Figures 2 to 12, the network topology calibration method provided in this application is described in detail. Figure 2 A flow chart of a network topology calibration method provided in this application is shown in FIG. Figure 1 The difference path between the planned network topology and the actual network topology is calibrated by the computing device 110 as an example. Figure 2 As shown, the method may include the following steps.

[0064] Step 210: The computing device 110 obtains the planned network topology and the actual network topology.

[0065] The planned network topology is used to indicate the planned connection relationship of network devices. The computing device 110 generates a planned network layout based on actual network requirements in response to the system administrator's operation on the network topology calibration system 111. In this way, the computing device 110 can obtain the planned network topology from its own configured memory.

[0066] The actual network topology is used to indicate the actual connection relationship of the network devices, which can be the network layout built on site by the construction personnel based on the planned network topology. After the network devices at the actual network site are powered on, the network devices discover the number of layers of the actual network based on discovery protocols such as the Neighbor Discovery Protocol (NDP), the Link Layer Discovery Protocol (LLDP), etc., and obtain the network device information in each layer, as well as the connection information between the network devices. For example, the role, model, quantity, electronic serial number (ESN) of the network device and the ports connected between the network devices are obtained, and this information can be used as the parameters required for calibrating the network topology. The network device can communicate with the computing device 110, and report the network device information and the connection information between the network devices in the actual network to the computing device 110, and the computing device 110 can instruct the network topology calibration system 111 to generate the actual network topology based on the reported information. In this way, the computing device 110 obtains the actual network topology.

[0067] In a possible implementation, the computing device 110 may passively receive the actual network topology reported by the network device based on the discovery protocol. For example, the network device sends a network topology indication, and the computing device 110 receives the network topology indication, the network topology indication includes the actual network topology, and the obtained actual network topology may be stored in the network topology calibration system 111.

[0068] In another possible implementation, the computing device 110 may actively send a network topology request to the network device to obtain the actual network topology. For example, the computing device 110 receives the operation of the system administrator in the network topology calibration system 111 interface, and sends a network topology request to the network device, where the network topology request includes a network identifier, and the network identifier is used to indicate the actual network topology. After receiving the network topology request, the network device feeds back the actual network topology to the computing device 110.

[0069] Step 220: The computing device 110 determines a matching result between the planned network topology and the actual network topology.

[0070] After the computing device 110 obtains the planned network topology and the actual network topology, it matches the planned network topology and the actual network topology to determine the matching result between the planned network topology and the actual network topology, and the matching result is used to indicate whether there is a difference or no difference between the planned network topology and the actual network topology. When determining the matching result, it is necessary to compare the connections between network devices, so the difference can be at least one of a network device difference and a connection difference between network devices.

[0071] If the network devices in the planned network topology and the actual network topology match one by one, and the connections between the network devices also match one by one, then there is no difference between the planned network topology and the actual network topology. If the network devices and the connections between the network devices in the planned network topology and the actual network topology cannot match one by one, then there is a difference between the planned network topology and the actual network topology.

[0072] Figure 3 A schematic diagram of a network topology matching provided in this application. Figure 3 As shown in the figure, the planned network topology is a three-layer network, including a core layer, a convergence layer, and an access layer. The network devices in the core layer include firewalls (firewall, FW). The network devices in the convergence layer include access switches (Lan switch, LSW). The network devices in the access layer include wireless access points (access point, AP) and wired access points (wired access point, Wired). Each network device has a corresponding model. The firewall is connected to the access switch, and the access switch is connected to the wireless access point and the wired access point.

[0073] The number of layers of the actual network topology 1 is the same as the number of layers of the planned network topology. The network devices in the two can be matched one-to-one, and the connections between the network devices can also be matched one-to-one. There is no matching difference between the two, indicating that no error occurred when the actual network was built according to the planned network topology.

[0074] The number of layers of the actual network topology 2 is the same as that of the planned network topology. However, since the aggregation layer of the actual network topology 2 lacks an access switch / 3 in the planned network topology, the connection between the access switch / 3 and the wired access point / 2, and the connection between the access switch / 3 and the wireless access point / 4 in the planned network topology cannot be matched. Therefore, there is a matching difference between the planned network topology and the actual network topology 2, indicating that an error occurred when the actual network was built according to the planned network topology.

[0075] In some embodiments, the computing device 110 may perform topological modeling on the planned network topology and the actual network topology, and determine the matching result of the planned network topology and the actual network topology according to the graph structure of the planned network topology and the graph structure of the actual network topology. For specific explanations, please refer to the introduction in the subsequent examples.

[0076] Step 230: When there is a difference between the planned network topology and the actual network topology, the computing device 110 calibrates the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result.

[0077] The matching result may indicate that there is a difference between the planned network topology and the actual network topology or there is no difference. When the matching result indicates that there is no difference between the planned network topology and the actual network topology, no calibration process is required. When the matching result indicates that there is a difference between the planned network topology and the actual network topology, it is necessary to calibrate the planned network topology or the actual network topology.

[0078] Figure 4 A schematic diagram of a type of matching result provided by this application. Figure 4 As shown, the network topology is matched according to the network devices and connections, and the matching results of the network devices are divided into no matching difference and matching difference. For no matching difference, if the network device models are the same, no calibration is required; if the network device models are different, if they are compatible, the network configuration is updated according to the actual network device model, and if they are not compatible, manual on-site repair is required to adjust the actual network device model. For matching difference, if the network device is missing, manual on-site repair is required to install the actual network device; if the network device is redundant, if it is compatible, the network configuration is updated according to the actual network device model, and if it is not compatible, manual on-site repair is required to remove the redundant network device.

[0079] The matching results of the connection are also divided into no matching difference and matching difference. For no matching difference, if the connection is correct, no calibration is required; if the connection is wrong, if it is compatible, the network configuration is updated according to the actual connection port, if it is not compatible, manual on-site repair is required, and the port type and port rate are calibrated. For matching difference, if the connection is missing, manual on-site repair is required to reinstall the connection; if the connection is redundant, if it is compatible, the network configuration is updated according to the actual connection port, if it is not compatible, manual on-site repair is required to remove the redundant connection.

[0080] In summary, the matching results of the network topology can be divided into 12 categories. Each type of matching result has a corresponding calibration processing method. These calibration processing methods can be divided into three categories: no calibration processing required, updating network configuration, and manual on-site repair.

[0081] When the matching result indicates that there is a difference between the planned network topology and the actual network topology, since the types of the difference paths between the planned network topology and the actual network topology are different, the method of calibrating the difference paths is also different. The specific calibration method is described by the following steps 231 and 232. It should be noted here that step 232 is not a subsequent step of step 231, and step 231 and step 232 are not in order.

[0082] Step 231: When the difference type of the difference path is a system repair difference, the computing device 110 calibrates the planned network topology according to the actual network topology according to at least one operation step indicated by the matching result, and calibrates the planned network configuration to obtain an updated network configuration.

[0083] When the matching result indicates that there is a difference between the planned network topology and the actual network topology, and it is determined that the calibration processing method is to update the network configuration, indicating that the difference type of the difference path between the planned network topology and the actual network topology is a system repair difference, then the planned network topology is calibrated in the network topology calibration system 111 running in the computing device 110, and the calibrated planned network configuration obtains an updated network configuration. Among them, the planned network configuration is set for the planned network topology, and the planned network configuration can be used to indicate the parameters required to activate this actual network after the actual network is built according to the planned network topology. After calibrating the planned network configuration, an updated network configuration is obtained, and the updated network configuration is set for the actual network topology. The updated network configuration can be used to indicate the parameters required to activate the actual network topology, such as service type, configuration port, IP address, subnet mask and gateway, etc. Activate the parameters to facilitate actual network connectivity.

[0084] To facilitate understanding of network configuration, take the service type as an example. Figure 5 This is a schematic diagram of a planned network topology and planned network configuration provided by this application. Figure 5As shown, in the planned network topology, the router (access router, AR) manages the virtual LAN 1 (virtual LAN, VLAN), is connected to the core switch (core switch, Core), the core switch is connected to the access switch 1, access switch 2, and access switch 3, and the access switch 1 is connected to the wireless access point 1 and the wireless access point 2.

[0085] Wireless access point 1 is configured with a wireless office service connected to virtual LAN 1-1, wireless access point 2 is configured with a mobile phone service connected to virtual LAN 1-2 and a cashier service connected to virtual LAN 1-3, access switch 2 is configured with a camera service connected to virtual LAN 1-4, and access switch 3 is configured with a computer office service connected to virtual LAN 1-5 and a printer service connected to virtual LAN 1-6.

[0086] Before calibration, the computing device 110 performs topological modeling on the planned network topology, taking network devices as points, lines between network devices as edges, and adding planned network configuration information to obtain a configuration attribute graph of the planned network topology.

[0087] The mathematical expression of the configuration attribute graph G satisfies formula (1).

[0088] G=(V,E,L V ,L E ) Formula (1)

[0089] Where V is the set of points in the configuration attribute graph G, E is the set of edges in the configuration attribute graph G, and L V is the set of labels of points in V. The labels of points include the attributes and configurations of points. E It is the set of labels of the edges in E. The labels of the edges contain the attributes of the edges. The points in the configuration attribute graph G correspond one-to-one to the network devices in the planned network topology, and the edges in the configuration attribute graph G correspond one-to-one to the connections between the network devices in the planned network topology.

[0090] In some embodiments, the computing device 110 may split at least one operation step indicated by the matching result into atomic operations, at least one operation step may be used as a step combination, and the atomic operation refines the step combination into a series of steps. The atomic operation is translated into a configuration attribute graph operation, and the configuration attribute graph of the planned network topology is calibrated according to the actual network topology, thereby calibrating both the planned network topology and the planned network configuration, and obtaining an updated network configuration.

[0091] Figure 6 A schematic diagram of a calibration configuration attribute diagram provided in this application. Figure 6As shown, a matching result is determined according to the graph structure of the planned network topology and the graph structure of the actual network topology, at least one operation step indicated by the matching result is split into atomic operations, the atomic operations are translated into configuration attribute graph operations, and the original configuration attribute graph is calibrated based on a series of operations on the configuration attribute graph to obtain an updated configuration attribute graph.

[0092] Among them, atomic operations include network device operations, link operations, gateway operations and service operations, and the network topology can be calibrated and planned according to at least one of the atomic operations. Network device operations include adding network device nodes, deleting network device nodes, replacing network device models, and combining or splitting multiple network devices. Link operations include adding links between network devices, deleting links between network devices, and combining or splitting multiple links. Gateway operations include transferring service gateways, such as transferring from a router to a core switch or from a core switch to a router. Service operations include adding service networks, deleting service networks, modifying service networks, and customizing access services on access switches.

[0093] Each operation on the configuration attribute graph corresponds to each type of atomic operation. For network device operations, the corresponding configuration attribute graph operations include adding points, deleting points, modifying point labels based on adding or deleting points, and modifying point labels. For link operations, the corresponding configuration attribute graph operations include adding edges, deleting edges, and modifying edge labels based on adding or deleting edges. For gateway operations and service operations, the corresponding configuration attribute graph operations include modifying point labels.

[0094] After completing the calibration of the planned network topology according to the actual network topology and completing the calibration of the planned network configuration, in order to ensure that the actual network can be smoothly opened, it is necessary to perform a rationality check on the actual network topology and the updated network configuration.

[0095] Step 240: When the verification of the actual network topology and the updated network configuration is successful, the computing device 110 configures the updated network configuration for the actual network topology.

[0096] Perform a topology rationality check on the actual network topology, that is, check the connectivity of the actual network topology, mainly considering the forwarding capability of the network equipment, the power over Ethernet (POE) power supply capability, the number of ports of the network equipment, and the port matching of the connection between the network devices.

[0097] In a possible implementation, after topological modeling of all network devices and all connections in the actual network topology, a graph structure of the actual network topology is obtained, which can be used as a "complete graph". Based on the graph connectivity algorithm, the rationality check of the topology is converted into a connectivity check of the "complete graph", so as to perform a rationality check on the actual network topology.

[0098] Perform a configuration rationality check on the updated network configuration, that is, check the connectivity of the VLAN service, mainly considering whether the configuration port is missing or redundant. Verifying the VLAN service includes verifying some network devices and some connections. After topology modeling, a graph structure of the planned network topology containing network configuration information is obtained. This graph structure can be used as a "sub-graph". Based on the graph connectivity algorithm, the configuration rationality check is converted into a "sub-graph" connectivity check, so that the updated network configuration is rationally checked.

[0099] When the actual network topology and the updated network configuration are successfully verified and the user confirms that they are correct, the computing device 110 sends the updated network configuration to the actual network to enable the network to be activated. The network topology of the actual network is the structure of the actually built network, and the calibrated planned network topology is consistent with the actual network topology.

[0100] Step 232: When the difference type of the difference path is an on-site repair difference, the computing device 110 calibrates the actual network topology according to the planned network topology based on at least one operation step indicated by the matching result.

[0101] When the matching result indicates that there is a difference between the planned network topology and the actual network topology, and it is determined that the calibration processing method is manual on-site repair, indicating that the difference type of the difference path between the planned network topology and the actual network topology is an on-site repair difference, the computing device 110 instructs the manual to calibrate the actual network topology on-site according to the planned network topology based on at least one operation step indicated by the matching result.

[0102] Step 250: When the planned network topology and the planned network configuration are verified successfully, the computing device 110 configures the planned network configuration for the calibrated actual network topology.

[0103] After the actual network topology is calibrated according to the planned network topology, in order to ensure that the actual network can be smoothly opened, the planned network topology and planned network configuration need to be checked for rationality. For specific verification methods, please refer to the description of topology rationality verification and configuration rationality verification in step 240.

[0104] When the planned network topology and planned network configuration are successfully verified and confirmed by the user, the computing device 110 configures the planned network configuration for the actual network topology to realize network activation. The actual network topology is the actual network topology after calibration, and the actual network topology is consistent with the planned network topology.

[0105] In order to enable the user to clearly and intuitively know the matching differences and repair processing suggestions, the matching results can be displayed in the interface of the network topology calibration system 111 running in the computing device 110. The specific implementation method is described in the following steps 260.

[0106] Step 260: When there is a difference between the planned network topology and the actual network topology, the computing device 110 displays the matching result.

[0107] It can be seen from step 230 that the difference types of the difference path include system repair differences and on-site repair differences. Different repair processing suggestions are provided for different difference types. Figure 7 A schematic diagram showing matching results provided by this application. Figure 7 As shown in (a) in the figure, the planned network topology and the actual network topology are presented in the interface of the network topology calibration system 111, and the different matching results and corresponding repair suggestions are displayed: the access switch / 3 is missing, and it is recommended to manually repair it on site and install this device. The connection between the firewall / 1 and the access switch / 3 is missing, and it is recommended to manually repair it on site and install this connection. The connection between the access switch / 3 and the wired access point / 2 does not match the connection between the access switch / b and the wired access point / b, and it is recommended that the system automatically repair it. The connection between the access switch / 3 and the wireless access point / 4 does not match the connection between the access switch / b and the wireless access point / d, and it is recommended that the system automatically repair it. The interface also includes an "OK" button 710 for the user to confirm the matching results and repair suggestions; a "Custom Configuration" button 720 for the user to customize the network configuration; and a "Recalibrate" button 730 for recalibrating the planned network topology and the actual network topology, and updating the matching results and repair suggestions in the interface.

[0108] In a possible implementation, when there is no difference between the planned network topology and the actual network topology, such as Figure 7 As shown in (b) in the figure, the planned network topology and the actual network topology are presented in the interface of the network topology calibration system 111, and the matching results are displayed: there is no difference in the matching, the network devices can be one-to-one matched, and the connections between the network devices can be one-to-one matched. The interface also includes an "OK" button 740 for the user to confirm the matching result; and a "Recalibrate" button 750 for recalibrating the planned network topology and the actual network topology and updating the matching result in the interface.

[0109] The matching results of the planned network topology and the actual network topology are presented intuitively and clearly. When there are differences in the matching results, the problems are pointed out and repair suggestions are given, so that users can calibrate the planned network topology or the actual network topology according to the matching results, effectively improving the efficiency of network topology calibration and user experience.

[0110] As described in the above embodiment, the planned network topology is compared with the actual network topology to obtain a matching result between the planned network topology and the actual network topology. Based on the difference path between the calibrated planned network topology and the actual network topology indicated by the matching result, the actual network on site can be calibrated based on the planned network topology. Since the matching result indicates the operation steps, the network maintenance personnel repair the actual network according to the operation steps without having to check the network equipment or connection problems in the actual network one by one according to the drawings of the planned network topology. Alternatively, based on the difference path indicated by the matching result, the planned network topology can be automatically calibrated based on the actual network topology, thus avoiding manual on-site operation of the actual network, thereby improving the efficiency and accuracy of network topology calibration. The following introduces a specific implementation method for the computing device 110 to determine the matching result based on the graph structure of the planned network topology and the graph structure of the actual network topology.

[0111] The computing device 110 extracts the network device information and the connection information between the network devices in the network topology, performs topological modeling on the network topology, takes the network devices as points and the connections between the network devices as edges, and obtains a property graph of the network topology. The network topology here includes the planned network topology obtained in step 210 and the actual network topology.

[0112] The mathematical expression of the attribute graph G of the network topology satisfies formula (2)

[0113] G=(V, E, μ, v) Formula (2)

[0114] Among them, V is the set of points in the attribute graph G, E is the set of edges in the attribute graph G, μ is the set of attributes of the points in V, and v is the set of attributes of the edges in E. The points in the attribute graph G correspond one-to-one to the network devices in the network topology, and the edges in the attribute graph G correspond one-to-one to the connections between the network devices in the network topology.

[0115] To facilitate understanding of formula (2), a detailed description is given below with reference to the accompanying drawings. Figure 8 This is a schematic diagram of a network topology provided by this application. Figure 8As shown, the router AR is connected to the core switch Core, the core switch Core is connected to the access switches LSW1, LSW2, and LSW3, the access switch LSW1 is connected to the wireless access point AP1 and AP2, and the access switch LSW2 is connected to the wireless access point AP3. Each network device is connected through its own port. Each network device has a corresponding model and electronic serial number (ESN). The electronic serial number ESN can be used as a unique identifier for the network device.

[0116] According to formula (2), Figure 8 The network topology of the example is modeled, and the attribute graph G of the network topology satisfies the following mathematical expression.

[0117] G=(V,E,μ,v)

[0118] V = {ESN 1 , ESN 2 , ESN 3 , ESN 4 , ESN 5 , ESN 6 , ESN 7 , ESN 8}

[0119]

[0120]

[0121]

[0122] Among them, V is a set of network devices, E is a set of connections between network devices, μ is a set of network device attributes, which may include the role of the network device and the model of the network device, and v is a set of connection attributes between network devices, which may be connection ports between network devices.

[0123] After the computing device 110 obtains the graph structure of the planned network topology and the graph structure of the actual network topology, it needs to compare the graph structure of the planned network topology and the graph structure of the actual network topology, and determine a matching result according to the difference between the two graph structures. The matching result includes at least one operation step and a difference path.

[0124] In some embodiments, the computing device 110 may determine at least one operation step according to a minimum cost of operating the graph structure of the planned network topology. The cost is used to indicate the degree of influence of the operation on the graph structure of the planned network topology.

[0125] The computing device 110 may determine the minimum cost of operating the graph structure of the planned network topology based on a graph edit distance (GED) method.

[0126] In graph pattern matching technology, GED is defined as the minimum cost required for two graphs to transform each other through operations of editing points and edges. The operations include at least one of insertion, deletion and replacement, and the cost of each operation is set to l, so the minimum cost here is also the minimum number of operation steps.

[0127] Fig. 9 A schematic diagram of calculating the graph edit distance provided in this application. Fig. 9 As shown in (a) in , the operation is to delete the edge between point 2 and point 3. Fig. 9 As shown in (b) in , the operation is to insert the edge between point 3 and point 6. Fig. 9 As shown in (c) and Fig. 9 As shown in (d) in the figure, the operation is to replace point 6 with point 3. Through the first step of deleting the edge operation, the second step of inserting the edge operation, and the third step of replacing the point operation, we can complete Fig. 9 (a) to Fig. 9 These three steps are to complete the conversion between (d) Fig. 9 (a) to Fig. 9 The minimum number of operation steps required to convert between (d) in , so the value of GED is 3.

[0128] In this application, the graph editing cost for calculating GED is defined, and the graph editing cost includes the point editing cost and the edge editing cost. Since the higher-level network devices in the network topology play a more important role, the higher-level network devices are operated, the greater the impact on the network topology. Therefore, in the graph structure corresponding to the network topology, the higher-level point editing cost and edge editing cost are, that is, for the point operation cost and edge operation cost, the core layer> aggregation layer> access layer.

[0129] Since replacing a network device does not change the structure of the network topology, the impact on the network topology is small, while adding or deleting a network device will change the structure of the network topology and have a greater impact on the network topology. Therefore, in the graph structure corresponding to the network topology, the replacement operation cost in the point editing cost and edge editing cost is less than the deletion operation cost or the insertion operation cost.

[0130] Perform the same operation on network devices at different layers, for example, the cost of replacing a core layer network device is greater than the cost of replacing a convergence layer network device. Perform different operations on network devices at the same layer, for example, the cost of deleting a network device is greater than the cost of replacing a network device.

[0131] Based on the graph editing cost defined above, when matching the graph structure of the network topology, the points and edges in the upper layer of the graph structure are matched first, and the replacement operations of points and edges are performed first.

[0132] Here, the point edit cost and the edge edit cost are presented in the form of a table. An example of the point edit cost is shown in Table 1, and an example of the edge edit cost is shown in Table 2.

[0133] Table 1

[0134]

[0135] As shown in Table 1, for routers, the node insert cost (node ​​insert cost, c ni ) is 1000, and the node delete cost (node ​​delete cost, c nd ) is 1000, when replacing the model, the node substitute cost (node ​​substitute cost, c ns ) is 100, when replacing ESN, c ns is 10. For core switches, c ni is 100, c nd is 100, when replacing the model, c ns When ESN is replaced, c ns is 1. For access switches, c ni is 10, c nd When the model is replaced, c ns When ESN is replaced, c ns is 0.1. For wireless access points, c ni is 1, c nd When the model is replaced, c ns is 0.1, when replacing ESN, c ns is 0.01.

[0136] Table 2

[0137]

[0138] As shown in Table 2, for the edge between the router and the core switch (router, core switch), the edge insertion cost (edge ​​insertcost, c ei ) is 100, edge delete cost (edge ​​deletecost, c ed ) is 100, and the edge substitute cost (edge ​​substitute cost, c es ) is 10. For the edge between the core switch and the access switch (core switch, access switch), c ei is 10, ced is 10, c es is 1. For the edge between the access switch and the wireless access point, c ei is l, c ed is l, c es is 0.1.

[0139] It should be noted that Table 1 and Table 2 only illustrate the storage form of the corresponding relationship in the storage device in the form of a table, and do not limit the storage form of the corresponding relationship in the storage device. Of course, the storage form of the corresponding relationship in the storage device can also be stored in other forms, and this embodiment does not limit this.

[0140] The present application defines that the graph editing cost of each operation step is different, and the computing device 110 calculates the graph editing distance according to the graph editing cost. The graph editing distance satisfies formula (3), which means the graph editing cost of an editing path with the minimum graph editing cost between the graph structure of the planned network topology and the graph structure of the actual network topology, and the editing path is the location of the difference between the graph structure of the planned topology and the graph structure of the actual network topology.

[0141]

[0142] in, represents the graph edit distance, g 1 is the graph structure for planning network topology, g 2 is the graph structure of the actual network topology, γ(g 1 , g 2 ) is g 1 With g 2 The set of editing paths between 1 With g 2 An editing path between j is an operation on the editing path, c(e j ) is the edit cost of the operation.

[0143] The minimum graph editing cost is the minimum cost of operating the graph structure of the planned network topology, and the minimum cost indicates the minimum impact of the operation on the graph structure of the planned network topology. In the present application, the calculation of GED should not only consider the number of operation steps of the operation, but also the editing cost of each operation step. Calculate the graph editing cost of each editing path in multiple editing paths, and select the minimum graph editing cost from the multiple graph editing costs. Determine the corresponding editing path and the operation steps in this editing path based on the minimum graph editing cost. The operation steps include at least one operation step, and indicate the execution order of each operation step. According to at least one operation step, the difference path between the graph structure of the planned network topology and the actual network topology graph structure can be calibrated, and the difference path can reflect the location of the difference between the two graphs.

[0144] In one possible implementation, the computing device 110 may calculate the graph edit distance between the graph structure of the planned network topology and the graph structure of the actual network topology, as well as the edit path corresponding to the graph edit distance, based on a graph matching algorithm, such as a depth-first graph edit distance (DF-GED) algorithm.

[0145] The embodiments provided in this application are summarized below. Fig.10 A schematic diagram of a network topology calibration process provided by this application. Fig.10 As shown, the planned network topology and the actual network topology are topologically matched, the corresponding relationship of the network devices and the corresponding relationship of the connections between the network devices are analyzed, and the differences are found. When there is no difference in the match, the actual network topology is rationally checked, and the verification success information is output to the user interface. When there is a difference in the match, the planned network topology or the actual network topology is calibrated. When the type of difference is a system repair difference, the planned network topology and the planned network configuration are calibrated according to the actual network topology, and the planned modification information of the planned network topology and the planned network configuration is output to the user interface. When the type of difference is an on-site repair difference, the actual network is manually calibrated on-site according to the planned network topology, and abnormal warning information and manual on-site repair suggestions are output to the user interface. In summary, in the user interface, three results can be presented: verification success information, planning modification information, and abnormal warning information. If the user has no objection to the result, the result is confirmed, and the network configuration is sent to the actual network. If the user has an objection to the result, the network configuration can be customized and then sent to the actual network.

[0146] The following is an example of calibrating the planned network topology according to the actual network topology and calibrating the planned network configuration with reference to the accompanying drawings.

[0147] Fig.11 This is a schematic diagram of the structure of a planned network topology and an actual network topology provided by this application. Fig.11 As shown in the figure, the number of layers in the planned network topology is the same as the number of layers in the actual network topology, but there are two access switches in the aggregation layer in the planned network topology, while there is only one access switch in the aggregation layer in the actual network topology. According to the actual network topology, merge the two access switches in the aggregation layer in the planned network topology and keep only one access switch.

[0148] Combination Fig.11 For example, Fig.12 A schematic diagram of a calibration planning network topology and planning network configuration provided in this application. Fig.12As shown, first, the planned network topology is topologically modeled, and the planned network configuration is added to obtain the original configuration attribute graph G = (V, E, L V ,L E ).

[0149] Then, a matching result is determined according to the graph structure of the planned network topology and the graph structure of the actual network topology. The matching result may include a difference path consisting of at least one operation step, and the at least one operation step is split into a series of atomic operations. That is: delete the connection between the access switch / 2 and the wireless access point / 3. Delete the connection between the access switch / 2 and the wireless access point / 4. Delete the connection between the router / 1 and the access switch / 2. Add a connection between the access switch / 1 and the wireless access point / 3. Add a connection between the access switch / 1 and the wireless access point / 4. Configure the connection port between the access switch / 1 and the wireless access point / 3, and configure the connection port between the access switch / 1 and the wireless access point / 4.

[0150] Next, the above topological atomic operations are translated into configuration attribute graph operations. That is, delete the edge between access switch / 2 and wireless access point / 3. Delete the edge between access switch / 2 and wireless access point / 4. Delete the edge between router / 1 and access switch / 2. Add the edge between access switch / 1 and wireless access point / 3. Add the edge between access switch / 1 and wireless access point / 4, and modify the configuration port of access switch / 1 so that it can adapt to the newly added edge between access switch / 1 and wireless access point / 3 and the edge between access switch / 1 and wireless access point / 4.

[0151] Next, the actual network topology and planned network configuration are checked for rationality. Since multiple virtual LANs are not set in this example, it is sufficient to check the connectivity of the actual network topology. After checking the number of ports of access switch / 1, it is found that the number of available POE ports of access switch / 1 is ≥4, indicating that the operation of calibrating the planned network topology and the planned network configuration is reasonable. The updated configuration attribute graph G′=(V′,E′,L′ V ,L′ E ).

[0152] Finally, the updated network configuration information in the updated configuration attribute graph is extracted, the updated network configuration information is converted into network configuration instructions, and the network configuration instructions are sent to the network devices in the actual network to achieve network connectivity.

[0153] It is understandable that in order to implement the functions in the above embodiments, the computing device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0154] Combined with the above Figures 1 to 12 , describes in detail the network topology calibration method provided by this embodiment, and will now be combined with Fig.13 , describing the network topology calibration device provided according to this embodiment.

[0155] Fig.13 This is a schematic diagram of the structure of a network topology calibration device provided by the present application. These network topology calibration devices can be used to implement the functions of the computing device in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments.

[0156] like Fig.13 As shown, the network topology calibration device 1300 includes a communication module 1310 , a matching module 1320 , a calibration module 1330 , a display module 1340 and a storage module 1350 .

[0157] The communication module 1310 is used to obtain the planned network topology and the actual network topology. The planned network topology is used to indicate the planned connection relationship of the network devices, and the actual network topology is used to indicate the actual connection relationship of the network devices. For example, the communication module 1310 is used to perform Figure 2 Step 210.

[0158] The matching module 1320 is used to determine the matching result between the planned network topology and the actual network topology, and the matching result is used to indicate whether there is a difference between the planned network topology and the actual network topology, and the difference includes at least one of a difference in network devices and a difference in the connection between network devices. Figure 2 Step 220.

[0159] The calibration module 1330 is used to calibrate the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result when there is a difference between the planned network topology and the actual network topology. Figure 2 Step 230.

[0160] Optionally, when the difference type of the difference path is a system repair difference, the calibration module 1330 is used to calibrate the planned network topology according to the actual network topology according to at least one operation step indicated by the matching result, and calibrate the planned network configuration to obtain an updated network configuration, and the updated network configuration is used to indicate the parameters required to activate the actual network topology. For example, the calibration module 1330 is used to perform Figure 2 Step 231.

[0161] When the difference type of the difference path is a field repair difference, the calibration module 1330 is used to calibrate the actual network topology according to the planned network topology according to at least one operation step indicated by the matching result. For example, the calibration module 1330 is used to perform Figure 2 Step 232.

[0162] The display module 1340 is used to display the matching result, and the matching result is used to indicate whether there is a difference or no difference between the planned network topology and the actual network topology.

[0163] The storage module 1350 may correspond to the above method embodiment and be used to store information such as planned network topology, actual network topology and matching results.

[0164] It should be understood that the network topology calibration device 1300 according to the embodiment of the present application may correspond to the method described in the embodiment of the present application, and the above and other operations and / or functions of each unit in the network topology calibration device 1300 are respectively to achieve Figure 2 For the sake of brevity, the corresponding processes of each method in are not repeated here.

[0165] Fig.14 A schematic diagram of the structure of a computing device 1400 provided in this embodiment. As shown in the figure, the computing device 1400 includes a processor 1410, a bus 1420, a memory 1430, a memory unit 1450 (also referred to as a main memory unit), and a communication interface 1440. The processor 1410, the memory 1430, the memory unit 1450, and the communication interface 1440 are connected via the bus 1420.

[0166] It should be understood that in this embodiment, the processor 1410 may be a CPU, and the processor 1410 may also be other general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0167] The communication interface 1440 is used to implement communication between the computing device 1400 and an external device or component. In this embodiment, the communication interface 1440 is used to perform data exchange with other computing devices.

[0168] The bus 1420 may include a path for transmitting information between the above components (such as the processor 1410, the memory unit 1450, and the memory 1430). In addition to the data bus, the bus 1420 may also include a power bus, a control bus, and a status signal bus. However, for the sake of clarity, various buses are labeled as bus 1420 in the figure. The bus 1420 may be a Peripheral Component Interconnect Express (PCIe) bus, or an extended industry standard architecture (EISA) bus, a unified bus (Ubus or UB), a compute express link (CXL), a cache coherent interconnect for accelerators (CCIX), etc.

[0169] As an example, the computing device 1400 may include multiple processors. The processor may be a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, and / or computing units for processing data (e.g., computer program instructions). The processor 1410 may call the planned network topology and the actual network topology stored in the memory 1430 to determine the matching result between the planned network topology and the actual network topology. When there is a difference between the planned network topology and the actual network topology, the difference path between the planned network topology and the actual network topology is calibrated according to at least one operation step indicated by the matching result.

[0170] It is worth mentioning that Fig.14 In the example, a computing device 1400 including one processor 1410 and one memory 1430 is taken. Here, the processor 1410 and the memory 1430 are respectively used to indicate a type of device or equipment. In a specific embodiment, the number of each type of device or equipment can be determined according to business requirements.

[0171] The memory unit 1450 may correspond to the storage medium for storing information such as the planned network topology, the actual network topology and the matching results in the above method embodiment. The memory unit 1450 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0172] The memory 1430 is used to store the planned network topology and the actual network topology, and may be a solid state drive or a mechanical hard disk.

[0173] It should be understood that the computing device 1400 according to this embodiment may correspond to the network topology calibration device 1300 in this embodiment, and may correspond to the device executing the network topology calibration according to Figure 2 The corresponding subjects in the network topology calibration device 1300, and the above and other operations and / or functions of each module in the network topology calibration device 1300 are respectively to achieve Figure 2 For the sake of brevity, the corresponding process in will not be repeated here.

[0174] The method steps in this embodiment can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, which can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a computing device. Of course, the processor and the storage medium can also exist as discrete components in a network device or a terminal device.

[0175] The present application also provides a chip system, which includes a processor for implementing the functions of the data processing unit in the above method. In one possible design, the chip system also includes a memory for storing program instructions and / or data. The chip system can be composed of a chip, or can include a chip and other discrete devices.

[0176] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

[0177] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A network topology calibration method, characterized in that: include: Acquire a planned network topology and an actual network topology, wherein the planned network topology is used to indicate a planned connection relationship of network devices, and the actual network topology is used to indicate an actual connection relationship of network devices; Determine a matching result between the planned network topology and the actual network topology, wherein the matching result is used to indicate whether there is a difference or no difference between the planned network topology and the actual network topology, wherein the difference includes at least one of a network device difference and a connection difference between network devices; When there is a difference between the planned network topology and the actual network topology, the difference path between the planned network topology and the actual network topology is calibrated according to at least one operation step indicated by the matching result.

2. The method according to claim 1, characterized in that Calibrating the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result includes: When the difference type of the difference path is a system repair difference, the planned network topology is calibrated according to the actual network topology according to at least one operation step indicated by the matching result, and the planned network configuration is calibrated to obtain an updated network configuration, and the updated network configuration is used to indicate the parameters required to activate the actual network topology.

3. The method according to claim 2, characterized in that The method further comprises: calibrating the planned network topology according to the actual network topology according to at least one operation step indicated by the matching result, and calibrating the planned network configuration to obtain an updated network configuration, including: Splitting at least one operation step indicated by the matching result into atomic operations, wherein the atomic operation includes at least one of a network device operation, a link operation, a gateway operation, and a service operation; The planned network topology is calibrated according to the actual network topology based on the atomic operation, and the planned network configuration is calibrated to obtain the updated network configuration.

4. The method according to any one of claims 1 to 3, characterized in that Calibrating the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result includes: When the difference type of the difference path is an on-site repair difference, the actual network topology is calibrated according to the planned network topology according to at least one operation step indicated by the matching result.

5. The method according to claims 1-4, characterized in that: Determining a matching result between the planned network topology and the actual network topology includes: The matching result is determined according to the graph structure of the planned network topology and the graph structure of the actual network topology, and the matching result includes the at least one operation step and the difference path.

6. The method according to claim 5, characterized in that Determining the matching result according to the graph structure of the planned network topology and the graph structure of the actual network topology includes: The at least one operation step is determined according to the minimum cost of operating the graph structure of the planned network topology, the cost is used to indicate the degree of influence of the operation on the graph structure of the planned network topology, and the operation includes at least one of an insertion operation, a deletion operation and a replacement operation.

7. The method according to claim 2 or 3, characterized in that: The method further comprises: When the actual network topology and the updated network configuration are verified successfully, the updated network configuration is configured for the actual network topology.

8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: When there is a difference between the planned network topology and the actual network topology, the matching result is displayed, and the matching result includes at least one operation step and a difference path.

9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: When there is no difference between the planned network topology and the actual network topology, the matching result is displayed, and the matching result is used to indicate that there is no difference between the planned network topology and the actual network topology.

10. A network topology calibration device, characterized in that: include: A communication module, used to obtain a planned network topology and an actual network topology, wherein the planned network topology is used to indicate a planned connection relationship of network devices, and the actual network topology is used to indicate an actual connection relationship of network devices; a matching module, used to determine a matching result between the planned network topology and the actual network topology, wherein the matching result is used to indicate whether there is a difference or no difference between the planned network topology and the actual network topology, wherein the difference includes at least one of a difference in network devices and a difference in connections between network devices; A calibration module is used to calibrate the difference path between the planned network topology and the actual network topology according to at least one operation step indicated by the matching result when there is a difference between the planned network topology and the actual network topology.

11. A computing device, characterized in that: The computing device includes a memory and a processor, wherein the memory is used to store a set of computer instructions; when the processor executes the set of computer instructions, the operation steps of the method described in any one of claims 1 to 9 are performed.

12. A communication system, characterized in that: The communication system includes the computing device and multiple network devices, the multiple network devices constitute the actual network topology, and the computing device is used to execute the operation steps of the method described in any one of claims 1-9 to calibrate the difference between the planned network topology and the actual network topology.

Citation Information

Cited By

  • Intelligent topology opening method and device and medium

    CN119363600A

  • Server network connection error detection method and system

    CN121792393A