A method and device for maintaining intention

By introducing a state-aware module into the intention system, adjusting the execution time of the intention executable command, the problem of the intention system frequently adjusting the executable command before the intention goal is achieved is solved, improving the efficiency of target achievement and reducing resource consumption.

CN114519134BActive Publication Date: 2025-05-06HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011295591.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-18
Publication Date
2025-05-06
Estimated Expiration
2040-11-18

AI Technical Summary

Technical Problem

In the prior art, the intention system frequently switches the intention executable commands before the intention goal is achieved, resulting in inefficient goal achievement and increasing system resource consumption.

Method used

The state-aware module obtains the initial time corresponding to the intention, and adjusts the execution time of the executable command when the intention goal is not achieved, and determines that the second time is greater than the initial time and the third time is less than the initial time, so as to reduce the behavior of the intention system to frequently adjust the executable command before the intention goal is achieved.

Benefits of technology

It reduces the behavior of the intention system to frequently adjust executable commands before the intention goal is achieved, improves the efficiency of the intention goal is achieved, and reduces the consumption of system resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114519134B_ABST
    Figure CN114519134B_ABST
Patent Text Reader

Abstract

A method and device for maintaining intention, the method comprising: a state perception module obtains a first duration corresponding to the intention. The state perception module receives first information from a policy management module, the first information indicating that a first executable command corresponding to the intention starts to be executed. When the execution duration of the first executable command reaches the first duration and the intention target is not achieved, the state perception module determines a second duration, the second duration is greater than the first duration; the state perception module sends second information to the policy management module, the second information indicating the second duration. The above method can be used to reduce the ping-pong switching of the intention executable command by the intention system before the intention target is achieved, improve the efficiency of the intention system in achieving the intention target, and reduce resource consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of network management, and in particular, to a method and device for maintaining intent. Background Art

[0002] The goal of the industry specification group Experiential Networked Intelligence (ISG ENI) working group established by the European Telecommunications Standards Institute (ETSI) is to define a cognitive network management system architecture based on an observation-based behavior control model. It uses artificial intelligence (AI) technology and context-aware strategies to adjust the services provided according to changes in user needs, environmental conditions and business goals. The system is empirical because it learns relevant knowledge from the operator's instructions to improve the actions it takes in the future. It can therefore help operators automate their network configuration and monitoring processes, thereby reducing operating expenses and improving the use and maintenance of their networks. Currently, intent-based experiential networked intelligence (ENI) architectures are defined, such as Figure 1 shown.

[0003] The intent system periodically determines whether the intent is achieved from the beginning of the implementation of the intent. When the intent cannot be achieved, the executable command corresponding to the intent is adjusted. However, it takes a certain amount of time for the executable command of the intent to take effect from the beginning of execution. During this period, the failure to achieve the goal of the intent does not mean that the executable command is invalid. Therefore, there is no need to adjust the executable command, and it is meaningless to determine whether the goal of the intent is achieved during this period. Furthermore, frequently switching the executable command of the intent is not conducive to achieving the goal of the intent, resulting in low efficiency in achieving the goal of the intent, and at the same time, it will also lead to consumption of system resources. Summary of the invention

[0004] The embodiments of the present application provide an intent maintenance method and device to solve the problem of low efficiency in achieving the intended goal due to ping-pong switching of executable commands.

[0005] In a first aspect, an embodiment of the present application provides an intention maintenance method, the method comprising:

[0006] The state perception module obtains a first duration corresponding to an intention; the state perception module receives first information from a policy management module, the first information indicating that a first executable command corresponding to the intention starts to be executed; when the execution duration of the first executable command reaches the first duration and the goal of the intention is not achieved, the state perception module determines a second duration, the second duration is greater than the first duration; the state perception module sends second information to the policy management module, the second information indicating the second duration.

[0007] The above method can be used to reduce the ping-pong switching of intent executable commands by the intent system before the intent goal is achieved, improve the efficiency of the intent system in achieving the intent goal, and reduce resource consumption.

[0008] In a possible design, it also includes: when the intended target is achieved before the first time duration arrives, the execution time of the first executable command is less than the first time duration, the state perception module determines a third time duration, and the third time duration is less than the first time duration; the state perception module sends third information to the policy management module, and the third information indicates the third time duration.

[0009] The above method can be used to reduce the ping-pong switching of intent executable commands by the intent system before the intent goal is achieved, improve the efficiency of the intent system in achieving the intent goal, and reduce resource consumption.

[0010] In one possible design, the third duration is determined based on the execution duration of the first executable command.

[0011] In one possible design, when the state perception module determines the second duration, the state perception module sends fourth information to the knowledge management module, and the fourth information indicates that the execution duration of the first executable command reaches the first duration and the intended goal is not achieved; the state perception module receives fifth information from the knowledge management module, and the fifth information indicates the second duration.

[0012] The above method can be used to determine the second duration through the knowledge management module.

[0013] In one possible design, when the state perception module determines the third duration, the state perception module sends sixth information to the knowledge management module, and the sixth information indicates the execution duration of the first executable command; the state perception module receives seventh information from the knowledge management module, and the seventh information indicates the third duration.

[0014] The above method can be used to determine the third duration through the knowledge management module.

[0015] In one possible design, the first duration is carried by eighth information, and the eighth information is used to create, implement or modify the intent; or, the first duration is configured in an intent knowledge base.

[0016] In one possible design, the first duration is determined based on the duration required to achieve the intended goal during the simulation of the intention implementation process.

[0017] In a second aspect, an embodiment of the present application provides an intention maintenance method, the method comprising: a policy management module obtains a first duration corresponding to the intention; the policy management module sends a first message to a state perception module, the first message indicating that a first executable command corresponding to the intention starts to be executed; when the execution duration of the first executable command reaches the first duration and the goal of the intention is not achieved, the policy management module adjusts the first executable command to a second executable command corresponding to the intention; the policy management module receives a second message from the state perception module, the second message indicating the second duration, and the second duration is greater than the first duration.

[0018] The above method can be used to reduce the ping-pong switching of intent executable commands by the intent system before the intent goal is achieved, improve the efficiency of the intent system in achieving the intent goal, and reduce resource consumption.

[0019] In a possible design, it also includes: when the intended target is achieved before the first time duration arrives, the execution time of the first executable command is less than the first time duration, the policy management module receives third information from the state perception module, and the third information indicates the third time duration, and the third time duration is less than the first time duration.

