Service configuration method, communication equipment and computer readable storage medium

By converting network configuration intent information into northbound interface messages and translating them into target yang files, the problem of poor system compatibility and inability to support equipment from different manufacturers in the IBN technical solution is solved, and stronger business configuration capabilities and compatibility are achieved.

CN119728412APending Publication Date: 2025-03-28ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311263328.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-27
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The existing intent-based network (IBN) technical solutions have problems with poor system compatibility and inability to support equipment from different manufacturers.

Method used

By obtaining network configuration intent information, converting it into northbound interface messages based on the northbound interface specification file, and converting the messages into target yang files, and then performing corresponding network configurations on the target network element device.

Benefits of technology

It improves the system compatibility of the IBN architecture, can support equipment from different manufacturers, and achieves stronger business configuration capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119728412A_ABST
    Figure CN119728412A_ABST
Patent Text Reader

Abstract

The invention discloses a service configuration method, communication equipment and a computer readable storage medium, and belongs to the technical field of communication. According to the method, the network configuration intention information is acquired, the network configuration intention information is translated into the corresponding northbound interface message based on the northbound interface specification file, the northbound interface message is translated into the target yang file, and then corresponding network configuration is performed on the target network element equipment through the target yang file. According to the invention, the system compatibility of the IBN architecture can be improved, and equipment of different manufacturers can be supported.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a service configuration method, a communication device, and a computer-readable storage medium. Background Art

[0002] With the application of new technologies, data centers have evolved from Ethernet Fabrics to SDN (Software Defined Network) and then to SD-WAN. With the continuous development of SD-WAN, intent-based networking (IBN) has emerged in the network field. The vigorous development of IBN is inseparable from the increasing popularity of software-defined networking (SDN). SDN controllers realize global network perception and intelligent management, innovatively decouple the control plane from the data plane, allow users to program the network on the application plane, and improve the efficiency of network management and operation. Based on the global view and open interface provided by SDN, IBN analyzes user intent through the corresponding network model, translates the intent into the corresponding network strategy, and finally realizes the automatic deployment of network perception and control strategy. The essence of SDN is to use a centralized controller to drive the entire network, use the controller to interact with the network and control the network. The intent interface can be used as one of its applications to realize the "intention" drive of the network and provide an ideal path for the digitization, intelligence and automation of the network.

[0003] As an emerging network paradigm, IBN brings many benefits to network management, but the technology is not yet mature and intent-based networking is still in the early stages of the industry. At this stage, IBN technical solutions still have problems such as poor system compatibility and inability to support equipment from different manufacturers. Summary of the invention

[0004] The main purpose of this application is to provide a service configuration method, a communication device and a computer-readable storage medium, aiming to solve the technical problems that the current IBN technical solution has poor system compatibility and cannot support devices from different manufacturers.

[0005] To achieve the above purpose, the present application provides a service configuration method, including: Get network configuration intent information; Based on the northbound interface specification file, convert the network configuration intention information into a corresponding northbound interface message, and translate the northbound interface message into a target yang file; The target network element device is configured accordingly through the target yang file to configure a service matching the network configuration intention information on the target network element device.

[0006] In addition, to achieve the above-mentioned purpose, the present application also provides a communication device, which includes: a memory, a processor, and a service configuration program stored in the memory and executable on the processor, and when the service configuration program is executed by the processor, the service configuration method as described above is implemented.

[0007] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, on which a service configuration program is stored, and when the service configuration program is executed by a processor, the service configuration method as described above is implemented.

[0008] The present application proposes a service configuration method, a communication device and a computer-readable storage medium. In the service configuration method, the technical solution of the embodiment of the present application is to obtain network configuration intention information, convert the network configuration intention information into a corresponding northbound interface message based on the northbound interface specification file, and translate the northbound interface message into a target yang file, and then perform corresponding network configuration on the target network element device through the target yang file to configure a service matching the network configuration intention information on the target network element device. The embodiment of the present application performs an intermediate transition conversion through the northbound interface specification file. Compared with directly converting the network configuration intention information into a yang file, the embodiment of the present application has stronger compatibility. That is, the embodiment of the present application converts the user intention into a northbound interface message based on the northbound interface specification file, and translates based on the yang model format to generate a matching device yang file or service yang file (i.e., target yang file), thereby improving the system compatibility of the IBN architecture and being able to support devices from different manufacturers. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0010] Figure 1 This is a flow chart of the first embodiment of the service configuration method of this application; Figure 2 This is a schematic diagram of the intended network architecture in an embodiment of the present application; Figure 3 This is a scene interaction diagram of the intention microservice UI layer in the embodiment of this application; Figure 4 The scene interaction diagram of the intended transfer layer in the embodiment of the present application; Figure 5This is a schematic diagram of the hardware structure of the communication device involved in the embodiment of the present application.

