Method and device for processing intention

By obtaining the value range of the intent target and redetermining the target value of the intent, the problem of insufficient flexibility in handling intent conflicts in the prior art is solved, and more efficient intent execution and system support capabilities are achieved.

CN120075838APending Publication Date: 2025-05-30HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510185430.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2021-05-27
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The prior art has poor flexibility when dealing with intention conflicts, resulting in the intent with lower priority being unable to be executed, and the number of intents that can be supported simultaneously in the system is small.

Method used

By obtaining the value range of the intent target, redetermine the intent target value so that it does not conflict with the target value of the conflicting intent, allowing the conflicting intent to be executed simultaneously.

Benefits of technology

Improves flexibility in dealing with intent conflicts, allowing for lower priority intents to be executed, and increases the number of intents that the system can support simultaneously.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075838A_ABST
    Figure CN120075838A_ABST
Patent Text Reader

Abstract

The invention provides an intention processing method and device, and the method comprises the steps: a first network element obtains a first value of a first intention target, the first value conflicts with a second value of a second intention target, the first intention target is used for indicating a target value expected to be achieved by the first intention, and the second intention target is used for indicating a target value expected to be achieved by the second intention; the first network element obtains first information, wherein the first information is used for indicating a first value range of the first intention target; the first network element determines the third value of the first intention target according to the first information, the third value belongs to the first value range, and the third value and the second value do not conflict, so that both the first intention and the second intention can be executed by the system, and the flexibility of processing the intention conflict is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202110587135.2, the filing date of the original application is May 27, 2021, and the entire content of the original application is incorporated herein by reference. Technical Field

[0002] This application relates to the field of wireless communication, and more particularly, to a method and apparatus for processing intents. Background Art

[0003] In the process of network configuration and monitoring, a user can adopt a cognitive network management system that determines a behavior control mode based on the observation direction. This system uses artificial intelligence (AI) technology and context awareness strategies to adjust the provided services according to changes in user requirements, environmental conditions, and business goals. Therefore, this system can help users automate their work, thereby reducing operating expenses and improving the use and maintenance of the network.

[0004] A user can create an intent in the system to achieve the expectations for the system. However, when the system creates an intent, the created intent may conflict with the intent that is in an active state in the system. The system will compare the priorities of the conflicting intents and then execute the intent with the higher priority. That is to say, the system will select an intent to execute in a competitive manner to resolve the intent conflict, resulting in the inability to execute the intent with the lower priority. The number of intents that can be supported simultaneously in the system is small, and the flexibility of the system in handling intent conflicts is poor. Therefore, there is an urgent need for a method for processing intents that can improve the flexibility in handling intent conflicts. Summary of the Invention

[0005] This application provides a method and apparatus for processing intents, which can improve the flexibility in handling intent conflicts.

[0006] In a first aspect, a method for processing intents is provided. This method can be executed by a first network element or a chip in the first network element. The method includes: the first network element obtains a first value of a first intent target, and the first value conflicts with a second value of a second intent target. The first intent target is used to indicate a target value that the first intent expects to achieve, and the second intent target is used to indicate a target value that the second intent expects to achieve; the first network element obtains first information, and the first information is used to indicate a first value range of the first intent target; the first network element determines a third value of the first intent target according to the first information, the third value belongs to the first value range, and the third value does not conflict with the second value.

[0007] It should be noted that the first network element determines the third value of the first intention target according to the first information, which can also be understood as the first network element modifying the first value of the first intention target to the third value according to the first information.

[0008] Thus, in the present application, when the first value of the first intention conflicts with the second value of the second intention, the third value of the first intention can be re-determined according to the value range of the first intention target, rather than directly suspending the execution of the first intention. Since the third value of the first intention does not conflict with the second value of the second intention, both the first intention and the second intention can be executed by the system, thereby improving the flexibility in handling intention conflicts.

[0009] Combined with the first aspect, in some implementation manners of the first aspect, the method further includes: the first network element obtains second information, where the second information is used to indicate the second value range of the second intention target, and the priority of the first intention is lower than or equal to the priority of the second intention.

[0010] It should be noted that the first network element obtains the second value range of the second intention target, which can be understood as the second value of the second intention being allowed to be modified.

[0011] Thus, in the present application, when both the first intention target and the second intention target support modification, the first network element can determine whether to modify the first value of the first intention target or the second value of the second intention target according to the priorities of the first intention and the second intention, thereby further improving the flexibility in handling intention conflicts.

[0012] Combined with the first aspect, in some implementation manners of the first aspect, the method further includes: the first network element determines that the second value of the second intention target is not allowed to be modified.

[0013] Thus, in the present application, the first network element can determine whether the second value of the second intention target is allowed to be modified, and then determine whether to modify the first value of the first intention target. If the second value of the second intention target is not allowed to be modified, the first value is modified. If the second value of the second intention target is allowed to be modified, it can be determined whether to modify the first value of the first intention target or the second value of the second intention target according to the priorities of the first intention and the second intention, thereby further improving the flexibility in handling intention conflicts.

[0014] Combined with the first aspect, in some implementation manners of the first aspect, the method includes: the first network element releases the resources of the second intention, and the priority of the first intention is higher than the priority of the second intention.

[0015] Thus, in the present application, when the priority of the first intention is higher than the priority of the second intention, the first network element can release the resources of the second intention, thereby avoiding unnecessary resource waste.

[0016] In combination with the first aspect, in some implementations of the first aspect, the first network element obtains third information, and the third information is used to indicate that the first value is allowed to be modified to the third value.

[0017] Thus, in the present application, the first network element can determine whether the first value is allowed to be modified according to the third information. Thus, when the first value conflicts with the second value, the first network element can choose to modify the first value, or determine the third value of the first intention target, thereby improving the flexibility of processing intention conflicts.

[0018] In combination with the first aspect, in some implementations of the first aspect, the first network element obtains first information, including: the first network element receives the first information from a second network element, or the first network element determines the first information.

[0019] Thus, in the present application, the first network element can determine the first information by itself, that is, the first value range of the first intention target, or obtain the first value range from the second network element, thereby further improving the flexibility of processing intention conflicts.

[0020] In combination with the first aspect, in some implementations of the first aspect, the conflict between the first value and the second value of the second intention target includes: the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, or the first value is mutually exclusive with the second value.

[0021] Thus, in the present application, the conflict between the first value and the second value can be either that the first value and the second value are mutually exclusive during the intention translation process, or that the first operation and the second operation conflict during the intention execution process. Thus, the technical solution provided by the present application can be applied to various scenarios of intention conflicts.

[0022] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first network element sends fourth information to the second network element, and the fourth information is used to request to obtain the second intention target, and the second intention is an intention in an active state; the first network element receives fifth information from the second network element, and the fifth information is used to indicate the second intention target.

[0023] Thus, in the present application, the second intention can be an intention in an active state, and the first network element can determine whether the first value of the first intention target conflicts with the target value of the intention in an active state, thereby improving the reliability of processing intention conflicts.

[0024] In combination with the first aspect, in some implementations of the first aspect, when the first network element determines the first information, the method further includes: the first network element sending the first information to the second network element; the first network element receiving sixth information from the second network element, where the sixth information is used to indicate that the second network element accepts the first value range indicated by the first information.

[0025] Thus, in this application, if the first network element determines the first information, that is, the value range of the first intended target, the first network element can send the first information to the second network element, so that the second network element can determine whether it can accept the first value range according to the user's needs. If the second network element can accept the first value range, the first network element can determine the third value according to the first value range, thus ensuring that the user's needs are met.

[0026] In combination with the first aspect, in some implementations of the first aspect, the first network element determines a third value of the first intended target according to the first information, and the third value belongs to the first value range, including: the first network element determining the maximum or minimum value of the target values that do not conflict with the second value in the first value range as the third value.

[0027] Thus, in this application, the first value range may include multiple target values that do not conflict with the second value. The first network element can select the maximum or minimum value as the third value of the first intended target, improving the performance of the system in executing the first intention.

[0028] In a second aspect, a method for processing an intention is provided. The method can be executed by a second network element or a chip in the second network element. The method includes: the second network element sending first information to the first network element, where the first information is used to indicate a first value range of a first intended target, and the first information is further used to determine a third value of the first intended target, the third value belongs to the first value range, and the third value does not conflict with a second value of a second intended target. The first intended target is used to indicate a target value that the first intention expects to achieve, and the second intended target is used to indicate a target value that the second intention expects to achieve; the second network element sending third information to the first network element, where the third information is used to indicate that the first value of the first intended target is allowed to be modified to the third value, and the first value conflicts with the second value.

[0029] Thus, in this application, when the first value of the first intention conflicts with the second value of the second intention, the third value of the first intention can be re-determined according to the value range of the first intended target, rather than directly suspending the execution of the first intention. Since the third value of the first intention does not conflict with the second value of the second intention, both the first intention and the second intention can be executed by the system, thereby improving the flexibility in handling intention conflicts.

[0030] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the second network element sends second information to the first network element, where the second information is used to indicate a second value range of the second intended target, and the priority of the first intention is lower than or equal to the priority of the second intention.

[0031] In a third aspect, a method for processing intentions is provided. The method can be executed by a second network element or a chip in the second network element. The method includes: the second network element receives first information from the first network element, where the first information is used to indicate a first value range of a first intended target, and the first information is further used to determine a third value of the first intended target, the third value belongs to the first value range, and the third value does not conflict with a second value of a second intended target of a second intention. The first intended target is used to indicate a target value that the first intention expects to achieve, and the second intended target is used to indicate a target value that the second intention expects to achieve; the second network element determines to accept the first value range indicated by the first information.

[0032] Thus, in the present application, when the first value of the first intention conflicts with the second value of the second intention, the third value of the first intention can be re-determined according to the value range of the first intended target, rather than directly suspending the execution of the first intention. Since the third value of the first intention does not conflict with the second value of the second intention, both the first intention and the second intention can be executed by the system, thereby improving the flexibility in processing intention conflicts.

[0033] In combination with the third aspect, in some implementations of the third aspect, the method further includes: the second network element sends sixth information to the first network element, where the sixth information is used to indicate that the second network element accepts the first value range indicated by the first information.

[0034] In combination with the third aspect, in some implementations of the third aspect, the method further includes: the second network element sends second information to the first network element, where the second information is used to indicate a second value range of the second intended target, and the priority of the first intention is lower than or equal to the priority of the second intention.

[0035] In combination with the third aspect, in some implementations of the third aspect, the method further includes: the second network element sends third information to the first network element, where the third information is used to indicate that the first value of the first intended target is allowed to be modified to the third value, and the first value conflicts with the second value.

[0036] Fourthly, a device for processing intentions is provided. The device includes a processing unit and a transceiver unit. The transceiver unit is configured to obtain a first value of a first intention target, where the first value conflicts with a second value of a second intention target. The first intention target is used to indicate a target value that the first intention expects to achieve, and the second intention target is used to indicate a target value that the second intention expects to achieve. The processing unit is configured to obtain first information, where the first information is used to indicate a first value range of the first intention target. The processing unit is further configured to determine a third value of the first intention target according to the first information, where the third value belongs to the first value range and does not conflict with the second value.

[0037] Thus, in this application, when the first value of the first intention conflicts with the second value of the second intention, the third value of the first intention can be re-determined according to the value range of the first intention target, rather than directly suspending the execution of the first intention. Since the third value of the first intention does not conflict with the second value of the second intention, both the first intention and the second intention can be executed by the system, thereby improving the flexibility in processing intention conflicts.