[0020] The above method can be used to reduce the ping-pong switching of intent executable commands by the intent system before the intent goal is achieved, improve the efficiency of the intent system in achieving the intent goal, and reduce resource consumption.

[0021] In one possible design, the third duration is determined based on the execution duration of the first executable command.

[0022] In one possible design, the first duration is carried by eighth information, and the eighth information is used to create, implement or modify the intent; or, the first duration is configured in an intent knowledge base.

[0023] In one possible design, the first duration is determined based on the duration required to achieve the intended goal during the simulation of the intention implementation process.

[0024] In a third aspect, an embodiment of the present application provides an intention maintenance method, the method comprising: a knowledge management module receives fourth information from a state perception module, the fourth information indicating that the execution time of a first executable command of the schematic diagram reaches a first time duration and the goal of the intention has not been achieved; the knowledge management module determines a second time duration, the second time duration is greater than the first time duration; the knowledge management module sends fifth information to the state perception module, the fifth information indicating the second time duration.

[0025] The above method can be used to determine the second duration through the knowledge management module.

[0026] In a possible design, it also includes: the knowledge management module updates the average first duration corresponding to the intent of the same type as the intent according to the second duration.

[0027] The above method can be used to update the average value of the first duration through the knowledge management module.

[0028] In a fourth aspect, an embodiment of the present application provides an intention maintenance method, the method comprising: a knowledge management module receives sixth information from a state perception module, the sixth information indicating the execution duration of a first executable command when the target of the schematic diagram is achieved; the knowledge management module determines a third duration based on the execution duration of the first executable command, the third duration being less than the first duration; the knowledge management module sends seventh information to the state perception module, the seventh information indicating the third duration.

[0029] The above method can be used to determine the third duration through the knowledge management module.

[0030] In a possible design, it also includes: the knowledge management module updates the first duration average value corresponding to the intention of the same type as the intention according to the third duration.

[0031] The above method can be used to update the average value of the first duration through the knowledge management module.

[0032] In a fifth aspect, the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program runs on a computer, the computer executes the method of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0033] In a sixth aspect, the present application also provides a computer program product comprising a program, which, when executed on a computer, enables the computer to execute the method of the first aspect, the second aspect, the third aspect, or the fourth aspect.

[0034] In the seventh aspect, the present application also provides a device, including a processor and a memory; the memory is used to store computer-executable instructions; the processor is used to execute the computer-executable instructions stored in the memory, so that the communication device performs the method of the first aspect or the second aspect or the third aspect or the fourth aspect mentioned above.

[0035] In an eighth aspect, the present application also provides a device, comprising a processor and an interface circuit; the interface circuit is used to receive code instructions and transmit them to the processor; the processor runs the code instructions to execute the method of the first aspect, the second aspect, the third aspect, or the fourth aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A schematic diagram of the ENI architecture used in the embodiments of the present application;

[0037] Figure 2 An overview flow chart of the intention maintenance method provided in the embodiment of the present application;

[0038] Figure 3 One of the flowcharts of intent translation and execution provided in the embodiment of the present application;

[0039] Figure 4 The second flowchart of the intent translation and execution provided in the embodiment of the present application;

[0040] Figure 5 One of the schematic diagrams of the intention maintenance process provided in the embodiment of the present application;

[0041] Figure 6 The second schematic diagram of the intention maintenance process provided in the embodiment of the present application;

[0042] Figure 7 One of the schematic diagrams of the structure of the communication device provided in the embodiment of the present application;

[0043] Figure 8 The second structural diagram of the communication device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0044] The following first briefly introduces the ENI architecture involved in the embodiments of the present application.

[0045] The ENI architecture contains 10 functional modules, which are divided into four categories: input functional modules, output functional modules, analysis functional modules and decision functional modules. Figure 1 shown.

[0046] Input function module: (i.e. Data Ingestion and Normalisation module) is responsible for receiving data from external systems and performing operations such as normalisation on the data. Among them, the Data Ingestion and Normalisation module is two modules.

[0047] Output function module: (i.e. Output Generation and Denormalisation module) is responsible for converting the internal commands of the system into a format that can be processed by the external system and sending it to the external system.

[0048] Analysis function module: responsible for perceiving and analyzing the current network status and predicting the future network status. Analysis function modules include knowledge management module, context awareness module, and cognition management module.

[0049] Among them, the knowledge management module is mainly responsible for managing all knowledge within the scope of ENI, completing the identification of the strategy type of intent and the storage of intent-related knowledge.

[0050] The context awareness module is mainly responsible for obtaining the status and environment information of the assisted system, for example, for obtaining the performance data of the network element (such as the base station (gNodeB)). The assisted system can be a radio access network element or a core network element (such as a user plane function (UPF)).

[0051] The cognitive management module is mainly responsible for understanding network data and recognizing network status during the intention maintenance process.

[0052] The decision-making function module is used to generate new strategies and arrange strategies based on the intention based on the perception of network status, and send operation commands to the output function module. The decision-making function module includes the situation awareness module, the policy management module, and the model-driven engineering module. Alternatively, the decision-making function module includes the situation awareness module, the policy management module, the model-driven engineering module, and the intent translation module.

[0053] The context awareness module is mainly responsible for perceiving the impact of the recommendations or commands issued by the ENI system on the auxiliary system. For example, it is used to perceive the achievement of the intended goal.

[0054] The model-driven engineering module mainly assists in converting intent knowledge and context information into a format that can be recognized by the policy management module through a model-driven approach.

[0055] The policy management module is mainly responsible for generating policies to ensure the achievement of intent based on intent knowledge and context information, and issuing them to the Assisted System.

[0056] The intent translation module is mainly responsible for the lexical and grammatical parsing of the intent expression, and obtains intent-related knowledge from the knowledge management module based on the content of the intent expression.

[0057] It is understandable that there are currently two options for implementing the intent translation function on the ENI architecture: 1) functional enhancement based on the policy management module and 2) as an independent functional module of the architecture.

[0058] The intent implementation process includes intent translation, execution, and maintenance. For example, during the intent implementation process, the intent translation module is responsible for intent translation, and sends the translation result to the policy management module, which executes and maintains the intent. During the intent execution and maintenance process, the policy management module adjusts the executable commands of the intent according to the achievement of the intent.