[0011] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0012] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0013] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0014] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0015] In this application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0016] In addition, in this application, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0017] As an emerging network paradigm, IBN brings many benefits to network management, but the technology is not yet mature and intent-based networking is still in the early stages of the industry. At this stage, IBN technical solutions still have problems such as poor system compatibility and inability to support equipment from different manufacturers.

[0018] Based on this, the present application embodiment provides a service configuration method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the service configuration method of this application. In this embodiment, the service configuration method includes: Step S10, obtaining network configuration intention information; In this embodiment, the user can input the network configuration intention information through the human-machine interface, and the format of the network configuration intention information can be text or voice. Specifically, the user can input natural language through voice input, GUI (Graphical User Interface, graphical user interface), etc., and then analyze and process the input natural language to obtain the user's network configuration intention information.

[0019] Step S20, based on the northbound interface specification file, translating the network configuration intention information into a corresponding northbound interface message, and translating the northbound interface message into a target yang file; In this embodiment, based on the unified northbound interface specification, the network configuration intention information is converted into the corresponding northbound interface message, and based on the yang model format, the northbound interface message is translated and processed to obtain the target yang file corresponding to the northbound interface message. It is known to those skilled in the art that the yang model is a tree-structured modeling language, and its format definition method can be seen through the syntax and semantic relationship of the yang model itself, which is convenient for users to describe their intentions.

[0020] It should be noted that the target yang file can be a service yang file (i.e., service-yang file) or a device yang file (i.e., device-yang file), wherein both the service yang file and the device yang file are files conforming to the yang model format.

[0021] Step S30, performing corresponding network configuration on the target network element device through the target yang file, so as to configure a service matching the network configuration intention information on the target network element device.

[0022] Exemplarily, performing corresponding network configuration on the target network element device through the target yang file includes: Step A10: Send the target yang file to the target network element device, so that the target network element device configures the service matching the network configuration intention information according to the acquired target yang file.

[0023] This embodiment performs corresponding network configuration on the target network element device through the target yang file to configure services matching the network configuration intention information on the target network element device, thereby converting the user's intention into the corresponding network configuration strategy, and then obtaining the network operation status expected by the user.

[0024] The type of the target network element device may be a router, a switch or other network element device, which is not specifically limited in this embodiment.

[0025] The service configuration method of the embodiment of the present application is specifically a service configuration method based on intent-driven networking (IBN), which can be applied to application scenarios such as network service orchestration, industrial Internet field (intelligent networking of factories, real-time monitoring of factory network status), and data center network (realizing intelligent management and monitoring in the case of a large number of links and complex network topology, and quickly repairing network failures).

[0026] The present application proposes a service configuration method, a communication device and a computer-readable storage medium. In the service configuration method, the technical solution of the embodiment of the present application is to obtain network configuration intention information, convert the network configuration intention information into a corresponding northbound interface message based on the northbound interface specification file, and translate the northbound interface message into a target yang file, and then perform corresponding network configuration on the target network element device through the target yang file to configure a service matching the network configuration intention information on the target network element device. The embodiment of the present application performs an intermediate transition conversion through the northbound interface specification file. Compared with directly converting the network configuration intention information into a yang file, the embodiment of the present application has stronger compatibility. That is, the embodiment of the present application converts the user intention into a northbound interface message based on the northbound interface specification file, and translates based on the yang model format to generate a matching device yang file or service yang file (i.e., target yang file), thereby improving the system compatibility of the IBN architecture and being able to support devices from different manufacturers.

[0027] In a possible implementation manner, before performing corresponding network configuration on the target network element device through the target yang file, the method further includes: Step B10, simulating the target yang file through a simulation model to obtain an intended simulation result corresponding to the target yang file, wherein the intended simulation result is used to characterize the network status information obtained after the target network element device is configured accordingly through the target yang file; Step B20, iteratively adjusts the target yang file according to the preset intention and the intention simulation result, and simulates the adjusted target yang file through the simulation model until the intention simulation result corresponding to the final adjusted target yang file meets the preset intention.

