An intent-driven self-intelligent network on-demand service method and system

By configuring large models and hybrid expert models, combined with network equipment manuals and real-time status, the problem of inaccurate intent translation in self-intelligent networks is solved, efficient conversion of user intent to configuration commands and resource allocation are achieved, and the intelligence and management efficiency of self-intelligent networks are improved.

CN119255271BActive Publication Date: 2025-09-30BEIJING UNIV OF POSTS & TELECOMM
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411495076.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-09-30
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

In the process of intent translation in self-intelligent networks, existing technologies cannot accurately translate user intent into configuration commands from a semantic level, resulting in failure to meet user needs and unable to ensure the rationality and executability of configuration commands.

Method used

A large configuration generation model is adopted in combination with the network equipment manual and a hybrid expert model. The configuration command template sequence is corrected through fine-tuning of the large model and an external knowledge base. Resource allocation is performed in combination with the real-time network status to generate configuration commands that meet user needs.

Benefits of technology

It achieves accurate translation of user intent into configuration commands at the semantic level, ensures the rationality and executability of commands, improves the automation and intelligence level of the self-intelligent network, optimizes network resource utilization, and simplifies management processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119255271B_ABST
    Figure CN119255271B_ABST
Patent Text Reader

Abstract

An intent-driven, self-intelligent network on-demand service method and system includes: collecting user intent; generating a configuration generation model, translating user intent into a configuration command template sequence without parameter filling; obtaining a network configuration document, modifying the template sequence by the configuration generation model, and filling in values ​​for semantic-level parameters; setting a number of service quality indicators, generating a service quality indicator weight matrix based on user intent by the configuration generation model, then building an expert model for each service quality indicator, calculating the resource allocation weight vector of the indicator-level parameter under the corresponding service quality indicator by the expert model, and finally determining the indicator-level parameter value based on the weight matrix and the resource allocation weight vector of the expert model, and filling it into the template sequence; outputting the template sequence one by one to the network device for execution. The present invention relates to the field of information and communication networks, and can accurately translate user intent into configuration commands at the semantic level, and dynamically generate configuration commands that meet user needs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an intention-driven self-intelligent network on-demand service method and system, and relates to the field of information communication networks. Background Art

[0002] In the grand vision of 6G networks, meeting highly flexible and diverse business needs and application scenarios has become an inevitable requirement for the evolution of future wireless networks. With the advancement of intelligent networks, the concept of self-intelligent networks has emerged. Leveraging artificial intelligence, machine learning, and automation technologies, self-intelligent networks achieve the capabilities of self-configuration, self-optimization, self-healing, and self-protection. They dynamically adjust and optimize network operations to adapt to changing needs and conditions without human intervention. Furthermore, self-intelligent networks introduce the concept of "intent," an abstract form of high-level goals, needs, or expectations expressed by users or systems. By interpreting intent, self-intelligent networks can efficiently regulate network operations, significantly improving network efficiency, reliability, and responsiveness while reducing operational costs and complexity.

[0003] However, achieving this goal requires implementing intent translation within self-intelligent networks. Intent translation is the process of translating high-level user or business objectives into specific technical implementations. Through intent translation, abstract intents can be transformed into actual network configurations and operations, effectively regulating network resources to meet diverse business needs. Existing solutions typically train deep learning models, input intent requirements into the model for translation, generate network configuration policies, and then optimize and execute these policies using resource allocation algorithms.

[0004] Due to the limitations of previous natural language processing technologies, intent translation is often inaccurate. This is particularly evident when it comes to generating configuration commands based on user intent at the semantic level. Intent is typically mapped to fixed translation templates. This issue directly limits the application of self-intelligence networks. Traditional deep learning models often lack the ability to understand and generate long texts, and are limited to simpler tasks such as entity extraction and template matching. This limitation makes it impossible to meet the fine-grained intent understanding, configuration generation, and resource allocation requirements of self-intelligence networks.

[0005] During the intent translation process, the manuals of network devices are not effectively utilized, resulting in the complex relationship between the parameters in the configuration commands and their corresponding values, which may lead to erroneous results. For example, the network resource status does not match the value range specified in the manual. In addition, during the configuration command generation process of intent translation, the scheduling of resources must take into account both the status of the underlying network and user needs. Specifically, on the one hand, it is necessary to ensure that the commands issued can be executed safely under the current network conditions, and on the other hand, it is necessary to meet the user's intent needs as much as possible to avoid the allocated resources deviating too much from the expected value, thereby maximizing network benefits.

