WO2022247611A1 - Method and apparatus for processing intention - Google Patents

Method and apparatus for processing intention Download PDF

Info

Publication number
WO2022247611A1
WO2022247611A1 PCT/CN2022/091395 CN2022091395W WO2022247611A1 WO 2022247611 A1 WO2022247611 A1 WO 2022247611A1 CN 2022091395 W CN2022091395 W CN 2022091395W WO 2022247611 A1 WO2022247611 A1 WO 2022247611A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
intent
network element
information
intention
Prior art date
Application number
PCT/CN2022/091395
Other languages
French (fr)
Chinese (zh)
Inventor
李业兴
李贤明
于益俊
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022247611A1 publication Critical patent/WO2022247611A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Definitions

  • the present application relates to the field of wireless communications, and more particularly, to a method and apparatus for processing intents.
  • users can adopt a cognitive network management system that determines the behavior control mode based on the direction of observation.
  • the system uses artificial intelligence (AI) technology and context-aware strategies to adjust the services provided according to changes in user needs, environmental conditions, and business goals. Therefore, the system can help users automate work, thereby reducing operating expenses and improving networks. use and maintenance.
  • AI artificial intelligence
  • the present application provides a method and device for processing intents, which can improve the flexibility of processing intent conflicts.
  • a method for processing an intent may be executed by a first network element or a chip in the first network element, and the method includes: the first network element acquires a first value of a first intent target, the The first value conflicts with the second value of the second intention 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; A 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 according to the first information, and the first The three values belong to the first value range, and the third value does not conflict with the second value.
  • the first network element determines the third value of the first intended target according to the first information, which may 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.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • the method further includes: the first network element acquires second information, where the second information is used to indicate a second value range of the second intended target, The priority of the first intent is lower than or equal to the priority of the second intent.
  • the acquisition by the first network element of the second value range of the target of the second intent may be understood as allowing the second value of the second intent to be modified.
  • the first network element can determine according to the priority of the first intention and the priority of the second intention that it is the first intention to modify the first intention object.
  • the method further includes: the first network element determines that the second value of the second intended target is not allowed to be modified.
  • the first network element can determine whether the second value of the second intended object is allowed to be modified, and then determine whether to modify the first value of the first intended object, if the second value of the second intended object is not allowed is modified, then modify the first value, if the second value of the second intent target is allowed to be modified, it can be determined according to the priority of the first intent and the priority of the second intent that the first value of the first intent target is to be modified, The second value of the second intent target is also modified, so that the flexibility of processing intent conflicts can be further improved.
  • the method includes: the first network element releases the resource of the second intent, and the priority of the first intent is higher than the priority of the second intent.
  • the first network element can release the resources of the second intention, thereby avoiding unnecessary waste of resources.
  • the first network element acquires third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.
  • the first network element can determine whether the first value is allowed to be modified according to the third information, so that when the first value conflicts with the second value, the first network element can choose to modify the first value, or is the third value that determines the target of the first intent, thus increasing the flexibility in handling intent conflicts.
  • the acquiring the first information by the first network element includes: the first network element receives the first information from the second network element, or the first network element The first information is determined.
  • the first network element can determine the first information by itself, that is, the first value range of the first intended target, and can also obtain the first value range from the second network element, thereby further improving Flexibility in dealing with conflicting intent.
  • the conflict between the first value and the second value of the second intent includes: the first operation corresponding to the first value and the second operation corresponding to the second value Operation conflicts, or the first value and the second value are mutually exclusive.
  • the conflict between the first value and the second value may mean that the first value and the second value are mutually exclusive during the intent translation process, or that the first operation and the second operation conflict during the intent execution process, so that
  • the technical solutions provided in this application can be applied to various scenarios of conflicting intentions.
  • the method further includes: the first network element sends fourth information to the second network element, where the fourth information is used to request to obtain the second intended target , the second intention is an intention in an active state; the first network element receives fifth information from the second network element, and the fifth information is used to indicate a target of the second intention.
  • the second intent may be the intent in the active state
  • the first network element may determine whether the first value of the target of the first intent conflicts with the target value of the intent in the active state, thereby improving the processing intent conflict reliability.
  • the method when the first network element determines the first information, the method further includes: the first network element sends the first network element to the second network element Information; the first network element receives sixth information from the second network element, where the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
  • the first network element may send the first information to the second network element, so that the second network element Whether the first value range can be accepted can be determined according to user requirements, and if the second network element can accept the first value range, the first network element can determine a third value according to the first value range, thereby being able to Ensure that the needs of users are met.
  • the first network element determines a third value of the first intended target according to the first information, and the third value belongs to the first value range, including : The first network element determines that the third value is the maximum value or the minimum value among target values that do not conflict with the second value in the first value range.
  • the first value range may include multiple target values that do not conflict with the second value, and the first network element may select the maximum or minimum value among them as the third value of the first intended target, Improve the performance of the system to execute the first intent.
  • a method for processing an intent may 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, the The first information is used to indicate the first value range of the first intended target, the first information is also used to determine a third value of the first intended target, the third value belongs to the first value range, and the third The value does not conflict with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve;
  • the second network element sends third information to the first network element, 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.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • the method further includes: the second network element sending second information to the first network element, where the second information is used to indicate the second intended target In the second value range, the priority of the first intent is lower than or equal to the priority of the second intent.
  • a method for processing an intent may 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 The first information is used to indicate the first value range of the first intended target, the first information is also used to determine a third value of the first intended target, the third value belongs to the first value range, and the third The 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 the target value that the first intent expects to achieve, and the second intent target is used to indicate the second intent expects to achieve Target value: the second network element determines to accept the first value range indicated by the first information.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • the method further includes: the second network element sending sixth information to the first network element, where the sixth information is used to instruct the second network element to accept The first value range indicated by the first information.
  • the method further includes: the second network element sending second information to the first network element, where the second information is used to indicate the second intended target In the second value range, the priority of the first intent is lower than or equal to the priority of the second intent.
  • the method further includes: the second network element sending third information to the first network element, where the third information is used to indicate the The first value is allowed to be modified to the third value, the first value conflicts with the second value.
  • a device for processing intentions including a processing unit and a transceiver unit, the transceiver unit is used to obtain a first value of a first intention target, and the first value conflicts with a second value of a second intention 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 processing unit is used to obtain the first information, and the first information is used In order to indicate the first value range of the first intended object, the processing unit is further configured to determine a third value of the first intended object according to the first information, the third value belongs to the first value range, and the third value Three values do not conflict with this second value.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • the transceiver unit is further configured to obtain second information, the second information is used to indicate a second value range of the second intention target, and the first intention has a priority lower than or equal to the priority of this second intent.
  • the processing unit is further configured to determine that the second value of the second intended target is not allowed to be modified.
  • the processing unit is further configured to release resources of the second intent, and the priority of the first intent is higher than the priority of the second intent.
  • the transceiving unit is further configured to acquire third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.
  • the transceiving unit is specifically configured to receive the first information from the second network element, or the processing unit is specifically configured to determine the first information.
  • the conflict between the first value and the second value of the second intent includes: the first operation corresponding to the first value and the second operation corresponding to the second value Operation conflicts, or the first value and the second value are mutually exclusive.
  • the transceiver unit is further configured to send fourth information, where the fourth information is used to request acquisition of the second intent target, and the second intent is an active
  • the transceiving unit is also used to receive fifth information, where the fifth information is used to indicate the second intended target.
  • the transceiving unit is further configured to send the first information to the second network element, and the transceiving unit is further configured to receive sixth information from the second network element , the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
  • the processing unit is specifically configured to determine that the maximum value or the minimum value of the target values that do not conflict with the second value in the first value range is the first value triple value.
  • the device includes a transceiver unit configured to send first information, the first information is used to indicate a first value range of a first intention target, and the first information It is also used to determine a third value of the first intended target, the third value belongs to the first value range, the third value does not conflict with the second value of the second intended target, and the first intended target is used for Indicating the target value expected to be achieved by the first intention, the second intention target is used to indicate the target value expected to be achieved by the second intention; the transceiver unit is further configured to send third information to the first network element, the first The third information is used to indicate that the first value of the first intended object is allowed to be modified to the third value, and the first value conflicts with the second value.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • the transceiver unit is further configured to send second information to the first network element, where the second information is used to indicate a second value of the second intended target scope, the priority of the first intent is lower than or equal to the priority of the second intent.
  • the device includes a transceiver unit, the transceiver unit is used to receive first information, the first information is used to indicate the first value range of the first intention target, and the first information It is also used to determine a third value of the first intended target, the third value belongs to the first value range, the third value does not conflict with the second value of the second intended target, and the first intended target is used for indicating 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 processing unit is configured to determine the first value range that accepts the first information indication.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • the transceiver unit is further configured to send sixth information to the first network element, where the sixth information is used to instruct the second network element to accept the first information The first value range indicated.
  • the transceiving unit is further configured to send second information to the first network element, where the second information is used to indicate a second value of the second intended target scope, the priority of the first intent is lower than or equal to the priority of the second intent.
  • the transceiver unit is further configured to send third information to the first network element, where the third information is used to indicate that the first value of the first intended target allows is modified to the third value, the first value conflicts with the second value
  • a communication device may include a processing unit, a sending unit, and a receiving unit.
  • the sending unit and the receiving unit may also be transceiver units.
  • the processing unit may be a processor, and the sending unit and the receiving unit may be transceivers; the device may also include a storage unit, which may be a memory; the storage unit is used for storing An instruction, the processing unit executes the instruction stored in the storage unit, so that the first network element executes any one method of the first aspect to the third aspect.
  • the processing unit may be a processor, and the sending unit and 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 executes 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 outside the chip in the first network element (for example, a read-only memory, random access memory, etc.).
  • a communication device including a processor and an interface circuit, and the interface circuit is used to receive signals from other communication devices other than the communication device and transmit them to the processor or send signals from the processor
  • the processor is used to implement any method of the aforementioned first aspect to the third aspect through a logic circuit or executing code instructions.
  • a computer-readable storage medium in which a computer program or instruction is stored, and when the computer program or instruction is executed, any one of the aforementioned first to third aspects can be realized. method.
  • a computer program product including instructions is provided, and when the instructions are executed, any method of the aforementioned first aspect to the third aspect is implemented.
  • a computer program includes codes or instructions. When the codes or instructions are executed, the methods in any possible implementation manners of the aforementioned first aspect to the third aspect are implemented.
  • a twelfth aspect provides a chip system, which includes a processor and may further include a memory, configured to implement at least one method described in the foregoing first aspect to the third aspect.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • a communication system in a thirteenth aspect, includes the apparatus (such as a first network element and a second network element) according to any one of the fourth aspect to the sixth aspect.
  • the first network element may be an intent translation network element
  • the second network element may be an intent management network element
  • the first network element may be an intent execution network element
  • the second network element may be an intent management network element
  • the first network element may be an intent execution network element
  • the second network element may be an intent translation network element
  • the first network element may be a service provider, or an intention provider
  • the second network element may be a service consumer, or an intention consumer.
  • Fig. 1 is a schematic diagram of a system applying the processing intent provided by the embodiment of the present application.
  • Fig. 2 is a schematic flowchart of an example of processing intent conflicts provided by the embodiment of the present application.
  • Fig. 3 is a schematic flow chart of an example of intent translation network elements handling intent conflicts provided by an embodiment of the present application.
  • Fig. 4 is a schematic flow chart of an example of an intention execution network element handling an intention conflict provided by an embodiment of the present application.
  • Fig. 5 is a schematic flowchart of another example of intent translation network elements handling intent conflicts provided by the embodiment of the present application.
  • FIG. 6 is a schematic flow chart of another example of processing intent conflicts by an intent-executing network element provided by an embodiment of the present application.
  • FIG. 7 and FIG. 8 are schematic structural diagrams of a possible communication device provided by an embodiment of the present application.
  • the technical solution of this application can be applied to various types of network function virtualization (network function virtualization, NFV) systems, and the system can use standard formal language to integrate the current operator's business technical solutions, network construction solutions and network operation and maintenance methods It is described as patterns and strategies, and based on these patterns and strategies, technical solutions and construction plans are realized.
  • the technical solution of the present application can be applied to one or more of the following systems: wireless intent driven network (wireless intent driven network, wIDN) system, experiential networked intelligence (ENI) system, intent driven management service ( intent driven management service (IDMS) system or open network automation platform (open network automation platform, ONAP) system, etc.
  • An intent refers to the expectations of the acting system.
  • An intent can include one or more of the following: requirements, intent goals, and constraints.
  • Intent instance the object after instantiating the intent.
  • an intent can be replaced with an instance of an intent.
  • Intent expression an expression used to carry an intention, and the expression includes one or more of the following: intention action name, intention action attribute, intention action object name or intention action object attribute.
  • Intent expressions have specific syntax and semantics.
  • Intent goal used to indicate the target value that the intention needs to achieve.
  • Intent translation the process of converting an intent into an intent executable command or rule or sub-intent.
  • Intention execution issue the executable commands, sub-intents, and rules of the intent, and adjust the executable commands, sub-intents, and rules according to the network environment and the achievement of the intent.
  • Intention-executable commands A series of instructions formed by intentions through operations such as translation decisions.
  • Intent mode specifies the syntax and semantics of intent expressions.
  • the intent pattern may include one or more of the following: fields, value ranges of fields, types of fields, and hierarchical relationships between fields. For example, fields can be used to describe the type, name, or consumer of the intent schema.
  • Intent state includes activation state, conflict state, deactivation state or sleep state, etc.
  • the intention being in the active state can be understood as the intention being executed;
  • the intention being in the conflicting state can be understood as the intention conflicting with the intention in the system;
  • the intention being in the deactivated state can be understood as the intention not being executed;
  • the intention being in the sleeping state can be understood It is understood that the intended goal of the intention has been temporarily suspended due to long-term failure to achieve it.
  • Intent creation Create a new intent in the intent system and create a corresponding intent context.
  • Intention knowledge is the relevant parameters of the intent pattern stored in the intent knowledge base.
  • the above-mentioned relevant parameters may include one or more of the following: executable operations corresponding to the intent, entity identifiers of the intent, or entity types of the intent.
  • Intent operation the executable operation corresponding to the intent target.
  • the intent conflict may refer to a conflict between an intent that needs to be created and an active intent in the system.
  • FIG. 1 shows a schematic diagram of a system 100 suitable for processing intentions of the method provided by the embodiment of the present application.
  • the system 100 includes an intended consumption network element 110 and an intended provision network element 120 .
  • the intention providing network element may include an intention management network element 121 , an intention translation network element 122 , and an intention execution network element 123 .
  • the intended consumption network element 110 also called the intended consumer, is the intended consumer.
  • the intended consumption network element 110 may be an operation support system (operations support systems, OSS), a business support system (business support systems, BSS), an application (application, APP) or other user equipment.
  • the intended consumption network element 110 may be a service consumer or a management service (management service, MnS) network element, such as a network management system (network management system, NMS).
  • MnS management service
  • NMS network management system
  • the intent-consuming network element 110 can communicate with the intent-providing network element 120, for example, the intent-consuming network element 110 can send a request for creating or implementing an intent to the intent-providing network element 120.
  • the intention management network element 121 can be used for managing the intention mode, it can receive the request information from the intention consumption network element 110, and process the request information.
  • the intent management network element 121 may include an intent schema library, which is used to store intent schemas.
  • the intent management network element 121 may also include an intent instance library, through which the intent management network element 121 may obtain state information of an intent mode, an intent target, and an operation corresponding to the intent.
  • the intent translation network element 122 may 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 acquire the intent pattern from the intent management network element 121 , and check the syntax and semantics of the information provided by the intent consumption network element 110 .
  • the intent execution network element 123 may receive commands from the intent management network element 122 and the intent translation network element 121, and implement operations related to the intent.
  • systems with different processing intents may also include other network elements with corresponding functions.
  • 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 the intent knowledge
  • the intent knowledge base is used to store the intent knowledge.
  • the intent management network element may also include an intent pattern repository and an intent instance repository, where the intent pattern repository is used to store intent patterns, and the intent instance repository is used to store intents.
  • the ENI system may also include one or more of the following: an input function network element, an output function network element, an analysis function network element, and a decision function network element.
  • the input function network element may include a data collection network element and a normalization network element, which are used for receiving data from an external system and performing operations such as normalizing the data.
  • the output function network element may include an output network element and a denormalization network element, which are used to convert the system internal command into a format that can be processed by the external system and send it to the external system.
  • the analysis function network element can be used to sense and analyze the existing network state and predict the future network state.
  • the analysis function network element may include a knowledge management network element, a context awareness network element and a cognitive management network element.
  • the knowledge management network element can manage the intention knowledge
  • the context awareness network element can perceive and analyze the existing network status
  • the cognitive management network element can perform management analysis.
  • the aforementioned intent management network element and intent translation network element may be sub-network elements in the analysis function network element.
  • the decision-making function network element is used to generate new operation commands according to the policy target on the basis of awareness of the network state, arrange the operation commands, and send the operation commands to the output network element.
  • the decision-making function network element can include policy management network elements , a context-aware network element and a drive management network element, wherein the policy management network element is used to manage intent policies, the context-aware network element is used to sense and analyze network status, and the drive management network element is used to perform drive management of intent.
  • the intended consumption network element can be the network management system (network management system, NMS), the intended provision network element can be the equipment management system (element management system, EMS), the intention management network element, the intention translation network element and the intention execution
  • NMS network management system
  • EMS equipment management system
  • the intention management network element the intention translation network element
  • the intention execution A network element may be a sub-module intended to provide a network element.
  • the intent processing system when the intent consumer sends an intent creation request to the intent provider network element, if the intent conflicts with the active intent in the system, the system will compete according to the priority of the two intents , that is to say, the system will determine the intent with lower priority according to a certain mechanism, and suspend the intent with lower priority, and the number of intents that can be supported simultaneously in the system is small.
  • This application proposes an intention method, which can improve the flexibility of dealing with intention conflicts.
  • FIG. 2 shows an example of a schematic flow chart of the method 100 for processing intentions provided by the present application.
  • a first network element acquires a first value of a first intended target.
  • the first value conflicts with the second value of the second intention goal
  • the first intention goal is used to indicate the target value expected to be achieved by the first intention
  • the second intention goal is used to indicate the target value expected to be achieved by the second intention.
  • the first network element may be an intent translation network element or an intent execution network element.
  • the first network element may acquire the first value of the first intent target from an intent management network element; when the first network element is an intent execution network element, the first network element The first value of the first intent target may be acquired from an intent translation network element.
  • the conflict between the first value and the second value of the second intent includes: the first value and the second value are mutually exclusive, or the first operation corresponding to the first value corresponds to the second value The second operation conflicts.
  • 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.
  • 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 intended object corresponding to the first value and the second intended object corresponding to the second value cannot coexist.
  • the first intended goal corresponding to the first value is "guarantee that the average throughput rate of UEs in base station 1 is not higher than 8 Mbps”
  • the second intended goal corresponding to the second value is "guarantee that the average throughput rate of terminal equipment in base station 1 higher than 10Mbps" at this time the first value and the second value are mutually exclusive.
  • the first operation corresponding to the first value conflicts with the second operation corresponding to the second value.
  • the first operation corresponding to the first value can be understood as: the operation that needs to be performed to reach the first value, and the second operation corresponding to the second value It can be understood as: the operation that needs to be performed to reach the second value, and conflict can be understood as: the first operation and the second operation cannot be executed completely, and the first value and the second value cannot be achieved at the same time.
  • 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 8 Mbps”
  • there are three first operations corresponding to the first value which are:
  • operation A and operation a cannot be performed together, and operation B and operation b cannot be performed together.
  • operation C, operation a and operation b are performed separately, and the execution result is "the average throughput rate of the UE in base station 1 is 8.5 Mbps" , "Reduce the energy consumption of the base station by 30%", the result cannot reach the first value of the first intended goal.
  • the first operation corresponding to the first value conflicts with the second operation corresponding to the second value.
  • the conflict between the first operation corresponding to the first value and the second operation corresponding to the second value can also be understood as: at least one of the operations corresponding to the first value and the operation corresponding to the second value cannot be executed together.
  • the first value of the first intent cannot be satisfied after performing the operations that can be performed among the operations corresponding to the first value.
  • the first intent may be an intent that needs to be created, and the second intent is an active intent in the system, or the first intent is an active intent in the system, and the second intent is An intent needs to be created.
  • the present application takes the second intention as an intention in an active state in the system as an example.
  • the first network element acquires first information, where the first information is used to indicate a first value range of a first intended target.
  • the first value range may be a set or a value
  • the set may be a set composed of multiple discrete values, or a set composed of one or more segments of continuous values.
  • the first network element may acquire the first information in any of the following three ways:
  • 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.
  • the second network element may be an intention management network element; when the first network element is an intention execution network element, the second network element may be an intention translation network element or Intent to manage network elements.
  • the second network element may simultaneously send the first value of the first target of the first intention and the first information to the first network element, and the second network element may also divide the first information and the first value into The two messages are sent to the first network element, and the second network element can also only send the first information to the first network element, and the first network element can obtain the first information from the first value range in the first information according to preset rules. one value.
  • the first information may be obtained by the second network element from the intended consumer, that is to say, the first information may be determined by the intended consumer, for example, when the second network element is the intended
  • the intent management network element can obtain the first information from the intent creation or implementation request issued by the intent consumer, and when the second network element is an intent translation network element, the intent translation network element can also pass the intent management The network element obtains the first information identified by the intended consumer.
  • the first network element determines the third value range of the first intended target.
  • the third value range may be understood as the value range of the first intended target acceptable to the first network element.
  • the third value range may be a set or a value, and the set may be a set of multiple discrete values, or a set of one or more continuous values.
  • the first network element determines the third value range according to the second intended target or the current operating state of the system.
  • the first network element may determine the first intentional goal according to the achievable goal value The third value range of .
  • 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.
  • the seventh information is used to indicate the third value range.
  • the second network element determines the first information according to the seventh information, where the first information is used to indicate the first value range.
  • 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.
  • the second network element determines the first information according to the seventh information.
  • the second network element sends indication information for indicating the third value range to the intended consumer, and the intended consumer determines whether can accept the third value range, if the intended consumer accepts the third value range, the intended consumer sends information indicating acceptance of the third value range to the second network element, and the second network element can send
  • the third value range is determined as the first value range; if the intended consumer does not accept the third value range, the intended consumer sends information indicating the first value range to the second network element, so that the second The network element acquires first information used to indicate the first value range.
  • the first network element can obtain the first value range by negotiating with the second network element, or through negotiation with the intended consumer through the second network element.
  • the first network element first gives the second network element A suggested value range, the second network element feeds back a value range or value acceptable to the intended consumer to the first network element according to the suggested value range, if the first network element accepts the value fed back by the intended consumer value range or value, the first network element has acquired the first information.
  • the above is only an example of one negotiation.
  • the third value range can be re-determined and sent to the second network element , repeating the above negotiation process until the first network element obtains the first commonly accepted value range, or reaches a predetermined number of times of negotiation.
  • the first network element determines the first information.
  • the first network element determines the first information
  • the first network element may determine the first value range of the first intended target according to system preset conditions, or the first network element may determine the first value range of the first intended target according to the current
  • the operating conditions of the system, the load, or the goals to be achieved by the system determine the value range of the first intended goal, that is, the first information, which is not particularly limited in this application.
  • the first network element determines the first information, and when performing an executable operation, for example, an operation that does not conflict with the second operation, and cannot satisfy the first value of the first intention goal, The first network element may determine the first value range of the first intended target according to the achievable target value, that is, the first information.
  • the first network element when the first network element obtains the first information using method #3, that is, when the first network element determines the first information, the first network element sends the first information to the second network element, corresponding to Specifically, the second network element receives the first information from the first network element.
  • the second network element determines whether to accept the first value range indicated by the first information.
  • the second network element may send information indicating the first value range to the intended consumer according to the first information, and the intended consumer determines whether they can accept the first value range, if the intended consumer can accept the first value range
  • the first value range means that the consumer is intended to feed back information indicating that the first value range can be accepted to the second network element.
  • the second network element When the second network element accepts the first value range indicated by the first information, the second network element sends sixth information to the first network element, and correspondingly, the first network element receives the sixth information from the second network element Six information.
  • the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
  • the second network element may send the first network element to indicate 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 execution of the first intention.
  • the first network element determines whether the second value of the second intended object is allowed to be modified.
  • the first network element may determine whether the second intent is allowed to be modified according to displayed information.
  • the first network element acquires the second information.
  • the second information is used to indicate the second value range of the second intended target.
  • the acquisition of the second information by the first network element may also be understood as that the second intent target of the second intent is allowed to be modified, that is, the second information may also indicate that the second value of the second intent is allowed to be modified.
  • the manner in which the first network element acquires the second information is similar to the manner in which the first network element acquires the first information, and for simplicity, details are not repeated here.
  • the first network element may default that the second intent is not allowed to be modified.
  • the first network element can determine whether the second value of the second intended target is allowed to be modified, and if the second value is not allowed to be modified, the first The network element may execute step S103.
  • the system may choose to modify the first value or the second value, wherein, modifying the first value or modifying the second value may also be understood as the first network element re-determining a target value for the first intended target or the second intended target.
  • the confirmation result of the first network element determining whether the second value of the second intended object is allowed to be modified includes the following two situations:
  • the first network element determines whether to suspend the second value according to the priority of the first intention and the priority of the second intention. intention.
  • the first network element determines to suspend the second intent.
  • the first network element releases resources of the second intent, and stops executing the second intent.
  • the second value of the second intent cannot be modified, and the priority of the second intent is lower than that of the first intent, and the second intent is suspended as an example.
  • the first intent of the first intent A value cannot be modified, and the priority of the first intent is lower than that of the second intent.
  • the operation of suspending the first intent is similar, and for the sake of brevity, details are not repeated here.
  • the first network element determines whether the priority of the first intent is lower than or equal to the priority of the second intent.
  • the first network element may determine whether to modify the first value or to modify the second value according to the priority of the first intention and the priority of the second intention.
  • the first network element determines a third value of the first intended target according to the first information.
  • the third value belongs to the first value range, and the third value does not conflict with the second value.
  • the first network element determines that the third value is the maximum value or the minimum value among the target values that do not conflict with the second value in the first value range.
  • the first network element determines a target value that does not conflict with the second value in the first value range, and determines the second value among the target values that do not conflict according to preset rules or system information. triple value.
  • the system information includes the accuracy of the bandwidth in the system or the bearer size, etc.
  • the second intended goal corresponding to the second value is "guarantee that the average throughput rate of UEs in base station 1 is not higher than 8 Mbps”
  • the first intended goal corresponding to the first value is "guarantee that the average throughput rate of UEs in base station 1 is higher than 10Mbps”
  • the first value range of the first intent target indicated by the first information is [5,10].
  • the first network element may determine that the third value is 7 Mbps, that is, the first intended goal corresponding to the third value is "to ensure that the average throughput of UEs in base station 1 is higher than 7 Mbps".
  • the first network element can determine that the third value is 7.9 Mbps, that is, the first intended goal corresponding to the third value is "to ensure that the average throughput rate of UEs in base station 1 is higher than 7.9 Mbps ".
  • Case b If the priority of the first intent is higher than that of the second intent, the first network element may determine a fourth value of the second intent, and the fourth value does not conflict with the first value.
  • the first network element may also obtain the value range of the second intended target.
  • the manner in which the first network element obtains the value range of the second intended object may be similar to the manner in which the first information is obtained, and details are not repeated here.
  • the first network element may also determine the fourth value according to the value range of the second intended target.
  • the manner in which the first network element determines the fourth value according to the value range of the second intended target may be similar to the manner in which the third value is determined according to the first information, and details are not repeated here for simplicity.
  • the first network element may also send at least one of the following information to the second network element: the identifier of the first intention, State information for the first intent and a value for the third.
  • the first network element may send the foregoing at least one item of information to the second network element through an update message.
  • the state information of the first intention is used to indicate that the state of the first intention is an active state.
  • the first network element may also send at least one of the following information to the second network element: the target of the second intent ID, state information for the second intent, and a fourth value.
  • the first network element may send the foregoing at least one item of information to the second network element through an update message.
  • the state information of the second intent is used to indicate that the state of the second intent is an active state.
  • the A network element may perform preemption according to the priority of the first intent and the priority of the second intent. For example, if the priority of the first intent is low, the execution of the first intent is suspended, and if the priority of the second intent is low, the execution of the second intent is suspended.
  • the network element sends update information, where the update information includes an identifier of the suspended execution intent and status information for indicating the suspended execution, for example, indicating that the status of the suspended execution intent is a conflict state.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • the first network element acquires third information, where the third information is used to indicate that the first value is allowed to be modified to a third value.
  • the first network element when the first network element is an intent translation network element, the first network element may obtain the third information from an 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 an intent The translation network element obtains the third information.
  • first value of the first intent target and the third information may be sent through the same message, or may be sent through different messages.
  • the first network element may determine whether the first value of the first intended object is allowed to be modified according to the third information.
  • 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.
  • the fourth information is used to request to obtain the second intent target, and the second intent is an active intent.
  • the second network element may be an intent management network element.
  • the first network element may send the fourth message to the second network element through an intent query request message.
  • the fourth information may be an intent query request message.
  • the fourth information may be used to request to obtain the second value of the second intent target, so that the first network element may determine the first intent target Whether the first value of and the second value of the second intent target are mutually exclusive.
  • the fourth information may be used to request to obtain the second operation corresponding to the second value, so that the first network element may determine the first value Whether the corresponding first operation conflicts with the second operation corresponding to the second value.
  • the number of second intents may be one or more, that is to say, there may be one or more second intents in the system that conflict with the first value of the first intent target.
  • the first network element receives fifth information from the second network element, and correspondingly, the second network element sends the fifth information to the first network element.
  • the fifth information is used to indicate the second intended target.
  • the second network element may send the second intention object of the second intention to the first network element according to the fourth information, that is, the second value of the second intention object or the second operation corresponding to the second value.
  • 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 active state, and can improve the processing intention conflict reliability.
  • FIG. 3 shows a schematic flowchart of a method 200 for an intent translation network element to handle intent conflicts.
  • the intention translation network element receives the first value of the first intention target from the intention management network element (an example of the second network element), and correspondingly, sends the intention translation network element to the intention translation network element.
  • Element sends the first value of the first intent target.
  • the first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
  • 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).
  • intent translation request message (translateIntent).
  • the intention translation network element receives first information from the intention management network element, and correspondingly, the intention management network element sends the first information to the intention translation network element.
  • the first information is used to indicate the value range of the first intended target.
  • the intent management network element may also send the first value of the first intent target to the intent translation network element through an intent translation request message (translateIntent).
  • intent translation request message (translateIntent).
  • the intent translation network element may determine, according to the first information, that the first value of the first intent target is allowed to be modified.
  • the intention translation network element receives the third information from the intention management network element, and correspondingly, the intention management network element sends the third information to the intention translation network element.
  • the third information is used to indicate that the first value is allowed to be modified.
  • the intent management network element may also send the third information to the intent translation network element through an intent translation request message (translateIntent).
  • intent translation request message (translateIntent).
  • the intent translation network element may determine whether the first value is allowed to be modified according to the third information.
  • the intent management network element may obtain the first value, the first information or the third information of the first intent target from an add intent request message (implementIntent request) sent by the intent consumer to indicate creation of the first intent.
  • an add intent request message (implementIntent request) sent by the intent consumer to indicate creation of the first intent.
  • the intent management network element sends an intent implementation response message (implementIntent) of the first intent to the intent consumer.
  • intent implementation response message (implementIntent) of the first intent
  • 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 the query intent corresponding to the first intent from the intent translation network element Schema request message.
  • a query intent schema request message (retrieveIntentSchema) corresponding to the first intent to the intent management network element
  • the intent management network element receives the query intent corresponding to the first intent from the intent translation network element Schema request message.
  • the query intent pattern request message corresponding to the first intent may be used to request to acquire the intent pattern of the first intent and/or the first operation corresponding to the first value of the first intent target.
  • the intent translation network element receives the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target from the intent management network element.
  • the intent translation network element may check the syntax and semantics of the first intent according to the intent mode of the first intent obtained from the intent management network element.
  • the intention translation network element sends fourth information to the intention management network element, and correspondingly, the intention management network element receives the fourth information from the intention translation network element.
  • the fourth information is used to request to obtain the target of the second intent, and the second intent is an intent in an active state.
  • the intent translation network element may send the fourth information to the intent management network element through a query intent request message (queryIntent).
  • query intent request message queryIntent
  • the fourth information may be used to request to obtain the second value of the second intended goal, that is, the current goal value of the second intended goal, and the second operation corresponding to the second value.
  • the intention translation network element receives fifth information from the intention management network element, and correspondingly, the intention management network element sends the fifth information to the intention translation network element.
  • the fifth information is used to indicate the second intended target.
  • the intent management network element may send the fifth information to the intent translation network element by querying an intent reply message.
  • the query reply message may also include an identifier of the second intent.
  • the intent management network element may return the requested related information of the second intent target to the intent translation network element according to the fourth information request.
  • the intent translation network element determines whether the first value of the first intent object and the second value of the second intent object are mutually exclusive.
  • 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.
  • the intent translation network element when the intent translation network element acquires the first information, it may 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.
  • the network element intended to translate determines that the first value and the second value are mutually exclusive, the network element intended to translate performs step S207.
  • the intent translation network element determines whether the second value of the second intent object is allowed to be modified.
  • the description of whether the intent translation network element determines whether the second value of the second intent object is allowed to be modified is similar to the description in method 100, and for simplicity, details are not repeated here.
  • the confirmation result of step S207 may include the following two situations:
  • the intent translation network element determines a third value of the first intent target of the first intent according to the first information.
  • the third value belongs to the first value range, and the third value does not conflict with the first value.
  • a manner in which the intent translation network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
  • 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.
  • the confirmation result of step S209 may include the following two situations:
  • 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 the fourth value of the second intent target of the second intent, and the fourth value is the same as the first intent Values do not conflict.
  • the manner in which the intent translation network element determines the fourth value is similar to that described in method 100, and for simplicity, details are not repeated here.
  • 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 performs step S208, that is, the intent translation network element determines the first intent target of the first intent according to the first information the third value of .
  • the third value belongs to the first value range, and the third value does not conflict with the first value.
  • the intent translation network element determines the third value of the first intent target according to the first information, it can also be said that when the intent translation network element modifies the target value of the first intent target, the intent translation network element may send a message to the intent management network element
  • the intent context update message (intentContextUpdate) for updating the first intent, correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
  • the intent context update message for updating the first intent may include at least one item of the following information: an identifier of the first intent, state information of the first intent, and a third value.
  • the state information of the first intent is used to indicate that the state of the first intent is an active state.
  • the intent translation network element determines the fourth value of the second intent target according to the determination, it can also be said that when the intent translation network element modifies the target value of the second intent target, the intent translation network element may send a message for updating the second intent target to the intent management network element.
  • the intention management network element receives the intention context update message from the intention translation network element.
  • 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.
  • the state information of the second intent is used to indicate that the state of the second intent is an active state.
  • the above description is an example where the first value of the first intent object is allowed to be modified.
  • it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified.
  • details are not repeated here.
  • the intent translation network element may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • FIG. 4 shows a schematic flow chart of a method 300 for handling intent conflicts by an intent-executing network element.
  • the intent execution network element receives a first value of the first intent target from an intent translation network element (an example of the second network element).
  • the first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
  • the intent translation network element may send the first value of the first intent target to the intent execution network element through an execute intent request message (executeIntent).
  • executeIntent execute intent request message
  • 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.
  • the first information is used to indicate the value range of the first intended target.
  • the intent translation network element may also send the first information to the intent execution network element through an execution intent request message (executeIntent).
  • execution intent request message executeIntent
  • the intention execution network element may determine, according to the first information, that the first value of the first intention target is allowed to be modified.
  • the intention execution network element receives the 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.
  • the third information is used to indicate that the first value is allowed to be modified.
  • the intent translation network element may also send the third information to the intent execution network element through an execution intent request message (executeIntent).
  • execution intent request message executeIntent
  • the intent translating network element may also send third information indicating that the first value is allowed to be modified to the intent executing network element, so that the intent executing network element may also determine whether the first value is allowed to be modified according to the third information.
  • the intent translation network element converts the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value of the second intent target The corresponding second operation is sent to the intent execution network element.
  • the intent translation network element acquires the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value corresponding to the second intent target
  • the manner of the second operation may be similar to the manner obtained in method 200, and for the sake of brevity, details are not repeated here.
  • intent translation network element may also acquire the relevant information of the first intent and the second intent from the intent management network element itself, which is not particularly limited in this application.
  • the intent execution network element determines whether the first operation corresponding to the first value of the first intent target of the first intent conflicts with the second operation corresponding to the second value of the second intent target of the second intent.
  • the intent execution network element determines that the first operation corresponding to the first value does not conflict with the second operation corresponding to the second value, the first intent under the first value may be executed.
  • the intention execution network element detects whether the first operation and the second operation conflict, there may be no operation that can be executed, that is, assuming that the first value of the first intention target of the first intention corresponds to
  • the operations are operation A, operation B and operation C, and the operations being executed by the second intent are operation a, operation b and operation c, operation A and operation a cannot be performed together, operation B and operation b cannot be performed together, operation C and operation c cannot be executed together.
  • the intent execution network element directly suspends the execution of the first intent.
  • the intent execution network element Whether to suspend the execution of the first intent may be determined according to the priority of the first intent and the priority of the second intent. For example, if the priority of the first intent is lower than or equal to the priority of the second intent, the execution of the intent is suspended If the priority of the first intent is higher than that of the second intent, the intent execution network element suspends the execution of the second intent.
  • the intent execution network element suspends the execution of the first intent, it can also send the intent context update message (intentContextUpdate) of the first intent to the intent management network element, which is used to indicate that the identity of the first intent and the state of the first intent are conflicting .
  • intentContextUpdate intent context update message
  • the intention execution network element When the intention execution network element suspends the execution of the second intention, it may also send an intention context update message of the second intention to the intention management network element, which is used to indicate that the identity of the second intention and the state of the second intention are conflicting, or It is used to send a release intent resource request message (releaseIntentResource) for instructing to release resources of the second intent to the intent management network element, where the release intent resource request message includes the identifier of the second intent.
  • releaseIntentResource release intent resource request message for instructing to release resources of the second intent to the intent management network element, where the release intent resource request message includes the identifier of the second intent.
  • the present application takes the first value of the first intent object to be modified as an example, if the first intent object is not allowed to be modified, it can also be determined whether to suspend execution according to the priority of the first intent and the priority of the second intent first intention.
  • the intended execution network element determines that the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, and there is an executable operation in the first operation and the second operation,
  • the intent execution network element determines a third value of the first intent target according to the first information.
  • the third value belongs to the first value range, and the third value does not conflict with the first value.
  • the third value may be a target value actually achieved after the intention execution unit executes an executable operation corresponding to the first intention, for example, an operation that does not conflict with the second operation.
  • a manner in which the intent-executing network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
  • 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.
  • intentContextUpdate intent context update message
  • the intent context update message for updating the first intent may include at least one item of the following information: an identifier of the first intent, state information of the first intent, and a third value.
  • the state information of the first intention is used to indicate that the state of the first intention is an active state.
  • the above description is an example where the first value of the first intent object is allowed to be modified.
  • it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified.
  • details are not repeated here.
  • the intent execution network element may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • FIG. 5 shows a schematic flowchart of another method 400 for an intent translation network element to handle intent conflicts.
  • the intention translation network element receives the first value of the first intention target from the intention management network element (an example of the second network element), and correspondingly, sends the intention translation network element to the intention translation network element.
  • Element sends the first value of the first intent target.
  • the first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
  • 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).
  • intent translation request message (translateIntent).
  • the intention translation network element receives third information from the intention management network element, and correspondingly, the intention management network element sends the third information to the intention translation network element.
  • the third information is used to indicate that the first value is allowed to be modified.
  • the intent management network element may also send the third information to the intent translation network element through an intent translation request message (translateIntent).
  • intent translation request message (translateIntent).
  • the intent management network element may obtain the first value of the first intent target and the third information from the implementIntent request message (implementIntent request) sent by the intent consumer to indicate creation of the first intent.
  • the intent management network element sends an intent implementation response message (implementIntent) of the first intent to the intent consumer.
  • intent implementation response message (implementIntent) of the first intent
  • 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 the query intent corresponding to the first intent from the intent translation network element Schema request message.
  • intentIntent a query intent mode request message
  • the intent management network element receives the query intent corresponding to the first intent from the intent translation network element Schema request message.
  • the query intent pattern request message corresponding to the first intent may be used to request to acquire the intent pattern of the first intent and/or the first operation corresponding to the first value of the first intent target.
  • the intent translation network element receives the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target from the intent management network element.
  • the intent translation network element may check the syntax and semantics of the first intent according to the intent mode of the first intent obtained from the intent management network element.
  • the intention translation network element sends fourth information to the intention management network element, and correspondingly, the intention management network element receives the fourth information from the intention translation network element.
  • the fourth information is used to request to obtain the target of the second intent, and the second intent is an intent in an active state.
  • the intent translation network element may send the fourth information to the intent management network element through a query intent request message (queryIntent).
  • query intent request message queryIntent
  • the fourth information may be used to request to obtain the second value of the second intended goal, that is, the current goal value of the second intended goal, and the second operation corresponding to the second value.
  • the intention translation network element receives fifth information from the intention management network element, and correspondingly, the intention management network element sends the fifth information to the intention translation network element.
  • the fifth information is used to indicate the second intended target.
  • the intent management network element may send the fifth information to the intent translation network element by querying an intent reply message.
  • the query reply message may also include an identifier of the second intent.
  • the intent management network element may return the requested related information of the second intent target to the intent translation network element according to the fourth information request.
  • the intent translation network element determines whether the first value of the first intent target of the first intent and the second value of the second intent target of the second intent are mutually exclusive.
  • 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.
  • the intent translation network element when the intent translation network element acquires the third information, it may determine that the first value of the first intent target is allowed to be modified when the first value and the second value are mutually exclusive.
  • the network element intended to translate determines that the first value and the second value are mutually exclusive, the network element intended to translate performs step S406.
  • the intent translation network element determines whether the second value of the second intent object is allowed to be modified.
  • the description of whether the intent translation network element determines whether the second value of the second intent object is allowed to be modified is similar to the description in method 100, and for simplicity, details are not repeated here.
  • step S406 includes the following two situations:
  • the intent translation network element determines first information, where the first information is used to indicate a first value range of the first intent target.
  • the manner in which the intent translation network element determines the first information is similar to that described in the method 100, and for simplicity, details are not repeated here.
  • the intention translation network element sends the first information to the intention management network element, and correspondingly, the intention management network element receives the first information from the intention translation network element.
  • the first information is used to indicate the first value range of the first intended target.
  • the intent translation network element may send the first information to the intent management network element through a tolerance range request message (toleranceIntervalRequest).
  • toleranceIntervalRequest a tolerance range request message
  • the intent management network element may send the first information to the intent consumer.
  • the tolerance range request message further includes an identifier of the first intention.
  • the intent management network element may send the first information to the intent consumer, and the intent consumer may determine whether to accept the first value range indicated by the first information, and if the intent consumer accepts the first value range indicated by the first information, then The intent consumer may send indication information for accepting the value range of the first information to the intent management network element.
  • the intent management network element determines a first value range that accepts the indication of the first information.
  • the intention management network element sends sixth information to the intention translation network element, and correspondingly, the intention translation network element receives the sixth information from the intention management network element.
  • the sixth information is used to indicate the first value range that the management network element accepts the first value indicated by the first information.
  • the intent management network element may send the sixth information to the intent translation network element through a tolerance range reply message (toleranceIntervalResponse).
  • toleranceIntervalResponse a tolerance range reply message
  • the tolerance range reply message further includes an identifier of the first intention.
  • the intention management network element may send a first value indicating rejection of the first information indication to the intention translation network element. Therefore, the intent translation network element may re-determine a first value range and resend the first value range to the intent management network element, or the intent translation network element may suspend execution of the first intent.
  • 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 manner, determines a third value range of the first intent target.
  • the third value range is used to indicate the value range of the first intent target that the schematic translation network element can accept.
  • the manner in which the intention translation network element determines the third value range is similar to the description in method 100, and for simplicity, details are not repeated here.
  • 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.
  • the seventh information is used to indicate the third value range.
  • the intent translation network element may send the seventh information to the intent management network element through a tolerance range request message.
  • the intent management network element can send the seventh information to the intent consumer.
  • the tolerance request message further includes an identifier of the first intent.
  • the intended consumer can determine the first value range of the first intended target according to the seventh information. It can also be understood that the intended consumer cannot fully accept the first value range, and the intended consumer has determined the first value range that the intended consumer can accept.
  • the value range of the intent target, that is, the first value range, and the first value range is sent to the intent management network element.
  • the intention management network element sends the first information to the intention translation network element, and correspondingly, the intention translation network element receives the first information from the intention management network element.
  • the first information is used to indicate the first value range of the first intended target.
  • the intent management network element may send the first information to the intent translation network element through a tolerance range reply message.
  • the tolerance range reply message further includes an identifier of the first intention.
  • the first information is further used to indicate that the third value range of the first intended target is not accepted.
  • the intent translation network element determines a third value of the first intent target of the first intent according to the first information.
  • the third value belongs to the first value range, and the third value does not conflict with the first value.
  • a manner in which the intent translation network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
  • Case 2 If the intent translation network element determines that the second value of the second intent object 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.
  • 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 the fourth value of the second intent target of the second intent, and the fourth value is the same as the first intent Values do not conflict.
  • the manner in which the intent translation network element determines the fourth value is similar to that described in the method 100, and for simplicity, details are not repeated here.
  • Case b If the intent translation network element determines that the priority of the first intent is lower than that of the second intent, then execute steps S407 to S411 to determine the third value of the first intent target, which can also be said to modify the first intent The first value of the target.
  • the intent translation network element determines the third value of the first intent target according to the first information
  • the intent translation network element modifies the target value of the first intent target
  • the intent translation network element may report to the intent management network
  • the element sends an intent context update message (intentContextUpdate) for updating the first intent
  • intent management network element receives the intent context update message from the intent translation network element.
  • the intent context update message for updating the first intent may include at least one item of the following information: an identifier of the first intent, state information of the first intent, and a third value.
  • the state information of the first intention is used to indicate that the state of the first intention is an active state.
  • the intent translation network element determines the fourth value of the second intent target according to the determination, it can also be said that when the intent translation network element modifies the target value of the second intent target, the intent translation network element may send a message for updating the second intent target to the intent management network element.
  • the intent context update message of the intent correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
  • 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.
  • the state information of the second intent is used to indicate that the state of the second intent is an active state.
  • the above description is an example where the first value of the first intent object is allowed to be modified.
  • it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified.
  • details are not repeated here.
  • the intent translation network element may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • FIG. 6 shows a schematic flowchart of another method 500 for handling intent conflicts by an intent-executing network element.
  • the intent execution network element receives a first value of the first intent target from an intent translation network element (an example of the second network element).
  • the first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
  • the intent translation network element may send the first value of the first intent target to the intent execution network element through an execute intent request message (executeIntent).
  • executeIntent execute intent request message
  • the intent executing network element receives third information from the intent translating network element, and correspondingly, the intent translating network element sends the third information to the intent executing network element.
  • the third information is used to indicate that the first value is allowed to be modified.
  • the intent translation network element may also send the third information to the intent execution network element through an execution intent request message (executeIntent).
  • execution intent request message executeIntent
  • the intent translation network element converts the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value of the second intent target The corresponding second operation is sent to the intent execution network element.
  • the intent translation network element acquires the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value corresponding to the second intent target
  • the manner of the second operation may be similar to the manner obtained in method 200, and for the sake of brevity, details are not repeated here.
  • intent translation network element may also acquire the relevant information of the first intent and the second intent from the intent management network element itself, which is not particularly limited in this application.
  • the intent execution network element determines whether the first operation corresponding to the first value of the first intent target of the first intent conflicts with the second operation corresponding to the second value of the second intent target of the second intent.
  • the intent execution network element determines that the first operation corresponding to the first value does not conflict with the second operation corresponding to the second value, the first intent under the first value may be executed.
  • the intention execution network element detects whether the first operation conflicts with the second operation, there may be no operation that can be performed, and the corresponding operation method may be similar to the description in method 300. For simplicity, the Let me repeat.
  • the present application takes the first value of the first intent object to be modified as an example, if the first intent object is not allowed to be modified, it can also be determined whether to suspend execution according to the priority of the first intent and the priority of the second intent first intention.
  • the intent execution network element may determine that when the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, the first value of the first intent target allows modified.
  • the network element intending to execute determines that the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, in a possible implementation manner, the network element intending to execute performs step S504.
  • the intent execution network element determines first information, where the first information is used to indicate a first value range of the first intent target.
  • the manner in which the intent-to-execute network element determines the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
  • the intention execution network element sends the first information to the intention management network element (an example of the second network element), and correspondingly, the intention management network element receives the first information from the intention execution network element.
  • the first information is used to indicate the first value range of the first intended target.
  • the intent execution network element may send the first information to the intent management network element through a tolerance range request message (toleranceIntervalRequest).
  • toleranceIntervalRequest a tolerance range request message
  • the intent management network element may send the first information to the intent consumer.
  • the tolerance range request message further includes an identifier of the first intention.
  • the intended consumer may determine whether to accept the first value range indicated by the first information, and if the intended consumer accepts the first value range indicated by the first information, the intended consumer may send an acceptance of the first information to the intention management network element. An indication of the range of values.
  • the intent management network element determines a first value range that accepts the indication of the first information.
  • the intention management network element sends sixth information to the intention execution network element, and correspondingly, the intention execution network element receives the sixth information from the intention management network element.
  • the sixth information is used to indicate the first value range that the management network element accepts the first value indicated by the first information.
  • the intent management network element may send the sixth information to the intent translation network element through a tolerance range reply message (toleranceIntervalResponse).
  • toleranceIntervalResponse a tolerance range reply message
  • the tolerance range reply message further includes an identifier of the first intention.
  • the intention management network element may send the intention execution network element a first value indicating rejection of the first information indication. value range, so that the intent execution network element may re-determine a first value range, and resend the first value range to the intent management network element, or the intent execution network element may suspend execution of the first intent.
  • the intent execution network element determines that the second value of the second intent object is not allowed to be modified, in another possible implementation manner, determines a third value range of the first intent object.
  • the third value range is used to refer to the value range of the first intent target that the intent execution network element can accept.
  • the manner in which the intent-to-execute network element determines the third value range is similar to the description in method 100, and will not be repeated here for simplicity.
  • the intention execution 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 execution network element.
  • the seventh information is used to indicate the third value range.
  • the intent execution network element may send the seventh information to the intent management network element through a tolerance range request message.
  • the intent management network element can send the seventh information to the intent consumer.
  • the tolerance request message further includes an identifier of the first intent.
  • the intended consumer can determine the first value range of the first intended target according to the seventh information. It can also be understood that the intended consumer cannot fully accept the first value range, and the intended consumer has determined the first value range that the intended consumer can accept.
  • the value range of the intent target, that is, the first value range, and the first value range is sent to the intent management network element.
  • the intention management network element sends the first information to the intention execution network element, and correspondingly, the intention execution network element receives the first information from the intention management network element.
  • the intention management network element may send the first information to the intention execution network element through a tolerance range reply message.
  • the tolerance range reply message further includes an identifier of the first intention.
  • the first information is used to indicate the first value range of the first intended target.
  • the first information is further used to indicate that the third value range of the first intended target is not accepted.
  • the intent execution network element determines a third value of the first intent target of the first intent according to the first information.
  • the third value belongs to the first value range, and the third value does not conflict with the first value.
  • a manner in which the intent-executing network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
  • the intent execution network element determines the third value of the first intent target according to the first information
  • the intent execution network element modifies the target value of the first intent target
  • the intent execution network element may report to the intent management network
  • the element sends an intent context update message (intentContextUpdate) for updating the first intent
  • intent management network element receives the intent context update message from the intent execution network element.
  • the intent context update message for updating the first intent may include at least one item of the following information: an identifier of the first intent, state information of the first intent, and a third value.
  • the state information of the first intention is used to indicate that the state of the first intention is an active state.
  • the above description is an example where the first value of the first intent object is allowed to be modified.
  • it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified.
  • details are not repeated here.
  • the intent execution network element may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
  • FIG. 7 and FIG. 8 are schematic structural diagrams of a possible communication device provided by an embodiment of the present application. These communication devices can be used to realize the functions of the first network element and the second network element in the above method embodiments, and therefore can also realize the beneficial effects of the above method embodiments.
  • the communication device may be the first network element or the second network element, or may be a module (such as a chip) applied in the first network element or the second network element.
  • the communication device 900 includes a processing unit 910 and a transceiver unit 920 .
  • the communication device 900 is configured to implement the functions of the first network element or the second network element in the method embodiment shown in FIG. 2 above.
  • the communication device 900 may include a module for implementing any function or operation of the first network element or the second network element in the method embodiment shown in FIG. , firmware, or any combination thereof.
  • the first intention target is used to indicate the target value expected to be achieved by the first intention
  • the second intention target is used to indicate the target value expected to be achieved by the second intention
  • the processing unit 920 is configured to obtain the first information
  • the first intention target value A piece of information is used to indicate a first value range of the first intended object
  • the processing unit 920 is further configured to determine a third value of the first intended object according to the first information, and the third value belongs to the first value range , the third value does not conflict with the second value.
  • the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility of handling intent conflicts.
  • the priority of the first intent is lower than or equal to the priority of the second intent.
  • the first network element can determine according to the priority of the first intention and the priority of the second intention that it is the first intention to modify the first intention object.
  • the processing unit 920 is further used to determine that the second value of the second intended object is not allowed to be modified.
  • the first network element can determine whether the second value of the second intended object is allowed to be modified, and then determine whether to modify the first value of the first intended object, if the second value of the second intended object is not allowed is modified, then modify the first value, if the second value of the second intent target is allowed to be modified, it can be determined according to the priority of the first intent and the priority of the second intent that the first value of the first intent target is to be modified, The second value of the second intent target is also modified, so that the flexibility of processing intent conflicts can be further improved.
  • the processing unit 920 is also used to release the resources of the second purpose, and the priority Takes precedence over this second intent.
  • the first network element can release the resources of the second intention, thereby avoiding unnecessary waste of resources.
  • the communication device 900 when used to realize the function of the first network element in the method embodiment shown in FIG. The value is allowed to be modified to this third value.
  • the first network element can determine whether the first value is allowed to be modified according to the third information, so that when the first value conflicts with the second value, the first network element can choose to modify the first value, or is the third value that determines the target of the first intent, thus increasing the flexibility in handling intent conflicts.
  • the transceiver unit 920 is specifically configured to receive the first information from the second network element, or the processing unit 920 is specifically configured to determine the first information.
  • the first network element can determine the first information by itself, that is, the first value range of the first intended target, and can also obtain the first value range from the second network element, thereby further improving Flexibility in dealing with conflicting intent.
  • the transceiver unit 920 is also used to send fourth information to the second network element, the fourth information It is used to request to obtain the second intent target, the second intent is an active intent; the transceiver unit 920 is also configured to receive fifth information from the second network element, and the fifth information is used to indicate the second intent Target.
  • the second intent may be the intent in the active state
  • the first network element may determine whether the first value of the target of the first intent conflicts with the target value of the intent in the active state, thereby improving the processing intent conflict reliability.
  • the transceiver unit 920 is also used to send the first information to the second network element, and the transceiver unit 920 is further configured to receive sixth information from the second network element, where the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
  • the first network element may send the first information to the second network element, so that the second network element Whether the first value range can be accepted can be determined according to user requirements, and if the second network element can accept the first value range, the first network element can determine a third value according to the first value range, thereby being able to Ensure that the needs of users are met.
  • the processing unit 920 is specifically configured to determine that the first value range does not conflict with the second value
  • the maximum or minimum of the target values of is the third value.
  • the first value range may include multiple target values that do not conflict with the second value, and the first network element may select the maximum or minimum value among them as the third value of the first intended target, Improve the performance of the system to execute the first intent.
  • the transceiver unit 920 is used to send the first information, the first information is used to indicate the first value of the first intended target range, the first information is also used to determine a third value of the first intended target, the third value belongs to the first value range, and the third value does not conflict with the second value of the second intended target, said 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 further configured to send the third information, 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.
  • the first network element can determine according to the priority of the first intention and the priority of the second intention that it is the first intention to modify the first intention object.
  • the transceiver unit 920 is also used to send second information to the first network element, the second information is In the second value range indicating the target of the second intent, the priority of the first intent is lower than or equal to the priority of the second intent.
  • processing unit 910 and the transceiver unit 920 can be directly obtained by referring to the related descriptions in the method embodiment shown in FIG. 2 , and will not be repeated here.
  • 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.
  • the interface circuit 1020 may be a transceiver or an input-output interface.
  • the communication device 1000 may further include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute the instructions or storing data generated by the processor 1010 after executing the instructions.
  • the processor 1010 is used to implement the functions of the above-mentioned processing unit 1010
  • the interface circuit 1020 is used to implement the functions of the above-mentioned transceiver unit 1020 .
  • the communication device 1000 When the communication device 1000 is used to implement the method shown in FIG. 2 , 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.
  • the interface circuit 1020 may be a transceiver or an input-output interface.
  • the communication device 1000 may further include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute the instructions or storing data generated by the processor 1010 after executing the instructions.
  • the processor 1010 is used to implement the functions of the processing unit 1010 described above
  • the interface circuit 1020 is used to implement the functions of the transceiver unit 1020 described above.
  • the first network element chip When the above communication device is a chip applied to the first network element, the first network element chip implements the functions of the first network element in the above method embodiment.
  • the first network element chip receives information from other modules (such as radio frequency modules or antennas) in the first network element, and the information is sent to the first network element by network equipment; or, the first network element chip sends information to the first network element Other modules in the network element (such as radio frequency modules or antennas) send information, and the information is sent from the first network element to the second network element.
  • modules such as radio frequency modules or antennas
  • the second network element chip implements the functions of the second network element in the above method embodiment.
  • the second network element chip receives information from other modules (such as radio frequency modules or antennas) 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 the second network element Other modules (such as radio frequency modules or antennas) in the second network element send information, and the information is sent by the second network element to the first network element.
  • the processor in the embodiments of the present application can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof.
  • a general-purpose processor can be a microprocessor, or any conventional processor.
  • Memory in the embodiment of the present application can be random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable Programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art .
  • An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and storage medium can be located in the ASIC.
  • the ASIC can be located in a network device or a terminal device.
  • the processor and the storage medium may also exist in the network device or the terminal device as discrete components.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product comprises one or more computer programs or instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal device, or other programmable devices.
  • the computer program or instructions may be stored in or transmitted via a computer-readable storage medium.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server integrating one or more available media.
  • the available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a DVD; it may also be a semiconductor medium, such as a solid state disk (solid state disk, SSD).
  • a corresponds to B means that B is associated with A, and B can be determined according to A.
  • determining B according to A does not mean determining B only according to A, and B may also be determined according to A and/or other information.
  • the above is an example of the three elements of A, B and C to illustrate the optional items of the project.
  • the expression includes at least one of the following: A, B, ..., and X"
  • the applicable entries for this item can also be obtained according to the aforementioned rules.