[0059] In addition, in order to better implement the calling of intent, the expression of intent is defined. The expression of intent is as follows:

[0060] <intentexpression> := <intentdrivenaction> <intentdrivenobject>

[0061] <intentdrivenaction> := <intentdrivenactionname> <intentdrivenactionproperties>

[0062] <intentdrivenobject> := <intentdrivenobjectname> <intentdrivenobjectproperties>

[0063] As can be seen from the above expression, a complete intent consists of two parts: the intent action (IntentDrivenAction) and the intent target (IntentDrivenObject).

[0064] The intent system periodically determines whether the intent is achieved from the beginning of the implementation of the intent. When the intent cannot be achieved, the executable command corresponding to the intent is adjusted. The inspection cycle for the achievement of the intent target is limited by the reporting capability of the auxiliary system, which is determined by the intent system based on the intent business and can be as short as 1 minute. When the reporting cycle of the auxiliary system is small, the intent system will periodically determine the achievement of the intent before the intent is achieved. Among them, the inspection cycle for the achievement of the intent target is the same as the reporting cycle of the auxiliary system.

[0065] Among them, the reference duration involved in the embodiment of the present application refers to the minimum time interval of the executable command of the adjustment intention, that is, the shortest time required for the executable command to be executed to the next executable command adjustment. In addition, the reference duration can also be called the expected duration (exepected time) or other names, which are not limited in the embodiment of the present application. In addition, it should be noted that the network status collection period (i.e., the reporting period) is less than the reference duration.

[0066] In order to reduce the ping-pong switching of the intent executable command by the intent system before the intent target is achieved, improve the efficiency of the intent system in achieving the intent target, and reduce resource consumption, the embodiment of the present application provides an intent maintenance method, such as Figure 2 As shown, the method includes:

[0067] Step 200: The state perception module obtains the first duration corresponding to the intention.

[0068] The following describes possible ways in which the state perception module obtains the first duration. It should be understood that the following methods are only examples and are not intended to be limitations of the embodiments of the present application.

[0069] Method 1: The first duration can be carried by a message used to create an intent, implement an intent, or modify an intent. For example, the intent creator can send a create intent message to the intent system, and the message includes the first duration. Furthermore, the first duration can be forwarded to the state perception module by other modules in the intent system. At this time, the first duration is the initial reference duration.

[0070] Method 2: The first duration may also be configured in the intent knowledge base. For example, other modules in the intent system may obtain the first duration from the intent knowledge base and forward it to the state perception module.

[0071] Furthermore, the first duration may refer to the average duration of the same type of intention adjustment executable commands. Alternatively, the first duration may also be determined based on the duration required to achieve the intention goal during the simulation intention implementation process. In this case, the first duration is the initial reference duration.

[0072] Exemplarily, when the intention is simulated for the first time, the intention system records the time required to achieve the intention goal, which is recorded as reference time = To. When the intention is simulated for the second time, if the intention goal is achieved within To, the reference time is adjusted, that is, the reference time is reduced. If the intention goal is not achieved within To, the reference time is adjusted, that is, the reference time is extended. Specifically, if the intention goal is achieved within To, the reference time can be adjusted using the formula T = To + w*t, where t is a negative number, w is a positive number, and t is the difference between the time taken to achieve the intention goal and To. If the intention goal is not achieved within To, t' is run again based on To (for example, t' can be To, and the specific value is set according to the experience value). If the intention goal is achieved after t', the reference time can be adjusted using the formula T = To + w*t, where t is the time exceeding To. If the intention goal is not achieved within t', the executable command of the intention is adjusted, and the reference time is adjusted using the formula T = To + w*t, where t = t'.

[0073] Based on the above ideas, in some embodiments, a reference duration can be determined as the first duration after the change trend of the reference duration is stable. For example, assuming that the preset floating range is 40s, after several simulations of the intention implementation process, the reference duration changes from 4 minutes and 45 seconds to 5 minutes and 15 seconds. At this time, the floating range of the reference duration is 30s, which falls within the preset floating range, and the first duration can be set to 5 minutes.

[0074] In some embodiments, when the simulation intention implementation process reaches a preset number of times, the last reference duration obtained is used as the first duration. For example, assuming the preset number of times is 5 times, when the simulation intention implementation process reaches 5 times, the reference duration determined after the 5th simulation intention implementation process is used as the first duration.

[0075] Step 210: The policy management module sends a first message to the state perception module, where the first message indicates that the first executable command corresponding to the first message starts to be executed.

[0076] After receiving the first information, the state perception module monitors the execution time of the first executable command. If the execution time of the first executable command reaches the first time and the intended goal is not achieved, step 220A is executed. If the intended goal is achieved before the first time, step 220B is executed. Exemplarily, after receiving the first information, the state perception module starts timing the execution time of the first executable command.

[0077] Step 220A: When the execution time of the first executable command reaches a first time duration and the intended goal is not achieved, the state perception module determines a second time duration, and the second time duration is greater than the first time duration.

[0078] In one example, the state awareness module may determine the second duration by itself.

[0079] In one example, the state perception module may send fourth information to the knowledge management module, the fourth information indicating that the execution time of the first executable command reaches the first time and the intended goal is not achieved. After receiving the fourth information, the knowledge management module determines the second time and sends fifth information to the state perception module, the fifth information including the second time.

[0080] In one example, the state perception module does not need to send the fourth information to the knowledge management module, but when the intended target is achieved before the first duration arrives, the state perception module sends the third information to the policy management module, and the third information indicates the execution duration of the first executable command, that is, the duration required to achieve the actual intended target. When the knowledge management module determines that the third information is not received and determines the second duration, it sends the fifth information to the state management module, and the fifth information includes the second duration.

[0081] In addition, the knowledge management module may also update the average duration of the same type of intent-adjustable executable commands according to the second duration.

[0082] It can be understood that the above description only takes the knowledge management module as an example. Other modules in the intent system may also determine the second duration and notify the state perception module of the second duration. The embodiment of the present application does not limit this.

[0083] Furthermore, the state perception module or the knowledge management module may determine the second duration using the following formula:

[0084] Time_update=Time_initial+△, △ can be a preset value, and △ is greater than 0.

[0085] Time_update indicates the second duration, and Time_initial indicates the first duration, for example, Δ=60s.

[0086] It should be noted that the state perception module or the knowledge management module may use other formulas to determine the second duration, and the embodiments of the present application are not limited to this.