[0006] The existing patent CN202410586617.X (application name: A device and method for translating application intentions in an intent-based network, applicant: Guizhou University, application date: 2024.05.13) discloses a device and method for translating application intentions in an intent-based network, involving the field of new generation artificial intelligence, including an intention collection module, an intention translation module, a knowledge base and a network virtual request interface; the intention collection module collects application information in the business to realize the complete expression of business intentions in the intention-based network (IBN); the intention translation module converts the collected business intention information into specific network virtual requests, and uses machine learning technology to explore the deep correlation between business intentions and network virtual requests; the network virtual request interface is a bridge between the system and the network slice, obtaining information from the network slice and sending the generated network virtual request to the network; the knowledge base is used to store the data information collected by the intention collection module and the network virtual request interface. Specifically, this technical solution collects application intention data of users in the network and trains this data using an enhanced Transformer algorithm. Through this enhanced Transformer algorithm, the potential patterns between user intentions and network virtual requests can be deeply explored. Subsequently, the user's intentions are converted into specific network virtual requests, and the slice information corresponding to the request is obtained from the network slice manager to fill the network virtual request. Finally, the generated network virtual request will be sent to the network for actual execution. On the one hand, this technical solution matches the intention to a network virtual request with a fixed template through the Transformer algorithm, but fails to truly understand the user's intention at the semantic level. Therefore, it cannot dynamically generate configuration commands that can meet the user's needs, nor can it ensure that the generated network virtual request complies with the issued network equipment. On the other hand, it only obtains information from the network slice to fill the request as a result of resource allocation, without fully considering the real-time status of the underlying network, and therefore cannot ensure that the intention requirements are met to the greatest extent.

[0007] Therefore, how to accurately translate user intent into configuration commands at the semantic level, thereby dynamically generating configuration commands that meet user needs and determining the rationality and executability of the commands has become a technical issue that technical personnel focus on. Summary of the Invention

[0008] In view of this, the purpose of the present invention is to provide an intent-driven self-intelligent network on-demand service method and system, which can accurately translate user intentions into configuration commands from a semantic level, thereby dynamically generating configuration commands that meet user needs and determining the rationality and executability of the commands.

[0009] To achieve the above objectives, the present invention provides an intent-driven, self-intelligent network on-demand service method, comprising:

[0010] Step 1: Collect input user intent, which is a configuration request or business requirement expressed in natural language;

[0011] Step 2: Generate a configuration generation model based on the user's intent. The configuration generation model then translates the user's intent and outputs a configuration command template sequence without parameters filled in. The configuration command template sequence includes semantic-level parameters and indicator-level parameters.

[0012] Step 3: Obtain the user intent and the network configuration document for each semantic-level parameter in the configuration command template sequence. Then, input the user intent, the configuration command template sequence, the user intent, and the network configuration documents of all semantic-level parameters into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in the values ​​of all semantic-level parameters. Finally, it outputs the configuration command template sequence after the semantic-level parameters are filled in.

[0013] Step 4: Set several service quality indicators. The configuration generation model generates a service quality indicator weight matrix based on user intent. Then, an expert model is constructed and trained for each service quality indicator. Each expert model calculates the resource allocation weight vector for each indicator-level parameter in the configuration command template sequence under its corresponding service quality indicator. Finally, based on the service quality indicator weight matrix and the resource allocation weight vector of each expert model, the value of each indicator-level parameter is determined and filled into the configuration command template sequence.

[0014] Step 5: Output the configuration command template sequence to the network device one by one for execution.

[0015] In order to achieve the above objectives, the present invention also provides an intent-driven self-intelligent network on-demand service system, comprising:

[0016] An intent input device collects input user intent, which is a configuration request or business requirement expressed in natural language;

[0017] An intent translation device generates a configuration generation model based on user intent, and the configuration generation model translates the user intent into a configuration command template sequence without parameters filled in. The configuration command template sequence contains semantic-level parameters and indicator-level parameters. The device then obtains the user intent and a network configuration document for each semantic-level parameter in the configuration command template sequence. The device inputs the user intent, the configuration command template sequence, the user intent, and the network configuration documents for all semantic-level parameters into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in values ​​for all semantic-level parameters, thereby obtaining a configuration command template sequence after the semantic-level parameters are filled in.

[0018] The resource orchestration device sets several service quality indicators, and uses a configuration generation model to generate a service quality indicator weight matrix based on user intent. Then, an expert model is constructed and trained for each service quality indicator. Each expert model calculates the resource allocation weight vector for each indicator-level parameter in the configuration command template sequence under its corresponding service quality indicator. Finally, based on the service quality indicator weight matrix and the resource allocation weight vector of each expert model, the value of each indicator-level parameter is determined and filled into the configuration command template sequence.

[0019] The network status sensing device runs inside the network controller and collects network data in real time;

[0020] The configuration execution device outputs the configuration command template sequence filled with semantic-level parameters and indicator-level parameters to the network device for execution one by one.

[0021] In order to achieve the above object, the present invention further provides a computing device, comprising:

[0022] memory and processor;

[0023] The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the intention-driven self-intelligent network on-demand service method are implemented.

[0024] In order to achieve the above objectives, the present invention also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the intent-driven self-intelligent network on-demand service method.