[0038] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the transceiver unit is further configured to obtain second information, where the second information is used to indicate a second value range of the second intention target, and the priority of the first intention is lower than or equal to the priority of the second intention.

[0039] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the processing unit is further configured to determine that the second value of the second intention target is not allowed to be modified.

[0040] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the processing unit is further configured to release the resources of the second intention, where the priority of the first intention is higher than the priority of the second intention.

[0041] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the transceiver unit is further configured to obtain third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.

[0042] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the transceiver unit is specifically configured to receive the first information from a second network element, or the processing unit is specifically configured to determine the first information.

[0043] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the conflict between the first value and the second value of the second intention target includes: the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, or the first value is mutually exclusive with the second value.

[0044] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is further configured to send fourth information for requesting to obtain the second intent target, where the second intent is an active intent. The transceiver unit is further configured to receive fifth information for indicating the second intent target.

[0045] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is further configured to send the first information to the second network element, and the transceiver unit is further configured to receive sixth information from the second network element, where the sixth information is used to indicate that the second network element accepts the first value range indicated by the first information.

[0046] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing unit is specifically configured to determine the maximum or minimum value of the target values in the first value range that do not conflict with the second value as the third value.

[0047] In a fifth aspect, a device for processing intents is provided. The device includes a transceiver unit configured to send first information for indicating a first value range of a first intent target. The first information is further used to determine a third value of the first intent target, where the third value belongs to the first value range and does not conflict with a second value of a second intent target. The first intent target is used to indicate a target value that the first intent expects to achieve, and the second intent target is used to indicate a target value that the second intent expects to achieve. The transceiver unit is further configured to send third information to the first network element, where the third information is used to indicate that the first value of the first intent target is allowed to be modified to the third value, and the first value conflicts with the second value.

[0048] Thus, in the present application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the first intent target, rather than directly suspending the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility in processing intent conflicts.

[0049] In combination with the fifth aspect, in certain implementations of the fifth aspect, the transceiver unit is further configured to send second information to the first network element, where the second information is used to indicate a second value range of the second intent target, and the priority of the first intent is lower than or equal to the priority of the second intent.

[0050] Sixth aspect, a device for processing intents is provided. The device includes a transceiver unit configured to receive a first piece of information, where the first piece of information is used to indicate a first value range of a first intent target, and the first piece of information is further used to determine a third value of the first intent target, the third value belonging to the first value range and not conflicting with a second value of a second intent target. The first intent target is used to indicate a target value that the first intent expects to achieve, and the second intent target is used to indicate a target value that the second intent expects to achieve. The processing unit is configured to determine to accept the first value range indicated by the first piece of information.

[0051] Thus, in the present application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the first intent target instead of directly suspending the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility in processing intent conflicts.

[0052] In combination with the sixth aspect, in some implementation manners of the sixth aspect, the transceiver unit is further configured to send a sixth piece of information to the first network element, where the sixth piece of information is used to indicate that the second network element accepts the first value range indicated by the first piece of information.

[0053] In combination with the sixth aspect, in some implementation manners of the sixth aspect, the transceiver unit is further configured to send a second piece of information to the first network element, where the second piece of information is used to indicate a second value range of the second intent target, and the priority of the first intent is lower than or equal to the priority of the second intent.

[0054] In combination with the sixth aspect, in some implementation manners of the sixth aspect, the transceiver unit is further configured to send a third piece of information to the first network element, where the third piece of information is used to indicate that the first value of the first intent target is allowed to be modified to the third value, and the first value conflicts with the second value

[0055] Seventh aspect, a communication device is provided. The device may include a processing unit, a sending unit, and a receiving unit. Optionally, the sending unit and the receiving unit may also be a transceiver unit.

[0056] When the device is the first network element, the processing unit may be a processor, and the sending unit and the receiving unit may be transceivers; the device may further include a storage unit, and the storage unit may be a memory; the storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit so that the first network element executes any of the methods in the first aspect to the third aspect. When the device is a chip within the first network element, the processing unit may be a processor, and the sending unit and the receiving unit may be input / output interfaces, pins, circuits, etc.; the processing unit executes the instructions stored in the storage unit so that the chip executes the methods in the first aspect to the third aspect. The storage unit is used to store instructions, and the storage unit may be a storage unit within the chip (for example, registers, caches, etc.), or may be a storage unit outside the chip within the first network element (for example, read-only memory, random access memory, etc.).

[0057] In an eighth aspect, a communication device is provided, including a processor and an interface circuit. 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. The processor is used to implement any of the methods in the foregoing first aspect to the third aspect through logic circuits or by executing code instructions.

[0058] In a ninth aspect, a computer-readable storage medium is provided. A computer program or instructions are stored in the computer-readable storage medium. When the computer program or instructions are executed, any of the methods in the foregoing first aspect to the third aspect is implemented.

[0059] In a tenth aspect, a computer program product containing instructions is provided. When the instructions are run, any of the methods in the foregoing first aspect to the third aspect is implemented.

[0060] In an eleventh aspect, a computer program is provided. The computer program includes code or instructions. When the code or instructions are run, the method in any possible implementation manner in the foregoing first aspect to the third aspect is implemented.

[0061] In a twelfth aspect, a chip system is provided. The chip system includes a processor and may further include a memory, and is used to implement at least one of the methods described in the foregoing first aspect to the third aspect. The chip system may be composed of chips or may include chips and other discrete devices.

[0062] In a thirteenth aspect, a communication system is provided. The system includes any of the devices in the fourth aspect to the sixth aspect (such as the first network element and the second network element).

[0063] In some implementation manners, the first network element may be an intent translation network element, and the second network element may be an intent management network element.

[0064] In some implementations, the first network element may be an intent execution network element, and the second network element may be an intent management network element.

[0065] In some implementations, the first network element may be an intent execution network element, and the second network element may be an intent translation network element.

[0066] In some implementations, the first network element may be a service provider, or an intent provider, and the second network element may be a service consumer, or an intent consumer. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 is a schematic diagram of a system for processing intents provided by an embodiment of the present application.

[0068] Figure 2 is a schematic flowchart of an example for processing intent conflicts provided by an embodiment of the present application.

[0069] Figure 3 is a schematic flowchart of an example for an intent translation network element to process intent conflicts provided by an embodiment of the present application.

[0070] Figure 4 is a schematic flowchart of an example for an intent execution network element to process intent conflicts provided by an embodiment of the present application.

[0071] Figure 5 is a schematic flowchart of another example for an intent translation network element to process intent conflicts provided by an embodiment of the present application.

[0072] Figure 6 is a schematic flowchart of another example for an intent execution network element to process intent conflicts provided by an embodiment of the present application.

[0073] Figure 7 and Figure 8 are schematic diagrams of the structures of possible communication devices provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0074] The technical solutions in the present application will be described below with reference to the accompanying drawings.

[0075] The technical solution of this application can be applied to various network function virtualization (NFV) systems. These systems can describe the current business and technology solutions, network construction solutions, and network operation and maintenance methods of operators in standard formal languages as patterns and policies, and implement the technology and construction solutions based on these patterns and policies. For example, the technical solution of this application can be applied to one or more of the following systems: wireless intent driven network (wIDN) system, experiential networked intelligence (ENI) system, intent driven management service (IDMS) system, or open network automation platform (ONAP) system, etc.

[0076] For clarity, some terms in the embodiments of this application are explained below.

[0077] Intent: It refers to the expectation for the acting system. An intent may include one or more of the following: requirements, intent goals, and constraints.

[0078] Intent instance: An object after instantiating an intent. For example, in this application, an intent can be replaced by an intent instance.

[0079] Intent expression: An expression used to carry an intent. The expression includes one or more of the following: intent action name, intent action attribute, intent object name, or intent object attribute. An intent expression has specific syntax and semantics.

[0080] Intent goal: Used to indicate the target value that an intent needs to achieve.

[0081] Intent translation: The process of converting an intent into an intent executable command, rule, or sub-intent.

[0082] Intent execution: Issuing intent executable commands, sub-intents, and rules, and adjusting intent executable commands, sub-intents, and rules according to the network environment and the achievement of the intent.

[0083] Intent executable command: A series of instructions formed after operations such as translation decision-making of an intent.

[0084] Intention pattern: Specifies the syntax and semantics of intention expressions. The intention pattern may include one or more of the following: fields, value ranges of fields, types of fields, and hierarchical relationships between fields. For example, fields can be used to describe the type, name, or consumer of the intention pattern.

[0085] Intention state: The intention state includes an active state, a conflict state, a deactivated state, or a sleep state, etc. Among them, when the intention is in the active state, it can be understood that the intention is being executed; when the intention is in the conflict state, it can be understood that the intention conflicts with the intentions in the system; when the intention is in the deactivated state, it can be understood that the intention is not executed; when the intention is in the sleep state, it can be understood that the intention target is temporarily stopped from being executed because it has not been achieved for a long time.

[0086] Intention creation: Create a new intention in the intention system and create the corresponding intention context.

[0087] Intention knowledge: Intention knowledge is the relevant parameters of the intention pattern stored in the intention knowledge base. For example, the above relevant parameters may include one or more of the following: executable operations corresponding to the intention, intention acting entity identifiers, or intention acting entity types.

[0088] Intention operation: The executable operation corresponding to the intention target.

[0089] Intention conflict: When two intentions cannot be achieved simultaneously due to mutual exclusion in intention expressions, execution operations, or semantics, it is said that these two intentions conflict. Optionally, the intention conflict may refer to the conflict between the intention that needs to be created and the intention in the active state in the system.

[0090] To facilitate the understanding of the embodiments of the present application, first, in combination with Figure 1 detail the intention system applicable to the method provided by the embodiments of the present application. Figure 1 The schematic diagram of the system 100 for processing intentions applicable to the method provided by the embodiments of the present application is shown. As Figure 1 shown, the system 100 includes an intention consumer network element 110 and an intention provider network element 120. Among them, the intention provider network element may include an intention management network element 121, an intention translation network element 122, and an intention execution network element 123.

[0091] The intended consumption network element 110, which can also be referred to as the intended consumer, is the main body of intention consumption. For example, the intended consumption network element 110 can be an operations support systems (OSS), a business support systems (BSS), an application (APP), or other user equipment. For the IDMS system, the intended consumption network element 110 can be a service consumer or a management service (MnS) network element, such as a network management system (NMS). The intended consumption network element 110 can communicate with the intended provision network element 120. For example, the intended consumption network element 110 can send a request to create or implement an intention to the intended provision network element 120.

[0092] The intention management network element 121 can be used for the management of intention patterns. It can receive request information from the intended consumption network element 110 and process the request information. The intention management network element 121 can include an intention pattern library for storing intention patterns. The intention management network element 121 can also include an intention instance library. The intention management network element 121 can obtain the status information of the intention pattern, the intention target, and the operations corresponding to the intention through the intention instance library.

[0093] The intention translation network element 122 can receive translation request information from the intention management network element 121 and implement the intention translation function. The intention translation network element 122 can also obtain the intention pattern from the intention management network element 121 and check the syntax and semantics of the information provided by the intended consumption network element 110.

[0094] The intention execution network element 123 can receive commands from the intention management network element 122 and the intention translation network element 121 and implement the relevant operations of the intention.

[0095] It should be noted that different systems for processing intentions can also include other network elements with corresponding functions.

