A configuration reconciliation solution and device based on intelligent analysis

Through intelligent analysis methods, the named entity recognition model is used to compare the effective configuration of network elements in real time, which solves the problems of invasiveness and delay in the existing technology, realizes non-invasive and real-time configuration reconciliation, and ensures configuration consistency and real-time operation and maintenance.

CN116094930BActive Publication Date: 2024-11-26CHINA TELECOM CLOUD TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211704182.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2024-11-26
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

The existing network configuration reconciliation system is invasive, affecting the performance of the network element, and cannot compare the truly effective configuration information in real time, resulting in the inability to discover configuration consistency differences in time.

Method used

Using an intelligent analysis method, by building automatic labeled training samples and named entity recognition NER model, obtaining real-time traffic information of network elements, performing named entity recognition, and determining whether the expected effective configuration of network elements is correctly issued and effective, real-time Compare the consistency with controller record.

Benefits of technology

It realizes non-invasive and real-time configuration reconciliation, ensuring that the configuration information that is truly effective is compared, rather than the text in the configuration file or database, and provides a real-time alarm mechanism to improve the real-time and accuracy of operation and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116094930B_ABST
    Figure CN116094930B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of intelligent operation and maintenance of digital intelligence platforms. In view of the shortcomings of the existing network configuration reconciliation methods, the present invention proposes a configuration reconciliation solution and device based on intelligent analysis. Without requiring any changes or customized service development on the network element side, the truly effective configuration of the network element side is obtained for the controller to perform network configuration reconciliation operations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent operation and maintenance of digital intelligence platforms, and in particular to a configuration reconciliation solution and device based on intelligent analysis. Background Art

[0002] Software Defined Network (SDN) is the most widely used new network innovation architecture. Its core technology is to separate the control plane and data plane of network devices, thereby achieving flexible control of network traffic, making the network as a pipeline more intelligent, and providing a good platform for innovation of core networks and applications. In a typical SDN system, the controller acts as a central hub, responsible for managing all network elements in the resource pool and issuing network configurations. Therefore, accurately and in real time, ensuring data consistency between the controller and network devices has become a top priority for current operations and maintenance.

[0003] The current network configuration reconciliation method is: the network element provides an interface to provide the network element's own configuration information. The controller queries the configuration information on a daily basis and then compares the configuration data. If the data is inconsistent, synchronization is performed.

[0004] The existing reconciliation system can well meet the function of on-demand comparison configuration, but there are two problems:

[0005] 1. This system relies on the network element to upload its own configuration, which means that the system requires the network element to provide the corresponding query function, so it is intrusive. This method will also have a certain impact on the performance of the network element. The reconciliation operation is generally performed at regular intervals during non-working hours, which is not convenient for real-time.

[0006] 2. The configuration information provided by the network element system is often in the database or configuration file, which is not necessarily the current effective configuration. Therefore, it is important to compare the current effective configuration, not the configuration text in the configuration file or database.

[0007] Therefore, a technical solution is urgently needed that does not require any changes or service provision on the network element side, and can also compare the configuration that is actually effective on the network element side, rather than the current database configuration text on the network element side. Summary of the invention

[0008] In view of this, the present invention provides a configuration reconciliation solution based on intelligent analysis, which aims to intelligently extract the real and effective configuration of the network device, determine whether the configuration is consistent with the controller record, and issue a real-time alarm if there is a difference.

[0009] In a first aspect, the present invention provides a configuration reconciliation solution based on intelligent analysis, the method comprising the following steps:

[0010] S1, construct automatically labeled training samples;

[0011] S2, based on automatically annotated samples, train the named entity recognition (NER) model;

[0012] S3, obtaining real-time traffic information of the network element to be identified, performing named entity recognition using the NER model, and obtaining configuration information of the network element to be identified;

[0013] S4, comparing the configuration information of the network element to be identified with that of the controller, and determining whether the expected effective configuration of the network element to be identified is issued and becomes effective successfully.