[0025] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention makes full use of the network equipment manual, fine-tunes all parameters of the large model to adapt it to the data in the network equipment manual, thereby generating a configuration generation large model, and the configuration generation large model can automatically generate a configuration command template sequence according to the user's intention, accurately translate the user's intention into the configuration command from the semantic level, and ensure the rationality and executability of the command, thereby realizing the organic combination of intention conversion and resource allocation, and significantly improving the automation and intelligence level of the self-intelligent network; the present invention also combines external knowledge bases (such as equipment manuals, user examples, etc.), makes full use of configuration information such as network equipment manuals, corrects unreasonable template sequences, and fills in appropriate values ​​for the semantic-level parameters in the configuration command template sequence, thereby reducing the problem of large model hallucinations. The present invention also designs a hybrid expert model method based on a large model. Through pre-trained hybrid expert models, combined with large models and real-time network status, the resources required for intent execution are orchestrated from multiple service quality perspectives (such as packet loss rate and latency), and network resources are allocated (such as bandwidth and CPU resources), thereby assisting in determining the appropriate values ​​of indicator-level parameters in the configuration command template sequence and realizing efficient orchestration of network resources. Not only does it make the generated configuration commands more in line with user needs at the semantic level and improve user satisfaction, it also ensures the efficient use of overall network resources, effectively simplifies the network management process, improves management efficiency, and fully guarantees the consistency between user intent and configuration commands in terms of functional requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 The figure is a flowchart of an intention-driven self-intelligent network on-demand service method shown in an exemplary embodiment of the present invention.

[0027] Figure 2 An exemplary embodiment of the present invention is shown Figure 1 Specific process flow chart of step four.

[0028] Figure 3 1 is a schematic structural diagram of an intent-driven self-intelligent network on-demand service system according to an exemplary embodiment of the present invention.

[0029] Figure 4 It is a structural diagram of a computer device according to an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0030] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below with reference to the accompanying drawings.

[0031] like Figure 1 As shown, the present invention provides an intent-driven self-intelligent network on-demand service method, including:

[0032] Step 1: Collect input user intent, which is a configuration request or business requirement expressed in natural language;

[0033] Step 2: Generate a configuration generation model based on user intent. The configuration generation model then translates the user intent and outputs a configuration command template sequence without parameters. The configuration command template sequence contains semantic-level parameters and indicator-level parameters. Semantic-level parameters are non-network resource parameters, such as user IP address and service type, while indicator-level parameters are network resource parameters, such as bandwidth and CPU resources.

[0034] Step 3: Obtain the user intent and the network configuration document for each semantic-level parameter in the configuration command template sequence. Then, input the user intent, the configuration command template sequence, the user intent, and the network configuration documents of all semantic-level parameters into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in the values ​​of all semantic-level parameters. Finally, it outputs the configuration command template sequence after the semantic-level parameters are filled in.

[0035] Step 4: Set several service quality indicators. The configuration generation model generates a service quality indicator weight matrix based on user intent. Then, an expert model is constructed and trained for each service quality indicator. Each expert model calculates the resource allocation weight vector for each indicator-level parameter in the configuration command template sequence under its corresponding service quality indicator. Finally, based on the service quality indicator weight matrix and the resource allocation weight vector of each expert model, the value of each indicator-level parameter is determined and filled into the configuration command template sequence.

[0036] Step 5: Output the configuration command template sequence to the network device one by one for execution.

[0037] In step 2, generating a configuration to generate a large model may further include:

[0038] Obtain the device manual corresponding to the user intent, preprocess the device manual, and parse it to obtain information such as the mapping relationship between user intent and configuration command template sequence, description of configuration commands and parameters, and the relationship between configuration commands and parameters. Construct a network domain knowledge dataset in a question-and-answer format, and then build a large configuration generation model based on the Transformer architecture. The network domain knowledge dataset is used to fine-tune the large configuration generation model.

[0039] The large configuration generation model can be built based on the Transformer architecture. Its core self-attention mechanism effectively understands and extracts key information from user intent. The large model is pre-trained on a wide range of general text data to ensure its strong language understanding and generation capabilities. This allows it to capture complex semantic relationships and be applied to a variety of natural language processing tasks. Furthermore, the large model is fine-tuned using a constructed domain knowledge dataset to enhance its understanding of network configuration commands and improve its ability to translate intent. This allows it to understand user intent at a semantic level and formulate corresponding configuration command template sequences. To avoid catastrophic forgetting during fine-tuning, a full-parameter fine-tuning training approach can be employed to update all the weights of the large model. Compared to traditional LoRA (Low-Rank Adaptation) fine-tuning methods, this approach improves the large model's ability to understand intent diversity and significantly reduces the risk of hallucinations. The fine-tuned large model is then deployed online to form the large configuration generation model.

[0040] In step 3, obtaining the user intent and the network configuration document for each semantic-level parameter in the configuration command template sequence may further include:

[0041] Network configuration documents such as device manuals and user examples are collected, segmented and vectorized to build an external knowledge base in the network domain. Then, a FAISS-based similarity vector retrieval algorithm is used. That is, the user intent or each semantic-level parameter is initially vectorized, and then the similarity is calculated one by one with all the segmented vector documents in the external knowledge base in the network domain. Finally, several vector documents with high similarity are selected as the network configuration documents for user intent or each semantic-level parameter.

[0042] In step 3, the user intent, the configuration command template sequence, the user intent, and the network configuration document of all semantic-level parameters are input into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in the values ​​of all semantic-level parameters. Finally, the configuration command template sequence after the semantic-level parameters are filled is output. This may further include:

[0043] The user intent, configuration command template sequence, user intent, and network configuration documents of all semantic-level parameters are combined into prompt words, which are then input into the configuration generation model. The configuration generation model corrects the unreasonable parts in the configuration command template sequence based on the input network configuration document, such as missing parameters and incorrect sequence order. The user intent and network configuration documents of all semantic-level parameters are then combined into prompt words, which are then input into the configuration generation model. The configuration generation model then takes values ​​and fills in the semantic-level parameters in the configuration command template sequence.