[0096] For example, for the wIDN system, the system can also include an intention knowledge management network element and an intention knowledge base. Among them, the intention management network element is used to manage intention knowledge, and the intention knowledge base is used to store intention knowledge. The intention management network element can also include an intention pattern library and an intention instance library. The intention pattern library is used to store intention patterns, and the intention instance library is used to store intentions.

[0097] For the ENI system, the ENI system may further include one or more of the following: an input functional network element, an output functional network element, an analysis functional network element, and a decision-making functional network element. Among them, the input functional network element may include a data collection network element and a normalization network element, which are used to receive data from an external system and perform operations such as data normalization. The output functional network element may include an output network element and a denormalization network element, which are used to convert internal system commands into a format that can be processed by an external system and send them to the external system. The analysis functional network element can be used to sense and analyze the existing network state and predict the future network state. For example, the analysis functional network element may include a knowledge management network element, a context awareness network element, and a cognitive management network element. Among them, the knowledge management network element can manage intention knowledge, the context awareness network element can sense and analyze the existing network state, and the cognitive management network element can perform management analysis. The above-mentioned intention management network element and intention translation network element may be sub-network elements in the analysis functional network element. The decision-making functional network element is used to generate new operation commands based on the perceived network state, orchestrate the operation commands, and send the operation commands to the output network element. The decision-making functional network element may include a policy management network element, a situation awareness network element, and a drive management network element. Among them, the policy management network element is used to manage intention policies, the situation awareness network element is used to sense and analyze the network state, and the drive management network element is used to perform drive management of intentions.

[0098] For the IDMS system, the intention consumption network element may be a network management system (NMS), and the intention providing network element may be an element management system (EMS). The intention management network element, the intention translation network element, and the intention execution network element may be sub-modules of the intention providing network element.

[0099] It should be noted that the solution of this application can be applied to other systems containing corresponding network elements, and this application does not make any limitations.

[0100] Currently, in processing the intentions of a system, when an intention consumer sends a request to create an intention to an intention providing network element, if the intention conflicts with an intention in the active state in the system, the system will compete according to the priorities of the two intentions. That is to say, the system will determine the intention with the lower priority according to a certain mechanism and suspend the intention with the lower priority. The number of intentions that can be supported simultaneously in the system is small.

[0101] This application proposes a method for intentions, which can improve the flexibility of handling intention conflicts.

[0102] Figure 2 Fig. shows a schematic flowchart of an example of the intention processing method 100 provided by this application.

[0103] S101, a first network element obtains a first value of a first intention target.

[0104] The first value conflicts with a second value of a second intention target. The first intention target is used to indicate a target value that the first intention expects to achieve, and the second intention target is used to indicate a target value that the second intention expects to achieve.

[0105] For example, the first network element may be an intention translation network element or an intention execution network element.

[0106] When the first network element is an intention translation network element, the first network element may obtain the first value of the first intention target from an intention management network element; when the first network element is an intention execution network element, the first network element may obtain the first value of the first intention target from the intention translation network element.

[0107] In a possible implementation, the conflict between the first value and the second value of the second intention target includes: the first value and the second value are mutually exclusive, or the first operation corresponding to the first value conflicts with the second operation corresponding to the second value.

[0108] Among them, the first value and the second value being mutually exclusive can be understood as: the intersection of the first value and the second value is empty. Or, the first value and the second value being mutually exclusive can be understood as: the first value and the second value are different, and the first intention target corresponding to the first value and the second intention target corresponding to the second value cannot coexist.

[0109] For example, the first intention target corresponding to the first value is "ensuring that the average throughput rate of the UE in base station 1 is not higher than 8 Mbps", and the second intention target corresponding to the second value is "ensuring that the average throughput rate of the terminal device in the base station is higher than 10 Mbps". At this time, the first value and the second value are mutually exclusive.

[0110] The first operation corresponding to the first value conflicts with the second operation corresponding to the second value. Among them, the first operation corresponding to the first value can be understood as: the operation that needs to be executed to reach the first value, and the second operation corresponding to the second value can be understood as: the operation that needs to be executed to reach the second value. Conflict can be understood as: the first operation and the second operation cannot all be executed, and the first value and the second value cannot be achieved simultaneously. For example, assume that the first intention target corresponding to the first value is "ensuring that the average throughput rate of the UE in base station 1 is not higher than 8 Mbps", and there are 3 first operations corresponding to the first value, which are respectively:

[0111] A. Adjust the tilt angle of the base station to 30 degrees.

[0112] B. Turn off the algorithm switch of base station energy saving.

[0113] C. Adjust the weight value of the air interface scheduling algorithm to 0.8.

[0114] Assume that the second intended target corresponding to the second value is "reduce the base station energy consumption by 30%", and there are two second operations corresponding to the second value, which are respectively:

[0115] a. Adjust the tilt angle of the base station to 60 degrees.

[0116] b. Turn on the algorithm switch for base station energy saving.

[0117] It can be seen that operation A and operation a cannot be executed together, and operation B and operation b cannot be executed together. Assume that operation C, operation a, and operation b are executed respectively, and the execution results are "the average throughput rate of the UEs in base station 1 is 8.5 Mbps" and "reduce the base station energy consumption by 30%". This result cannot reach the first value of the first intended target. At this time, it can be understood that the first operation corresponding to the first value and the second operation corresponding to the second value conflict.

[0118] For example, the conflict between the first operation corresponding to the first value and the second operation corresponding to the second value can also be understood as: there is at least one operation that cannot be executed together among the operations corresponding to the first value and the operations corresponding to the second value. After executing the operations that can be executed among the operations corresponding to the first value, the first value of the first intended target cannot be satisfied.

[0119] In a possible implementation manner, the first intention may be an intention to be created, and the second intention is an intention in the active state in the system, or the first intention is an intention in the active state in the system, and the second intention is an intention to be created.

[0120] As an example rather than a limitation, this application takes the second intention as an intention in the active state in the system for illustration.

[0121] S102, the first network element obtains first information, and the first information is used to indicate the first value range of the first intended target.

[0122] For example, the first value range may be a set or a value. The set may be a set composed of multiple discrete values, or a set composed of one or more continuous value segments.

[0123] The first network element can obtain the first information in any one of the following three ways:

[0124] Way #1

[0125] The first network element receives the first information from the second network element. Correspondingly, the second network element sends the first information to the first network element.

[0126] For example, when the first network element is an intention translation network element, the second network element may be an intention management network element; when the first network element is an intention execution network element, the second network element may be an intention translation network element or an intention management network element.

[0127] It should be noted that the second network element may simultaneously send the first value of the first target of the first intention and the first information to the first network element. The second network element may also split the first information and the first value into two messages and send them to the first network element. The second network element may also only send the first information to the first network element, and the first network element may obtain the first value from the first value range in the first information according to a preset rule.

[0128] In a possible implementation, the first information may be obtained by the second network element from the intention consumer, that is, the first information may be determined by the intention consumer. For example, when the second network element is an intention management network element, the intention management network element may obtain the first information from a create or execute intention request sent by the intention consumer. When the second network element is an intention translation network element, the intention translation network element may also obtain the first information determined by the intention consumer through the intention management network element.

[0129] Method #2

[0130] The first network element determines the third value range of the first intention target.

[0131] The third value range may be understood as the value range of the first intention target that the first network element can accept.

[0132] It should be noted that the third value range may be a set or a value. The set may be a set composed of multiple discrete values or a set composed of one or more continuous value segments.

[0133] For example, the first network element determines the third value range according to the second intention target or the running state of the current system.

[0134] For another example, when performing an operation that can be performed, such as an operation that does not conflict with the second operation and cannot satisfy the first value of the first intention target, the first network element may determine the third value range of the first intention target according to the achievable target value.

[0135] The first network element sends the seventh information to the second network element. Correspondingly, the second network element receives the seventh information from the first network element.

[0136] The seventh information is used to indicate the third value range.

[0137] The second network element determines the first information according to the seventh information. The first information is used to indicate the first value range.

[0138] The first network element receives the first information from the second network element. Correspondingly, the second network element sends the first information to the first network element.

[0139] Among them, the second network element determines the first information according to the seventh information. In a possible implementation manner, the second network element sends indication information for indicating a third value range to an intended consumer. The intended consumer determines whether it can accept the third value range. If the intended consumer accepts the third value range, the intended consumer sends information for indicating acceptance of the third value range to the second network element, and the second network element may determine the third value range as the first value range; if the intended consumer does not accept the third value range, the intended consumer sends information for indicating the first value range to the second network element, so that the second network element obtains the first information for indicating the first value range.

[0140] That is to say, for the first network element to obtain the first value range, it can negotiate with the second network element, or rather, through the second network element to negotiate with the intended consumer. The first network element first gives the second network element a proposed value range, and the second network element feeds back a value range or value that the intended consumer can accept to the first network element according to the proposed value range. If the first network element accepts the value range or value fed back by the intended consumer, the first network element obtains the first information.

[0141] It should be noted that the above is only an example of one negotiation. In this application, if the second network element does not accept the value range fed back by the intended consumer, it can re-determine the third value range and send it to the second network element, repeating the above negotiation process until the first network element obtains the first value range that is commonly accepted, or until the pre-specified number of negotiation times is reached.

[0142] Method #3

[0143] The first network element determines the first information.

[0144] In a possible implementation manner, the first network element determines the first information. The first network element may determine the first value range of the first intended target according to the preset conditions of the system, or the first network element may determine the value range of the first intended target according to the current operating conditions, load or goals to be achieved by the system, that is, the first information. This application does not make special limitations on this.

[0145] In another possible implementation manner, the first network element determines the first information. When performing an operation that can be performed, such as an operation that does not conflict with the second operation and cannot meet the first value of the first intended target, the first network element may determine the first value range of the first intended target according to the target value that can be achieved, that is, the first information.

[0146] In a possible implementation manner, when the first network element obtains the first information by using Method #3, that is, when the first network element determines the first information, the first network element sends the first information to the second network element. Correspondingly, the second network element receives the first information from the first network element.

[0147] The second network element determines whether to accept the first value range indicated by the first information.

[0148] For example, the second network element may send information indicating the first value range to the intended consumer according to the first information. The intended consumer determines whether it can accept the first value range. If the intended consumer can accept the first value range, the intended consumer feeds back information indicating that it can accept the first value range to the second network element.

[0149] When the second network element accepts the first value range indicated by the first information, the second network element sends the sixth information to the first network element. Correspondingly, the first network element receives the sixth information from the second network element.

[0150] The sixth information is used to indicate that the second network element accepts the first value range indicated by the first information.

[0151] When the second network element does not accept the first value range indicated by the first information, the second network element may send information indicating that it rejects the first value range indicated by the first information to the first network element, so that the first network element can re-determine a first value range and re-send the first value range to the second network element, or the first network element may suspend the execution of the first intention.

[0152] In a possible implementation, the first network element determines whether the second value of the second intention target is allowed to be modified.

[0153] In a possible implementation, the first network element may determine whether the second intention is allowed to be modified according to a displayed information.

[0154] For example, the first network element obtains the second information.

[0155] The second information is used to indicate the second value range of the second intention target.

[0156] It should be noted that the first network element obtains the second information, which can also be understood that the second intention target of the second intention is allowed to be modified, that is, the second information can also indicate that the second value of the second intention is allowed to be modified.

[0157] The manner in which the first network element obtains the second information is similar to the manner in which the first network element obtains the first information. For the sake of simplicity, it will not be elaborated here.

