A method and device for processing intention
By obtaining the value range of the intent target and redetermining the intent target value, the problem of insufficient flexibility in handling intention conflicts in the prior art is solved, and more efficient intent execution and system support capabilities are achieved.
Patent Information
- Application Number
- CN202110587135.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-27
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2041-05-27
AI Technical Summary
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.
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, thus allowing the conflicting intent to be executed simultaneously.
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.
Smart Images

Figure CN115412932B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communications, and more particularly, to a method and apparatus for processing intent. Background Art
[0002] During network configuration and monitoring, users can use cognitive network management systems that determine behavior control modes based on observation directions. The system uses artificial intelligence (AI) technology and situational awareness strategies to adjust the services provided according to changes in user needs, environmental conditions, and business goals. Therefore, the system can help users automate work, thereby reducing operating expenses and improving network use and maintenance.
[0003] Users can achieve their expectations of the system by creating intents in the system. However, when the system creates an intent, the created intent may conflict with the intent that is activated in the system. The system will compare the priorities of the conflicting intents and then execute the intent with a higher priority. In other words, 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 a lower priority. The number of intents that can be supported simultaneously in the system is small, and the system has poor flexibility in handling intent conflicts. Therefore, there is an urgent need for a method for handling intents that can improve the flexibility of handling intent conflicts. Summary of the invention
[0004] The present application provides a method and device for processing intent, which can improve the flexibility of processing intent conflicts.
[0005] In a first aspect, a method for processing intent is provided, which can be executed by a first network element or a chip in the first network element, and the method includes: the first network element obtains a first value of a first intent target, the first value conflicts with a second value of a second intent target, the first intent target is used to indicate a target value expected to be achieved by the first intent, and the second intent target is used to indicate a target value expected to be achieved by the second intent; the first network element obtains first information, 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 based on the first information, the third value belongs to the first value range, and the third value does not conflict with the second value.
[0006] It should be noted that the first network element determines the third value of the first intended target according to the first information, which can also be understood as the first network element modifies the first value of the first intended target to the third value according to the first information.
[0007] Therefore, 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 of handling intention conflicts.
[0008] In combination with the first aspect, in certain implementations of the first aspect, the method also 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.
[0009] 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 is allowed to be modified.
[0010] Therefore, in the present application, when both the first intention target and the second intention target can 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 based on the priority of the first intention and the priority of the second intention, thereby further improving the flexibility of handling intent conflicts.
[0011] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the first network element determining that the second value of the second intended target is not allowed to be modified.
[0012] Therefore, 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, then modify the first value. If the second value of the second intention target is allowed to be modified, then it can be determined based on the priority of the first intention and the priority of the second intention whether to modify the first value of the first intention target or the second value of the second intention target, thereby further improving the flexibility of handling intention conflicts.
[0013] In combination with the first aspect, in some implementations of the first aspect, the method includes: the first network element releases resources of the second intention, and the priority of the first intention is higher than the priority of the second intention.
[0014] Therefore, 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 waste of resources.
[0015] In combination with the first aspect, in some implementations of the first aspect, the first network element obtains third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.
[0016] Therefore, in the present application, the first network element can determine whether the first value is allowed to be modified based on the third information, so that when the first value and the second value conflict, the first network element can choose to modify the first value, or determine the third value of the first intended target, thereby improving the flexibility of handling intent conflicts.
[0017] In combination with the first aspect, in some implementations of the first aspect, the first network element obtains the first information, including: the first network element receives the first information from the second network element, or the first network element determines the first information.
[0018] Therefore, in the present application, the first network element can determine the first information, that is, the first value range of the first intention target, by itself, or obtain the first value range from the second network element, thereby further improving the flexibility of handling intention conflicts.
[0019] In combination with the first aspect, in certain implementations of the first aspect, the conflict between the first value and the second value of the second intended target includes: a first operation corresponding to the first value conflicts with a second operation corresponding to the second value, or the first value and the second value are mutually exclusive.
[0020] Therefore, in the present application, the conflict between the first value and the second value can be either the mutual exclusion of the first value and the second value during the intent translation process, or the conflict between the first operation and the second operation during the intent execution process. Therefore, the technical solution provided by the present application can be applicable to a variety of intent conflict scenarios.
[0021] In combination with the first aspect, in certain implementations of the first aspect, the method also includes: the first network element sends fourth information to the second network element, the fourth information is used to request to obtain the second intention target, and the second intention is an intention in an activated 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.
[0022] Therefore, in the present application, the second intention may be an intention in an activated state, and the first network element may determine whether the first value of the first intention target conflicts with the target value of the intention in the activated state, thereby improving the reliability of handling intention conflicts.
[0023] In combination with the first aspect, in certain implementations of the first aspect, when the first network element determines the first information, the method also 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.
[0024] Therefore, in the present 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 based on the user's needs. If the second network element can accept the first value range, the first network element can determine the third value based on the first value range, thereby ensuring that the user's needs are met.
[0025] In combination with the first aspect, in certain implementations of the first aspect, the first network element determines a third value of the first intended target based on the first information, and the third value belongs to the first value range, including: the first network element determines that the maximum value or the minimum value among the target values in the first value range that does not conflict with the second value is the third value.
[0026] Therefore, in the present 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 therein as the third value of the first intention target to improve the performance of the system in executing the first intention.
[0027] According to a second aspect, a method for processing intent is provided, which can be executed by a second network element or a chip in the second network element, and the method includes: the second network element sends first information to the first network element, and the first information is used to indicate a first value range of a first intent target. The first information is also used to determine a third value of the first intent target, and the third value belongs to the first value range. The third value does not conflict with the second value of the second intent target. The first intent target is used to indicate a target value expected to be achieved by the first intent, and the second intent target is used to indicate a target value expected to be achieved by the second intent; the second network element sends third information to the first network element, and 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.
[0028] Therefore, 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 of handling intention conflicts.
[0029] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: the second network element sends second information to the first network element, 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.
[0030] According to a third aspect, a method for processing intent is provided, which can be executed by a second network element or a chip in the second network element, and the method includes: the second network element receives first information from the first network element, the first information is used to indicate a first value range of a first intent target, the first information is also used to determine a third value of the first intent target, the third value belongs to the first value range, the third value does not conflict with the second value of the second intent target of the second intent, the first intent target is used to indicate a target value expected to be achieved by the first intention, and the second intent target is used to indicate a target value expected to be achieved by the second intention; the second network element determines to accept the first value range indicated by the first information.
[0031] Therefore, 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 of handling intention conflicts.
[0032] In combination with the third aspect, in certain implementations of the third aspect, the method further includes: the second network element sends sixth information to the first 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.
[0033] In combination with the third aspect, in certain implementations of the third aspect, the method also includes: the second network element sends second information to the first network element, 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.
[0034] In combination with the third aspect, in certain implementations of the third aspect, the method also includes: the second network element sends third information to the first network element, the third information being 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.
[0035] In a fourth aspect, a device for processing intent is provided, the device comprising a processing unit and a transceiver unit, the transceiver unit being used to obtain a first value of a first intent target, 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 is used to obtain first information, the first information is used to indicate a first value range of the first intent target, the processing unit is also used to determine a third value of the first intent target based on the first information, the third value belongs to the first value range, and the third value does not conflict with the second value.
[0036] Therefore, 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 of handling intention conflicts.
[0037] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is also used 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.
[0038] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing unit is further used to determine that the second value of the second intention target is not allowed to be modified.
[0039] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing unit is further used to release resources of the second intent, and the priority of the first intent is higher than the priority of the second intent.
[0040] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is further used 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.
[0041] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is specifically used to receive the first information from the second network element, or the processing unit is specifically used to determine the first information.
[0042] In combination with the fourth aspect, in certain implementations of the fourth aspect, the conflict between the first value and the second value of the second intended target includes: a first operation corresponding to the first value conflicts with a second operation corresponding to the second value, or the first value and the second value are mutually exclusive.
[0043] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is also used to send fourth information, the fourth information is used to request acquisition of the second intention target, the second intention is an intention in an activated state, and the transceiver unit is also used to receive fifth information, the fifth information is used to indicate the second intention target.
[0044] In combination with the fourth aspect, in certain implementations of the fourth aspect, the transceiver unit is also used to send the first information to the second network element, and the transceiver unit is also used to receive 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.
[0045] In combination with the fourth aspect, in certain implementations of the fourth aspect, the processing unit is specifically used to determine that the maximum value or the minimum value among the target values in the first value range that do not conflict with the second value is the third value.
[0046] In a fifth aspect, a device for processing intent is provided, the device comprising a transceiver unit, the transceiver unit being used to send first information, the first information being used to indicate a first value range of a first intent target, the first information being also used to determine a third value of the first intent target, the third value belonging to the first value range, the third value not conflicting with the second value of the second intent target, the first intent target being used to indicate a target value expected to be achieved by the first intent, and the second intent target being used to indicate a target value expected to be achieved by the second intent; the transceiver unit is also used to send third information to the first network element, the third information being 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.
[0047] Therefore, 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 of handling intention conflicts.
[0048] In combination with the fifth aspect, in certain implementations of the fifth aspect, the transceiver unit is also used to send second information to the first network element, the second information being used to indicate a second value range of the second intention target, and the priority of the first intention being lower than or equal to the priority of the second intention.
[0049] In a sixth aspect, a device for processing intent is provided, the device comprising a transceiver unit, the transceiver unit being used to receive first information, the first information being used to indicate a first value range of a first intent target, the first information being further used to determine a third value of the first intent target, the third value belonging to the first value range, the third value not conflicting with the second value of the second intent target, the first intent target being used to indicate a target value expected to be achieved by the first intent, and the second intent target being used to indicate a target value expected to be achieved by the second intent; the processing unit being used to determine the first value range indicated by the first information.
[0050] Therefore, 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 of handling intention conflicts.
[0051] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is further used to send sixth information to the first 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.
[0052] In combination with the sixth aspect, in certain implementations of the sixth aspect, the transceiver unit is also used to send second information to the first network element, the second information being used to indicate a second value range of the second intention target, and the priority of the first intention being lower than or equal to the priority of the second intention.
[0053] In combination with the sixth aspect, in some implementations of the sixth aspect, the transceiver unit is further used to send third information to the first network element, the third information being 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.
[0054] In a seventh aspect, a communication device is provided, which 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.
[0055] When the device is a 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 performs any method of the first aspect to the third aspect. When the device is a chip in 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 or circuits, etc.; the processing unit executes the instructions stored in the storage unit so that the chip performs the methods of the first aspect to the third aspect. The storage unit is used to store instructions, and the storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit in the first network element located outside the chip (for example, a read-only memory, a random access memory, etc.).
[0056] In an eighth aspect, a communication device is provided, comprising a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or to send signals from the processor to other communication devices outside the communication device, and the processor is used to implement any method of the first to third aspects through logic circuits or execution code instructions.
[0057] In a ninth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored. When the computer program or instruction is executed, any method in the first to third aspects described above is implemented.
[0058] In a tenth aspect, a computer program product comprising instructions is provided, which, when executed, implements any method of the first to third aspects described above.
[0059] In an eleventh aspect, a computer program is provided, which includes codes or instructions. When the codes or instructions are executed, the method in any possible implementation manner of the first to third aspects is implemented.
[0060] In a twelfth aspect, a chip system is provided, the chip system includes a processor and may also include a memory, for implementing at least one method described in the first to third aspects. The chip system may be composed of a chip, or may include a chip and other discrete devices.
[0061] In a thirteenth aspect, a communication system is provided, the system comprising any device of the fourth to sixth aspects (such as a first network element and a second network element).
[0062] In some implementations, the first network element may be an intent translation network element, and the second network element may be an intent management network element.
[0063] 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.
[0064] 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.
[0065] 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
[0066] Figure 1 It is a schematic diagram of a system applicable to the processing intent provided in an embodiment of the present application.
[0067] Figure 2 This is a schematic flowchart of an example of handling intent conflicts provided in an embodiment of the present application.
[0068] Figure 3 This is a schematic flowchart of an example of an intent translation network element handling intent conflicts provided in an embodiment of the present application.
[0069] Figure 4 This is a schematic flowchart of an example of an intent execution network element handling intent conflicts provided in an embodiment of the present application.
[0070] Figure 5 This is another schematic flowchart of an intent translation network element processing intent conflicts provided by an embodiment of the present application.
[0071] Figure 6 This is another schematic flowchart of an intent execution network element processing intent conflicts provided by an embodiment of the present application.
[0072] Figure 7 and Figure 8 It is a schematic diagram of the structure of a possible communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] The technical solution in this application will be described below in conjunction with the accompanying drawings.
[0074] The technical solution of the present application can be applied to various network function virtualization (NFV) systems, which can use standard formal language to describe the current operator's business technology solutions, network construction solutions and network operation and maintenance methods as patterns and strategies, and implement the technical solutions and construction solutions based on these patterns and strategies. For example, the technical solution of the present 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.
[0075] For the sake of clarity, some terms in the embodiments of the present application are explained below.
[0076] Intent: refers to the expectation of the system. Intent can include one or more of the following: requirements, intended goals, and constraints.
[0077] Intent instance: An object that instantiates an intent. For example, in this application, an intent can be replaced by an intent instance.
[0078] Intent expression: An expression used to carry intent. The expression includes one or more of the following: intent action name, intent action attribute, intent action object name, or intent action object attribute. Intent expressions have specific syntax and semantics.
[0079] Intent target: It is used to refer to the target value that the intention needs to achieve.
[0080] Intent translation: The process of converting intent into executable commands or rules or sub-intentions.
[0081] Intent execution: The intent executable commands, sub-intents, and rules are issued, and the intent executable commands, sub-intents, and rules are adjusted according to the network environment and the intention achievement status.
[0082] Intent executable commands: A series of instructions formed by the intent through operations such as translation and decision making.
[0083] Intent pattern: specifies the syntax and semantics of intent expressions. An intent pattern can include one or more of the following: fields, field value ranges, field types, and hierarchical relationships between fields. For example, a field can be used to describe the type, name, or consumer of an intent pattern.
[0084] Intent state: Intent states include active state, conflict state, deactivated state or sleep state, etc. Among them, the intent in the active state can be understood as the intent is being executed; the intent in the conflict state can be understood as the intent conflicts with the intent in the system; the intent in the deactivated state can be understood as the intent is not executed; the intent in the sleep state can be understood as the intent target of the intent is temporarily stopped because it has not been achieved for a long time.
[0085] Intent creation: Create a new intent in the intent system and create a corresponding intent context.
[0086] Intent knowledge: Intent knowledge is the relevant parameters of the intent pattern stored in the intent knowledge base. For example, the relevant parameters may include one or more of the following: the executable operation corresponding to the intent, the entity identifier of the intent, or the entity type of the intent.
[0087] Intent operation: The executable operation corresponding to the intent target.
[0088] Intent conflict: When two intents cannot be fulfilled at the same time due to mutual exclusion of intent expressions, execution operations, or semantics, the two intents are said to conflict. Optionally, intent conflict can refer to the conflict between the intent that needs to be created and the intent that is active in the system.
[0089] In order to facilitate understanding of the embodiments of the present application, first Figure 1 A system that is intended to be applicable to the method provided in the embodiments of the present application is described in detail. Figure 1 A schematic diagram of a system 100 suitable for processing the method provided in the embodiment of the present application is shown. Figure 1 As shown, the system 100 includes an intent consumption network element 110 and an intent providing network element 120 . The intent providing network element may include an intent management network element 121 , an intent translation network element 122 , and an intent execution network element 123 .
[0090] The intent-consuming network element 110, which may also be referred to as the intent consumer, is the consumer of the intent. For example, the intent-consuming network element 110 may be an operations support system (OSS), a business support system (BSS), an application (APP) or other user equipment. For the IDMS system, the intent-consuming network element 110 may be a service consumer or a management service (MnS) network element, such as a network management system (NMS). The intent-consuming network element 110 may communicate with the intent-providing network element 120, for example, the intent-consuming network element 110 may send a request to create an intent or implement an intent to the intent-providing network element 120.
[0091] The intent management network element 121 can be used to manage intent patterns. It can receive request information from the intent consumption network element 110 and process the request information. The intent management network element 121 can include an intent pattern library, which is used to store intent patterns. The intent management network element 121 can also include an intent instance library, through which the intent management network element 121 can obtain the state information of the intent pattern, the intent target, and the operation corresponding to the intent.
[0092] The intent translation network element 122 can receive translation request information from the intent management network element 121 to implement the intent translation function. The intent translation network element 122 can also obtain the intent model from the intent management network element 121 and perform syntax and semantic checks on the information provided by the intent consumption network element 110.
[0093] The intent execution network element 123 can receive commands from the intent management network element 122 and the intent translation network element 121 and implement relevant operations of the intent.
[0094] It should be noted that systems with different processing intentions may also include other network elements with corresponding functions.
[0095] For example, for a wIDN system, the system may also include an intent knowledge management network element and an intent knowledge base. The intent management network element is used to manage intent knowledge, and the intent knowledge base is used to store intent knowledge. The intent management network element may also include an intent pattern library and an intent instance library, wherein the intent pattern library is used to store intent patterns, and the intent instance library is used to store intents.
[0096] For the ENI system, the ENI system may also 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 normalization on the data. The output functional network element may include an output network element and a denormalization network element, which are used to convert the internal commands of the system into a format that can be processed by the external system and send it to the external system. The analysis functional network element can be used to perceive 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-aware network element, and a cognitive management network element. Among them, the knowledge management network element can manage intent knowledge, the context-aware network element can perceive and analyze the existing network state, and the cognitive management network element can perform management analysis. The above-mentioned intent management network element and intent translation network element may be sub-network elements in the analysis functional network element. The decision-making function network element is used to generate new operation commands and orchestrate the operation commands based on the perception of network status according to policy objectives, and send the operation commands to the output network element. The decision-making function network element may include a policy management network element, a situational awareness network element, and a driver management network element. Among them, the policy management network element is used to manage intent policies, the situational awareness network element is used to perceive and analyze the network status, and the driver management network element is used to perform intent driver management.
[0097] For the IDMS system, the intent consuming network element can be a network management system (NMS), the intent providing network element can be an element management system (EMS), and the intent management network element, intent translation network element and intent execution network element can be sub-modules of the intent providing network element.
[0098] It should be noted that the solution of the present application can be applied to other systems including corresponding network elements, and the present application does not limit this.
[0099] Currently, in the intent processing system, when the intent consumer sends a request to create an intent to the intent providing network element, if the intent conflicts with the intent in the system that is activated, the system will compete based on the priority of the two intents. That is to say, the system will determine the intent with a lower priority based on a certain mechanism and suspend the intent with a lower priority. The number of intents that can be supported simultaneously in the system is relatively small.
[0100] This application proposes an intent method that can improve the flexibility of handling intent conflicts.
[0101] Figure 2 A schematic flowchart of an example of a processing intention method 100 provided in the present application is shown.
[0102] S101: A first network element obtains a first value of a first intended target.
[0103] 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.
[0104] For example, the first network element may be an intent translation network element or an intent execution network element.
[0105] When the first network element is an intent translation network element, the first network element can obtain the first value of the first intent target from the intent management network element; when the first network element is an intent execution network element, the first network element can obtain the first value of the first intent target from the intent translation network element.
[0106] In a possible implementation, the conflict between the first value and the second value of the second intended target includes: the first value and the second value are mutually exclusive, or a first operation corresponding to the first value conflicts with a second operation corresponding to the second value.
[0107] The first value and the second value are mutually exclusive, which can be understood as: the intersection of the first value and the second value is empty. Alternatively, the first value and the second value are mutually exclusive, which 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.
[0108] For example, the first intended target corresponding to the first value is "ensuring that the average throughput of UE in base station 1 is not higher than 8Mbps", and the second intended target corresponding to the second value is "ensuring that the average throughput of terminal devices in the base station is higher than 10Mbps". At this time, the first value and the second value are mutually exclusive.
[0109] The first operation corresponding to the first value conflicts with the second operation corresponding to the second value, wherein the first operation corresponding to the first value can be understood as: the operation required to achieve the first value, and the second operation corresponding to the second value can be understood as: the operation required to achieve the second value. The conflict can be understood as: the first operation and the second operation cannot be fully executed, and the first value and the second value cannot be achieved at the same time. For example, assuming that the first intended goal corresponding to the first value is "to ensure that the average throughput of UEs in base station 1 is not higher than 8Mbps", there are 3 first operations corresponding to the first value, which are:
[0110] A. Adjust the base station's tilt angle to 30 degrees.
[0111] B. Turn off the base station energy saving algorithm switch.
[0112] C. Adjust the weight value of the air interface scheduling algorithm to 0.8.
[0113] Assuming that the second intention goal corresponding to the second value is "reducing base station energy consumption by 30%", there are two second operations corresponding to the second value, which are:
[0114] a. Adjust the base station's tilt angle to 60 degrees.
[0115] b. Turn on the base station energy saving algorithm switch.
[0116] It can be seen that operation A and operation a cannot be executed together, and operation B and operation b cannot be executed together. Assuming that operation C, operation a and operation b are executed separately, the execution results are "the average throughput of UE in base station 1 is 8.5Mbps" and "the energy consumption of the base station is reduced by 30%". This result cannot achieve 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.
[0117] For example, a first operation corresponding to a first value conflicts with a second operation corresponding to a second value. This can also be understood as: there is at least one operation that cannot be executed together between the operation corresponding to the first value and the operation corresponding to the second value. After executing the operation that can be executed among the operations corresponding to the first value, the first value of the first intention target cannot be satisfied.
[0118] In a possible implementation, the first intention may be an intention that needs to be created, and the second intention may be an intention that is activated in the system, or the first intention may be an intention that is activated in the system, and the second intention may be an intention that needs to be created.
[0119] As an example but not a limitation, the present application takes the second intention as an intention in an activated state in the system as an example.
[0120] S102: A first network element obtains first information, where the first information is used to indicate a first value range of a first intended target.
[0121] For example, the first value range may be a set or a value, and the set may be a set consisting of multiple discrete values, or a set consisting of one or more continuous values.
[0122] The first network element may obtain the first information in any of the following three ways:
[0123] Method #1
[0124] The first network element receives the first information from the second network element, and correspondingly, the second network element sends the first information to the first network element.
[0125] For example, when the first network element is an intent translation network element, the second network element may be an intent management network element; when the first network element is an intent execution network element, the second network element may be an intent translation network element or an intent management network element.
[0126] It should be noted that the second network element can send the first value of the first target of the first intention and the first information to the first network element at the same time. The second network element can also divide the first information and the first value into two messages and send them to the first network element. The second network element can also only send the first information to the first network element. The first network element can obtain the first value from the first value range in the first information according to preset rules.
[0127] In one possible implementation, the first information can be obtained by the second network element from the intent consumer, that is, the first information can be determined by the intent consumer. For example, when the second network element is an intent management network element, the intent management network element can obtain the first information from the create or implement intent request issued by the intent consumer. When the second network element is an intent translation network element, the intent translation network element can also obtain the first information determined by the intent consumer through the intent management network element.
[0128] Method #2
[0129] The first network element determines a third value range of the first intended target.
[0130] The third value range may be understood as a value range of the first intended target that the first network element can accept.
[0131] It should be noted that the third value range may be a set or a value, and the set may be a set consisting of multiple discrete values, or a set consisting of one or more continuous values.
[0132] For example, the first network element determines the third value range according to the second intended target or the operating status of the current system.
[0133] For another example, when executing an executable operation, such as an operation that does not conflict with the second operation, cannot satisfy the first value of the first intended target, the first network element may determine a third value range of the first intended target based on the achievable target value.
[0134] The first network element sends the seventh information to the second network element, and correspondingly, the second network element receives the seventh information from the first network element.
[0135] The seventh information is used to indicate the third value range.
[0136] The second network element determines first information according to the seventh information, where the first information is used to indicate a first value range.
[0137] The first network element receives the first information from the second network element, and correspondingly, the second network element sends the first information to the first network element.
[0138] Among them, the second network element determines the first information based on the seventh information. In a possible implementation method, the second network element sends indication information for indicating the third value range to the intended consumer, and the intended consumer determines whether he 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 can 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.
[0139] That is to say, the first network element can obtain the first value range by negotiating with the second network element, or by negotiating with the intended consumer through the second network element. The first network element first gives the second network element a suggested value range, and the second network element feeds back a value range or value acceptable to the intended consumer to the first network element based on the suggested 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.
[0140] It should be noted that the above is only an example of a single negotiation. In the present application, if the second network element does not accept the value range fed back by the intended consumer, a third value range can be re-determined and sent to the second network element, and the above negotiation process can be repeated until the first network element obtains a mutually accepted first value range, or a predetermined number of negotiations is reached.
[0141] Method #3
[0142] The first network element determines the first information.
[0143] In one possible implementation, the first network element determines the first information. The first network element may determine the first value range of the first intended target based on preset conditions of the system, or the first network element may determine the value range of the first intended target based on the current system operation status, load or goals that the system needs to achieve, that is, the first information. This application does not specifically limit this.
[0144] In another possible implementation, the first network element determines the first information. When performing an executable operation, such as an operation that does not conflict with the second operation, and the first value of the first intended target cannot be satisfied, the first network element can determine the first value range of the first intended target, that is, the first information, based on the achievable target value.
[0145] In a possible implementation, the first network element adopts method #3 to obtain the first information, that is, when the first network element determines the first information, the first network element sends the first information to the second network element, and correspondingly, the second network element receives the first information from the first network element.
[0146] The second network element determines whether to accept the first value range indicated by the first information.
[0147] For example, the second network element can send information indicating the first value range to the intended consumer based on the first information, and the intended consumer determines whether he can accept the first value range. If the intended consumer can accept the first value range, the intended consumer will feedback information indicating that he can accept the first value range to the second network element.
[0148] In the case where 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, and correspondingly, the first network element receives the sixth information from the second network element.
[0149] The sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
[0150] In the case that the second network element does not accept the first value range indicated by the first information, the second network element may send a signal to the first network element to indicate the rejection of the first value range indicated by the first information, so that the first network element may redetermine a first value range and resend the first value range to the second network element, or the first network element may suspend the execution of the first intention.
[0151] In a possible implementation manner, the first network element determines whether the second value of the second intended target is allowed to be modified.
[0152] In a possible implementation manner, the first network element may determine whether the second intention is allowed to be modified based on displayed information.
[0153] For example, the first network element obtains the second information.
[0154] The second information is used to indicate a second value range of the second intended target.
[0155] It should be noted that the first network element obtaining the second information can also be understood as 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.
[0156] The way in which the first network element obtains the second information is similar to the way in which the first network element obtains the first information, and for the sake of simplicity, it will not be repeated here.
[0157] In another possible implementation, if the first network element does not obtain information that may indicate that the second intent is allowed to be modified, the first network element may assume that the second intent is not allowed to be modified.
[0158] That is to say, when the first value and the second value conflict, the first network element can determine whether the second value of the second intended 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 intended target is allowed to be modified, if the first value and the second value conflict, the system can choose to modify the first value or the second value, wherein 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 intended target or the second intended target.
[0159] That is, the confirmation result of the first network element determining whether the second value of the second intended target is allowed to be modified includes the following two situations:
[0160] Case 1:
[0161] When the first network element determines that the second value is not allowed to be modified, in a possible implementation, the first network element determines whether to suspend the second intent according to a priority of the first intent and a priority of the second intent.
[0162] In a case where the priority of the first intent is higher than or equal to the priority of the second intent, the first network element determines to suspend the second intent.
[0163] In a possible implementation manner, the first network element releases resources of the second intention and stops executing the second intention.
[0164] It should be noted that in this application, the second value of the second intention cannot be modified and the priority of the second intention is lower than the priority of the first intention, and the second intention is suspended as an example. The first value of the first intention cannot be modified and the priority of the first intention is lower than the priority of the second intention. The operation of suspending the first intention is similar and will not be repeated here for simplicity.
[0165] Case 2:
[0166] In the case where 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.
[0167] Thus, the first network element can determine whether to modify the first value or the second value according to the priority of the first intention and the priority of the second intention.
[0168] The result of the first network element determining whether the priority of the first intention is lower than or equal to the priority of the second intention includes the following two situations:
[0169] 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.
[0170] S103: The first network element determines a third value of the first intended target according to the first information.
[0171] The third value belongs to the first value range, and the third value does not conflict with the second value.
[0172] In a possible implementation manner, the first network element determines that the maximum value or the minimum value among the target values in the first value range that do not conflict with the second value is the third value.
[0173] In another possible implementation, the first network element determines a target value in the first value range that does not conflict with the second value, and determines the third value in the target value that does not conflict according to a preset rule or system information. For example, the system information includes the accuracy of bandwidth in the system or the bearer size.
[0174] For example, the second intention target corresponding to the second value is "ensuring that the average throughput of UEs in base station 1 is not higher than 8Mbps", and the first intention target corresponding to the first value is "ensuring that the average throughput of UEs in base station 1 is higher than 10Mbps". Assuming that it is determined to modify the first intention, the first value range of the first intention target indicated by the first information is [5,10].
[0175] If the system identifies the bandwidth with an accuracy of 1 Mbps, the first network element may determine that the third value is 7 Mbps, that is, the first intended target corresponding to the third value is "ensuring that the average throughput of UEs in base station 1 is higher than 7 Mbps."
[0176] If the accuracy of the system identifying bandwidth is 0.1 Mbps, the first network element may determine that the third value is 7.9 Mbps, that is, the first intended target corresponding to the third value is "ensuring that the average throughput of UEs in base station 1 is higher than 7.9 Mbps".
[0177] 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 target of the second intention, and the fourth value does not conflict with the first value.
[0178] Optionally, the first network element may also obtain a 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 in which the first information is obtained, and will not be described in detail herein.
[0179] Optionally, the first network element may also determine the fourth value according to the value range of the second intended target. The first network element may determine the fourth value according to the value range of the second intended target in a manner similar to determining the third value according to the first information, and for simplicity, it is not repeated here.
[0180] In a possible implementation, after the first network element determines the third value of the first intent target, the first network element may also send at least one of the following information to the second network element: an identifier of the first intent, state information of the first intent, and the third value. For example, the first network element may send the at least one of the above information to the second network element via an update message. The state information of the first intent is used to indicate that the state of the first intent is an activated state.
[0181] In another possible implementation, after the first network element determines the fourth value of the target of the second intent, the first network element may also send at least one of the following information to the second network element: an identifier of the second intent, state information of the second intent, and the fourth value. For example, the first network element may send the at least one of the above information to the second network element via an update message. The state information of the second intent is used to indicate that the state of the second intent is an activated state.
[0182] It should be noted that if neither the first intention nor the second intention is allowed to be modified, or the first intention and / or the second intention is allowed to be modified, but a non-conflicting target value cannot be determined based on the modification range of the target value, the first network element can preempt according to the priority of the first intention and the priority of the second intention. For example, if the priority of the first intention is lower, the execution of the first intention is suspended, and if the priority of the second intention is lower, the execution of the second intention is suspended. At this time, the first network element can also send update information to the second network element, and the update information includes an identifier of the intention to be suspended and status information for indicating the suspended execution, such as indicating that the status of the intention to be suspended is a conflicting state.
[0183] 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 of handling intention conflicts.
[0184] In the method 100 proposed in this embodiment, optionally, the following operations may also be included:
[0185] S104: The first network element obtains third information, where the third information is used to indicate that the first value is allowed to be modified to a third value.
[0186] 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.
[0187] It should be noted that the first value of the first intention target and the third information can be sent through the same message or through different messages.
[0188] Through step S104, the first network element can determine whether the first value of the first intended target is allowed to be modified according to the third information.
[0189] S105, the first network element sends fourth information to the second network element, and correspondingly, the second network element receives the fourth information from the first network element.
[0190] The fourth information is used to request to obtain a second intention target, where the second intention is an intention in an activated state.
[0191] The second network element may be an intent management network element.
[0192] For example, the first network element may send the fourth message to the second network element via an intention query request message. Alternatively, the fourth message may be an intention query request message.
[0193] In one possible implementation, when the first network element is an intent translation network element, the fourth information can be used to request a second value of a 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.
[0194] In another possible implementation, when the first network element is an intended execution network element, the fourth information can be used to request a 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.
[0195] It should be noted that, in the present application, the number of second intentions may be one or more, that is, there may be one or more second intentions in the system that conflict with the first value of the first intention target.
[0196] S106, the first network element receives fifth information from the second network element, and correspondingly, the second network element sends fifth information to the first network element.
[0197] The fifth information is used to indicate the second intended target.
[0198] That is to say, the second network element can send the second intention target of the second intention, that is, the second value of the second intention target or the second operation corresponding to the second value, to the first network element according to the fourth information.
[0199] Through step S105 and step S106, the first network element can obtain the second intention target, so that 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 activated state, which can improve the reliability of handling intention conflicts.
[0200] Figure 3 A schematic flow chart of a method 200 for processing intent conflicts by an intent translation network element is shown.
[0201] S201, an intent translation network element (an example of the first network element) receives a first value of a first intent target from an intent management network element (an example of the second network element), and correspondingly, the intent management network element sends the first value of the first intent target to the intent translation network element.
[0202] 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.
[0203] 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).
[0204] 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.
[0205] The first information is used to indicate the value range of the first intended target.
[0206] For example, the intent management network element may also send the first value of the first intent target to the intent translation network element via an intent translation request message (translateIntent).
[0207] It should be noted that the intent translation network element can determine, based on the first information, that the first value of the first intent target is allowed to be modified.
[0208] Optionally, in S203, the intent translation network element receives third information from the intent management network element, and correspondingly, the intent management network element sends the third information to the intent translation network element.
[0209] The third information is used to indicate that the first value is allowed to be modified.
[0210] For example, the intent management network element may also send the third information to the intent translation network element via an intent translation request message (translateIntent).
[0211] For example, the intent translation network element may determine whether the first value is allowed to be modified according to the third information.
[0212] Optionally, the intent management network element may obtain the first value, first information or third information of the first intent target from an implementIntent request message (implementIntent request) sent by the intent consumer to indicate the creation of the first intent.
[0213] Optionally, the intent management network element sends an intent implementation response message (implementIntent) of the first intent to the intent consumer.
[0214] 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, and correspondingly, the intent management network element receives a query intent schema request message corresponding to the first intent from the intent translation network element.
[0215] For example, the query intent pattern request message 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.
[0216] Optionally, the intent translation network element receives a first operation corresponding to an intent mode of the first intent and / or a first value of a first intent target from the intent management network element.
[0217] Optionally, the intent translation network element may perform a grammatical and semantic check on the first intent according to the intent model of the first intent obtained from the intent management network element.
[0218] Optionally, S204, the intent translation network element sends fourth information to the intent management network element, and correspondingly, the intent management network element receives the fourth information from the intent translation network element.
[0219] The fourth information is used to request to obtain a second intention target, where the second intention is an intention in an activated state.
[0220] For example, the intent translation network element may send the fourth information to the intent management network element via a query intent request message (queryIntent).
[0221] For example, the fourth information can be used to request the second value of the second intention target, that is, the current target value of the second intention target, and the second operation corresponding to the second value.
[0222] Optionally, S205, the intent translation network element receives fifth information from the intent management network element, and correspondingly, the intent management network element sends fifth information to the intent translation network element.
[0223] The fifth information is used to indicate the second intended target.
[0224] For example, the intent management network element may send the fifth information to the intent translation network element via a query intent reply message.
[0225] Optionally, the query reply message may also include an identifier of the second intent.
[0226] For example, the intent management network element may return relevant information of the requested second intent target to the intent translation network element according to the request of the fourth information.
[0227] S206 , the intent translation network element determines whether the first value of the first intent target and the second value of the second intent target are mutually exclusive.
[0228] The description of the mutual exclusion of the first value and the second value is similar to that described in method 100 and will not be repeated here for the sake of brevity.
[0229] If the intent translation network element determines that the first value and the second value are not mutually exclusive, the first intent under the first value may be executed.
[0230] It should be noted that, when the intent 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 intent target is allowed to be modified.
[0231] 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.
[0232] S207: The intent translation network element determines whether the second value of the second intent target is allowed to be modified.
[0233] 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 the description in method 100, and for the sake of simplicity, it is not repeated here.
[0234] The confirmation result of step S207 may include the following two situations:
[0235] Case 1: If the intent translation network element determines that the second value of the second intent target is not allowed to be modified, the intent translation network element executes step S208.
[0236] S208, the intent translation network element determines a third value of the first intent target of the first intent according to the first information.
[0237] The third value belongs to the first value range, and the third value does not conflict with the first value.
[0238] The manner in which the intent translation network element determines the third value of the first intent target of the first intent based on the first information is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0239] 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 executes step S209.
[0240] S209: 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.
[0241] The confirmation result of step S209 may include the following two situations:
[0242] 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.
[0243] The manner in which the intent translation network element determines the fourth value is similar to that described in method 100 and will not be described again for simplicity.
[0244] 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, the intent translation network element executes step S208, that is, the intent translation network element determines the third value of the first intent target of the first intent according to the first information.
[0245] The third value belongs to the first value range, and the third value does not conflict with the first value.
[0246] When the intent translation network element determines the third value of the first intent target based on the first information, or in other words, when the intent translation network element modifies the target value of the first intent target, the intent translation network element can send an intent context update message (intentContextUpdate) for updating the first intent to the intent management network element, and correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
[0247] The intent context update message for updating the first intent may include at least one of the following information: an identifier of the first intent, state information of the first intent, and a third value, wherein the state information of the first intent is used to indicate that the state of the first intent is an activated state.
[0248] When the intent translation network element determines the fourth value of the second intent target, or in other words, 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, and correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
[0249] The intent context update message for updating the second intent may include at least one of the following information: an identifier of the second intent, state information of the second intent, and a fourth value, wherein the state information of the second intent is used to indicate that the state of the second intent is an activated state.
[0250] It should be noted that, for the sake of clarity, the above description takes the example of the first value of the first intention target being allowed to be modified. In the present application, it may also include a scenario where the first intention is not allowed to be modified but the second intention is allowed to be modified. The implementation method is similar to that of the first intention being allowed to be modified but the second intention is not allowed to be modified. For the sake of simplicity, it will not be repeated here.
[0251] In addition, if neither the first intention nor the second intention is allowed to be modified, or if the first intention and / or the second intention is allowed to be modified but a non-conflicting target value cannot be determined based on the modification range of the target value, the intent translation network element can preempt based on the priority of the first intention and the priority of the second intention. The manner of preemption is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0252] 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 of handling intention conflicts.
[0253] Figure 4 A schematic flow chart of a method 300 for processing intent conflicts by an intent execution network element is shown.
[0254] S301, an intent execution network element (an example of a first network element) receives a first value of a first intent target from an intent translation network element (an example of a second network element).
[0255] 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.
[0256] For example, the intent translation network element may send the first value of the first intent target to the intent execution network element via an execute intent request message (executeIntent).
[0257] S302: The intention execution network element receives first information from the intention translation network element, and correspondingly, the intention translation network element sends the first information to the intention execution network element.
[0258] The first information is used to indicate the value range of the first intended target.
[0259] For example, the intent translation network element may also send the first information to the intent execution network element via an execution intent request message (executeIntent).
[0260] It should be noted that the intention execution network element can determine, based on the first information, that the first value of the first intention target is allowed to be modified.
[0261] Optionally, in S303, the intention execution network element receives third information from the intention translation network element, and correspondingly, the intention translation network element sends the third information to the intention execution network element.
[0262] The third information is used to indicate that the first value is allowed to be modified.
[0263] For example, the intent translation network element may also send the third information to the intent execution network element via an execution intent request message (executeIntent).
[0264] That is, the intent translation network element may also send third information indicating that the first value is allowed to be modified to the intent execution network element, so that the intent execution network element may also determine whether the first value is allowed to be modified according to the third information.
[0265] Optionally, the intent translation network element sends a first operation corresponding to the intent mode of the first intent and / or the first value of the first intent target, and a second operation corresponding to the intent mode of the second intent and / or the second value of the second intent target to the intent execution network element.
[0266] Among them, the manner in which the intent translation network element obtains the first operation corresponding to the intent mode of the first intent and / or the first value of the first intent target, and the second operation corresponding to the intent mode of the second intent and / or the second value of the second intent target can be similar to the manner in which it is obtained in method 200, and for the sake of simplicity, it will not be repeated here.
[0267] It should be noted that the intent translation network element can also obtain relevant information of the first intent and the second intent from the intent management network element itself, and this application does not specifically limit this.
[0268] S304, the intent execution network element determines whether a first operation corresponding to a first value of a first intent target of a first intent and a second operation corresponding to a second value of a second intent target of a second intent conflict with each other.
[0269] 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 and will not be repeated here for the sake of brevity.
[0270] 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, the first intent under the first value can be executed.
[0271] 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 operation that can be executed. That is to say, assuming that the operation corresponding to the first value of the first intent target of the first intent is operation A, operation B and operation C, and the operation being executed by the second intent is 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 the operation of the second intent is predefined to be executed first, then the first intent has no operation 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 based on 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 to indicate that the identifier of the first intent and the state of the first intent are in a conflicting 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 to indicate that the identifier of the second intent and the status of the second intent are in a conflicting state. It can also be used to send a release intent resource request message (releaseIntentResource) to the intent management network element to indicate the release of the resources of the second intent, and the release intent resource request message includes the identifier of the second intent.
[0272] In addition, the present 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 can also be determined whether to suspend the execution of the first intention based on the priority of the first intention and the priority of the second intention.
[0273] If the intended execution network element determines that a first operation corresponding to the first value conflicts with a second operation corresponding to the second value, and there is an executable operation between the first operation and the second operation,
[0274] S305, the intention execution network element determines the third value of the first intention target according to the first information.
[0275] The third value belongs to the first value range, and the third value does not conflict with the first value.
[0276] It should be noted that the third value may be the target value actually achieved after the intention execution unit executes an executable operation corresponding to the first intention, such as an operation that does not conflict with the second operation.
[0277] The manner in which the intention execution network element determines the third value of the first intention target of the first intention based on the first information is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0278] 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, and correspondingly, the intent management network element receives the intent context update message from the intent execution network element.
[0279] The intent context update message for updating the first intent may include at least one of the following information: an identifier of the first intent, state information of the first intent, and a third value, wherein the state information of the first intent is used to indicate that the state of the first intent is an activated state.
[0280] It should be noted that, for the sake of clarity, the above description takes the example of the first value of the first intention target being allowed to be modified. In the present application, it may also include a scenario where the first intention is not allowed to be modified but the second intention is allowed to be modified. The implementation method is similar to that of the first intention being allowed to be modified but the second intention is not allowed to be modified. For the sake of simplicity, it will not be repeated here.
[0281] In addition, if neither the first intention nor the second intention is allowed to be modified, or if the first intention and / or the second intention is allowed to be modified but a non-conflicting target value cannot be determined based on the modification range of the target value, the intention execution network element can preempt based on the priority of the first intention and the priority of the second intention. The manner of preemption is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0282] 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 of handling intention conflicts.
[0283] Figure 5 A schematic flow chart of another method 400 for processing intent conflicts by an intent translation network element is shown.
[0284] 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), and correspondingly, the intent management network element sends the first value of the first intent target to the intent translation network element.
[0285] 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.
[0286] 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).
[0287] S402, the intent translation network element receives third information from the intent management network element, and correspondingly, the intent management network element sends the third information to the intent translation network element.
[0288] The third information is used to indicate that the first value is allowed to be modified.
[0289] For example, the intent management network element may also send the third information to the intent translation network element via an intent translation request message (translateIntent).
[0290] 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 the implementIntent request message (implementIntent request) sent by the intent consumer to indicate the creation of the first intent.
[0291] Optionally, the intent management network element sends an intent implementation response message (implementIntent) of the first intent to the intent consumer.
[0292] Optionally, the intent translation network element sends a query intent mode request message (implementIntent) corresponding to the first intent to the intent management network element, and correspondingly, the intent management network element receives a query intent mode request message corresponding to the first intent from the intent translation network element.
[0293] For example, the query intent pattern request message 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.
[0294] Optionally, the intent translation network element receives a first operation corresponding to an intent mode of the first intent and / or a first value of a first intent target from the intent management network element.
[0295] Optionally, the intent translation network element may perform a grammatical and semantic check on the first intent according to the intent model of the first intent obtained from the intent management network element.
[0296] Optionally, in S403, the intent translation network element sends fourth information to the intent management network element, and correspondingly, the intent management network element receives the fourth information from the intent translation network element.
[0297] The fourth information is used to request to obtain a second intention target, where the second intention is an intention in an activated state.
[0298] For example, the intent translation network element may send the fourth information to the intent management network element via a query intent request message (queryIntent).
[0299] For example, the fourth information can be used to request the second value of the second intention target, that is, the current target value of the second intention target, and the second operation corresponding to the second value.
[0300] Optionally, in S404, the intent translation network element receives fifth information from the intent management network element, and correspondingly, the intent management network element sends fifth information to the intent translation network element.
[0301] The fifth information is used to indicate the second intended target.
[0302] For example, the intent management network element may send the fifth information to the intent translation network element via a query intent reply message.
[0303] Optionally, the query reply message may also include an identifier of the second intent.
[0304] For example, the intent management network element may return relevant information of the requested second intent target to the intent translation network element according to the request of the fourth information.
[0305] S405 , the intent translation network element determines whether a first value of a first intent target of a first intent and a second value of a second intent target of a second intent are mutually exclusive.
[0306] The description of the mutual exclusion of the first value and the second value is similar to that described in method 100 and will not be repeated here for the sake of brevity.
[0307] If the intent translation network element determines that the first value and the second value are not mutually exclusive, the first intent under the first value may be executed.
[0308] It should be noted that, when the intent translation network element obtains the third 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.
[0309] 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 S406.
[0310] S406: The intent translation network element determines whether the second value of the second intent target is allowed to be modified.
[0311] 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 the description in method 100, and for the sake of simplicity, it is not repeated here.
[0312] The determination result of step S406 includes the following two situations:
[0313] 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.
[0314] S407, the intent translation network element determines first information, where the first information is used to indicate a first value range of a first intent target.
[0315] The manner in which the intention translation network element determines the first information is similar to that described in method 100 and will not be described again for simplicity.
[0316] S408: The intent translation network element sends the first information to the intent management network element, and correspondingly, the intent management network element receives the first information from the intent translation network element.
[0317] The first information is used to indicate a first value range of the first intended target.
[0318] For example, the intent translation network element may send the first information to the intent management network element via a tolerance interval request message (toleranceIntervalRequest).
[0319] Thus, the intent management network element can send the first information to the intent consumer.
[0320] Optionally, the tolerance range request message also includes an identifier of the first intention.
[0321] The intent management network element can send the first information to the intent consumer, and 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 of accepting the first information value range to the intent management network element.
[0322] S409: The intent management network element determines a first value range to be accepted as indicated by the first information.
[0323] S410, the intent management network element sends sixth information to the intent translation network element, and correspondingly, the intent translation network element receives sixth information from the intent management network element.
[0324] The sixth information is used to indicate that the schematic management network element accepts the first value range indicated by the first information.
[0325] For example, the intent management network element may send the sixth information to the intent translation network element via a tolerance interval response message (toleranceIntervalResponse).
[0326] Optionally, the tolerance range reply message also includes an identifier of the first intention.
[0327] In the case that 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 the first value range indicated by the first information to the intent translation network element, so that the intent translation network element may redetermine a first value range and resend the first value range to the intent management network element, or the intent translation network element may suspend the execution of the first intent.
[0328] 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.
[0329] The third value range is used to indicate a value range of the first intended target that can be accepted by the intent translation network element.
[0330] The manner in which the intent translation network element determines the third value range is similar to the description in method 100 and will not be described herein for simplicity.
[0331] The intention translation network element sends the seventh information to the intention management network element, and correspondingly, the intention management network element receives the seventh information from the intention translation network element.
[0332] The seventh information is used to indicate the third value range.
[0333] For example, the intent translation network element may send the seventh information to the intent management network element via a tolerance range request message.
[0334] The intent management network element may thus send the seventh information to the intent consumer.
[0335] Optionally, the tolerance request message also includes an identifier of the first intention.
[0336] The intent consumer can determine the first value range of the first intent target based on the seventh information. It can also be understood that the intent consumer cannot fully accept the first value range. 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.
[0337] The intent management network element sends first information to the intent translation network element, and correspondingly, the intent translation network element receives the first information from the intent management network element.
[0338] The first information is used to indicate a first value range of the first intended target.
[0339] For example, the intent management network element may send the first information to the intent translation network element via a tolerance range reply message.
[0340] Optionally, the tolerance range reply message also includes an identifier of the first intention.
[0341] Optionally, the first information is also used to indicate that the third value range of the first intended target is not accepted.
[0342] S411, the intent translation network element determines a third value of the first intent target of the first intent according to the first information.
[0343] The third value belongs to the first value range, and the third value does not conflict with the first value.
[0344] The manner in which the intent translation network element determines the third value of the first intent target of the first intent based on the first information is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0345] 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.
[0346] 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:
[0347] 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.
[0348] The manner in which the intent translation network element determines the fourth value is similar to that described in method 100 and will not be described again for simplicity.
[0349] 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, 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.
[0350] Optionally, when the intent translation network element determines the third value of the first intent target based on the first information, or 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, and correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
[0351] The intent context update message for updating the first intent may include at least one of the following information: an identifier of the first intent, state information of the first intent, and a third value, wherein the state information of the first intent is used to indicate that the state of the first intent is an activated state.
[0352] When the intent translation network element determines the fourth value of the second intent target, or in other words, when the intent translation network element modifies the target value of the second intent target, the intent translation network element can send an intent context update message for updating the second intent to the intent management network element, and correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
[0353] The intent context update message for updating the second intent may include at least one of the following information: an identifier of the second intent, state information of the second intent, and a fourth value, wherein the state information of the second intent is used to indicate that the state of the second intent is an activated state.
[0354] It should be noted that, for the sake of clarity, the above description takes the example of the first value of the first intention target being allowed to be modified. In the present application, it may also include a scenario where the first intention is not allowed to be modified but the second intention is allowed to be modified. The implementation method is similar to that of the first intention being allowed to be modified but the second intention is not allowed to be modified. For the sake of simplicity, it will not be repeated here.
[0355] In addition, if neither the first intention nor the second intention is allowed to be modified, or if the first intention and / or the second intention is allowed to be modified but a non-conflicting target value cannot be determined based on the modification range of the target value, the intent translation network element can preempt based on the priority of the first intention and the priority of the second intention. The manner of preemption is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0356] 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 of handling intention conflicts.
[0357] Figure 6 A schematic flow chart of another method 500 for processing intent conflicts by an intent execution network element is shown.
[0358] S501, an intent execution network element (an example of a first network element) receives a first value of a first intent target from an intent translation network element (an example of a second network element).
[0359] 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.
[0360] For example, the intent translation network element may send the first value of the first intent target to the intent execution network element via an execute intent request message (executeIntent).
[0361] 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.
[0362] The third information is used to indicate that the first value is allowed to be modified.
[0363] For example, the intent translation network element may also send the third information to the intent execution network element via an execution intent request message (executeIntent).
[0364] Optionally, the intent translation network element sends a first operation corresponding to the intent mode of the first intent and / or the first value of the first intent target, and a second operation corresponding to the intent mode of the second intent and / or the second value of the second intent target to the intent execution network element.
[0365] Among them, the manner in which the intent translation network element obtains the first operation corresponding to the intent mode of the first intent and / or the first value of the first intent target, and the second operation corresponding to the intent mode of the second intent and / or the second value of the second intent target can be similar to the manner in which it is obtained in method 200, and for the sake of simplicity, it will not be repeated here.
[0366] It should be noted that the intent translation network element can also obtain relevant information of the first intent and the second intent from the intent management network element itself, and this application does not specifically limit this.
[0367] S503, the intent execution network element determines whether a first operation corresponding to a first value of a first intent target of a first intent and a second operation corresponding to a second value of a second intent target of a second intent conflict with each other.
[0368] 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 and will not be repeated here for the sake of brevity.
[0369] 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, the first intent under the first value can be executed.
[0370] It should be noted that when the intended execution network element detects whether the first operation and the second operation conflict, there may be no operation that can be executed. The corresponding operation method may be similar to the description in method 300. For the sake of simplicity, it will not be repeated here.
[0371] In addition, the present 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 can also be determined whether to suspend the execution of the first intention based on the priority of the first intention and the priority of the second intention.
[0372] It should be noted that, when the intent execution network element obtains the third information, it can determine that when the first operation corresponding to the first value and the second operation corresponding to the second value conflict, the first value of the first intent target is allowed to be modified.
[0373] If the intended execution network element determines that the first operation corresponding to the first value and the second operation corresponding to the second value conflict, in one possible implementation, the intended execution network element executes step S504.
[0374] S504, the intention execution network element determines first information, where the first information is used to indicate a first value range of a first intention target.
[0375] The manner in which the intended execution network element determines the first information is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0376] S505, the intent execution network element sends the first information to the intent management network element (an example of the second network element), and correspondingly, the intent management network element receives the first information from the intent execution network element.
[0377] The first information is used to indicate a first value range of the first intended target.
[0378] For example, the intent execution network element may send the first information to the intent management network element via a tolerance interval request message (toleranceIntervalRequest).
[0379] Thus, the intent management network element can send the first information to the intent consumer.
[0380] Optionally, the tolerance range request message also includes an identifier of the first intention.
[0381] The intended consumer may determine whether to accept the first value range indicated by the first information. If the intended consumer accepts the first value range indicated by the first information, the intended consumer may send indication information of accepting the first information value range to the intent management network element.
[0382] S506: The intent management network element determines a first value range to be accepted as indicated by the first information.
[0383] S507, the intent management network element sends sixth information to the intent execution network element, and correspondingly, the intent execution network element receives sixth information from the intent management network element.
[0384] The sixth information is used to indicate that the schematic management network element accepts the first value range indicated by the first information.
[0385] For example, the intent management network element may send the sixth information to the intent translation network element via a tolerance interval response message (toleranceIntervalResponse).
[0386] Optionally, the tolerance range reply message also includes an identifier of the first intention.
[0387] In the case that 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 the first value range indicated by the first information to the intent execution network element, so that the intent execution network element may redetermine a first value range and resend the first value range to the intent management network element, or the intent execution network element may suspend the execution of the first intent.
[0388] If the intention execution network element determines that the second value of the second intention target is not allowed to be modified, in another possible implementation, the intention execution network element determines a third value range of the first intention target.
[0389] The third value range is used to indicate the value range of the first intended target that the schematic execution network element can accept.
[0390] The manner in which the intention execution network element determines the third value range is similar to the description in method 100, and for the sake of simplicity, it will not be repeated here.
[0391] The intent execution network element sends the seventh information to the intent management network element, and correspondingly, the intent management network element receives the seventh information from the intent execution network element.
[0392] The seventh information is used to indicate the third value range.
[0393] For example, the intent execution network element may send the seventh information to the intent management network element via a tolerance range request message.
[0394] The intent management network element may thus send the seventh information to the intent consumer.
[0395] Optionally, the tolerance request message further includes an identifier of the first intention.
[0396] The intent consumer can determine the first value range of the first intent target based on the seventh information. It can also be understood that the intent consumer cannot fully accept the first value range. 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.
[0397] The intent management network element sends first information to the intent execution network element, and correspondingly, the intent execution network element receives the first information from the intent management network element.
[0398] For example, the intent management network element may send the first information to the intent execution network element via a tolerance range reply message.
[0399] Optionally, the tolerance range reply message also includes an identifier of the first intention.
[0400] The first information is used to indicate a first value range of the first intended target.
[0401] Optionally, the first information is also used to indicate that the third value range of the first intended target is not accepted.
[0402] S508, the intention execution network element determines the third value of the first intention target of the first intention based on the first information.
[0403] The third value belongs to the first value range, and the third value does not conflict with the first value.
[0404] The manner in which the intention execution network element determines the third value of the first intention target of the first intention based on the first information is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0405] Optionally, when the intent execution network element determines the third value of the first intent target based on the first information, or when the intent execution network element modifies the target value of the first intent target, the intent execution network element may send an intent context update message (intentContextUpdate) for updating the first intent to the intent management network element, and correspondingly, the intent management network element receives the intent context update message from the intent execution network element.
[0406] The intent context update message for updating the first intent may include at least one of the following information: an identifier of the first intent, state information of the first intent, and a third value, wherein the state information of the first intent is used to indicate that the state of the first intent is an activated state.
[0407] It should be noted that, for the sake of clarity, the above description takes the example of the first value of the first intention target being allowed to be modified. In the present application, it may also include a scenario where the first intention is not allowed to be modified but the second intention is allowed to be modified. The implementation method is similar to that of the first intention being allowed to be modified but the second intention is not allowed to be modified. For the sake of simplicity, it will not be repeated here.
[0408] In addition, if neither the first intention nor the second intention is allowed to be modified, or if the first intention and / or the second intention is allowed to be modified but a non-conflicting target value cannot be determined based on the modification range of the target value, the intention execution network element can preempt based on the priority of the first intention and the priority of the second intention. The manner of preemption is similar to that described in method 100 and will not be repeated here for the sake of simplicity.
[0409] 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 of handling intention conflicts.
[0410] Figure 7 and Figure 8 A schematic diagram of the structure of a possible communication device provided in 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 embodiment, and thus can also achieve the beneficial effects possessed by the above method embodiment. In an embodiment of the present application, the communication device can be the first network element, the second network element, and can also be a module (such as a chip) applied to the first network element and the second network element.
[0411] like Figure 7 As shown, the communication device 900 includes a processing unit 910 and a transceiver unit 920. The communication device 900 is used to implement the above Figure 2 Alternatively, the communication device 900 may include a method for implementing the above Figure 2 In the method embodiment shown in , a module for any function or operation of the first network element or the second network element may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
[0412] When the communication device 900 is used to implement Figure 2When the function of the first network element in the method embodiment shown is performed, the transceiver unit 920 is used to obtain a first value of the first intention target, which conflicts with the second value of the second intention target, and 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; the processing unit 920 is used to obtain first information, and the first information is used to indicate a first value range of the first intention target. The processing unit 920 is also used to determine a third value of the first intention target based on the first information, and the third value belongs to the first value range, and the third value does not conflict with the second value.
[0413] Therefore, 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 of handling intention conflicts.
[0414] Optionally, when the communication device 900 is used to implement Figure 2 When the function of the first network element in the method embodiment shown is performed, the transceiver unit 920 is also used to obtain second information, and 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.
[0415] Therefore, in the present application, when both the first intention target and the second intention target can 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 based on the priority of the first intention and the priority of the second intention, thereby further improving the flexibility of handling intent conflicts.
[0416] Optionally, when the communication device 900 is used to implement Figure 2 When the function of the first network element in the method embodiment shown is performed, the processing unit 920 is also used to determine that the second value of the second intended target is not allowed to be modified.
[0417] Therefore, 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, then modify the first value. If the second value of the second intention target is allowed to be modified, then it can be determined based on the priority of the first intention and the priority of the second intention whether to modify the first value of the first intention target or the second value of the second intention target, thereby further improving the flexibility of handling intention conflicts.
[0418] Optionally, when the communication device 900 is used to implement Figure 2When the function of the first network element in the method embodiment shown is performed, the processing unit 920 is also used to release the resources of the second intention, and the priority of the first intention is higher than the priority of the second intention.
[0419] Therefore, 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 waste of resources.
[0420] Optionally, when the communication device 900 is used to implement Figure 2 When the function of the first network element in the method embodiment shown is performed, the transceiver unit 920 is further used 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.
[0421] Therefore, in the present application, the first network element can determine whether the first value is allowed to be modified based on the third information, so that when the first value and the second value conflict, the first network element can choose to modify the first value, or determine the third value of the first intended target, thereby improving the flexibility of handling intent conflicts.
[0422] Optionally, when the communication device 900 is used to implement Figure 2 When the function of the first network element in the method embodiment shown is performed, the transceiver unit 920 is specifically used to receive the first information from the second network element, or the processing unit 920 is specifically used to determine the first information.
[0423] Therefore, in the present application, the first network element can determine the first information, that is, the first value range of the first intention target, by itself, or obtain the first value range from the second network element, thereby further improving the flexibility of handling intention conflicts.
[0424] Optionally, when the communication device 900 is used to implement Figure 2 When the function of the first network element in the method embodiment shown is performed, the transceiver unit 920 is also used to send 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 activated state; the transceiver unit 920 is also used to receive fifth information from the second network element, and the fifth information is used to indicate the second intention target.
[0425] Therefore, in the present application, the second intention may be an intention in an activated state, and the first network element may determine whether the first value of the first intention target conflicts with the target value of the intention in the activated state, thereby improving the reliability of handling intention conflicts.
[0426] Optionally, when the communication device 900 is used to implement Figure 2When the function of the first network element in the method embodiment shown is performed, the transceiver unit 920 is also used to send the first information to the second network element, and the transceiver unit 920 is also used to receive 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.
[0427] Therefore, in the present 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 based on the user's needs. If the second network element can accept the first value range, the first network element can determine the third value based on the first value range, thereby ensuring that the user's needs are met.
[0428] Optionally, when the communication device 900 is used to implement Figure 2 When the function of the first network element in the method embodiment shown is performed, the processing unit 920 is specifically used to determine that the maximum value or the minimum value among the target values in the first value range that do not conflict with the second value is the third value.
[0429] Therefore, in the present 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 therein as the third value of the first intention target to improve the performance of the system in executing the first intention.
[0430] When the communication device 900 is used to implement Figure 2 When the function of the second network element in the method embodiment shown is performed, the transceiver unit 920 is used to send a first information, and the first information is used to indicate a first value range of the first intended target. The first information is also used to determine a third value of the first intended target, and the third value belongs to the first value range. The third value does not conflict with the second value of the second intended target. The first intention target is used to indicate the target value expected to be achieved by the first intention, and the second intention target is used to indicate the target value expected to be achieved by the second intention. The transceiver unit 920 is also used to send a third information to the first network element, and the third information is used to indicate that the first value of the first intention target is allowed to be modified to the third value, and the first value conflicts with the second value.
[0431] Therefore, in the present application, when both the first intention target and the second intention target can 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 based on the priority of the first intention and the priority of the second intention, thereby further improving the flexibility of handling intent conflicts.
[0432] Optionally, when the communication device 900 is used to implement Figure 2When the function of the second network element in the method embodiment shown is performed, the transceiver unit 920 is also used to send second information to the first network element, and 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.
[0433] For more detailed description of the processing unit 910 and the transceiver unit 920, please refer to Figure 2 The relevant description in the method embodiment shown is directly obtained and will not be repeated here.
[0434] like Figure 8 As 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 is understood that the interface circuit 1020 can be a transceiver or an input-output interface. Optionally, the communication device 1000 may also include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute instructions or storing data generated after the processor 1010 executes instructions.
[0435] When the communication device 1000 is used to implement Figure 2 When the method is shown, the processor 1010 is used to implement the functions of the above-mentioned processing unit 1010, and the interface circuit 1020 is used to implement the functions of the above-mentioned transceiver unit 1020.
[0436] When the communication device 1000 is used to implement Figure 2 When the method shown is performed, 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 is understood that the interface circuit 1020 can be a transceiver or an input-output interface. Optionally, the communication device 1000 may also include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute instructions or storing data generated after the processor 1010 executes instructions.
[0437] When the communication device 1000 is used to implement Figure 2 When the method is shown, the processor 1010 is used to implement the functions of the above-mentioned processing unit 1010, and the interface circuit 1020 is used to implement the functions of the above-mentioned transceiver unit 1020.
[0438] When the above communication device is a chip applied to the first network element, the first network element chip implements the function of the first network element in the above method embodiment. 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 to the first network element by the network device; 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 to the second network element by the first network element.
[0439] When the above communication device is a chip applied to a second network element, the second network element chip implements the function of the second network element in the above method embodiment. 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.
[0440] It is understandable that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0441] In the embodiments of the present application, the memory may be a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to a 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. In addition, the ASIC may be located in a network device or a terminal device. Of course, the processor and the storage medium may also be present in a network device or a terminal device as discrete components.
[0442] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present application is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal device, or other programmable device. The computer program or instruction 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 a computer can access or a data storage device such as a server that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a tape; it may also be an optical medium, such as a DVD; it may also be a semiconductor medium, such as a solid state disk (SSD).
[0443] In the various embodiments of the present application, unless otherwise specified or provided for in any logical conflict, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.
[0444] It should be understood that in the embodiments of the present application, the numbers "first", "second"... are only for distinguishing different objects, such as distinguishing different network devices, and do not constitute a limitation on the scope of the embodiments of the present application. The embodiments of the present application are not limited to this.
[0445] It should also be understood that in the present application, "when", "if" and "if" all mean that the network element will take corresponding actions under certain objective circumstances, and do not limit the time, nor do they require the network element to have a judgment action when implementing it, nor do they mean that there are other limitations.
[0446] It should also be understood that in each embodiment of the present application, "A corresponds to B" 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 determining B only according to A, and B can also be determined according to A and / or other information.
[0447] It should also be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0448] The meaning of expressions similar to "the project includes one or more of the following: A, B, and C" in this application, unless otherwise specified, generally means that the project can be any 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 is an example of three elements, A, B and C, to illustrate the optional items of the project. When it is expressed as "the project includes at least one of the following: A, B, ..., and X", that is, when there are more elements in the expression, the items that can be applied to the project can also be obtained according to the above rules.
[0449] It is understood that the various numbers involved in the embodiments of the present application are only for the convenience of description and are not used to limit the scope of the embodiments of the present application. The size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic.
Claims
1. A method for processing an intention, characterized in that, The method comprises: The 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 expected to be achieved by the first intention, and the second intention target is used to indicate a target value expected to be achieved by the second intention; The first network element acquires first information, where the first information is used to indicate a first value range of the first intended target; The first network element determines a third value of the first intended target based on the first information, the third value belongs to the first value range, and the third value does not conflict with the second value.
2. The method according to claim 1, characterized in that The method further comprises: The first network element obtains 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.
3. The method according to claim 1, characterized in that The method further comprises: The first network element determines that the second value of the second intended target is not allowed to be modified.
4. The method according to claim 3, characterized in that The method further comprises: The first network element releases 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 comprises: The first network element obtains third information, where 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 obtains the 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.
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 intended target includes: a first operation corresponding to the first value conflicts with a second operation corresponding to the second value, or the first value and the second value are mutually exclusive.
8. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The first network element sends fourth information to the second network element, where the fourth information is used to request to obtain the second intention target, where the second intention is an intention in an activated state; The first network element receives fifth information from the second network element, where the fifth information is used to indicate the second intended target.
9. The method according to claim 6, characterized in that In a case where 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, where 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, according to the first information, a third value of the first intended target, where the third value belongs to the first value range, including: The first network element determines that the maximum value or the minimum value among the target values in the first value range that does not conflict with the second value is the third value.
11. A method for processing an intention, characterized in that The method comprises: The 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 intention target, and the first information is further used to determine a third value of the first intention target, where the third value belongs to the first value range, and the third value does not conflict with the second value of the second intention target, where 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 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.
12. The method according to claim 11, characterized in that The method further comprises: 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 intention target, and the priority of the first intention is lower than or equal to the priority of the second intention.
13. A device for processing intention, characterized in that The device comprises a transceiver unit and a processing unit. The transceiver unit is used to obtain 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 expected to be achieved by the first intention, and the second intention target is used to indicate a target value expected to be achieved by the second intention; The processing unit is used to obtain first information, where the first information is used to indicate a first value range of the first intended target; The processing unit is further used to determine a third value of the first intended target based on the first information, the third value belongs to the first value range, and the third value does not conflict with the second value.
14. The device according to claim 13, characterized in that The transceiver unit is further used 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.
15. The device according to claim 13, characterized in that The processing unit is further used to determine that the second value of the second intention target is not allowed to be modified.
16. The device according to claim 15, characterized in that The processing unit is further used to release the resources of the second intent, and the priority of the first intent is higher than the priority of the second intent.
17. The device according to any one of claims 13 to 16, characterized in that The transceiver unit is further used 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.
18. The device according to any one of claims 13 to 16, characterized in that The transceiver unit is specifically configured to receive the first information from a second network element; or The processing unit is specifically used to determine the first information.
19. The device according to any one of claims 13 to 16, characterized in that The conflict between the first value and the second value of the second intended target includes: a first operation corresponding to the first value conflicts with a second operation corresponding to the second value, or the first value and the second value are mutually exclusive.
20. The device according to any one of claims 13 to 16, characterized in that The transceiver unit is further used to send fourth information to the second network element, where the fourth information is used to request to obtain the second intention target, where the second intention is an intention in an activated state, It is also used to receive fifth information from the second network element, where the fifth information is used to indicate the second intended target.
21. The device according to claim 18, characterized in that In the case where the processing unit is specifically configured to determine the first information, The transceiver unit is further configured to send the first information to the second network element. It is also used 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.
22. The device according to any one of claims 13 to 16, characterized in that The processing unit is specifically configured to determine a maximum value or a minimum value among target values in the first value range that do not conflict with the second value as the third value.
23. A device for processing intention, characterized in that The device comprises a transceiver unit, The transceiver unit is used to send first information to the first network element, the first information is used to indicate a first value range of a first intention target, the first information is also used to determine a third value of the first intention target, the third value belongs to the first value range, the third value does not conflict with the second value of the second intention target, the first intention target is used to indicate a target value expected to be achieved by the first intention, and the second intention target is used to indicate a target value expected to be achieved by the second intention, It is also used 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.
24. The device according to claim 23, characterized in that The transceiver unit is also used to send second information to the first network element, 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.
25. A processing device, characterized in that: The device comprises at least one processor, wherein 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.
26. A processing device, characterized in that The device comprises at least one processor, wherein 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 claim 11 or 12.
27. A computer-readable storage medium, characterized in that: The invention comprises a computer program which, when being run on a computer, causes the computer to execute the method according to any one of claims 1 to 12.
28. A computer program product, characterized in that The invention comprises a computer program which, when being run on a computer, causes the computer to execute the method according to any one of claims 1 to 12.
29. A chip system, characterized in that: It comprises: a processor, used to call and run a computer program from a memory, so that a communication device equipped with the chip system executes the method as claimed in any one of claims 1 to 12.
Citation Information
Patent Citations
Management method, device and system of wireless intention driven network
CN111277442A