[0044] The present invention can also use a large-model-based hybrid expert model algorithm to complete the allocation of network resources and assist in the selection of indicator-level parameters in configuration commands. Specifically, a weight analysis algorithm is first used to analyze the user's requirements for different quality of service indicators. Then, in the expert model allocation algorithm, expert models trained for different quality of service indicators will allocate the network resources required by the user based on the current network information. Each expert model will output an independent allocation result, thereby calculating a unique resource allocation plan and simultaneously filling in the corresponding indicator-level parameters in the configuration command template sequence.

[0045] like Figure 2 As shown, Figure 1 Step 4 may further include:

[0046] Step 41: Set several service quality indicators and obtain multiple resource allocation values ​​corresponding to each indicator-level parameter in the configuration command template sequence. Input the advantages and disadvantages of all service quality indicators and user intentions into the configuration generation model. The configuration generation model calculates the weight of each service quality indicator and forms a service quality indicator weight matrix: W = {w1, w2, ..., w N}, w1, w2, ..., w N are the weights of the 1st, 2nd, …, Nth service quality indicators, respectively, where N is the total number of service quality indicators;

[0047] Traditional hybrid expert models usually use a specially trained gating mechanism to analyze the intent input and assign corresponding weights to multiple expert models, thereby forming a weight matrix. In contrast, the present invention relies on the general task understanding ability of the large model itself, and combines the network domain knowledge injected after fine-tuning to use the configuration generation large model as a gating mechanism. In terms of specific implementation, the advantages and disadvantages of different service quality indicators and user intentions are constructed into prompts and input into the configuration generation large model. The configuration generation large model uses its powerful semantic understanding ability to assign appropriate weights to each service quality indicator to correspond to different expert models, thereby constructing a service quality indicator weight matrix;

[0048] Step 42: Build and train an expert model for each QoS indicator. The expert model calculates the resource allocation weights of each indicator-level parameter in the configuration command template sequence under its corresponding QoS indicator based on the targeted QoS indicator and the current network status, and constructs a resource allocation weight vector for each indicator-level parameter under its corresponding QoS indicator: is the resource allocation weight vector of the i-th indicator-level parameter under the n-th service quality indicator, are the 1st, 2nd, ..., Mth values ​​of the i-th indicator-level parameter under the n-th service quality indicator. i The weight of the resource allocation value, Mi is the total number of resource allocation values ​​corresponding to the i-th indicator-level parameter;

[0049] Step 43: Calculate the resource allocation weight vector of each indicator-level parameter by matrix operation based on the service quality indicator weight matrix and the resource allocation weight vector of each indicator-level parameter under all service quality indicators: is the resource allocation weight vector of the i-th indicator-level parameter, The i-th index level parameter corresponds to the 1st, 2nd, ..., M i The weight of the resource allocation value, These are the resource allocation weight vectors of the i-th indicator-level parameter under the 1st, 2nd, ..., Nth service quality indicators. Then, the resource allocation value corresponding to the maximum value among the weights of all resource allocation values ​​corresponding to each indicator-level parameter is selected as the value of the indicator-level parameter and filled into the configuration command template sequence.

[0050] Expert models refer to machine learning or artificial intelligence models that have high expertise and capabilities in specific fields or tasks. These models can provide highly accurate and specialized solutions in a specific field through special training processes and optimization. The present invention can train expert models based on deep reinforcement learning models, construct an optimization objective function for its service quality indicators, and use it as a reward function for training. The network data collected in real time is used as the input for training, such as network topology, switch flow table, switch CPU resources, bandwidth and latency, etc., and select from multiple resource allocation value options corresponding to each indicator-level parameter. After multiple rounds of reinforcement learning training, the resource allocation weight vector of each optimized indicator-level parameter under its corresponding service quality indicator is finally generated. When training the expert model, the topological network of the network resources corresponding to each indicator-level parameter can be set as: G = {D, L}, where D represents the topological network link set and the number of links is S D , L represents the network device set in the topology network, and the number of devices is S L , each network device l(l∈L) is allocated a certain network resource B l (such as bandwidth or CPU resources), the topological network allocates network resources B in the device to the user service demand u (u∈U) u To strive to meet all user service needs U.

[0051] The state space, action space, and reward function in the Markov decision process for training the expert model can be defined as follows:

[0052] State space S u :S u Indicates user service demand u from source network device n uReach the target network device d u The resource status of the network devices passed by is composed of the remaining network resources in network device 1 (that is, the idle resources that can be allocated by the current network device) B l , source network equipment n u and target network device d u composition, in, They are 1st, 2nd, ..., S L The remaining network resources in the network devices,

[0053] Action space A: The set of network resource allocation values ​​that can be set in the current topology network, expressed as A=B k =

[0054] {b1,b2,…,b k}, where b1, b2, ..., b k They are the network resource allocation values ​​that each network device can choose,

[0055] Reward function r u (S u ,A): The reward function is used to reflect the optimization goal of each expert model, that is, to maximize the corresponding service quality indicator benefits, so the reward function is expressed as Among them, β1 represents the service fee paid by users that can be obtained by meeting the service quality index. Its value can be a preset unit fixed value. β2 is the cost coefficient, which represents the device loss caused by the topology network when allocating network resources. Its value can be a fixed parameter.

