Network device configuration checking method and device, electronic device, and storage medium
Patent Information
- Application Number
- CN202311101717.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-08-29
AI Technical Summary
针对这种增量变化,现有配置核查方法必须重新对全网网络设备配置进行全面核查,核查效率低
[0015]本发明提供的一种网络设备配置的核查方法、装置、电子设备及计算机可读存储介质,通过采集网络设备的配置变化信息更新网络配置知识图谱,根据更新前后的网络配置知识图谱确定增量核查范围,对增量核查范围内的知识图谱进行核查操作。因此,本发明能够避免对以前已经核查的配置重复操作,实现对网络设备配置的增量变化检查,提高网络设备配置核查的效率。
Smart Images

Figure CN116996383B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication network technology, and in particular to a method, apparatus, electronic device, and computer-readable storage medium for verifying network device configuration. Background Technology
[0002] In recent years, the digital economy, characterized by digital technology, has developed rapidly. The network is the information infrastructure of the digital economy, and its stable and secure operation directly affects its development. Regular network checks are a common way to ensure normal network operation, primarily involving configuration verification of network devices. Network devices include routers, switches, gateways, etc. An important aspect of configuration verification is checking whether the device configuration meets requirements, such as whether the configured routing protocol is correct and whether the password strength is sufficiently complex. Based on categories, configuration verification can be divided into functional verification and security verification.
[0003] Network device configurations frequently change over time, such as due to the addition of network devices, upgrades to network protocols, and adjustments to the network structure. Existing configuration verification methods require a comprehensive re-verification of the entire network's device configurations to handle these incremental changes, resulting in low verification efficiency. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art by providing a method, apparatus, electronic device and computer-readable storage medium for verifying network device configuration. The method can verify only incremental changes in network device configuration, thereby improving the efficiency of network device configuration verification.
[0005] In a first aspect, the present invention provides a method for verifying network device configuration, comprising: updating a standard network configuration knowledge graph based on changes in network device configuration; and performing incremental verification on the updated standard network configuration knowledge graph.
[0006] Preferably, before updating the standard network configuration knowledge graph according to changes in network device configuration, the verification method further includes: collecting the original configuration information of the network device; constructing a standard network configuration knowledge graph based on the original configuration information of the network device; the step of updating the standard network configuration knowledge graph according to changes in network device configuration specifically includes: updating the standard network configuration knowledge graph using an interrupt mechanism, and summarizing incremental network configuration knowledge and corresponding incremental operations.
[0007] Preferably, the step of updating the standard network configuration knowledge graph using an interruption mechanism and summarizing incremental network configuration knowledge and corresponding incremental operations specifically includes: in response to changes in network device configuration, collecting information on changes in network device configuration using an interruption mechanism; constructing a network configuration change knowledge graph based on the information on changes in network device configuration; fusing the network configuration change knowledge graph with the standard network configuration knowledge graph before the update to obtain the updated standard network configuration knowledge graph; comparing the standard network configuration knowledge graph before the update with the updated standard network configuration knowledge graph, summarizing incremental network configuration knowledge and corresponding incremental operations, wherein the incremental operations include any one or more of the following: adding, deleting, and modifying.
[0008] Preferably, the incremental verification of the updated standard network configuration knowledge graph specifically includes: determining the scope of incremental verification; and performing verification operations on the knowledge graph within the scope of incremental verification.
[0009] Preferably, determining the incremental verification scope specifically includes: determining incremental network configuration knowledge, entities whose distance from incremental network configuration knowledge is a preset threshold, and the attributes corresponding to those entities.
[0010] Preferably, the entities and attributes of the entities whose distance from the incremental network configuration knowledge is a preset threshold satisfy any one of the following: if the second entity is directly connected to the first entity and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; if the second entity is directly connected to the first attribute and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; if the second entity and the first entity are both vertices of the first relation, and the second entity is in the standard network configuration knowledge graph before the update, wherein the first entity, the first attribute, and the first relation are respectively the entity, attribute, and relation in the incremental network configuration knowledge.
[0011] Preferably, the verification operation of the knowledge graph within the incremental verification scope specifically includes: performing configuration verification of the knowledge graph within the incremental verification scope manually or programmatically according to the established configuration verification rules.
[0012] Secondly, the present invention also provides a network device configuration verification device, comprising: a real-time update module for updating a standard network configuration knowledge graph according to changes in network device configuration; and an incremental verification module connected to the real-time update module for performing incremental verification on the updated standard network configuration knowledge graph.
[0013] Thirdly, the present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the verification method provided in the first aspect above.
[0014] Fourthly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the verification method provided in the first aspect above.
[0015] This invention provides a method, apparatus, electronic device, and computer-readable storage medium for verifying network device configurations. It updates the network configuration knowledge graph by collecting configuration change information of network devices, determines the incremental verification scope based on the network configuration knowledge graph before and after the update, and performs verification operations on the knowledge graph within the incremental verification scope. Therefore, this invention avoids repeating operations on previously verified configurations, enables incremental change checks on network device configurations, and improves the efficiency of network device configuration verification. Attached Figure Description
[0016] Figure 1 A flowchart illustrating a network device configuration verification method according to Embodiment 1 of the present invention;
[0017] Figure 2 This is a schematic diagram of a standard network configuration knowledge graph in Embodiment 1 of the present invention;
[0018] Figure 3 This is a schematic diagram of an updated standard network configuration knowledge graph in Embodiment 1 of the present invention;
[0019] Figure 4 This is a schematic diagram of the structure of a verification device configured for a network device according to Embodiment 2 of the present invention. Detailed Implementation
[0020] To enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0021] It is understood that the specific embodiments and accompanying drawings described herein are merely for explaining the invention and are not intended to limit the invention.
[0022] It is understood that, without conflict, the various embodiments and features in the embodiments of the present invention can be combined with each other.
[0023] It is understood that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, while the parts unrelated to the present invention are not shown in the drawings.
[0024] It is understood that each unit or module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units or modules may be integrated into one entity structure.
[0025] It is understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of this invention may occur in a different order than that marked in the accompanying drawings.
[0026] It is understood that the flowcharts and block diagrams of this invention illustrate the possible architecture, functions, and operations of systems, apparatuses, devices, and methods according to various embodiments of this invention. Each block in the flowchart or block diagram may represent a unit, module, program segment, or code, containing executable instructions for implementing the specified function. Furthermore, each block or combination of blocks in the block diagram and flowchart can be implemented using a hardware-based system to achieve the specified function, or using a combination of hardware and computer instructions.
[0027] It is understood that the units and modules involved in the embodiments of the present invention can be implemented by software or by hardware. For example, the units and modules can be located in a processor.
[0028] Example 1:
[0029] This embodiment provides a method for verifying network device configuration. For example... Figure 1 As shown, the methods for verifying network device configurations include:
[0030] Step S101: Update the standard network configuration knowledge graph based on changes in network device configuration.
[0031] In this embodiment, the standard network configuration knowledge graph is used to visualize network device configuration information, including network device configuration information before and after the change.
[0032] Optionally, before step S101: updating the standard network configuration knowledge graph according to changes in network device configuration, the verification method further includes: collecting the original configuration information of the network device and constructing a standard network configuration knowledge graph based on the original configuration information of the network device.
[0033] In this embodiment, the original configuration information of network devices is collected, displayed using commands from the network devices, and saved as a configuration text file. A standard network configuration knowledge graph is constructed based on the original configuration information of the network devices. The basic steps include: defining the configuration ontology, collecting configuration data, extracting configuration knowledge, and generating the configuration graph. Defining the configuration ontology: The ontology of network devices is abstractly defined based on network knowledge, including classes, relationships, and attributes. Extracting configuration knowledge: Entity, relationship, and attribute data are extracted from the configuration text file. Generating the configuration graph: The extracted configuration knowledge is processed to remove ambiguity and generate a network configuration knowledge graph, which is then used as the standard network configuration knowledge graph. While all manufacturers support displaying active device configuration information, the commands and display formats differ. For example, the command for Company A's router is "display current-configuration," while the command for Company B's router is "show running-configuration." By uniformly collecting and saving the configuration information as a text file and constructing a network configuration knowledge graph, the differences in network device configurations between different manufacturers are masked, and a unified configuration verification interface is established, effectively improving compatibility for verifying network device configurations from different manufacturers.
[0034] In this embodiment, if the original configuration of the network devices collected is as follows: Router 1 has 2 ports, interface 1 and interface 3, each port is configured with IP addresses, IP1 and IP3; Router 2 has 3 ports, interface 5, interface 6 and interface 7, each port is configured with IP addresses, IP5, IP6 and IP7; and interface 1 of router 1 is connected to interface 5 of router 2, then the extracted configuration knowledge is as follows:
[0035] Entities: Interface 1, Interface 3, Interface 5, Interface 6, Interface 7, Router 1, Router 2, IP1, IP3, IP5, IP6, IP7;
[0036] Attributes: Description information 1, Description information 3, Description information 5, Description information 6, Description information 7;
[0037] Relationships: Interface 1 - IP1, Router 1 - Interface 1, Interface 3 - IP3, Router 1 - Interface 3, Interface 1 - Interface 5, Interface 5 - IP5, Router 2 - Interface 5, Router 2 - Interface 7, Router 2 - Interface 6, Interface 6 - IP6, Interface 7 - IP7, Interface 1 - Description 1, Interface 3 - Description 3, Interface 5 - Description 5, Interface 6 - Description 6, Interface 7 - Description 7.
[0038] A standard network configuration knowledge graph constructed based on the original configuration information of network devices, such as... Figure 2As shown, circles represent entities, ellipses represent attributes, and edges represent relationships. A standard network configuration knowledge graph constructed from the original configuration information of network devices can also be represented using triples, such as:
[0039] Router 1 has interface 1.
[0040] <Interface 1, Address, IP1>
[0041] Router 1 has interface 3.
[0042] <Interface 3, Address, IP3>
[0043] <Interface 1, Connection, Interface 5>
[0044] Router 2 has 5 ports.
[0045] <Interface 5, Address, IP5>
[0046] Router 2 has 6 ports.
[0047] <Interface 6, Address, IP 6>
[0048] Router 2 has 7 ports.
[0049] <Interface 7, Address, IP 7>
[0050] Specifically, step S101: Update the standard network configuration knowledge graph according to changes in network device configuration, including: updating the standard network configuration knowledge graph using an interruption mechanism, and summarizing incremental network configuration knowledge and corresponding incremental operations.
[0051] Specifically, an interruption mechanism is used to update the standard network configuration knowledge graph, and incremental network configuration knowledge and corresponding incremental operations are summarized, including:
[0052] Step S1011: In response to changes in network device configuration, an interrupt mechanism is used to collect information on changes in network device configuration.
[0053] In this embodiment, after adding an interrupt, the computer specifies a compatible external command and sets up a service program that can interrupt the current task. Therefore, when the network configuration changes, the interrupt mechanism triggers the network device configuration change information collection operation, and may also interrupt some operations of the network device that cause configuration information changes, or interrupt the execution task of the network device. After completing the network device configuration change information collection operation, it jumps back to the program or task that was just interrupted (i.e., the interrupted network device execution task mentioned above). When the network device configuration changes frequently over time, it efficiently collects network device configuration change information to update the standard network configuration knowledge graph, improving the efficiency of incremental configuration checks.
[0054] Step S1012: Construct a network configuration change knowledge graph based on the network device configuration change information;
[0055] In this embodiment, a network configuration change knowledge graph is constructed from the collected network device configuration change information. Similarly, the basic steps of constructing a standard network configuration knowledge graph based on the original configuration information of the network devices are used in this embodiment. The configuration ontology defined when constructing the standard network configuration knowledge graph is used to extract configuration knowledge from the collected network device configuration change information to generate the network configuration change knowledge graph.
[0056] Step S1013: Merge the network configuration change knowledge graph and the standard network configuration knowledge graph before the update to obtain the updated standard network configuration knowledge graph;
[0057] Step S1014: Compare the standard network configuration knowledge graph before the update with the standard network configuration knowledge graph after the update, and summarize the incremental network configuration knowledge and the corresponding incremental operations. The incremental operations include any one or more of the following: adding, deleting, and modifying.
[0058] In this embodiment, if the network device configuration change information includes: router 1 adds interface 2, interface 2 is configured with IP2, interface 2 and interface 6 are connected, IP7 is changed to IP8, and IP1 is deleted from interface 1, then the configuration knowledge extracted for constructing the network configuration change knowledge graph is as follows:
[0059] Entities: Interface 2, IP2, IP8, Router 1, Interface 6, Interface 7;
[0060] Attributes: None;
[0061] Relationship: Router 1 - Interface 2, Interface 2 - IP2, Interface 2 - Interface 6, Interface 7 - IP8.
[0062] By fusing the network configuration change knowledge graph and the original standard network configuration knowledge graph, the updated standard network configuration knowledge graph is obtained as follows: Figure 3 As shown, the updated standard network configuration knowledge graph can be described using triples as follows:
[0063] Router 1 has interface 1.
[0064] Router 1 has interface 2.
[0065] <Interface 2, Address, IP2>
[0066] <Interface 2, Connection, Interface 6>
[0067] Router 1 has interface 3.
[0068] <Interface 3, Address, IP3>
[0069] <Interface 1, Connection, Interface 5>
[0070] Router 2 has 5 ports.
[0071] <Interface 5, Address, IP5>
[0072] Router 2 has 6 ports.
[0073] <Interface 6, Address, IP 6>
[0074] Router 2 has 7 ports.
[0075] <Interface 7, Address, IP 8>.
[0076] Compare the standard network configuration knowledge graph before and after the update, i.e., compare... Figure 2 and Figure 3 The summarized incremental network configuration knowledge and corresponding incremental operations are shown in Table 1:
[0077] Table 1 Summary of Incremental Network Configuration Knowledge and Corresponding Incremental Operations
[0078] Interface 2 √ Router 1 - Interface 2 √ Interface 2-Interface 6 √ Interface 2-IP2 √ IP8 √ IP1 √ Interface 1-IP1 √
[0079] Step S102: Perform incremental verification on the updated standard network configuration knowledge graph.
[0080] Since network device configurations change frequently, checking only the incremental part after each change can significantly improve verification efficiency.
[0081] Specifically, step 102: Perform incremental verification on the updated standard network configuration knowledge graph, including:
[0082] Step 1021: Determine the scope of incremental verification;
[0083] Specifically, step 1021: Determine the scope of incremental verification, including: determining incremental network configuration knowledge, entities whose distance from incremental network configuration knowledge is a preset threshold, and the attributes corresponding to the entities.
[0084] In this embodiment, the preset threshold is typically set to 1.
[0085] Specifically, entities and attributes whose distance from incremental network configuration knowledge is a preset threshold satisfy any one of the following: if the second entity is directly connected to the first entity and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; if the second entity is directly connected to the first attribute and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; if the second entity and the first entity are both vertices of the first relation, and the second entity is in the standard network configuration knowledge graph before the update, wherein the first entity, the first attribute, and the first relation are respectively the entity, attribute, and relation in the incremental network configuration knowledge.
[0086] In this embodiment, taking a preset threshold of 1 as an example, the incremental verification range for the updated standard network configuration knowledge graph is shown in Table 2:
[0087] Table 2 Scope of Incremental Verification
[0088]
[0089] Step 1022: Perform verification operations on the knowledge graph within the scope of incremental verification.
[0090] Specifically, step 1022: perform verification operations on the knowledge graph within the scope of incremental verification, including: performing configuration verification on the knowledge graph within the scope of incremental verification using manual or programmatic methods according to the established configuration verification rules.
[0091] In this embodiment, manual verification (equivalent to manual configuration verification as described above) involves manually checking the knowledge graph within the incremental verification scope, which is suitable for situations with a small number of devices. Program verification (equivalent to configuration verification as described above) involves writing a verification script program based on the requirements of the check items. The script program performs lexical analysis, syntactic analysis, semantic analysis, etc. on the knowledge graph within the incremental verification scope, and then judges whether the check items meet the requirements. Because the script program runs quickly and efficiently, it can check a large number of devices.
[0092] In this embodiment, the knowledge graph within the incremental verification scope is first restored to a graphical representation, i.e., displayed as vertices and edges. During manual verification, the attribute values and connectivity of entities are manually checked according to the configuration baseline requirements. If any content that does not meet the requirements is found, it is marked on the graph in a timely manner. During program verification, the vertices and edges of the graph are traversed using a program according to the configuration baseline requirements, and the content that does not meet the requirements is recorded.
[0093] In this embodiment, based on the established configuration verification rules, configuration verification operations are performed on the knowledge graph within the incremental verification scope using manual or programmatic methods. The verification results show that... Figure 3In the problem, interface 2 lacks attribute description information, namely description information 2, which requires maintenance personnel to modify the device.
[0094] The network device configuration verification method provided in this embodiment updates the network configuration knowledge graph by collecting configuration change information of network devices. Based on the network configuration knowledge graph before and after the update, the incremental verification scope is determined, and verification operations are performed on the knowledge graph within the incremental verification scope. This avoids repetitive operations on previously verified configurations, enabling separate checks on incremental changes in network device configurations and improving the efficiency of network device configuration verification. Furthermore, the network configuration knowledge graph provides an intuitive interface for network configuration verification, facilitating accurate problem location. Moreover, the network configuration knowledge graph masks differences in display formats and query commands between devices from different manufacturers, providing a unified configuration verification interface and simplifying configuration verification operations.
[0095] Example 2:
[0096] like Figure 4 As shown, this embodiment provides a network device configuration verification device, including:
[0097] The real-time update module 21 is used to update the standard network configuration knowledge graph according to changes in network device configuration.
[0098] The incremental verification module 22, connected to the real-time update module 21, is used to perform incremental verification on the updated standard network configuration knowledge graph.
[0099] Optionally, the network device configuration verification device in this embodiment further includes: a knowledge graph construction module 20, used to collect the original configuration information of the network device and construct a standard network configuration knowledge graph based on the original configuration information of the network device.
[0100] Specifically, the real-time update module 21 includes a data acquisition submodule 211, a knowledge graph construction submodule 212, a knowledge graph update submodule 213, and an incremental configuration knowledge aggregation submodule 214. The data acquisition submodule 211 is used to collect network device configuration change information using an interrupt mechanism in response to network device configuration changes. The knowledge graph construction submodule 212, connected to the data acquisition submodule 211, is used to construct a network configuration change knowledge graph based on the network device configuration change information. The knowledge graph update submodule 213, connected to both the knowledge graph construction submodule 212 and the knowledge graph construction module 20, is used to merge the network configuration change knowledge graph with the standard network configuration knowledge graph before the update to obtain the updated standard network configuration knowledge graph. The incremental configuration knowledge aggregation submodule 214, connected to the knowledge graph update submodule 213, is used to compare the standard network configuration knowledge graph before the update with the updated standard network configuration knowledge graph, and aggregate incremental network configuration knowledge and corresponding incremental operations, wherein the incremental operations include any one or more of the following: adding, deleting, and modifying.
[0101] Specifically, the incremental verification module 22 includes an incremental verification scope determination submodule 221 and an incremental verification submodule 222. The incremental verification scope determination submodule 221 is used to determine the incremental verification scope, including incremental network configuration knowledge, entities whose distance from the incremental network configuration knowledge is a preset threshold, and the attributes corresponding to those entities. The incremental verification submodule 222, connected to the incremental verification scope determination submodule 221, is used to perform verification operations on the knowledge graph within the incremental verification scope.
[0102] Understandably, the network device configuration verification device provided above is used to execute the method corresponding to Embodiment 1 provided above. Therefore, the beneficial effects it can achieve can be referred to the beneficial effects of the method in Embodiment 1 above and the corresponding scheme in the detailed implementation below, which will not be repeated here.
[0103] Example 3:
[0104] This embodiment also provides an electronic device, including a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to implement the network device configuration verification method in the above embodiment.
[0105] Example 4:
[0106] This embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the network device configuration verification method described in the above embodiment.
[0107] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A method for verifying the configuration of network devices, characterized in that, include: Update the standard network configuration knowledge graph based on changes in network device configuration; Incremental verification of the updated standard network configuration knowledge graph, including: Determine the scope of the incremental verification; specifically: determine the incremental network configuration knowledge, entities whose distance from the incremental network configuration knowledge is a preset threshold, and the attributes corresponding to those entities; wherein, the entities whose distance from the incremental network configuration knowledge is a preset threshold and the attributes of those entities satisfy any one of the following: If the second entity is directly connected to the first entity and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; If the second entity is directly connected to the first attribute and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; If the second entity and the first entity are both vertices of the first relation, and the second entity is in the standard network configuration knowledge graph before the update, then the first entity, the first attribute, and the first relation are the entity, attribute, and relation in the incremental network configuration knowledge, respectively.
2. The network device configuration verification method according to claim 1, characterized in that, Before updating the standard network configuration knowledge graph based on changes in network device configuration, the following is also included: Collect raw configuration information of network devices; A standard network configuration knowledge graph is constructed based on the original configuration information of network devices. The updating of the standard network configuration knowledge graph based on changes in network device configuration specifically includes: An interrupt mechanism is used to update the standard network configuration knowledge graph, and incremental network configuration knowledge and corresponding incremental operations are summarized.
3. The method for verifying network device configuration according to claim 2, characterized in that, The method of updating the standard network configuration knowledge graph using an interruption mechanism and summarizing incremental network configuration knowledge and corresponding incremental operations specifically includes: In response to changes in network device configuration, an interrupt mechanism is used to collect information on these changes. Construct a network configuration change knowledge graph based on network device configuration change information; By integrating the network configuration change knowledge graph and the standard network configuration knowledge graph before the update, an updated standard network configuration knowledge graph is obtained. By comparing the standard network configuration knowledge graph before and after the update, the incremental network configuration knowledge and the corresponding incremental operations are summarized. The incremental operations include any one or more of the following: adding, deleting, and modifying.
4. The method for verifying network device configuration according to claim 2, characterized in that, The incremental verification of the updated standard network configuration knowledge graph also includes: Perform verification operations on the knowledge graph within the scope of incremental verification.
5. The network device configuration verification method according to claim 4, characterized in that, The verification operation of the knowledge graph within the scope of incremental verification specifically includes: Based on the established configuration verification rules, the knowledge graph within the scope of incremental verification is verified manually or by program.
6. A network device configuration verification device, characterized in that, include: The real-time update module is used to update the standard network configuration knowledge graph based on changes in network device configuration. An incremental verification module, connected to the real-time update module, is used to perform incremental verification on the updated standard network configuration knowledge graph. This includes: determining the incremental verification range; specifically: determining the incremental network configuration knowledge, entities whose distance to the incremental network configuration knowledge is a preset threshold, and the attributes corresponding to those entities; wherein the entities whose distance to the incremental network configuration knowledge is a preset threshold and the attributes of those entities satisfy any one of the following: If the second entity is directly connected to the first entity and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; If the second entity is directly connected to the first attribute and the distance is a preset threshold, and the second entity is in the standard network configuration knowledge graph before the update; If the second entity and the first entity are both vertices of the first relation, and the second entity is in the standard network configuration knowledge graph before the update, then the first entity, the first attribute, and the first relation are the entity, attribute, and relation in the incremental network configuration knowledge, respectively.
7. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the network device configuration verification method as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the network device configuration verification method as described in any one of claims 1-5.
Citation Information
Patent Citations
Verification method and device for network configuration
CN113872784A
Network configuration knowledge graph construction method and device
CN114172793A