[0028] The simulation model is used to simulate the target operation of performing network configuration on the target network element device through the target yang file, so as to simulate the network status information obtained after the target operation (ie, the intended simulation result).

[0029] In this embodiment, the preset intention may be intention information input in advance by the user through voice input or GUI (Graphical User Interface).

[0030] This embodiment simulates the target yang file through a simulation model to obtain an intent simulation result corresponding to the target yang file, wherein the intent simulation result is used to characterize the network status information obtained after the target network element device is configured accordingly through the target yang file, and iteratively adjusts the target yang file according to the preset intent and the intent simulation result, and simulates the adjusted target yang file through the simulation model until the intent simulation result corresponding to the final adjusted target yang file meets the preset intent, thereby providing users with an intuitive perception of intent, improving the intelligence of the system, making its functions closer to the user's real intentions, and thereby reducing the probability of failure in the user's network configuration intent mapping.

[0031] The IBN (Intent based networking) architecture used in the service configuration method of the embodiment of the present application can be a fully autonomous network or a partially autonomous network, and this embodiment does not make specific limitations on this. Among them, the fully autonomous network can automatically adapt and adjust itself in different network environments and network conditions, and can achieve in-depth network status perception and automatic network control to meet the user's network intentions. In a specific environment, a partially autonomous network does not necessarily require human participation in decision-making, and can achieve autonomous adjustment of the network status. That is, in the case where the IBN (Intent based networking) architecture is a fully autonomous network, the above-mentioned step B20 is the execution subject of the service configuration method of the present application as a device machine, and the step B20 can be fully automated: iterative execution adjusts the target yang file according to the preset intent and the intention simulation result, and simulates the adjusted target yang file through the simulation model until the intention simulation result corresponding to the final adjusted target yang file meets the preset intent.

[0032] In addition, step B20 may also be performed semi-automatically or partially automatically in a human-machine combination manner (in this case, the IBN architecture is a partially autonomous network), specifically: As an example, the iterative execution adjusts the target yang file according to the preset intention and the intention simulation result, and simulates the adjusted target yang file through the simulation model until the intention simulation result corresponding to the final adjusted target yang file meets the preset intention, and the step also includes: Step C10, outputting and displaying the intention simulation result; Step C20, after receiving a denial instruction of the intention simulation result, outputting a preset editing window for the network configuration intention information; Step C30, receiving input intended editing information based on the preset editing window; Step C40, adjusting the target yang file according to the intended editing information to obtain an adjusted target yang file; Step C50, returns to execute the step of simulating the target yang file through the simulation model to obtain the intention simulation result corresponding to the target yang file, until receiving a confirmation instruction for the intention simulation result, determining that the intention simulation result meets the preset intention, and obtaining the final adjusted target yang file.

[0033] This embodiment outputs and displays the intention simulation result so that the user has an intuitive perception of the intention simulation result. After receiving a denial instruction for the intention simulation result, a preset editing window for the network configuration intention information is output, and based on the preset editing window, the input intention editing information is received, and then the target yang file is adjusted according to the intention editing information to obtain the adjusted target yang file, and then the step of simulating the target yang file through the simulation model to obtain the intention simulation result corresponding to the target yang file is returned to execute, until a confirmation instruction for the intention simulation result is received, it is determined that the intention simulation result meets the preset intention, and the intention simulation result is obtained. The final adjusted target yang file allows the user to confirm and feedback the results based on the intuitive perception of the intended simulation results. The system then adjusts the simulation results based on the user feedback and presents them to the customer for confirmation again. This process is repeated until the final simulation result is fully in line with the user's original intention. After obtaining the intent simulation result that fully meets the user's intention, the adjusted and simulated confirmed target yang file is output to the next system layer, thereby improving the intent matching degree, more intuitively and efficiently solving the system implementation problems caused by unclear intentions, and thus facilitating the acquisition of the network operation status expected by the user. In addition, this embodiment also reduces the equipment operation load through the human-computer interaction method.

[0034] In one practicable manner, the method further comprises: Step D10, optimizing the simulation model according to the finally adjusted target yang file and its corresponding intended simulation result.