[0087] Step 230A: The state perception module sends second information to the policy management module, where the second information indicates a second duration.

[0088] Step 240A: When the execution time of the first executable command reaches the first time and the intended goal is not achieved, the policy management module adjusts the first executable command to a second executable command.

[0089] It is understandable that the embodiment of the present application does not limit the execution order of step 230A and step 240A.

[0090] Among them, the policy management module needs to first obtain the first duration corresponding to the intention. The specific way for the policy management module to obtain the first duration can refer to step 200, and the repeated parts will not be repeated.

[0091] The policy management module decides whether to adjust the first executable command based on whether the target of the intent is achieved within the first time period. If the execution time of the first executable command reaches the first time period and the target of the intent is not achieved, that is, the target of the intent is not achieved within the first time period, then the policy management module needs to adjust the executable command, that is, adjust the first executable command of the intent to the second executable command corresponding to the intent. It should be noted that one intent can correspond to multiple executable commands, and the multiple executable commands here are the first executable command and the second executable command. If the target of the intent is achieved before the first time period is reached, the policy management module does not need to adjust the executable command.

[0092] In addition, the policy management module sends a message to the state management module for instructing the second execution command to start executing. In conjunction with step 230A, the policy management module determines whether the second executable command needs to be adjusted based on whether the intended goal is achieved within the second time period, and enters a new cycle.

[0093] It is understandable that the following is only explained by taking the switching executable command as an example, and the embodiments of the present application are also applicable to switching rules or switching sub-intentions. For example, when the execution time of the first rule reaches the first time and the target of the intent is not achieved, the policy management module adjusts the first rule to the second rule. Alternatively, when the execution time of the first sub-intention reaches the first time and the target of the first sub-intention is not achieved, the policy management module adjusts the first sub-intention to the second sub-intention.

[0094] Step 230B: When the intended goal is achieved before the first duration arrives, the execution duration of the first executable command is less than the first duration, and the state perception module determines a third duration, which is less than the first duration.

[0095] In one example, the state perception module can determine the third duration by itself.

[0096] In another example, the state perception module may send sixth information to the knowledge management module, the sixth information indicating the execution time of the first executable command. The state perception module receives seventh information from the knowledge management module, the seventh information indicating the third time duration. In addition, the knowledge management module may also update the average time duration of the same type of intent-adjustable executable commands according to the third time duration.

[0097] It can be understood that the above description only takes the knowledge management module as an example. Other modules in the intent system can also determine the third duration and notify the state perception module of the third duration. The embodiment of the present application does not limit this.

[0098] Exemplarily, the third duration is the execution duration of the first executable command.

[0099] Exemplarily, the state perception module or the knowledge management module may determine the third duration using the following formula:

[0100] Time_update=Time_initial+w*t, where Time_initial is the second duration, w is a weight value, for example, w=1, and t is the difference between the execution duration of the first executable command and the first duration.

[0101] It should be noted that the state perception module or the knowledge management module may use other formulas to determine the third duration, and the embodiment of the present application does not limit this.

[0102] Step 230B: The state perception module sends third information to the policy management module, where the third information indicates a third duration.

[0103] Furthermore, the policy management module determines whether the first executable command needs to be adjusted according to whether the intended goal is achieved within a third time period.

[0104] It should be noted that step 220B and step 230B are optional steps. If the intended target is achieved before the first duration, the state perception module may not need to determine the third duration, and the policy management module continues to determine whether to adjust the first executable command based on the first duration.

[0105] The above method can be used to reduce the ping-pong switching of intent executable commands by the intent system before the intent goal is achieved, improve the efficiency of the intent system in achieving the intent goal, and reduce resource consumption.

[0106] The embodiments of the present application are described in detail below with reference to examples.

[0107] Example 1: Figure 3 The following is one of the flow charts of intent translation and execution. The initial reference duration is issued by the intent creator.

[0108] Step 1: The intent creator sends a new policy message to the data reading and normalization module, and the new policy message includes an initial reference duration. The initial reference duration can refer to Figure 2 The first duration in the illustrated embodiment. The initial reference duration may also be referred to as the initial value of the reference duration.

[0109] Exemplarily, the intent creator may be a user, an application, an operations support system (OSS), or a business support system (BSS).

[0110] Step 2: The data reading and normalization module normalizes the new policy message and related data, and sends the normalized data to the knowledge management module, wherein the normalized data also includes the initial reference duration.

[0111] Step 3: The knowledge management module updates the intent knowledge base based on the normalized data.

[0112] Step 4: The knowledge management module sends a translation policy request message to the intent translation module. The translation request message includes an initial reference duration.

[0113] Step 5: The intent translation module assigns an identifier to the intent policy.

[0114] Step 6: The intent translation module sends an identification update request to the knowledge management module, and the identification update request is used to update the intent identification in the intent knowledge base.

[0115] Step 7: The intent translation module sends a response message to the output generation and denormalization module. The response message is used to inform that the intent has begun to be processed.

[0116] Step 8: The output generation and denormalization module sends a response message to the intent creator, which is used to inform that the intent has begun to be processed.

[0117] In addition, the intent translation module also needs to perform intent grammar and lexical checking. If the grammar and lexical checking is incorrect, the intent translation module sends error feedback information to the intent creator. The intent translation module sends intent error information to the knowledge management module. If the intent grammar and lexical checking is correct, proceed to step 9.

[0118] Step 9: The intent translation module extracts intent keywords.

[0119] Step 10: The intent translation module sends an intent keyword update message to the knowledge management module.

[0120] Step 11: The intent translation module sends an intent knowledge acquisition request to the knowledge management module.

[0121] Step 12: The knowledge management module sends the intent knowledge to the intent translation module.

[0122] Step 13: The intent translation module organizes the intent knowledge to determine the intent translation result.

[0123] Among them, illustratively, the intent knowledge may include intent target information, names of network state parameters and identifiers of network elements related to the intent strategy, etc.

[0124] Step 14: The intent translation module sends an update intent policy instance context (updPolsemantics) message to the knowledge management module.

[0125] Step 15: The intent translation module sends a polComplete message to the context awareness module. The polComplete message includes the initial reference duration and the intent translation result.

[0126] Step 16: The context awareness module determines the network status and sends a network status notification completion (ctxComplete) message to the status awareness module. The network status notification completion (ctxComplete) message includes the initial reference duration and the intent translation result.