Abstract

Provided in the present application are a method and apparatus for processing an intention. The method comprises: a first network element acquiring a first value of a first intention target, wherein the first value conflicts with a second value of a second intention target, the first intention target is used for indicating a target value which a first intention expects to achieve, and the second intention target is used for indicating a target value which a second intention expects to achieve; the first network element acquiring first information, wherein the first information is used for indicating a first value range of the first intention target; and the first network element determining a third value of the first intention target according to the first information, wherein the third value is within the first value range, and the third value does not conflict with the second value, such that both the first intention and the second intention can be executed by a system, thereby improving the flexibility of handling an intention conflict.

Description

一种处理意图的方法和装置A method and device for processing intent
本申请要求于2021年05月27日提交中国专利局、申请号为202110587135.2、申请名称为“一种处理意图的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110587135.2 and the application title "A Method and Device for Processing Intent" submitted to the China Patent Office on May 27, 2021, the entire contents of which are incorporated by reference in this application middle.
技术领域technical field
本申请涉及无线通信的领域,并且更具体地,涉及一种处理意图的方法和装置。The present application relates to the field of wireless communications, and more particularly, to a method and apparatus for processing intents.
背景技术Background technique
用户在进行网络配置和监控过程中,可以采用基于观察方向决定行为控制模式的认知网络管理系统。该系统使用人工智能(artificial intelligence,AI)技术和情景感知策略,根据用户需求、环境条件和业务目标的变化调整提供的服务,因此,该系统能够帮助用户自动化工作,从而减少运营支出并改善网络的使用和维护。In the process of network configuration and monitoring, users can adopt a cognitive network management system that determines the behavior control mode based on the direction of observation. The system uses artificial intelligence (AI) technology and context-aware strategies to adjust the services provided according to changes in user needs, environmental conditions, and business goals. Therefore, the system can help users automate work, thereby reducing operating expenses and improving networks. use and maintenance.
用户可以通过在系统中创建意图的方式,以达成对系统的期望。然而,系统创建意图时,创建的意图可能与系统中处于激活状态的意图存在冲突,系统会比较存在冲突的意图的优先级,然后执行优先级较高的意图,也就是说,系统会以竞争的方式选择一个意图进行执行,以解决意图冲突,从而导致优先级较低的意图无法被执行,系统中能够同时支持的意图的个数较少,系统处理意图冲突的灵活性较差,因此,亟需一种处理意图的方法,可以提高处理意图冲突的灵活性。Users can achieve their expectations of the system by creating intent in the system. However, when the system creates an intent, the created intent may conflict with the active intent in the system, the system will compare the priorities of the conflicting intents, and then execute the intent with a higher priority, that is, the system will compete with Select an intent to execute in order to resolve intent conflicts, resulting in lower-priority intents being unable to be executed, the number of intents that can be supported in the system at the same time is small, and the system is less flexible in dealing with intent conflicts. Therefore, There is an urgent need for a method of dealing with intentions that can improve the flexibility of dealing with intention conflicts.
发明内容Contents of the invention
本申请提供一种处理意图的方法和装置,能够提高处理意图冲突的灵活性。The present application provides a method and device for processing intents, which can improve the flexibility of processing intent conflicts.
第一方面,提供了一种处理意图的方法,该方法可以由第一网元或第一网元中的芯片执行,该方法包括:第一网元获取第一意图目标的第一值,该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成的目标值,该第二意图目标用于指示第二意图期望达成的目标值;该第一网元获取第一信息,该第一信息用于指示该第一意图目标的第一取值范围;该第一网元根据该第一信息确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与该第二值不冲突。In a first aspect, a method for processing an intent is provided, the method may be executed by a first network element or a chip in the first network element, and the method includes: the first network element acquires a first value of a first intent target, the The first value conflicts with the second value of the second intention 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; A 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 according to the first information, and the first The three values belong to the first value range, and the third value does not conflict with the second value.
需要说明的是,第一网元根据第一信息确定第一意图目标的第三值,也可以理解为第一网元根据第一信息将第一意图目标的第一值修改为第三值。It should be noted that the first network element determines the third value of the first intended target according to the first information, which may 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.
从而,在本申请中,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。Therefore, in this application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一网元获取第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或 等于该第二意图的优先级。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first network element acquires second information, where the second information is used to indicate a second value range of the second intended target, The priority of the first intent is lower than or equal to the priority of the second intent.
需要说明的是,第一网元获取第二意图目标的第二取值范围,可以理解为第二意图的第二值允许被修改。It should be noted that the acquisition by the first network element of the second value range of the target of the second intent may be understood as allowing the second value of the second intent to be modified.
从而,在本申请中,第一意图目标和第二意图目标可以都支持修改时,第一网元可以根据第一意图的优先级和第二意图的优先级确定是修改第一意图目标的第一值,还是修改第二意图目标的第二值,从而可以进一步提高处理意图冲突的灵活性。Therefore, in this application, when both the first intention object and the second intention object can support modification, the first network element can determine according to the priority of the first intention and the priority of the second intention that it is the first intention to modify the first intention object. One value, or modify the second value of the second intent target, so that the flexibility of processing intent conflicts can be further improved.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一网元确定该第二意图目标的第二值不允许被修改。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first network element determines that the second value of the second intended target is not allowed to be modified.
从而,在本申请中,第一网元可以确定第二意图目标的第二值是否允许被修改,再确定是否修改第一意图目标的第一值,如果第二意图目标的第二值不允许被修改,则修改第一值,如果第二意图目标的第二值允许被修改,则可以根据第一意图的优先级和第二意图的优先级确定是修改第一意图目标的第一值,还是修改第二意图目标的第二值,从而可以进一步提高处理意图冲突的灵活性。Therefore, in this application, the first network element can determine whether the second value of the second intended object is allowed to be modified, and then determine whether to modify the first value of the first intended object, if the second value of the second intended object is not allowed is modified, then modify the first value, if the second value of the second intent target is allowed to be modified, it can be determined according to the priority of the first intent and the priority of the second intent that the first value of the first intent target is to be modified, The second value of the second intent target is also modified, so that the flexibility of processing intent conflicts can be further improved.
结合第一方面,在第一方面的某些实现方式中,该方法包括:该第一网元释放该第二意图的资源,该第一意图的优先级高于该第二意图的优先级。With reference to the first aspect, in some implementation manners of the first aspect, the method includes: the first network element releases the resource of the second intent, and the priority of the first intent is higher than the priority of the second intent.
从而,在本申请中,当第一意图的优先级高于第二意图的优先级的情况下,第一网元可以释放第二意图的资源,从而可以避免造成不必要的资源浪费。Therefore, in this application, when the priority of the first intention is higher than that of the second intention, the first network element can release the resources of the second intention, thereby avoiding unnecessary waste of resources.
结合第一方面,在第一方面的某些实现方式中,该第一网元获取第三信息,该第三信息用于指示该第一值允许被修改为该第三值。With reference to the first aspect, in some implementation manners of the first aspect, the first network element acquires third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.
从而,在本申请中,第一网元可以根据第三信息确定第一值是否允许被修改,从而在第一值和第二值冲突时,第一网元可以选择修改第一值,或者说是确定第一意图目标的第三值,从而提高处理意图冲突的灵活性。Therefore, in this application, the first network element can determine whether the first value is allowed to be modified according to the third information, so that when the first value conflicts with the second value, the first network element can choose to modify the first value, or is the third value that determines the target of the first intent, thus increasing the flexibility in handling intent conflicts.
结合第一方面,在第一方面的某些实现方式中,该第一网元获取第一信息,包括:该第一网元从第二网元接收该第一信息,或者该第一网元确定该第一信息。With reference to the first aspect, in some implementation manners of the first aspect, the acquiring the first information by the first network element includes: the first network element receives the first information from the second network element, or the first network element The first information is determined.
从而,在本申请中,第一网元可以自己确定第一信息,也就是第一意图目标的第一取值范围,也可以从第二网元处获得该第一取值范围,从而进一步提高处理意图冲突的灵活性。Therefore, in this application, the first network element can determine the first information by itself, that is, the first value range of the first intended target, and can also obtain the first value range from the second network element, thereby further improving Flexibility in dealing with conflicting intent.
结合第一方面,在第一方面的某些实现方式中,该第一值与第二意图目标的第二值冲突包括:该第一值对应的第一操作与该第二值对应的第二操作冲突,或者该第一值与该第二值互斥。With reference to the first aspect, in some implementations of the first aspect, the conflict between the first value and the second value of the second intent includes: the first operation corresponding to the first value and the second operation corresponding to the second value Operation conflicts, or the first value and the second value are mutually exclusive.
从而,在本申请中,第一值和第二值冲突既可以是在意图转译过程中第一值和第二值互斥,也可以是意图执行过程中第一操作和第二操作冲突,从而本申请提供的技术方案可以适用于多种意图冲突的场景。Therefore, in this application, the conflict between the first value and the second value may mean that the first value and the second value are mutually exclusive during the intent translation process, or that the first operation and the second operation conflict during the intent execution process, so that The technical solutions provided in this application can be applied to various scenarios of conflicting intentions.
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一网元向该第二网元发送第四信息,该第四信息用于请求获取该第二意图目标,该第二意图为处于激活态的意图;该第一网元从该第二网元接收第五信息,该第五信息用于指示该第二意图目标。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first network element sends fourth information to the second network element, where the fourth information is used to request to obtain the second intended target , the second intention is an intention in an active state; the first network element receives fifth information from the second network element, and the fifth information is used to indicate a target of the second intention.
从而,在本申请中,第二意图可以为处于激活态的意图,第一网元可以确定第一意图目标的第一值是否与处于激活态的意图的目标值存在冲突,从而可以提高处理意图冲突的可靠性。Therefore, in this application, the second intent may be the intent in the active state, and the first network element may determine whether the first value of the target of the first intent conflicts with the target value of the intent in the active state, thereby improving the processing intent conflict reliability.
结合第一方面,在第一方面的某些实现方式中,在该第一网元确定该第一信息的情况 下,该方法还包括:该第一网元向该第二网元发送该第一信息;该第一网元从该第二网元接收第六信息,该第六信息用于指示该第二网元接受该第一信息指示的该第一取值范围。With reference to the first aspect, in some implementation manners of the first aspect, when the first network element determines the first information, the method further includes: the first network element sends the first network element to the second network element Information; the first network element receives sixth information from the second network element, where the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
从而,在本申请中,如果是第一网元确定第一信息,即第一意图目标的取值范围,第一网元可以将该第一信息发送给第二网元,从而第二网元可以根据用户的需求确定是否能够接受该第一取值范围,如果第二网元能够接受该第一取值范围,则第一网元可以根据该第一取值范围确定第三值,从而能够保证满足用户的需求。Therefore, in this application, if the first network element determines the first information, that is, the value range of the first intended target, the first network element may send the first information to the second network element, so that the second network element Whether the first value range can be accepted can be determined according to user requirements, and if the second network element can accept the first value range, the first network element can determine a third value according to the first value range, thereby being able to Ensure that the needs of users are met.
结合第一方面,在第一方面的某些实现方式中,该第一网元根据该第一信息确定该第一意图目标的第三值,该第三值属于该第一取值范围,包括:该第一网元确定该第一取值范围中与该第二值不冲突的目标值中的最大值或最小值为该第三值。With reference to the first aspect, in some implementation manners of the first aspect, the first network element determines a third value of the first intended target according to the first information, and the third value belongs to the first value range, including : The first network element determines that the third value is the maximum value or the minimum value among target values that do not conflict with the second value in the first value range.
从而,在本申请中,第一取值范围中可能包括多个与第二值不冲突的目标值,第一网元可以选择其中的最大值或最小值作为第一意图目标的第三值,提高系统执行第一意图的性能。Therefore, in this application, the first value range may include multiple target values that do not conflict with the second value, and the first network element may select the maximum or minimum value among them as the third value of the first intended target, Improve the performance of the system to execute the first intent.
第二方面,提供了一种处理意图的方法,该方法可以由第二网元或第二网元中的芯片执行,该方法包括:第二网元向第一网元发送第一信息,该第一信息用于指示第一意图目标的第一取值范围,该第一信息还用于确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与第二意图目标的第二值不冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;所述第二网元向所述第一网元发送第三信息,所述第三信息用于指示所述第一意图目标的第一值允许被修改为所述第三值,所述第一值与所述第二值冲突。In a second aspect, a method for processing an intent is provided, the method may 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, the The first information is used to indicate the first value range of the first intended target, the first information is also used to determine a third value of the first intended target, the third value belongs to the first value range, and the third The value does not conflict with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve; The second network element sends third information to the first network element, 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.
从而,在本申请中,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。Therefore, in this application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
结合第二方面,在第二方面的某些实现方式中,该方法还包括:该第二网元向该第一网元发送第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或等于该第二意图的优先级。With reference to the second aspect, in some implementation manners of the second aspect, the method further includes: the second network element sending second information to the first network element, where the second information is used to indicate the second intended target In the second value range, the priority of the first intent is lower than or equal to the priority of the second intent.
第三方面,提供了一种处理意图的方法,该方法可以由第二网元或第二网元中的芯片执行,该方法包括:第二网元从第一网元接收第一信息,该第一信息用于指示第一意图目标的第一取值范围,该第一信息还用于确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与第二意图的第二意图目标的第二值不冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;第二网元确定接受该第一信息指示的该第一取值范围。In a third aspect, a method for processing an intent is provided, the method may 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 The first information is used to indicate the first value range of the first intended target, the first information is also used to determine a third value of the first intended target, the third value belongs to the first value range, and the third The 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 the target value that the first intent expects to achieve, and the second intent target is used to indicate the second intent expects to achieve Target value: the second network element determines to accept the first value range indicated by the first information.
从而,在本申请中,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。Therefore, in this application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第二网元向该第一网元发送第六信息,该第六信息用于指示该第二网元接受该第一信息指示的该第一取值范围。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the second network element sending sixth information to the first network element, where the sixth information is used to instruct the second network element to accept The first value range indicated by the first information.
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第二网元向该第一 网元发送第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或等于该第二意图的优先级。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the second network element sending second information to the first network element, where the second information is used to indicate the second intended target In the second value range, the priority of the first intent is lower than or equal to the priority of the second intent.
结合第三方面,在第三方面的某些实现方式中,该方法还包括:该第二网元向该第一网元发送第三信息,该第三信息用于指示该第一意图目标的第一值允许被修改为该第三值,该第一值与该第二值冲突。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the second network element sending third information to the first network element, where the third information is used to indicate the The first value is allowed to be modified to the third value, the first value conflicts with the second value.
第四方面,提供一种处理意图的装置,该装置包括处理单元和收发单元,该收发单元用于获取第一意图目标的第一值,该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成的目标值,该第二意图目标用于指示第二意图期望达成的目标值;该处理单元用于获取第一信息,该第一信息用于指示该第一意图目标的第一取值范围,该处理单元还用于根据该第一信息确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与该第二值不冲突。In a fourth aspect, there is provided a device for processing intentions, the device including a processing unit and a transceiver unit, the transceiver unit is used to obtain a first value of a first intention target, and the first value conflicts with a second value of a second intention 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 processing unit is used to obtain the first information, and the first information is used In order to indicate the first value range of the first intended object, the processing unit is further configured to determine a third value of the first intended object according to the first information, the third value belongs to the first value range, and the third value Three values do not conflict with this second value.
从而,在本申请中,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。Therefore, in this application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
结合第四方面,在第四方面的某些实现方式中,该收发单元还用于获取第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或等于该第二意图的优先级。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the transceiver unit is further configured to obtain second information, the second information is used to indicate a second value range of the second intention target, and the first intention has a priority lower than or equal to the priority of this second intent.
结合第四方面,在第四方面的某些实现方式中,该处理单元还用于确定该第二意图目标的第二值不允许被修改。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the processing unit is further configured to determine that the second value of the second intended target is not allowed to be modified.
结合第四方面,在第四方面的某些实现方式中,该处理单元还用于释放该第二意图的资源,该第一意图的优先级高于该第二意图的优先级。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the processing unit is further configured to release resources of the second intent, and the priority of the first intent is higher than the priority of the second intent.
结合第四方面,在第四方面的某些实现方式中,该收发单元还用于获取第三信息,该第三信息用于指示该第一值允许被修改为该第三值。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the transceiving unit is further configured to acquire third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.
结合第四方面,在第四方面的某些实现方式中,该收发单元具体用于从第二网元接收该第一信息,或者该处理单元具体用于确定该第一信息。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the transceiving unit is specifically configured to receive the first information from the second network element, or the processing unit is specifically configured to determine the first information.
结合第四方面,在第四方面的某些实现方式中,该第一值与第二意图目标的第二值冲突包括:该第一值对应的第一操作与该第二值对应的第二操作冲突,或者该第一值与该第二值互斥。With reference to the fourth aspect, in some implementations of the fourth aspect, the conflict between the first value and the second value of the second intent includes: the first operation corresponding to the first value and the second operation corresponding to the second value Operation conflicts, or the first value and the second value are mutually exclusive.
结合第四方面,在第四方面的某些实现方式中,该收发单元还用于发送第四信息,该第四信息用于请求获取该第二意图目标,该第二意图为处于激活态的意图,该收发单元还用于接收第五信息,该第五信息用于指示该第二意图目标。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the transceiver unit is further configured to send fourth information, where the fourth information is used to request acquisition of the second intent target, and the second intent is an active In other words, the transceiving unit is also used to receive fifth information, where the fifth information is used to indicate the second intended target.
结合第四方面,在第四方面的某些实现方式中,该收发单元还用于向该第二网元发送该第一信息,该收发单元还用于从该第二网元接收第六信息,该第六信息用于指示该第二网元接受该第一信息指示的该第一取值范围。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the transceiving unit is further configured to send the first information to the second network element, and the transceiving unit is further configured to receive sixth information from the second network element , the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
结合第四方面,在第四方面的某些实现方式中,该处理单元具体用于确定该第一取值范围中与该第二值不冲突的目标值中的最大值或最小值为该第三值。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the processing unit is specifically configured to determine that the maximum value or the minimum value of the target values that do not conflict with the second value in the first value range is the first value triple value.
第五方面,提供一种处理意图的装置,该装置包括收发单元,该收发单元用于发送第一信息,该第一信息用于指示第一意图目标的第一取值范围,该第一信息还用于确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与第二意图目标的第二值 不冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;所述收发单元还用于向所述第一网元发送第三信息,所述第三信息用于指示所述第一意图目标的第一值允许被修改为所述第三值,所述第一值与所述第二值冲突。According to a fifth aspect, there is provided a device for processing intentions. The device includes a transceiver unit configured to send first information, the first information is used to indicate a first value range of a first intention target, and the first information It is also used to determine a third value of the first intended target, the third value belongs to the first value range, the third value does not conflict with the second value of the second intended target, and the first intended target is used for Indicating the target value expected to be achieved by the first intention, the second intention target is used to indicate the target value expected to be achieved by the second intention; the transceiver unit is further configured to send third information to the first network element, the first The third information is used to indicate that the first value of the first intended object is allowed to be modified to the third value, and the first value conflicts with the second value.
从而,在本申请中,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。Therefore, in this application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
结合第五方面,在第五方面的某些实现方式中,该收发单元还用于向该第一网元发送第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或等于该第二意图的优先级。With reference to the fifth aspect, in some implementation manners of the fifth aspect, the transceiver unit is further configured to send second information to the first network element, where the second information is used to indicate a second value of the second intended target scope, the priority of the first intent is lower than or equal to the priority of the second intent.
第六方面,提供一种处理意图的装置,该装置包括收发单元,该收发单元用于接收第一信息,该第一信息用于指示第一意图目标的第一取值范围,该第一信息还用于确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与第二意图目标的第二值不冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;该处理单元用于确定接受该第一信息指示的该第一取值范围。According to the sixth aspect, there is provided a device for processing intentions, the device includes a transceiver unit, the transceiver unit is used to receive first information, the first information is used to indicate the first value range of the first intention target, and the first information It is also used to determine a third value of the first intended target, the third value belongs to the first value range, the third value does not conflict with the second value of the second intended target, and the first intended target is used for indicating 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 processing unit is configured to determine the first value range that accepts the first information indication.
从而,在本申请中,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。Therefore, in this application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
结合第六方面,在第六方面的某些实现方式中,该收发单元还用于向该第一网元发送第六信息,该第六信息用于指示该第二网元接受该第一信息指示的该第一取值范围。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the transceiver unit is further configured to send sixth information to the first network element, where the sixth information is used to instruct the second network element to accept the first information The first value range indicated.
结合第六方面,在第六方面的某些实现方式中,该收发单元还用于向该第一网元发送第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或等于该第二意图的优先级。With reference to the sixth aspect, in some implementation manners of the sixth aspect, the transceiving unit is further configured to send second information to the first network element, where the second information is used to indicate a second value of the second intended target scope, the priority of the first intent is lower than or equal to the priority of the second intent.
结合第六方面,在第六方面的某些实现方式中,该收发单元还用于向该第一网元发送第三信息,该第三信息用于指示该第一意图目标的第一值允许被修改为该第三值,该第一值与该第二值冲突With reference to the sixth aspect, in some implementation manners of the sixth aspect, the transceiver unit is further configured to send third information to the first network element, where the third information is used to indicate that the first value of the first intended target allows is modified to the third value, the first value conflicts with the second value
第七方面,提供了一种通信装置,该装置可以包括处理单元、发送单元和接收单元。可选的,发送单元和接收单元还可以为收发单元。In a seventh aspect, a communication device is provided, and the device may include a processing unit, a sending unit, and a receiving unit. Optionally, the sending unit and the receiving unit may also be transceiver units.
当该装置是第一网元时,该处理单元可以是处理器,该发送单元和接收单元可以是收发器;该装置还可以包括存储单元,该存储单元可以是存储器;该存储单元用于存储指令,该处理单元执行该存储单元所存储的指令,以使该第一网元执行第一方面至第三方面的任一方法。当该装置是第一网元内的芯片时,该处理单元可以是处理器,该发送单元和接收单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储单元所存储的指令,以使该芯片执行第一方面至第三方面的方法。该存储单元用于存储指令,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该第一网元内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。When the device is the first network element, the processing unit may be a processor, and the sending unit and the receiving unit may be transceivers; the device may also include a storage unit, which may be a memory; the storage unit is used for storing An instruction, the processing unit executes the instruction stored in the storage unit, so that the first network element executes any one 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 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 executes 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 outside the chip in the first network element (for example, a read-only memory, random access memory, etc.).
第八方面,提供了一种通信装置,包括处理器和接口电路,接口电路用于接收来自 该通信装置之外的其它通信装置的信号并传输至该处理器或将来自该处理器的信号发送给该通信装置之外的其它通信装置,该处理器通过逻辑电路或执行代码指令用于实现前述第一方面至第三方面的任意方法。In an eighth aspect, a communication device is provided, including a processor and an interface circuit, and the interface circuit is used to receive signals from other communication devices other than the communication device and transmit them to the processor or send signals from the processor For other communication devices other than the communication device, the processor is used to implement any method of the aforementioned first aspect to the third aspect through a logic circuit or executing code instructions.
第九方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序或指令,当该计算机程序或指令被执行时,实现前述第一方面至第三方面中的任意方法。In a ninth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored, and when the computer program or instruction is executed, any one of the aforementioned first to third aspects can be realized. method.
第十方面,提供了一种包含指令的计算机程序产品,当该指令被运行时,实现前述第一方面至第三方面的任意方法。In a tenth aspect, a computer program product including instructions is provided, and when the instructions are executed, any method of the aforementioned first aspect to the third aspect is implemented.
第十一方面,提供了一种计算机程序,该计算机程序包括代码或指令,当该代码或指令被运行时,实现前述第一方面至第三方面的任意可能的实现方式中的方法。In an eleventh aspect, a computer program is provided. The computer program includes codes or instructions. When the codes or instructions are executed, the methods in any possible implementation manners of the aforementioned first aspect to the third aspect are implemented.
第十二方面,提供一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现前述第一方面至第三方面描述的至少一种方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。A twelfth aspect provides a chip system, which includes a processor and may further include a memory, configured to implement at least one method described in the foregoing first aspect to the third aspect. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
第十三方面,提供一种通信系统,该系统包括第四方面至第六方面任一该的装置(如第一网元和第二网元)。In a thirteenth aspect, a communication system is provided, and the system includes the apparatus (such as a first network element and a second network element) according to any one of the fourth aspect to the sixth aspect.
在一些实现方式中,该第一网元可以是意图转译网元,该第二网元可以是意图管理网元。In some implementation manners, the first network element may be an intent translation network element, and the second network element may be an intent management network element.
在一些实现方式中,该第一网元可以是意图执行网元,该第二网元可以是意图管理网元。In some implementation manners, the first network element may be an intent execution network element, and the second network element may be an intent management network element.
在一些实现方式中,该第一网元可以是意图执行网元,该第二网元可以是意图转译网元。In some implementation manners, the first network element may be an intent execution network element, and the second network element may be an intent translation network element.
在一些实现方式中,该第一网元可以是服务提供者,或者说是意图提供者,第二网元可以是服务消费者,或者说是意图消费者。In some implementation manners, the first network element may be a service provider, or an intention provider, and the second network element may be a service consumer, or an intention consumer.
附图说明Description of drawings
图1是适用本申请实施例提供的处理意图的系统的示意图。Fig. 1 is a schematic diagram of a system applying the processing intent provided by the embodiment of the present application.
图2是本申请实施例提供的一例处理意图冲突的示意性流程图。Fig. 2 is a schematic flowchart of an example of processing intent conflicts provided by the embodiment of the present application.
图3是本申请实施例提供的一例意图转译网元处理意图冲突的示意性流程图。Fig. 3 is a schematic flow chart of an example of intent translation network elements handling intent conflicts provided by an embodiment of the present application.
图4是本申请实施例提供的一例意图执行网元处理意图冲突的示意性流程图。Fig. 4 is a schematic flow chart of an example of an intention execution network element handling an intention conflict provided by an embodiment of the present application.
图5是本申请实施例提供的另一例意图转译网元处理意图冲突的示意性流程图。Fig. 5 is a schematic flowchart of another example of intent translation network elements handling intent conflicts provided by the embodiment of the present application.
图6是本申请实施例提供的另一例意图执行网元处理意图冲突的示意性流程图。FIG. 6 is a schematic flow chart of another example of processing intent conflicts by an intent-executing network element provided by an embodiment of the present application.
图7和图8是本申请实施例提供的可能的通信装置的结构示意图。FIG. 7 and FIG. 8 are schematic structural diagrams of a possible communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below with reference to the accompanying drawings.
本申请的技术方案可以应用于各类网络功能虚拟化(network function virtualization,NFV)系统,该系统可以用标准的形式化语言将现在运营商的业务技术方案和网络建设方案以及网络运维的方法描述为模式和策略,并基于这些模式和策略对技术方案和建设方案进行实现。例如,本申请的技术方案可以应用于以下一种或多种系统:无线意图驱动网络(wireless intent driven network,wIDN)系统,体验式网络智能(experiential networked  intelligence,ENI)系统,意图驱动管理服务(intent driven management service,IDMS)系统或开放式网络自动化平台(open network automation platform,ONAP)系统等。The technical solution of this application can be applied to various types of network function virtualization (network function virtualization, NFV) systems, and the system can use standard formal language to integrate the current operator's business technical solutions, network construction solutions and network operation and maintenance methods It is described as patterns and strategies, and based on these patterns and strategies, technical solutions and construction plans are realized. For example, the technical solution of the present application can be applied to one or more of the following systems: wireless intent driven network (wireless intent driven network, wIDN) system, experiential networked intelligence (ENI) system, intent driven management service ( intent driven management service (IDMS) system or open network automation platform (open network automation platform, ONAP) system, etc.
为了清楚,以下对本申请实施例中的部分术语进行解释。For clarity, some terms in the embodiments of the present application are explained below.
意图:是指对作用系统的期望。意图可以包括以下一项或多项:要求、意图目标和约束。Intent: Refers to the expectations of the acting system. An intent can include one or more of the following: requirements, intent goals, and constraints.
意图实例:对意图进行实例化之后的对象。例如,在本申请中,意图可以替换为意图实例。Intent instance: the object after instantiating the intent. For example, in this application, an intent can be replaced with an instance of an intent.
意图表达式:用来承载意图的表达式,表达式中包括以下一项或多项:意图动作名称、意图动作属性、意图作用对象名称或意图作用对象属性。意图表达式具有特定的语法以及语义。Intent expression: an expression used to carry an intention, and the expression includes one or more of the following: intention action name, intention action attribute, intention action object name or intention action object attribute. Intent expressions have specific syntax and semantics.
意图目标:用于指示意图需要达成的目标值。Intent goal: used to indicate the target value that the intention needs to achieve.
意图转译:将意图转化成意图可执行命令或者规则或者子意图的流程。Intent translation: the process of converting an intent into an intent executable command or rule or sub-intent.
意图执行:将意图可执行命令、子意图、规则进行下发,并且依据网络环境及意图达成情况对意图可执行命令、子意图、规则进行调整。Intention execution: issue the executable commands, sub-intents, and rules of the intent, and adjust the executable commands, sub-intents, and rules according to the network environment and the achievement of the intent.
意图可执行命令:意图经过转译决策等操作形成的一系列指令。Intention-executable commands: A series of instructions formed by intentions through operations such as translation decisions.
意图模式:规定意图表达式的语法及语义。意图模式可以包括如下一项或多项:字段,字段的取值范围,字段的类型,字段之间的层次关系。例如,字段可以用于对意图模式的种类、名称或消费者进行描述。Intent mode: specifies the syntax and semantics of intent expressions. The intent pattern may include one or more of the following: fields, value ranges of fields, types of fields, and hierarchical relationships between fields. For example, fields can be used to describe the type, name, or consumer of the intent schema.
意图状态:意图状态包括激活态,冲突态,去激活态或者睡眠态等。其中,意图处于激活态可以理解为该意图正在被执行;意图处于冲突态可以理解为该意图与系统中的意图存在冲突;意图处于去激活态可以理解为意图没有被执行;意图处于睡眠态可以理解为该意图的意图目标由于长期未被达成被暂时停止执行。Intent state: Intent state includes activation state, conflict state, deactivation state or sleep state, etc. Among them, the intention being in the active state can be understood as the intention being executed; the intention being in the conflicting state can be understood as the intention conflicting with the intention in the system; the intention being in the deactivated state can be understood as the intention not being executed; the intention being in the sleeping state can be understood It is understood that the intended goal of the intention has been temporarily suspended due to long-term failure to achieve it.
意图创建:在意图系统中新建一个意图,并创建相应意图上下文。Intent creation: Create a new intent in the intent system and create a corresponding intent context.
意图知识:意图知识为存储于意图知识库中的意图模式的相关参数。例如,上述相关参数可以包括以下一项或多项:意图对应的可执行的操作、意图作用实体标识或意图作用实体类型。Intention knowledge: Intent knowledge is the relevant parameters of the intent pattern stored in the intent knowledge base. For example, the above-mentioned relevant parameters may include one or more of the following: executable operations corresponding to the intent, entity identifiers of the intent, or entity types of the intent.
意图操作:意图目标对应的可执行的操作。Intent operation: the executable operation corresponding to the intent target.
意图冲突:当两个意图由于意图表达式、执行操作或语义上的互斥导致无法同时达成时,称这两个意图存在冲突。可选的,意图冲突可以指需要进行意图创建的意图与系统中处于激活状态的意图的冲突。Conflict of intent: When two intents cannot be achieved at the same time due to mutual exclusion of intent expressions, execution operations, or semantics, the two intents are said to be in conflict. Optionally, the intent conflict may refer to a conflict between an intent that needs to be created and an active intent in the system.
为了便于理解本申请实施例,首先结合图1详细说明适用于本申请实施例提供的方法的处于意图的系统。图1示出了适用于本申请实施例提供的方法的处理意图的系统100的示意图。如图1所示,该系统100包括意图消费网元110,和意图提供网元120。其中意图提供网元可以包括意图管理网元121,意图转译网元122,以及意图执行网元123。In order to facilitate the understanding of the embodiment of the present application, the intended system applicable to the method provided by the embodiment of the present application will first be described in detail with reference to FIG. 1 . FIG. 1 shows a schematic diagram of a system 100 suitable for processing intentions of the method provided by the embodiment of the present application. As shown in FIG. 1 , the system 100 includes an intended consumption network element 110 and an intended provision network element 120 . The intention providing network element may include an intention management network element 121 , an intention translation network element 122 , and an intention execution network element 123 .
意图消费网元110,也可以称之为意图消费者,是意图的消费主体。例如,意图消费网元110可以是运营支撑系统(operations support systems,OSS)、业务支撑系统(business support systems,BSS)、应用(application,APP)或其它用户设备。对于IDMS系统,意图消费网元110可以是服务消费者或管理服务(management service,MnS)网元,例如网络管理系统(network management system,NMS)。意图消费网元110可以与意图提供网元120进行通信,例如意图消费网元110可以向意图提供网元120发送创建意图或实施 意图的请求。The intended consumption network element 110, also called the intended consumer, is the intended consumer. For example, the intended consumption network element 110 may be an operation support system (operations support systems, OSS), a business support system (business support systems, BSS), an application (application, APP) or other user equipment. For an IDMS system, the intended consumption network element 110 may be a service consumer or a management service (management service, MnS) network element, such as a network management system (network management system, NMS). The intent-consuming network element 110 can communicate with the intent-providing network element 120, for example, the intent-consuming network element 110 can send a request for creating or implementing an intent to the intent-providing network element 120.
意图管理网元121可以用于意图模式的管理,它可以接收来自意图消费网元110的请求信息,并针对该请求信息进行处理。意图管理网元121可以包括意图模式库,意图模式库用于存储意图模式。意图管理网元121还可以包括意图实例库,意图管理网元121可以通过意图实例库获取意图模式的状态信息,意图目标和意图对应的操作。The intention management network element 121 can be used for managing the intention mode, it can receive the request information from the intention consumption network element 110, and process the request information. The intent management network element 121 may include an intent schema library, which is used to store intent schemas. The intent management network element 121 may also include an intent instance library, through which the intent management network element 121 may obtain state information of an intent mode, an intent target, and an operation corresponding to the intent.
意图转译网元122可以从意图管理网元121接收转译请求信息,实现意图的转译功能。意图转译网元122还可以从意图管理网元121获取意图模式,对意图消费网元110提供的信息进行语法语义的检查。The intent translation network element 122 may 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 acquire the intent pattern from the intent management network element 121 , and check the syntax and semantics of the information provided by the intent consumption network element 110 .
意图执行网元123可以接收来自意图管理网元122和意图转译网元121的命令,并实现意图的相关操作。The intent execution network element 123 may receive commands from the intent management network element 122 and the intent translation network element 121, and implement operations related to the intent.
需要说明的是,不同的处理意图的系统还可以包括其它具有相应功能的网元。It should be noted that systems with different processing intents may also include other network elements with corresponding functions.
例如,对于wIDN系统,该系统还可以包括意图知识管理网元以及意图知识库。其中,意图管理网元用于管理意图知识,意图知识库用于存储意图知识。意图管理网元还可以包括意图模式库和意图实例库,意图模式库用于存储意图模式,意图实例库用于存储意图。For example, for a wIDN system, the system may also include an intent knowledge management network element and an intent knowledge base. Wherein, the intent management network element is used to manage the intent knowledge, and the intent knowledge base is used to store the intent knowledge. The intent management network element may also include an intent pattern repository and an intent instance repository, where the intent pattern repository is used to store intent patterns, and the intent instance repository is used to store intents.
对于ENI系统,ENI系统还可以包括以下一项或多项:输入功能网元、输出功能网元、分析功能网元以及决策功能网元。其中,输入功能网元可以包括数据收集网元和归一化网元,用于接收外部系统的数据以及对数据进行归一化等操作。输出功能网元可以包括输出网元和去归一化网元,用于将系统内部命令转化为外部系统能够处理的格式并发送给外部系统。分析功能网元可以用于对现有的网络状态进行感知分析并对未来的网络状态进行预测。例如,分析功能网元可以包括知识管理网元、上下文感知网元和认知管理网元。其中知识管理网元可以对意图知识进行管理,上下文感知网元可以对现有的网络状态进行感知分析,认知管理网元可以进行管理分析。上述的意图管理网元和意图转译网元可以是该分析功能网元中的子网元。决策功能网元用于在对网络状态感知的基础上,根据策略目标生成新的操作命令并对操作命令进行编排,并将操作命令发送给输出网元,决策功能网元可以包括策略管理网元,情境感知网元以及驱动管理网元,其中,策略管理网元用于管理意图策略,情境感知网元用于对网络状态进行感知分析,驱动管理网元用于进行意图的驱动管理。For the ENI system, the ENI system may also include one or more of the following: an input function network element, an output function network element, an analysis function network element, and a decision function network element. Wherein, the input function network element may include a data collection network element and a normalization network element, which are used for receiving data from an external system and performing operations such as normalizing the data. The output function network element may include an output network element and a denormalization network element, which are used to convert the system internal command into a format that can be processed by the external system and send it to the external system. The analysis function network element can be used to sense and analyze the existing network state and predict the future network state. For example, the analysis function network element may include a knowledge management network element, a context awareness network element and a cognitive management network element. Among them, the knowledge management network element can manage the intention knowledge, the context awareness network element can perceive and analyze the existing network status, and the cognitive management network element can perform management analysis. The aforementioned intent management network element and intent translation network element may be sub-network elements in the analysis function network element. The decision-making function network element is used to generate new operation commands according to the policy target on the basis of awareness of the network state, arrange the operation commands, and send the operation commands to the output network element. The decision-making function network element can include policy management network elements , a context-aware network element and a drive management network element, wherein the policy management network element is used to manage intent policies, the context-aware network element is used to sense and analyze network status, and the drive management network element is used to perform drive management of intent.
对于IDMS系统,意图消费网元可以是网络管理系统(network management system,NMS),意图提供网元可以是设备管理系统(element management system,EMS),意图管理网元、意图转译网元以及意图执行网元可以是意图提供网元的子模块。For the IDMS system, the intended consumption network element can be the network management system (network management system, NMS), the intended provision network element can be the equipment management system (element management system, EMS), the intention management network element, the intention translation network element and the intention execution A network element may be a sub-module intended to provide a network element.
需要说明的是,本申请的方案可以应用于包含相应网元的其它系统中,本申请不作限定。It should be noted that the solution of this application can be applied to other systems including corresponding network elements, which is not limited in this application.
目前,在处理系统的意图中,意图消费者向意图提供网元发送创建意图的请求时,如果该意图与系统中处于激活态的意图存在冲突时,系统会根据两个意图的优先级进行竞争,也就是说系统会根据一定的机制确定优先级较低的意图,并挂起优先级较低的意图,系统中能够同时支持的意图的个数较少。At present, in the intent processing system, when the intent consumer sends an intent creation request to the intent provider network element, if the intent conflicts with the active intent in the system, the system will compete according to the priority of the two intents , that is to say, the system will determine the intent with lower priority according to a certain mechanism, and suspend the intent with lower priority, and the number of intents that can be supported simultaneously in the system is small.
本申请提出了一种意图的方法,可以提高处理意图冲突的灵活性。This application proposes an intention method, which can improve the flexibility of dealing with intention conflicts.
图2示出了本申请提供的处理意图方法100的一例示意性流程图。FIG. 2 shows an example of a schematic flow chart of the method 100 for processing intentions provided by the present application.
S101,第一网元获取第一意图目标的第一值。S101. A first network element acquires a first value of a first intended target.
该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成 的目标值,该第二意图目标用于指示第二意图期望达成的目标值。The first value conflicts with the second value of the second intention goal, the first intention goal is used to indicate the target value expected to be achieved by the first intention, and the second intention goal is used to indicate the target value expected to be achieved by the second intention.
例如,该第一网元可以为意图转译网元或意图执行网元。For example, the first network element may be an intent translation network element or an intent execution network element.
在第一网元为意图转译网元时,该第一网元可以从意图管理网元获取该第一意图目标的第一值;在第一网元为意图执行网元时,第一网元可以从意图转译网元获取该第一意图目标的第一值。When the first network element is an intent translation network element, the first network element may acquire the first value of the first intent target from an intent management network element; when the first network element is an intent execution network element, the first network element The first value of the first intent target may be acquired from an intent translation network element.
在一种可能的实现方式中,该第一值与第二意图目标的第二值冲突包括:第一值与第二值互斥、或者第一值对应的第一操作与第二值对应的第二操作冲突。In a possible implementation manner, the conflict between the first value and the second value of the second intent includes: the first value and the second value are mutually exclusive, or the first operation corresponding to the first value corresponds to the second value The second operation conflicts.
其中,第一值与第二值互斥,可以理解为:第一值和第二值的交集为空。或者,第一值与第二值互斥,可以理解为:第一值和第二值不同,且第一值对应的第一意图目标和第二值对应的第二意图目标不能共存。Wherein, 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 intended object corresponding to the first value and the second intended object corresponding to the second value cannot coexist.
例如,第一值对应的第一意图目标为“保证基站1中的UE的平均吞吐率不高于8Mbps”,第二值对应的第二意图目标为“保证基站中的终端设备的平均吞吐率高于10Mbps”,此时第一值与第二值互斥。For example, the first intended goal corresponding to the first value is "guarantee that the average throughput rate of UEs in base station 1 is not higher than 8 Mbps", and the second intended goal corresponding to the second value is "guarantee that the average throughput rate of terminal equipment in base station 1 higher than 10Mbps", at this time the first value and the second value are mutually exclusive.
第一值对应的第一操作与第二值对应的第二操作冲突,其中,第一值对应的第一操作可以理解为:达到第一值需要执行的操作,第二值对应的第二操作可以理解为:达到第二值需要执行的操作,冲突,可以理解为:第一操作和第二操作不能全部被执行,第一值和第二值不能同时被达成。例如,假设第一值对应的第一意图目标为“保证基站1中的UE的平均吞吐率不高于8Mbps”,第一值对应的第一操作有3条,分别是:The first operation corresponding to the first value conflicts with the second operation corresponding to the second value. The first operation corresponding to the first value can be understood as: the operation that needs to be performed to reach the first value, and the second operation corresponding to the second value It can be understood as: the operation that needs to be performed to reach the second value, and conflict can be understood as: the first operation and the second operation cannot be executed completely, 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 8 Mbps", there are three first operations corresponding to the first value, which are:
A.将基站的倾角调整为30度。A. Adjust the inclination angle of the base station to 30 degrees.
B.关闭基站节能的算法开关。B. Turn off the energy-saving algorithm switch of the base station.
C.将空口调度算法的权重值调整为0.8。C. Adjust the weight value of the air interface scheduling algorithm to 0.8.
假设第二值对应的第二意图目标为“降低基站能耗30%”,第二值对应的第二操作有两条,分别是:Assume that the second intention goal corresponding to the second value is "reduce the energy consumption of the base station by 30%", and there are two second operations corresponding to the second value, which are:
a.将基站的倾角调整为60度。a. Adjust the inclination angle of the base station to 60 degrees.
b.打开基站节能的算法开关。b. Turn on the energy-saving algorithm switch of the base station.
可见,操作A和操作a无法共同执行,操作B和操作b无法共同执行,假设分别执行操作C,操作a和操作b,执行的结果为“基站1中的UE的平均吞吐率为8.5Mbps”,“降低基站能耗30%”,该结果无法达到第一意图目标的第一值,此时可以理解为第一值对应的第一操作和第二值对应的第二操作冲突。It can be seen that operation A and operation a cannot be performed together, and operation B and operation b cannot be performed together. Assume that operation C, operation a and operation b are performed separately, and the execution result is "the average throughput rate of the UE in base station 1 is 8.5 Mbps" , "Reduce the energy consumption of the base station by 30%", the result cannot reach the first value of the first intended goal. At this time, it can be understood that the first operation corresponding to the first value conflicts with the second operation corresponding to the second value.
例如,第一值对应的第一操作与第二值对应的第二操作冲突,也可以理解为:第一值对应的操作和第二值对应的操作中至少存在一个不能共同执行的操作,当执行第一值对应的操作中能够执行的操作后,无法满足第一意图目标的第一值。For example, the conflict between the first operation corresponding to the first value and the second operation corresponding to the second value can also be understood as: at least one of the operations corresponding to the first value and the operation corresponding to the second value cannot be executed together. The first value of the first intent cannot be satisfied after performing the operations that can be performed among the operations corresponding to the first value.
在一种可能的实现方式中,该第一意图可以为需要创建的意图,第二意图为系统中处于激活态的意图,或者该第一意图为系统中处于激活态的意图,第二意图为需要创建的意图。In a possible implementation, the first intent may be an intent that needs to be created, and the second intent is an active intent in the system, or the first intent is an active intent in the system, and the second intent is An intent needs to be created.
作为示例而非限定,本申请以第二意图为系统中处于激活态的意图进行举例。As an example but not a limitation, the present application takes the second intention as an intention in an active state in the system as an example.
S102,第一网元获取第一信息,该第一信息用于指示第一意图目标的第一取值范围。S102. The first network element acquires first information, where the first information is used to indicate a first value range of a first intended target.
例如,该第一取值范围可以为一个集合或一个取值,该集合可以是由多个离散值组成的集合,也可以是由一段或多段连续值组成的集合。For example, the first value range may be a set or a value, and the set may be a set composed of multiple discrete values, or a set composed of one or more segments of continuous values.
第一网元可以采用以下三种方式中的任一种方式来获取该第一信息:The first network element may acquire the first information in any of the following three ways:
方式#1Way #1
第一网元从第二网元接收该第一信息,对应地,第二网元向第一网元发送该第一信息。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.
例如,当第一网元为意图转译网元时,该第二网元可以是意图管理网元;当第一网元为意图执行网元时,该第二网元可以是意图转译网元或意图管理网元。For example, when the first network element is an intention translation network element, the second network element may be an intention management network element; when the first network element is an intention execution network element, the second network element may be an intention translation network element or Intent to manage network elements.
需要说明的是,该第二网元可以同时向第一网元发送第一意图的第一目标的第一值和该第一信息,第二网元也可以将第一信息与第一值分成两个消息发送给第一网元,第二网元还可以只向第一网元发送第一信息,第一网元根据预设规则可以从第一信息中的第一取值范围获取该第一值。It should be noted that the second network element may simultaneously send the first value of the first target of the first intention and the first information to the first network element, and the second network element may also divide the first information and the first value into The two messages are sent to the first network element, and the second network element can also only send the first information to the first network element, and the first network element can obtain the first information from the first value range in the first information according to preset rules. one value.
在一种可能的实现方式中,该第一信息可以为第二网元从意图消费者获取,也就是说该第一信息可以是由意图消费者确定的,例如,当第二网元为意图管理网元时,意图管理网元可以从意图消费者下发的创建或实施意图请求中获取该第一信息,当第二网元为意图转译网元时,意图转译网元也可以通过意图管理网元获取意图消费者确定的第一信息。In a possible implementation, the first information may be obtained by the second network element from the intended consumer, that is to say, the first information may be determined by the intended consumer, for example, when the second network element is the intended When managing network elements, the intent management network element can obtain the first information from the intent creation or implementation request issued by the intent consumer, and when the second network element is an intent translation network element, the intent translation network element can also pass the intent management The network element obtains the first information identified by the intended consumer.
方式#2Way #2
第一网元确定第一意图目标的第三取值范围。The first network element determines the third value range of the first intended target.
该第三取值范围可以理解为第一网元能够接受的第一意图目标的取值范围。The third value range may be understood as the value range of the first intended target acceptable to the first network element.
需要说明的是,该第三取值范围可以为一个集合或一个取值,该集合可以是由多个离散值组成的集合,也可以是由一段或多段连续值组成的集合。It should be noted that the third value range may be a set or a value, and the set may be a set of multiple discrete values, or a set of one or more continuous values.
例如,第一网元根据第二意图目标或当前系统的运行状态确定第三取值范围。For example, the first network element determines the third value range according to the second intended target or the current operating state of the system.
再例如,在执行能够执行的操作,例如与第二操作不冲突的操作,无法满足第一意图目标的第一值的情况下,第一网元可以根据能够达成的目标值确定第一意图目标的第三取值范围。For another example, in the case that the first value of the first intentional goal cannot be satisfied by performing an executable operation, such as an operation that does not conflict with the second operation, the first network element may determine the first intentional goal according to the achievable goal value The third value range of .
第一网元向第二网元发送第七信息,对应地,第二网元从第一网元接收该第七信息。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.
该第七信息用于指示该第三取值范围。The seventh information is used to indicate the third value range.
第二网元根据第七信息确定第一信息,该第一信息用于指示第一取值范围。The second network element determines the first information according to the seventh information, where the first information is used to indicate the first value range.
第一网元从第二网元接收第一信息,对应地,第二网元向第一网元发送第一信息。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.
其中,第二网元根据第七信息确定第一信息,在一种可能的实现方式中,第二网元向意图消费者发送用于指示第三取值范围的指示信息,意图消费者确定是否能够接受该第三取值范围,如果意图消费者接受该第三取值范围,则意图消费者向第二网元发送用于指示接受该第三取值范围的信息,第二网元可以将第三取值范围确定为第一取值范围;如果意图消费者不接受该第三取值范围,则意图消费者向第二网元发送用于指示第一取值范围的信息,从而第二网元获取用于指示第一取值范围的第一信息。Wherein, the second network element determines the first information according to the seventh information. In a possible implementation manner, the second network element sends indication information for indicating the third value range to the intended consumer, and the intended consumer determines whether can accept the third value range, if the intended consumer accepts the third value range, the intended consumer sends information indicating acceptance of the third value range to the second network element, and the second network element can send The third value range is determined as the first value range; if the intended consumer does not accept the third value range, the intended consumer sends information indicating the first value range to the second network element, so that the second The network element acquires first information used to indicate the first value range.
也就是说,第一网元获取第一取值范围,可以采取与第二网元协商,或者说是通过第二网元与意图消费者协商的方式,第一网元先给第二网元一个建议的取值范围,第二网元根据该建议的取值范围向第一网元反馈一个意图消费者可以接受的取值范围或取值,若第一网元接受意图消费者反馈的取值范围或取值,则第一网元获取了第一信息。That is to say, the first network element can obtain the first value range by negotiating with the second network element, or through negotiation with the intended consumer through the second network element. The first network element first gives the second network element A suggested value range, the second network element feeds back a value range or value acceptable to the intended consumer to the first network element according to the suggested value range, if the first network element accepts the value fed back by the intended consumer value range or value, the first network element has acquired the first information.
需要说明的是,以上仅是给出协商一次的示例,在本申请中,如果第二网元不接受意图消费者反馈的取值范围,可以重新确定第三取值范围发送给第二网元,重复上述协商的过程,直至第一网元获取共同接受的第一取值范围,或者达到预规定的协商次数为止。It should be noted that the above is only an example of one negotiation. In this application, if the second network element does not accept the value range of the intended consumer feedback, the third value range can be re-determined and sent to the second network element , repeating the above negotiation process until the first network element obtains the first commonly accepted value range, or reaches a predetermined number of times of negotiation.
方式#3Way #3
第一网元确定该第一信息。The first network element determines the first information.
在一种可能的实现方式中,第一网元确定该第一信息,第一网元可以根据系统的预设条件确定第一意图目标的第一取值范围,或者第一网元可以根据当前系统的运行情况、负载或系统需要达成的目标确定第一意图目标的取值范围,也就是第一信息,本申请对此不作特别限定。In a possible implementation manner, the first network element determines the first information, and the first network element may determine the first value range of the first intended target according to system preset conditions, or the first network element may determine the first value range of the first intended target according to the current The operating conditions of the system, the load, or the goals to be achieved by the system determine the value range of the first intended goal, that is, the first information, which is not particularly limited in this application.
在另一种可能的实现方式中,第一网元确定第一信息,在执行能够执行的操作,例如与第二操作不冲突的操作,无法满足第一意图目标的第一值的情况下,第一网元可以根据能够达成的目标值确定第一意图目标的第一取值范围,也就是第一信息。In another possible implementation manner, the first network element determines the first information, and when performing an executable operation, for example, an operation that does not conflict with the second operation, and cannot satisfy the first value of the first intention goal, The first network element may determine the first value range of the first intended target according to the achievable target value, that is, the first information.
在一种可能的实现方式中,在第一网元采用方式#3获取第一信息,即第一网元确定该第一信息时,第一网元向第二网元发送第一信息,对应地,第二网元从第一网元接收第一信息。In a possible implementation manner, when the first network element obtains the first information using method #3, that is, when the first network element determines the first information, the first network element sends the first information to the second network element, corresponding to Specifically, the second network element receives the first information from the first network element.
第二网元确定是否接受该第一信息指示的第一取值范围。The second network element determines whether to accept the first value range indicated by the first information.
例如,第二网元可以根据第一信息向意图消费者发送用于指示该第一取值范围的信息,意图消费者确定是都能够接受该第一取值范围,如果意图消费者能够接受该第一取值范围,则意图消费者向第二网元反馈用于指示能够接受该第一取值范围的信息。For example, the second network element may send information indicating the first value range to the intended consumer according to the first information, and the intended consumer determines whether they can accept the first value range, if the intended consumer can accept the first value range The first value range means that the consumer is intended to feed back information indicating that the first value range can be accepted to the second network element.
在第二网元接受该第一信息指示的第一取值范围的情况下,第二网元向第一网元发送第六信息,对应地,第一网元从第二网元接收该第六信息。When the second network element accepts the first value range indicated by the first information, the second network element sends sixth information to the first network element, and correspondingly, the first network element receives the sixth information from the second network element Six information.
该第六信息用于指示第二网元接受该第一信息指示的第一取值范围。The sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
在第二网元不接受该第一信息指示的第一取值范围的情况下,第二网元可以向第一网元发送用于指示拒绝该第一信息指示的第一取值范围,从而第一网元可以重新确定一个第一取值范围,并重新向第二网元发送该第一取值范围,或者第一网元可以挂起执行该第一意图。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 the first network element to indicate 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 execution of the first intention.
在一种可能的实现方式中,第一网元确定第二意图目标的第二值是否允许被修改。In a possible implementation manner, the first network element determines whether the second value of the second intended object is allowed to be modified.
在一种可能的实现方式中,第一网元可以根据一个显示的信息确定第二意图是否允许被修改。In a possible implementation manner, the first network element may determine whether the second intent is allowed to be modified according to displayed information.
例如,第一网元获取第二信息。For example, the first network element acquires the second information.
该第二信息用于指示第二意图目标的第二取值范围。The second information is used to indicate the second value range of the second intended target.
需要说明的是,第一网元获取第二信息,也可以理解为第二意图的第二意图目标允许被修改,即第二信息也可以指示第二意图的第二值允许被修改。It should be noted that the acquisition of the second information by the first network element may also be understood as that the second intent target of the second intent is allowed to be modified, that is, the second information may also indicate that the second value of the second intent is allowed to be modified.
第一网元获取第二信息的方式与第一网元获取第一信息的方式类似,为了简便,在此不再赘述。The manner in which the first network element acquires the second information is similar to the manner in which the first network element acquires the first information, and for simplicity, details are not repeated here.
在另一种可能的实现方式中,若第一网元未获取可以指示第二意图允许被修改的信息时,第一网元可以默认第二意图不允许被修改。In another possible implementation manner, if the first network element does not obtain information that can indicate that the second intent is allowed to be modified, the first network element may default that the second intent is not allowed to be modified.
也就是说,第一网元在第一值和第二值冲突的情况下,可以确定第二意图目标的第二值是否允许被修改,在第二值不允许被修改的情况下,第一网元可以执行步骤S103,当第二意图目标的第二值允许被修改的情况下,若第一值和第二值冲突,系统既可以选择修改第一值,也可以选择修改第二值,其中,修改第一值或修改第二值也可以理解为第一网元为第一意图目标或第二意图目标重新确定一个目标值。That is to say, when the first value conflicts with the second value, the first network element can determine whether the second value of the second intended target is allowed to be modified, and if the second value is not allowed to be modified, the first The network element may execute step S103. When the second value of the second intended object is allowed to be modified, if the first value conflicts with the second value, the system may choose to modify the first value or the second value, Wherein, modifying the first value or modifying the second value may also be understood as the first network element re-determining a target value for the first intended target or the second intended target.
也就是说,第一网元确定第二意图目标的第二值是否允许被修改的确认结果包括以下两种情况:That is to say, the confirmation result of the first network element determining whether the second value of the second intended object is allowed to be modified includes the following two situations:
情况1:Case 1:
在第一网元确定第二值不允许被修改的情况下,在一种可能的实现方式中,第一网元根据第一意图的优先级和第二意图的优先级确定是否挂起第二意图。When the first network element determines that the second value is not allowed to be modified, in a possible implementation manner, the first network element determines whether to suspend the second value according to the priority of the first intention and the priority of the second intention. intention.
在第一意图的优先级高于或等于第二意图的优先级的情况下,第一网元确定挂起第二意图。If 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.
在一种可能的实现方式中,第一网元释放第二意图的资源,停止执行第二意图。In a possible implementation manner, the first network element releases resources of the second intent, and stops executing the second intent.
需要说明的是,在本申请中是以第二意图的第二值不可修改,且第二意图的优先级低于第一意图的优先级,挂起第二意图进行举例,第一意图的第一值不可修改,且第一意图的优先级低于第二意图的优先级,挂起第一意图的操作类似,为了简便,在此不再赘述。It should be noted that in this application, the second value of the second intent cannot be modified, and the priority of the second intent is lower than that of the first intent, and the second intent is suspended as an example. The first intent of the first intent A value cannot be modified, and the priority of the first intent is lower than that of the second intent. The operation of suspending the first intent is similar, and for the sake of brevity, details are not repeated here.
情况2:Case 2:
在第一网元确定第二值允许被修改的情况下,在一种可能的实现方式中,第一网元确定第一意图的优先级是否低于或等于第二意图的优先级。In a 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 intent is lower than or equal to the priority of the second intent.
从而第一网元可以根据第一意图的优先级和第二意图的优先级确定是修改第一值或修改第二值。Therefore, the first network element may determine whether to modify the first value or to modify the second value according to the priority of the first intention and the priority of the second intention.
第一网元确定第一意图的优先级是否低于或等于第二意图的优先级的确认结果包括以下两种情况:The confirmation result of the first network element determining whether the priority of the first intent is lower than or equal to the priority of the second intent includes the following two situations:
情况a:如果第一意图的优先级低于或等于第二意图的优先级,则第一网元执行步骤S103。Case a: If the priority of the first intent is lower than or equal to the priority of the second intent, the first network element executes step S103.
S103,第一网元根据第一信息确定第一意图目标的第三值。S103. The first network element determines a third value of the first intended target according to the first information.
该第三值属于第一取值范围,该第三值与第二值不冲突。The third value belongs to the first value range, and the third value does not conflict with the second value.
在一种可能的实现方式中,第一网元确定第一取值范围中与第二值不冲突的目标值中的最大值或最小值为该第三值。In a possible implementation manner, the first network element determines that the third value is the maximum value or the minimum value among the target values that do not conflict with the second value in the first value range.
在另一种可能的实现方式中,第一网元确定第一取值范围中与第二值不冲突的目标值,并根据预设规则或系统信息在该不冲突的目标值中确定该第三值。例如,系统信息包括系统中带宽的精度或承载大小等。In another possible implementation manner, the first network element determines a target value that does not conflict with the second value in the first value range, and determines the second value among the target values that do not conflict according to preset rules or system information. triple value. For example, the system information includes the accuracy of the bandwidth in the system or the bearer size, etc.
例如,第二值对应的第二意图目标为“保证基站1中的UE的平均吞吐率不高于8Mbps”,第一值对应的第一意图目标为“保证基站1中的UE的平均吞吐率高于10Mbps”,假设确定修改第一意图,第一信息指示的第一意图目标的第一取值范围为[5,10]。For example, the second intended goal corresponding to the second value is "guarantee that the average throughput rate of UEs in base station 1 is not higher than 8 Mbps", and the first intended goal corresponding to the first value is "guarantee that the average throughput rate of UEs in base station 1 is higher than 10Mbps", assuming that the first intent is determined to be modified, the first value range of the first intent target indicated by the first information is [5,10].
如果系统识别带宽的精度为1Mbps,则第一网元可以确定第三值为7Mbps,即第三值对应的第一意图目标为“保证基站1中的UE的平均吞吐率高于7Mbps”。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 goal corresponding to the third value is "to ensure that the average throughput of UEs in base station 1 is higher than 7 Mbps".
如果系统识别带宽的精度为0.1Mbps,则第一网元可以确定第三值为7.9Mbps,即第三值对应的第一意图目标为“保证基站1中的UE的平均吞吐率高于7.9Mbps”。If the system identifies the bandwidth with an accuracy of 0.1 Mbps, the first network element can determine that the third value is 7.9 Mbps, that is, the first intended goal corresponding to the third value is "to ensure that the average throughput rate of UEs in base station 1 is higher than 7.9 Mbps ".
情况b:如果第一意图的优先级高于第二意图的优先级,第一网元可以确定第二意图目标的第四值,第四值和第一值不冲突。Case b: If the priority of the first intent is higher than that of the second intent, the first network element may determine a fourth value of the second intent, and the fourth value does not conflict with the first value.
可选的,第一网元还可以获取第二意图目标的取值范围。第一网元获取第二意图目标的取值范围的方式可以与获取第一信息的方式类似,此处不再赘述。Optionally, the first network element may also obtain the value range of the second intended target. The manner in which the first network element obtains the value range of the second intended object may be similar to the manner in which the first information is obtained, and details are not repeated here.
可选的,第一网元还可以根据第二意图目标的取值范围确定该第四值。第一网元根据第二意图目标的取值范围确定该第四值可以与根据第一信息确定第三值的方式类似,为了简便,在此不再赘述。Optionally, the first network element may also determine the fourth value according to the value range of the second intended target. The manner in which the first network element determines the fourth value according to the value range of the second intended target may be similar to the manner in which the third value is determined according to the first information, and details are not repeated here for simplicity.
在一种可能的实现方式中,第一网元确定第一意图目标的第三值后,第一网元还可以向第二网元发送以下信息中的至少一项:第一意图的标识、第一意图的状态信息和第三值。 例如,第一网元可以通过更新消息向第二网元发送上述至少一项信息。其中,第一意图的状态信息用于指示第一意图的状态为激活态。In a possible implementation manner, after the first network element determines the third value of the first intention target, the first network element may also send at least one of the following information to the second network element: the identifier of the first intention, State information for the first intent and a value for the third. For example, the first network element may send the foregoing at least one item of information to the second network element through an update message. Wherein, the state information of the first intention is used to indicate that the state of the first intention is an active state.
在另一种可能的实现方式中,第一网元确定第二意图的目标的第四值后,第一网元还可以向第二网元发送以下信息中的至少一项:第二意图的标识、第二意图的状态信息和第四值。例如,第一网元可以通过更新消息向第二网元发送上述至少一项信息。其中,第二意图的状态信息用于指示第二意图的状态为激活态。In another possible implementation manner, 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: the target of the second intent ID, state information for the second intent, and a fourth value. For example, the first network element may send the foregoing at least one item of information to the second network element through an update message. Wherein, the state information of the second intent is used to indicate that the state of the second intent is an active state.
需要说明的是,如果第一意图和第二意图都不允许被修改,或者第一意图和/或第二意图虽然允许被修改,但是无法根据目标值的修改范围确定不冲突的目标值,第一网元可以根据第一意图的优先级和第二意图的优先级进行抢占。例如,若第一意图的优先级较低,则挂起执行第一意图,若第二意图的优先级较低,则挂起执行第二意图,此时,第一网元也可以向第二网元发送更新信息,该更新信息包括被挂起执行的意图的标识以及用于指示挂起执行的状态信息,例如指示被挂起执行的意图的状态为冲突态。It should be noted that if neither the first intent nor the second intent is allowed to be modified, or although the first intent and/or the second intent are allowed to be modified, a non-conflicting target value cannot be determined according to the modification range of the target value, the A network element may perform preemption according to the priority of the first intent and the priority of the second intent. For example, if the priority of the first intent is low, the execution of the first intent is suspended, and if the priority of the second intent is low, the execution of the second intent is suspended. The network element sends update information, where the update information includes an identifier of the suspended execution intent and status information for indicating the suspended execution, for example, indicating that the status of the suspended execution intent is a conflict state.
根据在本实施例提出的方案,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
在本实施例提出的方法100中,可选的,还可以包括以下操作:In the method 100 proposed in this embodiment, optionally, the following operations may also be included:
S104,第一网元获取第三信息,该第三信息用于指示第一值允许被修改为第三值。S104. The first network element acquires third information, where the third information is used to indicate that the first value is allowed to be modified to a third value.
例如,在第一网元为意图转译网元时,该第一网元可以从意图管理网元获取该第三信息;在第一网元为意图执行网元时,第一网元可以从意图转译网元获取该第三信息。For example, when the first network element is an intent translation network element, the first network element may obtain the third information from an 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 an intent The translation network element obtains the third information.
需要说明的是,第一意图目标的第一值和该第三信息可以通过同一个消息发送,也可以通过不同的消息发送。It should be noted that the first value of the first intent target and the third information may be sent through the same message, or may be sent through different messages.
通过步骤S104,第一网元可以根据第三信息确定第一意图目标的第一值是否允许被修改。Through step S104, the first network element may determine whether the first value of the first intended object is allowed to be modified according to the third information.
S105,第一网元向第二网元发送第四信息,对应地,第二网元从第一网元接收第四信息。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.
该第四信息用于请求获取第二意图目标,该第二意图为处于激活态的意图。The fourth information is used to request to obtain the second intent target, and the second intent is an active intent.
该第二网元可以为意图管理网元。The second network element may be an intent management network element.
例如,第一网元可以通过意图查询请求消息向第二网元发送第四消息。或者,第四信息可以为意图查询请求消息。For example, the first network element may send the fourth message to the second network element through an intent query request message. Alternatively, the fourth information may be an intent query request message.
在一种可能的实现方式中,当第一网元为意图转译网元时,该第四信息可以用于请求获取第二意图目标的第二值,从而第一网元可以确定第一意图目标的第一值和第二意图目标的第二值是否互斥。In a possible implementation manner, when the first network element is an intent translation network element, the fourth information may be used to request to obtain the second value of the second intent target, so that the first network element may determine the first intent target Whether the first value of and the second value of the second intent target are mutually exclusive.
在另一种可能的实现方式中,当第一网元为意图执行网元时,该第四信息可以用于请求获取第二值对应的第二操作,从而第一网元可以确定第一值对应的第一操作和第二值对应的第二操作是否冲突。In another possible implementation manner, when the first network element is a network element with an intention to execute, the fourth information may be used to request to obtain the second operation corresponding to the second value, so that the first network element may determine the first value Whether the corresponding first operation conflicts with the second operation corresponding to the second value.
需要说明的是,在本申请中,第二意图的数量可能是一个或多个,也就是说系统中可能存在一个或多个与第一意图目标的第一值冲突的第二意图。It should be noted that in this application, the number of second intents may be one or more, that is to say, there may be one or more second intents in the system that conflict with the first value of the first intent target.
S106,第一网元从第二网元接收第五信息,对应的,第二网元向第一网元发送第五信息。S106. The first network element receives fifth information from the second network element, and correspondingly, the second network element sends the fifth information to the first network element.
该第五信息用于指示第二意图目标。The fifth information is used to indicate the second intended target.
也就是说,第二网元可以根据第四信息向第一网元发送第二意图的第二意图目标,也就是第二意图目标的第二值或第二值对应的第二操作。That is to say, the second network element may send the second intention object of the second intention to the first network element according to the fourth information, that is, the second value of the second intention object or the second operation corresponding to the second value.
通过步骤S105和步骤S106,第一网元可以获得第二意图目标,从而第一网元可以确定第一意图目标的第一值是否与处于激活态的意图的目标值存在冲突,可以提高处理意图冲突的可靠性。Through steps S105 and 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 active state, and can improve the processing intention conflict reliability.
图3示出了一种意图转译网元处理意图冲突方法200的示意性流程图。FIG. 3 shows a schematic flowchart of a method 200 for an intent translation network element to handle intent conflicts.
S201,意图转译网元(第一网元中的一例)从意图管理网元(第二网元中的一例)接收第一意图目标的第一值,对应地,意图管理网元向意图转译网元发送第一意图目标的第一值。S201. The intention translation network element (an example of the first network element) receives the first value of the first intention target from the intention management network element (an example of the second network element), and correspondingly, sends the intention translation network element to the intention translation network element. Element sends the first value of the first intent target.
该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成的目标值,该第二意图目标用于指示第二意图期望达成的目标值。The first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
例如,意图管理网元通过意图转译请求消息(translateIntent)向意图转译网元发送该第一意图目标的第一值。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).
S202,意图转译网元从意图管理网元接收第一信息,对应地,意图管理网元向意图转译网元发送该第一信息。S202. The intention translation network element receives first information from the intention management network element, and correspondingly, the intention management network element sends the first information to the intention translation network element.
该第一信息用于指示第一意图目标的取值范围。The first information is used to indicate the value range of the first intended target.
例如,意图管理网元也可以通过意图转译请求消息(translateIntent)向意图转译网元发送该第一意图目标的第一值。For example, the intent management network element may also send the first value of the first intent target to the intent translation network element through an intent translation request message (translateIntent).
需要说明的是,意图转译网元可以根据第一信息确定第一意图目标的第一值允许被修改。It should be noted that the intent translation network element may determine, according to the first information, that the first value of the first intent target is allowed to be modified.
可选地,S203,意图转译网元从意图管理网元接收第三信息,对应地,意图管理网元向意图转译网元发送第三信息。Optionally, S203. The intention translation network element receives the third information from the intention management network element, and correspondingly, the intention management network element sends the third information to the intention translation network element.
该第三信息用于指示第一值允许被修改。The third information is used to indicate that the first value is allowed to be modified.
例如,意图管理网元也可以通过意图转译请求消息(translateIntent)向意图转译网元发送该第三信息。For example, the intent management network element may also send the third information to the intent translation network element through an intent translation request message (translateIntent).
例如,意图转译网元可以根据第三信息确定第一值是否允许被修改。For example, the intent translation network element may determine whether the first value is allowed to be modified according to the third information.
可选的,意图管理网元可以从意图消费者发送的用于指示创建第一意图的增加意图请求消息(implementIntent request)中获得第一意图目标的第一值、第一信息或第三信息。Optionally, the intent management network element may obtain the first value, the first information or the third information of the first intent target from an add intent request message (implementIntent request) sent by the intent consumer to indicate creation of the first intent.
可选地,意图管理网元向意图消费者发送第一意图的意图实施响应消息(implementIntent)。Optionally, the intent management network element sends an intent implementation response message (implementIntent) of the first intent to the intent consumer.
可选地,意图转译网元向意图管理网元发送第一意图对应的查询意图模式请求消息(retrieveIntentSchema),对应地,该意图管理网元从意图转译网元接收该第一意图对应的查询意图模式请求消息。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 the query intent corresponding to the first intent from the intent translation network element Schema request message.
例如,该第一意图对应的查询意图模式请求消息可以用于请求获取第一意图的意图模式和/或第一意图目标的第一值对应的第一操作。For example, the query intent pattern request message corresponding to the first intent may be used to request to acquire the intent pattern of the first intent and/or the first operation corresponding to the first value of the first intent target.
可选地,意图转译网元从意图管理网元接收第一意图的意图模式和/或第一意图目标的第一值对应的第一操作。Optionally, the intent translation network element receives the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target from the intent management network element.
可选地,意图转译网元可以根据从意图管理网元获得的第一意图的意图模式对第一意图进行语法语义检查。Optionally, the intent translation network element may check the syntax and semantics of the first intent according to the intent mode of the first intent obtained from the intent management network element.
可选地,S204,意图转译网元向意图管理网元发送第四信息,对应地,意图管理网元从意图转译网元接收该第四信息。Optionally, S204, the intention translation network element sends fourth information to the intention management network element, and correspondingly, the intention management network element receives the fourth information from the intention translation network element.
该第四信息用于请求获取第二意图目标,第二意图为处于激活态的意图。The fourth information is used to request to obtain the target of the second intent, and the second intent is an intent in an active state.
例如,意图转译网元可以通过查询意图请求消息(queryIntent)向意图管理网元发送该第四信息。For example, the intent translation network element may send the fourth information to the intent management network element through a query intent request message (queryIntent).
例如,第四信息可以用于请求获取第二意图目标的第二值,即第二意图目标目前的目标值,以及第二值对应的第二操作。For example, the fourth information may be used to request to obtain the second value of the second intended goal, that is, the current goal value of the second intended goal, and the second operation corresponding to the second value.
可选地,S205,意图转译网元从意图管理网元接收第五信息,对应地,意图管理网元向意图转译网元发送第五信息。Optionally, S205. The intention translation network element receives fifth information from the intention management network element, and correspondingly, the intention management network element sends the fifth information to the intention translation network element.
该第五信息用于指示第二意图目标。The fifth information is used to indicate the second intended target.
例如,意图管理网元可以通过查询意图回复消息向意图转译网元发送该第五信息。For example, the intent management network element may send the fifth information to the intent translation network element by querying an intent reply message.
可选地,该查询回复消息还可以包括第二意图的标识。Optionally, the query reply message may also include an identifier of the second intent.
例如,意图管理网元可以根据第四信息的请求向意图转译网元返回所请求的第二意图目标的相关信息。For example, the intent management network element may return the requested related information of the second intent target to the intent translation network element according to the fourth information request.
S206,意图转译网元确定第一意图目标的第一值和第二意图目标的第二值是否互斥。S206. The intent translation network element determines whether the first value of the first intent object and the second value of the second intent object are mutually exclusive.
第一值和第二值互斥的描述与方法100中描述的类似,为了简便,在此不再赘述。The description of the mutual exclusion of the first value and the second value is similar to that described in the method 100, and for the sake of brevity, details are not repeated here.
如果意图转译网元确定第一值和第二值不互斥,则可以执行第一值下的第一意图。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.
需要说明的是,意图转译网元在获取第一信息的情况下,可以确定当第一值和第二值互斥时,第一意图目标的第一值允许被修改。It should be noted that, when the intent translation network element acquires the first information, it may 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.
如果意图转译网元确定第一值和第二值互斥,则意图转译网元执行步骤S207。If the network element intended to translate determines that the first value and the second value are mutually exclusive, the network element intended to translate performs step S207.
S207,意图转译网元确定第二意图目标的第二值是否允许被修改。S207. The intent translation network element determines whether the second value of the second intent object is allowed to be modified.
意图转译网元确定第二意图目标的第二值是否允许被修改的描述与方法100中的描述类似,为了简便,在此不再赘述。The description of whether the intent translation network element determines whether the second value of the second intent object is allowed to be modified is similar to the description in method 100, and for simplicity, details are not repeated here.
步骤S207的确认结果可以包括以下两种情况:The confirmation result of step S207 may include the following two situations:
情况1:如果意图转译网元确定第二意图目标的第二值不允许被修改,则意图转译网元执行步骤S208。Case 1: If the intention translation network element determines that the second value of the second intention object is not allowed to be modified, the intention translation network element performs step S208.
S208,意图转译网元根据第一信息确定第一意图的第一意图目标的第三值。S208. The intent translation network element determines a third value of the first intent target of the first intent according to the first information.
该第三值属于第一取值范围,第三值和第一值不冲突。The third value belongs to the first value range, and the third value does not conflict with the first value.
意图转译网元根据第一信息确定第一意图的第一意图目标的第三值的方式与方法100中描述的类似,为了简便,在此不再赘述。A manner in which the intent translation network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
情况2:如果意图转译网元确定第二意图目标的第二值允许被修改,则意图转译网元执行步骤S209。Case 2: If the intention translation network element determines that the second value of the second intention object is allowed to be modified, the intention translation network element performs step S209.
S209,意图转译网元确定第一意图的优先级是否高于或等于第二意图的优先级。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.
步骤S209的确认结果可以包括以下两种情况:The confirmation result of step S209 may include the following two situations:
情况a:如果意图转译网元确定第一意图的优先级高于或等于第二意图的优先级,意图转译网元确定第二意图的第二意图目标的第四值,第四值与第一值不冲突。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 the fourth value of the second intent target of the second intent, and the fourth value is the same as the first intent Values do not conflict.
意图转译网元确定第四值的方式与方法100中描述的类似,为了简便,在此不再赘述。The manner in which the intent translation network element determines the fourth value is similar to that described in method 100, and for simplicity, details are not repeated here.
情况b:如果意图转译网元确定第一意图的优先级低于第二意图的优先级,意图转译网元执行步骤S208,即意图转译网元根据第一信息确定第一意图的第一意图目标的第三值。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 performs step S208, that is, the intent translation network element determines the first intent target of the first intent according to the first information the third value of .
该第三值属于第一取值范围,第三值和第一值不冲突。The third value belongs to the first value range, and the third value does not conflict with the first value.
当意图转译网元根据第一信息确定第一意图目标的第三值,也可以说当意图转译网元修改第一意图目标的目标值时,意图转译网元可以向意图管理网元发送用于更新第一意图的意图上下文更新消息(intentContextUpdate),对应地,意图管理网元从意图转译网元接收该意图上下文更新消息。When the intent translation network element determines the third value of the first intent target according to the first information, it can also be said that when the intent translation network element modifies the target value of the first intent target, the intent translation network element may send a message to the intent management network element The intent context update message (intentContextUpdate) for updating the first intent, correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
该用于更新第一意图的意图上下文更新消息可以包括以下信息中的至少一项:第一意图的标识、第一意图的状态信息和第三值。其中,第一意图的状态信息用于指示第一意图的状态为激活态。The intent context update message for updating the first intent may include at least one item 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 active state.
当意图转译网元根据确定第二意图目标的第四值,也可以说当意图转译网元修改第二意图目标的目标值时,意图转译网元可以向意图管理网元发送用于更新第二意图的意图上下文更新消息,对应地,意图管理网元从意图转译网元接收该意图上下文更新消息。When the intent translation network element determines the fourth value of the second intent target according to the determination, it can also be said that when the intent translation network element modifies the target value of the second intent target, the intent translation network element may send a message for updating the second intent target to the intent management network element. Correspondingly, the intention management network element receives the intention context update message from the intention translation network element.
该用于更新第二意图的意图上下文更新消息可以包括以下信息中的至少一项:第二意图的标识、第二意图的状态信息和第四值。其中,第二意图的状态信息用于指示第二意图的状态为激活态。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 active state.
需要说明的是,为了清楚,上述描述是以第一意图目标的第一值允许被修改进行举例,在本申请中,也可以包括第一意图不允许被修改,第二意图允许被修改的场景,实现方式与第一意图允许被修改,第二意图不允许被修改类似,为了简便,在此不再赘述。It should be noted that, for the sake of clarity, the above description is an example where the first value of the first intent object is allowed to be modified. In this application, it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified. For the sake of brevity, details are not repeated here.
另外,如果第一意图和第二意图都不允许被修改,或者第一意图和/或第二意图虽然允许被修改,但是无法根据目标值的修改范围确定不冲突的目标值,意图转译网元可以根据第一意图的优先级和第二意图的优先级进行抢占,进行抢占的方式与方法100中的描述类似,为了简便,在此不再赘述。In addition, if both the first intent and the second intent are not allowed to be modified, or the first intent and/or the second intent are allowed to be modified, but a non-conflicting target value cannot be determined according to the modification range of the target value, the intent translation network element The preemption may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
根据在本实施例提出的方案,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
图4示出了一种意图执行网元处理意图冲突方法300的示意性流程图。FIG. 4 shows a schematic flow chart of a method 300 for handling intent conflicts by an intent-executing network element.
S301,意图执行网元(第一网元中的一例)从意图转译网元(第二网元中的一例)接收第一意图目标的第一值。S301. The intent execution network element (an example of the first network element) receives a first value of the first intent target from an intent translation network element (an example of the second network element).
该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成的目标值,该第二意图目标用于指示第二意图期望达成的目标值。The first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
例如,意图转译网元可以通过执行意图请求消息(executeIntent)向意图执行网元发送该第一意图目标的第一值。For example, the intent translation network element may send the first value of the first intent target to the intent execution network element through an execute intent request message (executeIntent).
S302,意图执行网元从意图转译网元接收第一信息,对应地,意图转译网元向意图执行网元发送该第一信息。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.
该第一信息用于指示第一意图目标的取值范围。The first information is used to indicate the value range of the first intended target.
例如,意图转译网元也可以通过执行意图请求消息(executeIntent)向意图执行网元发送该第一信息。For example, the intent translation network element may also send the first information to the intent execution network element through an execution intent request message (executeIntent).
需要说明的是,意图执行网元可以根据第一信息确定第一意图目标的第一值允许被修改。It should be noted that the intention execution network element may determine, according to the first information, that the first value of the first intention target is allowed to be modified.
可选地,S303,意图执行网元从意图转译网元接收第三信息,对应地,意图转译网元 向意图执行网元发送第三信息。Optionally, S303. The intention execution network element receives the 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.
该第三信息用于指示第一值允许被修改。The third information is used to indicate that the first value is allowed to be modified.
例如,意图转译网元也可以通过执行意图请求消息(executeIntent)向意图执行网元发送该第三信息。For example, the intent translation network element may also send the third information to the intent execution network element through an execution intent request message (executeIntent).
也就是说,意图转译网元也可以向意图执行网元发送用于指示第一值允许被修改的第三信息,从而意图执行网元也可以根据第三信息确定第一值是否允许被修改。That is to say, the intent translating network element may also send third information indicating that the first value is allowed to be modified to the intent executing network element, so that the intent executing network element may also determine whether the first value is allowed to be modified according to the third information.
可选地,意图转译网元将第一意图的意图模式和/或第一意图目标的第一值对应的第一操作,以及第二意图的意图模式和/或第二意图目标的第二值对应的第二操作发送给意图执行网元。Optionally, the intent translation network element converts the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value of the second intent target The corresponding second operation is sent to the intent execution network element.
其中,意图转译网元获取第一意图的意图模式和/或第一意图目标的第一值对应的第一操作,以及第二意图的意图模式和/或第二意图目标的第二值对应的第二操作的方式可以与方法200中获取的方式类似,为了简便,在此不再赘述。Wherein, the intent translation network element acquires the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value corresponding to the second intent target The manner of the second operation may be similar to the manner obtained in method 200, and for the sake of brevity, details are not repeated here.
需要说明的是,意图转译网元也可以自己从意图管理网元获取第一意图和第二意图的相关信息,本申请对此不作特别限定。It should be noted that the intent translation network element may also acquire the relevant information of the first intent and the second intent from the intent management network element itself, which is not particularly limited in this application.
S304,意图执行网元确定第一意图的第一意图目标的第一值对应的第一操作和第二意图的第二意图目标的第二值对应的第二操作是否冲突。S304. The intent execution network element determines whether the first operation corresponding to the first value of the first intent target of the first intent conflicts with the second operation corresponding to the second value of the second intent target of the second intent.
第一值对应的第一操作和第二值对应的第二操作冲突的描述与方法100中描述的类似,为了简便,在此不再赘述。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 for simplicity, details are not repeated here.
如果意图执行网元确定第一值对应的第一操作和第二值对应的第二操作不冲突,则可以执行第一值下的第一意图。If the intent execution network element determines that the first operation corresponding to the first value does not conflict with the second operation corresponding to the second value, the first intent under the first value may be executed.
需要说明的是,意图执行网元在检测第一操作和第二操作是否冲突时,可能会出现没有可以执行的操作,也就是说,假设第一意图的第一意图目标的第一值对应的操作为操作A,操作B和操作C,第二意图正在执行的操作为操作a,操作b和操作c,操作A和操作a不能共同执行,操作B和操作b不能共同执行,操作C和操作c也不能共同执行,若预定义优先执行第二意图的操作,则第一意图没有操作可以执行,可选地,意图执行网元直接挂起执行第一意图,可选地,意图执行网元可以根据第一意图的优先级和第二意图的优先级确定是否挂起执行第一意图,例如,如果第一意图的优先级低于或等于第二意图的优先级,则意图执行网元挂起执行第一意图,如果第一意图的优先级高于第二意图的优先级,则意图执行网元挂起执行第二意图。当意图执行网元挂起执行第一意图时,还可以向意图管理网元发送第一意图的意图上下文更新消息(intentContextUpdate),用于指示第一意图的标识和第一意图的状态为冲突态。当意图执行网元挂起执行第二意图时,还可以向意图管理网元发送第二意图的意图上下文更新消息,用于指示第二意图的标识和第二意图的状态为冲突态,还可以用于向意图管理网元发送用于指示释放第二意图的资源的释放意图资源请求消息(releaseIntentResource),该释放意图资源请求消息中包括第二意图的标识。It should be noted that when the intention execution network element detects whether the first operation and the second operation conflict, there may be no operation that can be executed, that is, assuming that the first value of the first intention target of the first intention corresponds to The operations are operation A, operation B and operation C, and the operations being executed by the second intent are operation a, operation b and operation c, operation A and operation a cannot be performed together, operation B and operation b cannot be performed together, operation C and operation c cannot be executed together. If the predefined priority is to execute the operation of the second intent, then there is no operation to be executed for the first intent. Optionally, the intent execution network element directly suspends the execution of the first intent. Optionally, the intent execution network element Whether to suspend the execution of the first intent may be determined according to the priority of the first intent and the priority of the second intent. For example, if the priority of the first intent is lower than or equal to the priority of the second intent, the execution of the intent is suspended If the priority of the first intent is higher than that 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 the intent context update message (intentContextUpdate) of the first intent to the intent management network element, which is used to indicate that the identity of the first intent and the state of the first intent are conflicting . When the intention execution network element suspends the execution of the second intention, it may also send an intention context update message of the second intention to the intention management network element, which is used to indicate that the identity of the second intention and the state of the second intention are conflicting, or It is used to send a release intent resource request message (releaseIntentResource) for instructing to release resources of the second intent to the intent management network element, where the release intent resource request message includes the identifier of the second intent.
另外,本申请以第一意图目标的第一值允许被修改进行举例,如果第一意图目标不允许被修改,可以也根据第一意图的优先级和第二意图的优先级确定是否挂起执行第一意图。In addition, the present application takes the first value of the first intent object to be modified as an example, if the first intent object is not allowed to be modified, it can also be determined whether to suspend execution according to the priority of the first intent and the priority of the second intent first intention.
如果意图执行网元确定第一值对应的第一操作和第二值对应的第二操作冲突,且第一操作和第二操作中存在可以执行的操作,If the intended execution network element determines that the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, and there is an executable operation in the first operation and the second operation,
S305,意图执行网元根据第一信息确定第一意图目标的第三值。S305. The intent execution network element determines a third value of the first intent target according to the first information.
该第三值属于第一取值范围,第三值和第一值不冲突。The third value belongs to the first value range, and the third value does not conflict with the first value.
需要说明的是,该第三值可以是意图执行单元执行第一意图对应的能够执行的操作,例如与第二操作不冲突的操作后,实际达成的目标值。It should be noted that the third value may be a target value actually achieved after the intention execution unit executes an executable operation corresponding to the first intention, for example, an operation that does not conflict with the second operation.
意图执行网元根据第一信息确定第一意图的第一意图目标的第三值的方式与方法100中描述的类似,为了简便,在此不再赘述。A manner in which the intent-executing network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
可选地,意图执行网元可以向意图管理网元发送用于更新第一意图的意图上下文更新消息(intentContextUpdate),对应地,意图管理网元从意图执行网元接收该意图上下文更新消息。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.
该用于更新第一意图的意图上下文更新消息可以包括以下信息中的至少一项:第一意图的标识、第一意图的状态信息和第三值。其中,第一意图的状态信息用于指示第一意图的状态为激活态。The intent context update message for updating the first intent may include at least one item 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 intention is used to indicate that the state of the first intention is an active state.
需要说明的是,为了清楚,上述描述是以第一意图目标的第一值允许被修改进行举例,在本申请中,也可以包括第一意图不允许被修改,第二意图允许被修改的场景,实现方式与第一意图允许被修改,第二意图不允许被修改类似,为了简便,在此不再赘述。It should be noted that, for the sake of clarity, the above description is an example where the first value of the first intent object is allowed to be modified. In this application, it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified. For the sake of brevity, details are not repeated here.
另外,如果第一意图和第二意图都不允许被修改,或者第一意图和/或第二意图虽然允许被修改,但是无法根据目标值的修改范围确定不冲突的目标值,意图执行网元可以根据第一意图的优先级和第二意图的优先级进行抢占,进行抢占的方式与方法100中的描述类似,为了简便,在此不再赘述。In addition, if both the first intent and the second intent are not allowed to be modified, or the first intent and/or the second intent are allowed to be modified, but a non-conflicting target value cannot be determined according to the modification range of the target value, the intent execution network element The preemption may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
根据在本实施例提出的方案,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
图5示出了另一种意图转译网元处理意图冲突方法400的示意性流程图。FIG. 5 shows a schematic flowchart of another method 400 for an intent translation network element to handle intent conflicts.
S401,意图转译网元(第一网元中的一例)从意图管理网元(第二网元中的一例)接收第一意图目标的第一值,对应地,意图管理网元向意图转译网元发送第一意图目标的第一值。S401. The intention translation network element (an example of the first network element) receives the first value of the first intention target from the intention management network element (an example of the second network element), and correspondingly, sends the intention translation network element to the intention translation network element. Element sends the first value of the first intent target.
该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成的目标值,该第二意图目标用于指示第二意图期望达成的目标值。The first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
例如,意图管理网元通过意图转译请求消息(translateIntent)向意图转译网元发送该第一意图目标的第一值。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).
S402,意图转译网元从意图管理网元接收第三信息,对应地,意图管理网元向意图转译网元发送第三信息。S402. The intention translation network element receives third information from the intention management network element, and correspondingly, the intention management network element sends the third information to the intention translation network element.
该第三信息用于指示第一值允许被修改。The third information is used to indicate that the first value is allowed to be modified.
例如,意图管理网元也可以通过意图转译请求消息(translateIntent)向意图转译网元发送该第三信息。For example, the intent management network element may also send the third information to the intent translation network element through an intent translation request message (translateIntent).
需要说明的是,意图管理网元可以从意图消费者发送的用于指示创建第一意图的增加意图请求消息(implementIntent request)中获得第一意图目标的第一值和第三信息。It should be noted that the intent management network element may obtain the first value of the first intent target and the third information from the implementIntent request message (implementIntent request) sent by the intent consumer to indicate creation of the first intent.
可选地,意图管理网元向意图消费者发送第一意图的意图实施响应消息(implementIntent)。Optionally, the intent management network element sends an intent implementation response message (implementIntent) of the first intent to the intent consumer.
可选地,意图转译网元向意图管理网元发送第一意图对应的查询意图模式请求消息(implementIntent),对应地,该意图管理网元从意图转译网元接收该第一意图对应的查询意图模式请求消息。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 the query intent corresponding to the first intent from the intent translation network element Schema request message.
例如,该第一意图对应的查询意图模式请求消息可以用于请求获取第一意图的意图模式和/或第一意图目标的第一值对应的第一操作。For example, the query intent pattern request message corresponding to the first intent may be used to request to acquire the intent pattern of the first intent and/or the first operation corresponding to the first value of the first intent target.
可选地,意图转译网元从意图管理网元接收第一意图的意图模式和/或第一意图目标的第一值对应的第一操作。Optionally, the intent translation network element receives the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target from the intent management network element.
可选地,意图转译网元可以根据从意图管理网元获得的第一意图的意图模式对第一意图进行语法语义检查。Optionally, the intent translation network element may check the syntax and semantics of the first intent according to the intent mode of the first intent obtained from the intent management network element.
可选地,S403,意图转译网元向意图管理网元发送第四信息,对应地,意图管理网元从意图转译网元接收该第四信息。Optionally, S403. The intention translation network element sends fourth information to the intention management network element, and correspondingly, the intention management network element receives the fourth information from the intention translation network element.
该第四信息用于请求获取第二意图目标,第二意图为处于激活态的意图。The fourth information is used to request to obtain the target of the second intent, and the second intent is an intent in an active state.
例如,意图转译网元可以通过查询意图请求消息(queryIntent)向意图管理网元发送该第四信息。For example, the intent translation network element may send the fourth information to the intent management network element through a query intent request message (queryIntent).
例如,第四信息可以用于请求获取第二意图目标的第二值,即第二意图目标目前的目标值,以及第二值对应的第二操作。For example, the fourth information may be used to request to obtain the second value of the second intended goal, that is, the current goal value of the second intended goal, and the second operation corresponding to the second value.
可选地,S404,意图转译网元从意图管理网元接收第五信息,对应地,意图管理网元向意图转译网元发送第五信息。Optionally, S404. The intention translation network element receives fifth information from the intention management network element, and correspondingly, the intention management network element sends the fifth information to the intention translation network element.
该第五信息用于指示第二意图目标。The fifth information is used to indicate the second intended target.
例如,意图管理网元可以通过查询意图回复消息向意图转译网元发送该第五信息。For example, the intent management network element may send the fifth information to the intent translation network element by querying an intent reply message.
可选地,该查询回复消息还可以包括第二意图的标识。Optionally, the query reply message may also include an identifier of the second intent.
例如,意图管理网元可以根据第四信息的请求向意图转译网元返回所请求的第二意图目标的相关信息。For example, the intent management network element may return the requested related information of the second intent target to the intent translation network element according to the fourth information request.
S405,意图转译网元确定第一意图的第一意图目标的第一值和第二意图的第二意图目标的第二值是否互斥。S405. The intent translation network element determines whether the first value of the first intent target of the first intent and the second value of the second intent target of the second intent are mutually exclusive.
第一值和第二值互斥的描述与方法100中描述的类似,为了简便,在此不再赘述。The description of the mutual exclusion of the first value and the second value is similar to that described in the method 100, and for the sake of brevity, details are not repeated here.
如果意图转译网元确定第一值和第二值不互斥,则可以执行第一值下的第一意图。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.
需要说明的是,意图转译网元在获取第三信息的情况下,可以确定当第一值和第二值互斥时,第一意图目标的第一值允许被修改。It should be noted that, when the intent translation network element acquires the third information, it may determine that the first value of the first intent target is allowed to be modified when the first value and the second value are mutually exclusive.
如果意图转译网元确定第一值和第二值互斥,则意图转译网元执行步骤S406。If the network element intended to translate determines that the first value and the second value are mutually exclusive, the network element intended to translate performs step S406.
S406,意图转译网元确定第二意图目标的第二值是否允许被修改。S406. The intent translation network element determines whether the second value of the second intent object is allowed to be modified.
意图转译网元确定第二意图目标的第二值是否允许被修改的描述与方法100中的描述类似,为了简便,在此不再赘述。The description of whether the intent translation network element determines whether the second value of the second intent object is allowed to be modified is similar to the description in method 100, and for simplicity, details are not repeated here.
步骤S406的确定结果包括以下两种情况:The determination result of step S406 includes the following two situations:
情况1:如果意图转译网元确定第二意图目标的第二值不允许被修改,在一种可能的实现方式中,意图转译网元执行步骤S407。Case 1: If the intention translation network element determines that the second value of the second intention target is not allowed to be modified, in a possible implementation manner, the intention translation network element performs step S407.
S407,意图转译网元确定第一信息,该第一信息用于指示第一意图目标的第一取值范围。S407. The intent translation network element determines first information, where the first information is used to indicate a first value range of the first intent target.
意图转译网元确定第一信息的方式与方法100中描述的类似,为了简便,在此不再赘述。The manner in which the intent translation network element determines the first information is similar to that described in the method 100, and for simplicity, details are not repeated here.
S408,意图转译网元向意图管理网元发送该第一信息,对应地,意图管理网元从意图转译网元接收该第一信息。S408. The intention translation network element sends the first information to the intention management network element, and correspondingly, the intention management network element receives the first information from the intention translation network element.
该第一信息用于指示第一意图目标的第一取值范围。The first information is used to indicate the first value range of the first intended target.
例如,意图转译网元可以通过容忍范围请求消息(toleranceIntervalRequest)向意图管理网元发送该第一信息。For example, the intent translation network element may send the first information to the intent management network element through a tolerance range request message (toleranceIntervalRequest).
从而,意图管理网元可以向意图消费者发送该第一信息。Therefore, the intent management network element may send the first information to the intent consumer.
可选地,该容忍范围请求消息还包括第一意图的标识。Optionally, the tolerance range request message further includes an identifier of the first intention.
意图管理网元可以向意图消费者发送该第一信息,意图消费者可以确定是否接受第一信息指示的第一取值范围,如果意图消费者接受第一信息指示的第一取值范围,则意图消费者可以向意图管理网元发送接受第一信息取值范围的指示信息。The intent management network element may send the first information to the intent consumer, and the intent consumer may determine whether to accept the first value range indicated by the first information, and if the intent consumer accepts the first value range indicated by the first information, then The intent consumer may send indication information for accepting the value range of the first information to the intent management network element.
S409,意图管理网元确定接受第一信息指示的第一取值范围。S409. The intent management network element determines a first value range that accepts the indication of the first information.
S410,意图管理网元向意图转译网元发送第六信息,对应地,意图转译网元从意图管理网元接收第六信息。S410. The intention management network element sends sixth information to the intention translation network element, and correspondingly, the intention translation network element receives the sixth information from the intention management network element.
该第六信息用于指示意图管理网元接受该第一信息指示的第一取值范围。The sixth information is used to indicate the first value range that the management network element accepts the first value indicated by the first information.
例如,意图管理网元可以通过容忍范围回复消息(toleranceIntervalResponse)向意图转译网元发送该第六信息。For example, the intent management network element may send the sixth information to the intent translation network element through a tolerance range reply message (toleranceIntervalResponse).
可选地,该容忍范围回复消息还包括第一意图的标识。Optionally, the tolerance range reply message further includes an identifier of the first intention.
在意图管理网元或者意图消费者不接受该第一信息指示的第一取值范围的情况下,意图管理网元可以向意图转译网元发送用于指示拒绝该第一信息指示的第一取值范围,从而意图转译网元可以重新确定一个第一取值范围,并重新向意图管理网元发送该第一取值范围,或者意图转译网元可以挂起执行该第一意图。In the case that the intention management network element or the intention consumer does not accept the first value range indicated by the first information, the intention management network element may send a first value indicating rejection of the first information indication to the intention translation network element. Therefore, the intent translation network element may re-determine a first value range and resend the first value range to the intent management network element, or the intent translation network element may suspend execution of the first intent.
如果意图转译网元确定第二意图目标的第二值不允许被修改,在另一种可能的实现方式中,意图转译网元确定第一意图目标的第三取值范围。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 manner, the intent translation network element determines a third value range of the first intent target.
该第三取值范围用于指示意图转译网元能够接受的第一意图目标的取值范围。The third value range is used to indicate the value range of the first intent target that the schematic translation network element can accept.
意图转译网元确定第三取值范围的方式与方法100中的描述类似,为了简便,在此不再赘述。The manner in which the intention translation network element determines the third value range is similar to the description in method 100, and for simplicity, details are not repeated here.
意图转译网元向意图管理网元发送第七信息,对应地,意图管理网元从意图转译网元接收该第七信息。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.
该第七信息用于指示该第三取值范围。The seventh information is used to indicate the third value range.
例如,意图转译网元可以通过容忍范围请求消息向意图管理网元发送该第七信息。For example, the intent translation network element may send the seventh information to the intent management network element through a tolerance range request message.
从而意图管理网元可以向意图消费者发送该第七信息。Therefore, the intent management network element can send the seventh information to the intent consumer.
可选地,该容忍请求消息还包括第一意图的标识。Optionally, the tolerance request message further includes an identifier of the first intent.
意图消费者可以根据第七信息确定第一意图目标的第一取值范围,也可以理解为,意图消费者不能完全接受第一取值范围,意图消费者确定了意图消费者能够接受的第一意图目标的取值范围,也就是第一取值范围,并将第一取值范围发送给意图管理网元。The intended consumer can determine the first value range of the first intended target according to the seventh information. It can also be understood that the intended consumer cannot fully accept the first value range, and the intended consumer has determined the first value range that the intended consumer can accept. The value range of the intent target, that is, the first value range, and the first value range is sent to the intent management network element.
意图管理网元向意图转译网元发送第一信息,对应地,意图转译网元从意图管理网元接收该第一信息。The intention management network element sends the first information to the intention translation network element, and correspondingly, the intention translation network element receives the first information from the intention management network element.
该第一信息用于指示第一意图目标的第一取值范围。The first information is used to indicate the first value range of the first intended target.
例如,意图管理网元可以通过容忍范围回复消息向意图转译网元发送该第一信息。For example, the intent management network element may send the first information to the intent translation network element through a tolerance range reply message.
可选地,该容忍范围回复消息还包括第一意图的标识。Optionally, the tolerance range reply message further includes an identifier of the first intention.
可选地,该第一信息还用于指示第一意图目标的第三取值范围不被接受。Optionally, the first information is further used to indicate that the third value range of the first intended target is not accepted.
S411,意图转译网元根据第一信息确定第一意图的第一意图目标的第三值。S411. The intent translation network element determines a third value of the first intent target of the first intent according to the first information.
该第三值属于第一取值范围,第三值和第一值不冲突。The third value belongs to the first value range, and the third value does not conflict with the first value.
意图转译网元根据第一信息确定第一意图的第一意图目标的第三值的方式与方法100中描述的类似,为了简便,在此不再赘述。A manner in which the intent translation network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
情况2:如果意图转译网元确定第二意图目标的第二值允许被修改,意图转译网元确定第一意图的优先级是否高于或等于第二意图的优先级。Case 2: If the intent translation network element determines that the second value of the second intent object 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.
意图转译网元确定第一意图的优先级是否高于或等于第二意图的优先级的结果包括以下两种情况:The result of determining whether the priority of the first intent by the intent translation network element is higher than or equal to the priority of the second intent includes the following two situations:
情况a:如果意图转译网元确定第一意图的优先级高于或等于第二意图的优先级,意图转译网元确定第二意图的第二意图目标的第四值,第四值与第一值不冲突。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 the fourth value of the second intent target of the second intent, and the fourth value is the same as the first intent Values do not conflict.
意图转译网元确定第四值的方式与方法100中描述的类似,为了简便,在此不再赘述。The manner in which the intent translation network element determines the fourth value is similar to that described in the method 100, and for simplicity, details are not repeated here.
情况b:如果意图转译网元确定第一意图的优先级低于第二意图的优先级,则执行步骤S407至步骤S411,确定第一意图目标的第三值,也可以说是修改第一意图目标的第一值。Case b: If the intent translation network element determines that the priority of the first intent is lower than that of the second intent, then execute steps S407 to S411 to determine the third value of the first intent target, which can also be said to modify the first intent The first value of the target.
可选地,当意图转译网元根据第一信息确定第一意图目标的第三值,也可以说当意图转译网元修改第一意图目标的目标值时,意图转译网元可以向意图管理网元发送用于更新第一意图的意图上下文更新消息(intentContextUpdate),对应地,意图管理网元从意图转译网元接收意图上下文更新消息。Optionally, when the intent translation network element determines the third value of the first intent target according to the first information, it can also be said that when the intent translation network element modifies the target value of the first intent target, the intent translation network element may report to the intent management network The element sends an intent context update message (intentContextUpdate) for updating the first intent, and correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
该用于更新第一意图的意图上下文更新消息可以包括以下信息中的至少一项:第一意图的标识、第一意图的状态信息和第三值。其中,第一意图的状态信息用于指示第一意图的状态为激活态。The intent context update message for updating the first intent may include at least one item 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 intention is used to indicate that the state of the first intention is an active state.
当意图转译网元根据确定第二意图目标的第四值,也可以说当意图转译网元修改第二意图目标的目标值时,意图转译网元可以向意图管理网元发送用于更新第二意图的意图上下文更新消息,对应地,意图管理网元从意图转译网元接收意图上下文更新消息。When the intent translation network element determines the fourth value of the second intent target according to the determination, it can also be said that when the intent translation network element modifies the target value of the second intent target, the intent translation network element may send a message for updating the second intent target to the intent management network element. The intent context update message of the intent, correspondingly, the intent management network element receives the intent context update message from the intent translation network element.
该用于更新第二意图的意图上下文更新消息可以包括以下信息中的至少一项:第二意图的标识、第二意图的状态信息和第四值。其中,第二意图的状态信息用于指示第二意图的状态为激活态。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 active state.
需要说明的是,为了清楚,上述描述是以第一意图目标的第一值允许被修改进行举例,在本申请中,也可以包括第一意图不允许被修改,第二意图允许被修改的场景,实现方式与第一意图允许被修改,第二意图不允许被修改类似,为了简便,在此不再赘述。It should be noted that, for the sake of clarity, the above description is an example where the first value of the first intent object is allowed to be modified. In this application, it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified. For the sake of brevity, details are not repeated here.
另外,如果第一意图和第二意图都不允许被修改,或者第一意图和/或第二意图虽然允许被修改,但是无法根据目标值的修改范围确定不冲突的目标值,意图转译网元可以根据第一意图的优先级和第二意图的优先级进行抢占,进行抢占的方式与方法100中的描述类似,为了简便,在此不再赘述。In addition, if both the first intent and the second intent are not allowed to be modified, or the first intent and/or the second intent are allowed to be modified, but a non-conflicting target value cannot be determined according to the modification range of the target value, the intent translation network element The preemption may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
根据在本实施例提出的方案,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
图6示出了另一种意图执行网元处理意图冲突方法500的示意性流程图。FIG. 6 shows a schematic flowchart of another method 500 for handling intent conflicts by an intent-executing network element.
S501,意图执行网元(第一网元中的一例)从意图转译网元(第二网元中的一例)接收第一意图目标的第一值。S501. The intent execution network element (an example of the first network element) receives a first value of the first intent target from an intent translation network element (an example of the second network element).
该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成的目标值,该第二意图目标用于指示第二意图期望达成的目标值。The first value conflicts with the second value of the second intention target, the first intention target is used to indicate the target value that the first intention is expected to achieve, and the second intention target is used to indicate the target value that the second intention is expected to achieve.
例如,意图转译网元可以通过执行意图请求消息(executeIntent)向意图执行网元发送该第一意图目标的第一值。For example, the intent translation network element may send the first value of the first intent target to the intent execution network element through an execute intent request message (executeIntent).
S502,意图执行网元从意图转译网元接收第三信息,对应地,意图转译网元向意图执行网元发送第三信息。S502. The intent executing network element receives third information from the intent translating network element, and correspondingly, the intent translating network element sends the third information to the intent executing network element.
该第三信息用于指示第一值允许被修改。The third information is used to indicate that the first value is allowed to be modified.
例如,意图转译网元也可以通过执行意图请求消息(executeIntent)向意图执行网元发送该第三信息。For example, the intent translation network element may also send the third information to the intent execution network element through an execution intent request message (executeIntent).
可选地,意图转译网元将第一意图的意图模式和/或第一意图目标的第一值对应的第一操作,以及第二意图的意图模式和/或第二意图目标的第二值对应的第二操作发送给意图执行网元。Optionally, the intent translation network element converts the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value of the second intent target The corresponding second operation is sent to the intent execution network element.
其中,意图转译网元获取第一意图的意图模式和/或第一意图目标的第一值对应的第一操作,以及第二意图的意图模式和/或第二意图目标的第二值对应的第二操作的方式可以与方法200中获取的方式类似,为了简便,在此不再赘述。Wherein, the intent translation network element acquires the first operation corresponding to the intent mode of the first intent and/or the first value of the first intent target, and the intent mode of the second intent and/or the second value corresponding to the second intent target The manner of the second operation may be similar to the manner obtained in method 200, and for the sake of brevity, details are not repeated here.
需要说明的是,意图转译网元也可以自己从意图管理网元获取第一意图和第二意图的相关信息,本申请对此不作特别限定。It should be noted that the intent translation network element may also acquire the relevant information of the first intent and the second intent from the intent management network element itself, which is not particularly limited in this application.
S503,意图执行网元确定第一意图的第一意图目标的第一值对应的第一操作和第二意图的第二意图目标的第二值对应的第二操作是否冲突。S503. The intent execution network element determines whether the first operation corresponding to the first value of the first intent target of the first intent conflicts with the second operation corresponding to the second value of the second intent target of the second intent.
第一值对应的第一操作和第二值对应的第二操作冲突的描述与方法100中描述的类似,为了简便,在此不再赘述。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 for simplicity, details are not repeated here.
如果意图执行网元确定第一值对应的第一操作和第二值对应的第二操作不冲突,则可以执行第一值下的第一意图。If the intent execution network element determines that the first operation corresponding to the first value does not conflict with the second operation corresponding to the second value, the first intent under the first value may be executed.
需要说明的是,意图执行网元在检测第一操作和第二操作是否冲突时,可能会出现没有可以执行的操作,对应的操作方式可以与方法300中的描述类似,为了简便,在此不再赘述。It should be noted that, when the intention execution network element detects whether the first operation conflicts with the second operation, there may be no operation that can be performed, and the corresponding operation method may be similar to the description in method 300. For simplicity, the Let me repeat.
另外,本申请以第一意图目标的第一值允许被修改进行举例,如果第一意图目标不允许被修改,可以也根据第一意图的优先级和第二意图的优先级确定是否挂起执行第一意图。In addition, the present application takes the first value of the first intent object to be modified as an example, if the first intent object is not allowed to be modified, it can also be determined whether to suspend execution according to the priority of the first intent and the priority of the second intent first intention.
需要说明的是,意图执行网元在获取第三信息的情况下,可以确定当第一值对应的第一操作和第二值对应的第二操作冲突时,第一意图目标的第一值允许被修改。It should be noted that, when the intent execution network element obtains the third information, it may determine that when the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, the first value of the first intent target allows modified.
如果意图执行网元确定第一值对应的第一操作和第二值对应的第二操作冲突,在一种可能的实现方式中,意图执行网元执行步骤S504。If the network element intending to execute determines that the first operation corresponding to the first value conflicts with the second operation corresponding to the second value, in a possible implementation manner, the network element intending to execute performs step S504.
S504,意图执行网元确定第一信息,该第一信息用于指示第一意图目标的第一取值范围。S504. The intent execution network element determines first information, where the first information is used to indicate a first value range of the first intent target.
意图执行网元确定第一信息的方式与方法100中描述的类似,为了简便,在此不再赘述。The manner in which the intent-to-execute network element determines the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
S505,意图执行网元向意图管理网元(第二网元中的一例)发送该第一信息,对应地,意图管理网元从意图执行网元接收该第一信息。S505. The intention execution network element sends the first information to the intention management network element (an example of the second network element), and correspondingly, the intention management network element receives the first information from the intention execution network element.
该第一信息用于指示第一意图目标的第一取值范围。The first information is used to indicate the first value range of the first intended target.
例如,意图执行网元可以通过容忍范围请求消息(toleranceIntervalRequest)向意图管理网元发送该第一信息。For example, the intent execution network element may send the first information to the intent management network element through a tolerance range request message (toleranceIntervalRequest).
从而,意图管理网元可以向意图消费者发送该第一信息。Therefore, the intent management network element may send the first information to the intent consumer.
可选地,该容忍范围请求消息还包括第一意图的标识。Optionally, the tolerance range request message further includes an identifier of the first intention.
意图消费者可以确定是否接受第一信息指示的第一取值范围,如果意图消费者接受第一信息指示的第一取值范围,则意图消费者可以向意图管理网元发送接受第一信息取值范围的指示信息。The intended consumer may determine whether to accept the first value range indicated by the first information, and if the intended consumer accepts the first value range indicated by the first information, the intended consumer may send an acceptance of the first information to the intention management network element. An indication of the range of values.
S506,意图管理网元确定接受第一信息指示的第一取值范围。S506. The intent management network element determines a first value range that accepts the indication of the first information.
S507,意图管理网元向意图执行网元发送第六信息,对应地,意图执行网元从意图管理网元接收第六信息。S507. The intention management network element sends sixth information to the intention execution network element, and correspondingly, the intention execution network element receives the sixth information from the intention management network element.
该第六信息用于指示意图管理网元接受该第一信息指示的第一取值范围。The sixth information is used to indicate the first value range that the management network element accepts the first value indicated by the first information.
例如,意图管理网元可以通过容忍范围回复消息(toleranceIntervalResponse)向意图转译网元发送该第六信息。For example, the intent management network element may send the sixth information to the intent translation network element through a tolerance range reply message (toleranceIntervalResponse).
可选地,该容忍范围回复消息还包括第一意图的标识。Optionally, the tolerance range reply message further includes an identifier of the first intention.
在意图管理网元或者意图消费者不接受该第一信息指示的第一取值范围的情况下,意图管理网元可以向意图执行网元发送用于指示拒绝该第一信息指示的第一取值范围,从而意图执行网元可以重新确定一个第一取值范围,并重新向意图管理网元发送该第一取值范围,或者意图执行网元可以挂起执行该第一意图。In the case that the intention management network element or the intention consumer does not accept the first value range indicated by the first information, the intention management network element may send the intention execution network element a first value indicating rejection of the first information indication. value range, so that the intent execution network element may re-determine a first value range, and resend the first value range to the intent management network element, or the intent execution network element may suspend execution of the first intent.
如果意图执行网元确定第二意图目标的第二值不允许被修改,在另一种可能的实现方式中,意图执行网元确定第一意图目标的第三取值范围。If the intent execution network element determines that the second value of the second intent object is not allowed to be modified, in another possible implementation manner, the intent execution network element determines a third value range of the first intent object.
该第三取值范围用于指示意图执行网元能够接受的第一意图目标的取值范围。The third value range is used to refer to the value range of the first intent target that the intent execution network element can accept.
意图执行网元确定第三取值范围的方式与方法100中的描述类似,为了简便,在此不再赘述。The manner in which the intent-to-execute network element determines the third value range is similar to the description in method 100, and will not be repeated here for simplicity.
意图执行网元向意图管理网元发送第七信息,对应地,意图管理网元从意图执行网元接收该第七信息。The intention execution 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 execution network element.
该第七信息用于指示该第三取值范围。The seventh information is used to indicate the third value range.
例如,意图执行网元可以通过容忍范围请求消息向意图管理网元发送该第七信息。For example, the intent execution network element may send the seventh information to the intent management network element through a tolerance range request message.
从而意图管理网元可以向意图消费者发送该第七信息。Therefore, the intent management network element can send the seventh information to the intent consumer.
可选地,该容忍请求消息还包括第一意图的标识。Optionally, the tolerance request message further includes an identifier of the first intent.
意图消费者可以根据第七信息确定第一意图目标的第一取值范围,也可以理解为,意图消费者不能完全接受第一取值范围,意图消费者确定了意图消费者能够接受的第一意图目标的取值范围,也就是第一取值范围,并将第一取值范围发送给意图管理网元。The intended consumer can determine the first value range of the first intended target according to the seventh information. It can also be understood that the intended consumer cannot fully accept the first value range, and the intended consumer has determined the first value range that the intended consumer can accept. The value range of the intent target, that is, the first value range, and the first value range is sent to the intent management network element.
意图管理网元向意图执行网元发送第一信息,对应地,意图执行网元从意图管理网元接收该第一信息。The intention management network element sends the first information to the intention execution network element, and correspondingly, the intention execution network element receives the first information from the intention management network element.
例如,意图管理网元可以通过容忍范围回复消息向意图执行网元发送该第一信息。For example, the intention management network element may send the first information to the intention execution network element through a tolerance range reply message.
可选地,该容忍范围回复消息还包括第一意图的标识。Optionally, the tolerance range reply message further includes an identifier of the first intention.
该第一信息用于指示第一意图目标的第一取值范围。The first information is used to indicate the first value range of the first intended target.
可选地,该第一信息还用于指示第一意图目标的第三取值范围不被接受。Optionally, the first information is further used to indicate that the third value range of the first intended target is not accepted.
S508,意图执行网元根据第一信息确定第一意图的第一意图目标的第三值。S508. The intent execution network element determines a third value of the first intent target of the first intent according to the first information.
该第三值属于第一取值范围,第三值和第一值不冲突。The third value belongs to the first value range, and the third value does not conflict with the first value.
意图执行网元根据第一信息确定第一意图的第一意图目标的第三值的方式与方法100中描述的类似,为了简便,在此不再赘述。A manner in which the intent-executing network element determines the third value of the first intent target of the first intent according to the first information is similar to that described in method 100, and for simplicity, details are not repeated here.
可选地,当意图执行网元根据第一信息确定第一意图目标的第三值,也可以说当意图执行网元修改第一意图目标的目标值时,意图执行网元可以向意图管理网元发送用于更新第一意图的意图上下文更新消息(intentContextUpdate),对应地,意图管理网元从意图执行网元接收意图上下文更新消息。Optionally, when the intent execution network element determines the third value of the first intent target according to the first information, it can also be said that when the intent execution network element modifies the target value of the first intent target, the intent execution network element may report to the intent management network The element sends an intent context update message (intentContextUpdate) for updating the first intent, and correspondingly, the intent management network element receives the intent context update message from the intent execution network element.
该用于更新第一意图的意图上下文更新消息可以包括以下信息中的至少一项:第一意图的标识、第一意图的状态信息和第三值。其中,第一意图的状态信息用于指示第一意图的状态为激活态。The intent context update message for updating the first intent may include at least one item 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 intention is used to indicate that the state of the first intention is an active state.
需要说明的是,为了清楚,上述描述是以第一意图目标的第一值允许被修改进行举例,在本申请中,也可以包括第一意图不允许被修改,第二意图允许被修改的场景,实现方式与第一意图允许被修改,第二意图不允许被修改类似,为了简便,在此不再赘述。It should be noted that, for the sake of clarity, the above description is an example where the first value of the first intent object is allowed to be modified. In this application, it may also include the scenario where the first intent is not allowed to be modified, but the second intent is allowed to be modified , the implementation is similar to that the first intent is allowed to be modified, and the second intent is not allowed to be modified. For the sake of brevity, details are not repeated here.
另外,如果第一意图和第二意图都不允许被修改,或者第一意图和/或第二意图虽然允许被修改,但是无法根据目标值的修改范围确定不冲突的目标值,意图执行网元可以根据第一意图的优先级和第二意图的优先级进行抢占,进行抢占的方式与方法100中的描述类似,为了简便,在此不再赘述。In addition, if both the first intent and the second intent are not allowed to be modified, or the first intent and/or the second intent are allowed to be modified, but a non-conflicting target value cannot be determined according to the modification range of the target value, the intent execution network element The preemption may be performed according to the priority of the first intent and the priority of the second intent, and the manner of performing the preemption is similar to the description in the method 100, and for the sake of brevity, details are not repeated here.
根据在本实施例提出的方案,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执行,以此提高了处理意图冲突的灵活性。According to the solution proposed in this embodiment, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of Immediately suspend the execution of the first intent. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving flexibility in handling intent conflicts.
图7和图8为本申请实施例提供的可能的通信装置的结构示意图。这些通信装置可以用于实现上述方法实施例中第一网元、第二网元的功能,因此也能实现上述方法实施例所具备的有益效果。在本申请的实施例中,该通信装置可以是第一网元、第二网元,还可以是应用于第一网元、第二网元中的模块(如芯片)。FIG. 7 and FIG. 8 are schematic structural diagrams of a possible communication device provided by an embodiment of the present application. These communication devices can be used to realize the functions of the first network element and the second network element in the above method embodiments, and therefore can also realize the beneficial effects of the above method embodiments. In the embodiment of the present application, the communication device may be the first network element or the second network element, or may be a module (such as a chip) applied in the first network element or the second network element.
如图7所示,通信装置900包括处理单元910和收发单元920。通信装置900用于实现上述图2中所示的方法实施例中第一网元或第二网元的功能。或者,通信装置900可以包括用于实现上述图2中所示的方法实施例中第一网元或第二网元的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。As shown in FIG. 7 , the communication device 900 includes a processing unit 910 and a transceiver unit 920 . The communication device 900 is configured to implement the functions of the first network element or the second network element in the method embodiment shown in FIG. 2 above. Alternatively, the communication device 900 may include a module for implementing any function or operation of the first network element or the second network element in the method embodiment shown in FIG. , firmware, or any combination thereof.
当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,收发单元920用于获取第一意图目标的第一值,该第一值与第二意图目标的第二值冲突,该第一意图目标用于指示第一意图期望达成的目标值,该第二意图目标用于指示第二意图期望达成的目标值;处理单元920用于获取第一信息,该第一信息用于指示该第一意图目标的第一取值范围,处理单元920还用于根据该第一信息确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与该第二值不冲突。When the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. Binary conflict, 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 processing unit 920 is configured to obtain the first information, the first intention target value A piece of information is used to indicate a first value range of the first intended object, and the processing unit 920 is further configured to determine a third value of the first intended object according to the first information, and the third value belongs to the first value range , the third value does not conflict with the second value.
从而,在本申请中,当第一意图的第一值和第二意图的第二值冲突时,可以根据第一意图目标的取值范围重新确定第一意图的第三值,而不是直接挂起执行第一意图。由于第一意图的第三值与第二意图的第二值不冲突,所以第一意图和第二意图都可以被系统执 行,以此提高了处理意图冲突的灵活性。Therefore, in this application, when the first value of the first intent conflicts with the second value of the second intent, the third value of the first intent can be re-determined according to the value range of the target of the first intent instead of directly hanging to carry out the first intention. Since the third value of the first intent does not conflict with the second value of the second intent, both the first intent and the second intent can be executed by the system, thereby improving the flexibility of handling intent conflicts.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该收发单元920还用于获取第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或等于该第二意图的优先级。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. The second value range of the intent target, the priority of the first intent is lower than or equal to the priority of the second intent.
从而,在本申请中,第一意图目标和第二意图目标可以都支持修改时,第一网元可以根据第一意图的优先级和第二意图的优先级确定是修改第一意图目标的第一值,还是修改第二意图目标的第二值,从而可以进一步提高处理意图冲突的灵活性。Therefore, in this application, when both the first intention object and the second intention object can support modification, the first network element can determine according to the priority of the first intention and the priority of the second intention that it is the first intention to modify the first intention object. One value, or modify the second value of the second intent target, so that the flexibility of processing intent conflicts can be further improved.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该处理单元920还用于确定该第二意图目标的第二值不允许被修改。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. 2 , the processing unit 920 is further used to determine that the second value of the second intended object is not allowed to be modified.
从而,在本申请中,第一网元可以确定第二意图目标的第二值是否允许被修改,再确定是否修改第一意图目标的第一值,如果第二意图目标的第二值不允许被修改,则修改第一值,如果第二意图目标的第二值允许被修改,则可以根据第一意图的优先级和第二意图的优先级确定是修改第一意图目标的第一值,还是修改第二意图目标的第二值,从而可以进一步提高处理意图冲突的灵活性。Therefore, in this application, the first network element can determine whether the second value of the second intended object is allowed to be modified, and then determine whether to modify the first value of the first intended object, if the second value of the second intended object is not allowed is modified, then modify the first value, if the second value of the second intent target is allowed to be modified, it can be determined according to the priority of the first intent and the priority of the second intent that the first value of the first intent target is to be modified, The second value of the second intent target is also modified, so that the flexibility of processing intent conflicts can be further improved.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该处理单元920还用于释放该第二意图的资源,该第一意图的优先级高于该第二意图的优先级。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. 2 , the processing unit 920 is also used to release the resources of the second purpose, and the priority Takes precedence over this second intent.
从而,在本申请中,当第一意图的优先级高于第二意图的优先级的情况下,第一网元可以释放第二意图的资源,从而可以避免造成不必要的资源浪费。Therefore, in this application, when the priority of the first intention is higher than that of the second intention, the first network element can release the resources of the second intention, thereby avoiding unnecessary waste of resources.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该收发单元920还用于获取第三信息,该第三信息用于指示该第一值允许被修改为该第三值。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. The value is allowed to be modified to this third value.
从而,在本申请中,第一网元可以根据第三信息确定第一值是否允许被修改,从而在第一值和第二值冲突时,第一网元可以选择修改第一值,或者说是确定第一意图目标的第三值,从而提高处理意图冲突的灵活性。Therefore, in this application, the first network element can determine whether the first value is allowed to be modified according to the third information, so that when the first value conflicts with the second value, the first network element can choose to modify the first value, or is the third value that determines the target of the first intent, thus increasing the flexibility in handling intent conflicts.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该收发单元920具体用于从第二网元接收该第一信息,或者该处理单元920具体用于确定该第一信息。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. 2 , the transceiver unit 920 is specifically configured to receive the first information from the second network element, or the processing unit 920 is specifically configured to determine the first information.
从而,在本申请中,第一网元可以自己确定第一信息,也就是第一意图目标的第一取值范围,也可以从第二网元处获得该第一取值范围,从而进一步提高处理意图冲突的灵活性。Therefore, in this application, the first network element can determine the first information by itself, that is, the first value range of the first intended target, and can also obtain the first value range from the second network element, thereby further improving Flexibility in dealing with conflicting intent.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该收发单元920还用于向该第二网元发送第四信息,该第四信息用于请求获取该第二意图目标,该第二意图为处于激活态的意图;该收发单元920还用于从该第二网元接收第五信息,该第五信息用于指示该第二意图目标。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. 2 , the transceiver unit 920 is also used to send fourth information to the second network element, the fourth information It is used to request to obtain the second intent target, the second intent is an active intent; the transceiver unit 920 is also configured to receive fifth information from the second network element, and the fifth information is used to indicate the second intent Target.
从而,在本申请中,第二意图可以为处于激活态的意图,第一网元可以确定第一意图目标的第一值是否与处于激活态的意图的目标值存在冲突,从而可以提高处理意图冲突的可靠性。Therefore, in this application, the second intent may be the intent in the active state, and the first network element may determine whether the first value of the target of the first intent conflicts with the target value of the intent in the active state, thereby improving the processing intent conflict reliability.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该收发单元920还用于向该第二网元发送该第一信息,该收发单元920还用于从该第二网元接收第六信息,该第六信息用于指示该第二网元接受该第一信息指示的该第一取值范围。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. 2 , the transceiver unit 920 is also used to send the first information to the second network element, and the transceiver unit 920 is further configured to receive sixth information from the second network element, where the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
从而,在本申请中,如果是第一网元确定第一信息,即第一意图目标的取值范围,第一网元可以将该第一信息发送给第二网元,从而第二网元可以根据用户的需求确定是否能够接受该第一取值范围,如果第二网元能够接受该第一取值范围,则第一网元可以根据该第一取值范围确定第三值,从而能够保证满足用户的需求。Therefore, in this application, if the first network element determines the first information, that is, the value range of the first intended target, the first network element may send the first information to the second network element, so that the second network element Whether the first value range can be accepted can be determined according to user requirements, and if the second network element can accept the first value range, the first network element can determine a third value according to the first value range, thereby being able to Ensure that the needs of users are met.
可选地,当通信装置900用于实现图2所示的方法实施例中第一网元的功能时,该处理单元920具体用于确定该第一取值范围中与该第二值不冲突的目标值中的最大值或最小值为该第三值。Optionally, when the communication device 900 is used to realize the function of the first network element in the method embodiment shown in FIG. 2 , the processing unit 920 is specifically configured to determine that the first value range does not conflict with the second value The maximum or minimum of the target values of is the third value.
从而,在本申请中,第一取值范围中可能包括多个与第二值不冲突的目标值,第一网元可以选择其中的最大值或最小值作为第一意图目标的第三值,提高系统执行第一意图的性能。Therefore, in this application, the first value range may include multiple target values that do not conflict with the second value, and the first network element may select the maximum or minimum value among them as the third value of the first intended target, Improve the performance of the system to execute the first intent.
当通信装置900用于实现图2所示的方法实施例中第二网元的功能时,收发单元920用于发送第一信息,该第一信息用于指示第一意图目标的第一取值范围,该第一信息还用于确定该第一意图目标的第三值,该第三值属于该第一取值范围,该第三值与第二意图目标的第二值不冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;收发单元920还用于向所述第一网元发送第三信息,所述第三信息用于指示所述第一意图目标的第一值允许被修改为所述第三值,所述第一值与所述第二值冲突。When the communication device 900 is used to realize the function of the second network element in the method embodiment shown in FIG. 2 , the transceiver unit 920 is used to send the first information, the first information is used to indicate the first value of the first intended target range, the first information is also used to determine a third value of the first intended target, the third value belongs to the first value range, and the third value does not conflict with the second value of the second intended target, said 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 further configured to send the third information, 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.
从而,在本申请中,第一意图目标和第二意图目标可以都支持修改时,第一网元可以根据第一意图的优先级和第二意图的优先级确定是修改第一意图目标的第一值,还是修改第二意图目标的第二值,从而可以进一步提高处理意图冲突的灵活性。Therefore, in this application, when both the first intention object and the second intention object can support modification, the first network element can determine according to the priority of the first intention and the priority of the second intention that it is the first intention to modify the first intention object. One value, or modify the second value of the second intent target, so that the flexibility of processing intent conflicts can be further improved.
可选地,当通信装置900用于实现图2所示的方法实施例中第二网元的功能时,收发单元920还用于向该第一网元发送第二信息,该第二信息用于指示该第二意图目标的第二取值范围,该第一意图的优先级低于或等于该第二意图的优先级。Optionally, when the communication device 900 is used to realize the function of the second network element in the method embodiment shown in FIG. 2 , the transceiver unit 920 is also used to send second information to the first network element, the second information is In the second value range indicating the target of the second intent, the priority of the first intent is lower than or equal to the priority of the second intent.
有关上述处理单元910和收发单元920更详细的描述可以直接参考图2所示的方法实施例中相关描述直接得到,这里不加赘述。More detailed descriptions about the processing unit 910 and the transceiver unit 920 can be directly obtained by referring to the related descriptions in the method embodiment shown in FIG. 2 , and will not be repeated here.
如图8所示,通信装置1000包括处理器1010和接口电路1020。处理器1010和接口电路1020之间相互耦合。可以理解的是,接口电路1020可以为收发器或输入输出接口。可选的,通信装置1000还可以包括存储器1030,用于存储处理器1010执行的指令或存储处理器1010运行指令所需要的输入数据或存储处理器1010运行指令后产生的数据。As shown in FIG. 8 , the communication device 1000 includes a processor 1010 and an interface circuit 1020 . The processor 1010 and the interface circuit 1020 are coupled to each other. It can be understood that the interface circuit 1020 may be a transceiver or an input-output interface. Optionally, the communication device 1000 may further include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute the instructions or storing data generated by the processor 1010 after executing the instructions.
当通信装置1000用于实现图2所示的方法时,处理器1010用于实现上述处理单元1010的功能,接口电路1020用于实现上述收发单元1020的功能。When the communication device 1000 is used to implement the method shown in FIG. 2 , 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 .
当通信装置1000用于实现图2所示的方法时,通信装置1000包括处理器1010和接口电路1020。处理器1010和接口电路1020之间相互耦合。可以理解的是,接口电路1020可以为收发器或输入输出接口。可选的,通信装置1000还可以包括存储器1030,用于存储处理器1010执行的指令或存储处理器1010运行指令所需要的输入数据或存储处理器1010运行指令后产生的数据。When the communication device 1000 is used to implement the method shown in FIG. 2 , the communication device 1000 includes a processor 1010 and an interface circuit 1020 . The processor 1010 and the interface circuit 1020 are coupled to each other. It can be understood that the interface circuit 1020 may be a transceiver or an input-output interface. Optionally, the communication device 1000 may further include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute the instructions or storing data generated by the processor 1010 after executing the instructions.
当通信装置1000用于实现图2所示的方法时,处理器1010用于实现上述处理单元1010的功能,接口电路1020用于实现上述收发单元1020的功能。When the communication device 1000 is used to implement the method shown in FIG. 2 , the processor 1010 is used to implement the functions of the processing unit 1010 described above, and the interface circuit 1020 is used to implement the functions of the transceiver unit 1020 described above.
当上述通信装置为应用于第一网元的芯片时,该第一网元芯片实现上述方法实施例中第一网元的功能。该第一网元芯片从第一网元中的其它模块(如射频模块或天线)接收信 息,该信息是网络设备发送给第一网元的;或者,该第一网元芯片向第一网元中的其它模块(如射频模块或天线)发送信息,该信息是第一网元发送给第二网元的。When the above communication device is a chip applied to the first network element, the first network element chip implements the functions of the first network element in the above method embodiment. The first network element chip receives information from other modules (such as radio frequency modules or antennas) in the first network element, and the information is sent to the first network element by network equipment; or, the first network element chip sends information to the first network element Other modules in the network element (such as radio frequency modules or antennas) send information, and the information is sent from the first network element to the second network element.
当上述通信装置为应用于第二网元的芯片时,该第二网元芯片实现上述方法实施例中第二网元的功能。该第二网元芯片从第二网元中的其它模块(如射频模块或天线)接收信息,该信息是第一网元发送给第二网元的;或者,该第二网元芯片向第二网元中的其它模块(如射频模块或天线)发送信息,该信息是第二网元发送给第一网元的。When the above communication device is a chip applied to the second network element, the second network element chip implements the functions of the second network element in the above method embodiment. The second network element chip receives information from other modules (such as radio frequency modules or antennas) 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 the second network element Other modules (such as radio frequency modules or antennas) in the second network element send information, and the information is sent by the second network element to the first network element.
可以理解的是,本申请的实施例中的处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其它通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件,硬件部件或者其任意组合。通用处理器可以是微处理器,也可以是任何常规的处理器。It can be understood that the processor in the embodiments of the present application can be a central processing unit (Central Processing Unit, CPU), and can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. A general-purpose processor can be a microprocessor, or any conventional processor.
本申请的实施例中存储器可以是随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于网络设备或终端设备中。当然,处理器和存储介质也可以作为分立组件存在于网络设备或终端设备中。Memory in the embodiment of the present application can be random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable Programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art . An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. In addition, the ASIC can be located in a network device or a terminal device. Of course, the processor and the storage medium may also exist in the network device or the terminal device as discrete components.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机程序或指令。在计算机上加载和执行所述计算机程序或指令时,全部或部分地执行本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、终端设备、或者其它可编程装置。所述计算机程序或指令可以存储在计算机可读存储介质中,或者通过所述计算机可读存储介质进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是集成一个或多个可用介质的服务器等数据存储设备。所述可用介质可以是磁性介质,例如,软盘、硬盘、磁带;也可以是光介质,例如,DVD;还可以是半导体介质,例如,固态硬盘(solid state disk,SSD)。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer programs or instructions. When the computer program or instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal device, or other programmable devices. The computer program or instructions may be stored in or transmitted via a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server integrating one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a DVD; it may also be a semiconductor medium, such as a solid state disk (solid state disk, SSD).
在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。In each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments are based on their inherent Logical relationships can be combined to form new embodiments.
应理解,在本申请实施例中,编号“第一”、“第二”…仅仅为了区分不同的对象,比如为了区分不同的网络设备,并不对本申请实施例的范围构成限制,本申请实施例并不限于此。It should be understood that in this embodiment of the application, the numbers "first", "second"... are only used to distinguish different objects, such as different network devices, and do not limit the scope of the embodiment of this application. Examples are not limited to this.
还应理解,在本申请中,“当…时”、“若”以及“如果”均指在某种客观情况下网元会做出相应的处理,并非是限定时间,且也不要求网元实现时一定要有判断的动作,也不意味着存在其它限定。It should also be understood that in this application, "when", "if" and "if" all mean that the network element will make corresponding processing under certain objective circumstances, and it is not a limited time, and it does not require the network element to There must be an action of judgment during implementation, and it does not mean that there are other restrictions.
还应理解,在本申请各实施例中,“A对应的B”表示B与A相关联,根据A可以 确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。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 may also be determined according to A and/or other information.
还应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should also be understood that the term "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three relationships, for example, A and/or B may indicate: A exists alone, and A and B exist simultaneously. B, there are three situations of B alone. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.
本申请中出现的类似于“项目包括如下中的一项或多项:A,B,以及C”表述的含义,如无特别说明,通常是指该项目可以为如下中任一个:A;B;C;A和B;A和C;B和C;A,B和C;A和A;A,A和A;A,A和B;A,A和C,A,B和B;A,C和C;B和B,B,B和B,B,B和C,C和C;C,C和C,以及其他A,B和C的组合。以上是以A,B和C共3个元素进行举例来说明该项目的可选用条目,当表达为“项目包括如下中至少一种:A,B,……,以及X”时,即表达中具有更多元素时,那么该项目可以适用的条目也可以按照前述规则获得。The meaning of the expression similar to "the item includes one or more of the following: A, B, and C" appearing in this application, unless otherwise specified, usually means that the item 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 the three elements of A, B and C to illustrate the optional items of the project. When the expression is "the project includes at least one of the following: A, B, ..., and X", it is in the expression When there are more elements, then the applicable entries for this item can also be obtained according to the aforementioned rules.
可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic.