[0158] In another possible implementation, if the first network element does not obtain information that can indicate that the second intention is allowed to be modified, the first network element may default that the second intention is not allowed to be modified.

[0159] That is to say, when there is a conflict between the first value and the second value, the first network element can determine whether the second value of the second intention target is allowed to be modified. When the second value is not allowed to be modified, the first network element can execute step S103. When the second value of the second intention target is allowed to be modified and there is a conflict between the first value and the second value, the system can either choose to modify the first value or choose to modify the second value. Herein, modifying the first value or modifying the second value can also be understood as the first network element re-determining a target value for the first intention target or the second intention target.

[0160] That is to say, the confirmation result of whether the first network element determines that the second value of the second intention target is allowed to be modified includes the following two cases:

[0161] Case 1:

[0162] When the first network element determines that the second value is not allowed to be modified, in a possible implementation manner, the first network element determines whether to suspend the second intention according to the priority of the first intention and the priority of the second intention.

[0163] When the priority of the first intention is higher than or equal to the priority of the second intention, the first network element determines to suspend the second intention.

[0164] In a possible implementation manner, the first network element releases the resources of the second intention and stops executing the second intention.

[0165] It should be noted that in this application, it is exemplified that the second value of the second intention is not modifiable and the priority of the second intention is lower than the priority of the first intention, and the operation of suspending the first intention is similar when the first value of the first intention is not modifiable and the priority of the first intention is lower than the priority of the second intention. For simplicity, it will not be elaborated here.

[0166] Case 2:

[0167] When the first network element determines that the second value is allowed to be modified, in a possible implementation manner, the first network element determines whether the priority of the first intention is lower than or equal to the priority of the second intention.

[0168] Thus, the first network element can determine whether to modify the first value or modify the second value according to the priority of the first intention and the priority of the second intention.

[0169] The confirmation result of whether the first network element determines that the priority of the first intention is lower than or equal to the priority of the second intention includes the following two cases:

[0170] Case a: If the priority of the first intention is lower than or equal to the priority of the second intention, the first network element executes step S103.

[0171] S103, the first network element determines a third value of the first intended target according to the first information.

[0172] This third value belongs to the first value range, and this third value does not conflict with the second value.

[0173] In a possible implementation, the first network element determines the maximum or minimum value among the target values in the first value range that do not conflict with the second value as this third value.

[0174] In another possible implementation, the first network element determines the target values in the first value range that do not conflict with the second value, and determines this third value among the non-conflicting target values according to a preset rule or system information. For example, the system information includes the precision of the bandwidth or the bearer size, etc. in the system.

[0175] For example, the second intended target corresponding to the second value is "ensuring that the average throughput rate of the UE in base station 1 is not higher than 8 Mbps", and the first intended target corresponding to the first value is "ensuring that the average throughput rate of the UE in base station 1 is higher than 10 Mbps". Assuming that it is determined to modify the first intention, the first value range of the first intended target indicated by the first information is [5, 10].

[0176] If the system recognizes that the precision of the bandwidth is 1 Mbps, the first network element may determine the third value to be 7 Mbps, that is, the first intended target corresponding to the third value is "ensuring that the average throughput rate of the UE in base station 1 is higher than 7 Mbps".

[0177] If the system recognizes that the precision of the bandwidth is 0.1 Mbps, the first network element may determine the third value to be 7.9 Mbps, that is, the first intended target corresponding to the third value is "ensuring that the average throughput rate of the UE in base station 1 is higher than 7.9 Mbps".

[0178] Case b: If the priority of the first intention is higher than the priority of the second intention, the first network element may determine a fourth value of the second intended target, and the fourth value does not conflict with the first value.

[0179] Optionally, the first network element may also obtain the value range of the second intended target. The manner in which the first network element obtains the value range of the second intended target may be similar to the manner of obtaining the first information, and will not be elaborated here.

[0180] Optionally, the first network element may also determine this fourth value according to the value range of the second intended target. The manner in which the first network element determines this fourth value according to the value range of the second intended target may be similar to the manner of determining the third value according to the first information. For simplicity, it will not be elaborated here.

[0181] In a possible implementation, after the first network element determines the third value of the first intent target, the first network element may further send at least one of the following information to the second network element: the identifier of the first intent, the status information of the first intent, and the third value. For example, the first network element may send at least one of the above information to the second network element through an update message. Wherein, the status information of the first intent is used to indicate that the status of the first intent is the active state.

[0182] In another possible implementation, after the first network element determines the fourth value of the second intent target, the first network element may further send at least one of the following information to the second network element: the identifier of the second intent, the status information of the second intent, and the fourth value. For example, the first network element may send at least one of the above information to the second network element through an update message. Wherein, the status information of the second intent is used to indicate that the status of the second intent is the active state.

[0183] It should be noted that if neither the first intent nor the second intent is allowed to be modified, or although the first intent and / or the second intent is allowed to be modified, but the non-conflicting target value cannot be determined according to the modification range of the target value, the first network element may perform preemption according to the priority of the first intent and the priority of the second intent. For example, if the priority of the first intent is lower, the execution of the first intent is suspended. If the priority of the second intent is lower, the execution of the second intent is suspended. At this time, the first network element may also send update information to the second network element, and the update information includes the identifier of the intent whose execution is suspended and the status information used to indicate the suspended execution, for example, indicating that the status of the intent whose execution is suspended is the conflicting state.

[0184] According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the first intent target, rather than directly suspending the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility of handling intent conflicts.

[0185] In the method 100 proposed in this embodiment, optionally, the following operations may further be included:

[0186] S104, the first network element obtains third information, and the third information is used to indicate that the first value is allowed to be modified to the third value.

[0187] For example, when the first network element is an intent translation network element, the first network element may obtain the third information from the intent management network element; when the first network element is an intent execution network element, the first network element may obtain the third information from the intent translation network element.

[0188] It should be noted that the first value of the first intent target and the third information can be sent through the same message or through different messages.

[0189] Through step S104, the first network element can determine whether the first value of the first intent target is allowed to be modified according to the third information.

[0190] S105. The first network element sends the fourth information to the second network element. Correspondingly, the second network element receives the fourth information from the first network element.

[0191] The fourth information is used to request to obtain the second intent target, and the second intent is an intent in the active state.

[0192] The second network element can be an intent management network element.

[0193] For example, the first network element can send the fourth message to the second network element through an intent query request message. Or, the fourth information can be an intent query request message.

[0194] In a possible implementation, when the first network element is an intent translation network element, the fourth information can be used to request to obtain the second value of the second intent target, so that the first network element can determine whether the first value of the first intent target and the second value of the second intent target are mutually exclusive.

[0195] In another possible implementation, when the first network element is an intent execution network element, the fourth information can be used to request to obtain the second operation corresponding to the second value, so that the first network element can determine whether the first operation corresponding to the first value and the second operation corresponding to the second value conflict.

[0196] It should be noted that in this application, the number of second intents may be one or more, that is, there may be one or more second intents in the system that conflict with the first value of the first intent target.

[0197] S106. The first network element receives the fifth information from the second network element. Correspondingly, the second network element sends the fifth information to the first network element.

[0198] The fifth information is used to indicate the second intent target.

[0199] That is to say, the second network element can send the second intent target of the second intent to the first network element according to the fourth information, that is, the second value of the second intent target or the second operation corresponding to the second value.

[0200] Through step S105 and step S106, the first network element can obtain the second intent target, so that the first network element can determine whether the first value of the first intent target conflicts with the target value of the intent in the active state, which can improve the reliability of handling intent conflicts.

[0201] Figure 3 Fig. 200 shows a schematic flowchart of a method for an intent translation network element to process intent conflicts.

[0202] S201. An intent translation network element (an example in the first network element) receives a first value of a first intent target from an intent management network element (an example in the second network element). Correspondingly, the intent management network element sends the first value of the first intent target to the intent translation network element.

[0203] This first value conflicts with a second value of a second intent target. The first intent target is used to indicate the target value that the first intent expects to achieve, and the second intent target is used to indicate the target value that the second intent expects to achieve.

[0204] For example, the intent management network element sends the first value of the first intent target to the intent translation network element through an intent translation request message (translateIntent).

[0205] S202. The intent translation network element receives first information from the intent management network element. Correspondingly, the intent management network element sends the first information to the intent translation network element.

[0206] This first information is used to indicate the value range of the first intent target.

[0207] For example, the intent management network element can also send the first value of the first intent target to the intent translation network element through an intent translation request message (translateIntent).

[0208] It should be noted that the intent translation network element can determine that the first value of the first intent target is allowed to be modified according to the first information.

[0209] Optionally, in S203, the intent translation network element receives third information from the intent management network element. Correspondingly, the intent management network element sends the third information to the intent translation network element.

[0210] This third information is used to indicate that the first value is allowed to be modified.

[0211] For example, the intent management network element can also send the third information to the intent translation network element through an intent translation request message (translateIntent).

[0212] For example, the intent translation network element can determine whether the first value is allowed to be modified according to the third information.

[0213] Optionally, the intent management network element can obtain the first value, the first information, or the third information of the first intent target from an add intent request message (implementIntent request) sent by the intent consumer to indicate the creation of the first intent.

[0214] Optionally, the intent management network element sends an intent implementation response message (implementIntent) of the first intent to the intent consumer.

[0215] Optionally, the intent translation network element sends a query intent schema request message (retrieveIntentSchema) corresponding to the first intent to the intent management network element. Correspondingly, the intent management network element receives the query intent schema request message corresponding to the first intent from the intent translation network element.

[0216] For example, the query intent schema request message corresponding to the first intent can be used to request to obtain the intent schema of the first intent and / or the first operation corresponding to the first value of the first intent target.

[0217] Optionally, the intent translation network element receives the intent schema of the first intent and / or the first operation corresponding to the first value of the first intent target from the intent management network element.

[0218] Optionally, the intent translation network element can perform a syntax and semantics check on the first intent according to the intent schema of the first intent obtained from the intent management network element.

[0219] Optionally, in S204, the intent translation network element sends the fourth information to the intent management network element. Correspondingly, the intent management network element receives the fourth information from the intent translation network element.

[0220] The fourth information is used to request to obtain the second intent target, and the second intent is an intent in the active state.

[0221] For example, the intent translation network element can send the fourth information to the intent management network element through a query intent request message (queryIntent).

[0222] For example, the fourth information can be used to request to obtain the second value of the second intent target, that is, the current target value of the second intent target, and the second operation corresponding to the second value.

[0223] Optionally, in S205, the intent translation network element receives the fifth information from the intent management network element. Correspondingly, the intent management network element sends the fifth information to the intent translation network element.

[0224] The fifth information is used to indicate the second intent target.

[0225] For example, the intent management network element can send the fifth information to the intent translation network element through a query intent reply message.

[0226] Optionally, the query reply message may further include the identifier of the second intent.

[0227] For example, the intention management network element may return the relevant information of the requested second intention target to the intention translation network element according to the request of the fourth information.

[0228] S206, the intention translation network element determines whether the first value of the first intention target and the second value of the second intention target are mutually exclusive.

[0229] The description of the first value and the second value being mutually exclusive is similar to that described in method 100. For the sake of simplicity, it will not be elaborated here.

[0230] If the intention translation network element determines that the first value and the second value are not mutually exclusive, the first intention under the first value may be executed.