[0035] The embodiment of the present application also optimizes the simulation model according to the finally adjusted target yang file and its corresponding intent simulation result, so that the optimized simulation model can simulate the target yang file more realistically and obtain more accurate intent simulation results. That is, the embodiment of the present application will combine the original user intention to form a relevant scenario model during the simulation result training and adjustment process, and give priority to matching the scenario model in subsequent user use of similar scenarios, so as to more realistically simulate the network status information actually output after the network configuration based on the target yang file, further improve the intelligent capabilities of the system, and make its functions closer to the user's real intentions.

[0036] Exemplarily, before simulating the target yang file by the simulation model, the method further includes: Step E10, obtaining the simulation model, wherein the simulation model is obtained in one of the following ways: The simulation model is constructed by mirroring the control domain network model of the target network element device; The simulation model is obtained by importing the control domain network element model through a third party; The simulation model is constructed by custom designing the number of network elements and network topology of the network model.

[0037] The embodiment of the present application sets the acquisition method of the simulation model to obtain the simulation model by mirroring the control domain network model of the target network element device, obtaining the simulation model by importing the control domain network element model by a third party, or obtaining the simulation model by customizing the number of network elements and network topology of the network model, so that the embodiment of the present application can build a simulation network by calling the built-in simulation tool, and supports the current control domain network elements, third-party imported control domain network elements, and custom network elements. Specifically, the three simulation network construction methods of the simulation network construction module: the current control domain network element method is to build a mirror network of the current actual control network, so as to meet the simulation requirements for the control of the existing network. The third-party import control domain network element method is to import the third-party network data with one click to build a simulation network that is not the current actual control network, so as to meet the simulation requirements for the third-party network to be migrated. The custom network element method builds a simulated network by customizing the type, quantity and topology of network elements to meet the simulation needs of the newly added and expanded network, and facilitates the delivery of relevant yang files (i.e. the target yang files mentioned above) to the simulation device (i.e. the simulation model mentioned above), and presents the results of the services in the simulation device to the user, so that the user has an intuitive perception of the intended simulation results. Based on the intuitive perception of the intended simulation results, the user confirms and gives feedback on the results, so that the network operation status (or network status information) after the network configuration based on the target yang file is closer to the user's real intention.

[0038] In a possible implementation, before acquiring the network configuration intention information, the method includes: Step F10, obtaining initial intention information, wherein the initial intention information is natural language information; Step F20, supplementing the abnormal information in the initial intention information through a preset template to obtain the supplemented network configuration intention information.

[0039] Exemplarily, the preset template includes at least one of the following: An example template of information items for providing supplementary guidance to the abnormal information; An information item selection template for providing selection guidance for the abnormal information.

[0040] In this embodiment, the user can input the initial intention information through voice input, GUI, etc.

[0041] This embodiment obtains initial intent information, which is natural language information, and supplements abnormal information in the initial intent information through a preset template to obtain the supplemented network configuration intention information. In response to the situation where there is ambiguity and missing information in the initial intent information, the system will output a preset template to guide the user to supplement the information, thereby providing corresponding examples to guide the user to supplement the information, so that the input network configuration intention information can be clearer, more accurate and compliant with the specifications.

[0042] Specifically, the service configuration method includes: Step G10, obtaining natural language information input by the user, performing keyword-based analysis and extraction on the natural language information, and obtaining the user's initial intention information; Step G20, when it is detected that the hit rate of the keyword analysis and extraction is less than a first preset value, or the information completeness of the initial intention information is less than a second preset value, outputting information supplementary guidance information; Wherein, the preset template includes the information supplementary guidance information.

[0043] In addition, the abnormal information includes at least one of the following: Information that the hit rate of the keyword is less than a first preset value; The information completeness of the initial intention information is less than the second preset value.

[0044] After step G20, step G30 is executed to receive the intended supplementary information input in response to the information supplementation guidance information; Step G40, determining the network configuration intention information based on the initial intention information and the intention supplementary information.

[0045] In this embodiment, the initial intent information and the intent supplementary information may be fused and analyzed to obtain the user's network configuration intent information.

[0046] Exemplarily, the step of determining the network configuration intention information according to the initial intention information and the intention supplementary information includes: Step H10, generating intention information to be confirmed according to the initial intention information and the intention supplementary information; Step H20, outputting and displaying the intention information to be confirmed; Step H30, after receiving a confirmation instruction for the intention information to be confirmed, use the intention information to be confirmed as the network configuration intention information.