[0056] For example, if it is set to 1, represents the service quality indicator t n The calculation method of B i 、S i yes The two input parameters are different. Different service quality indicators are calculated using different methods. An appropriate calculation method can be selected based on the service quality indicator. For example, the corresponding service quality indicator can be calculated based on network data such as speed transmission rate and interruption probability. The present invention does not specifically limit this method. The utility function M(·) is calculated as follows: t n,max , t n,min They are respectively the maximum and minimum acceptable service quality indicators that the current topology network can provide to users.

[0057] The present invention can train and generate expert models based on the Deep Q-Network (DQN) algorithm. DQN is particularly good at dealing with problems in high-dimensional state spaces. Its core idea is to use deep neural networks to approximate the Q function, thereby avoiding the problem that the Q table in traditional Q learning cannot handle large state spaces. However, there are still problems such as slow model convergence speed and unstable convergence results. In order to better enable the model to explore the network state space, explore the edge cases in the space as much as possible, and improve the stability of model learning, the present invention adds a noise layer to DQN to replace the common ∈-greedy strategy in DQN, and introduces noise random variables ∈ and ∈ in the parameters of the behavior network and target network of DQN. - , and the noise parameters σ and σ - Therefore, the present invention replaces the objective function formula of DQN with:

[0058] Among them, θ represents the model parameters of the behavior network, and θ - represents the model parameters of the target network, S u+1 is the new state of the network, a u is a possible action in the current state, r u is the reward, D represents the data distribution in the experience replay memory, a * is a possible action in the new state, γ is the discount factor, and its value can be set according to actual business needs. Q(·) is the default output value of the DQN model, which is usually a multidimensional vector. E(·) represents the expected value or mean of the variables in the brackets.

[0059] The training process of the expert model is as follows:

[0060] Step 1: Initialize the experience replay memory, the model parameters θ of the behavior network, and the parameters θ in the target network - ,For each reinforcement learning training iteration, the network resources of the devices in the topology network are reinitialized and the current state space S is obtained u , including the remaining network resources B in each network device l , source node n u and target node d u ;

[0061] Step 2: Perform reinforcement learning training iterations, wherein the specific steps of each training iteration further include: first select and execute an action a from the action space A u , that is, the network resources allocated to the user, the topology network performs the allocation of network resources, and then calculates the reward r based on the allocation result u (S u ,A), then obtain the next new network state S u+1, and store the conversion process (S u ,a u ,r u ,S u+1 ) into the experience playback memory. When the number of conversion processes stored in the memory space reaches the preset number, a number of conversion samples (S j ,a j ,r j ,S j+1 ) and set the target value:

[0062] y=r j +γmax a*∈A Q(S j+1 ,a * ,∈ - θ - ,σ - ), r j 、a j 、s j 、s j+1 They are the reward of the jth conversion sample extracted, an action performed in the current state, the current network state, and the next new network state. The model parameters θ of the behavior network are then adjusted by gradient descent to minimize the difference between the prediction and the target, and the state is changed to the new state. At this point, a round of iteration is completed. After a fixed iteration step, the target network changes the model parameters θ - Replace with θ.

[0063] To more clearly explain the method of the present invention, the following is an implementation process of a specific embodiment of the present invention. When receiving a user's intention to ensure that user A can smoothly watch 4K videos between 6:00 PM and 8:00 PM, the processing process of the embodiment is as follows:

[0064] Step s1 (corresponding to Figure 1 Step 2) Configure the generated large model and output the following configuration command template sequence based on the user's intention:

[0065] "define operation:for endpoint()add middlebox()al low service()setbandwidth()set time_range()"

[0066] "define algor itm:set PucchAlgoSwitch()set DynAdjVoltSwitch()";

[0067] Step s2 (corresponding to Figure 1Step 3) Obtain the following network configuration documents: 1) Optimizing 4K video generally requires turning on the PUCCH algorithm, dynamic voltage regulation, and load balancing algorithm. 2) Smoothly viewing 4K video requires using the video streaming middleware and the 4K video service. 3) 4K video generally uses a bandwidth between 50-100 Mbps. 4) User A's IP address is 192.168.0.1;

[0068] Step s3 (corresponding to Figure 1 Step 3) Based on the retrieved network configuration document, it is recombined with the user's natural language intent and the configuration command template sequence as prompt words and input into the configuration generation model, thereby modifying the unreasonable part of the configuration command template sequence (such as the lack of load balancing algorithm switch parameters) and filling in the semantic level parameter values:

[0069] "define operation:for endpoint('192.168.0.1')add middlebox('videostreaming')al low service('4k video')set bandwidth()set time_range('18:00-20:00')"

[0070] "define algor itm:set PucchAlgoSwitch('ON')set DynAdjVoltSwitch('ON')set MlbAlgoSwitch('ON')";

[0071] Step s4 (corresponding to Figure 1 Step 4) Combine the user intention and the network's service quality indicators (QoS indicators include transmission rate, packet loss rate, and bit error rate) as prompt words and input them into the configuration generation model to generate the service quality indicator weight matrix: W = [0.5, 0.3, 0.2] (where the transmission rate weight is 0.5, the packet loss rate weight is 0.3, and the bit error rate weight is 0.2);