[0231] It should be noted that when the intention translation network element obtains the first information, it can determine that when the first value and the second value are mutually exclusive, the first value of the first intention target is allowed to be modified.

[0232] If the intention translation network element determines that the first value and the second value are mutually exclusive, the intention translation network element executes step S207.

[0233] S207, the intention translation network element determines whether the second value of the second intention target is allowed to be modified.

[0234] The description of the intention translation network element determining whether the second value of the second intention target is allowed to be modified is similar to that in method 100. For the sake of simplicity, it will not be elaborated here.

[0235] The confirmation result of step S207 may include the following two cases:

[0236] Case 1: If the intention translation network element determines that the second value of the second intention target is not allowed to be modified, the intention translation network element executes step S208.

[0237] S208, the intention translation network element determines the third value of the first intention target of the first intention according to the first information.

[0238] This third value belongs to the first value range, and the third value does not conflict with the first value.

[0239] The way for the intention translation network element to determine the third value of the first intention target of the first intention according to the first information is similar to that described in method 100. For the sake of simplicity, it will not be elaborated here.

[0240] Case 2: If the intention translation network element determines that the second value of the second intention target is allowed to be modified, the intention translation network element executes step S209.

[0241] S209, the intention translation network element determines whether the priority of the first intention is higher than or equal to the priority of the second intention.

[0242] The confirmation result of step S209 may include the following two cases:

[0243] Case a: If the intention translation network element determines that the priority of the first intention is higher than or equal to the priority of the second intention, the intention translation network element determines the fourth value of the second intention target of the second intention, and the fourth value does not conflict with the first value.

[0244] The way for the intention translation network element to determine the fourth value is similar to that described in Method 100. For simplicity, it will not be elaborated here.

[0245] Case b: If the intention translation network element determines that the priority of the first intention is lower than the priority of the second intention, the intention translation network element executes step S208, that is, the intention translation network element determines the third value of the first intention target of the first intention according to the first information.

[0246] The third value belongs to the first value range, and the third value does not conflict with the first value.

[0247] When the intention translation network element determines the third value of the first intention target according to the first information, that is, when the intention translation network element modifies the target value of the first intention target, the intention translation network element may send an intention context update message (intentContextUpdate) for updating the first intention to the intention management network element. Correspondingly, the intention management network element receives the intention context update message from the intention translation network element.

[0248] The intention context update message for updating the first intention may include at least one of the following information: the identifier of the first intention, the status information of the first intention, and the third value. Among them, the status information of the first intention is used to indicate that the status of the first intention is the active state.

[0249] When the intention translation network element determines the fourth value of the second intention target, that is, when the intention translation network element modifies the target value of the second intention target, the intention translation network element may send an intention context update message for updating the second intention to the intention management network element. Correspondingly, the intention management network element receives the intention context update message from the intention translation network element.

[0250] The intention context update message for updating the second intention may include at least one of the following information: the identifier of the second intention, the status information of the second intention, and the fourth value. Among them, the status information of the second intention is used to indicate that the status of the second intention is the active state.

[0251] It should be noted that for clarity, the above description takes the example that the first value of the first intention target is allowed to be modified. In this application, it may also include the scenario where the first intention is not allowed to be modified and the second intention is allowed to be modified. The implementation method is similar to the scenario where the first intention is allowed to be modified and the second intention is not allowed to be modified. For simplicity, it will not be elaborated here.

[0252] In addition, if neither the first intention nor the second intention is allowed to be modified, or although the first intention and / or the second intention are allowed to be modified, but a conflict-free target value cannot be determined according to the modification range of the target value, the intention translation network element can perform preemption based on the priority of the first intention and the priority of the second intention. The way of performing preemption is similar to the description in Method 100. For simplicity, it will not be elaborated here.

[0253] According to the solution proposed in this embodiment, when the first value of the first intention conflicts with the second value of the second intention, the third value of the first intention can be re-determined according to the value range of the first intention target, rather than directly suspending the execution of the first intention. Since the third value of the first intention does not conflict with the second value of the second intention, both the first intention and the second intention can be executed by the system, thereby improving the flexibility in handling intention conflicts.

[0254] Figure 4 Fig. 9 shows a schematic flowchart of a method 300 for an intention execution network element to handle intention conflicts.

[0255] S301. An intention execution network element (an example in the first network element) receives the first value of the first intention target from an intention translation network element (an example in the second network element).

[0256] The first value conflicts with the second value of the second intention target. The first intention target is used to indicate the target value that the first intention expects to achieve, and the second intention target is used to indicate the target value that the second intention expects to achieve.

[0257] For example, the intention translation network element can send the first value of the first intention target to the intention execution network element by executing an executeIntent message.

[0258] S302. The intention execution network element receives the first information from the intention translation network element. Correspondingly, the intention translation network element sends the first information to the intention execution network element.

[0259] The first information is used to indicate the value range of the first intention target.

[0260] For example, the intention translation network element can also send the first information to the intention execution network element by executing an executeIntent message.

[0261] It should be noted that the intention execution network element can determine that the first value of the first intention target is allowed to be modified according to the first information.

[0262] Optionally, in S303, the intention execution network element receives the third information from the intention translation network element. Correspondingly, the intention translation network element sends the third information to the intention execution network element.

[0263] This third piece of information is used to indicate that the first value is allowed to be modified.

[0264] For example, the intent translation network element may also send this third piece of information to the intent execution network element by executing an executeIntent message.

[0265] That is to say, the intent translation network element may also send the third piece of information indicating that the first value is allowed to be modified to the intent execution network element, so that the intent execution network element can also determine whether the first value is allowed to be modified according to the third piece of information.

[0266] Optionally, the intent translation network element sends the first operation corresponding to the intent pattern of the first intent and / or the first value of the first intent target, and the second operation corresponding to the intent pattern of the second intent and / or the second value of the second intent target to the intent execution network element.

[0267] Wherein, the manner in which the intent translation network element obtains the first operation corresponding to the intent pattern of the first intent and / or the first value of the first intent target, and the second operation corresponding to the intent pattern of the second intent and / or the second value of the second intent target may be similar to the manner of obtaining in method 200. For simplicity, it will not be elaborated here.

[0268] It should be noted that the intent translation network element may also obtain the relevant information of the first intent and the second intent from the intent management network element by itself. This application does not make special limitations on this.

[0269] S304, the intent execution network element determines whether the first operation corresponding to the first value of the first intent target of the first intent conflicts with the second operation corresponding to the second value of the second intent target of the second intent.

[0270] The description of the conflict between the first operation corresponding to the first value and the second operation corresponding to the second value is similar to that described in method 100. For simplicity, it will not be elaborated here.

[0271] If the intent execution network element determines that the first operation corresponding to the first value and the second operation corresponding to the second value do not conflict, it may execute the first intent under the first value.

[0272] It should be noted that when the intent execution network element detects whether the first operation and the second operation conflict, there may be no executable operations. That is to say, assuming that the operations corresponding to the first value of the first intent target of the first intent are operation A, operation B, and operation C, and the operations being executed by the second intent are operation a, operation b, and operation c, operation A and operation a cannot be executed together, operation B and operation b cannot be executed together, and operation C and operation c cannot be executed together. If it is predefined to give priority to the execution of the operations of the second intent, then there are no operations for the first intent to execute. Optionally, the intent execution network element directly suspends the execution of the first intent. Optionally, the intent execution network element can determine whether to suspend the execution of the first intent according to the priority of the first intent and the priority of the second intent. For example, if the priority of the first intent is lower than or equal to the priority of the second intent, the intent execution network element suspends the execution of the first intent. If the priority of the first intent is higher than the priority of the second intent, the intent execution network element suspends the execution of the second intent. When the intent execution network element suspends the execution of the first intent, it can also send an intent context update message (intentContextUpdate) of the first intent to the intent management network element, which is used to indicate the identifier of the first intent and the state of the first intent as a conflict state. When the intent execution network element suspends the execution of the second intent, it can also send an intent context update message of the second intent to the intent management network element, which is used to indicate the identifier of the second intent and the state of the second intent as a conflict state, and can also be used to send a release intent resource request message (releaseIntentResource) for indicating the release of the resources of the second intent to the intent management network element, and the release intent resource request message includes the identifier of the second intent.

[0273] In addition, this application takes the example that the first value of the first intent target is allowed to be modified. If the first intent target is not allowed to be modified, it can also be determined whether to suspend the execution of the first intent according to the priority of the first intent and the priority of the second intent.

[0274] If the intent execution network element determines that the first operation corresponding to the first value and the second operation corresponding to the second value conflict, and there are executable operations among the first operation and the second operation,

[0275] S305. The intent execution network element determines the third value of the first intent target according to the first information.

[0276] The third value belongs to the first value range, and the third value does not conflict with the first value.

[0277] It should be noted that the third value can be the target value actually achieved after the intent execution unit executes the operations that can be executed corresponding to the first intent, such as the operations that do not conflict with the second operation.

[0278] The manner and method for the intent execution network element to determine the third value of the first intent target according to the first information are similar to those described in method 100, and for simplicity, they will not be elaborated here.

[0279] Optionally, the intent execution network element may send an intent context update message (intentContextUpdate) for updating the first intent to the intent management network element. Correspondingly, the intent management network element receives the intent context update message from the intent execution network element.

[0280] The intent context update message for updating the first intent may include at least one of the following information: the identifier of the first intent, the status information of the first intent, and the third value. Among them, the status information of the first intent is used to indicate that the status of the first intent is the active state.

[0281] It should be noted that for clarity, the above description takes the example where the first value of the first intent target is allowed to be modified. In this application, it may also include scenarios where the first intent is not allowed to be modified and the second intent is allowed to be modified. The implementation method is similar to the case where the first intent is allowed to be modified and the second intent is not allowed to be modified. For simplicity, they will not be elaborated here.

[0282] In addition, if neither the first intent nor the second intent is allowed to be modified, or although the first intent and / or the second intent is allowed to be modified, but the non-conflicting target value cannot be determined according to the modification range of the target value, the intent execution network element may perform preemption according to the priorities of the first intent and the second intent. The manner of performing preemption is similar to that described in method 100, and for simplicity, they will not be elaborated here.

[0283] According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the first intent target, rather than directly suspending the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility of handling intent conflicts.

[0284] Figure 5 Shows a schematic flowchart of another method 400 for the intent translation network element to handle intent conflicts.

[0285] S401, the intent translation network element (an example of the first network element) receives the first value of the first intent target from the intent management network element (an example of the second network element). Correspondingly, the intent management network element sends the first value of the first intent target to the intent translation network element.

[0286] The first value conflicts with the second value of the second intent target, where the first intent target is used to indicate the target value that the first intent expects to achieve, and the second intent target is used to indicate the target value that the second intent expects to achieve.

[0287] For example, the intent management network element sends the first value of the first intent target to the intent translation network element through a translateIntent request message.

[0288] S402. The intent translation network element receives third information from the intent management network element. Correspondingly, the intent management network element sends the third information to the intent translation network element.

[0289] The third information is used to indicate that the first value is allowed to be modified.

[0290] For example, the intent management network element can also send the third information to the intent translation network element through a translateIntent request message.

[0291] It should be noted that the intent management network element can obtain the first value and the third information of the first intent target from an implementIntent request message for indicating the creation of the first intent sent by the intent consumer.

[0292] Optionally, the intent management network element sends an implementIntent response message of the first intent to the intent consumer.