[0047] This embodiment obtains natural language information input by the user, performs keyword-based analysis and extraction on the natural language information, obtains the user's initial intention information, and outputs information supplement guidance information when it is detected that the hit rate of the keyword analysis and extraction is less than a first preset value, or the information completeness of the initial intention information is less than a second preset value, and receives the intention supplement information input in response to the information supplement guidance information, and then determines the network configuration intention information based on the initial intention information and the intention supplement information. Specifically, this embodiment further generates the intention information to be confirmed based on the initial intention information and the intention supplement information, and then outputs and displays the intention information to be confirmed. After receiving the confirmation instruction for the intention information to be confirmed, the intention information to be confirmed is used as the user's network configuration intention information, thereby interactively supplementing and confirming the ambiguous and missing information in the user's input intention. In the case where ambiguous and missing information still exists after multiple interactive supplements, the system will output information supplement guidance information to guide the user to supplement the information, thereby providing corresponding examples to guide the user to supplement the information, and further ensuring that the input network configuration intention information can be clearer, more accurate and in compliance with the specifications.

[0048] Furthermore, before the step of outputting information to supplement the guidance information, the method includes: Step I10, monitoring network status information within the network domain, and identifying network global configuration information of the network domain based on the network status information; Step I20, generating a supplementary answer option for supplementing the initial intention information according to the network global configuration information; Step I30, using the supplementary answer options as information supplementation guidance information.

[0049] This embodiment monitors the network status information within the network domain, and identifies the network global configuration information of the network domain based on the network status information, and generates supplementary answer options for supplementing the initial intent information based on the network global configuration information, and then uses the supplementary answer options as information supplement guidance information, so that the IBN architecture of the embodiment of the present application can perceive and analyze the control domain of the target network element device based on the network status perception layer to obtain the network global configuration information, and provide answer supplement options for the ambiguous information in the user's intention. The user only needs to select the corresponding option to supplement the ambiguous information, thereby improving the interactive efficiency of supplementing the input of ambiguous or missing information in the initial intent information.

[0050] In a possible implementation manner, after translating the northbound interface message into a target yang file, the method further includes: Step J10, verifying the target yang file to obtain a verification result; In this embodiment, the verification includes at least one of a safety verification, an intention conflict verification, and an intention rationality verification.

[0051] Step J20, when the verification result is passed, execute: the step of performing corresponding network configuration on the target network element device through the target yang file.

[0052] Exemplarily, the verification includes a security verification and an intention rationality verification, and the verification of the target yang file includes: Step K10, performing the security check on the target yang file, wherein the security check is to check the device permissions and / or behavior permissions corresponding to the target yang file; In this embodiment, if the security check fails, a prompt message indicating that the intended operation authority is insufficient is output.

[0053] Specifically, the target network configuration intention corresponding to the target yang file is obtained, and it is identified whether the target network configuration intention belongs to the first intention configuration authority scope of the target network element device; when it is identified that it belongs to the first intention configuration authority scope, it is determined that the device permissions corresponding to the target yang file are verified to have passed; when it is identified that it does not belong to the first intention configuration authority scope, it is determined that the device permissions corresponding to the target yang file are verified to have failed.

[0054] In addition, the target network configuration intent corresponding to the target yang file is obtained, and it is identified whether the target network configuration intent belongs to the second intent configuration permission scope authorized by the current user account; if it is identified that it belongs to the second intent configuration permission scope, the behavior permission corresponding to the target yang file is determined to pass the verification; if it is identified that it does not belong to the second intent configuration permission scope, the behavior permission corresponding to the target yang file is determined to fail the verification. In this embodiment, it can be understood that the current user account is the account currently registered and logged in to the device terminal (i.e., the system of the execution subject) to which the business configuration method of the embodiment of this application is applied.

[0055] Step K20, when the security check passes, the rationality check is performed on the network configuration intention information corresponding to the target yang file according to the network global configuration information of the network domain.

[0056] This embodiment performs a security check on the target yang file, wherein the security check is to check the device permissions and / or behavior permissions corresponding to the target yang file. If the security check passes, the rationality of the network configuration intention information corresponding to the target yang file is checked based on the global network configuration information of the network domain, thereby achieving a security check on the intended operation, ensuring the network security of the intended operation, avoiding unauthorized intended behavior of users with low permissions or no permissions, ensuring the network security and rationality of the intention, and avoiding conflicts and waste of network resources.