Claims (29)

  1. 一种处理意图的方法,其特征在于,所述方法包括:A method for processing intent, characterized in that the method includes:
    第一网元获取第一意图目标的第一值,所述第一值与第二意图目标的第二值冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;The first network element obtains the first value of the first intention goal, the first value conflicts with the second value of the second intention goal, the first intention goal is used to indicate the goal value that the first intention is expected to achieve, the The second intention target is used to indicate the target value that the second intention expects to achieve;
    所述第一网元获取第一信息,所述第一信息用于指示所述第一意图目标的第一取值范围;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 according to the first information, the third value belongs to the first value range, and the third value is different from the second value conflict.
  2. 如权利要求1的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述第一网元获取第二信息,所述第二信息用于指示所述第二意图目标的第二取值范围,所述第一意图的优先级低于或等于所述第二意图的优先级。The first network element acquires second information, where the second information is used to indicate a second value range of the second intent target, and the priority of the first intent is lower than or equal to that of the second intent priority.
  3. 如权利要求1的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述第一网元确定所述第二意图目标的第二值不允许被修改。The first network element determines that the second value of the second intended object is not allowed to be modified.
  4. 如权利要求3所述的方法,其特征在于,所述方法还包括:The method of claim 3, further comprising:
    所述第一网元释放所述第二意图的资源,所述第一意图的优先级高于所述第二意图的优先级。The first network element releases the resources of the second intent, and the priority of the first intent is higher than the priority of the second intent.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, further comprising:
    所述第一网元获取第三信息,所述第三信息用于指示所述第一值允许被修改为所述第三值。The first network element acquires third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.
  6. 如权利要求1至5中任一项所述的方法,其特征在于,所述第一网元获取第一信息,包括:The method according to any one of claims 1 to 5, wherein the acquiring the first information by the first network element comprises:
    所述第一网元从第二网元接收所述第一信息;或者the first network element receives the first information from a second network element; or
    所述第一网元确定所述第一信息。The first network element determines the first information.
  7. 如权利要求1至6中任一项所述的方法,其特征在于,所述第一值与第二意图目标的第二值冲突包括:所述第一值对应的第一操作与所述第二值对应的第二操作冲突,或者所述第一值与所述第二值互斥。The method according to any one of claims 1 to 6, wherein the conflict between the first value and the second value of the second intended target comprises: the first operation corresponding to the first value and the second value The second operation corresponding to the two values conflicts, or the first value and the second value are mutually exclusive.
  8. 如权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, further comprising:
    所述第一网元向所述第二网元发送第四信息,所述第四信息用于请求获取所述第二意图目标,所述第二意图为处于激活态的意图;The first network element sends fourth information to the second network element, where the fourth information is used to request acquisition of the second intent target, where the second intent is an active intent;
    所述第一网元从所述第二网元接收第五信息,所述第五信息用于指示所述第二意图目标。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. 如权利要求6至8中任一项所述的方法,其特征在于,在所述第一网元确定所述第一信息的情况下,所述方法还包括:The method according to any one of claims 6 to 8, wherein when the first network element determines the first information, the method further comprises:
    所述第一网元向所述第二网元发送所述第一信息;sending the first information to the second network element by the first network element;
    所述第一网元从所述第二网元接收第六信息,所述第六信息用于指示所述第二网元接受所述第一信息指示的所述第一取值范围。The first network element receives sixth information from the second network element, where the sixth information is used to instruct the second network element to accept the first value range indicated by the first information.
  10. 如权利要求1至9中任一项所述的方法,其特征在于,所述第一网元根据所述第 一信息确定所述第一意图目标的第三值,所述第三值属于所述第一取值范围,包括:The method according to any one of claims 1 to 9, wherein the first network element determines a third value of the first intended object according to the first information, and the third value belongs to the The first value range mentioned above includes:
    所述第一网元确定所述第一取值范围中与所述第二值不冲突的目标值中的最大值或最小值为所述第三值。The first network element determines that a maximum value or a minimum value among target values that do not conflict with the second value in the first value range is the third value.
  11. 一种处理意图的方法,其特征在于,所述方法包括:A method for processing intent, characterized in that the method includes:
    第二网元向第一网元发送第一信息,所述第一信息用于指示第一意图目标的第一取值范围,所述第一信息还用于确定所述第一意图目标的第三值,所述第三值属于所述第一取值范围,所述第三值与第二意图目标的第二值不冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;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 intended target, and the first information is also used to determine the first value range of the first intended target Three values, the third value belongs to the first value range, the third value does not conflict with the second value of the second intention, and the first intention is used to indicate the goal that the first intention expects to achieve value, the second intention target is used to indicate the target value that the second intention is expected 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. 如权利要求11所述的方法,其特征在于,所述方法还包括:The method of claim 11, further comprising:
    所述第二网元向所述第一网元发送第二信息,所述第二信息用于指示所述第二意图目标的第二取值范围,所述第一意图的优先级低于或等于所述第二意图的优先级。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 intent.
  13. 一种处理意图的装置,其特征在于,所述装置包括收发单元和处理单元,A device for processing intentions, characterized in that the device includes a transceiver unit and a processing unit,
    所述收发单元,用于获取第一意图目标的第一值,所述第一值与第二意图目标的第二值冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值;The transceiving unit is configured to acquire a first value of a first intention goal, the first value conflicts with a second value of a second intention goal, and the first intention goal is used to indicate a goal value that the first intention expects to achieve , the second intention target is used to indicate the target value that the second intention is expected to achieve;
    所述处理单元,用于获取第一信息,所述第一信息用于指示所述第一意图目标的第一取值范围;The processing unit is configured to acquire first information, where the first information is used to indicate a first value range of the first intended target;
    所述处理单元,还用于根据所述第一信息确定所述第一意图目标的第三值,所述第三值属于所述第一取值范围,所述第三值与所述第二值不冲突。The processing unit is further configured to determine a third value of the first intention target according to the first information, the third value belongs to the first value range, and the third value is consistent with the second Values do not conflict.
  14. 如权利要求13所述的装置,其特征在于,The apparatus of claim 13 wherein,
    所述收发单元,还用于获取第二信息,所述第二信息用于指示所述第二意图目标的第二取值范围,所述第一意图的优先级低于或等于所述第二意图的优先级。The transceiving unit is further configured to obtain 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. Intent priority.
  15. 如权利要求13所述的装置,其特征在于,The apparatus of claim 13 wherein,
    所述处理单元,还用于确定所述第二意图目标的第二值不允许被修改。The processing unit is further configured to determine that the second value of the second intended object is not allowed to be modified.
  16. 如权利要求15所述的装置,其特征在于,The apparatus of claim 15, wherein,
    所述处理单元,还用于释放所述第二意图的资源,所述第一意图的优先级高于所述第二意图的优先级。The processing unit is further configured to release resources of the second intent, and the priority of the first intent is higher than the priority of the second intent.
  17. 如权利要求13至16中任一项所述的装置,其特征在于,Apparatus according to any one of claims 13 to 16, characterized in that
    所述收发单元,还用于获取第三信息,所述第三信息用于指示所述第一值允许被修改为所述第三值。The transceiving unit is further configured to obtain third information, where the third information is used to indicate that the first value is allowed to be modified to the third value.
  18. 如权利要求13至17中任一项所述的装置,其特征在于,Apparatus according to any one of claims 13 to 17, characterized in that
    所述收发单元,具体用于从第二网元接收所述第一信息;或者The transceiving unit is specifically configured to receive the first information from a second network element; or
    所述处理单元,具体用于确定所述第一信息。The processing unit is specifically configured to determine the first information.
  19. 如权利要求13至18中任一项所述的装置,其特征在于,所述第一值与第二意图目标的第二值冲突包括:所述第一值对应的第一操作与所述第二值对应的第二操作冲突,或者所述第一值与所述第二值互斥。The device according to any one of claims 13 to 18, wherein the conflict between the first value and the second value of the second intended target comprises: the first operation corresponding to the first value is inconsistent with the second value The second operation corresponding to the two values conflicts, or the first value and the second value are mutually exclusive.
  20. 如权利要求13至19中任一项所述的装置,其特征在于,Apparatus according to any one of claims 13 to 19, characterized in that
    所述收发单元,还用于向所述第二网元发送第四信息,所述第四信息用于请求获取所 述第二意图目标,所述第二意图为处于激活态的意图,The transceiving unit is further configured to send fourth information to the second network element, the fourth information is used to request acquisition of the second intent target, the second intent is an active intent,
    还用于从所述第二网元接收第五信息,所述第五信息用于指示所述第二意图目标。It is also used for receiving fifth information from the second network element, where the fifth information is used to indicate the second intended target.
  21. 如权利要求18至20中任一项所述的装置,其特征在于,在所述处理单元具体用于确定所述第一信息的情况下,The device according to any one of claims 18 to 20, wherein when 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 instruct the second network element to accept the first value range indicated by the first information.
  22. 如权利要求13至21中任一项所述的装置,其特征在于,Apparatus as claimed in any one of claims 13 to 21 wherein,
    所述处理单元,具体用于确定所述第一取值范围中与所述第二值不冲突的目标值中的最大值或最小值为所述第三值。The processing unit is specifically configured to determine the third value as the maximum value or the minimum value among target values that do not conflict with the second value in the first value range.
  23. 一种处理意图的装置,其特征在于,所述装置包括收发单元,A device for processing intentions, characterized in that the device includes a transceiver unit,
    所述收发单元,用于向第一网元发送第一信息,所述第一信息用于指示第一意图目标的第一取值范围,所述第一信息还用于确定所述第一意图目标的第三值,所述第三值属于所述第一取值范围,所述第三值与第二意图目标的第二值不冲突,所述第一意图目标用于指示第一意图期望达成的目标值,所述第二意图目标用于指示第二意图期望达成的目标值,The transceiver unit is configured to send first information to a first network element, the first information is used to indicate a first value range of a first intention target, and the first information is also used to determine the first intention A third value of the 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, and the first intention target is used to indicate the first intention expectation an achieved target value, the second intention target is used to indicate the 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 is the same as the first value The second value conflicts.
  24. 如权利要求23所述的装置,其特征在于,The apparatus of claim 23, wherein,
    所述收发单元,还用于向所述第一网元发送第二信息,所述第二信息用于指示所述第二意图目标的第二取值范围,所述第一意图的优先级低于或等于所述第二意图的优先级。The transceiver unit is further configured to send 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 low equal to or equal to the priority of the second intent.
  25. 一种处理装置,其特征在于,包括至少一个处理器,所述至少一个处理器用于执行存储器中存储的计算机程序,以使得所述装置实现如权利要求1至10中任一项所述的方法。A processing device, characterized in that it comprises at least one processor, and the at least one processor is used 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. 一种处理装置,其特征在于,包括至少一个处理器,所述至少一个处理器用于执行存储器中存储的计算机程序,以使得所述装置实现如权利要求11或12所述的方法。A processing device, characterized in that it comprises at least one processor, and the at least one processor is configured to execute a computer program stored in a memory, so that the device implements the method as claimed in claim 11 or 12.
  27. 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至12中任一项所述的方法。A computer-readable storage medium, characterized by comprising a computer program, which causes the computer to execute the method according to any one of claims 1 to 12 when the computer program is run on the computer.
  28. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1至12中任一项所述的方法。A computer program product, characterized in that, when the computer program product is run on a computer, the computer is made to execute the method according to any one of claims 1 to 12.
  29. 一种芯片系统,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片系统的通信设备执行如权利要求1至12中任一项所述的方法。A chip system, characterized in that it includes: a processor, configured to call and run a computer program from a memory, so that a communication device equipped with the chip system executes the method according to any one of claims 1 to 12 .