[0293] Optionally, the intent translation network element sends an implementIntent request message for querying the intent pattern corresponding to the first intent to the intent management network element. Correspondingly, the intent management network element receives the implementIntent request message for querying the intent pattern corresponding to the first intent from the intent translation network element.

[0294] For example, the implementIntent request message for querying the intent pattern corresponding to the first intent can be used to request to obtain the intent pattern of the first intent and / or the first operation corresponding to the first value of the first intent target.

[0295] Optionally, the intent translation network element receives the intent pattern of the first intent and / or the first operation corresponding to the first value of the first intent target from the intent management network element.

[0296] Optionally, the intent translation network element can perform syntax and semantics checks on the first intent according to the intent pattern of the first intent obtained from the intent management network element.

[0297] Optionally, S403. The intent translation network element sends fourth information to the intent management network element. Correspondingly, the intent management network element receives the fourth information from the intent translation network element.

[0298] This fourth piece of information is used to request the acquisition of the second intent target, where the second intent is an intent in the active state.

[0299] For example, the intent translation network element can send this fourth piece of information to the intent management network element by querying the intent request message (queryIntent).

[0300] For example, the fourth piece of information can be used to request the acquisition of the second value of the second intent target, that is, the current target value of the second intent target, and the second operation corresponding to the second value.

[0301] Optionally, in S404, the intent translation network element receives the fifth piece of information from the intent management network element. Correspondingly, the intent management network element sends the fifth piece of information to the intent translation network element.

[0302] This fifth piece of information is used to indicate the second intent target.

[0303] For example, the intent management network element can send this fifth piece of information to the intent translation network element by querying the intent reply message.

[0304] Optionally, the query reply message can also include the identifier of the second intent.

[0305] For example, the intent management network element can return the relevant information of the requested second intent target to the intent translation network element according to the request of the fourth piece of information.

[0306] S405, the intent translation network element determines whether the first value of the first intent target of the first intent and the second value of the second intent target of the second intent are mutually exclusive.

[0307] The description of the first value and the second value being mutually exclusive is similar to that described in method 100. For the sake of simplicity, it will not be elaborated here.

[0308] If the intent translation network element determines that the first value and the second value are not mutually exclusive, it can execute the first intent under the first value.

[0309] It should be noted that when the intent translation network element acquires the third piece of information, it can determine that when the first value and the second value are mutually exclusive, the first value of the first intent target is allowed to be modified.

[0310] If the intent translation network element determines that the first value and the second value are mutually exclusive, the intent translation network element executes step S406.

[0311] S406, the intent translation network element determines whether the second value of the second intent target is allowed to be modified.

[0312] The description of the intent translation network element determining whether the second value of the second intent target is allowed to be modified is similar to that described in method 100. For the sake of simplicity, it will not be elaborated here.

[0313] The determination result of step S406 includes the following two cases:

[0314] Case 1: If the intent translation network element determines that the second value of the second intent target is not allowed to be modified, in a possible implementation, the intent translation network element executes step S407.

[0315] S407, the intent translation network element determines the first information, and this first information is used to indicate the first value range of the first intent target.

[0316] The manner for the intent translation network element to determine the first information is similar to that described in method 100. For simplicity, it will not be elaborated here.

[0317] S408, the intent translation network element sends the first information to the intent management network element. Correspondingly, the intent management network element receives the first information from the intent translation network element.

[0318] This first information is used to indicate the first value range of the first intent target.

[0319] For example, the intent translation network element may send the first information to the intent management network element through a tolerance interval request message (toleranceIntervalRequest).

[0320] Thus, the intent management network element can send the first information to the intent consumer.

[0321] Optionally, the tolerance interval request message further includes the identifier of the first intent.

[0322] The intent management network element can send the first information to the intent consumer. The intent consumer can determine whether to accept the first value range indicated by the first information. If the intent consumer accepts the first value range indicated by the first information, the intent consumer can send an indication message accepting the first information value range to the intent management network element.

[0323] S409, the intent management network element determines to accept the first value range indicated by the first information.

[0324] S410, the intent management network element sends the sixth information to the intent translation network element. Correspondingly, the intent translation network element receives the sixth information from the intent management network element.

[0325] This sixth information is used to indicate that the intent management network element accepts the first value range indicated by the first information.

[0326] For example, the intent management network element may send the sixth information to the intent translation network element through a tolerance interval response message (toleranceIntervalResponse).

[0327] Optionally, the tolerance range reply message further includes an identifier of the first intent.

[0328] In the case where the intent management network element or the intent consumer does not accept the first value range indicated by the first information, the intent management network element may send a message to the intent translation network element to indicate rejection of the first value range indicated by the first information, so that the intent translation network element may re-determine a first value range and re-send the first value range to the intent management network element, or the intent translation network element may suspend the execution of the first intent.

[0329] If the intent translation network element determines that the second value of the second intent target is not allowed to be modified, in another possible implementation, the intent translation network element determines a third value range of the first intent target.

[0330] The third value range is used to indicate the value range of the first intent target that the intent translation network element can accept.

[0331] The manner in which the intent translation network element determines the third value range is similar to that described in Method 100, and for the sake of simplicity, it will not be elaborated here.

[0332] The intent translation network element sends a seventh message to the intent management network element, and correspondingly, the intent management network element receives the seventh message from the intent translation network element.

[0333] The seventh message is used to indicate the third value range.

[0334] For example, the intent translation network element may send the seventh message to the intent management network element through a tolerance range request message.

[0335] Thus, the intent management network element may send the seventh message to the intent consumer.

[0336] Optionally, the tolerance request message further includes an identifier of the first intent.

[0337] The intent consumer may determine the first value range of the first intent target according to the seventh message. It can also be understood that the intent consumer cannot fully accept the first value range, and the intent consumer determines the value range of the first intent target that the intent consumer can accept, that is, the first value range, and sends the first value range to the intent management network element.

[0338] The intent management network element sends a first message to the intent translation network element, and correspondingly, the intent translation network element receives the first message from the intent management network element.

[0339] The first message is used to indicate the first value range of the first intent target.

[0340] For example, the intent management network element may send the first message to the intent translation network element through a tolerance range reply message.

[0341] Optionally, the tolerance range reply message further includes an identifier of the first intent.

[0342] Optionally, the first information is further used to indicate that a third value range of the first intent target is not acceptable.

[0343] S411. The intent translation network element determines a third value of the first intent target of the first intent according to the first information.

[0344] The third value belongs to the first value range, and the third value does not conflict with the first value.

[0345] The manner in which the intent translation network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in Method 100. For the sake of simplicity, it will not be elaborated here.

[0346] Case 2: If the intent translation network element determines that the second value of the second intent target is allowed to be modified, the intent translation network element determines whether the priority of the first intent is higher than or equal to the priority of the second intent.

[0347] The result of the intent translation network element determining whether the priority of the first intent is higher than or equal to the priority of the second intent includes the following two cases:

[0348] Case a: If the intent translation network element determines that the priority of the first intent is higher than or equal to the priority of the second intent, the intent translation network element determines a fourth value of the second intent target of the second intent, and the fourth value does not conflict with the first value.

[0349] The manner in which the intent translation network element determines the fourth value is similar to that described in Method 100. For the sake of simplicity, it will not be elaborated here.

[0350] Case b: If the intent translation network element determines that the priority of the first intent is lower than the priority of the second intent, then steps S407 to S411 are executed to determine the third value of the first intent target, which can also be said to modify the first value of the first intent target.

[0351] Optionally, when the intent translation network element determines the third value of the first intent target according to the first information, that is, when the intent translation network element modifies the target value of the first intent target, the intent translation network element may send an intent context update message (intentContextUpdate) for updating the first intent to the intent management network element. Correspondingly, the intent management network element receives the intent context update message from the intent translation network element.

[0352] The intent context update message for updating the first intent may include at least one of the following information: the identifier of the first intent, the status information of the first intent, and a third value. Among them, the status information of the first intent is used to indicate that the status of the first intent is the active state.

[0353] When the intent translation network element determines the fourth value of the second intent target, that is to say, when the intent translation network element modifies the target value of the second intent target, the intent translation network element may send an intent context update message for updating the second intent to the intent management network element. Correspondingly, the intent management network element receives the intent context update message from the intent translation network element.

[0354] The intent context update message for updating the second intent may include at least one of the following information: the identifier of the second intent, the status information of the second intent, and a fourth value. Among them, the status information of the second intent is used to indicate that the status of the second intent is the active state.

[0355] It should be noted that for clarity, the above description takes the example that the first value of the first intent target is allowed to be modified. In this application, there may also be a scenario where the first intent is not allowed to be modified and the second intent is allowed to be modified. The implementation method is similar to the case where the first intent is allowed to be modified and the second intent is not allowed to be modified. For simplicity, it will not be elaborated here.

[0356] In addition, if neither the first intent nor the second intent is allowed to be modified, or although the first intent and / or the second intent is allowed to be modified, but the non-conflicting target value cannot be determined according to the modification range of the target value, the intent translation network element may perform preemption according to the priorities of the first intent and the second intent. The method of performing preemption is similar to the description in method 100. For simplicity, it will not be elaborated here.

[0357] According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent may be re-determined according to the value range of the first intent target, rather than directly suspending the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility of handling intent conflicts.

[0358] Figure 6 Shows a schematic flowchart of another method 500 for the intent execution network element to handle intent conflicts.

[0359] S501, the intent execution network element (an example in the first network element) receives the first value of the first intent target from the intent translation network element (an example in the second network element).

[0360] The first value conflicts with the second value of the second intent target. The first intent target is used to indicate the target value that the first intent expects to achieve, and the second intent target is used to indicate the target value that the second intent expects to achieve.

[0361] For example, the intent translation network element may send the first value of the first intent target to the intent execution network element by executing an intent request message (executeIntent).

[0362] S502. The intent execution network element receives third information from the intent translation network element. Correspondingly, the intent translation network element sends the third information to the intent execution network element.

[0363] The third information is used to indicate that the first value is allowed to be modified.

[0364] For example, the intent translation network element may also send the third information to the intent execution network element by executing an intent request message (executeIntent).

[0365] Optionally, the intent translation network element sends the first operation corresponding to the intent pattern of the first intent and / or the first value of the first intent target, and the second operation corresponding to the intent pattern of the second intent and / or the second value of the second intent target to the intent execution network element.

[0366] Wherein, the manner in which the intent translation network element obtains the first operation corresponding to the intent pattern of the first intent and / or the first value of the first intent target, and the second operation corresponding to the intent pattern of the second intent and / or the second value of the second intent target may be similar to the manner obtained in method 200. For simplicity, it will not be elaborated here.

[0367] It should be noted that the intent translation network element may also obtain the relevant information of the first intent and the second intent from the intent management network element by itself. This application does not make special limitations on this.

[0368] S503. The intent execution network element determines whether the first operation corresponding to the first value of the first intent target and the second operation corresponding to the second value of the second intent target conflict.

[0369] The description of the conflict between the first operation corresponding to the first value and the second operation corresponding to the second value is similar to that described in method 100. For simplicity, it will not be elaborated here.

[0370] If the intent execution network element determines that the first operation corresponding to the first value and the second operation corresponding to the second value do not conflict, it may execute the first intent under the first value.

[0371] It should be noted that when the intention execution network element detects whether the first operation and the second operation conflict, there may be no executable operation. The corresponding operation method may be similar to the description in Method 300. For simplicity, it will not be elaborated here.