[0057] In an practicable manner, after performing corresponding network configuration on the target network element device through the target yang file, the method further includes: Step L10, monitoring network status information within the network domain, performing monitoring according to the network status information, and obtaining network status monitoring data; Step L20, generating intention-based intention health information for output based on the network status monitoring data.

[0058] Furthermore, preset target operations are performed according to the network status monitoring data, wherein the preset target operations include at least one of intent-based traffic prediction, traffic tuning, fault prediction and fault repair.

[0059] The embodiment of the present application monitors the network status information within the network domain, monitors according to the network status information, obtains network status monitoring data, and generates intent-based intention health information based on the network status monitoring data for output, and the present embodiment can further perform preset target operations based on the network status monitoring data, wherein the preset target operations include at least one of intent-based traffic prediction, traffic tuning, fault prediction and fault repair, so that after the yang file configuration after a series of verification and simulation verification is sent to the actual network device (i.e., the target network element device), the corresponding intention monitoring task is established at the same time, and the intended traffic prediction, traffic tuning, fault prediction and fault repair functions can be performed based on various aspects of monitoring data such as performance and alarms of the intended service provided by the network status perception layer, and the relevant intention health information can be notified to the user in a timely manner, thereby improving the robustness of the service configuration method of the embodiment of the present application.

[0060] In order to help understand the technical concept or technical principle of the embodiments of the present application, a specific embodiment is listed, referring to Figure 2 , Figure 2 The following is a schematic diagram of the intent-based network (IBN) architecture in an embodiment of the present application, including: The intent microservice UI (User Interface) layer provides a unified graphical visual function entry, supports capability opening and docking with third-party systems, and is mainly responsible for the input and confirmation of user intent. Specifically, the intent input module supports customized templates for interactive text / language, as well as intent information input in the form of general recommendation templates. The intent confirmation module makes a unified judgment on the user's input intent, and interactively supplements and confirms the ambiguous and missing information in the user's input intent. In the case where there is still ambiguity and missing information after multiple interactive supplements, the intent confirmation module will guide the user to supplement the information and provide corresponding examples to guide the user to supplement the information. Furthermore, the intent confirmation module can provide option answers to supplement the ambiguous information in the user's intent based on the global network information obtained by the network status perception layer. The user only needs to select the corresponding option to supplement the ambiguous information.

[0061] The intent transfer layer includes an intent translation module and an intent verification module. Specifically, the intent translation module converts user intent into northbound interface messages based on a unified northbound interface specification file, and translates and generates matching device yang files or service yang files based on the yang model format, which can support devices from different manufacturers. The intent verification module performs security verification on intent operations based on the SDN (software-defined networking) system security module settings, and performs intent conflict verification and intent rationality verification based on the global network configuration information (services and performance) obtained by the SDN system.

[0062] The intention simulation training layer builds a simulation network by calling the built-in simulation tool, supports the current control domain network elements, third-party imported control domain network elements, and custom network elements, and realizes the visualization of intention activation based on the constructed simulation network. In addition, the intention model is trained based on the customer's feedback on the visualization of the intention simulation results. Specifically, there are three simulation network construction methods in the simulation network construction module: the current control domain network element method is to build a mirror network of the current actual control network to meet the simulation requirements for the control of the existing network; the third-party import control domain network element method is to build a simulation network that is not the current actual control network by one-click import of third-party network data to meet the simulation requirements for the third-party network to be migrated; the custom network element method is to build a simulation network by customizing the type, quantity and topology of the network element. The preset service method meets the simulation requirements for the newly added expansion network. The intention simulation training layer takes the intent yang file (that is, the above-mentioned target yang file) translated and verified by the intent transfer layer as input, sends the relevant yang file to the simulation device (that is, the above-mentioned target network element device), and presents the results of the service in the simulation device to the user, so that the user can have an intuitive perception of the simulation results of the intent. Based on the intuitive perception of the intended simulation results, the user confirms and gives feedback on the results. Furthermore, the system will adjust the simulation results based on user feedback and present them to the customer for confirmation again. This process is repeated until the final simulation results are in full compliance with the user's original intention. The simulation result training and adjustment process will combine the original user intention to form a relevant scenario model, and the scenario model will be used preferentially in subsequent user use of similar scenarios. In addition, the intent simulation training layer will combine the simulation results that fully meet the user's intentions, and coordinate the intent transfer layer to output the adjusted and simulated confirmed intent yang file to the next system layer.