[0014] In a second aspect, the present invention provides a configuration reconciliation solution device based on intelligent analysis, the device comprising the following modules:

[0015] Sample construction module, used to construct automatically labeled training samples;

[0016] The training module is used to train the named entity recognition (NER) model based on automatically labeled samples;

[0017] An identification module, used to obtain real-time traffic information of the network element to be identified, perform named entity recognition using the NER model, and obtain configuration information of the network element to be identified;

[0018] The judgment module is used to compare the configuration information of the network element to be identified with that of the controller to determine whether the expected effective configuration of the network element to be identified is issued and becomes effective successfully.

[0019] The present invention has the following advantages over the prior art:

[0020] 1. Non-invasive: No changes are required on the network element side or any services are provided.

[0021] 2. It is the configuration that actually takes effect on the network element, rather than the configuration file or the persistent object in the database.

[0022] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the description of the present invention or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 Configure the reconciliation solution flow chart;

[0025] Figure 2 Configure the structure diagram of the reconciliation solution. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.

[0028] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0029] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0030] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including these elements.

[0031] In addition, the step sequence in the following method embodiments is only an example and not a strict limitation.

[0032] The present invention provides a configuration reconciliation solution based on intelligent analysis, as shown in the attached Figure 1 As shown, the method comprises the following steps:

[0033] S1, construct automatically labeled training samples.

[0034] a) Determine a network element whose configuration is correct and effective. Correct and effective means that the configuration has been correctly sent to the network element and it is confirmed that the network element configuration has taken effect.

[0035] b) Determine the configuration information that needs attention in the network element configuration: for example, the source address and destination address in Vxl and Tunnel. For example, name them (as entity categories) as VS and VD.

[0036] c) Extract all the traffic related to the network element, perform full-text search on the information of the traffic packet, and assign the corresponding entity category. For example, if all hits the source address IP of Vx l an, mark the entire hit IP address as VS; correspondingly, if the target address IP of Vx l an Tunnel is hit, mark the entire hit IP address as VD.

[0037] S2, based on automatically labeled samples, train the named entity recognition (NER) model.

[0038] S3, obtaining real-time traffic information of the network element to be identified, performing named entity recognition using the NER model, and obtaining configuration information of the network element to be identified.

[0039] In the specific implementation, for the network element that needs to be reversed, the real-time traffic information generated by the network element is extracted, and the model trained in step S2 is used to perform the task of named entity recognition. The entity information related to the network element to be identified is extracted from all the information generated by the task, that is, all the important information in the network element configuration.

[0040] S4, comparing the network element to be identified with the configuration information in the controller to determine whether the expected effective configuration of the network element to be identified is correctly issued and takes effect successfully.

[0041] In a specific implementation, all important configuration information generated by the comparison model, that is, the configuration information currently in effect for the network element, is compared with the configuration information in the controller. If the two are consistent, it is determined that the network element configuration information is successfully issued and effective.

[0042] The present invention also provides a configuration reconciliation solution device based on intelligent analysis, as shown in the attached Figure 2 As shown, the device includes the following modules:

[0043] The sample construction module is used to construct automatically labeled training samples.

[0044] a) Determine a network element whose configuration is correct and effective. Correct and effective means that the configuration has been correctly sent to the network element and it is confirmed that the network element configuration has taken effect.

[0045] b) Determine the configuration information that needs attention in the network element configuration: for example, the source address and destination address in Vxl and Tunnel. For example, name them (as entity categories) as VS and VD.

[0046] c) Extract all the traffic related to the network element, perform full-text search on the information of the traffic packet, and assign the corresponding entity category. For example, if all hits the source address IP of Vx l an, mark the entire hit IP address as VS; correspondingly, if the target address IP of Vx l an Tunnel is hit, mark the entire hit IP address as VD.

[0047] The training module is used to train the named entity recognition (NER) model based on automatically labeled samples.

[0048] The identification module is used to obtain the real-time traffic information of the network element to be identified, perform named entity recognition using the NER model, and obtain the configuration information of the network element to be identified.