[0372] In addition, this application takes the example that the first value of the first intention target is allowed to be modified. If the first intention target is not allowed to be modified, it is also possible to determine whether to suspend the execution of the first intention according to the priority of the first intention and the priority of the second intention.

[0373] It should be noted that when the intention execution network element obtains the third information, it can determine that when the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, the first value of the first intention target is allowed to be modified.

[0374] If the intention execution network element determines that the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, in a possible implementation manner, the intention execution network element executes step S504.

[0375] S504, the intention execution network element determines the first information, and the first information is used to indicate the first value range of the first intention target.

[0376] The manner in which the intention execution network element determines the first information is similar to the description in Method 100. For simplicity, it will not be elaborated here.

[0377] S505, the intention execution network element sends the first information to the intention management network element (an example in the second network element). Correspondingly, the intention management network element receives the first information from the intention execution network element.

[0378] The first information is used to indicate the first value range of the first intention target.

[0379] For example, the intention execution network element can send the first information to the intention management network element through a tolerance interval request message (toleranceIntervalRequest).

[0380] Thus, the intention management network element can send the first information to the intention consumer.

[0381] Optionally, the tolerance interval request message further includes an identifier of the first intention.

[0382] The intention consumer can determine whether to accept the first value range indicated by the first information. If the intention consumer accepts the first value range indicated by the first information, the intention consumer can send an indication message accepting the first information value range to the intention management network element.

[0383] S506, the intention management network element determines to accept the first value range indicated by the first information.

[0384] In S507, the intent management network element sends a sixth piece of information to the intent execution network element. Correspondingly, the intent execution network element receives the sixth piece of information from the intent management network element.

[0385] This sixth piece of information is used to indicate that the intent management network element accepts the first value range indicated by the first piece of information.

[0386] For example, the intent management network element may send this sixth piece of information to the intent translation network element through a tolerance interval response message.

[0387] Optionally, the tolerance interval response message further includes an identifier of the first intent.

[0388] In the case where the intent management network element or the intent consumer does not accept the first value range indicated by the first piece of information, the intent management network element may send a message to the intent execution network element to indicate rejection of the first value range indicated by the first piece of information, so that the intent execution network element can re-determine a first value range and re-send the first value range to the intent management network element, or the intent execution network element may suspend the execution of the first intent.

[0389] If the intent execution network element determines that the second value of the second intent target is not allowed to be modified, in another possible implementation, the intent execution network element determines a third value range of the first intent target.

[0390] This third value range is used to indicate the value range of the first intent target that the intent execution network element can accept.

[0391] The manner in which the intent execution network element determines the third value range is similar to the description in Method 100. For the sake of simplicity, it will not be elaborated here.

[0392] The intent execution network element sends a seventh piece of information to the intent management network element. Correspondingly, the intent management network element receives the seventh piece of information from the intent execution network element.

[0393] This seventh piece of information is used to indicate this third value range.

[0394] For example, the intent execution network element may send this seventh piece of information to the intent management network element through a tolerance interval request message.

[0395] Thus, the intent management network element may send this seventh piece of information to the intent consumer.

[0396] Optionally, the tolerance request message further includes an identifier of the first intent.

[0397] The intended consumer can determine the first value range of the first intended target according to the seventh information. In other words, the intended consumer cannot fully accept the first value range, and determines the value range of the first intended target that the intended consumer can accept, that is, the first value range, and sends the first value range to the intention management network element.

[0398] The intention management network element sends the first information to the intention execution network element. Correspondingly, the intention execution network element receives the first information from the intention management network element.

[0399] For example, the intention management network element can send the first information to the intention execution network element through a tolerance range reply message.

[0400] Optionally, the tolerance range reply message further includes an identifier of the first intention.

[0401] The first information is used to indicate the first value range of the first intended target.

[0402] Optionally, the first information is further used to indicate that the third value range of the first intended target is not acceptable.

[0403] S508, the intention execution network element determines the third value of the first intended target of the first intention according to the first information.

[0404] The third value belongs to the first value range, and the third value does not conflict with the first value.

[0405] The manner in which the intention execution network element determines the third value of the first intended target of the first intention according to the first information is similar to that described in Method 100. For the sake of simplicity, it will not be elaborated here.

[0406] Optionally, when the intention execution network element determines the third value of the first intended target according to the first information, that is, when the intention execution network element modifies the target value of the first intended target, the intention execution network element can send an intention context update message (intentContextUpdate) for updating the first intention to the intention management network element. Correspondingly, the intention management network element receives the intention context update message from the intention execution network element.

[0407] The intention context update message for updating the first intention may include at least one of the following information: an identifier of the first intention, status information of the first intention, and the third value. Among them, the status information of the first intention is used to indicate that the status of the first intention is the active state.

[0408] It should be noted that, for clarity, the above description takes the example where the first value of the first intention target is allowed to be modified. In the present application, there may also be a scenario where the first intention is not allowed to be modified and the second intention is allowed to be modified. The implementation method is similar to the case where the first intention is allowed to be modified and the second intention is not allowed to be modified. For simplicity, it will not be elaborated here.

[0409] In addition, if neither the first intention nor the second intention is allowed to be modified, or although the first intention and / or the second intention is allowed to be modified, but a conflict-free target value cannot be determined according to the modification range of the target value, the intention execution network element can perform preemption according to the priorities of the first intention and the second intention. The manner of preemption is similar to that described in Method 100. For simplicity, it will not be elaborated here.

[0410] According to the solution proposed in this embodiment, when the first value of the first intention conflicts with the second value of the second intention, the third value of the first intention can be re-determined according to the value range of the first intention target, rather than directly suspending the execution of the first intention. Since the third value of the first intention does not conflict with the second value of the second intention, both the first intention and the second intention can be executed by the system, thereby improving the flexibility in handling intention conflicts.

[0411] Figure 7 and Figure 8 FIG. is a schematic structural diagram of a possible communication device provided by an embodiment of the present application. These communication devices can be used to implement the functions of the first network element and the second network element in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. In the embodiments of the present application, the communication device can be the first network element, the second network element, or a module (such as a chip) applied to the first network element and the second network element.

[0412] As Figure 7 shown, the communication device 900 includes a processing unit 910 and a transceiver unit 920. The communication device 900 is used to implement the functions of the first network element or the second network element in the method embodiment shown above. Alternatively, the communication device 900 may include a module for implementing any function or operation of the first network element or the second network element in the method embodiment shown above, and the module can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Figure 2 in the above. Figure 2 in the above.

[0413] When the communication device 900 is used to implement Figure 2When implementing the functions of the first network element in the method embodiment shown, the transceiver unit 920 is used to obtain a first value of a first intent target, where the first value conflicts with a second value of a second intent target. The first intent target is used to indicate a target value that the first intent expects to achieve, and the second intent target is used to indicate a target value that the second intent expects to achieve; the processing unit 920 is used to obtain first information, where the first information is used to indicate a first value range of the first intent target. The processing unit 920 is further used to determine a third value of the first intent target according to the first information, where the third value belongs to the first value range and the third value does not conflict with the second value.

[0414] Thus, in the present application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the first intent target, rather than directly suspending the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility of handling intent conflicts.

[0415] Optionally, when the communication device 900 is used to implement Figure 2 the functions of the first network element in the method embodiment shown, the transceiver unit 920 is further used to obtain second information, where the second information is used to indicate a second value range of the second intent target, and the priority of the first intent is lower than or equal to the priority of the second intent.

[0416] Thus, in the present application, when both the first intent target and the second intent target support modification, the first network element can determine whether to modify the first value of the first intent target or the second value of the second intent target according to the priorities of the first intent and the second intent, thereby further improving the flexibility of handling intent conflicts.

[0417] Optionally, when the communication device 900 is used to implement Figure 2 the functions of the first network element in the method embodiment shown, the processing unit 920 is further used to determine that the second value of the second intent target is not allowed to be modified.

[0418] Thus, in the present application, the first network element can determine whether the second value of the second intent target is allowed to be modified, and then determine whether to modify the first value of the first intent target. If the second value of the second intent target is not allowed to be modified, the first value is modified. If the second value of the second intent target is allowed to be modified, it can be determined whether to modify the first value of the first intent target or the second value of the second intent target according to the priorities of the first intent and the second intent, thereby further improving the flexibility of handling intent conflicts.

[0419] Optionally, when the communication device 900 is used to implement Figure 2When implementing the function of the first network element in the method embodiment shown, the processing unit 920 is further configured to release the resources of the second intention, and the priority of the first intention is higher than that of the second intention.

[0420] Therefore, in the present application, when the priority of the first intention is higher than that of the second intention, the first network element can release the resources of the second intention, thereby avoiding unnecessary resource waste.

[0421] Optionally, when the communication device 900 is used to implement Figure 2 the function of the first network element in the method embodiment shown, the transceiver unit 920 is further configured to obtain third information, and the third information is used to indicate that the first value is allowed to be modified to the third value.

[0422] Therefore, in the present application, the first network element can determine whether the first value is allowed to be modified according to the third information. Thus, when the first value conflicts with the second value, the first network element can choose to modify the first value, or determine the third value of the first intention target, thereby improving the flexibility of handling intention conflicts.

[0423] Optionally, when the communication device 900 is used to implement Figure 2 the function of the first network element in the method embodiment shown, the transceiver unit 920 is specifically configured to receive the first information from the second network element, or the processing unit 920 is specifically configured to determine the first information.

[0424] Therefore, in the present application, the first network element can determine the first information by itself, that is, the first value range of the first intention target, or obtain the first value range from the second network element, thereby further improving the flexibility of handling intention conflicts.

[0425] Optionally, when the communication device 900 is used to implement Figure 2 the function of the first network element in the method embodiment shown, the transceiver unit 920 is further configured to send fourth information to the second network element, and the fourth information is used to request to obtain the second intention target, where the second intention is an intention in an active state; the transceiver unit 920 is further configured to receive fifth information from the second network element, and the fifth information is used to indicate the second intention target.

[0426] Therefore, in the present application, the second intention can be an intention in an active state, and the first network element can determine whether the first value of the first intention target conflicts with the target value of the intention in the active state, thereby improving the reliability of handling intention conflicts.

[0427] Optionally, when the communication device 900 is used to implement Figure 2When implementing the functions of the first network element in the method embodiment shown, the transceiver unit 920 is further configured to send the first information to the second network element, and the transceiver unit 920 is further configured to receive sixth information from the second network element, where the sixth information is used to indicate that the second network element accepts the first value range indicated by the first information.

[0428] Therefore, in this application, if the first network element determines the first information, that is, the value range of the first intended target, the first network element can send the first information to the second network element, so that the second network element can determine whether it can accept the first value range according to the user's requirements. If the second network element can accept the first value range, the first network element can determine the third value according to the first value range, thereby ensuring that the user's requirements are met.

[0429] Optionally, when the communication device 900 is used to implement Figure 2 the functions of the first network element in the method embodiment shown, the processing unit 920 is specifically configured to determine the maximum or minimum value of the target values in the first value range that do not conflict with the second value as the third value.

[0430] Therefore, in this application, the first value range may include multiple target values that do not conflict with the second value, and the first network element can select the maximum or minimum value as the third value of the first intended target, improving the performance of the system in executing the first intention.