[0072] Step s5 (corresponding to Figure 1 Step 4) Obtain the network topology and the bandwidth of each device to form a state vector as the input of the three expert models. The resource allocation values ​​corresponding to the index-level parameter bandwidth include: 40Mps, 60Mps, 80Mps, and 100Mps. The three expert models each calculate a resource allocation weight vector under the corresponding service quality indicator for the index-level parameter bandwidth: 1) Transmission rate expert model: 2) Packet Loss Rate Expert Model: 3) Bit Error Rate Expert Model:

[0073] Then calculate the resource allocation weight vector of the indicator-level parameter bandwidth: The bandwidth resource allocation value of 60 Mbps corresponding to the maximum weight of 0.3967 is used as the bandwidth allocated to the user.

[0074] Step s6 (corresponding to Figure 1 Step 4) Fill in the indicator-level parameter bandwidth in the configuration command template sequence:

[0075] "define operat ion:for endpoint('192.168.0.1')add midd lebox('videostreaming')al low service('4k video')set bandwidth('60','mbps')set t ime_range('18:00-20:00')"

[0076] "define a lgor ithm:set PucchAlgoSwitch('ON')set DynAdjVo ltSwitch('ON')set M l bAlgoSwitch('ON')"

[0077] Step s7 (corresponding to Figure 1 Step 5) Output the configuration command template sequence one by one to the actual network device for execution.

[0078] Step s8: The configuration command is successfully executed and a success message is fed back to the user.

[0079] like Figure 3 As shown, the present invention provides an intention-driven self-intelligent network on-demand service system, including:

[0080] An intent input device collects input user intent, which is a configuration request or business requirement expressed in natural language;

[0081] An intent translation device generates a configuration generation model based on user intent, and the configuration generation model translates the user intent into a configuration command template sequence without parameters filled in. The configuration command template sequence contains semantic-level parameters and indicator-level parameters. The device then obtains the user intent and a network configuration document for each semantic-level parameter in the configuration command template sequence. The device inputs the user intent, the configuration command template sequence, the user intent, and the network configuration documents for all semantic-level parameters into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in values ​​for all semantic-level parameters, thereby obtaining a configuration command template sequence after the semantic-level parameters are filled in.

[0082] The resource orchestration device sets several service quality indicators, and uses a configuration generation model to generate a service quality indicator weight matrix based on user intent. Then, an expert model is constructed and trained for each service quality indicator. Each expert model calculates the resource allocation weight vector for each indicator-level parameter in the configuration command template sequence under its corresponding service quality indicator. Finally, based on the service quality indicator weight matrix and the resource allocation weight vector of each expert model, the value of each indicator-level parameter is determined and filled into the configuration command template sequence.

[0083] The network status sensing device runs inside the network controller and collects network data in real time;

[0084] The configuration execution device outputs the configuration command template sequence filled with semantic-level parameters and indicator-level parameters to the network device for execution one by one.

[0085] See also Figure 4 , Figure 4 4 is a block diagram of a computing device 400 according to an exemplary embodiment of this specification. Components of the computing device 400 include, but are not limited to, a memory 410 and a processor 420. The processor 420 and the memory 410 are connected via a bus 430, and a database 450 is used to store data.

[0086] The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of such networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of network interface (e.g., a network interface card (NIC)) whether wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0087] In one embodiment of the present specification, the above components of the computing device 400 and Figure 4 Other components not shown in the figure may also be connected to each other, for example, via a bus. Figure 4 The computing device structure block diagram shown is for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art may add or replace other components as needed.

[0088] Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook computer, etc.), a mobile phone (e.g., a smartphone), a wearable computing device (e.g., a smartwatch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a PC. Computing device 400 may also be a mobile or stationary server or cloud server, etc.

[0089] The processor 420 is configured to execute the following computer-executable instructions, which, when executed by the processor, implement the steps of the above-mentioned intention-driven autonomous network on-demand service method.

[0090] The above is a schematic diagram of a computing device according to this embodiment. It should be noted that the technical solution of this computing device is based on the same concept as the technical solution of the above-mentioned intent-driven self-intelligent network on-demand service method. For details not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the above-mentioned intent-driven self-intelligent network on-demand service method.

[0091] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned intention-driven autonomous network on-demand service method.

[0092] The above is a schematic diagram of a computer-readable storage medium according to this embodiment. It should be noted that the technical solution of this storage medium is based on the same concept as the above-mentioned intent-driven self-intelligent network on-demand service method. For details not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the above-mentioned intent-driven self-intelligent network on-demand service method or system.

[0093] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned intent-driven autonomous network on-demand service method.

[0094] The above is an illustrative embodiment of a computer program. It should be noted that the technical solution of this computer program is based on the same concept as the technical solution of the above-mentioned intent-driven self-intelligent network on-demand service method. For details not described in detail in the technical solution of the computer program, please refer to the description of the technical solution of the above-mentioned intent-driven self-intelligent network on-demand service method or system.

[0095] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0096] The computer instructions include computer program code, which may be in source code form, object code form, executable file, or some intermediate form. The computer-readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium.