[0049] In the specific implementation, for the network element that needs to be reversed, the real-time traffic information generated by the network element is extracted, and the model trained in step S2 is used to perform the task of named entity recognition. The entity information related to the network element to be identified is extracted from all the information generated by the task, that is, all the important information in the network element configuration.

[0050] The judgment module is used to compare the network element to be identified with the configuration information in the controller to determine whether the expected effective configuration of the network element to be identified is correctly issued and takes effect successfully.

[0051] In a specific implementation, all important configuration information generated by the comparison model, that is, the configuration information currently in effect for the network element, is compared with the configuration information in the controller. If the two are consistent, it is determined that the network element configuration information is successfully issued and effective.

[0052] It can be understood that the device provided in this embodiment can also be used to implement various steps in the methods provided in other embodiments of the present invention.

[0053] The present invention also provides a computer device. The computer device is in the form of a general-purpose computing device. The components of the computer device may include but are not limited to: one or more processors or processing units, a system memory, and a bus connecting different system components.

[0054] Computer devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the computer device, including volatile and non-volatile media, removable and non-removable media.

[0055] The system memory may include a computer system readable medium in the form of volatile memory. The memory may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

[0056] The processing unit executes various functional applications and data processing by running programs stored in the system memory, such as implementing the methods provided in other embodiments of the present invention.

[0057] The present invention also provides a storage medium containing computer executable instructions, on which a computer program is stored. When the program is executed by a processor, the method provided by other embodiments of the present invention is implemented.

[0058] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A configuration reconciliation solution based on intelligent analysis, characterized in that: The method comprises the following steps: S1, constructing automatically labeled training samples; specifically including: a) Identify a network element with a correct and effective configuration; The configuration is correctly effective, which means that the configuration has been correctly delivered to the network element and it is confirmed that the network element configuration has taken effect; b) Determine the configuration information that needs attention in the network element configuration; c) Extract all traffic related to the network element, perform full-text search on the information of the traffic packet, and assign corresponding entity categories; S2, based on automatically annotated samples, train the named entity recognition (NER) model; S3, obtaining real-time traffic information of the network element to be identified, performing named entity recognition using the NER model, and obtaining configuration information of the network element to be identified; S4, comparing the configuration information of the network element to be identified with that of the controller, and determining whether the expected effective configuration of the network element to be identified is issued and becomes effective successfully; The configuration information comparison includes obtaining the currently effective configuration information of the network element and comparing it with the configuration information in the controller. If the two are consistent, it is determined that the network element configuration information is successfully issued and effective.

2. A configuration reconciliation solution based on intelligent analysis, characterized in that: The device comprises the following modules: Sample construction module, used to construct automatically labeled training samples; Specifically include: a) Identify a network element with a correct and effective configuration; The configuration is correctly effective, which means that the configuration has been correctly delivered to the network element and it is confirmed that the network element configuration has taken effect; b) Determine the configuration information that needs attention in the network element configuration; c) Extract all traffic related to the network element, perform full-text search on the information of the traffic packet, and assign corresponding entity categories; The training module is used to train the named entity recognition (NER) model based on automatically labeled samples; An identification module, used to obtain real-time traffic information of the network element to be identified, perform named entity recognition using the NER model, and obtain configuration information of the network element to be identified; A judgment module, used to compare the configuration information of the network element to be identified with that of the controller, and judge whether the expected effective configuration of the network element to be identified is issued and becomes effective successfully; The configuration information comparison includes obtaining the currently effective configuration information of the network element and comparing it with the configuration information in the controller. If the two are consistent, it is determined that the network element configuration information is successfully issued and effective.

3. A computing device comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable program, and the executable program enables the processor to perform operations corresponding to the configuration reconciliation solution as claimed in claim 1.

4. A computer storage medium, wherein at least one executable program is stored in the storage medium, and the executable program enables a processor to perform operations corresponding to the configuration reconciliation solution as claimed in claim 1.