[0431] When the communication device 900 is used to implement Figure 2 the functions of the second network element in the method embodiment shown, the transceiver unit 920 is configured to send first information, where the first information is used to indicate the first value range of the first intended target, and the first information is further used to determine the third value of the first intended target, where the third value belongs to the first value range and does not conflict with the second value of the second intended target. The first intended target is used to indicate the target value that the first intention expects to achieve, and the second intended target is used to indicate the target value that the second intention expects to achieve; the transceiver unit 920 is further configured to send third information to the first network element, where the third information is used to indicate that the first value of the first intended target is allowed to be modified to the third value, and the first value conflicts with the second value.

[0432] Therefore, in this application, when both the first intended target and the second intended target support modification, the first network element can determine whether to modify the first value of the first intended target or the second value of the second intended target according to the priorities of the first intention and the second intention, thereby further improving the flexibility in handling intention conflicts.

[0433] Optionally, when the communication device 900 is used to implement Figure 2When implementing the functions of the second network element in the method embodiments shown, the transceiver unit 920 is further configured to send second information to the first network element, where the second information is used to indicate a second value range of the second intended target, and the priority of the first intention is lower than or equal to the priority of the second intention.

[0434] For a more detailed description of the above processing unit 910 and transceiver unit 920, reference can be directly made to Figure 2 the relevant descriptions in the method embodiments shown, which will not be elaborated here.

[0435] As Figure 8 shown, the communication device 1000 includes a processor 1010 and an interface circuit 1020. The processor 1010 and the interface circuit 1020 are coupled to each other. It can be understood that the interface circuit 1020 can be a transceiver or an input / output interface. Optionally, the communication device 1000 may further include a memory 1030, which is used to store instructions executed by the processor 1010 or input data required for the processor 1010 to run instructions or data generated after the processor 1010 runs instructions.

[0436] When the communication device 1000 is used to implement Figure 2 the method shown, the processor 1010 is used to implement the functions of the above processing unit 1010, and the interface circuit 1020 is used to implement the functions of the above transceiver unit 1020.

[0437] When the communication device 1000 is used to implement Figure 2 the method shown, the communication device 1000 includes a processor 1010 and an interface circuit 1020. The processor 1010 and the interface circuit 1020 are coupled to each other. It can be understood that the interface circuit 1020 can be a transceiver or an input / output interface. Optionally, the communication device 1000 may further include a memory 1030, which is used to store instructions executed by the processor 1010 or input data required for the processor 1010 to run instructions or data generated after the processor 1010 runs instructions.

[0438] When the communication device 1000 is used to implement Figure 2 the method shown, the processor 1010 is used to implement the functions of the above processing unit 1010, and the interface circuit 1020 is used to implement the functions of the above transceiver unit 1020.

[0439] When the above communication device is a chip applied to the first network element, the first network element chip implements the functions of the first network element in the above method embodiments. The first network element chip receives information from other modules (such as a radio frequency module or an antenna) in the first network element, and the information is sent by the network device to the first network element; or, the first network element chip sends information to other modules (such as a radio frequency module or an antenna) in the first network element, and the information is sent by the first network element to the second network element.

[0440] When the above communication device is a chip applied to the second network element, the second network element chip implements the functions of the second network element in the above method embodiments. The second network element chip receives information from other modules (such as a radio frequency module or an antenna) in the second network element, and the information is sent by the first network element to the second network element; or, the second network element chip sends information to other modules (such as a radio frequency module or an antenna) in the second network element, and the information is sent by the second network element to the first network element.

[0441] It can be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), 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.

[0442] In an embodiment of the present application, the memory may be a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), a register, a hard disk, a removable hard disk, a CD-ROM, or any other form of storage medium well 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 may also be a component of the processor. The processor and the storage medium may be located in an ASIC. Additionally, the ASIC may be located in a network device or a terminal device. Of course, the processor and the storage medium may also exist as discrete components in a network device or a terminal device.

[0443] In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may 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 instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are 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 terminal device, or other programmable devices. The computer program or instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server integrating one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a DVD; or it may be a semiconductor medium, such as a solid state disk (SSD).

[0444] In various embodiments of the present application, if there is no special description and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0445] It should be understood that in the embodiments of the present application, the numbers "first", "second",... are only used to distinguish different objects, such as to distinguish different network devices, and do not limit the scope of the embodiments of the present application. The embodiments of the present application are not limited thereto.

[0446] It should also be understood that in this application, "when", "if", and "in case" all refer to the situation where the network element will perform corresponding processing under certain objective circumstances, rather than limiting the time, and it is not required that the network element must have a judgment action when implemented, nor does it mean that there are other limitations.

[0447] It should also be understood that in the embodiments of this application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean that B is determined only according to A, and B can also be determined according to A and / or other information.

[0448] It should also be understood that the term "and / or" in this text is only a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this text generally represents an "or" relationship between the preceding and following associated objects.

[0449] The meaning of the expression similar to "the item includes one or more of the following: A, B, and C" in this application, unless otherwise specified, generally means that the item can be any one of the following: A; B; C; A and B; A and C; B and C; A, B, and C; A and A; A, A, and A; A, A, and B; A, A, and C; A, B, and B; A, C, and C; B and B, B, B, and B, B, B, and C; C and C; C, C, and C, and other combinations of A, B, and C. The above uses three elements A, B, and C as an example to illustrate the selectable items of the item. When it is expressed as "the item includes at least one of the following: A, B,..., and X", that is, when there are more elements in the expression, the applicable items of the item can also be obtained according to the foregoing rules.

[0450] It can be understood that the various numerical numbers involved in the embodiments of this application are only for the convenience of description and are not used to limit the scope of the embodiments of this application. The magnitude of the serial numbers of the above processes does not mean the sequence of execution, and the execution sequence of each process should be determined according to its function and internal logic.

Claims

1. A method for processing an intention, characterized in that, the method includes: A first network element obtains a first value of a first intention target, the first value conflicts with a second value of a second intention target, the first intention target is used to indicate a target value that the first intention expects to achieve, and the second intention target is used to indicate a target value that the second intention expects to achieve; The first network element obtains first information, and the first information is used to indicate a first value range of the first intention target; The first network element determines a third value of the first intention target according to the first information.

2. The method according to claim 1, characterized in that, the method further includes: The first network element obtains second information, the second information is used to indicate a second value range of the second intention target, and the priority of the first intention is lower than or equal to the priority of the second intention.

3. The method according to claim 1, characterized in that, the method further includes: The first network element determines that the second value of the second intention target is not allowed to be modified.

4. The method according to claim 3, characterized in that, the method further includes: The first network element releases the resources of the second intention, and the priority of the first intention is higher than the priority of the second intention.

5. The method according to any one of claims 1 to 4, characterized in that, the method further includes: The first network element obtains third information, and the third information is used to indicate that the first value is allowed to be modified to the third value.

6. The method according to any one of claims 1 to 4, characterized in that, the first network element obtaining the first information includes: The first network element receives the first information from a second network element; or The first network element determines the first information.

7. The method according to any one of claims 1 to 4, characterized in that, the conflict between the first value and the second value of the second intention target includes: the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, or the first value is mutually exclusive with the second value.

8. The method according to any one of claims 1 to 4, characterized in that, the method further includes: The first network element sends fourth information to a second network element, and the fourth information is used to request to obtain the second intention target, and the second intention is an intention in an active state; The first network element receives fifth information from the second network element, and the fifth information is used to indicate the second intention target.

9. The method according to claim 6, characterized in that, when the first network element determines the first information, the method further includes: The first network element sends the first information to the second network element; The first network element receives sixth information from the second network element, and the sixth information is used to indicate that the second network element accepts the first value range indicated by the first information.

10. The method according to any one of claims 1 to 4, characterized in that, the first network element determines the third value of the first intention target according to the first information, and the third value belongs to the first value range, including: The first network element determines the maximum or minimum value among the target values in the first value range that do not conflict with the second value as the third value.

11. A method for processing intents, characterized in that, the method includes: A second network element sends first information to a first network element, where the first information is used to indicate a first value range of a first intent target, and the first information is further used to determine a third value of the first intent target, where the first intent target is used to indicate a target value that a first intent expects to achieve, and the second intent target is used to indicate a target value that a second intent expects to achieve; The second network element sends third information to the first network element, where the third information is used to indicate that the first value of the first intent target is allowed to be modified to the third value, and the first value conflicts with the second value.

12. The method according to claim 11, characterized in that, the method further includes: The second network element sends second information to the first network element, where the second information is used to indicate a second value range of the second intent target, and the priority of the first intent is lower than or equal to the priority of the second intent.

13. A method for processing intents, characterized in that, the method includes: A first network element obtains a first value of a first intent target, where the first value conflicts with a second value of a second intent target, and the first intent target is used to indicate a target value that a first intent expects to achieve, and the second intent target is used to indicate a target value that a second intent expects to achieve; A second network element sends first information to the first network element, where the first information is used to indicate a first value range of the first intent target; The first network element determines a third value of the first intent target according to the first information.

14. The method according to claim 13, characterized in that, the method further includes: The second network element sends second information to the first network element, where the second information is used to indicate a second value range of the second intent target, and the priority of the first intent is lower than or equal to the priority of the second intent.

15. The method according to claim 13, characterized in that, the method further includes: The first network element determines that the second value of the second intent target is not allowed to be modified.

16. The method according to claim 15, characterized in that, the method further includes: The first network element releases the resources of the second intent, and the priority of the first intent is higher than the priority of the second intent.

17. The method according to any one of claims 13 to 16, characterized in that, the method further includes: The second network element sends third information to the first network element, where the third information is used to indicate that the first value is allowed to be modified to the third value.

18. The method according to any one of claims 13 to 17, characterized in that, The conflict between the first value and the second value of the second intent target includes: the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, or the first value and the second value are mutually exclusive.

19. The method according to any one of claims 13 to 17, characterized in that, the method further includes: The first network element sends fourth information to the second network element, where the fourth information is used to request to obtain the second intent target, and the second intent is an intent in an active state; The second network element sends fifth information to the first network element, where the fifth information is used to indicate the second intent target.

20. The method according to any one of claims 13 to 17, characterized in that, The first network element determines a third value of the first intent target according to the first information, and the third value belongs to the first value range, including: The first network element determines the maximum or minimum value of the target values in the first value range that do not conflict with the second value as the third value.

21. A processing device, characterized in that, comprises at least one processor, and the at least one processor is configured to execute a computer program stored in a memory, so that the device implements the method according to any one of claims 1 to 10, or so that the device implements the method according to claims 11 or 12, or so that the device implements the method according to any one of claims 13 to 20.

22. A computer-readable storage medium, characterized in that, comprises a computer program, and when the computer program runs on a computer, the computer is caused to execute the method according to any one of claims 1 to 10, or the computer is caused to execute the method according to claims 11 or 12, or the computer is caused to execute the method according to any one of claims 13 to 20.

23. A computer program product, characterized in that, comprises a computer program, and when the computer program runs on a computer, the computer is caused to execute the method according to any one of claims 1 to 10, or the computer is caused to execute the method according to claims 11 or 12, or the computer is caused to execute the method according to any one of claims 13 to 20.

24. A chip system, characterized in that, comprises: a processor, configured to call and run a computer program from a memory, so that a communication device equipped with the chip system executes the method according to any one of claims 1 to 10, or so that a communication device equipped with the chip system executes the method according to claims 11 or 12, or so that a communication device equipped with the chip system executes the method according to any one of claims 13 to 20.

25. A communication system, characterized in that, comprises a first communication device for executing the method according to any one of claims 1 to 10, and a second communication device for executing the method according to claims 11 or 12.