[0127] Step 17: The state perception module determines whether the intent goal is achieved and sends a network state notification completion message to the model-driven engineering module. The network state notification completion (ctxComplete) message includes the initial reference duration and the intent translation result.

[0128] Corresponding to the above step 200 , the state perception module obtains an initial reference duration to prepare for step 20 .

[0129] Step 18: The model-driven engineering module converts the intent translation result into a form that can be understood by the intent action entity (i.e., the auxiliary system) according to the network status notification completion message, updates it to the knowledge management module, and sends a model-driven engineering completion (mdeComplete) message to the policy management module. The model-driven engineering completion (mdeComplete) message includes the initial reference duration and the intent translation result.

[0130] Step 19: The policy management module converts and makes decisions on the intent translation results, and the obtained executable commands are sent to the output generation and denormalization modules.

[0131] The executable commands here can correspond to the above Figure 2 A first executable command in the illustrated implementation.

[0132] Step 20: The policy management module sends an exeBegin message to the state perception module. The exeBegin message indicates that the executable command of the diagram starts to be executed.

[0133] Step 21: The state perception module starts timing according to the received intention execution start message.

[0134] If the intended goal is achieved within the reference time, the state perception module records the execution time of the executable command. If the intended goal is not achieved within the reference time, the state perception module can record that the execution time of the executable command reaches the reference time and the intended goal is not achieved, or do not record it.

[0135] Step 22: The output generation and denormalization module sends the executable command to the intended entity (ie, the auxiliary system).

[0136] The above embodiment can be used to carry the reference duration when the intent is first issued, which can reduce the probability of adjusting the intent executable command before achieving the goal and reduce resource consumption.

[0137] Example 2: Figure 4 The second flowchart of intent translation and execution is shown in Figure 2. The initial reference duration is stored in the intent knowledge base.

[0138] Step 1: The intent creator sends a new policy (newPolicy) message to the data reading and normalization module, and the new policy message includes a reference duration.

[0139] Exemplarily, the intent creator may be a user or an application or an OSS or a BSS.

[0140] Step 2: The data reading and normalization module normalizes the new policy message and related data, and sends the normalized data to the knowledge management module, wherein the normalized data also includes the reference duration.

[0141] Step 3: The knowledge management module updates the intent knowledge base based on the normalized data.

[0142] Step 4: The knowledge management module sends a translation policy request message to the intent translation module. The translation request message includes a reference duration.

[0143] Step 5: The intent translation module assigns an identifier to the intent policy.

[0144] Step 6: The intent translation module sends an identification update request to the knowledge management module, and the identification update request is used to update the intent identification in the intent knowledge base.

[0145] Step 7: The intent translation module sends a response message to the output generation and denormalization module. The response message is used to inform that the intent has begun to be processed.

[0146] Step 8: The output generation and denormalization module sends a response message to the intent creator, which is used to inform that the intent has begun to be processed.

[0147] In addition, the intent translation module also needs to perform intent grammar and lexical checking. If the grammar and lexical checking is incorrect, the intent translation module sends error feedback information to the intent creator. The intent translation module sends intent error information to the knowledge management module. In addition, if the intent grammar and lexical checking is correct, continue to step 9.

[0148] Step 9: The intent translation module extracts intent keywords.

[0149] Step 10: The intent translation module sends an intent keyword update message to the knowledge management module.

[0150] Step 11: The intent translation module sends an intent knowledge acquisition request to the knowledge management module.

[0151] Step 12: The knowledge management module sends a return intent (returnIntent) message to the intent translation module, which carries the initial reference duration and intent knowledge.

[0152] The initial reference duration is stored in the intent knowledge base. At this time, the initial reference duration may be a reference duration corresponding to the type of intent, that is, a reference duration for a type of intent.

[0153] Step 13: The intent translation module organizes the intent knowledge to determine the intent translation result. The intent knowledge may include intent target information, the name of the network state parameter, and the identifier of the network element related to the intent strategy.

[0154] Step 14: The intent translation module sends an update intent policy instance context (updPolsemantics) message to the knowledge management module.

[0155] Step 15: The intent translation module sends a polComplete message to the context awareness module. The polComplete message includes the initial reference duration and the intent translation result.

[0156] Step 16: The context awareness module determines the network status and sends a network status notification completion (ctxComplete) message to the status awareness module. The network status notification completion (ctxComplete) message includes the initial reference duration and the intent translation result.

[0157] Step 17: The state perception module determines whether the intent goal is achieved and sends a network state notification completion message to the model-driven engineering module. The network state notification completion (ctxComplete) message includes the initial reference duration and the intent translation result.

[0158] Step 18: The model-driven engineering module converts the intent translation result into a form that can be understood by the intent action entity (i.e., the auxiliary system) according to the network status notification completion message, updates it to the knowledge management module, and sends a model-driven engineering completion (mdeComplete) message to the policy management module. The model-driven engineering completion (mdeComplete) message includes the initial reference duration and the intent translation result.

[0159] Step 19: The policy management module converts and makes decisions on the intent translation results, and the obtained executable commands or rules are sent to the output generation and denormalization modules.

[0160] Step 20: The policy management module sends an exeBegin message to the state perception module. The exeBegin message indicates that the executable command of the diagram starts to be executed.

[0161] Step 21: The state perception module starts timing according to the received intention execution start message.

[0162] If the intended goal is achieved within the reference time, the state perception module records the execution time of the executable command. If the intended goal is not achieved within the reference time, the state perception module records that the execution time of the executable command reaches the reference time and the intended goal is not achieved.

[0163] Step 22: The output generation and denormalization module sends the executable commands or rules to the intended entity (ie, the auxiliary system).

[0164] By adopting the above embodiment and saving the reference time in the intention knowledge base, the probability of adjusting the intention executable command before achieving the goal can be reduced, thereby reducing resource consumption.

[0165] Example 3: Figure 5 The figure shows one of the flow charts of intention maintenance. In this embodiment, the knowledge management module can determine the updated reference duration.

[0166] Step 1: The context-aware module sends a performance data subscription request to the output generation and denormalization module.

[0167] Step 2: The output generation and denormalization module sends a performance data subscription request to the auxiliary system.

[0168] Step 3: The auxiliary system sends performance data to the data reading and normalization module.