[0063] The intent management layer includes the intent activation and intent assurance modules, which realize the fully automated issuance and activation of intents and the monitoring and assurance of the entire life cycle. Specifically, the intent activation module will send the yang model data configuration that has undergone a series of verification and simulation verification to the actual network equipment, and at the same time establish the corresponding intent monitoring task. The intent assurance module performs the intent traffic prediction, traffic optimization, fault prediction and fault repair functions based on the performance and alarm monitoring data of the intent service provided by the network status perception module, and promptly informs the user of the relevant intent health information.

[0064] The network status perception layer obtains information such as performance, service status, and alarms of the global network, and provides input information sources for other functional modules such as intent verification, management, and assurance. Among them, the IOAM (In-band Operation Administration and Maintenance) function can provide real-time service delay, packet loss and other data information, the real-time alarm reporting and alarm correlation analysis functions will provide the health status of the service, and the multi-dimensional topology function can provide network element and topology information of the global network.

[0065] It should be noted that although the above-mentioned specific embodiment 1 shows many details, it is only used to help understand the technical concept or technical principle of the embodiment of the present application, and does not constitute a limitation of the present application. More simple transformations based on the technical concept should all be within the scope of protection of the present application.

[0066] On the basis of the specific embodiment 1, in order to further help understand the technical concept or technical principle of the embodiment of the present application, please refer to Figure 3 and Figure 4 ,in: Figure 3 This is a scene interaction diagram of the microservice UI layer in the embodiment of the present application. Figure 4 The scene interaction diagram of the intent transfer layer in the embodiment of the present application. The intent network architecture of the embodiment of the present application includes: an intent microservice UI layer, an intent transfer layer, an intent simulation training layer, an intent management layer and a network status perception layer.

[0067] Step 1: The user inputs the initial intention (i.e. the initial intention information mentioned above) into the controller's intention UI layer through interactive language text or templates. The intention input module extracts the user's initial intention through simplified keyword extraction and then transfers it to the intention confirmation module. The intention module confirms the integrity and accuracy of the unconfirmed initial intention with the user and transfers the confirmed original intention to the intention transfer layer.

[0068] Step 2: After the intent transfer layer receives the user's original intent (i.e., the above-mentioned network configuration intent information), the intent translation module first translates the original intent layer northbound interface message based on the unified northbound interface specification file, and then converts the northbound interface message into a device or service yang file based on the yang model. The successfully translated device / service yang file is verified by the intent verification module. First, the device permissions and behavior permissions of the intended operation are security verified. Intent operations that fail the security verification are not allowed to be returned to the user. Intents that pass the security verification will further be tested for intent rationality based on global resources, performance, and alarm information obtained by the network status perception layer. For example, the intention is to use 1G bandwidth to open an L3VPN dedicated line service from A to B, but the network status perception layer obtains that the remaining bandwidth of the link between A and B is less than 1G. Based on the above embodiment, the intent verification layer needs to return information to the user that the intention is unreasonable (the remaining bandwidth of the A / B link is insufficient).

[0069] Step 3: The translated and verified intent yang file is used in the intent network simulation layer to implement simulation operations before intent activation. The simulation results (i.e. the intent simulation results mentioned above) will be presented to the user and fine-tuned based on user feedback. The intent training module will also learn user intent and improve the model based on the simulation results, so that subsequent intent network applications will be closer to the actual needs of users.

[0070] Step 4: The intent yang file verified by simulation will be sent to the real physical device (i.e. the target network element device) through the intent activation module, and the corresponding monitoring task will be established at the same time. The intent assurance module will carry out functions such as traffic prediction, traffic optimization, fault prediction and fault repair based on the performance and alarm monitoring data provided by the network status perception layer, and will promptly notify the user of the intent health information to achieve full life cycle assurance of the intent.

[0071] It should be noted that the above-mentioned specific embodiment 2 is only used to help understand the technical concept or technical principle of the embodiment of the present application, and does not constitute a limitation of the present application. More simple transformations based on the technical concept should all be within the scope of protection of the present application.