[0097] It should be noted that for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0098] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An intent-driven self-intelligent network on-demand service method, characterized in that: Includes: Step 1: Collect input user intent, which is a configuration request or business requirement expressed in natural language; Step 2: Generate a configuration generation model based on the user's intent. The configuration generation model then translates the user's intent and outputs a configuration command template sequence without parameters filled in. The configuration command template sequence includes semantic-level parameters and indicator-level parameters. Step 3: Obtain the user intent and the network configuration document for each semantic-level parameter in the configuration command template sequence. Then, input the user intent, the configuration command template sequence, the user intent, and the network configuration documents of all semantic-level parameters into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in the values ​​of all semantic-level parameters. Finally, it outputs the configuration command template sequence after the semantic-level parameters are filled in. Step 4: Set several service quality indicators. The configuration generation model generates a service quality indicator weight matrix based on user intent. Then, an expert model is constructed and trained for each service quality indicator. Each expert model calculates the resource allocation weight vector for each indicator-level parameter in the configuration command template sequence under its corresponding service quality indicator. Finally, based on the service quality indicator weight matrix and the resource allocation weight vector of each expert model, the value of each indicator-level parameter is determined and filled into the configuration command template sequence. Step 5: Output the configuration command template sequence to the network device one by one for execution.

2. The method according to claim 1, characterized in that In step 2, generating a configuration to generate a large model further includes: Obtain the device manual corresponding to the user intent, preprocess the device manual, parse it to obtain the mapping relationship between the user intent and the configuration command template sequence, the description of the configuration command and parameters, and the relationship information between the configuration commands and parameters, construct a network domain knowledge dataset in a question-and-answer format, and then build a large configuration generation model based on the Transformer architecture. The network domain knowledge dataset is used to fine-tune the large configuration generation model.

3. The method according to claim 1, characterized in that In step 3, obtaining the user intent and the network configuration document for each semantic-level parameter in the configuration command template sequence further includes: Device manuals and user example network configuration documents are collected, and the network configuration documents are segmented and vectorized to construct an external knowledge base in the network domain. Then, a FAISS-based similarity vector retrieval algorithm is adopted, that is, the user intent or each semantic-level parameter is initially vectorized, and then the similarity is calculated one by one with all the segmented vector documents in the external knowledge base in the network domain. Finally, several vector documents with high similarity are selected as the user intent or the network configuration documents for each semantic-level parameter.

4. The method according to claim 1, wherein In step 3, the user intent, the configuration command template sequence, the user intent, and the network configuration document of all semantic-level parameters are input into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in the values ​​of all semantic-level parameters. Finally, the configuration command template sequence after the semantic-level parameters are filled is output, which further includes: The user intention, configuration command template sequence, user intention and network configuration documents of all semantic-level parameters are combined into prompt words, and the configuration is input into a large model. The configuration generation large model modifies the configuration command template sequence based on the input network configuration document. Then, the user intention and network configuration documents of all semantic-level parameters are combined into prompt words, and the configuration generation large model is input again. The configuration generation large model fills in the values ​​of the semantic-level parameters in the configuration command template sequence.

5. The method according to claim 1, wherein Step 4 further includes: Step 41: Set several service quality indicators and obtain multiple resource allocation values ​​corresponding to each indicator-level parameter in the configuration command template sequence. Input the advantages and disadvantages of all service quality indicators and user intentions into the configuration generation model. The configuration generation model calculates the weight of each service quality indicator and forms a service quality indicator weight matrix: W={w1,w2,...,w N }, w1, w2, ..., w N are the weights of the 1st, 2nd, …, Nth service quality indicators, respectively, where N is the total number of service quality indicators; Step 42: Build and train an expert model for each QoS indicator. The expert model calculates the resource allocation weights of each indicator-level parameter in the configuration command template sequence under its corresponding QoS indicator based on the targeted QoS indicator and the current network status, and constructs a resource allocation weight vector for each indicator-level parameter under its corresponding QoS indicator: is the resource allocation weight vector of the i-th indicator-level parameter under the n-th service quality indicator, are the 1st, 2nd, ..., Mth values ​​of the i-th indicator-level parameter under the n-th service quality indicator. i The weight of the resource allocation value, M i is the total number of resource allocation values ​​corresponding to the i-th indicator-level parameter; Step 43: Calculate the resource allocation weight vector of each indicator-level parameter by matrix operation based on the service quality indicator weight matrix and the resource allocation weight vector of each indicator-level parameter under all service quality indicators: is the resource allocation weight vector of the i-th indicator-level parameter, The i-th index level parameter corresponds to the 1st, 2nd, ..., M i The weight of the resource allocation value, These are the resource allocation weight vectors of the i-th indicator-level parameter under the 1st, 2nd, ..., Nth service quality indicators. Then, the resource allocation value corresponding to the maximum value among the weights of all resource allocation values ​​corresponding to each indicator-level parameter is selected as the value of the indicator-level parameter and filled into the configuration command template sequence.

6. The method according to claim 1, characterized in that The expert model is trained based on the deep reinforcement learning model. When training the expert model, the topological network of the network resources corresponding to each indicator-level parameter is set as: G = {D, L}, where D represents the topological network link set and the number of links is S. D , L represents the network device set in the topology network, and the number of devices is S L , each network device l is allocated network resources B l , l∈L, the topology network allocates network resources B in the device to serve user service requirements u u To meet all user service needs U, u∈U.