[0169] Step 4: The data reading and normalization module normalizes the performance data and sends the processed data to the knowledge management module.

[0170] Step 5: The knowledge management module sends the policy and performance data (polAndPerformanceData) to the context awareness module, where the policy and performance data include the updated reference duration.

[0171] When the reference duration is not reached and the intended target is achieved, the state perception module can send an update policy scenario (updPolSA) message to the knowledge management module, which includes a measurement duration, which is the actual measured time to achieve the intended target, that is, when the intended target is achieved within the reference duration, the execution duration of the executable command. The knowledge management module determines the updated reference duration based on the measurement duration. It can be understood that the measurement duration here can correspond to Figure 2 The execution time of the first executable command in the embodiment shown. At this time, the updated reference time can correspond to Figure 2 The third duration in the illustrated embodiment.

[0172] In one example, the calculation formula for the updated reference duration is:

[0173] Time_update = Time_initial + w*t, where Time_update is the updated reference duration, and Time_initial is the reference duration recorded in the state perception module, that is, the most recently updated reference duration or the initial reference duration. w is the weight value, for example, w = 1, and t is the difference between the measured duration and Time_initial.

[0174] In another example, the updated reference duration may be directly defined to be equal to the measurement duration.

[0175] The embodiment of the present application does not limit the timing of the state perception module sending the measurement duration to the knowledge management module. Exemplarily, after the state perception module receives the network status notification completion message from the context perception module, that is, after step 6, the state perception module sends an update strategy scenario message to the knowledge management module, which includes the measurement duration. The measurement duration at this time is the execution duration of the previous round of executable command execution.

[0176] When the reference duration is reached and the intended target is not achieved, the state perception module can send updPolSA to the knowledge management module, which indicates that the reference duration is reached and the intended target is not achieved. The knowledge management module determines the updated reference duration based on the message. For example, Time_update = Time_initial + △, Time_update is the updated reference duration, Time_initial is the initial reference duration, △ can be a preset value, and △ is greater than 0. At this time, the updated reference duration can correspond to Figure 2 The second duration in the illustrated embodiment.

[0177] In addition, when the reference duration is reached and the intended target is not achieved, the state perception module may not send a message to the knowledge management module. If the knowledge management module does not receive a message sent by the state perception module, it determines that the reference duration is reached and the intended target is not achieved, and the knowledge management module determines an updated reference duration.

[0178] It should be noted that when the intent knowledge base saves the initial reference duration of the intent, that is, corresponding to the scenario of Example 2, the knowledge management module can also update the initial reference duration of the intent belonging to the same category in the intent system according to the updated reference duration. Exemplarily, T = (w1*T1+w2*T2+w3*T3+…+wn*Tn) / n, where n is the number of intents belonging to the same category (such as bandwidth improvement intent) and in an activated state in the intent system, and T1, T2,…Tn, etc. are the initial reference durations corresponding to the n intents respectively. w1, w2…wn are the weights corresponding to T1, T2,…Tn respectively.

[0179] Step 6: The context awareness module sends a network status notification completion message to the status awareness module, where the network status notification completion message includes the updated reference duration.

[0180] Step 7: The state perception module sends a network state notification completion message to the model driven engineering module, and the network state notification completion message includes the updated reference duration.

[0181] Step 8: The model-driven engineering module sends a model-driven engineering completion message to the policy management module, and the model-driven engineering completion message includes the updated reference duration.

[0182] Step 9: The policy management module determines whether to adjust the intent's executable command based on the updated reference duration and the achievement of the intent's goal. If the updated reference duration is not reached and the intent's goal is achieved, the intent's executable command does not need to be adjusted and the process ends. If the updated reference duration is reached and the intent's goal is not achieved, the intent's executable command needs to be adjusted and step 10 is executed.

[0183] Step 10: The policy management module sends the adjusted executable command to the output generation and denormalization module.

[0184] Step 11: The output generation and denormalization module sends the adjusted executable commands to the auxiliary system.

[0185] Step 12: The policy management module sends an execution intention start message to the state perception module, notifying the state perception module to start a new round of execution time timing of executable commands.

[0186] The above embodiment can be used to update the reference duration by the knowledge management module.

[0187] Example 4: Figure 6 The second schematic diagram of the intention maintenance process is shown. In this embodiment, the state perception module can determine the updated reference duration.

[0188] Step 1: The context-aware module sends a performance data subscription request to the output generation and denormalization module.

[0189] Step 2: The output generation and denormalization module sends a performance data subscription request to the auxiliary system.

[0190] Step 3: The auxiliary system sends performance data to the data reading and normalization module.

[0191] Step 4: The data reading and normalization module normalizes the performance data and sends the processed data to the knowledge management module.

[0192] Step 5: The knowledge management module stores the performance data and sends the performance data and intent context information to the context awareness module, wherein the intent context information is generated during the intent translation and execution phase.

[0193] Step 6: The context awareness module determines the network status based on the performance data, adds the network status information to the context information, updates the intent context information to the knowledge management module, and sends the updated context information to the status awareness module.

[0194] Step 7: The state perception module determines the updated reference duration.

[0195] When the reference duration is not reached and the intended target is achieved, the state perception module calculates the updated reference duration based on the actual measured intended target achievement time, that is, when the intended target is achieved within the reference duration, the execution duration of the executable command (hereinafter referred to as the measured duration). In one example, the calculation formula for the updated reference duration is:

[0196] Time_update=Time_initial+w*t, where Time_update is the updated reference duration, Time_initial is the reference duration recorded in the state perception module, that is, the most recently updated reference duration or the initial reference duration, w is the weight value, for example, w=1, and t is the difference between the measured duration and Time_initial.

[0197] In another example, the updated reference duration may be defined to be equal to the measurement duration.

[0198] When the reference duration is reached and the intended target is not achieved, the state perception module determines the updated reference duration. Exemplarily, Time_update=Time_initial+△, where Time_update is the updated reference duration, Time_initial is the reference duration recorded in the state perception module, i.e., the most recently updated reference duration or the initial reference duration, and △ can be a preset value, which is greater than 0.

[0199] Step 8: The state perception module sends a network state notification completion message to the model driven engineering module, and the network state notification completion message includes the updated reference duration.

[0200] Step 9: The model-driven engineering module sends a model-driven engineering completion message to the policy management module, and the driven engineering completion message includes the updated reference duration.