[0072] In addition, the present application also provides a communication device, referring to Figure 5 , Figure 5 A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present application. Figure 5As shown, the communication device may include: a processor 1001, a communication bus 1002, a user interface 1003, a network interface 1004 and a memory 1005. Among them, the processor 1001 may be a central processing unit (CPU). The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0073] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the communication device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Figure 5 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a service configuration program.

[0074] exist Figure 5 In the communication device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in this embodiment can be set in the communication device, and the communication device calls the service configuration program stored in the memory 1005 through the processor 1001, and executes the service configuration method provided in any of the above embodiments.

[0075] The device proposed in this embodiment and the service configuration method proposed in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to any of the above embodiments, and this embodiment has the same beneficial effects as executing the service configuration method.

[0076] In addition, an embodiment of the present application also proposes a storage medium, which is a computer-readable storage medium. The computer-readable storage medium can be a non-volatile computer-readable storage medium. A business configuration program is stored on the computer-readable storage medium. When the business configuration program is executed by the processor, the business configuration method of the present application as described above is implemented.

[0077] The various embodiments of the communication device and computer-readable storage medium of the present application can all refer to the various embodiments of the service configuration method of the present application, and will not be repeated here.

[0078] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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 process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0079] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0080] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a communication device to execute the methods described in each embodiment of the present application.

[0081] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A service configuration method, comprising: Get network configuration intent information; Based on the northbound interface specification file, the network configuration intention information is translated into a corresponding northbound interface message, and the northbound interface message is translated into a target yang file; The target network element device is configured accordingly through the target yang file to configure a service matching the network configuration intention information on the target network element device.

2. The service configuration method according to claim 1, characterized in that: Before performing corresponding network configuration on the target network element device through the target yang file, the method further includes: The target yang file is simulated by a simulation model to obtain an intended simulation result corresponding to the target yang file, wherein the intended simulation result is used to characterize the network status information obtained after the target network element device is configured accordingly by the target yang file; Iterative execution adjusts the target yang file according to the preset intention and the intention simulation result, and simulates the adjusted target yang file through the simulation model until the intention simulation result corresponding to the final adjusted target yang file meets the preset intention.

3. The service configuration method according to claim 2, characterized in that: The method further comprises: The simulation model is optimized according to the finally adjusted target yang file and its corresponding intended simulation result.

4. The service configuration method according to claim 2, characterized in that: Before simulating the target yang file by the simulation model, the method further comprises: Acquire the simulation model, wherein the simulation model is acquired in one of the following ways: The simulation model is constructed by mirroring the control domain network model of the target network element device; The simulation model is obtained by importing the control domain network element model through a third party; The simulation model is constructed by custom designing the number of network elements and network topology of the network model.

5. The service configuration method according to claim 1, characterized in that: Before acquiring the network configuration intention information, the method includes: Acquire initial intention information, where the initial intention information is natural language information; The abnormal information in the initial intention information is supplemented by a preset template to obtain the supplemented network configuration intention information.

6. The service configuration method according to claim 5, characterized in that: The preset template includes at least one of the following: An example template of information items for providing supplementary guidance to the abnormal information; An information item selection template for providing selection guidance for the abnormal information.

7. The service configuration method according to claim 1, characterized in that: After translating the northbound interface message into a target yang file, the method further comprises: Verify the target yang file to obtain a verification result; When the verification result is that the verification is passed, execute: the step of performing corresponding network configuration on the target network element device through the target yang file.

8. The service configuration method according to claim 7, characterized in that: The verification includes a security verification and an intention rationality verification, and the verification of the target yang file includes: Performing the security check on the target yang file, wherein the security check is to check the device permissions and / or behavior permissions corresponding to the target yang file; When the security check passes, the rationality check is performed on the network configuration intention information corresponding to the target yang file according to the network global configuration information of the network domain.

9. The service configuration method according to any one of claims 1 to 8, characterized in that: The performing corresponding network configuration on the target network element device through the target yang file includes: The target yang file is sent to the target network element device so that the target network element device configures the service matching the network configuration intention information according to the acquired target yang file.

10. A communication device, characterized in that: include: A memory, a processor, and a service configuration program stored in the memory and executable on the processor, wherein the service configuration program implements the service configuration method according to any one of claims 1 to 9 when executed by the processor.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a service configuration program, and when the service configuration program is executed by a processor, the service configuration method according to any one of claims 1 to 9 is implemented.