7. The method according to claim 6, characterized in that The state space, action space, and reward function in the Markov decision process for training the expert model are defined as follows: State space S u :S u Indicates user service demand u from source network device n u Reach the target network device d u The resource status of the network devices passed through is composed of the remaining network resources B in network device l l , source network equipment n u and target network device d u composition, Among them, B1, B2, ..., They are 1st, 2nd, ..., S L The remaining network resources in the network devices Action space A: The set of network resource allocation values ​​that can be set in the current topology network, expressed as A=B k = {b1,b2,…,b k }, where b1, b2, ..., b k They are the network resource allocation values ​​that each network device can choose, Reward function r u (S u ,A): The reward function is used to reflect the optimization goal of each expert model, that is, to maximize the corresponding service quality indicator benefits. The reward function is expressed as Among them, β1 represents the service fee paid by users by meeting the service quality index, β2 is the cost coefficient, which represents the equipment loss caused by the topology network when allocating network resources. represents the service quality indicator t n The calculation method of the utility function M(·) is as follows: t n,max , t n,min They are respectively the maximum and minimum acceptable service quality indicators that the current topology network can provide to users.

8. The method according to claim 7, characterized in that Based on the DQN algorithm, the expert model is trained and generated. A noise layer is added to the DQN, and noise random variables ∈ and ∈ are introduced into the parameters of the DQN behavior network and target network. - , and the noise parameters σ and σ - To enhance, the objective function formula of DQN is set as: Among them, θ represents the model parameters of the behavior network, and θ - represents the model parameters of the target network, S u+1 is the new state of the network, a u is a possible action in the current state, r u is the reward, D represents the data distribution in the experience replay memory, a * is a possible action in the new state, γ is the discount factor, Q(·) is the default output value of the DQN model, and E(·) represents the expected value or mean of the variables in the brackets. The training process of the expert model is as follows: Step 1: Initialize the experience replay memory, the model parameters θ of the behavior network, and the parameters θ in the target network - ,For each reinforcement learning training iteration, the network resources of the devices in the topology network are reinitialized and the current state space S is obtained u , including the remaining network resources B in each network device l , source node n u and target node d u ; Step 2: Perform reinforcement learning training iterations, wherein the specific steps of each training iteration further include: first select and execute an action a from the action space A u , that is, the network resources allocated to the user, the topology network performs the allocation of network resources, and then calculates the reward r based on the allocation result u (S u ,A), then obtain the next new network state S u+1 , and store the conversion process (S u ,a u ,r u ,S u+1 ) into the experience playback memory. When the number of conversion processes stored in the memory space reaches the preset number, a number of conversion samples (S j ,a j ,r j ,S j+1 ) and set the target value: y=r j +γmax a*∈A Q(S j+1 ,a * ,∈ - θ - ,σ - ), r j 、a j 、s j 、s j+1 They are the reward of the jth conversion sample extracted, an action performed in the current state, the current network state, and the next new network state. The model parameters θ of the behavior network are then adjusted by gradient descent to minimize the difference between the prediction and the target, and the state is changed to the new state. At this point, a round of iteration is completed. After a fixed iteration step, the target network changes the model parameters θ - Replace with θ.

9. An intention-driven self-intelligent network on-demand service system, characterized in that: Includes: An intent input device collects input user intent, which is a configuration request or business requirement expressed in natural language; An intent translation device generates a configuration generation model based on user intent, and the configuration generation model translates the user intent into a configuration command template sequence without parameters filled in. The configuration command template sequence contains semantic-level parameters and indicator-level parameters. The device then obtains the user intent and a network configuration document for each semantic-level parameter in the configuration command template sequence. The device inputs the user intent, the configuration command template sequence, the user intent, and the network configuration documents for all semantic-level parameters into the configuration generation model. The configuration generation model modifies the configuration command template sequence and fills in values ​​for all semantic-level parameters, thereby obtaining a configuration command template sequence after the semantic-level parameters are filled in. The resource orchestration device sets several service quality indicators, and uses a configuration generation model to generate a service quality indicator weight matrix based on user intent. Then, an expert model is constructed and trained for each service quality indicator. Each expert model calculates the resource allocation weight vector for each indicator-level parameter in the configuration command template sequence under its corresponding service quality indicator. Finally, based on the service quality indicator weight matrix and the resource allocation weight vector of each expert model, the value of each indicator-level parameter is determined and filled into the configuration command template sequence. The network status sensing device runs inside the network controller and collects network data in real time; The configuration execution device outputs the configuration command template sequence filled with semantic-level parameters and indicator-level parameters to the network device for execution one by one.

10. A computing device, characterized in that include: memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the intention-driven self-intelligent network on-demand service method described in any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, characterized in that It stores computer-executable instructions, which, when executed by a processor, implement the steps of the intention-driven self-intelligent network on-demand service method described in any one of claims 1-8.

Citation Information

Patent Citations

  • Device and method for translating application intention in network based on intention

    CN118175560A

  • Computing network large model adaptation method, device and equipment and storage medium

    CN118214729A

  • Application performance guarantee method and device, network device, and storage medium

    WO2024001182A1