[0201] Step 10: The policy management module determines whether to adjust the intent's executable command based on the updated reference duration and the achievement of the intent's goal. If the updated reference duration is not reached and the intent's goal is achieved, the intent's executable command does not need to be adjusted and the process ends. If the updated reference duration is reached and the intent's goal is not achieved, the intent's executable command needs to be adjusted and step 11 is executed.

[0202] Step 11: The policy management module sends the adjusted executable command to the output generation and denormalization module.

[0203] Step 12: The output generation and denormalization module sends the adjusted executable commands to the auxiliary system.

[0204] Step 13: The policy management module sends an execution intention start message to the state perception module, notifying the state perception module to start a new round of execution time timing of executable commands.

[0205] The above embodiment can be used to update the reference duration by the knowledge management module.

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

[0207] Figure 7 and Figure 8 Schematic diagram of the structure of possible communication devices provided for embodiments of the present application. These communication devices can be used to implement the functions of the state perception module, the policy management module, or the knowledge management module in the above method embodiments, and thus can also achieve the beneficial effects of the above method embodiments. In the embodiments of the present application, the communication device can be as follows: Figure 1 The state perception module or policy management module or knowledge management module shown may also be a chip applied to the state perception module or policy management module or knowledge management module.

[0208] like Figure 7 As shown, the communication device 700 includes a processing unit 710 and a transceiver unit 720. When the communication device 700 is used to implement the above Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 When the state perception module functions in the method embodiment shown in , the transceiver unit 720 is used to obtain a first duration corresponding to the intention, and receive first information from the policy management module, where the first information indicates that a first executable command corresponding to the intention starts to be executed.

[0209] The processing unit 710 is configured to determine, by the state perception module, a second duration when the execution duration of the first executable command reaches a first duration and the intended target is not achieved, and the second duration is greater than the first duration.

[0210] The transceiver unit 720 is used to send second information to the policy management module, where the second information indicates a second duration.

[0211] When the communication device 700 is used to implement Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 In the method embodiment shown, the function of the policy management module is as follows: the transceiver unit 720 is used to obtain a first duration corresponding to the intention, and send a first message to the state perception module, where the first message indicates that a first executable command corresponding to the intention starts to be executed;

[0212] The processing unit 710 is configured to adjust the first executable command to a second executable command corresponding to the intent when the execution duration of the first executable command reaches a first duration and the intended target is not achieved;

[0213] The transceiver unit 720 is used to receive second information from the state perception module, where the second information indicates a second duration, and the second duration is greater than the first duration.

[0214] When the communication device 700 is used to implement Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 In the method embodiment shown, the function of the knowledge management module is as follows: the transceiver unit 720 is used to receive fourth information from the state perception module, the fourth information indicating that the execution time of the first executable command of the schematic diagram reaches the first time and the intended goal is not achieved;

[0215] The processing unit 710 is used to determine a second duration, where the second duration is greater than the first duration;

[0216] The transceiver unit 720 is used to send fifth information to the state perception module, where the fifth information indicates the second duration.

[0217] When the communication device 700 is used to implement Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 In the method embodiment shown, the functions of the knowledge management module are: the transceiver unit 720 is used to receive the sixth information from the state perception module, the sixth information indicating the execution time of the first executable command when the target of the diagram is achieved;

[0218] The processing unit 710 is configured to determine a third duration according to the execution duration of the first executable command, where the third duration is less than the first duration;

[0219] The transceiver unit 720 is used to send seventh information to the state perception module, where the seventh information indicates the third duration.

[0220] For more detailed description of the processing unit 710 and the transceiver unit 720, please refer to Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 The relevant description in the method embodiment shown is directly obtained and will not be repeated here.

[0221] like Figure 8 As shown, the communication device 800 includes a processor 810 and an interface circuit 820. The processor 810 and the interface circuit 820 are coupled to each other. It is understood that the interface circuit 820 can be a transceiver or an input-output interface. Optionally, the communication device 800 may also include a memory 830 for storing instructions executed by the processor 810 or storing input data required by the processor 810 to execute instructions or storing data generated after the processor 810 executes instructions.

[0222] When the communication device 800 is used to implement Figure 2 , Figure 3 , Figure 4 , Figure 5 or Figure 6 When the method is shown, the processor 810 is used to implement the function of the above-mentioned processing unit 710, and the interface circuit 820 is used to implement the function of the above-mentioned transceiver unit 720.

[0223] It is understandable that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

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

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

[0226] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.

[0227] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In the text description of this application, the character " / " generally indicates that the previous and next associated objects are in an "or" relationship; in the formula of this application, the character " / " indicates that the previous and next associated objects are in a "division" relationship.

[0228] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.< / intentdrivenobjectproperties> < / intentdrivenobjectname> < / intentdrivenobject> < / intentdrivenactionproperties> < / intentdrivenactionname> < / intentdrivenaction> < / intentdrivenobject> < / intentdrivenaction> < / intentexpression>

Claims

1. An intention maintenance method, characterized in that: The method includes: The state perception module obtains the first duration corresponding to the intention; The state perception module receives first information from the policy management module, where the first information indicates that a first executable command corresponding to the intention starts to be executed; When the execution time of the first executable command reaches the first time period and the intended target is not achieved, the state perception module determines a second time period, and the second time period is greater than the first time period; The state perception module sends second information to the policy management module, where the second information indicates the second duration.

2. The method according to claim 1, characterized in that Also includes: When the intended target is achieved before the first duration arrives, the execution duration of the first executable command is less than the first duration, and the state perception module determines a third duration, and the third duration is less than the first duration; The state perception module sends third information to the policy management module, where the third information indicates the third duration.

3. The method according to claim 2, characterized in that The third duration is determined according to the execution duration of the first executable command.

4. The method according to claim 1, characterized in that The state perception module determines the second duration, including: The state perception module sends fourth information to the knowledge management module, where the fourth information indicates that the execution time of the first executable command reaches the first time and the intended goal is not achieved; The state perception module receives fifth information from the knowledge management module, where the fifth information indicates the second duration.

5. The method according to claim 2 or 3, characterized in that: The state perception module determines the third duration, including: The state perception module sends sixth information to the knowledge management module, where the sixth information indicates the execution time of the first executable command; The state perception module receives seventh information from the knowledge management module, and the seventh information indicates the third duration.