PCT/CN2022/091395 2021-05-27 2022-05-07 Method and apparatus for processing intention WO2022247611A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110587135.2A CN115412932A (en) 2021-05-27 2021-05-27 Method and device for processing intention
CN202110587135.2 2021-05-27

Publications (1)

Publication Number Publication Date
WO2022247611A1 true WO2022247611A1 (en) 2022-12-01

Family

ID=84155049

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/091395 WO2022247611A1 (en) 2021-05-27 2022-05-07 Method and apparatus for processing intention

Country Status (2)

Country Link
CN (1) CN115412932A (en)
WO (1) WO2022247611A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117634494A (en) * 2022-08-18 2024-03-01 中兴通讯股份有限公司 Intent management method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160149760A1 (en) * 2014-11-20 2016-05-26 Cisco Technology, Inc. Multi-stage convergence and intent revocation in a network environment
CN106375975A (en) * 2015-07-21 2017-02-01 中国移动通信集团公司 Policy conflict detection method and apparatus
CN108111284A (en) * 2017-11-14 2018-06-01 中兴通讯股份有限公司 The sending method of reference signal, the collocation method of reference signal and device
CN111277442A (en) * 2020-01-21 2020-06-12 赣江新区智慧物联研究院有限公司 Management method, device and system of wireless intention driven network
CN112822699A (en) * 2019-11-15 2021-05-18 华为技术有限公司 Method and device for executing intention

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160149760A1 (en) * 2014-11-20 2016-05-26 Cisco Technology, Inc. Multi-stage convergence and intent revocation in a network environment
CN106375975A (en) * 2015-07-21 2017-02-01 中国移动通信集团公司 Policy conflict detection method and apparatus
CN108111284A (en) * 2017-11-14 2018-06-01 中兴通讯股份有限公司 The sending method of reference signal, the collocation method of reference signal and device
CN112822699A (en) * 2019-11-15 2021-05-18 华为技术有限公司 Method and device for executing intention
CN111277442A (en) * 2020-01-21 2020-06-12 赣江新区智慧物联研究院有限公司 Management method, device and system of wireless intention driven network