6. The method according to any one of claims 1 to 4, characterized in that: The first duration is carried by eighth information, and the eighth information is used to create, implement or modify the intention; Alternatively, the first duration is configured in an intent knowledge base.

7. The method according to any one of claims 1 to 4, characterized in that: The first duration is determined based on the duration required to achieve the intended goal during the simulation of the intention implementation process.

8. An intention maintenance method, characterized in that: The method includes: The policy management module obtains a first duration corresponding to the intention; The policy management module sends a first message to the state perception module, wherein the first message indicates that a first executable command corresponding to the first message starts to be executed; When the execution time of the first executable command reaches the first time and the target of the intention is not achieved, the policy management module adjusts the first executable command to a second executable command corresponding to the intention; The policy management module receives second information from the state perception module, where the second information indicates a second duration, and the second duration is greater than the first duration.

9. The method according to claim 8, characterized in that Also includes: When the intended target is achieved before the first duration arrives, the execution duration of the first executable command is less than the first duration, and the policy management module receives third information from the state perception module, and the third information indicates a third duration, and the third duration is less than the first duration.

10. The method according to claim 9, characterized in that The third duration is determined according to the execution duration of the first executable command.

11. The method according to any one of claims 8 to 10, characterized in that: The first duration is carried by eighth information, and the eighth information is used to create, implement or modify the intention; Alternatively, the first duration is configured in an intent knowledge base.

12. The method according to any one of claims 8 to 10, characterized in that: The first duration is determined based on the duration required to achieve the intended goal during the simulation of the intention implementation process.

13. A method for maintaining intention, characterized in that: The method includes: The knowledge management module receives fourth information from the state perception module, the fourth information indicating that the execution time of the first executable command of the schematic diagram reaches the first time and the target of the intention is not achieved; The knowledge management module determines a second duration, where the second duration is greater than the first duration; The knowledge management module sends fifth information to the state perception module, where the fifth information indicates the second duration.

14. The method according to claim 13, characterized in that Also includes: The knowledge management module updates the average first duration corresponding to the intent of the same type as the intent according to the second duration.

15. A method for maintaining intention, characterized in that: The method includes: The knowledge management module receives sixth information from the state perception module, the sixth information indicating the execution time of the first executable command when the goal of the schematic diagram is achieved; The knowledge management module determines a third duration according to the execution duration of the first executable command, wherein the third duration is shorter than the first duration; The knowledge management module sends seventh information to the state perception module, where the seventh information indicates the third duration.

16. The method according to claim 15, characterized in that Also includes: The knowledge management module updates the first duration average value corresponding to the intent of the same type as the intent according to the third duration.

17. An intention maintenance device, characterized in that The device includes: A transceiver unit, configured to obtain a first duration corresponding to an intention; receive first information from a policy management module, wherein the first information indicates that a first executable command corresponding to the intention starts to be executed; a processing unit, configured to determine a second duration when the execution duration of the first executable command reaches the first duration and the intended target is not achieved, wherein the second duration is greater than the first duration; The transceiver unit is used to send second information to the policy management module, where the second information indicates the second duration.

18. The device according to claim 17, characterized in that The processing unit is configured to determine a third duration when the intended target is achieved before the first duration arrives and the execution duration of the first executable command is less than the first duration, wherein the third duration is less than the first duration; The transceiver unit is used to send third information to the policy management module, where the third information indicates the third duration.

19. The device according to claim 18, characterized in that The third duration is determined according to the execution duration of the first executable command.

20. The device according to claim 17, characterized in that The transceiver unit is used to send fourth information to the knowledge management module, wherein the fourth information indicates that the execution time of the first executable command reaches the first time and the intended target is not achieved; The transceiver unit is used to receive fifth information from the knowledge management module, where the fifth information indicates the second duration.

21. The device according to claim 18 or 19, characterized in that The transceiver unit is used to send sixth information to the knowledge management module, where the sixth information indicates the execution time of the first executable command; The transceiver unit is used to receive seventh information from the knowledge management module, and the seventh information indicates the third duration.

22. An intention maintenance device, characterized in that The device includes: A transceiver unit, used for obtaining a first duration corresponding to the intention; The transceiver unit is used to send first information to the state sensing module, wherein the first information indicates that a first executable command corresponding to the diagram starts to be executed; a processing unit, configured to adjust the first executable command to a second executable command corresponding to the intention when the execution time of the first executable command reaches the first time and the target of the intention is not achieved; The transceiver unit is used to receive second information from the state perception module, where the second information indicates a second duration, and the second duration is greater than the first duration.

23. The device according to claim 22, characterized in that The transceiver unit is used to receive third information from the state perception module when the intended target is achieved before the first time period arrives and the execution time of the first executable command is less than the first time period, wherein the third information indicates a third time period, and the third time period is less than the first time period.

24. The device according to claim 23, characterized in that The third duration is determined according to the execution duration of the first executable command.

25. An intention maintenance device, characterized in that The device includes: a transceiver unit, configured to receive fourth information from the state sensing module, wherein the fourth information indicates that the execution time of the first executable command of the schematic diagram reaches the first time length and the target of the intent is not achieved; A processing unit, configured to determine a second duration, wherein the second duration is greater than the first duration; The transceiver unit is used to send fifth information to the state perception module, where the fifth information indicates the second duration.

26. The device according to claim 25, characterized in that The processing unit is used to update the average first duration corresponding to the intention of the same type as the intention according to the second duration.

27. An intention maintenance device, characterized in that The device includes: a transceiver unit, configured to receive sixth information from the state sensing module, the sixth information indicating the execution time of the first executable command when the target of the schematic diagram is achieved; a processing unit, configured to determine a third duration according to the execution duration of the first executable command, wherein the third duration is shorter than the first duration; The transceiver unit is used to send seventh information to the state perception module, where the seventh information indicates the third duration.

28. A communication device, characterized in that: Comprising means for performing the method as claimed in any one of claims 1 to 16.

29. A communication device, characterized in that: It includes a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device, and the processor is used to implement the method as described in any one of claims 1 to 16 through a logic circuit or executing code instructions.

30. A computer-readable storage medium, characterized in that: The storage medium stores a computer program or an instruction, and when the computer program or the instruction is executed by the communication device, the method according to any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • Browser voice interaction method and device, terminal and storage medium

    CN107992587A

  • Intelligent customer service multi-round session management method and device

    CN111737442A