Also Published As

Publication number Publication date
CN115412932A (en) 2022-11-29

Similar Documents

Publication Publication Date Title
JP6463509B2 (en) System and method for dynamic virtualization network function descriptor management
US10819592B2 (en) Slice instance management method and apparatus
US11582350B2 (en) Policy charging control and session management interaction method, apparatus, and system
US10735255B2 (en) Method, apparatus, and system for controlling self-optimization switch
WO2021093782A1 (en) Method and apparatus for executing intent
US8838120B2 (en) Methods and systems for a generic multi-radio access technology
US20160119932A1 (en) Facilitating mobility dimensioning via dynamic configuration of a switch
WO2022247611A1 (en) Method and apparatus for processing intention
US11399349B2 (en) Power headroom reporting processing method, terminal and network side device
WO2023125278A1 (en) Intent conflict handling method and apparatus
US11909600B2 (en) Intent negotiation method and apparatus
US10284488B1 (en) Aggregate socket resource management
KR20160126885A (en) Method for management of unified radio application and reconfigurable mobile device using the same
WO2023284533A1 (en) Intent activation method and apparatus
WO2023125260A1 (en) Intent management method and communication apparatus
WO2023072023A1 (en) Intention execution method and apparatus
WO2022165723A1 (en) Communication method and apparatus
Sheng et al. Sensor cloud computing for vehicular applications: from analysis to practical implementation
WO2022042544A1 (en) Network performance data subscription method and apparatus
WO2022140888A1 (en) Policy conflict management method, apparatus and system
WO2023169435A1 (en) Knowledge updating method and communication apparatus
US20230291651A1 (en) Intent maintenance method and apparatus
WO2024027398A1 (en) Communication method and apparatus
CN115707065A (en) Communication method and device
EP2784980A1 (en) Dynamic license management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22810339

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE