WO2023072023A1 - Intention execution method and apparatus - Google Patents

Intention execution method and apparatus Download PDF

Info

Publication number
WO2023072023A1
WO2023072023A1 PCT/CN2022/127222 CN2022127222W WO2023072023A1 WO 2023072023 A1 WO2023072023 A1 WO 2023072023A1 CN 2022127222 W CN2022127222 W CN 2022127222W WO 2023072023 A1 WO2023072023 A1 WO 2023072023A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
execution
intent
intention
information
Prior art date
Application number
PCT/CN2022/127222
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 WO2023072023A1 publication Critical patent/WO2023072023A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/022Knowledge engineering; Knowledge acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/027Frames
    • 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 communication technology, and more particularly, to a method and apparatus intended to be implemented.
  • Cognitive network management systems are currently available as users automate work. Cognitive network management systems support the processing of intent, where intent is the expectation of an acting system.
  • intent is the expectation of an acting system.
  • multiple network devices need to respectively perform multiple intended operations, for example, multiple network devices respectively perform multiple sub-operations in the intended operation. Whether each network device performs an operation successfully or not will affect the effect of the intention after execution.
  • the current management mechanism for intention operations does not take into account the cooperative management between multiple operations, resulting in low success rate and effect of intention achievement. Therefore, there is an urgent need for an intention execution method that can improve the system Reliability of carrying out intentions.
  • the present application provides an intent execution method and device, which can improve the reliability of the intent execution system.
  • an intent execution method may be executed by an intent execution network element or a chip in the intent execution network element, the method includes: the intent execution network element receives execution sequence information from the intent knowledge base, the execution sequence The information is used to indicate the order of executing the first operation of the first intention and the second operation of the first intention; the intention execution network element determines the intention execution network element to send the first operation and the intention execution network element to the first network element according to the execution sequence information The sending order of sending the second operation to the second network element; the intention execution network element sends the first operation to the first network element and sends the second operation to the second network element according to the sending order.
  • the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
  • the method further includes: the network element intending to execute receives the execution result information of the first operation from the first network element; the network element intending to execute determines the first operation according to the execution result information Whether the execution is successful.
  • the intent execution network element can receive the execution result information of the operation, and judge whether the operation is successfully executed according to the execution result information, so as to monitor the execution status of the operation and improve the reliability of the system execution intent.
  • the method further includes: the intention execution network element receives first indication information from the intention knowledge base, and the first indication information is used to instruct the intention execution network element to determine whether the first operation execution succeed.
  • the intention execution network element can obtain the first indication information from the intention knowledge base, and determine whether the operation is successfully executed according to the first indication information, so as to improve the reliability of the system for executing the intention.
  • sending the first operation to the first network element and sending the second operation to the second network element by the network element intending to execute according to the sending order includes: sending the operation to the second network element by the network element intended to execute The first network element sends the first operation, and in the case that the intended execution network element determines that the first operation is executed successfully, the intended execution network element sends the second operation to the second network element.
  • the intent-executing network element can issue subsequent operations after determining that the pre-order operations are executed successfully, so as to avoid performing subsequent operations because the pre-order operations have not been successfully executed, resulting in operation failure or execution effect poor.
  • the method further includes: the intention execution network element receives progress indication information, the progress indication information is used to indicate that the intention execution network element needs to feed back progress information, and the progress information is used to indicate the first The execution progress of the first operation and the second operation; the intention execution network element sends progress information according to the progress indication information.
  • the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
  • the progress indication information is further used to indicate the cycle or frequency at which the schematic execution network element needs to feed back the progress information.
  • the network element intending to execute may be required to feed back the execution progress of the operation periodically or by frequency, so that the execution status of the operation can be monitored and the reliability of the system execution intent can be improved.
  • an intention execution device in a second aspect, includes a processing unit and a transceiver unit, the transceiver unit is configured to receive execution sequence information from the intent knowledge base, and the execution sequence information is used to indicate the execution of the first operation of the first intent and the order of the second operation of the first intention; the processing unit is configured to determine, according to the execution sequence information, that the network element intending to execute sends the first operation to the first network element and that the network element intending to execute sends the second operation to the second network element Sequence; the transceiver unit is further configured to send the first operation to the first network element and send the second operation to the second network element according to the sending sequence.
  • the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
  • the transceiver unit is further configured to receive execution result information of the first operation from the first network element; the processing unit is further configured to determine the first operation according to the execution result information Whether the execution is successful.
  • the transceiver unit is further configured to receive first indication information from the first network element, and the first indication information is used to instruct the schematic execution network element to determine whether the first operation is performed success.
  • the transceiver unit is specifically configured to send the first operation to the first network element, and when it is determined that the first operation is successfully performed, send the second operation to the second network element. Two operations.
  • the transceiver unit is further configured to receive progress indication information, the progress indication information is used to indicate that the device needs to feed back progress information, and the progress information is used to indicate the first operation and the second operation.
  • the execution progress of the operation; the processing unit is also used to send progress information according to the progress indication information.
  • the progress indication information is also used to indicate the period or frequency at which the device needs to feed back the progress information.
  • a method for executing an intent may be executed by a network element for executing the intent or a chip in the network element for executing the intent, the method includes: the network element for executing the intent receives the first intent from the first network element Execution result information of an operation; the network element intending to execute determines that the execution of the first operation is abnormal according to the execution result information; the network element intending to execute sends rollback indication information to the second network element, and the rollback indication information is used to indicate rollback of the first operation The intent's second action.
  • the method further includes: the intention execution network element receives second indication information from the intention knowledge base, and the second indication information is used to instruct the intention execution network element to determine the first operation An exception occurred during execution.
  • the method further includes: the intent execution network element receives fallback scheme information from the intent knowledge base, where the rollback scheme information is used to indicate the rollback mode of the second operation, and returns The rollback indication information is also used to indicate a rollback mode of the second operation.
  • the intent execution network element can indicate the rollback mode of the rollback operation to the network element that performs the operation, so as to prevent the network element that does not have the rollback capability from being unable to roll back the operation successfully, and improves the reliability of the system to execute the intent .
  • the method further includes: the intended execution network element determines the fallback mode of the second operation according to the execution result information and the fallback scheme information.
  • the intended execution network element when the intended execution network element determines that the execution of the first operation is abnormal, the intended execution network element can determine which type of abnormality the exception belongs to according to the execution result information, and determine that in this abnormal situation according to the fallback plan information Next, determine the rollback scheme information of the second operation to determine the rollback mode of the second operation, which improves the reliability of the system execution intention.
  • the method further includes: the intention execution network element receives progress indication information, the progress indication information is used to indicate that the intention execution network element needs to feed back progress information, and the progress information is used to indicate the first The execution progress of the first operation and the second operation; the intention execution network element sends progress information according to the progress indication information.
  • the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
  • the progress indication information is further used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
  • the network element intending to execute may be required to feed back the execution progress of the operation periodically or by frequency, so that the execution status of the operation can be monitored and the reliability of the system execution intent can be improved.
  • a device for intention execution includes a processing unit and a transceiver unit, the transceiver unit is configured to receive execution result information of a first operation of the first intent from a first network element; the processing unit is configured to According to the execution result information, it is determined that the execution of the first operation is abnormal; the transceiver unit is further configured to send rollback instruction information to the second network element, where the rollback instruction information is used to indicate the rollback of the second operation with the first intention.
  • the transceiver unit is further configured to receive second indication information from the intent knowledge base, where the second indication information is used to indicate that the execution network element determines that the execution of the first operation is abnormal .
  • the transceiver unit is further configured to receive rollback scheme information from the intent knowledge base, the rollback scheme information is used to indicate the rollback mode of the second operation, and the rollback indication The information is also used to indicate the fallback mode of the second operation.
  • the processing unit is further configured to determine a rollback mode of the second operation according to the execution result information and the rollback scheme information.
  • the transceiver unit is further configured to receive progress indication information, the progress indication information is used to indicate that the device needs to feed back progress information, and the progress information is used to indicate the first operation and the second operation.
  • the execution progress of the operation; the sending and receiving unit is also configured to send progress information according to the progress indication information.
  • the progress indication information is further used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
  • 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 intent-to-execute network element executes any method of the first aspect or 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 method of the first aspect or 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 intention execution 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 or 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 aspect or third aspect can be realized. method.
  • a computer program product containing instructions is provided, and when the instructions are executed, any method of the aforementioned first aspect or third aspect is implemented.
  • a computer program in a ninth aspect, includes codes or instructions, and when the codes or instructions are executed, the method in any possible implementation manner of the aforementioned first aspect or the third aspect is implemented.
  • a chip system in a tenth aspect, includes a processor and may further include a memory, configured to implement at least one method described in the foregoing first aspect or third aspect.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • a communication system in an eleventh aspect, includes the device in any one of the second aspect or the fourth aspect.
  • the first network element may be a first network device
  • the second network element may be a second network device.
  • Fig. 1 is a schematic diagram of a system applicable to the implementation of the intention provided by the embodiment of the present application.
  • Fig. 2 is a schematic flowchart of an example of an intent execution method provided by an embodiment of the present application.
  • Fig. 3 is a schematic flowchart of another example of an intention execution method provided by an embodiment of the present application.
  • Fig. 4 is a schematic flowchart of an example of an operation method for rollback during intent execution provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another example of an operation method for rollback during intent execution provided by an embodiment of the present application.
  • Fig. 6 is a schematic flowchart of an example of information query by network elements intended to be executed according to the 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.
  • Intent 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: the executable operation corresponding to the intent, the identifier of the entity that acts on the intent, or the type of the entity that acts on the intent.
  • Intent operation the executable operation corresponding to the intent target.
  • An intent action consists of one or more intent sub-actions.
  • Intention sub-operation a component of an intention operation, an intent sub-operation may include one or more operation instructions, and the one or more operation instructions are executed by an execution object.
  • Intention maintenance adjust the executable operations of the intention according to the changes of the system network environment, in order to achieve the intention goal.
  • Intention achievement the system detects that the KPI value in the network reaches the target value in the intention expression, or the intention goal is achieved.
  • 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 , an intended provision network element 120 , and a network device 130 .
  • the intention providing network element may include an intention management network element 121 , an intention translation network element 122 , an intention execution network element 123 , and a knowledge management network element 124 .
  • the knowledge management network element 124 may include an intent knowledge base.
  • 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
  • the intention consuming network element 110 may communicate with the intention providing network element 120 , for example, the intention consuming network element 110 may send a request for creating or implementing an intention to the intention 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.
  • the knowledge management network element 124 can manage the intent knowledge base, which stores the relevant knowledge of the intent, and the knowledge management network element can support other network elements to query the relevant knowledge of the intent.
  • systems with different processing intents may also include other network elements with corresponding functions.
  • the system may also include a knowledge management network element and an intent knowledge base.
  • the intent management network element is used for managing intent knowledge.
  • the intent knowledge base may be a sub-module of the knowledge management network element, and is used to store 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 the external system can process 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 assistance system 130 may include at least one network device, and each network device may communicate with the intent providing network element 120, for example, the intent execution network element 123 in the intent providing network element 120 may send a message to any network device in the assistance system 130 An intent to perform an action request.
  • the network device in the assistance system 130 may be any kind of device with a wireless transceiver function.
  • the equipment includes but is not limited to: evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller, BSC) , base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), satellite, drone base station, wireless fidelity (wireless access point (access point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP) in the fidelity (WiFi) system, etc.
  • eNB evolved Node B
  • RNC radio network controller
  • Node B Node B
  • BSC base station controller
  • base transceiver station base transceiver station
  • It can be 5G, such as NR, a gNB in the system, or a transmission point (TRP or TP), one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be an antenna panel that constitutes a gNB Or a network node of a transmission point, such as a baseband unit (BBU), or a distributed unit (distributed unit, DU), etc.
  • NR such as NR, a gNB in the system, or a transmission point (TRP or TP), one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be an antenna panel that constitutes a gNB Or a network node of a transmission point, such as a baseband unit (BBU), or a distributed unit (distributed unit, DU), etc.
  • BBU baseband unit
  • DU distributed unit
  • a gNB may include a centralized unit (CU) and a DU.
  • the gNB may also include an active antenna unit (AAU).
  • CU implements some functions of gNB
  • DU implements some functions of gNB.
  • CU is responsible for processing non-real-time protocols and services, implementing radio resource control (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP) layer function.
  • the DU is responsible for processing physical layer protocols and real-time services, realizing the functions of the radio link control (radio link control, RLC) layer, medium access control (medium access control, MAC) layer and physical (physical, PHY) layer.
  • the AAU implements some physical layer processing functions, radio frequency processing and related functions of active antennas. Since the information of the RRC layer will eventually become the information of the PHY layer, or be transformed from the information of the PHY layer, under this architecture, high-level signaling, such as RRC layer signaling, can also be considered to be sent by the DU , or, sent by DU+AAU.
  • the network device may be a device including one or more of a CU node, a DU node, and an AAU node.
  • the CU can be divided into network devices in an access network (radio access network, RAN), and the CU can also be divided into network devices in a core network (core network, CN), which is not limited in this application.
  • the solution of this application can be applied to other systems including corresponding network elements, which is not limited in this application.
  • the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
  • FIG. 2 shows a schematic flowchart of an example of an intent execution method 200 provided by the present application.
  • the intent execution network element receives execution sequence information from the intent knowledge base.
  • the execution sequence information is used to indicate the sequence of executing the first operation of the first intent and the second operation of the first intent.
  • the execution sequence information may be stored in the intent knowledge base during the initialization and update process of the intent knowledge base, where the intent knowledge base may be a submodule of the knowledge management network element.
  • the first operation may include multiple operation instructions, and may be completely executed by the first network element (for example, network device #1); the second operation may also include multiple operation instructions, and may be completely executed by the second network element (for example, network device #1).
  • Device #2 is fully implemented.
  • the execution of the second operation by the second network element depends on the successful execution of the first operation by the first network element.
  • the first operation of the first intent and the second operation of the first intent may be one or more sub-operations of the intent operation corresponding to the first intent.
  • the intent operation corresponding to the first intent includes three sub-operations, namely: a first sub-operation, a second sub-operation, and a third sub-operation.
  • the execution object of the first sub-operation is the first network element
  • the execution object of the second sub-operation and the third sub-operation is the second network element.
  • the first operation in this embodiment of the application may be the first sub-operation, and the second operation may be the second sub-operation A combined operation of the operation and the third sub-operation; if the three sub-operations are performed in the order of the second sub-operation, the first sub-operation, and the third sub-operation, the first operation in the embodiment of the present application can be the first sub-operation , the second operation may be the second sub-operation, and the embodiment of the present application also includes a third operation of the first intention, the third operation is the third sub-operation, and the execution order information may be used to indicate the first operation, the second operation and the order of the third operation.
  • the present application does not limit the number of multiple operations in the order in which the execution sequence information indicates the execution of multiple operations, nor does it limit the number of execution objects that need to perform operations.
  • the intended target is the relocation of the community as an example.
  • the intention operation of the first intention includes 6 sub-operations, and the 6 sub-operations are:
  • the first sub-operation delete the neighbor relationship with cell A, which is executed by the first network element;
  • the second sub-operation deactivate cell A, performed by the second network element
  • the third sub-operation delete cell A, performed by the second network element;
  • the fourth sub-operation create a new cell A, which is executed by the third network element;
  • the sixth sub-operation restore the neighbor relationship with cell A, which is performed by the first network element.
  • the intended execution order information is used to indicate the order in which the six sub-operations are executed, which can be expressed as indicating the order in which the first operation, the second operation, the third operation, and the fourth operation are executed, wherein the first operation is the first sub-operation , the second operation is a combination operation of the second sub-operation and the third sub-operation, the third operation is a combination operation of the fourth sub-operation and the fifth sub-operation, and the fourth operation is a sixth sub-operation.
  • the second operation is a combination operation of the second sub-operation and the third sub-operation
  • an operation instruction describing the second operation may be used to indicate the execution of the second sub-operation. The order of the second sub-operation and the third sub-operation.
  • the execution sequence information includes a step identifier (stepID) of the first operation and a step identifier (stepID) of the second operation.
  • the step identifier is used to indicate the order in which the corresponding operations are executed in all operations. Operations with different step identifiers need to be executed in sequence, and operations with the same step identifier can be executed in parallel.
  • the step identifier of the first operation may be carried in the description information of the first operation
  • the step identifier of the second operation may be carried in the description information of the second operation.
  • the execution sequence information includes the step ID (stepID) and wait type (waitType) of the first operation, and the step ID (stepID) and wait type (waitType) of the second operation.
  • the waiting type is used to indicate whether the execution of the corresponding operation needs to wait for the execution of the preceding operation to be completed
  • the step identifier is used to indicate the order in which the corresponding operation is executed in performing all the operations.
  • the step identifiers of multiple operations are not allowed to have repeated values. If there are multiple operations whose step identifiers are continuous values, and the wait types of the operations except the first operation indicate that there is no need to wait for the preorder After the operation is completed, multiple operations marked as consecutive values in this step can be executed in parallel.
  • the step identification and waiting type of the first operation may be carried in the description information of the first operation, and the step identification and waiting type of the second operation may be carried in the description information of the second operation.
  • the execution order information includes a mapping relationship between identifiers of the first operations and the order in which the first operations are executed, and a mapping relationship between identifiers of the second operations and the order in which the second operations are executed.
  • the execution order information is a mapping table of operation identifiers and operation execution order, and the execution order of the first operation or the second operation can be indexed by the identifier of the first operation or the second operation.
  • execution order information indicates the order in which the first operation and the second operation are performed. It should be understood that the above method is also applicable to the scenario where the execution order information indicates the order in which three or more operations are performed. Not particularly limited.
  • the intended execution network element determines, according to the execution sequence information, a sending sequence in which the intended execution network element sends the first operation to the first network element and the intention execution network element sends the second operation to the second network element.
  • the intent-to-execute network element sends the first operation to the first network element according to the sending order.
  • the intent-to-execute network element sends the second operation to the second network element according to the sending order.
  • the network element that intends to execute determines that the first operation needs to be performed first and then the second operation according to the execution order information, it is determined to first send the first operation to the first network element, and then send the second operation to the second network element, that is to say Execute step S203 first, and then execute step S204; if the network element intending to execute determines that the second operation needs to be executed first according to the execution order information, and then the first operation is executed, then it is determined to first send the second operation to the second network element, and then send the second operation to the first The network element sends the first operation, that is to say, step S204 is executed first, and then step S203 is executed; if the intention execution network element determines that the first operation and the second operation can be executed in parallel according to the execution sequence information, then the intent execution network element sends the first operation to the first operation.
  • the order in which the network element sends the first operation and sends the second operation to the second network element is not limited.
  • the intent execution network element needs to determine whether the first operation is executed successfully, and the method may further include one or more steps from steps S205 to S207.
  • the network element intending to execute receives the execution result information of the first operation from the first network element.
  • the execution result information is used to determine whether the first operation is executed successfully.
  • the execution result information includes an indication of whether the first operation is executed successfully.
  • the execution result information may be carried in an operation execution response message in response to the first operation, and the execution result information may also be carried in a response message in response to the query message.
  • the intent execution network element determines whether the first operation is executed successfully according to the execution result information.
  • the execution result information includes a field indicating whether the first operation is successful, and the intended execution network element determines whether the first operation is successfully executed according to this field. For example, when the field is 1, it is determined that the first operation is successfully executed, and when the field is 0 It is determined that the execution of the first operation is unsuccessful.
  • the execution result information may be related parameters of the system after the first network element executes the first operation, and may also be the execution status of the first operation, for example, the execution status indicates that the How many instructions were executed.
  • the execution result information is not displayed to indicate whether the first operation is successfully executed, then step S207 needs to be executed before step S206 is executed.
  • the intended execution network element determines the Whether the operation is executed successfully.
  • the intent execution network element receives first indication information from the intent knowledge base.
  • the first indication information may indicate that the schematic execution network element determines whether the first operation is executed successfully.
  • the first indication information may be carried in description information of the first operation.
  • the first indication information may include a criterion for determining whether the first operation is performed successfully.
  • the execution result information includes relevant parameters of the system after the first operation is executed, and the judgment criterion indicates that when a certain parameter reaches a predetermined range, the first operation is determined to be executed successfully.
  • judgment criterion may implicitly indicate that the intent execution network element determines whether the first operation is executed successfully.
  • the judgment criterion determines whether the first operation is performed successfully.
  • the first indication information may include a judgment criterion for determining whether the first operation is successfully performed, and an action intended to be performed by the network element to determine whether the first operation is successfully performed.
  • the judging action indicates that the execution network element needs to send a query message to the first network element to acquire the execution result information of the first operation.
  • the intent execution network element may determine, according to the first indication information, that it is necessary to determine whether the first operation is executed successfully, and perform the indicated judgment action to obtain relevant execution result information after the first operation is executed, and then determine the second operation according to the judgment criterion and the execution result information. Whether a network element executes the first operation successfully.
  • the intention execution network element sends a query message to the first network element according to the judgment action, and the first network element queries the first operation according to the query message.
  • the execution result information of the operation and return the response message of the query message to the intended execution network element, the response message carries the execution result information of the first operation, and the intended execution network element determines whether the first operation is executed successfully according to the execution result information and the judgment criterion .
  • the query message may request the first network element to return specific parameters required by the judgment criterion, or may request the first network element to return all relevant parameters of the system after performing the first operation, which is not particularly limited in this application.
  • the method for determining whether the first operation is successfully executed by the intended execution network element is described above. It should be understood that the method for the intended execution network element to judge whether other operations (such as the second operation) is executed successfully is similar to the description of judging the first operation. It is simple and will not be repeated here.
  • the intention execution network element when the intention execution network element first sends the first operation to the first network element, and then sends the second operation to the second network element, the intention execution network element may send the first operation to the first network element. After one operation, it is determined whether the first operation is executed successfully, and if the execution is successful, then the second operation is sent to the second network element. In other words, in step S204, in the case that the intended execution network element determines that the first operation is performed successfully, the intended execution network element sends the second operation to the second network element.
  • steps S205 to S207 may be performed between steps S203 and S204.
  • the intent-to-execute network element may also determine Whether the second operation is successfully executed, and if the execution is successful, send the first operation to the first network element. In other words, before sending the operation, the intent execution network element may first judge whether the preceding operation is executed successfully, and send the operation if the execution is successful, thereby improving the reliability of intent execution.
  • the intention execution network element may receive progress indication information from the intention translation network element.
  • the progress indication information is used to indicate that the schematic execution network element needs to feed back progress information, and the progress information is used to indicate the execution progress of the first operation and the second operation.
  • the progress information is used to indicate the executed percentages of the first operation and the second operation, the estimated remaining time until completion, or the number of completed operation instructions, etc., which are not particularly limited in the present application.
  • the progress indication information may be carried in the intent execution message sent by the intent translation network element for requesting the execution of the first intent. For example, if the intention consumption network element wishes to obtain the execution progress of the operation, the intention consumption network element may carry the progress indication information in the intention implementation request message sent to the intention management network element, and the intention management network element sends the intention translation network element The progress indication information is carried in the intention translation message, and then the intention translation network element may carry the progress indication information in the intention execution message sent to the intention execution network element.
  • the progress indication information may also be used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
  • the progress indication information can also be used to indicate the trigger condition that the intention execution network element needs to feed back the progress information.
  • the progress indication information can indicate that when a certain parameter of the current system reaches the predetermined trigger condition, the intention execution network element needs to feedback The current execution progress of the first operation and the second operation.
  • the intention execution network element sends the progress information to the intention management network element according to the progress indication information.
  • the intention management network element may also send progress information to the intention consumption network element.
  • the intention execution network element may determine the progress information according to the execution result information returned by the first network element and/or the second network element, and return the progress information to the intention management network Yuan.
  • the intention execution network element may also send a query message to the first network element and/or the second network element to obtain the progress information according to the progress indication information.
  • the intention execution network element may also send the progress information to the intention management network element according to the period and frequency.
  • the intention execution network element receives the execution order information from the intention knowledge base in two ways: first, the intention translation network element receives the intention translation message sent by the intention management network element Finally, according to the identification information of the first intention and the intention expression of the first intention in the intention translation message, an intention knowledge query message is sent to the knowledge management network element, and the knowledge management network element performs a query in the intention knowledge base according to the intention knowledge query message , and send the intent knowledge feedback message to the intent translation network element, and carry the execution sequence information in the intent knowledge feedback message, and then the intent translation network element can carry the execution sequence information in the intent execution request message sent to the intent execution network element Second, after the intention translation network element receives the intention execution request message sent by the intention translation network element, the intention translation network element can execute the intention according to the intention expression and/or the operation identifier (the first operation and/or The identification of the second operation) sends an intention operation query message to the knowledge management network element, and the knowledge management network element performs a query in the intention
  • the intent execution network element receives the execution sequence information from the intent knowledge base.
  • the execution sequence information can be received from the intent knowledge base by other network elements initiating a query, and then forwarded to the intent execution network element.
  • the execution sequence information can also be The intent execution network element itself initiates the query received from the intent knowledge base.
  • the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Execution not in order causes the intended operation to fail or not achieve the desired effect.
  • FIG. 3 shows another example of a schematic flowchart of an intent execution method 300 provided by the present application.
  • the intention consumption network element sends an intention implementation request message to the intention management network element.
  • the intent implementation request message is used to request execution of the first intent, and the intent implementation request message may include an intent expression (intentExpression) of the first intent.
  • the intent implementation request message further includes progress indication information (progressNotify).
  • progress indication information provisionNotify
  • progressNotify For a description of the progress indication information, refer to the description of the progress indication information in method 200. For simplicity, details are not repeated here.
  • the intention management network element sends an intention implementation request response message for responding to the intention implementation request message to the intention consumption network element.
  • the intent implementation request response message may include an identifier (intentID) of the first intent, and may also include an intent expression of the first intent.
  • intentID an identifier of the first intent
  • the intent management network element assigns the identifier of the first intent to the first intent, and carries the identifier in the intent implementation request response message and sends it to the intent consumption network element.
  • the intent management network element sends an intent translation request message to the intent translation network element.
  • the intent translation request message is used to request the intent translation network element to translate the first intent.
  • the intent translation request message may include an identifier of the first intent and an intent expression, and if progress indication information is included in the intent implementation request message, the intent translation message also includes the progress indication information.
  • the intent translation network element sends an intent knowledge query message to the intent knowledge base.
  • the intent knowledge query message may include an identifier of the first intent, an intent expression, and a query type.
  • the intent knowledge base acquires the query result.
  • the intent knowledge base obtains the query result according to the intent query message.
  • the intent knowledge base can be understood as a sub-module of the knowledge management network element.
  • the relevant information of the first intent such as execution sequence information (stepinfo), first instruction information, etc.
  • stepinfo execution sequence information
  • first instruction information etc.
  • the knowledge management network element can query the intent knowledge base according to the intent knowledge query message.
  • the first indication information includes success judgment information (success indication),
  • the intent knowledge base acquires an intent operation list (intentOperationList) of the first intent, and the intent operation list includes a description of the first operation and a description of the second operation. It should be understood that if the first intent has other operations, the intent operation list also includes descriptions of other operations.
  • the description information of the first operation may include one or more of the following information: the operation instruction (instruction) of the first operation, the operation execution object (entityIDList) of the first operation . If the indication method of mode 1 or mode 2 in method 200 is adopted, the description information of the first operation also includes the execution sequence information (stepInfo) of the first operation, such as ⁇ step identification (stepID) ⁇ , or ⁇ step identification (stepID), waitType(waitType) ⁇ .
  • stepInfo execution sequence information
  • the operation instruction is used to describe a specific command for executing the first operation
  • the operation execution object is used to describe the first network element that needs to execute the first operation.
  • the description information of the first operation also includes the first indication information.
  • the first indication information please refer to the first indication information in method 200. The description of , for the sake of brevity, will not be repeated here.
  • the intended operation list may also include execution condition (executioncondition) information, which is used to describe the conditions that need to be met for executing the first operation and the second operation, for example, the first operation may be executed when the network load is no-load or low-load operation and/or a second operation.
  • executioncondition executioncondition
  • the intent operation list may also include dependent event (events) information, and the dependent event information is used to describe the impact that the execution of the first intent may have on the system.
  • dependent event events
  • the intent knowledge base can not only obtain the intent operation list (intentOperationList) of the first intent, but also include the fulfillment criterion (fulfillmentCriterion), which can be used to indicate the fulfillment condition of the first intent
  • the criterion for achieving the intended goal may include an intended goal calculation formula for measuring whether the intended goal is achieved.
  • the intent knowledge base may also obtain execution sequence information (stepInfo), which describes the execution sequence of multiple operations of the first intent.
  • stepInfo execution sequence information
  • the execution order information indicates the order of executing the first operation and the second operation
  • the intent translation network element receives an intent knowledge feedback message from the intent knowledge base.
  • the intent knowledge feedback message includes query results obtained from the intent knowledge base.
  • the intent knowledge feedback message may also include an identifier (intentID) of the first intent.
  • intentID an identifier
  • the intent translation network element sends the execution order information to the intent execution network element.
  • the execution sequence information is used to indicate the sequence of executing the first operation of the first intent and the second operation of the first intent.
  • the intent translation network element sends an intent execution request message to the intent execution network element, and the intent execution request message includes the execution sequence information (stepInfo).
  • stepInfo the execution sequence information
  • the intent translation request message may also include the identifier of the first intent, and the intent operation list and intent goal achievement criteria obtained by the intent translation network element from the intent knowledge feedback message.
  • the set of intended operations further includes progress indication information.
  • the intent execution network element may determine to execute the first operation and the second operation according to a predetermined decision algorithm.
  • the network element intending to execute determines the sending order of the network element intending to execute sending the first operation to the first network element and the network element intending executing the network element sending the second operation to the second network element according to the execution sequence information.
  • the intent-to-execute network element sends the first operation to the first network element according to the sending order.
  • the intended execution network element sends an operation execution request message corresponding to the first operation to the first network element, and the operation execution request message includes information corresponding to the first operation, where the information corresponding to the first operation may include Operation ID (operationID) and operation instruction (instruction).
  • operationID Operation ID
  • operation instruction instruction
  • the first network element may execute the first operation according to the information corresponding to the first operation.
  • S310 the network element intended to perform receives the execution result information of the first operation from the first network element.
  • the execution result information is used to determine whether the first operation is executed successfully.
  • the intended execution network element receives an operation execution response message from the first network element in response to the operation execution request message, the operation execution response message includes the execution result information of the first operation, and the operation execution response message may also include the first operation Action ID.
  • the first indication information is also used to instruct the schematic execution network element to determine whether the first operation is successfully executed, and the judgment action indicates that the schematic execution network element needs to query the first network element for the execution result information of the first operation.
  • the intention execution network element may send an operation execution status query message to the first network element, and the operation execution status query message is used to request to query the execution result information, and the execution result information received by the intention execution network element is carried in the In response to the Operation Execution Status Query message, the Operation Execution Status Query Response message.
  • the intended execution network element determines whether the first operation is executed successfully according to the first indication information and the execution result information.
  • the intention-performing network element may perform S312.
  • the intent-to-execute network element sends a second operation to the second network element.
  • the intended execution network element sends an operation execution request message corresponding to the second operation to the second network element, where the operation execution request message includes information corresponding to the second operation, where the information corresponding to the second operation may include Operation ID (operationID) and operation instruction (instruction).
  • operationID Operation ID
  • operation instruction instruction
  • the intention execution network element may also receive the execution result information of the second operation from the second network element, the intention execution request message may also include the first indication information of the second operation, and the intention execution network element may also receive the execution result information of the second operation according to the second operation The first indication information and the execution result information determine whether the second operation is executed successfully. If the operation corresponding to the first intention also has a third operation that needs to be performed by the intention management network element, and the execution sequence of the third operation is after the second operation, Then the intent execution network element may also send the third operation to the intent management network element after determining that the second operation is executed successfully.
  • the implementation method is similar to that described above for the first operation. The application does not impose any limitation on the number of operations corresponding to the first intent.
  • the intention execution network element sends an operation execution progress notification message to the intention management network element.
  • the operation execution progress notification message may include the identifier of the first intent and progress information.
  • the progress information refer to the relevant description in the method 200, and for simplicity, details are not repeated here.
  • the intended execution network element can monitor the progress of the operation execution according to the cycle or frequency, and according to the cycle or frequency The frequency sends the operation execution progress notification message to the intent management network element.
  • the intended management network element may forward the operation execution progress notification message to the intended consumption network element.
  • the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Execution not in order causes the intended operation to fail or not achieve the desired effect.
  • FIG. 4 shows a schematic flowchart of an example of an intent execution method 400 provided by the present application.
  • the intention execution network element receives execution result information of the first operation of the first intention from the first network element.
  • the execution result information is used to determine whether the execution of the first operation is abnormal.
  • the abnormality in the execution of the first operation may refer to any of the following situations: the execution of the first operation fails, the execution of the first operation times out, the execution result of the first operation does not achieve the predetermined effect, or other causes the first intention to fail to achieve the predetermined The situation of the intended target.
  • the execution result information may include an indication of whether the execution of the first operation is abnormal.
  • the intention execution network element determines whether the execution of the first operation is abnormal according to the execution result information.
  • the execution result information includes a field indicating whether the execution of the first operation is abnormal, and the intended execution network element determines whether the execution of the first operation is abnormal according to this field. For example, when the field is 1, it means that the execution of the first operation occurs Abnormal, when this field is 0, it means that the execution of the first operation has no abnormality.
  • the execution result information may be related parameters of the system after the first network element executes the first operation, and may also be the execution status of the first operation, for example, the execution status indicates that the How many instructions were executed.
  • the execution result information does not indicate whether the execution of the first operation is abnormal, then step S403 needs to be performed before performing step S402. It is determined whether the execution of the first operation is abnormal.
  • the intent execution network element receives second indication information from the intent knowledge base.
  • the second indication information is used to instruct the schematic execution network element to determine whether the execution of the first operation is abnormal.
  • the second indication information may be stored in the intent knowledge base during the process of initializing and updating the intent knowledge base.
  • the second indication information may be carried in the description information of the first operation.
  • the second indication information may include a judgment criterion for determining whether the execution of the first operation is abnormal.
  • the network element intending to execute determines whether the execution of the first operation is abnormal according to the execution result information and the judgment criterion.
  • the judgment criterion indicates that when a certain parameter reaches a predetermined range, the execution of the first operation is judged to be abnormal.
  • the judgment criterion indicates that if the execution result of the first operation does not reach the predetermined result, it means that the execution of the first operation is abnormal.
  • the intended execution network element may determine the execution of the first operation Abnormal.
  • the abnormality judgment criterion may implicitly indicate that the intention execution network element can determine whether the execution of the first operation is abnormal, in other words, the intention execution network element may receive the judgment criterion from the intention knowledge base, and the intention execution network element By default, it is necessary to determine whether the execution of the first operation is abnormal according to the judgment criterion.
  • the second indication information may include a judging criterion for determining whether the execution of the first operation is abnormal, and an action intended to be performed by the network element to determine whether the execution of the first operation is abnormal.
  • the judging action indicates that the schematic execution network element needs to send a query message to the first network element to acquire the execution result information of the first operation.
  • the intention execution network element can determine whether it is necessary to determine whether the execution of the first operation is abnormal according to the second instruction information, and execute the indicated judgment action to obtain the relevant execution result information after the first operation is executed, and then according to the abnormal judgment criterion and the execution result Information to determine whether execution of the first operation occurred successfully.
  • the intention execution network element sends a query message to the first network element according to the judgment action, and the first network element queries the first operation according to the query message.
  • the execution result information of the operation and return the response message of the query message to the intended execution network element, the response message carries the execution result information of the first operation, and the intended execution network element determines whether the execution of the first operation is based on the execution result information and the judgment criterion Abnormal.
  • the query message may request the first network element to return specific parameters required by the judgment criterion, or may request the first network element to return all relevant parameters of the system after performing the first operation, which is not particularly limited in this application.
  • the method for determining whether the execution of the first operation is abnormal by the intended execution network element is described above. It should be understood that the method for the intended execution network element to determine whether the execution of other operations is abnormal is similar to the description of judging the first operation. For simplicity, I won't repeat them here.
  • the intended execution network element determines that the execution of the first operation is abnormal, the intended execution network element sends rollback indication information to the second network element.
  • the rollback instruction information is used to indicate rollback of the second operation of the first intention.
  • the first operation may include multiple operation instructions, and may be completely executed by the first network element (for example, network device #1); the second operation may also include multiple operation instructions, and may be completely executed by the second network element (for example, network device #1).
  • Device #2 is fully implemented.
  • the second operation may be a preorder operation of the first operation, or the second operation may be a parallel operation of the first operation, or in other words, the second operation may be when the network element intending to execute determines that the execution of the first operation is abnormal, The second network element has successfully performed or is currently performing an operation.
  • the first operation of the first intent and the second operation of the first intent may be one or more sub-operations of the intent operation corresponding to the first intent.
  • the intent operation corresponding to the first intent includes three sub-operations, namely: a first sub-operation, a second sub-operation, and a third sub-operation.
  • the execution object of the first sub-operation is the first network element
  • the execution object of the second sub-operation and the third sub-operation is the second network element.
  • the first operation in this embodiment of the present application may be the first sub-operation
  • the second operation may be a combination operation of the second sub-operation and the third sub-operation.
  • the intention execution network element determines that the execution of the first operation is abnormal, other network elements have successfully executed or are executing the operation, the intention execution network element can also report to other network elements
  • the unit sends the rollback instruction information used to indicate rollback of the operation.
  • the intended target of the first intention is cell relocation as an example.
  • the first intent has four actions which are:
  • the first operation delete the neighbor relationship with cell A, which is performed by the first network element;
  • the second operation deactivating cell A and deleting cell A, performed by the second network element;
  • the third operation creating a new cell A, and activating the cell A, performed by the third network element;
  • the fourth operation restore the neighbor relationship with cell A, which is performed by the first network element.
  • the intended execution network element sends the rollback indication information for rolling back the second operation to the second network element, and sends the rollback indication information to the first network element The element sends rollback indication information for rolling back the first operation.
  • Rolling back the second operation may be understood as restoring the system to a state before the second operation is performed.
  • the intention execution network element determines that the execution of the first operation is abnormal, other network elements have successfully executed or are executing the operation, the intention execution network element can also report to other network elements
  • the unit sends rollback indication information for indicating rollback of the operation. For example, if the intention management network element has successfully performed the third operation of the first intention or is currently performing the third operation, the intention execution network element may also send indication information indicating to roll back the third operation to the intention management network element.
  • the intent execution network element may send the rollback indication information in a reverse order of the sending order of sending multiple operations.
  • the second network element rolls back the second operation according to the rollback instruction information.
  • the manner of rolling back the second operation may be determined based on whether the second network element has the capability of rolling back the operation.
  • the second network element may call its own operation rollback capability to roll back the second operation after receiving the rollback instruction information.
  • the rollback indication information sent by the network element intended to execute can also be used to indicate the way the second network element rolls back the second operation.
  • the method 400 also includes step S406 .
  • the intent execution network element receives fallback solution information from the intent knowledge base.
  • the fallback scheme information is used to indicate the fallback mode of the second operation, and the fallback indication information sent by the intended network element is also used to indicate the fallback mode of the second operation.
  • the fallback indication information may be the fallback mode of the second operation, or in other words, the intention execution network element may send the fallback mode of the second operation to the second network element, and the fallback mode of the second operation is implicitly indicates that the second network element needs to roll back the second operation.
  • the fallback scheme information may be stored in the intent knowledge base during the initialization and update process of the intent knowledge base.
  • the fallback scheme information may be carried in the description information of the corresponding second operation.
  • the rollback solution information describes rollback modes corresponding to different second operations in different abnormal situations, and in this case, the method 400 further includes step S407.
  • the intended execution network element determines a fallback mode of the second operation according to the execution result information and the fallback scheme information.
  • the rollback plan information includes the mapping relationship between abnormal conditions and rollback methods. Different abnormal conditions correspond to different labels.
  • the execution result information may include labels corresponding to abnormal conditions that occur when executing the first operation.
  • the element indexes to the fallback mode of the second operation corresponding to the abnormal condition according to the label, and sends the fallback mode of the second operation to the second network element.
  • the fallback scheme information includes the mapping relationship between the abnormal situation and the fallback mode
  • the execution result information includes the relevant parameters after the first operation is executed, and the intended execution network element judges which abnormal situation it belongs to according to the relevant parameters, Further, the fallback mode of the second operation is determined, and the fallback mode of the second operation is sent to the second network element.
  • the intention execution network element may first ask the intention consumption network element whether the second operation needs to be rolled back, and when the intention consumption network element When the feedback needs to roll back the second operation, the intention execution network element sends the rollback indication information to the second network element.
  • the method further includes step S408, which may be executed between step S403 and step S404, wherein, in step S403, the network element intending to execute determines that the execution of the first operation is abnormal.
  • the intention execution network element sends an intention operation rollback request message to the intention management network element.
  • the intended operation rollback request message is used to indicate whether the second network element needs to roll back the second operation.
  • the intent operation rollback request message may include at least one of the following information: identification information including the first intent, relevant information indicating that an exception occurs in the execution of the first operation, and a rollback mode of the second operation.
  • the intended consumption network element receives the intended operation rollback request message, and may determine whether to roll back the second operation according to the current system running status or the abnormality of the first operation.
  • the intent management network element sends an intent operation rollback response message in response to the intent operation rollback request message to the intent execution network element, where the intent operation rollback response message is used to indicate whether the second operation needs to be rolled back.
  • the intended execution network element does not need to send rollback instruction information to the second network element.
  • step S404 may be performed, and the intention execution network element sends rollback instruction information to the second network element.
  • the intention translation network element carries expected processing type indication information in the intention execution request message sent to the intention execution network element, and the expected processing type indication information is used to indicate that the intention execution network element determines the first operation In the case of abnormal execution, whether it is necessary to ask the intended consumption network element whether the second operation needs to be rolled back, if the processing type indication information indicates that it is not necessary to ask the intended consumption network element whether the second operation needs to be rolled back, then the intended execution The network element may directly send the rollback indication information to the second network element, and if the processing type indication information indicates that it is necessary to inquire whether the intended consumption network element needs to roll back the second operation, the intended execution network element needs to perform step S408.
  • the intention execution network element may receive progress indication information from the intention translation network element.
  • the progress indication information is used to indicate that the schematic execution network element needs to feed back progress information, and the progress information is used to indicate the execution progress of the first operation and the second operation.
  • the progress information is used to indicate the executed percentages of the first operation and the second operation, the estimated remaining time until completion, or the number of completed operation instructions, etc., which are not particularly limited in the present application.
  • the progress indication information may be carried in the intent execution message sent by the intent translation network element for requesting the execution of the first intent. For example, if the intention consumption network element wishes to obtain the execution progress of the operation, the intention consumption network element may carry the progress indication information in the intention implementation request message sent to the intention management network element, and the intention management network element sends the intention translation network element The progress indication information is carried in the intention translation message, and then the intention translation network element may carry the progress indication information in the intention execution message sent to the intention execution network element.
  • the progress indication information may also be used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
  • the progress indication information can also be used to indicate the trigger condition that the plan execution network element needs to feed back the progress information.
  • the progress indication information can indicate that when a certain parameter of the current system reaches the predetermined trigger condition, the intention execution network element needs to feedback The current execution progress of the first operation and the second operation.
  • the intention execution network element sends the progress information to the intention management network element according to the progress indication information.
  • the intention management network element may send the progress information to the intended consumption network element.
  • the intention execution network element may determine the progress information according to the execution result information returned by the first network element and/or the second network element, and return the progress information to the intention management network Yuan.
  • the intention execution network element may also send a query message to the first network element and/or the second network element to obtain the progress information according to the progress indication information.
  • the intention execution network element may also send the progress information to the intention management network element according to the period and frequency.
  • step S401 there are two ways for the intent execution network element to receive the second indication information from the intent knowledge base.
  • the intent translation network element receives the intent translation sent by the intent management network element After the message, according to the identification information of the first intent and the intent expression of the first intent in the intent translation message, the intent knowledge query message is sent to the knowledge management network element, and the knowledge management network element performs the query in the intent knowledge base according to the intent knowledge query message.
  • the intention translation network element can execute the intention expression and/or the operation identifier (the first operation) in the intention execution request message according to the intention and/or the identification of the second operation) sends an intention operation query message to the knowledge management network element, and the knowledge management network element performs a query in the intention knowledge base according to the operation query message, and sends an intention operation feedback message to the intention execution network element, and then
  • the intention operation feedback message carries the second indication information.
  • the intention execution network element receives the second indication information from the intention knowledge base, the second indication information may be received from the intention knowledge base by other network elements initiating a query, and then forwarded to the intention execution network element, the second indication information It may also be received from the intent knowledge base by initiating a query by the intent execution network element itself.
  • FIG. 5 shows a schematic flowchart of another example of an intent execution method 500 provided by the present application.
  • the intention consumption network element sends an intention implementation request message to the intention management network element.
  • the intent implementation request message is used to request execution of the first intent, and the intent implementation request message may include an intent expression (intentExpression) of the first intent.
  • the intent implementation request message further includes progress indication information (progressNotify).
  • progress indication information provisionNotify
  • progressNotify For a description of the progress indication information, refer to the description of the progress indication information in method 400. For simplicity, details are not repeated here.
  • the intention management network element sends an intention implementation request response message for responding to the intention implementation request message to the intention consumption network element.
  • the intent implementation request response message may include an identifier (intentID) of the first intent, and may also include an intent expression of the first intent.
  • intentID an identifier of the first intent
  • the intent management network element assigns the identifier of the first intent to the first intent, and carries the identifier in the intent implementation request response message and sends it to the intent consumption network element.
  • the intent management network element sends an intent translation request message to the intent translation network element.
  • the intent translation request message is used to request the intent translation network element to translate the first intent.
  • the intent translation request message may include an identifier of the first intent and an intent expression, and if progress indication information is included in the intent implementation request message, the intent translation message also includes the progress indication information.
  • the intent translation network element sends an intent knowledge query message to the intent knowledge base.
  • the intent knowledge query message may include an identifier of the first intent, an intent expression, and a query type.
  • the intent knowledge base acquires a query result.
  • the intent knowledge base obtains the query result according to the intent query message.
  • the intent knowledge base can be understood as a sub-module of the knowledge management network element.
  • the relevant information of the first intent such as the second instruction information, rollback solution list, etc.
  • the knowledge management network element can query the intent knowledge base according to the intent knowledge query message.
  • the second indication information may include exception judgment information (exception indication).
  • the intent knowledge base acquires an intent operation list (intentOperationList) of the first intent, and the intent operation list includes a description of the first operation and a description of the second operation. It should be understood that if the first intent has other operations, the intent operation list also includes descriptions of other operations.
  • the description information of the first operation may include one or more of the following information: the operation instruction (instruction) of the first operation, the operation execution object (entityIDList) of the first operation , the second indication information of the first operation and the rollback solution information (rollbacksolutionlist).
  • the operation instruction is used to describe the specific command to perform the first operation
  • the operation execution object is used to describe the first network element that needs to perform the first operation.
  • the intended operation list may also include execution condition (executioncondition) information, which is used to describe the conditions that need to be met for executing the first operation and the second operation, for example, the first operation may be executed when the network load is no-load or low-load operation and/or a second operation.
  • executioncondition executioncondition
  • the intent operation list may also include dependent event (events) information, and the dependent event information is used to describe the impact that the execution of the first intent may have on the system.
  • dependent event events
  • the intent knowledge feedback message may also include an intent goal fulfillment criterion (fulfillmentCriterion), which can be used to indicate
  • intent goal fulfillment criterion fullCriterion
  • the achievement condition of the first intention for example, the intention goal achievement criterion may include an intention goal calculation formula to measure whether the intention goal is achieved.
  • the intent translation network element receives an intent knowledge feedback message from the intent knowledge base.
  • the intent knowledge feedback message includes query results obtained from the intent knowledge base.
  • the intent knowledge feedback message may also include an identifier (intentID) of the first intent.
  • intentID an identifier
  • the intent translation network element sends the second indication information to the intent execution network element.
  • the second indication information is used to instruct the schematic execution network element to determine whether the execution of the first operation is abnormal.
  • the intent translation network element sends an intent execution request message to the intent execution network element, where the intent execution request message includes the second indication information.
  • the intent translation request message may also include the identifier of the first intent, and the intent operation list and intent goal achievement criteria obtained by the intent translation network element from the intent knowledge feedback message.
  • the set of intended operations further includes progress indication information.
  • the intent execution network element may determine to execute the first operation and the second operation according to a predetermined decision algorithm.
  • the intent-to-execute network element sends the first operation to the first network element.
  • the intended execution network element sends an operation execution request message corresponding to the first operation to the first network element, and the operation execution request message includes information corresponding to the first operation, where the information corresponding to the first operation may include Operation ID (operationID) and operation instruction (instruction).
  • operationID Operation ID
  • operation instruction instruction
  • the first network element may execute the first operation according to the information corresponding to the first operation.
  • the intent-to-execute network element sends the second operation to the second network element.
  • the intended execution network element sends an operation execution request message corresponding to the second operation to the second network element, where the operation execution request message includes information corresponding to the second operation, where the information corresponding to the second operation may include Operation ID (operationID) and operation instruction (instruction).
  • operationID Operation ID
  • operation instruction instruction
  • the second network element may execute the second operation according to the information corresponding to the second operation.
  • the intention execution network element receives execution result information of the first operation of the first intention from the first network element.
  • the execution result information is used to determine whether the execution of the first operation is abnormal.
  • the intended execution network element receives an operation execution response message from the first network element in response to the operation execution request message, the operation execution response message includes the execution result information of the first operation, and the operation execution response message may also include the first operation Action ID.
  • the second indication information is also used to refer to the execution network element to determine whether the execution of the first operation is abnormal, and the judgment action indicates that the execution network element needs to query the execution result of the first operation from the first network element information.
  • the intention execution network element may send an operation execution status query message to the first network element, and the operation execution status query message is used to request to query the execution result information, and the execution result information received by the intention execution network element is carried in the In response to the Operation Execution Status Query message, the Operation Execution Status Query Response message.
  • the intention execution network element determines whether the execution of the first operation is abnormal according to the second indication information and the execution result information.
  • the intention execution network element may also receive the execution result information of the second operation from the second network element, the intention execution request message may also include the second indication information of the second operation, and the intention execution network element may also receive the execution result information of the second operation according to the second operation
  • the second indication information and the execution result information determine whether the execution of the second operation is abnormal.
  • the implementation method is similar to that described above for the first operation. For the sake of simplicity, it will not be repeated here.
  • the present application does not set any limitation on the number of operations corresponding to the first intent.
  • no limitation is made on the execution order of the first operation and the second operation.
  • the execution network element determines that the execution of the first operation is abnormal, the second operation is performed successfully or is being executed. example.
  • the expected processing type indication information is used to indicate whether the intended execution network element needs to Inquiring whether the intended consumption network element needs to roll back the second operation, if the processing type indication information indicates that it is necessary to ask the intended consumption network element whether the second operation needs to be rolled back, then execute steps S512 to S513.
  • the intent execution network element determines that the execution of the first operation is abnormal, the intent execution network element sends an intent operation rollback request message to the intent management network element.
  • the intended operation rollback request message is used to indicate whether the second network element needs to roll back the second operation.
  • the description of the intention operation rollback request message is similar to the description of the intention operation rollback request message in method 400, and for simplicity, details are not repeated here.
  • the intent management network element sends an intent operation rollback response message in response to the intent operation rollback request message to the intent execution network element, where the intent operation rollback response message is used to indicate whether the second operation needs to be rolled back.
  • the description of the intended operation rollback response message is similar to the description of the intention operation rollback response message in method 400 , and will not be repeated here for simplicity.
  • the intention execution network element sends fallback instruction information to the second network element.
  • the intended execution network element determines that the execution of the first operation is abnormal, or when the intended operation rollback response message is used to indicate that the second operation needs to be rolled back, the intended execution network element sends the rollback indication information to the second network element .
  • the rollback instruction information is used to indicate rollback of the second operation of the first intention.
  • the description of the rollback indication information is similar to the description of the rollback indication information in method 400, and for simplicity, details are not repeated here.
  • the second network element rolls back the second operation according to the rollback instruction information.
  • the description about the rollback of the second operation by the second network element is similar to the description in method 400, and for simplicity, details are not repeated here.
  • step S516 If progress indication information is also included in the intention execution request message, the method further includes step S516.
  • the intention execution network element sends an operation execution progress notification message to the intention management network element.
  • the operation execution progress notification message may include the identifier of the first intent and progress information.
  • the progress information refer to the relevant description in method 400 , and details are not repeated here for simplicity.
  • the intended execution network element can monitor the progress of the operation execution according to the cycle or frequency, and according to the cycle or frequency The frequency sends the operation execution progress notification message to the intent management network element.
  • the intended management network element may forward the operation execution progress notification message to the intended consumption network element.
  • the intent translation network element will send an intent knowledge query message to the intent knowledge base to query relevant information about the intent, and the intent execution request message sent to the intent execution network element Carry the relevant information of the intention.
  • the intention execution request message may only carry the information required in the intention decision-making process. If the intention execution network element needs to perform other processes, such as judging whether the operation is executed successfully, judging the operation Whether there is an exception and determine the sequence of executing multiple operations, etc., the intent execution network element can query the knowledge management module as needed.
  • Fig. 6 shows a schematic flowchart of an example of a method 600 intended to perform network element query information.
  • the intent execution network element sends an intent operation query message to the intent knowledge base.
  • the intent-operation query message is used to query the first intent, or the first operation of the first intent.
  • the intent operation query message includes at least one of the following information: an identifier of the first operation, an expression of the first intent, and a query type.
  • the intent knowledge base includes a mapping relationship between query types, query input information, and query output information, where the query input information can refer to the information that needs to be input for the query type, and the query output information can refer to the output information that the query type will output.
  • the intent execution network element determines the query type as required, and carries the required query input in the intent operation query message.
  • Table 1 shows a mapping relationship among query types, query input information, and query output information.
  • type1/all intent expression intent goal achievement criterion fullCriterion
  • execution condition executioncondition
  • dependent events events
  • operation execution object entityIDList
  • operation instruction instruction
  • execution sequence information stepInfo
  • first instruction information for example, successindication
  • second indication information for example, exceptionindication
  • rollback scheme information rollbacksolutionlist
  • type2 intent expression execution condition (executioncondition), dependent events (events), operation execution object (entityIDList);
  • type3 operation identification operation execution object entityIDList
  • operation instruction instruction
  • execution sequence information stepInfo
  • first indication information for example, success indication
  • second indication information for example, exception indication
  • type4 operation identification operation execution object entityIDList
  • operation instruction instruction
  • execution sequence information stepInfo
  • first indication information for example, successindication
  • second indication information for example, exceptionindication
  • rollback scheme information rollbacksolutionlist
  • rollbacksolutionlist type5 operation identifier rollback solution information
  • the intent knowledge base acquires a query result.
  • the intent knowledge base queries the corresponding query result according to the query type and query input information in the intent operation query message.
  • the intention knowledge base sends an intention operation feedback message in response to the intention operation query message to the intention execution network element.
  • the intended operation feedback message includes an identifier of the first operation and a query result obtained by querying.
  • the intent execution network element can query the intent knowledge base for required information as needed, avoiding carrying unnecessary information in the intent translation request message, thereby increasing the flexibility of the system for processing intents.
  • 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 implement the functions of the intention execution network element, the intention knowledge base, the first network element, and the second network element in the above method embodiments, and thus can also realize the beneficial effects of the above method embodiments.
  • the communication device may be an intention-executing network element, an intention knowledge base, a first network element, or a second network element, or it may be an intention-executing network element, an intention knowledge base, or a , a module (such as a chip) in the second network element.
  • a communication device 700 includes a processing unit 710 and a transceiver unit 720 .
  • the communication device 700 is configured to implement the functions of the intent execution network element, the intent knowledge base, the first network element, and the second network element in the above method embodiment shown in FIG. 2 .
  • the communication device 700 may include a module for implementing any function or operation of the intention execution network element, the intention knowledge base, the first network element, and the second network element in the method embodiment shown in FIG. 2 above, the module It can be fully or partially realized by software, hardware, firmware or any combination thereof.
  • the processing unit 710 is configured to determine, according to the execution order information, that the network element intending to execute sends the first operation to the first network element and that the network element intending to execute sends the second operation to the second network element the sending order;
  • the transceiver unit 910 is further configured to send the first operation to the first network element and send the second operation to the second network element according to the sending order.
  • the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
  • the transceiver unit 720 is also used to receive the execution result information of the first operation from the first network element; Unit 710 is further configured to determine whether the first operation is executed successfully according to the execution result information.
  • the intent execution network element can receive the execution result information of the operation, and judge whether the operation is successfully executed according to the execution result information, so as to monitor the execution status of the operation and improve the reliability of the system execution intent.
  • the communication device 700 when used to implement the function of the intention execution network element in the method embodiment shown in FIG.
  • the execution network element determines whether the first operation is executed successfully in the instruction scheme.
  • the intention execution network element can obtain the first indication information from the intention knowledge base, and determine whether the operation is successfully executed according to the first indication information, so as to improve the reliability of the system for executing the intention.
  • the transceiver unit 720 is specifically configured to send the first operation to the first network element. If the execution is successful, the second operation is sent to the second network element.
  • the intent-executing network element can issue subsequent operations after determining that the pre-order operations are executed successfully, so as to avoid performing subsequent operations because the pre-order operations have not been successfully executed, resulting in operation failure or execution effect poor.
  • the transceiver unit 720 is also used to receive progress indication information, which is used to indicate that the device needs to feedback progress Information, the progress information is used to indicate the execution progress of the first operation and the second operation.
  • the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
  • the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
  • the communication device 700 when used to realize the function of the intent knowledge base in the method embodiment shown in FIG. for determining whether the first operation is performed successfully.
  • the transceiver unit 720 is used to receive the first operation; the processing unit 710 is used to execute the first operation.
  • the communication device 700 when the communication device 700 is used to realize the function of the first network element in the method embodiment shown in FIG. It is determined whether the first operation was performed successfully.
  • the transceiver unit 910 is used to receive the second operation; the processing unit 710 is used to execute the second operation.
  • processing unit 710 and the transceiver unit 720 can be directly obtained by referring to the relevant descriptions in the method embodiment shown in FIG. 2 , and will not be repeated here.
  • a communication device 700 includes a processing unit 710 and a transceiver unit 720 .
  • the communication device 700 is configured to implement the functions of the intent execution network element, the intent knowledge base, the first network element, and the second network element in the above method embodiment shown in FIG. 2 .
  • the communication device 700 may include a module for implementing any function or operation of the intention execution network element, the intention knowledge base, the first network element, and the second network element in the method embodiment shown in FIG. 4 above, the module It can be fully or partially realized by software, hardware, firmware or any combination thereof.
  • the transceiver unit 720 is configured to receive the execution result information of the first operation of the first intention from the first network element; It is configured to determine that the execution of the first operation is abnormal according to the execution result information; the transceiving unit 720 is further configured to send rollback indication information to the second network element, where the rollback indication information is used to indicate rollback of the second operation with the first intention.
  • the communication device 700 when used to implement the function of the intention execution network element in the method embodiment shown in FIG.
  • the execution network element of the instruction map determines that the execution of the first operation is abnormal.
  • the communication device 700 when used to implement the function intended to execute the network element in the method embodiment shown in FIG. back way.
  • the intent execution network element can indicate the rollback mode of the rollback operation to the network element that performs the operation, so as to prevent the network element that does not have the rollback capability from being unable to roll back the operation successfully, and improves the reliability of the system to execute the intent .
  • the transceiver unit 720 is specifically configured to send the first operation to the first network element. If the execution is successful, the second operation is sent to the second network element.
  • the transceiver unit 720 is also used to receive progress indication information, which is used to indicate that the device needs to feedback progress
  • the progress information is used to indicate the execution progress of the first operation and the second operation, and is also used to send the progress information according to the progress indication information.
  • the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
  • the communication device 700 is used to realize the function of the intent knowledge base in the method embodiment shown in FIG. Used to determine the fallback mode of the second operation.
  • the transceiving unit 720 is used to send execution result information of the first operation of the first intent.
  • the processing unit 710 is configured to roll back the second operation.
  • processing unit 710 and the transceiver unit 720 can be directly obtained by referring to the related descriptions in the method embodiment shown in FIG. 3 , and will not be repeated here.
  • the communication device 800 includes a processor 810 and an interface circuit 820 .
  • the processor 810 and the interface circuit 820 are coupled to each other.
  • the interface circuit 820 may be a transceiver or an input/output interface.
  • the communication device 800 may further include a memory 830 for storing instructions executed by the processor 810 or storing input data required by the processor 810 to execute the instructions or storing data generated after the processor 810 executes the instructions.
  • the processor 810 is used to implement the functions of the above-mentioned processing unit 1010
  • the interface circuit 820 is used to implement the functions of the above-mentioned transceiver unit 1020 .
  • the communication device 800 When the communication device 800 is used to implement the method shown in FIG. 2 or FIG. 4 , the communication device 800 includes a processor 810 and an interface circuit 820 .
  • the processor 810 and the interface circuit 820 are coupled to each other.
  • the interface circuit 820 may be a transceiver or an input/output interface.
  • the communication device 800 may further include a memory 830 for storing instructions executed by the processor 810, or storing input data required by the processor 810 to execute the instructions, or storing data generated by the processor 810 after executing the instructions.
  • the processor 810 is used to implement the functions of the processing unit 710
  • the interface circuit 820 is used to implement the functions of the transceiver unit 720 .
  • the chip of the network element intended to execute implements the function of the network element intended to execute in the above method embodiment.
  • the intention execution network element chip receives information from other modules (such as radio frequency modules or antennas) in the intention execution network element, and the information is sent to the intention execution network element by the intention knowledge base;
  • Other modules in the network element such as a radio frequency module or an antenna
  • send information and the information is intended to be sent by the network element to the first network element or the second network element.
  • the intent knowledge base chip When the communication device is a chip applied to an intent knowledge base, the intent knowledge base chip implements the functions of the intent knowledge base in the foregoing method embodiments.
  • the intention knowledge base chip receives information from other modules (such as radio frequency modules or antennas) in the intention knowledge base, and the information is sent to the intention knowledge base by the intention execution network element; or, the intention knowledge base chip sends information to the intention knowledge base Other modules (such as radio frequency modules or antennas) send information, which is sent from the intent knowledge base to the intent execution 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

The present application provides an intention execution method. The method comprises: an intention execution network element receives execution sequence information from an intention knowledge base, the execution sequence information being used for indicating the sequence of executing a first operation of a first intention and a second operation of the first intention; the intention execution network element determines, according to the execution sequence information, a sending sequence of the intention execution network element sending the first operation to a first network element and the intention execution network element sending the second operation to a second network element; the intention execution network element sends the first operation to the first network element and sends the second operation to the second network element according to the sending sequence. The situation that the intention operation execution fails or does not achieve an expected effect due to the fact that execution is not performed in sequence is avoided, and the reliability of a system executing intentions is improved.

Description

一种意图执行的方法和装置A method and device for intent execution
本申请要求于2021年10月30日提交中国国家知识产权局、申请号为202111278495.0、申请名称为“一种意图执行的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202111278495.0 and titled "A Method and Apparatus Intended to Perform" filed with the State Intellectual Property Office of China on October 30, 2021, the entire contents of which are incorporated by reference at In this application.
技术领域technical field
本申请涉及通信技术的领域,并且更具体地,涉及一种意图执行的方法和装置。The present application relates to the field of communication technology, and more particularly, to a method and apparatus intended to be implemented.
背景技术Background technique
目前,在用户进行自动化工作时,可以采用认知网络管理系统。认知网络管理系统支持对意图进行处理,其中,意图是指对作用系统的期望。为了达成意图,需要多个网络设备分别执行意图的多个操作,例如,多个网络设备分别执行意图操作中的多个子操作。每个网络设备执行操作成功与否都会对意图执行后的效果造成影响。然而,目前针对意图操作进行管理的机制,并没有考虑到多个操作之间的配合管理,导致意图达成的成功率和效果都较低,因此,亟需一种意图执行的方法,可以提高系统执行意图的可靠性。Cognitive network management systems are currently available as users automate work. Cognitive network management systems support the processing of intent, where intent is the expectation of an acting system. In order to achieve the intention, multiple network devices need to respectively perform multiple intended operations, for example, multiple network devices respectively perform multiple sub-operations in the intended operation. Whether each network device performs an operation successfully or not will affect the effect of the intention after execution. However, the current management mechanism for intention operations does not take into account the cooperative management between multiple operations, resulting in low success rate and effect of intention achievement. Therefore, there is an urgent need for an intention execution method that can improve the system Reliability of carrying out intentions.
发明内容Contents of the invention
本申请提供一种意图执行的方法和装置,能够提高系统执行意图的可靠性。The present application provides an intent execution method and device, which can improve the reliability of the intent execution system.
第一方面,提供了一种意图执行的方法,该方法可以由意图执行网元或意图执行网元中的芯片执行,该方法包括:意图执行网元从意图知识库接收执行顺序信息,执行顺序信息用于指示执行第一意图的第一操作和第一意图的第二操作的顺序;意图执行网元根据执行顺序信息确定意图执行网元向第一网元发送第一操作和意图执行网元向第二网元发送第二操作的发送顺序;意图执行网元根据发送顺序向第一网元发送第一操作和向第二网元发送第二操作。In the first aspect, there is provided an intent execution method, the method may be executed by an intent execution network element or a chip in the intent execution network element, the method includes: the intent execution network element receives execution sequence information from the intent knowledge base, the execution sequence The information is used to indicate the order of executing the first operation of the first intention and the second operation of the first intention; the intention execution network element determines the intention execution network element to send the first operation and the intention execution network element to the first network element according to the execution sequence information The sending order of sending the second operation to the second network element; the intention execution network element sends the first operation to the first network element and sends the second operation to the second network element according to the sending order.
从而,在本申请中,意图执行网元可以根据执行多个操作的顺序确定发送多个操作的发送顺序,使得多个操作可以按照顺序进行执行,使得多个操作之间可以相互配合,避免因未按照顺序执行导致意图操作执行失败或是未达到预期的效果,提高了系统执行意图的可靠性。Therefore, in this application, the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
结合第一方面,在第一方面的某些实现方式中,方法还包括:意图执行网元从第一网元接收第一操作的执行结果信息;意图执行网元根据执行结果信息确定第一操作是否执行成功。With reference to the first aspect, in some implementations of the first aspect, the method further includes: the network element intending to execute receives the execution result information of the first operation from the first network element; the network element intending to execute determines the first operation according to the execution result information Whether the execution is successful.
从而,在本申请中,意图执行网元可以收到操作的执行结果信息,并根据该执行结果信息判断该操作是否执行成功,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the intent execution network element can receive the execution result information of the operation, and judge whether the operation is successfully executed according to the execution result information, so as to monitor the execution status of the operation and improve the reliability of the system execution intent.
结合第一方面,在第一方面的某些实现方式中,方法还包括:意图执行网元从意图知识库接收第一指示信息,第一指示信息用于指示意图执行网元确定第一操作是否执行成功。With reference to the first aspect, in some implementations of the first aspect, the method further includes: the intention execution network element receives first indication information from the intention knowledge base, and the first indication information is used to instruct the intention execution network element to determine whether the first operation execution succeed.
从而,在本申请中,意图执行网元可以从意图知识库中获取第一指示信息,根据第一指示信息确定该操作是否执行成功,提高系统执行意图的可靠性。Therefore, in this application, the intention execution network element can obtain the first indication information from the intention knowledge base, and determine whether the operation is successfully executed according to the first indication information, so as to improve the reliability of the system for executing the intention.
结合第一方面,在第一方面的某些实现方式中,意图执行网元根据发送顺序向第一网元发送第一操作和向第二网元发送第二操作,包括:意图执行网元向第一网元发送第一操作,在意图执行网元确定第一操作执行成功的情况下,意图执行网元向第二网元发送第二操作。With reference to the first aspect, in some implementation manners of the first aspect, sending the first operation to the first network element and sending the second operation to the second network element by the network element intending to execute according to the sending order includes: sending the operation to the second network element by the network element intended to execute The first network element sends the first operation, and in the case that the intended execution network element determines that the first operation is executed successfully, the intended execution network element sends the second operation to the second network element.
从而,在本申请中,意图执行网元可以在确定前序操作执行成功的情况下,再下发后续操作,避免因为前序操作还未执行成功,就执行后续操作,导致操作失败或执行效果较差。Therefore, in this application, the intent-executing network element can issue subsequent operations after determining that the pre-order operations are executed successfully, so as to avoid performing subsequent operations because the pre-order operations have not been successfully executed, resulting in operation failure or execution effect poor.
结合第一方面,在第一方面的某些实现方式中,方法还包括:意图执行网元接收进度指示信息,进度指示信息用于指示意图执行网元需要反馈进度信息,进度信息用于指示第一操作和第二操作的执行进度;意图执行网元根据进度指示信息发送进度信息。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the intention execution network element receives progress indication information, the progress indication information is used to indicate that the intention execution network element needs to feed back progress information, and the progress information is used to indicate the first The execution progress of the first operation and the second operation; the intention execution network element sends progress information according to the progress indication information.
从而,在本申请中,可以要求意图执行网元反馈操作的执行进度,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
结合第一方面,在第一方面的某些实现方式中,进度指示信息还用于指示意图执行网元需要反馈进度信息的周期或频率。With reference to the first aspect, in some implementation manners of the first aspect, the progress indication information is further used to indicate the cycle or frequency at which the schematic execution network element needs to feed back the progress information.
从而,在本申请中,可以要求意图执行网元周期性或按频率反馈操作的执行进度,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the network element intending to execute may be required to feed back the execution progress of the operation periodically or by frequency, so that the execution status of the operation can be monitored and the reliability of the system execution intent can be improved.
第二方面,提供了一种意图执行的装置,该装置包括处理单元和收发单元,收发单元,用于从意图知识库接收执行顺序信息,执行顺序信息用于指示执行第一意图的第一操作和第一意图的第二操作的顺序;处理单元,用于根据执行顺序信息确定意图执行网元向第一网元发送第一操作和意图执行网元向第二网元发送第二操作的发送顺序;收发单元,还用于根据发送顺序向第一网元发送第一操作和向第二网元发送第二操作。In a second aspect, an intention execution device is provided, the apparatus includes a processing unit and a transceiver unit, the transceiver unit is configured to receive execution sequence information from the intent knowledge base, and the execution sequence information is used to indicate the execution of the first operation of the first intent and the order of the second operation of the first intention; the processing unit is configured to determine, according to the execution sequence information, that the network element intending to execute sends the first operation to the first network element and that the network element intending to execute sends the second operation to the second network element Sequence; the transceiver unit is further configured to send the first operation to the first network element and send the second operation to the second network element according to the sending sequence.
从而,在本申请中,意图执行网元可以根据执行多个操作的顺序确定发送多个操作的发送顺序,使得多个操作可以按照顺序进行执行,使得多个操作之间可以相互配合,避免因未按照顺序执行导致意图操作执行失败或是未达到预期的效果,提高了系统执行意图的可靠性。Therefore, in this application, the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
结合第二方面,在第二方面的某些实现方式中,收发单元,还用于从第一网元接收第一操作的执行结果信息;处理单元,还用于根据执行结果信息确定第一操作是否执行成功。With reference to the second aspect, in some implementations of the second aspect, the transceiver unit is further configured to receive execution result information of the first operation from the first network element; the processing unit is further configured to determine the first operation according to the execution result information Whether the execution is successful.
结合第二方面,在第二方面的某些实现方式中,收发单元,还用于从第一网元接收第一指示信息,第一指示信息用于指示意图执行网元确定第一操作是否执行成功。With reference to the second aspect, in some implementations of the second aspect, the transceiver unit is further configured to receive first indication information from the first network element, and the first indication information is used to instruct the schematic execution network element to determine whether the first operation is performed success.
结合第二方面,在第二方面的某些实现方式中,收发单元,具体用于向第一网元发送第一操作,在确定第一操作执行成功的情况下,向第二网元发送第二操作。With reference to the second aspect, in some implementation manners of the second aspect, the transceiver unit is specifically configured to send the first operation to the first network element, and when it is determined that the first operation is successfully performed, send the second operation to the second network element. Two operations.
结合第二方面,在第二方面的某些实现方式中,收发单元,还用于接收进度指示信息,进度指示信息用于指示装置需要反馈进度信息,进度信息用于指示第一操作和第二操作的执行进度;处理单元,还用于根据进度指示信息发送进度信息。With reference to the second aspect, in some implementations of the second aspect, the transceiver unit is further configured to receive progress indication information, the progress indication information is used to indicate that the device needs to feed back progress information, and the progress information is used to indicate the first operation and the second operation. The execution progress of the operation; the processing unit is also used to send progress information according to the progress indication information.
结合第二方面,在第二方面的某些实现方式中,进度指示信息还用于指示装置需要反 馈进度信息的周期或频率。With reference to the second aspect, in some implementation manners of the second aspect, the progress indication information is also used to indicate the period or frequency at which the device needs to feed back the progress information.
第三方面,提供了一种意图执行的方法,该方法可以由意图执行网元或意图执行网元中的芯片执行,该方法包括:意图执行网元从第一网元接收第一意图的第一操作的执行结果信息;意图执行网元根据执行结果信息确定第一操作的执行出现异常;意图执行网元向第二网元发送回退指示信息,回退指示信息用于指示回退第一意图的第二操作。In a third aspect, there is provided a method for executing an intent, the method may be executed by a network element for executing the intent or a chip in the network element for executing the intent, the method includes: the network element for executing the intent receives the first intent from the first network element Execution result information of an operation; the network element intending to execute determines that the execution of the first operation is abnormal according to the execution result information; the network element intending to execute sends rollback indication information to the second network element, and the rollback indication information is used to indicate rollback of the first operation The intent's second action.
从而,在本申请中,若第一意图的某个操作的执行出现异常,可以回退第一意图的其它已经执行的操作,避免第一意图的其它操作一直处于执行中造成资源和信令的浪费,进而可以提高意图的执行效率。Therefore, in this application, if the execution of a certain operation of the first intent is abnormal, other operations that have been executed by the first intent can be rolled back, so as to avoid the resources and signaling caused by other operations of the first intent being executed all the time. Waste, which in turn can improve the execution efficiency of intentions.
结合第三方面,在第三方面的某些实现方式中,该方法还包括:意图执行网元从意图知识库接收第二指示信息,第二指示信息用于指示意图执行网元确定第一操作的执行出现异常。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the intention execution network element receives second indication information from the intention knowledge base, and the second indication information is used to instruct the intention execution network element to determine the first operation An exception occurred during execution.
结合第三方面,在第三方面的某些实现方式中,方法还包括:意图执行网元从意图知识库接收回退方案信息,回退方案信息用于指示第二操作的回退方式,回退指示信息还用于指示第二操作的回退方式。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the intent execution network element receives fallback scheme information from the intent knowledge base, where the rollback scheme information is used to indicate the rollback mode of the second operation, and returns The rollback indication information is also used to indicate a rollback mode of the second operation.
从而,在本申请中,意图执行网元可以向执行操作的网元指示回退操作的回退方式,避免不具备回退能力的网元不能成功回退操作,提高了系统执行意图的可靠性。Therefore, in this application, the intent execution network element can indicate the rollback mode of the rollback operation to the network element that performs the operation, so as to prevent the network element that does not have the rollback capability from being unable to roll back the operation successfully, and improves the reliability of the system to execute the intent .
结合第三方面,在第三方面的某些实现方式中,方法还包括:意图执行网元根据执行结果信息与回退方案信息确定第二操作的回退方式。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the intended execution network element determines the fallback mode of the second operation according to the execution result information and the fallback scheme information.
从而,在本申请中,意图执行网元确定第一操作的执行出现异常,意图执行网元可以根据执行结果信息确定该异常属于哪一种异常,并根据回退方案信息确定在该种异常情况下确定第二操作的回退方案信息确定第二操作的回退方式,提高了系统执行意图的可靠性。Therefore, in this application, when the intended execution network element determines that the execution of the first operation is abnormal, the intended execution network element can determine which type of abnormality the exception belongs to according to the execution result information, and determine that in this abnormal situation according to the fallback plan information Next, determine the rollback scheme information of the second operation to determine the rollback mode of the second operation, which improves the reliability of the system execution intention.
结合第三方面,在第三方面的某些实现方式中,方法还包括:意图执行网元接收进度指示信息,进度指示信息用于指示意图执行网元需要反馈进度信息,进度信息用于指示第一操作和第二操作的执行进度;意图执行网元根据进度指示信息发送进度信息。With reference to the third aspect, in some implementation manners of the third aspect, the method further includes: the intention execution network element receives progress indication information, the progress indication information is used to indicate that the intention execution network element needs to feed back progress information, and the progress information is used to indicate the first The execution progress of the first operation and the second operation; the intention execution network element sends progress information according to the progress indication information.
从而,在本申请中,可以要求意图执行网元反馈操作的执行进度,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
结合第三方面,在第三方面的某些实现方式中,进度指示信息还用于指示意图执行网元需要反馈进度信息的周期或频率。With reference to the third aspect, in some implementation manners of the third aspect, the progress indication information is further used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
从而,在本申请中,可以要求意图执行网元周期性或按频率反馈操作的执行进度,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the network element intending to execute may be required to feed back the execution progress of the operation periodically or by frequency, so that the execution status of the operation can be monitored and the reliability of the system execution intent can be improved.
第四方面,提供了一种意图执行的装置,该装置包括处理单元和收发单元,收发单元,用于从第一网元接收第一意图的第一操作的执行结果信息;处理单元,用于根据执行结果信息确定第一操作的执行出现异常;收发单元,还用于向第二网元发送回退指示信息,回退指示信息用于指示回退第一意图的第二操作。In a fourth aspect, there is provided a device for intention execution, the device includes a processing unit and a transceiver unit, the transceiver unit is configured to receive execution result information of a first operation of the first intent from a first network element; the processing unit is configured to According to the execution result information, it is determined that the execution of the first operation is abnormal; the transceiver unit is further configured to send rollback instruction information to the second network element, where the rollback instruction information is used to indicate the rollback of the second operation with the first intention.
从而,在本申请中,若第一意图的某个操作的执行出现异常,可以回退第一意图的其它已经执行的操作,避免第一意图的其它操作一直处于执行中造成资源和信令的浪费,进而可以提高意图的执行效率。Therefore, in this application, if the execution of a certain operation of the first intent is abnormal, other operations that have been executed by the first intent can be rolled back, so as to avoid the resources and signaling caused by other operations of the first intent being executed all the time. Waste, which in turn can improve the execution efficiency of intentions.
结合第四方面,在第四方面的某些实现方式中,收发单元还用于从意图知识库接收第二指示信息,第二指示信息用于指示意图执行网元确定第一操作的执行出现异常。With reference to the fourth aspect, in some implementations of the fourth aspect, the transceiver unit is further configured to receive second indication information from the intent knowledge base, where the second indication information is used to indicate that the execution network element determines that the execution of the first operation is abnormal .
结合第四方面,在第四方面的某些实现方式中,收发单元,还用于从意图知识库接收回退方案信息,回退方案信息用于指示第二操作的回退方式,回退指示信息还用于指示第二操作的回退方式。With reference to the fourth aspect, in some implementations of the fourth aspect, the transceiver unit is further configured to receive rollback scheme information from the intent knowledge base, the rollback scheme information is used to indicate the rollback mode of the second operation, and the rollback indication The information is also used to indicate the fallback mode of the second operation.
结合第四方面,在第四方面的某些实现方式中,处理单元,还用于根据执行结果信息与回退方案信息确定第二操作的回退方式。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the processing unit is further configured to determine a rollback mode of the second operation according to the execution result information and the rollback scheme information.
结合第四方面,在第四方面的某些实现方式中,收发单元,还用于接收进度指示信息,进度指示信息用于指示装置需要反馈进度信息,进度信息用于指示第一操作和第二操作的执行进度;收发单元,还用于根据进度指示信息发送进度信息。With reference to the fourth aspect, in some implementations of the fourth aspect, the transceiver unit is further configured to receive progress indication information, the progress indication information is used to indicate that the device needs to feed back progress information, and the progress information is used to indicate the first operation and the second operation. The execution progress of the operation; the sending and receiving unit is also configured to send progress information according to the progress indication information.
结合第四方面,在第四方面的某些实现方式中,进度指示信息还用于指示意图执行网元需要反馈进度信息的周期或频率。With reference to the fourth aspect, in some implementation manners of the fourth aspect, the progress indication information is further used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
第五方面,提供了一种通信装置,该装置可以包括处理单元、发送单元和接收单元。可选的,发送单元和接收单元还可以为收发单元。According to a fifth 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 intended to execute a 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 intent-to-execute network element executes any method of the first aspect or the third aspect. When the device is intended to execute a chip in a 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 method of the first aspect or 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 intention execution network element (for example, a read-only memory, random access memory, etc.).
第六方面,提供了一种通信装置,包括处理器和接口电路,接口电路用于接收来自该通信装置之外的其它通信装置的信号并传输至该处理器或将来自该处理器的信号发送给该通信装置之外的其它通信装置,该处理器通过逻辑电路或执行代码指令用于实现前述第一方面或第三方面的任意方法。In a sixth 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 or third aspect through a logic circuit or executing code instructions.
第七方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序或指令,当该计算机程序或指令被执行时,实现前述第一方面或第三方面中的任意方法。In a seventh 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 aspect or third aspect can be realized. method.
第八方面,提供了一种包含指令的计算机程序产品,当该指令被运行时,实现前述第一方面或第三方面的任意方法。In an eighth aspect, a computer program product containing instructions is provided, and when the instructions are executed, any method of the aforementioned first aspect or third aspect is implemented.
第九方面,提供了一种计算机程序,该计算机程序包括代码或指令,当该代码或指令被运行时,实现前述第一方面或第三方面的任意可能的实现方式中的方法。In a ninth aspect, a computer program is provided, the computer program includes codes or instructions, and when the codes or instructions are executed, the method in any possible implementation manner of the aforementioned first aspect or the third aspect is implemented.
第十方面,提供一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现前述第一方面或第三方面描述的至少一种方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a tenth aspect, a chip system is provided, and the chip system includes a processor and may further include a memory, configured to implement at least one method described in the foregoing first aspect or third aspect. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
第十一方面,提供一种通信系统,该系统包括第二方面或第四方面任一该的装置。In an eleventh aspect, a communication system is provided, and the system includes the device in any one of the second aspect or the fourth aspect.
在一些实现方式中,该第一网元可以是第一网络设备,该第二网元可以是第二网络设备。In some implementation manners, the first network element may be a first network device, and the second network element may be a second network device.
附图说明Description of drawings
图1是适用本申请实施例提供的意图执行的系统的示意图。Fig. 1 is a schematic diagram of a system applicable to the implementation of the intention provided by the embodiment of the present application.
图2是本申请实施例提供的一例意图执行方法的示意性流程图。Fig. 2 is a schematic flowchart of an example of an intent execution method provided by an embodiment of the present application.
图3是本申请实施例提供的另一例意图执行方法的示意性流程图。Fig. 3 is a schematic flowchart of another example of an intention execution method provided by an embodiment of the present application.
图4是本申请实施例提供的一例意图执行中回退操作方法的示意性流程图。Fig. 4 is a schematic flowchart of an example of an operation method for rollback during intent execution provided by an embodiment of the present application.
图5是本申请实施例提供的另一例意图执行中回退操作方法的示意性流程图。FIG. 5 is a schematic flowchart of another example of an operation method for rollback during intent execution provided by an embodiment of the present application.
图6是本申请实施例提供的一例意图执行网元查询信息的示意性流程图。Fig. 6 is a schematic flowchart of an example of information query by network elements intended to be executed according to the 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: the executable operation corresponding to the intent, the identifier of the entity that acts on the intent, or the type of the entity that acts on the intent.
意图操作:意图目标对应的可执行的操作。意图操作包括一个或多个意图子操作。Intent operation: the executable operation corresponding to the intent target. An intent action consists of one or more intent sub-actions.
意图子操作:意图操作的组成部分,一个意图子操作可以包括一个或多个操作指令,该一个或多个操作指令由一个执行对象执行。Intention sub-operation: a component of an intention operation, an intent sub-operation may include one or more operation instructions, and the one or more operation instructions are executed by an execution object.
意图维持:根据系统网络环境的变化调整意图可执行的操作,以期望达成意图目标。Intention maintenance: adjust the executable operations of the intention according to the changes of the system network environment, in order to achieve the intention goal.
意图达成:系统检测网络中的KPI值达到意图表达式中的目标值,或者说是达成意图目标。Intention achievement: the system detects that the KPI value in the network reaches the target value in the intention expression, or the intention goal is achieved.
为了便于理解本申请实施例,首先结合图1详细说明适用于本申请实施例提供的方法的处于意图的系统。图1示出了适用于本申请实施例提供的方法的处理意图的系统100的示意图。如图1所示,该系统100包括意图消费网元110,意图提供网元120,以及网络设备130。其中意图提供网元可以包括意图管理网元121,意图转译网元122,意图执行网元123,以及知识管理网元124。其中,知识管理网元124中可以包括意图知识库。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 , an intended provision network element 120 , and a network device 130 . The intention providing network element may include an intention management network element 121 , an intention translation network element 122 , an intention execution network element 123 , and a knowledge management network element 124 . Wherein, the knowledge management network element 124 may include an intent knowledge base.
意图消费网元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 intention consuming network element 110 may communicate with the intention providing network element 120 , for example, the intention consuming network element 110 may send a request for creating or implementing an intention to the intention 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.
知识管理网元124可以对意图知识库进行管理,意图知识库存储意图的相关知识,知识管理网元可以支持其他网元查询意图的相关知识。The knowledge management network element 124 can manage the intent knowledge base, which stores the relevant knowledge of the intent, and the knowledge management network element can support other network elements to query the relevant knowledge of 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 a knowledge management network element and an intent knowledge base. Wherein, the intent management network element is used for managing intent knowledge. The intent knowledge base may be a sub-module of the knowledge management network element, and is used to store 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 the external system can process 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.
协助系统130中可以包括至少一个网络设备,每个网络设备可以与意图提供网元120进行通信,例如,意图提供网元120中的意图执行网元123可以向协助系统130中的任意网络设备发送意图的执行操作请求。The assistance system 130 may include at least one network device, and each network device may communicate with the intent providing network element 120, for example, the intent execution network element 123 in the intent providing network element 120 may send a message to any network device in the assistance system 130 An intent to perform an action request.
本申请实施例中,协助系统130中的网络设备可以是任意一种具有无线收发功能的设备。该设备包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),卫星,无人机基站,无线保真(wireless fidelity,WiFi)系统中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G,如,NR,系统中的gNB,或,传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(distributed unit,DU)等。In this embodiment of the present application, the network device in the assistance system 130 may be any kind of device with a wireless transceiver function. The equipment includes but is not limited to: evolved Node B (evolved Node B, eNB), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller, BSC) , base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB, or home Node B, HNB), baseband unit (baseband unit, BBU), satellite, drone base station, wireless fidelity (wireless access point (access point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP) or transmission and reception point (transmission and reception point, TRP) in the fidelity (WiFi) system, etc. It can be 5G, such as NR, a gNB in the system, or a transmission point (TRP or TP), one or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or it can also be an antenna panel that constitutes a gNB Or a network node of a transmission point, such as a baseband unit (BBU), or a distributed unit (distributed unit, DU), etc.
在一些部署中,gNB可以包括集中式单元(centralized unit,CU)和DU。gNB还可以包括有源天线单元(active antenna unit,AAU)。CU实现gNB的部分功能,DU实现gNB的部分功能,比如,CU负责处理非实时协议和服务,实现无线资源控制(radio resource control,RRC),分组数据汇聚层协议(packet data convergence protocol,PDCP)层的功能。DU负责处理物理层协议和实时服务,实现无线链路控制(radio link control,RLC)层、介质接入控制(medium access control,MAC)层和物理(physical,PHY)层的功能。AAU实现部分物理层处理功能、射频处理及有源天线的相关功能。由于RRC层的信息最终会变成PHY层的信息,或者,由PHY层的信息转变而来,因而,在这种架构下,高层信令,如RRC层信令,也可以认为是由DU发送的,或者,由DU+AAU发送的。可以理解的是,网络设备可以为包括CU节点、DU节点、AAU节点中一项或多项的设备。此外,可以将CU划分为接入网(radio access network,RAN)中的网络设备,也可以将CU划分为核心网(core network,CN)中的网络设备,本申请对此不做限定。In some deployments, a gNB may include a centralized unit (CU) and a DU. The gNB may also include an active antenna unit (AAU). CU implements some functions of gNB, and DU implements some functions of gNB. For example, CU is responsible for processing non-real-time protocols and services, implementing radio resource control (radio resource control, RRC), packet data convergence protocol (packet data convergence protocol, PDCP) layer function. The DU is responsible for processing physical layer protocols and real-time services, realizing the functions of the radio link control (radio link control, RLC) layer, medium access control (medium access control, MAC) layer and physical (physical, PHY) layer. The AAU implements some physical layer processing functions, radio frequency processing and related functions of active antennas. Since the information of the RRC layer will eventually become the information of the PHY layer, or be transformed from the information of the PHY layer, under this architecture, high-level signaling, such as RRC layer signaling, can also be considered to be sent by the DU , or, sent by DU+AAU. It can be understood that the network device may be a device including one or more of a CU node, a DU node, and an AAU node. In addition, the CU can be divided into network devices in an access network (radio access network, RAN), and the CU can also be divided into network devices in a core network (core network, CN), which is not limited in this application.
需要说明的是,本申请的方案可以应用于包含相应网元的其它系统中,本申请不作限 定。可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。可选的,上述网元或者功能可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。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. It can be understood that the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform). Optionally, the foregoing network element or function may be implemented by one device, or jointly implemented by multiple devices, or may be a functional module in one device, which is not specifically limited in this embodiment of the present application.
目前,为了达成意图目标,多个网络设备分别需要执行意图的多个操作。每个操作执行的成功与否都会对意图执行后的效果造成影响。然而,目前针对意图操作进行管理的机制,并没有考虑到操作之间的配合管理,导致意图达成的成功率和效果都较低,因此,亟需一种意图执行的方法,可以提高系统执行意图的可靠性。At present, in order to achieve the goal of the intent, multiple network devices need to perform multiple operations of the intent respectively. The success or failure of each operation will affect the effect of the intention after execution. However, the current management mechanism for intention operation does not take into account the cooperative management between operations, resulting in low success rate and effect of intention achievement. reliability.
图2示出了本申请提供的意图执行方法200的一例示意性流程图。FIG. 2 shows a schematic flowchart of an example of an intent execution method 200 provided by the present application.
S201,意图执行网元从意图知识库接收执行顺序信息。S201. The intent execution network element receives execution sequence information from the intent knowledge base.
该执行顺序信息用于指示执行第一意图的第一操作和第一意图的第二操作的顺序。The execution sequence information is used to indicate the sequence of executing the first operation of the first intent and the second operation of the first intent.
该执行顺序信息可以在意图知识库初始化和更新流程中存储于意图知识库中,其中,意图知识库可以是知识管理网元的子模块。The execution sequence information may be stored in the intent knowledge base during the initialization and update process of the intent knowledge base, where the intent knowledge base may be a submodule of the knowledge management network element.
其中,第一操作可以包括多个操作指令,可以由第一网元(例如,网络设备#1)完整执行;第二操作也可以包括多个操作指令,可以由第二网元(例如,网络设备#2)完整执行。Wherein, the first operation may include multiple operation instructions, and may be completely executed by the first network element (for example, network device #1); the second operation may also include multiple operation instructions, and may be completely executed by the second network element (for example, network device #1). Device #2) is fully implemented.
第一操作和第二操作之间可以存在依赖关系。There may be a dependency between the first operation and the second operation.
例如,第二网元执行第二操作需要依赖于第一网元执行第一操作成功。For example, the execution of the second operation by the second network element depends on the successful execution of the first operation by the first network element.
第一意图的第一操作和第一意图的第二操作可以是第一意图对应的意图操作的一个或多个子操作。例如,第一意图对应的意图操作包括三个子操作,分别是:第一子操作、第二子操作以及第三子操作。第一子操作的执行对象为第一网元,第二子操作和第三子操作的执行对象为第二网元。如果三个子操作按照第一子操作、第二子操作、第三子操作的顺序执行,则本申请实施例中的第一操作可以是该第一子操作,第二操作可以是该第二子操作和第三子操作的合并操作;如果三个子操作按照第二子操作、第一子操作、第三子操作的顺序执行,则本申请实施例中的第一操作可以是该第一子操作,第二操作可以是该第二子操作,并且本申请实施例还包括第一意图的第三操作,第三操作为第三子操作,执行顺序信息可以用于指示第一操作、第二操作以及第三操作的顺序。The first operation of the first intent and the second operation of the first intent may be one or more sub-operations of the intent operation corresponding to the first intent. For example, the intent operation corresponding to the first intent includes three sub-operations, namely: a first sub-operation, a second sub-operation, and a third sub-operation. The execution object of the first sub-operation is the first network element, and the execution object of the second sub-operation and the third sub-operation is the second network element. If the three sub-operations are performed in the order of the first sub-operation, the second sub-operation, and the third sub-operation, the first operation in this embodiment of the application may be the first sub-operation, and the second operation may be the second sub-operation A combined operation of the operation and the third sub-operation; if the three sub-operations are performed in the order of the second sub-operation, the first sub-operation, and the third sub-operation, the first operation in the embodiment of the present application can be the first sub-operation , the second operation may be the second sub-operation, and the embodiment of the present application also includes a third operation of the first intention, the third operation is the third sub-operation, and the execution order information may be used to indicate the first operation, the second operation and the order of the third operation.
应理解,本申请并不限定执行顺序信息指示执行多个操作的顺序中多个操作的个数,也并不限定需要执行操作的执行对象的个数,作为示例而非限定,以第一意图的意图目标为小区搬迁进行举例。第一意图的意图操作包括6个子操作,该6个子操作分别是:It should be understood that the present application does not limit the number of multiple operations in the order in which the execution sequence information indicates the execution of multiple operations, nor does it limit the number of execution objects that need to perform operations. This is an example rather than a limitation, with the first intention The intended target is the relocation of the community as an example. The intention operation of the first intention includes 6 sub-operations, and the 6 sub-operations are:
第一子操作:删除与小区A的邻区关系,由第一网元执行;The first sub-operation: delete the neighbor relationship with cell A, which is executed by the first network element;
第二子操作:去激活小区A,由第二网元执行;The second sub-operation: deactivate cell A, performed by the second network element;
第三子操作:删除小区A,由第二网元执行;The third sub-operation: delete cell A, performed by the second network element;
第四子操作:新建小区A,由第三网元执行;The fourth sub-operation: create a new cell A, which is executed by the third network element;
第五子操作:激活小区A,由第三网元执行;Fifth sub-operation: activate cell A, executed by the third network element;
第六子操作:恢复与小区A的邻区关系,由第一网元执行。The sixth sub-operation: restore the neighbor relationship with cell A, which is performed by the first network element.
意图执行顺序信息用于指示执行该6个子操作的顺序,可以表述为用于指示执行第一操作、第二操作、第三操作以及第四操作的顺序,其中,第一操作为第一子操作,第二操作为第二子操作和第三子操作的合并操作,第三操作为第四子操作和第五子操作的合并操 作,第四操作为第六子操作。The intended execution order information is used to indicate the order in which the six sub-operations are executed, which can be expressed as indicating the order in which the first operation, the second operation, the third operation, and the fourth operation are executed, wherein the first operation is the first sub-operation , the second operation is a combination operation of the second sub-operation and the third sub-operation, the third operation is a combination operation of the fourth sub-operation and the fifth sub-operation, and the fourth operation is a sixth sub-operation.
另外,需要说明的是,当本申请实施例的操作包括多个子操作时,例如第二操作为第二子操作和第三子操作的合并操作,可以通过描述第二操作的操作指令指示执行第二子操作和第三子操作的顺序。In addition, it should be noted that when the operation in the embodiment of the present application includes multiple sub-operations, for example, the second operation is a combination operation of the second sub-operation and the third sub-operation, an operation instruction describing the second operation may be used to indicate the execution of the second sub-operation. The order of the second sub-operation and the third sub-operation.
为了清楚,以下对执行顺序信息指示执行第一意图的第一操作和第一意图的第二操作的顺序的方式进行说明。For clarity, the manner in which the execution sequence information indicates the order of executing the first operation of the first intent and the second operation of the first intent will be described below.
方式1:Method 1:
执行顺序信息包括第一操作的步骤标识(stepID)和第二操作的步骤标识(stepID)。The execution sequence information includes a step identifier (stepID) of the first operation and a step identifier (stepID) of the second operation.
其中,步骤标识用于指示执行对应的操作在执行所有操作中的顺序,具有不同步骤标识的操作需要按照顺序执行,具有相同步骤标识的操作可以并行执行。第一操作的步骤标识可以携带于对第一操作的描述信息中,第二操作的步骤标识可以携带于对第二操作的描述信息中。Wherein, the step identifier is used to indicate the order in which the corresponding operations are executed in all operations. Operations with different step identifiers need to be executed in sequence, and operations with the same step identifier can be executed in parallel. The step identifier of the first operation may be carried in the description information of the first operation, and the step identifier of the second operation may be carried in the description information of the second operation.
例如,第一操作的步骤标识为1(例如,stepID=1),第二操作的步骤标识为2(例如stepID=2),表示执行第二操作的顺序在执行第一操作的顺序之后。For example, the step identifier of the first operation is 1 (for example, stepID=1), and the step identifier of the second operation is 2 (for example, stepID=2), indicating that the sequence for executing the second operation is after the sequence for executing the first operation.
再例如,第一操作的步骤标识为1(例如,stepID=1),第二操作的步骤标识也为1(例如stepID=1),表示第一操作和第二操作可以并行执行。For another example, the step identifier of the first operation is 1 (for example, stepID=1), and the step identifier of the second operation is also 1 (for example, stepID=1), indicating that the first operation and the second operation can be executed in parallel.
方式2:Method 2:
执行顺序信息包括第一操作的步骤标识(stepID)和等待类型(waitType),以及第二操作的步骤标识(stepID)和等待类型(waitType)。The execution sequence information includes the step ID (stepID) and wait type (waitType) of the first operation, and the step ID (stepID) and wait type (waitType) of the second operation.
其中,等待类型用于指示执行对应的操作是否需要等待前序操作执行完毕,步骤标识用于指示执行对应的操作在执行所有操作中的顺序。多个操作的步骤标识不允许有重复取值,若存在多个操作的步骤标识为连续取值,且该多个操作中除第一个操作外其他操作的等待类型都指示不需要等待前序操作执行完毕,则该步骤标识为连续取值的多个操作可以并行执行。第一操作的步骤标识和等待类型可以携带于对第一操作的描述信息中,第二操作的步骤标识和等待类型可以携带于对第二操作的描述信息中。Wherein, the waiting type is used to indicate whether the execution of the corresponding operation needs to wait for the execution of the preceding operation to be completed, and the step identifier is used to indicate the order in which the corresponding operation is executed in performing all the operations. The step identifiers of multiple operations are not allowed to have repeated values. If there are multiple operations whose step identifiers are continuous values, and the wait types of the operations except the first operation indicate that there is no need to wait for the preorder After the operation is completed, multiple operations marked as consecutive values in this step can be executed in parallel. The step identification and waiting type of the first operation may be carried in the description information of the first operation, and the step identification and waiting type of the second operation may be carried in the description information of the second operation.
例如,第一操作的步骤标识为1,等待类型为无需等待(例如,stepID=1,waitType=not wait),第二操作的步骤标识为2,等待类型为无需等待(例如,stepID=2,waitType=not wait),表示第二操作无需等待第一操作执行完毕后再执行,第一操作和第二操作可以并行执行。For example, the step ID of the first operation is 1, and the wait type is no need to wait (for example, stepID=1, waitType=not wait), the step ID of the second operation is 2, and the wait type is no need to wait (for example, stepID=2, waitType=not wait), indicating that the second operation does not need to wait for the first operation to be executed before executing, and the first operation and the second operation can be executed in parallel.
再例如,第一操作的步骤标识为1,等待类型为无需等待(例如,stepID=1,waitType=not wait),第二操作的步骤标识为2,等待类型为需要等待(例如,stepID=2,waitType=wait),还存在第三操作的步骤标识为3,等待类型为无需等待(例如,stepID=3,waitType=not wait),表示第二操作和第三操作需要等待第一操作执行完毕后可以并行执行。For another example, the step identification of the first operation is 1, and the waiting type is no need to wait (for example, stepID=1, waitType=not wait), the step identification of the second operation is 2, and the waiting type is needing to wait (for example, stepID=2 , waitType=wait), there is also a step ID of the third operation is 3, and the waiting type is no waiting (for example, stepID=3, waitType=not wait), which means that the second operation and the third operation need to wait for the completion of the first operation can then be executed in parallel.
方式3:Method 3:
该执行顺序信息包括第一操作的标识与执行第一操作的顺序的映射关系,和第二操作的标识与执行第二操作的顺序的映射关系。The execution order information includes a mapping relationship between identifiers of the first operations and the order in which the first operations are executed, and a mapping relationship between identifiers of the second operations and the order in which the second operations are executed.
例如,该执行顺序信息为操作的标识与操作的执行顺序的映射表,通过第一操作或第二操作的标识可以索引到该第一操作或第二操作的执行顺序。For example, the execution order information is a mapping table of operation identifiers and operation execution order, and the execution order of the first operation or the second operation can be indexed by the identifier of the first operation or the second operation.
以上对执行顺序信息指示执行第一操作和第二操作的顺序的方式进行说明,应理解, 上述方法同样适用于执行顺序信息指示执行三个或三个以上操作的顺序的场景,本申请对此不作特别限定。The above describes the way in which the execution order information indicates the order in which the first operation and the second operation are performed. It should be understood that the above method is also applicable to the scenario where the execution order information indicates the order in which three or more operations are performed. Not particularly limited.
S202,意图执行网元根据执行顺序信息确定意图执行网元向第一网元发送第一操作和意图执行网元向第二网元发送第二操作的发送顺序。S202. The intended execution network element determines, according to the execution sequence information, a sending sequence in which the intended execution network element sends the first operation to the first network element and the intention execution network element sends the second operation to the second network element.
S203,意图执行网元根据发送顺序向第一网元发送第一操作。S203. The intent-to-execute network element sends the first operation to the first network element according to the sending order.
S204,意图执行网元根据发送顺序向第二网元发送第二操作。S204. The intent-to-execute network element sends the second operation to the second network element according to the sending order.
若意图执行网元根据执行顺序信息确定需要先执行第一操作,后执行第二操作,则确定先向第一网元发送第一操作,后向第二网元发送第二操作,也就是说先执行步骤S203,后执行步骤S204;若意图执行网元根据执行顺序信息确定需要先执行第二操作,后执行第一操作,则确定先向第二网元发送第二操作,后向第一网元发送第一操作,也就是说先执行步骤S204,后执行步骤S203;若意图执行网元根据执行顺序信息确定第一操作和第二操作可以并行执行,则对意图执行网元向第一网元发送第一操作和向第二网元发送第二操作的顺序不作限定。If the network element that intends to execute determines that the first operation needs to be performed first and then the second operation according to the execution order information, it is determined to first send the first operation to the first network element, and then send the second operation to the second network element, that is to say Execute step S203 first, and then execute step S204; if the network element intending to execute determines that the second operation needs to be executed first according to the execution order information, and then the first operation is executed, then it is determined to first send the second operation to the second network element, and then send the second operation to the first The network element sends the first operation, that is to say, step S204 is executed first, and then step S203 is executed; if the intention execution network element determines that the first operation and the second operation can be executed in parallel according to the execution sequence information, then the intent execution network element sends the first operation to the first operation. The order in which the network element sends the first operation and sends the second operation to the second network element is not limited.
在一种可能的实现方式中,意图执行网元需要确定第一操作是否执行成功,该方法还可以包括步骤S205至S207中的一个或多个步骤。In a possible implementation manner, the intent execution network element needs to determine whether the first operation is executed successfully, and the method may further include one or more steps from steps S205 to S207.
S205,意图执行网元从第一网元接收第一操作的执行结果信息。S205. The network element intending to execute receives the execution result information of the first operation from the first network element.
该执行结果信息用于确定第一操作是否执行成功。The execution result information is used to determine whether the first operation is executed successfully.
例如,该执行结果信息中包括第一操作是否执行成功的标识。For example, the execution result information includes an indication of whether the first operation is executed successfully.
该执行结果信息可以携带于响应第一操作的操作执行响应消息中,该执行结果信息也可以携带于响应查询消息的响应消息中。The execution result information may be carried in an operation execution response message in response to the first operation, and the execution result information may also be carried in a response message in response to the query message.
S206,意图执行网元根据执行结果信息确定第一操作是否执行成功。S206. The intent execution network element determines whether the first operation is executed successfully according to the execution result information.
例如,该执行结果信息中包括指示第一操作是否成功的字段,意图执行网元根据该字段确定第一操作是否执行成功,比如该字段为1时确定第一操作执行成功,该字段为0时确定第一操作执行不成功。For example, the execution result information includes a field indicating whether the first operation is successful, and the intended execution network element determines whether the first operation is successfully executed according to this field. For example, when the field is 1, it is determined that the first operation is successfully executed, and when the field is 0 It is determined that the execution of the first operation is unsuccessful.
在一种可能的实现方式中,执行结果信息可以是第一网元执行完第一操作后系统的相关参数,也可以是第一操作的执行状态,例如,执行状态指示已在第一时间内执行了多少指令。换句话说,执行结果信息没有显示表示第一操作是否执行成功,则在执行步骤S206之前,还需要执行步骤S207,在步骤S206中,意图执行网元根据执行结果信息和第一指示信息确定第一操作是否执行成功。In a possible implementation manner, the execution result information may be related parameters of the system after the first network element executes the first operation, and may also be the execution status of the first operation, for example, the execution status indicates that the How many instructions were executed. In other words, if the execution result information is not displayed to indicate whether the first operation is successfully executed, then step S207 needs to be executed before step S206 is executed. In step S206, the intended execution network element determines the Whether the operation is executed successfully.
S207,意图执行网元从意图知识库接收第一指示信息。S207. The intent execution network element receives first indication information from the intent knowledge base.
该第一指示信息可以指示意图执行网元确定第一操作是否执行成功。The first indication information may indicate that the schematic execution network element determines whether the first operation is executed successfully.
可选地,该第一指示信息可以携带于对第一操作的描述信息中。Optionally, the first indication information may be carried in description information of the first operation.
可选地,该第一指示信息可以包括确定第一操作是否执行成功的判断准则。Optionally, the first indication information may include a criterion for determining whether the first operation is performed successfully.
例如该执行结果信息中包括执行第一操作后系统的相关参数,该判断准则指示在某一参数达到预定范围时,该第一操作被确定为执行成功。For example, the execution result information includes relevant parameters of the system after the first operation is executed, and the judgment criterion indicates that when a certain parameter reaches a predetermined range, the first operation is determined to be executed successfully.
需要说明的是,该判断准则可以隐式的指示意图执行网元确定第一操作是否执行成功,换句话说,意图执行网元可以从意图知识库接收判断准则,意图执行网元默认需要根据该判断准则确定第一操作是否执行成功。It should be noted that the judgment criterion may implicitly indicate that the intent execution network element determines whether the first operation is executed successfully. The judgment criterion determines whether the first operation is performed successfully.
可选地,该第一指示信息可以包括确定第一操作是否执行成功的判断准则,以及意图 执行网元确定第一操作是否执行成功需要执行的判断动作。例如,判断动作指示意图执行网元需要向第一网元发送查询消息以获取第一操作的执行结果信息。Optionally, the first indication information may include a judgment criterion for determining whether the first operation is successfully performed, and an action intended to be performed by the network element to determine whether the first operation is successfully performed. For example, the judging action indicates that the execution network element needs to send a query message to the first network element to acquire the execution result information of the first operation.
意图执行网元可以根据第一指示信息确定需要确定第一操作是否执行成功,并执行所指示的判断动作以获取执行第一操作后的相关执行结果信息,再根据判断准则以及执行结果信息确定第一网元执行第一操作是否成功。The intent execution network element may determine, according to the first indication information, that it is necessary to determine whether the first operation is executed successfully, and perform the indicated judgment action to obtain relevant execution result information after the first operation is executed, and then determine the second operation according to the judgment criterion and the execution result information. Whether a network element executes the first operation successfully.
以判断动作指示意图执行网元需要发送查询消息以获取第一操作的执行结果信息进行举例:意图执行网元根据判断动作向第一网元发送查询消息,第一网元根据查询消息查询第一操作的执行结果信息,并向意图执行网元返回查询消息的响应消息,该响应消息携带第一操作的执行结果信息,意图执行网元根据该执行结果信息和判断准则确定第一操作是否执行成功。其中,查询消息可以请求第一网元返回判断准则需要的特定参数,也可以是请求第一网元返回执行第一操作后的系统的全部相关参数,本申请对此不作特别限定。Taking the judgment action to indicate that the execution network element needs to send a query message to obtain the execution result information of the first operation. For example: the intention execution network element sends a query message to the first network element according to the judgment action, and the first network element queries the first operation according to the query message. The execution result information of the operation, and return the response message of the query message to the intended execution network element, the response message carries the execution result information of the first operation, and the intended execution network element determines whether the first operation is executed successfully according to the execution result information and the judgment criterion . Wherein, the query message may request the first network element to return specific parameters required by the judgment criterion, or may request the first network element to return all relevant parameters of the system after performing the first operation, which is not particularly limited in this application.
以上对意图执行网元确定第一操作是否执行成功的方式进行了说明,应理解,意图执行网元判断其他操作(例如第二操作)是否执行成功的方式与判断第一操作的描述类似,为了简便,在此不再赘述。The method for determining whether the first operation is successfully executed by the intended execution network element is described above. It should be understood that the method for the intended execution network element to judge whether other operations (such as the second operation) is executed successfully is similar to the description of judging the first operation. It is simple and will not be repeated here.
在一种可能的实现方式中,当意图执行网元先向第一网元发送第一操作,后向第二网元发送第二操作时,意图执行网元可以在向第一网元发送第一操作后,确定第一操作是否执行成功,若执行成功,则再向第二网元发送第二操作。换句话说,在步骤S204中,在意图执行网元确定第一操作执行成功的情况下,意图执行网元向第二网元发送第二操作。In a possible implementation manner, when the intention execution network element first sends the first operation to the first network element, and then sends the second operation to the second network element, the intention execution network element may send the first operation to the first network element. After one operation, it is determined whether the first operation is executed successfully, and if the execution is successful, then the second operation is sent to the second network element. In other words, in step S204, in the case that the intended execution network element determines that the first operation is performed successfully, the intended execution network element sends the second operation to the second network element.
其中,意图执行网元确定第一操作是否执行成功的方式可参见步骤S205至步骤S207的描述,换句话说,步骤S205至步骤S207可以在步骤S203和步骤S204之间执行。Wherein, the manner in which the intended execution network element determines whether the first operation is performed successfully may refer to the description of steps S205 to S207, in other words, steps S205 to S207 may be performed between steps S203 and S204.
应理解,当意图执行网元先向第二网元发送第二操作,后向第一网元发送第一操作时,意图执行网元也可以在向第二网元发送第二操作后,判断第二操作是否执行成功,在执行成功的情况下,再向第一网元发送第一操作。换句话说,意图执行网元在发送操作之前,可以先判断前序操作是否执行成功,在执行成功的情况下发送该操作,从而提高意图执行的可靠性。It should be understood that, when the intent-to-execute network element first sends the second operation to the second network element, and then sends the first operation to the first network element, the intent-to-execute network element may also determine Whether the second operation is successfully executed, and if the execution is successful, send the first operation to the first network element. In other words, before sending the operation, the intent execution network element may first judge whether the preceding operation is executed successfully, and send the operation if the execution is successful, thereby improving the reliability of intent execution.
在一种可能的实现方式中,若希望意图执行网元反馈操作的执行进度,意图执行网元可以从意图转译网元接收进度指示信息。In a possible implementation manner, if it is desired that the intention execution network element feed back the execution progress of the operation, the intention execution network element may receive progress indication information from the intention translation network element.
该进度指示信息用于指示意图执行网元需要反馈进度信息,该进度信息用于指示第一操作和第二操作的执行进度。The progress indication information is used to indicate that the schematic execution network element needs to feed back progress information, and the progress information is used to indicate the execution progress of the first operation and the second operation.
例如,该进度信息用于指示第一操作和第二操作分别已执行的百分比,预估距离完成的剩余时间,或者已完成的操作指令的条数等,本申请对此不作特别限定。For example, the progress information is used to indicate the executed percentages of the first operation and the second operation, the estimated remaining time until completion, or the number of completed operation instructions, etc., which are not particularly limited in the present application.
该进度指示信息可以携带于意图转译网元发送的用于请求执行第一意图的意图执行消息中。例如,若意图消费网元希望获取操作的执行进度,意图消费网元可以在发送给意图管理网元的意图实施请求消息中携带该进度指示信息,意图管理网元在发送给意图转译网元的意图转译消息中携带该进度指示信息,然后意图转译网元可以在发送给意图执行网元的意图执行消息中携带该进度指示信息。The progress indication information may be carried in the intent execution message sent by the intent translation network element for requesting the execution of the first intent. For example, if the intention consumption network element wishes to obtain the execution progress of the operation, the intention consumption network element may carry the progress indication information in the intention implementation request message sent to the intention management network element, and the intention management network element sends the intention translation network element The progress indication information is carried in the intention translation message, and then the intention translation network element may carry the progress indication information in the intention execution message sent to the intention execution network element.
可选地,该进度指示信息还可以用于指示意图执行网元需要反馈进度信息的周期或频率。Optionally, the progress indication information may also be used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
可选地,该进度指示信息还可以用于指示意图执行网元需要反馈进度信息的触发条件, 例如,进度指示信息可以指示当前系统的某一参数到达预定触发条件时,意图执行网元需要反馈当前第一操作和第二操作的执行进度。Optionally, the progress indication information can also be used to indicate the trigger condition that the intention execution network element needs to feed back the progress information. For example, the progress indication information can indicate that when a certain parameter of the current system reaches the predetermined trigger condition, the intention execution network element needs to feedback The current execution progress of the first operation and the second operation.
意图执行网元根据进度指示信息向意图管理网元发送该进度信息。The intention execution network element sends the progress information to the intention management network element according to the progress indication information.
可选地,意图管理网元还可以将进度信息发送给意图消费网元。Optionally, the intention management network element may also send progress information to the intention consumption network element.
可选地,意图执行网元接收到进度指示信息后,可以根据第一网元和/或第二网元返回的执行结果的相关信息确定该进度信息,并将该进度信息返回给意图管理网元。意图执行网元也可以根据进度指示信息向第一网元和/或第二网元发送查询消息以获得进度信息。Optionally, after the intention execution network element receives the progress indication information, it may determine the progress information according to the execution result information returned by the first network element and/or the second network element, and return the progress information to the intention management network Yuan. The intention execution network element may also send a query message to the first network element and/or the second network element to obtain the progress information according to the progress indication information.
若进度指示信息同时指示了意图执行网元需要反馈的周期和频率,意图执行网元也可以根据该周期和频率向意图管理网元发送该进度信息。If the progress indication information indicates the period and frequency at which the intention execution network element needs to feedback at the same time, the intention execution network element may also send the progress information to the intention management network element according to the period and frequency.
在一种可能的实现方式中,在步骤S201中,意图执行网元从意图知识库接收执行顺序信息可以有两种方式:其一,意图转译网元接收到意图管理网元发送的意图转译消息后,根据意图转译消息中的第一意图的标识信息和第一意图的意图表达式向知识管理网元发送意图知识查询消息,知识管理网元根据该意图知识查询消息在意图知识库中进行查询,并向意图转译网元发送意图知识反馈消息,在该意图知识反馈消息中携带该执行顺序信息,进而意图转译网元可以在向意图执行网元发送的意图执行请求消息中携带该执行顺序信息;其二,意图转译网元在接收到意图转译网元发送的意图执行请求消息后,意图转译网元可以根据意图执行请求消息中的意图表达式和/或操作标识(第一操作和/或第二操作的标识)向知识管理网元发送意图操作查询消息,知识管理网元根据该操作查询消息在意图知识库中进行查询,并向意图执行网元发送意图操作反馈消息,在该意图操作反馈消息中携带该执行顺序信息。In a possible implementation, in step S201, the intention execution network element receives the execution order information from the intention knowledge base in two ways: first, the intention translation network element receives the intention translation message sent by the intention management network element Finally, according to the identification information of the first intention and the intention expression of the first intention in the intention translation message, an intention knowledge query message is sent to the knowledge management network element, and the knowledge management network element performs a query in the intention knowledge base according to the intention knowledge query message , and send the intent knowledge feedback message to the intent translation network element, and carry the execution sequence information in the intent knowledge feedback message, and then the intent translation network element can carry the execution sequence information in the intent execution request message sent to the intent execution network element Second, after the intention translation network element receives the intention execution request message sent by the intention translation network element, the intention translation network element can execute the intention according to the intention expression and/or the operation identifier (the first operation and/or The identification of the second operation) sends an intention operation query message to the knowledge management network element, and the knowledge management network element performs a query in the intention knowledge base according to the operation query message, and sends an intention operation feedback message to the intention execution network element. The execution sequence information is carried in the feedback message.
换句话说,意图执行网元从意图知识库接收执行顺序信息,该执行顺序信息可以是其他网元发起查询从意图知识库接收,再转发给意图执行网元的,该执行顺序信息也可以是意图执行网元自己发起查询从意图知识库接收的。In other words, the intent execution network element receives the execution sequence information from the intent knowledge base. The execution sequence information can be received from the intent knowledge base by other network elements initiating a query, and then forwarded to the intent execution network element. The execution sequence information can also be The intent execution network element itself initiates the query received from the intent knowledge base.
应理解,以上是对意图执行网元从意图知识库接收执行顺序信息进行说明,在S205中,意图执行网元从意图知识库接收第一指示信息的方式可以与接收执行顺序信息的描述类似,为了简便,在此不再赘述。It should be understood that the above is an explanation of the intention execution network element receiving the execution order information from the intention knowledge base. In S205, the manner in which the intention execution network element receives the first indication information from the intention knowledge base may be similar to the description of receiving the execution order information. For the sake of brevity, details are omitted here.
从而,在本申请中,意图执行网元可以根据执行多个操作的顺序确定发送多个操作的发送顺序,使得多个操作可以按照顺序进行执行,使得多个操作之间可以相互配合,避免因未按照顺序执行导致意图操作执行失败或是未达到预期的效果。Therefore, in this application, the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Execution not in order causes the intended operation to fail or not achieve the desired effect.
图3示出了本申请提供的意图执行方法300的另一例示意性流程图。FIG. 3 shows another example of a schematic flowchart of an intent execution method 300 provided by the present application.
可选地,S301,意图消费网元向意图管理网元发送意图实施请求消息。Optionally, S301. The intention consumption network element sends an intention implementation request message to the intention management network element.
该意图实施请求消息用于请求执行第一意图,该意图实施请求消息可以包括第一意图的意图表达式(intentExpression)。The intent implementation request message is used to request execution of the first intent, and the intent implementation request message may include an intent expression (intentExpression) of the first intent.
可选地,该意图实施请求消息中还包括进度指示信息(progressNotify),有关进度指示信息的描述可参见方法200中对进度指示信息的描述,为了简便,在此不再赘述。Optionally, the intent implementation request message further includes progress indication information (progressNotify). For a description of the progress indication information, refer to the description of the progress indication information in method 200. For simplicity, details are not repeated here.
可选地,S302,意图管理网元向意图消费网元发送用于响应意图实施请求消息的意图实施请求响应消息。Optionally, S302. The intention management network element sends an intention implementation request response message for responding to the intention implementation request message to the intention consumption network element.
该意图实施请求响应消息可以包括第一意图的标识(intentID),还可以包括第一意图的意图表达式。The intent implementation request response message may include an identifier (intentID) of the first intent, and may also include an intent expression of the first intent.
例如,意图管理网元接收到第一意图对应的意图实施请求消息后,对第一意图分配第一意图的标识,并将该标识携带于意图实施请求响应消息中发送给意图消费网元。For example, after receiving the intent implementation request message corresponding to the first intent, the intent management network element assigns the identifier of the first intent to the first intent, and carries the identifier in the intent implementation request response message and sends it to the intent consumption network element.
可选地,S303,意图管理网元向意图转译网元发送意图转译请求消息。Optionally, S303. The intent management network element sends an intent translation request message to the intent translation network element.
该意图转译请求消息用于请求意图转译网元对第一意图进行转译。The intent translation request message is used to request the intent translation network element to translate the first intent.
该意图转译请求消息可以包括第一意图的标识和意图表达式,若在意图实施请求消息中包括进度指示信息,则该意图转译消息也包括该进度指示信息。The intent translation request message may include an identifier of the first intent and an intent expression, and if progress indication information is included in the intent implementation request message, the intent translation message also includes the progress indication information.
S304,意图转译网元向意图知识库发送意图知识查询消息。S304. The intent translation network element sends an intent knowledge query message to the intent knowledge base.
该意图知识查询消息可以包括第一意图的标识和意图表达式,以及查询类型。The intent knowledge query message may include an identifier of the first intent, an intent expression, and a query type.
其中,查询类型可以指示需要查询获得的参数,例如,若查询类型为全部参数(type=all),则意图知识库需要返回有关第一意图的全部参数。Wherein, the query type may indicate parameters that need to be obtained by querying. For example, if the query type is all parameters (type=all), the intent knowledge base needs to return all parameters related to the first intent.
可选地,S305,意图知识库获取查询结果。Optionally, S305, the intent knowledge base acquires the query result.
意图知识库根据意图查询消息获取查询结果。The intent knowledge base obtains the query result according to the intent query message.
其中,意图知识库可以理解为是知识管理网元的一个子模块,在意图知识库初始化和更新流程中,将第一意图的相关信息,例如执行顺序信息(stepinfo)、第一指示信息等存储在意图知识库中,知识管理网元可以根据意图知识查询消息在意图知识库中进行查询。例如,第一指示信息包括成功判断信息(successindication),Wherein, the intent knowledge base can be understood as a sub-module of the knowledge management network element. During the initialization and update process of the intent knowledge base, the relevant information of the first intent, such as execution sequence information (stepinfo), first instruction information, etc., is stored. In the intent knowledge base, the knowledge management network element can query the intent knowledge base according to the intent knowledge query message. For example, the first indication information includes success judgment information (success indication),
例如,若查询类型为查询第一意图的操作,则意图知识库获取第一意图的意图操作列表(intentOperationList),该意图操作列表包括对第一操作的描述和对第二操作的描述。应理解,如果第一意图还有其他操作,该意图操作列表还包括对其他操作的描述。For example, if the query type is querying operations of the first intent, the intent knowledge base acquires an intent operation list (intentOperationList) of the first intent, and the intent operation list includes a description of the first operation and a description of the second operation. It should be understood that if the first intent has other operations, the intent operation list also includes descriptions of other operations.
其中,以对第一操作的描述进行举例,第一操作的描述信息可以包括以下信息中的一项或多项:第一操作的操作指令(instruction),第一操作的操作执行对象(entityIDList)。若采用方法200中方式1或方式2的指示方式,第一操作的描述信息还包括第一操作的执行顺序信息(stepInfo),例如{步骤标识(stepID)},或者{步骤标识(stepID),等待类型(waitType)}。其中,操作指令用于描述执行该第一操作的具体命令,操作执行对象用于描述需要执行该第一操作的第一网元。Wherein, taking the description of the first operation as an example, the description information of the first operation may include one or more of the following information: the operation instruction (instruction) of the first operation, the operation execution object (entityIDList) of the first operation . If the indication method of mode 1 or mode 2 in method 200 is adopted, the description information of the first operation also includes the execution sequence information (stepInfo) of the first operation, such as {step identification (stepID)}, or {step identification (stepID), waitType(waitType)}. Wherein, the operation instruction is used to describe a specific command for executing the first operation, and the operation execution object is used to describe the first network element that needs to execute the first operation.
可选地,若意图执行网元需要判断第一操作的执行是否成功,则第一操作的描述信息还包括第一指示信息,有关第一指示信息的描述可参见方法200中对第一指示信息的描述,为了简便,在此不再赘述。Optionally, if the intended execution network element needs to judge whether the execution of the first operation is successful, the description information of the first operation also includes the first indication information. For the description of the first indication information, please refer to the first indication information in method 200. The description of , for the sake of brevity, will not be repeated here.
应理解,其他操作的描述信息可以与第一操作的描述信息类似,为了简便,在此不再赘述。It should be understood that the description information of other operations may be similar to the description information of the first operation, and details are not repeated here for simplicity.
该意图操作列表还可以包括执行条件(executioncondition)信息,该执行条件用于描述执行第一操作和第二操作需要满足的条件,例如,在网络负载情况为空载或低载时可以执行第一操作和/或第二操作。The intended operation list may also include execution condition (executioncondition) information, which is used to describe the conditions that need to be met for executing the first operation and the second operation, for example, the first operation may be executed when the network load is no-load or low-load operation and/or a second operation.
该意图操作列表中还可以包括相依事件(events)信息,相依事件信息用于描述执行第一意图可能对于系统造成的影响。The intent operation list may also include dependent event (events) information, and the dependent event information is used to describe the impact that the execution of the first intent may have on the system.
若查询类型为查询全部参数,则意图知识库除了获取第一意图的意图操作列表(intentOperationList),还可以包括意图目标达成准则(fulfillmentCriterion),意图目标达成准则可以用于指示第一意图的达成条件,例如,意图目标达成准则可以包括衡量意图目标是否达成的意图目标计算公式。If the query type is to query all parameters, the intent knowledge base can not only obtain the intent operation list (intentOperationList) of the first intent, but also include the fulfillment criterion (fulfillmentCriterion), which can be used to indicate the fulfillment condition of the first intent For example, the criterion for achieving the intended goal may include an intended goal calculation formula for measuring whether the intended goal is achieved.
可选地,若采用方法200中方式3的指示方式,意图知识库还可以获取执行顺序信息(stepInfo),该执行顺序信息描述第一意图的多个操作的执行顺序。Optionally, if the indication manner of mode 3 in method 200 is adopted, the intent knowledge base may also obtain execution sequence information (stepInfo), which describes the execution sequence of multiple operations of the first intent.
有关第一操作、第二操作、以及执行顺序信息指示执行第一操作和第二操作的顺序的方式可参见方法200中的相关描述,为了简便,在此不再赘述。Regarding the first operation, the second operation, and the manner in which the execution order information indicates the order of executing the first operation and the second operation, reference may be made to the relevant description in the method 200 , and details are not repeated here for brevity.
以上仅是对查询结果进行示例性说明,本申请对此不作特别限定。The above is only an exemplary description of the query results, and the present application does not make any special limitation thereto.
S306,意图转译网元从意图知识库接收意图知识反馈消息。S306. The intent translation network element receives an intent knowledge feedback message from the intent knowledge base.
该意图知识反馈消息中包括意图知识库获取的查询结果。The intent knowledge feedback message includes query results obtained from the intent knowledge base.
该意图知识反馈消息还可以包括第一意图的标识(intentID)。The intent knowledge feedback message may also include an identifier (intentID) of the first intent.
S307,意图转译网元向意图执行网元发送执行顺序信息。S307. The intent translation network element sends the execution order information to the intent execution network element.
该执行顺序信息用于指示执行第一意图的第一操作和第一意图的第二操作的顺序。The execution sequence information is used to indicate the sequence of executing the first operation of the first intent and the second operation of the first intent.
例如,意图转译网元向意图执行网元发送意图执行请求消息,该意图执行请求消息包括该执行顺序信息(stepInfo)。For example, the intent translation network element sends an intent execution request message to the intent execution network element, and the intent execution request message includes the execution sequence information (stepInfo).
该意图转译请求消息还可以包括第一意图的标识,以及意图转译网元从意图知识反馈消息中获得的意图操作列表和意图目标达成准则。The intent translation request message may also include the identifier of the first intent, and the intent operation list and intent goal achievement criteria obtained by the intent translation network element from the intent knowledge feedback message.
可选地,若意图执行网元需要反馈第一操作和第二操作执行的进度信息,该意图操作集合中还包括进度指示信息。Optionally, if the intended execution network element needs to feed back the progress information of the execution of the first operation and the second operation, the set of intended operations further includes progress indication information.
意图执行网元接收到意图执行请求消息后,可以根据预定的决策算法确定要执行第一操作和第二操作。After receiving the intent execution request message, the intent execution network element may determine to execute the first operation and the second operation according to a predetermined decision algorithm.
S308,意图执行网元根据执行顺序信息确定意图执行网元向第一网元发送第一操作和意图执行网元向第二网元发送第二操作的发送顺序。S308. The network element intending to execute determines the sending order of the network element intending to execute sending the first operation to the first network element and the network element intending executing the network element sending the second operation to the second network element according to the execution sequence information.
有关意图执行网元确定发送第一操作和发送第二操作的发送顺序的描述可参见方法300中的描述,为了简便,在此不再赘述。以下以意图执行网元先向第一网元发送第一操作,后向第二网元发送第二操作进行举例。For the description about the network element intended to execute determining the sending order of sending the first operation and sending the second operation, refer to the description in the method 300 , and details are not repeated here for simplicity. The following uses an example in which the intention execution network element first sends the first operation to the first network element, and then sends the second operation to the second network element.
S309,意图执行网元根据发送顺序向第一网元发送第一操作。S309. The intent-to-execute network element sends the first operation to the first network element according to the sending order.
例如,意图执行网元向第一网元发送第一操作对应的操作执行请求消息,该操作执行请求消息包括该第一操作对应的信息,其中该第一操作对应的信息可以包括第一操作的操作标识(operationID)和操作指令(instruction)。For example, the intended execution network element sends an operation execution request message corresponding to the first operation to the first network element, and the operation execution request message includes information corresponding to the first operation, where the information corresponding to the first operation may include Operation ID (operationID) and operation instruction (instruction).
第一网元可以根据第一操作对应的信息执行第一操作。The first network element may execute the first operation according to the information corresponding to the first operation.
可选地,S310,意图执行网元从第一网元接收第一操作的执行结果信息。Optionally, S310, the network element intended to perform receives the execution result information of the first operation from the first network element.
该执行结果信息用于确定第一操作是否执行成功。The execution result information is used to determine whether the first operation is executed successfully.
例如,意图执行网元从第一网元接收响应操作执行请求消息的操作执行响应消息,该操作执行响应消息包括该第一操作的执行结果信息,该操作执行响应消息还可以包括第一操作的操作标识。For example, the intended execution network element receives an operation execution response message from the first network element in response to the operation execution request message, the operation execution response message includes the execution result information of the first operation, and the operation execution response message may also include the first operation Action ID.
再例如,该第一指示信息还用于指示意图执行网元确定第一操作是否执行成功的判断动作,该判断动作指示意图执行网元需要向第一网元查询第一操作的执行结果信息。在这种情况下,意图执行网元可以向第一网元发送操作执行状态查询消息,该操作执行状态查询消息用于请求查询该执行结果信息,意图执行网元接收的执行结果信息是携带于响应该操作执行状态查询消息的操作执行状态查询响应消息中。For another example, the first indication information is also used to instruct the schematic execution network element to determine whether the first operation is successfully executed, and the judgment action indicates that the schematic execution network element needs to query the first network element for the execution result information of the first operation. In this case, the intention execution network element may send an operation execution status query message to the first network element, and the operation execution status query message is used to request to query the execution result information, and the execution result information received by the intention execution network element is carried in the In response to the Operation Execution Status Query message, the Operation Execution Status Query Response message.
可选地,S311,意图执行网元根据第一指示信息和执行结果信息确定第一操作是否执 行成功。Optionally, in S311, the intended execution network element determines whether the first operation is executed successfully according to the first indication information and the execution result information.
有关意图执行网元确定第一操作是否执行成功的描述可参见方法200中的描述,为了简便,在此不再赘述。For a description of determining whether the first operation is successfully performed by the intended network element, reference may be made to the description of the method 200, and details are not repeated here for simplicity.
在意图执行网元确定第一操作执行成功的情况下,意图执行网元可以执行S312。In a case where the intention-performing network element determines that the first operation is successfully performed, the intention-performing network element may perform S312.
S312,意图执行网元向第二网元发送第二操作。S312. The intent-to-execute network element sends a second operation to the second network element.
例如,意图执行网元向第二网元发送第二操作对应的操作执行请求消息,该操作执行请求消息包括该第二操作对应的信息,其中该第二操作对应的信息可以包括第二操作的操作标识(operationID)和操作指令(instruction)。For example, the intended execution network element sends an operation execution request message corresponding to the second operation to the second network element, where the operation execution request message includes information corresponding to the second operation, where the information corresponding to the second operation may include Operation ID (operationID) and operation instruction (instruction).
应理解,意图执行网元也可以从第二网元接收第二操作的执行结果信息,意图执行请求消息中也可以包括第二操作的第一指示信息,意图执行网元也可以根据第二操作的第一指示信息和执行结果信息确定第二操作是否执行成功,若第一意图对应的操作还有意图管理网元需要执行的第三操作,且第三操作的执行顺序在第二操作之后,则意图执行网元也可以在确定第二操作执行成功的情况下向意图管理网元发送第三操作,其实现方法与上述对第一操作描述的类似,为了简便,在此不再赘述,本申请不对第一意图对应的操作的数量作出任何限定。It should be understood that the intention execution network element may also receive the execution result information of the second operation from the second network element, the intention execution request message may also include the first indication information of the second operation, and the intention execution network element may also receive the execution result information of the second operation according to the second operation The first indication information and the execution result information determine whether the second operation is executed successfully. If the operation corresponding to the first intention also has a third operation that needs to be performed by the intention management network element, and the execution sequence of the third operation is after the second operation, Then the intent execution network element may also send the third operation to the intent management network element after determining that the second operation is executed successfully. The implementation method is similar to that described above for the first operation. The application does not impose any limitation on the number of operations corresponding to the first intent.
若在意图执行请求消息中还包括进度指示信息,则该方法还包括步骤S313。If progress indication information is also included in the intention execution request message, the method further includes step S313.
S313,意图执行网元向意图管理网元发送操作执行进度通知消息。S313. The intention execution network element sends an operation execution progress notification message to the intention management network element.
该操作执行进度通知消息可以包括第一意图的标识和进度信息,有关进度信息的描述参见方法200中的有关描述,为了简便,在此不再赘述。The operation execution progress notification message may include the identifier of the first intent and progress information. For the description of the progress information, refer to the relevant description in the method 200, and for simplicity, details are not repeated here.
可选地,若进度指示信息还用于指示了意图执行网元需要反馈进度信息的周期或频率,则意图执行网元可以根据该周期或频率对操作执行的进度进行监控,并按照该周期或频率向意图管理网元发送该操作执行进度通知消息。Optionally, if the progress indication information is also used to indicate the cycle or frequency at which the intended execution network element needs to feed back progress information, the intended execution network element can monitor the progress of the operation execution according to the cycle or frequency, and according to the cycle or frequency The frequency sends the operation execution progress notification message to the intent management network element.
若是意图消费网元需要获取该进度信息,则意图管理网元可以将该操作执行进度通知消息转发给意图消费网元。If the intended consumption network element needs to obtain the progress information, the intended management network element may forward the operation execution progress notification message to the intended consumption network element.
从而,在本申请中,意图执行网元可以根据执行多个操作的顺序确定发送多个操作的发送顺序,使得多个操作可以按照顺序进行执行,使得多个操作之间可以相互配合,避免因未按照顺序执行导致意图操作执行失败或是未达到预期的效果。Therefore, in this application, the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Execution not in order causes the intended operation to fail or not achieve the desired effect.
图4示出了本申请提供的意图执行方法400的一例示意性流程图。FIG. 4 shows a schematic flowchart of an example of an intent execution method 400 provided by the present application.
S401,意图执行网元从第一网元接收第一意图的第一操作的执行结果信息。S401. The intention execution network element receives execution result information of the first operation of the first intention from the first network element.
该执行结果信息用于确定第一操作的执行是否出现异常。The execution result information is used to determine whether the execution of the first operation is abnormal.
其中,第一操作的执行出现异常可以是指如下的任意一种情况:第一操作执行失败、第一操作执行超时、第一操作的执行结果未达到预定效果或者其它导致第一意图不能达成预定的意图目标的情况。Wherein, the abnormality in the execution of the first operation may refer to any of the following situations: the execution of the first operation fails, the execution of the first operation times out, the execution result of the first operation does not achieve the predetermined effect, or other causes the first intention to fail to achieve the predetermined The situation of the intended target.
例如,该执行结果信息中可以包括第一操作的执行是否出现异常的标识。For example, the execution result information may include an indication of whether the execution of the first operation is abnormal.
S402,意图执行网元根据执行结果信息确定第一操作的执行是否出现异常。S402. The intention execution network element determines whether the execution of the first operation is abnormal according to the execution result information.
例如,该执行结果信息中包括指示第一操作的执行是否出现异常的字段,意图执行网元根据该字段确定第一操作的执行是否出现异常,比如该字段为1时表示第一操作的执行出现异常,该字段为0时表示第一操作的执行未出现异常。For example, the execution result information includes a field indicating whether the execution of the first operation is abnormal, and the intended execution network element determines whether the execution of the first operation is abnormal according to this field. For example, when the field is 1, it means that the execution of the first operation occurs Abnormal, when this field is 0, it means that the execution of the first operation has no abnormality.
在一种可能的实现方式中,执行结果信息可以是第一网元执行完第一操作后系统的相 关参数,也可以是第一操作的执行状态,例如,执行状态指示已在第一时间内执行了多少指令。换句话说,执行结果信息没有显示表示第一操作的执行是否出现异常,则在执行步骤S402之前,还需要执行步骤S403,在步骤S402中,意图执行网元根据执行结果信息和第二指示信息确定第一操作的执行是否出现异常。In a possible implementation manner, the execution result information may be related parameters of the system after the first network element executes the first operation, and may also be the execution status of the first operation, for example, the execution status indicates that the How many instructions were executed. In other words, if the execution result information does not indicate whether the execution of the first operation is abnormal, then step S403 needs to be performed before performing step S402. It is determined whether the execution of the first operation is abnormal.
S403,意图执行网元从意图知识库接收第二指示信息。S403. The intent execution network element receives second indication information from the intent knowledge base.
该第二指示信息用于指示意图执行网元确定第一操作的执行是否出现异常。The second indication information is used to instruct the schematic execution network element to determine whether the execution of the first operation is abnormal.
该第二指示信息可以在意图知识库初始化和更新流程中存储于意图知识库中。The second indication information may be stored in the intent knowledge base during the process of initializing and updating the intent knowledge base.
该第二指示信息可以携带于对第一操作的描述信息中。The second indication information may be carried in the description information of the first operation.
可选地,该第二指示信息可以包括确定第一操作的执行是否出现异常的判断准则。Optionally, the second indication information may include a judgment criterion for determining whether the execution of the first operation is abnormal.
意图执行网元根据执行结果信息和判断准则确定第一操作的执行是否出现异常,例如,该判断准则指示在某一参数达到预定范围时,该第一操作被判断为执行出现异常。例如,该判断准则指示若第一操作执行后的结果未达到预定结果,则表示该第一操作的执行出现异常,意图执行网元接收到执行结果信息后,根据该执行结果信息判断是否达到预定结果,确定第一操作的执行是否出现异常;例如,该判断准则指示若第一操作在预定时间内没有执行成功,则表示第一操作的执行出现异常,意图执行网元在预定时间内接收到的执行结果信息指示第一操作执行失败,或者,意图执行网元未在预定时间内接收到用于指示第一操作执行成功的执行结果信息,则意图执行网元可以确定该第一操作的执行出现异常。The network element intending to execute determines whether the execution of the first operation is abnormal according to the execution result information and the judgment criterion. For example, the judgment criterion indicates that when a certain parameter reaches a predetermined range, the execution of the first operation is judged to be abnormal. For example, the judgment criterion indicates that if the execution result of the first operation does not reach the predetermined result, it means that the execution of the first operation is abnormal. As a result, it is determined whether the execution of the first operation is abnormal; for example, the judgment criterion indicates that if the first operation is not successfully executed within the predetermined time, it means that the execution of the first operation is abnormal, and the intended execution network element receives the The execution result information indicates that the execution of the first operation failed, or the intended execution network element does not receive the execution result information indicating that the execution of the first operation is successful within a predetermined time, then the intended execution network element may determine the execution of the first operation Abnormal.
需要说明的是,该异常判断准则可以隐式的指示意图执行网元可以确定第一操作的执行是否出现异常,换句话说,意图执行网元可以从意图知识库接收该判断准则,意图执行网元默认需要根据该判断准则确定第一操作的执行是否出现异常。It should be noted that the abnormality judgment criterion may implicitly indicate that the intention execution network element can determine whether the execution of the first operation is abnormal, in other words, the intention execution network element may receive the judgment criterion from the intention knowledge base, and the intention execution network element By default, it is necessary to determine whether the execution of the first operation is abnormal according to the judgment criterion.
可选地,该第二指示信息可以包括确定第一操作的执行是否出现异常的判断准则,以及意图执行网元确定第一操作的执行是否出现异常需要执行的判断动作。例如,该判断动作指示意图执行网元需要向第一网元发送查询消息以获取第一操作的执行结果信息。Optionally, the second indication information may include a judging criterion for determining whether the execution of the first operation is abnormal, and an action intended to be performed by the network element to determine whether the execution of the first operation is abnormal. For example, the judging action indicates that the schematic execution network element needs to send a query message to the first network element to acquire the execution result information of the first operation.
意图执行网元可以根据第二指示信息确定需要确定第一操作的执行是否出现异常,并执行所指示的判断动作以获取执行第一操作后的相关执行结果信息,再根据异常判断准则以及执行结果信息确定第一操作的执行是否出现成功。The intention execution network element can determine whether it is necessary to determine whether the execution of the first operation is abnormal according to the second instruction information, and execute the indicated judgment action to obtain the relevant execution result information after the first operation is executed, and then according to the abnormal judgment criterion and the execution result Information to determine whether execution of the first operation occurred successfully.
以判断动作指示意图执行网元需要发送查询消息以获取第一操作的执行结果信息进行举例:意图执行网元根据判断动作向第一网元发送查询消息,第一网元根据查询消息查询第一操作的执行结果信息,并向意图执行网元返回查询消息的响应消息,该响应消息携带第一操作的执行结果信息,意图执行网元根据该执行结果信息和判断准则确定第一操作的执行是否出现异常。其中,查询消息可以请求第一网元返回判断准则需要的特定参数,也可以是请求第一网元返回执行第一操作后的系统的全部相关参数,本申请对此不作特别限定。Taking the judgment action to indicate that the execution network element needs to send a query message to obtain the execution result information of the first operation. For example: the intention execution network element sends a query message to the first network element according to the judgment action, and the first network element queries the first operation according to the query message. The execution result information of the operation, and return the response message of the query message to the intended execution network element, the response message carries the execution result information of the first operation, and the intended execution network element determines whether the execution of the first operation is based on the execution result information and the judgment criterion Abnormal. Wherein, the query message may request the first network element to return specific parameters required by the judgment criterion, or may request the first network element to return all relevant parameters of the system after performing the first operation, which is not particularly limited in this application.
以上对意图执行网元确定第一操作的执行是否出现异常的方式进行了说明,应理解,意图执行网元判断其他操作的执行是否出现异常的方式与判断第一操作的描述类似,为了简便,在此不再赘述。The method for determining whether the execution of the first operation is abnormal by the intended execution network element is described above. It should be understood that the method for the intended execution network element to determine whether the execution of other operations is abnormal is similar to the description of judging the first operation. For simplicity, I won't repeat them here.
S404,当意图执行网元确定第一操作的执行出现异常时,意图执行网元向第二网元发送回退指示信息。S404. When the intended execution network element determines that the execution of the first operation is abnormal, the intended execution network element sends rollback indication information to the second network element.
该回退指示信息用于指示回退第一意图的第二操作。The rollback instruction information is used to indicate rollback of the second operation of the first intention.
其中,第一操作可以包括多个操作指令,可以由第一网元(例如,网络设备#1)完整执行;第二操作也可以包括多个操作指令,可以由第二网元(例如,网络设备#2)完整执行。Wherein, the first operation may include multiple operation instructions, and may be completely executed by the first network element (for example, network device #1); the second operation may also include multiple operation instructions, and may be completely executed by the second network element (for example, network device #1). Device #2) is fully implemented.
该第二操作可以是第一操作的前序操作,第二操作也可以是第一操作的并行操作,或者说,第二操作可以是在意图执行网元确定第一操作的执行出现异常时,第二网元已经执行成功或者正在执行的操作。The second operation may be a preorder operation of the first operation, or the second operation may be a parallel operation of the first operation, or in other words, the second operation may be when the network element intending to execute determines that the execution of the first operation is abnormal, The second network element has successfully performed or is currently performing an operation.
第一意图的第一操作和第一意图的第二操作可以是第一意图对应的意图操作的一个或多个子操作。例如,第一意图对应的意图操作包括三个子操作,分别是:第一子操作、第二子操作以及第三子操作。第一子操作的执行对象为第一网元,第二子操作和第三子操作的执行对象为第二网元。则本申请实施例中的第一操作可以是该第一子操作,第二操作可以是该第二子操作和第三子操作的合并操作。The first operation of the first intent and the second operation of the first intent may be one or more sub-operations of the intent operation corresponding to the first intent. For example, the intent operation corresponding to the first intent includes three sub-operations, namely: a first sub-operation, a second sub-operation, and a third sub-operation. The execution object of the first sub-operation is the first network element, and the execution object of the second sub-operation and the third sub-operation is the second network element. Then the first operation in this embodiment of the present application may be the first sub-operation, and the second operation may be a combination operation of the second sub-operation and the third sub-operation.
应理解,若系统中还存在第一意图的其它操作在意图执行网元确定第一操作的执行出现异常时,其他网元已经执行成功或者正在执行的操作,意图执行网元还可以向其他网元发送用于指示回退该操作的回退指示信息,作为示例而非限定,以第一意图的意图目标为小区搬迁进行举例。第一意图具有四个操作分别是:It should be understood that if there are other operations of the first intention in the system, when the intention execution network element determines that the execution of the first operation is abnormal, other network elements have successfully executed or are executing the operation, the intention execution network element can also report to other network elements The unit sends the rollback instruction information used to indicate rollback of the operation. As an example but not a limitation, the intended target of the first intention is cell relocation as an example. The first intent has four actions which are:
第一操作:删除与小区A的邻区关系,由第一网元执行;The first operation: delete the neighbor relationship with cell A, which is performed by the first network element;
第二操作:去激活小区A,以及删除小区A,由第二网元执行;The second operation: deactivating cell A and deleting cell A, performed by the second network element;
第三操作:新建小区A,以及激活小区A,由第三网元执行;The third operation: creating a new cell A, and activating the cell A, performed by the third network element;
第四操作:恢复与小区A的邻区关系,由第一网元执行。The fourth operation: restore the neighbor relationship with cell A, which is performed by the first network element.
若第一操作和第二操作已经执行成功,但是第三操作的执行出现异常,则意图执行网元向第二网元发送用于回退第二操作的回退指示信息,以及向第一网元发送用于回退第一操作的回退指示信息。If the first operation and the second operation have been executed successfully, but the execution of the third operation is abnormal, the intended execution network element sends the rollback indication information for rolling back the second operation to the second network element, and sends the rollback indication information to the first network element The element sends rollback indication information for rolling back the first operation.
回退第二操作可以理解为将系统恢复至执行第二操作之前的状态。Rolling back the second operation may be understood as restoring the system to a state before the second operation is performed.
应理解,若系统中还存在第一意图的其它操作在意图执行网元确定第一操作的执行出现异常时,其他网元已经执行成功或者正在执行的操作,意图执行网元还可以向其他网元发送用于指示回退该操作的回退指示信息。例如,若意图管理网元已经成功执行第一意图的第三操作或正在执行第三操作,则意图执行网元还可以向意图管理网元发送指示回退第三操作的指示信息。可选地,意图执行网元可以按照发送多个操作的发送顺序的逆序发送回退指示信息。It should be understood that if there are other operations of the first intention in the system, when the intention execution network element determines that the execution of the first operation is abnormal, other network elements have successfully executed or are executing the operation, the intention execution network element can also report to other network elements The unit sends rollback indication information for indicating rollback of the operation. For example, if the intention management network element has successfully performed the third operation of the first intention or is currently performing the third operation, the intention execution network element may also send indication information indicating to roll back the third operation to the intention management network element. Optionally, the intent execution network element may send the rollback indication information in a reverse order of the sending order of sending multiple operations.
S405,第二网元根据回退指示信息回退第二操作。S405. The second network element rolls back the second operation according to the rollback instruction information.
其中,可以基于第二网元是否具有操作回退的能力,确定回退第二操作的方式。Wherein, the manner of rolling back the second operation may be determined based on whether the second network element has the capability of rolling back the operation.
若第二网元具有操作回退的能力,则第二网元接收回退指示信息后,可以调用自身的操作回退能力回退第二操作。If the second network element has an operation rollback capability, the second network element may call its own operation rollback capability to roll back the second operation after receiving the rollback instruction information.
若第二网元不具有操作回退的能力,意图执行网元发送的回退指示信息还可以用于指示第二网元回退第二操作的方式,此时,该方法400还包括步骤S406。If the second network element does not have the ability to roll back the operation, the rollback indication information sent by the network element intended to execute can also be used to indicate the way the second network element rolls back the second operation. At this time, the method 400 also includes step S406 .
S406,意图执行网元从意图知识库接收回退方案信息。S406. The intent execution network element receives fallback solution information from the intent knowledge base.
该回退方案信息用于指示第二操作的回退方式,意图执行网元发送的回退指示信息还用于指示第二操作的回退方式。The fallback scheme information is used to indicate the fallback mode of the second operation, and the fallback indication information sent by the intended network element is also used to indicate the fallback mode of the second operation.
应理解,该回退指示信息可以是第二操作的回退方式,或者说,意图执行网元可以向 第二网元发送第二操作的回退方式,该第二操作的回退方式隐式的指示了第二网元需要回退第二操作。It should be understood that the fallback indication information may be the fallback mode of the second operation, or in other words, the intention execution network element may send the fallback mode of the second operation to the second network element, and the fallback mode of the second operation is implicitly indicates that the second network element needs to roll back the second operation.
该回退方案信息可以在意图知识库初始化和更新流程中存储于意图知识库中。The fallback scheme information may be stored in the intent knowledge base during the initialization and update process of the intent knowledge base.
该回退方案信息可以携带于对应的第二操作的描述信息中。The fallback scheme information may be carried in the description information of the corresponding second operation.
在一种可能的实现方式中,该回退方案信息描述了不同的异常情况下对应不同的第二操作的回退方式,此时,该方法400还包括步骤S407。In a possible implementation manner, the rollback solution information describes rollback modes corresponding to different second operations in different abnormal situations, and in this case, the method 400 further includes step S407.
S407,意图执行网元根据执行结果信息与该回退方案信息确定第二操作的回退方式。S407. The intended execution network element determines a fallback mode of the second operation according to the execution result information and the fallback scheme information.
例如,该回退方案信息包括异常情况与回退方式之间的映射关系,不同的异常情况对应不同的标号,该执行结果信息可以包括执行第一操作出现的异常情况对应的标号,意图执行网元根据该标号索引到该异常情况下对应的第二操作的回退方式,并将第二操作的回退方式发送给第二网元。For example, the rollback plan information includes the mapping relationship between abnormal conditions and rollback methods. Different abnormal conditions correspond to different labels. The execution result information may include labels corresponding to abnormal conditions that occur when executing the first operation. The element indexes to the fallback mode of the second operation corresponding to the abnormal condition according to the label, and sends the fallback mode of the second operation to the second network element.
再例如,该回退方案信息包括异常情况与回退方式之间的映射关系,该执行结果信息包括执行第一操作后的相关参数,意图执行网元根据相关参数判断属于哪一种异常情况,进而确定第二操作的回退方式,并将该第二操作的回退方式发送给第二网元。For another example, the fallback scheme information includes the mapping relationship between the abnormal situation and the fallback mode, the execution result information includes the relevant parameters after the first operation is executed, and the intended execution network element judges which abnormal situation it belongs to according to the relevant parameters, Further, the fallback mode of the second operation is determined, and the fallback mode of the second operation is sent to the second network element.
在一种可能的方式中,当意图执行网元确定第一操作的执行出现异常时,意图执行网元也还可以先向意图消费网元询问是否需要回退第二操作,当意图消费网元反馈需要回退第二操作时,意图执行网元再向第二网元发送回退指示信息。在这种情况下,该方法还包括步骤S408,该步骤S408可以在步骤S403和步骤S404之间执行,其中,在步骤S403中,意图执行网元确定第一操作的执行出现异常。In a possible manner, when the intention execution network element determines that the execution of the first operation is abnormal, the intention execution network element may first ask the intention consumption network element whether the second operation needs to be rolled back, and when the intention consumption network element When the feedback needs to roll back the second operation, the intention execution network element sends the rollback indication information to the second network element. In this case, the method further includes step S408, which may be executed between step S403 and step S404, wherein, in step S403, the network element intending to execute determines that the execution of the first operation is abnormal.
S408,意图执行网元向意图管理网元发送意图操作回退请求消息。S408. The intention execution network element sends an intention operation rollback request message to the intention management network element.
该意图操作回退请求消息用于指示第二网元是否需要回退第二操作。The intended operation rollback request message is used to indicate whether the second network element needs to roll back the second operation.
可选地,该意图操作回退请求消息可以包括以下信息中的至少一项:包括第一意图的标识信息,指示第一操作的执行出现异常的相关信息,以及第二操作的回退方式。Optionally, the intent operation rollback request message may include at least one of the following information: identification information including the first intent, relevant information indicating that an exception occurs in the execution of the first operation, and a rollback mode of the second operation.
意图消费网元接收到该意图操作回退请求消息,可以根据当时的系统的运行状况,或者是第一操作的异常情况确定是否需要回退第二操作。The intended consumption network element receives the intended operation rollback request message, and may determine whether to roll back the second operation according to the current system running status or the abnormality of the first operation.
S409,意图管理网元向意图执行网元发送响应意图操作回退请求消息的意图操作回退响应消息,该意图操作回退响应消息用于指示是否需要回退第二操作。S409. The intent management network element sends an intent operation rollback response message in response to the intent operation rollback request message to the intent execution network element, where the intent operation rollback response message is used to indicate whether the second operation needs to be rolled back.
若意图操作回退响应消息指示不需要回退第二操作,则意图执行网元无需向第二网元发送回退指示信息。If the intended operation rollback response message indicates that the second operation does not need to be rolled back, the intended execution network element does not need to send rollback instruction information to the second network element.
若意图操作回退响应消息指示需要回退第二操作,则可以执行步骤S404,意图执行网元向第二网元发送回退指示信息。If the intended operation rollback response message indicates that the second operation needs to be rolled back, step S404 may be performed, and the intention execution network element sends rollback instruction information to the second network element.
在一种可能的方式中,意图转译网元在发送给意图执行网元的意图执行请求消息中携带期待处理类型指示信息,该期待处理类型指示信息用于指示意图执行网元在确定第一操作的执行出现异常的情况下,是否需要向意图消费网元询问是否需要回退第二操作,若该处理类型指示信息指示不需要向意图消费网元询问是否需要回退第二操作,则意图执行网元可以直接向第二网元发送回退指示信息,若该处理类型指示信息指示需要向意图消费网元询问是否需要回退第二操作,则意图执行网元需要执行步骤S408。In a possible manner, the intention translation network element carries expected processing type indication information in the intention execution request message sent to the intention execution network element, and the expected processing type indication information is used to indicate that the intention execution network element determines the first operation In the case of abnormal execution, whether it is necessary to ask the intended consumption network element whether the second operation needs to be rolled back, if the processing type indication information indicates that it is not necessary to ask the intended consumption network element whether the second operation needs to be rolled back, then the intended execution The network element may directly send the rollback indication information to the second network element, and if the processing type indication information indicates that it is necessary to inquire whether the intended consumption network element needs to roll back the second operation, the intended execution network element needs to perform step S408.
在一种可能的实现方式中,若希望意图执行网元反馈操作的执行进度,意图执行网元可以从意图转译网元接收进度指示信息。In a possible implementation manner, if it is desired that the intention execution network element feed back the execution progress of the operation, the intention execution network element may receive progress indication information from the intention translation network element.
该进度指示信息用于指示意图执行网元需要反馈进度信息,该进度信息用于指示第一操作和第二操作的执行进度。The progress indication information is used to indicate that the schematic execution network element needs to feed back progress information, and the progress information is used to indicate the execution progress of the first operation and the second operation.
例如,该进度信息用于指示第一操作和第二操作分别已执行的百分比,预估距离完成的剩余时间,或者已完成的操作指令的条数等,本申请对此不作特别限定。For example, the progress information is used to indicate the executed percentages of the first operation and the second operation, the estimated remaining time until completion, or the number of completed operation instructions, etc., which are not particularly limited in the present application.
该进度指示信息可以携带于意图转译网元发送的用于请求执行第一意图的意图执行消息中。例如,若意图消费网元希望获取操作的执行进度,意图消费网元可以在发送给意图管理网元的意图实施请求消息中携带该进度指示信息,意图管理网元在发送给意图转译网元的意图转译消息中携带该进度指示信息,然后意图转译网元可以在发送给意图执行网元的意图执行消息中携带该进度指示信息。The progress indication information may be carried in the intent execution message sent by the intent translation network element for requesting the execution of the first intent. For example, if the intention consumption network element wishes to obtain the execution progress of the operation, the intention consumption network element may carry the progress indication information in the intention implementation request message sent to the intention management network element, and the intention management network element sends the intention translation network element The progress indication information is carried in the intention translation message, and then the intention translation network element may carry the progress indication information in the intention execution message sent to the intention execution network element.
可选地,该进度指示信息还可以用于指示意图执行网元需要反馈进度信息的周期或频率。Optionally, the progress indication information may also be used to indicate the period or frequency at which the schematic execution network element needs to feed back the progress information.
可选地,该进度指示信息还可以用于指示意图执行网元需要反馈进度信息的触发条件,例如,进度指示信息可以指示当前系统的某一参数到达预定触发条件时,意图执行网元需要反馈当前第一操作和第二操作的执行进度。Optionally, the progress indication information can also be used to indicate the trigger condition that the plan execution network element needs to feed back the progress information. For example, the progress indication information can indicate that when a certain parameter of the current system reaches the predetermined trigger condition, the intention execution network element needs to feedback The current execution progress of the first operation and the second operation.
意图执行网元根据进度指示信息向意图管理网元发送该进度信息。The intention execution network element sends the progress information to the intention management network element according to the progress indication information.
可选地,若是意图消费网元需要获取进度信息,则意图管理网元可以将进度信息发送给意图消费网元。Optionally, if the intended consumption network element needs to obtain progress information, the intention management network element may send the progress information to the intended consumption network element.
可选地,意图执行网元接收到进度指示信息后,可以根据第一网元和/或第二网元返回的执行结果的相关信息确定该进度信息,并将该进度信息返回给意图管理网元。意图执行网元也可以根据进度指示信息向第一网元和/或第二网元发送查询消息以获得进度信息。Optionally, after the intention execution network element receives the progress indication information, it may determine the progress information according to the execution result information returned by the first network element and/or the second network element, and return the progress information to the intention management network Yuan. The intention execution network element may also send a query message to the first network element and/or the second network element to obtain the progress information according to the progress indication information.
若进度指示信息同时指示了意图执行网元需要反馈的周期和频率,意图执行网元也可以根据该周期和频率向意图管理网元发送该进度信息。If the progress indication information indicates the period and frequency at which the intention execution network element needs to feedback at the same time, the intention execution network element may also send the progress information to the intention management network element according to the period and frequency.
在一种可能的实现方式中,在步骤S401中,意图执行网元从意图知识库接收第二指示信息可以有两种方式,其一,意图转译网元接收到意图管理网元发送的意图转译消息后,根据意图转译消息中的第一意图的标识信息和第一意图的意图表达式向知识管理网元发送意图知识查询消息,知识管理网元根据该意图知识查询消息在意图知识库中进行查询,并向意图转译网元发送意图知识反馈消息,在该意图知识反馈消息中携带该第二指示信息,进而意图转译网元可以在向意图执行网元发送的意图执行请求消息中携带该第二指示信息;其二,意图转译网元在接收到意图转译网元发送的意图执行请求消息后,意图转译网元可以根据意图执行请求消息中的意图表达式和/或操作标识(第一操作和/或第二操作的标识)向知识管理网元发送意图操作查询消息,知识管理网元根据该操作查询消息在意图知识库中进行查询,并向意图执行网元发送意图操作反馈消息,在该意图操作反馈消息中携带该第二指示信息。In a possible implementation, in step S401, there are two ways for the intent execution network element to receive the second indication information from the intent knowledge base. First, the intent translation network element receives the intent translation sent by the intent management network element After the message, according to the identification information of the first intent and the intent expression of the first intent in the intent translation message, the intent knowledge query message is sent to the knowledge management network element, and the knowledge management network element performs the query in the intent knowledge base according to the intent knowledge query message. query, and send an intent knowledge feedback message to the intent translation network element, and carry the second indication information in the intent knowledge feedback message, and then the intent translation network element may carry the second instruction information in the intent execution request message sent to the intent execution network element Two indication information; second, after the intention translation network element receives the intention execution request message sent by the intention translation network element, the intention translation network element can execute the intention expression and/or the operation identifier (the first operation) in the intention execution request message according to the intention and/or the identification of the second operation) sends an intention operation query message to the knowledge management network element, and the knowledge management network element performs a query in the intention knowledge base according to the operation query message, and sends an intention operation feedback message to the intention execution network element, and then The intention operation feedback message carries the second indication information.
换句话说,意图执行网元从意图知识库接收第二指示信息,该第二指示信息可以是其他网元发起查询从意图知识库接收,再转发给意图执行网元的,该第二指示信息也可以是意图执行网元自己发起查询从意图知识库接收的。In other words, the intention execution network element receives the second indication information from the intention knowledge base, the second indication information may be received from the intention knowledge base by other network elements initiating a query, and then forwarded to the intention execution network element, the second indication information It may also be received from the intent knowledge base by initiating a query by the intent execution network element itself.
应理解,以上是对意图执行网元从意图知识库接收第二指示信息进行说明,在S406中,意图执行网元从意图知识库接收回退方案信息的方式可以与接收第二指示信息的描述类似,为了简便,在此不再赘述。It should be understood that the above is an illustration of the intention execution network element receiving the second indication information from the intention knowledge base, and in S406, the manner in which the intention execution network element receives the fallback solution information from the intention knowledge base may be the same as the description of receiving the second indication information Similarly, for the sake of brevity, details are not repeated here.
从而,在本申请中,若第一意图的某个操作的执行出现异常,可以回退第一意图的其它已经执行的操作,避免第一意图的其它操作一直处于执行中造成资源和信令的浪费,进而可以提高意图的执行效率。Therefore, in this application, if the execution of a certain operation of the first intent is abnormal, other operations that have been executed by the first intent can be rolled back, so as to avoid the resources and signaling caused by other operations of the first intent being executed all the time. Waste, which in turn can improve the execution efficiency of intentions.
图5示出了本申请提供的意图执行方法500的再一例示意性流程图。FIG. 5 shows a schematic flowchart of another example of an intent execution method 500 provided by the present application.
可选地,S501,意图消费网元向意图管理网元发送意图实施请求消息。Optionally, S501. The intention consumption network element sends an intention implementation request message to the intention management network element.
该意图实施请求消息用于请求执行第一意图,该意图实施请求消息可以包括第一意图的意图表达式(intentExpression)。The intent implementation request message is used to request execution of the first intent, and the intent implementation request message may include an intent expression (intentExpression) of the first intent.
可选地,该意图实施请求消息中还包括进度指示信息(progressNotify),有关进度指示信息的描述可参见方法400中对进度指示信息的描述,为了简便,在此不再赘述。Optionally, the intent implementation request message further includes progress indication information (progressNotify). For a description of the progress indication information, refer to the description of the progress indication information in method 400. For simplicity, details are not repeated here.
可选地,S502,意图管理网元向意图消费网元发送用于响应意图实施请求消息的意图实施请求响应消息。Optionally, S502. The intention management network element sends an intention implementation request response message for responding to the intention implementation request message to the intention consumption network element.
该意图实施请求响应消息可以包括第一意图的标识(intentID),还可以包括第一意图的意图表达式。The intent implementation request response message may include an identifier (intentID) of the first intent, and may also include an intent expression of the first intent.
例如,意图管理网元接收到第一意图对应的意图实施请求消息后,对第一意图分配第一意图的标识,并将该标识携带于意图实施请求响应消息中发送给意图消费网元。For example, after receiving the intent implementation request message corresponding to the first intent, the intent management network element assigns the identifier of the first intent to the first intent, and carries the identifier in the intent implementation request response message and sends it to the intent consumption network element.
可选地,S503,意图管理网元向意图转译网元发送意图转译请求消息。Optionally, S503. The intent management network element sends an intent translation request message to the intent translation network element.
该意图转译请求消息用于请求意图转译网元对第一意图进行转译。The intent translation request message is used to request the intent translation network element to translate the first intent.
该意图转译请求消息可以包括第一意图的标识和意图表达式,若在意图实施请求消息中包括进度指示信息,则该意图转译消息也包括该进度指示信息。The intent translation request message may include an identifier of the first intent and an intent expression, and if progress indication information is included in the intent implementation request message, the intent translation message also includes the progress indication information.
S504,意图转译网元向意图知识库发送意图知识查询消息。S504. The intent translation network element sends an intent knowledge query message to the intent knowledge base.
该意图知识查询消息可以包括第一意图的标识和意图表达式,以及查询类型。The intent knowledge query message may include an identifier of the first intent, an intent expression, and a query type.
其中,查询类型可以指示需要查询获得的参数,例如,若查询类型为全部参数(type=all),则知识管理网元需要返回有关第一意图的全部参数。Wherein, the query type may indicate parameters that need to be obtained by querying, for example, if the query type is all parameters (type=all), the knowledge management network element needs to return all parameters related to the first intent.
可选地,S505,意图知识库获取查询结果。Optionally, S505, the intent knowledge base acquires a query result.
意图知识库根据意图查询消息获取查询结果。The intent knowledge base obtains the query result according to the intent query message.
其中,意图知识库可以理解为是知识管理网元的一个子模块,在意图知识库初始化和更新流程中,将第一意图的相关信息,例如第二指示信息、回退方案信息(rollbacksolutionlist)等存储在意图知识库中,知识管理网元可以根据意图知识查询消息在意图知识库中进行查询。例如,第二指示信息可以包括异常判断信息(exceptionindication)。Among them, the intent knowledge base can be understood as a sub-module of the knowledge management network element. During the initialization and update process of the intent knowledge base, the relevant information of the first intent, such as the second instruction information, rollback solution list, etc. Stored in the intent knowledge base, the knowledge management network element can query the intent knowledge base according to the intent knowledge query message. For example, the second indication information may include exception judgment information (exception indication).
例如,若查询类型为查询第一意图的操作,则意图知识库获取第一意图的意图操作列表(intentOperationList),该意图操作列表包括对第一操作的描述和对第二操作的描述。应理解,如果第一意图还有其他操作,该意图操作列表还包括对其他操作的描述。For example, if the query type is querying operations of the first intent, the intent knowledge base acquires an intent operation list (intentOperationList) of the first intent, and the intent operation list includes a description of the first operation and a description of the second operation. It should be understood that if the first intent has other operations, the intent operation list also includes descriptions of other operations.
其中,以对第一操作的描述进行举例,第一操作的描述信息可以包括以下信息中的一项或多项:第一操作的操作指令(instruction),第一操作的操作执行对象(entityIDList),第一操作的第二指示信息以及回退方案信息(rollbacksolutionlist)。其中,操作指令用于描述执行该第一操作的具体命令,操作执行对象用于描述需要执行该第一操作的第一网元,有关第二指示信息和回退方案信息的描述可参见方法400中的相应描述,为了简便,在此不再赘述。Wherein, taking the description of the first operation as an example, the description information of the first operation may include one or more of the following information: the operation instruction (instruction) of the first operation, the operation execution object (entityIDList) of the first operation , the second indication information of the first operation and the rollback solution information (rollbacksolutionlist). Wherein, the operation instruction is used to describe the specific command to perform the first operation, and the operation execution object is used to describe the first network element that needs to perform the first operation. For the description of the second instruction information and the fallback scheme information, please refer to the method 400 The corresponding description in , for the sake of brevity, will not be repeated here.
应理解,其他操作的描述信息可以与第一操作的描述信息类似,为了简便,在此不再 赘述。It should be understood that the description information of other operations may be similar to the description information of the first operation, and for the sake of simplicity, details are not repeated here.
该意图操作列表还可以包括执行条件(executioncondition)信息,该执行条件用于描述执行第一操作和第二操作需要满足的条件,例如,在网络负载情况为空载或低载时可以执行第一操作和/或第二操作。The intended operation list may also include execution condition (executioncondition) information, which is used to describe the conditions that need to be met for executing the first operation and the second operation, for example, the first operation may be executed when the network load is no-load or low-load operation and/or a second operation.
该意图操作列表中还可以包括相依事件(events)信息,相依事件信息用于描述执行第一意图可能对于系统造成的影响。The intent operation list may also include dependent event (events) information, and the dependent event information is used to describe the impact that the execution of the first intent may have on the system.
若查询类型为查询全部参数,则意图知识库除了获取第一意图的意图操作列表(intentOperationList),该意图知识反馈消息中还可以包括意图目标达成准则(fulfillmentCriterion),意图目标达成准则可以用于指示第一意图的达成条件,例如,意图目标达成准则可以包括衡量意图目标是否达成的意图目标计算公式。If the query type is to query all parameters, in addition to obtaining the intent operation list (intentOperationList) of the first intent in the intent knowledge base, the intent knowledge feedback message may also include an intent goal fulfillment criterion (fulfillmentCriterion), which can be used to indicate The achievement condition of the first intention, for example, the intention goal achievement criterion may include an intention goal calculation formula to measure whether the intention goal is achieved.
以上仅是对查询结果进行示例性说明,本申请对此不作特别限定。The above is only an exemplary description of the query results, and the present application does not make any special limitation thereto.
S506,意图转译网元从意图知识库接收意图知识反馈消息。S506. The intent translation network element receives an intent knowledge feedback message from the intent knowledge base.
该意图知识反馈消息中包括意图知识库获取的查询结果。The intent knowledge feedback message includes query results obtained from the intent knowledge base.
该意图知识反馈消息还可以包括第一意图的标识(intentID)。The intent knowledge feedback message may also include an identifier (intentID) of the first intent.
S507,意图转译网元向意图执行网元发送第二指示信息。S507. The intent translation network element sends the second indication information to the intent execution network element.
该第二指示信息用于指示意图执行网元确定第一操作的执行是否出现异常。The second indication information is used to instruct the schematic execution network element to determine whether the execution of the first operation is abnormal.
例如,意图转译网元向意图执行网元发送意图执行请求消息,该意图执行请求消息包括该第二指示信息。For example, the intent translation network element sends an intent execution request message to the intent execution network element, where the intent execution request message includes the second indication information.
该意图转译请求消息还可以包括第一意图的标识,以及意图转译网元从意图知识反馈消息中获得的意图操作列表和意图目标达成准则。The intent translation request message may also include the identifier of the first intent, and the intent operation list and intent goal achievement criteria obtained by the intent translation network element from the intent knowledge feedback message.
可选地,若意图执行网元需要反馈第一操作和第二操作执行的进度信息,该意图操作集合中还包括进度指示信息。Optionally, if the intended execution network element needs to feed back the progress information of the execution of the first operation and the second operation, the set of intended operations further includes progress indication information.
意图执行网元接收到意图执行请求消息后,可以根据预定的决策算法确定要执行第一操作和第二操作。After receiving the intent execution request message, the intent execution network element may determine to execute the first operation and the second operation according to a predetermined decision algorithm.
S508,意图执行网元向第一网元发送第一操作。S508. The intent-to-execute network element sends the first operation to the first network element.
例如,意图执行网元向第一网元发送第一操作对应的操作执行请求消息,该操作执行请求消息包括该第一操作对应的信息,其中该第一操作对应的信息可以包括第一操作的操作标识(operationID)和操作指令(instruction)。For example, the intended execution network element sends an operation execution request message corresponding to the first operation to the first network element, and the operation execution request message includes information corresponding to the first operation, where the information corresponding to the first operation may include Operation ID (operationID) and operation instruction (instruction).
第一网元可以根据第一操作对应的信息执行第一操作。The first network element may execute the first operation according to the information corresponding to the first operation.
S509,意图执行网元向第二网元发送第二操作。S509. The intent-to-execute network element sends the second operation to the second network element.
例如,意图执行网元向第二网元发送第二操作对应的操作执行请求消息,该操作执行请求消息包括该第二操作对应的信息,其中该第二操作对应的信息可以包括第二操作的操作标识(operationID)和操作指令(instruction)。For example, the intended execution network element sends an operation execution request message corresponding to the second operation to the second network element, where the operation execution request message includes information corresponding to the second operation, where the information corresponding to the second operation may include Operation ID (operationID) and operation instruction (instruction).
第二网元可以根据第二操作对应的信息执行第二操作。The second network element may execute the second operation according to the information corresponding to the second operation.
S510,意图执行网元从第一网元接收第一意图的第一操作的执行结果信息。S510. The intention execution network element receives execution result information of the first operation of the first intention from the first network element.
该执行结果信息用于确定第一操作的执行是否出现异常。The execution result information is used to determine whether the execution of the first operation is abnormal.
例如,意图执行网元从第一网元接收响应操作执行请求消息的操作执行响应消息,该操作执行响应消息包括该第一操作的执行结果信息,该操作执行响应消息还可以包括第一操作的操作标识。For example, the intended execution network element receives an operation execution response message from the first network element in response to the operation execution request message, the operation execution response message includes the execution result information of the first operation, and the operation execution response message may also include the first operation Action ID.
再例如,该第二指示信息还用于指示意图执行网元确定第一操作的执行是否出现异常的判断动作,该判断动作指示意图执行网元需要向第一网元查询第一操作的执行结果信息。在这种情况下,意图执行网元可以向第一网元发送操作执行状态查询消息,该操作执行状态查询消息用于请求查询该执行结果信息,意图执行网元接收的执行结果信息是携带于响应该操作执行状态查询消息的操作执行状态查询响应消息中。For another example, the second indication information is also used to refer to the execution network element to determine whether the execution of the first operation is abnormal, and the judgment action indicates that the execution network element needs to query the execution result of the first operation from the first network element information. In this case, the intention execution network element may send an operation execution status query message to the first network element, and the operation execution status query message is used to request to query the execution result information, and the execution result information received by the intention execution network element is carried in the In response to the Operation Execution Status Query message, the Operation Execution Status Query Response message.
S511,意图执行网元根据第二指示信息和执行结果信息确定第一操作的执行是否出现异常。S511. The intention execution network element determines whether the execution of the first operation is abnormal according to the second indication information and the execution result information.
有关意图执行网元确定第一操作的执行是否出现异常的描述可参见方法400中的描述,为了简便,在此不再赘述。For the description about whether the execution of the first operation by the network element intending to perform is abnormal, refer to the description in the method 400, and for simplicity, details are not repeated here.
应理解,意图执行网元也可以从第二网元接收第二操作的执行结果信息,意图执行请求消息中也可以包括第二操作的第二指示信息,意图执行网元也可以根据第二操作的第二指示信息和执行结果信息确定第二操作的执行是否出现异常,其实现方法与上述对第一操作描述的类似,为了简便,在此不再赘述It should be understood that the intention execution network element may also receive the execution result information of the second operation from the second network element, the intention execution request message may also include the second indication information of the second operation, and the intention execution network element may also receive the execution result information of the second operation according to the second operation The second indication information and the execution result information determine whether the execution of the second operation is abnormal. The implementation method is similar to that described above for the first operation. For the sake of simplicity, it will not be repeated here.
需要说明的是,本申请不对第一意图对应的操作的数量作出任何限定。在本实施例中,不对第一操作和第二操作的执行顺序作出任何限定,以下以意图执行网元确定第一操作的执行出现异常时,第二操作为已经执行成功或者正在执行的操作进行举例。It should be noted that the present application does not set any limitation on the number of operations corresponding to the first intent. In this embodiment, no limitation is made on the execution order of the first operation and the second operation. In the following, when the execution network element determines that the execution of the first operation is abnormal, the second operation is performed successfully or is being executed. example.
在一种可能的实现方式中,若意图执行请求消息中包括期待处理类型指示信息,该期待处理类型指示信息用于指示意图执行网元在确定第一操作的执行出现异常的情况下,是否需要向意图消费网元询问是否需要回退第二操作,若该处理类型指示信息指示需要向意图消费网元询问是否需要回退第二操作,则执行步骤S512至步骤S513。In a possible implementation, if the intended execution request message includes expected processing type indication information, the expected processing type indication information is used to indicate whether the intended execution network element needs to Inquiring whether the intended consumption network element needs to roll back the second operation, if the processing type indication information indicates that it is necessary to ask the intended consumption network element whether the second operation needs to be rolled back, then execute steps S512 to S513.
S512,当意图执行网元确定第一操作的执行出现异常时,意图执行网元向意图管理网元发送意图操作回退请求消息。S512. When the intent execution network element determines that the execution of the first operation is abnormal, the intent execution network element sends an intent operation rollback request message to the intent management network element.
该意图操作回退请求消息用于指示第二网元是否需要回退第二操作。The intended operation rollback request message is used to indicate whether the second network element needs to roll back the second operation.
关于意图操作回退请求消息的描述与方法400中对意图操作回退请求消息描述的类似,为了简便,在此不再赘述。The description of the intention operation rollback request message is similar to the description of the intention operation rollback request message in method 400, and for simplicity, details are not repeated here.
S513,意图管理网元向意图执行网元发送响应意图操作回退请求消息的意图操作回退响应消息,该意图操作回退响应消息用于指示是否需要回退第二操作。S513. The intent management network element sends an intent operation rollback response message in response to the intent operation rollback request message to the intent execution network element, where the intent operation rollback response message is used to indicate whether the second operation needs to be rolled back.
关于意图操作回退响应消息的描述与方法400中对意图操作回退响应消息描述的类似,为了简便,在此不再赘述。The description of the intended operation rollback response message is similar to the description of the intention operation rollback response message in method 400 , and will not be repeated here for simplicity.
S514,意图执行网元向第二网元发送回退指示信息。S514, the intention execution network element sends fallback instruction information to the second network element.
当意图执行网元确定第一操作的执行出现异常时,或者,意图操作回退响应消息用于指示需要回退第二操作的情况下,意图执行网元向第二网元发送回退指示信息。When the intended execution network element determines that the execution of the first operation is abnormal, or when the intended operation rollback response message is used to indicate that the second operation needs to be rolled back, the intended execution network element sends the rollback indication information to the second network element .
该回退指示信息用于指示回退第一意图的第二操作。The rollback instruction information is used to indicate rollback of the second operation of the first intention.
关于回退指示信息的描述与方法400中对回退指示信息描述的类似,为了简便,在此不再赘述。The description of the rollback indication information is similar to the description of the rollback indication information in method 400, and for simplicity, details are not repeated here.
S515,第二网元根据回退指示信息回退第二操作。S515. The second network element rolls back the second operation according to the rollback instruction information.
关于第二网元回退第二操作的描述与方法400中的描述类似,为了简便,在此不再赘述。The description about the rollback of the second operation by the second network element is similar to the description in method 400, and for simplicity, details are not repeated here.
若在意图执行请求消息中还包括进度指示信息,则该方法还包括步骤S516。If progress indication information is also included in the intention execution request message, the method further includes step S516.
S516,意图执行网元向意图管理网元发送操作执行进度通知消息。S516. The intention execution network element sends an operation execution progress notification message to the intention management network element.
该操作执行进度通知消息可以包括第一意图的标识和进度信息,有关进度信息的描述参见方法400中的有关描述,为了简便,在此不再赘述。The operation execution progress notification message may include the identifier of the first intent and progress information. For a description of the progress information, refer to the relevant description in method 400 , and details are not repeated here for simplicity.
可选地,若进度指示信息还用于指示了意图执行网元需要反馈进度信息的周期或频率,则意图执行网元可以根据该周期或频率对操作执行的进度进行监控,并按照该周期或频率向意图管理网元发送该操作执行进度通知消息。Optionally, if the progress indication information is also used to indicate the cycle or frequency at which the intended execution network element needs to feed back progress information, the intended execution network element can monitor the progress of the operation execution according to the cycle or frequency, and according to the cycle or frequency The frequency sends the operation execution progress notification message to the intent management network element.
若是意图消费网元需要获取该进度信息,则意图管理网元可以将该操作执行进度通知消息转发给意图消费网元。If the intended consumption network element needs to obtain the progress information, the intended management network element may forward the operation execution progress notification message to the intended consumption network element.
从而,在本申请中,若第一意图的某个操作的执行出现异常,可以回退第一意图的其它已经执行的操作,避免第一意图的其它操作一直处于不必要的执行中,对系统产生不必要的影响。Therefore, in this application, if there is an abnormality in the execution of a certain operation of the first intent, other operations that have been executed by the first intent can be rolled back to avoid unnecessary execution of other operations of the first intent. produce unnecessary effects.
在图3和图5所描述的实施例中,意图转译网元会向意图知识库发送意图知识查询消息,用于查询有关意图的相关信息,并在向意图执行网元发送的意图执行请求消息中携带该意图的相关信息,在本申请实施例中,意图执行请求消息也可以只携带意图决策过程中需要的信息,若意图执行网元需要执行其他流程,例如判断操作是否执行成功、判断操作是否出现异常以及确定执行多个操作的顺序等,意图执行网元可以根据需要向知识管理模块进行查询。In the embodiment described in Fig. 3 and Fig. 5, the intent translation network element will send an intent knowledge query message to the intent knowledge base to query relevant information about the intent, and the intent execution request message sent to the intent execution network element Carry the relevant information of the intention. In the embodiment of this application, the intention execution request message may only carry the information required in the intention decision-making process. If the intention execution network element needs to perform other processes, such as judging whether the operation is executed successfully, judging the operation Whether there is an exception and determine the sequence of executing multiple operations, etc., the intent execution network element can query the knowledge management module as needed.
图6示出了一种意图执行网元查询信息的方法600的一例示意性流程图。Fig. 6 shows a schematic flowchart of an example of a method 600 intended to perform network element query information.
S601,意图执行网元向意图知识库发送意图操作查询消息。S601. The intent execution network element sends an intent operation query message to the intent knowledge base.
该意图操作查询消息用于查询第一意图,或第一意图的第一操作。The intent-operation query message is used to query the first intent, or the first operation of the first intent.
可选地,该意图操作查询消息包括以下信息中的至少一项:第一操作的标识、第一意图的表达式以及查询类型。Optionally, the intent operation query message includes at least one of the following information: an identifier of the first operation, an expression of the first intent, and a query type.
例如,意图知识库中包括查询类型、查询输入信息和查询输出信息的映射关系,其中,查询输入信息可以是指查询该类型所需要输入的信息,查询输出信息可以是指查询该类型将输出的信息,意图执行网元根据需要确定查询类型,并在意图操作查询消息中携带所需的查询输入。For example, the intent knowledge base includes a mapping relationship between query types, query input information, and query output information, where the query input information can refer to the information that needs to be input for the query type, and the query output information can refer to the output information that the query type will output. information, the intent execution network element determines the query type as required, and carries the required query input in the intent operation query message.
作为示例而非限定,表1示出了一种查询类型、查询输入信息和查询输出信息的映射关系。As an example but not a limitation, Table 1 shows a mapping relationship among query types, query input information, and query output information.
表1:Table 1:
查询类型查询输入信息查询输出信息Query Type Query Input Information Query Output Information
type1/all意图表达式意图目标达成准则(fulfillmentCriterion)、执行条件(executioncondition)、相依事件(events)、操作执行对象(entityIDList)、操作指令(instruction)、执行顺序信息(stepInfo)、第一指示信息(例如,successindication)、第二指示信息(例如,exceptionindication)、回退方案信息(rollbacksolutionlist);type1/all intent expression intent goal achievement criterion (fulfillmentCriterion), execution condition (executioncondition), dependent events (events), operation execution object (entityIDList), operation instruction (instruction), execution sequence information (stepInfo), first instruction information (for example, successindication), second indication information (for example, exceptionindication), rollback scheme information (rollbacksolutionlist);
type2意图表达式执行条件(executioncondition)、相依事件(events)、操作执行对象(entityIDList);type2 intent expression execution condition (executioncondition), dependent events (events), operation execution object (entityIDList);
type3操作标识操作执行对象(entityIDList)、操作指令(instruction)、执行顺序信息(stepInfo)、第一指示信息(例如,successindication)、第二指示信息(例如,exceptionindication);type3 operation identification operation execution object (entityIDList), operation instruction (instruction), execution sequence information (stepInfo), first indication information (for example, success indication), second indication information (for example, exception indication);
type4操作标识操作执行对象(entityIDList)、操作指令(instruction)、执行顺序信息(stepInfo)、第一指示信息(例如,successindication)、第二指示信息(例如,exceptionindication)、回退方案信息(rollbacksolutionlist);type4 operation identification operation execution object (entityIDList), operation instruction (instruction), execution sequence information (stepInfo), first indication information (for example, successindication), second indication information (for example, exceptionindication), rollback scheme information (rollbacksolutionlist) ;
type5操作标识回退方案信息(rollbacksolutionlist);type5 operation identifier rollback solution information (rollbacksolutionlist);
可选地,S602,意图知识库获取查询结果。Optionally, in S602, the intent knowledge base acquires a query result.
例如,意图知识库根据意图操作查询消息中的查询类型和查询输入信息查询到对应的查询结果。For example, the intent knowledge base queries the corresponding query result according to the query type and query input information in the intent operation query message.
S603,意图知识库向意图执行网元发送响应意图操作查询消息的意图操作反馈消息。S603. The intention knowledge base sends an intention operation feedback message in response to the intention operation query message to the intention execution network element.
该意图操作反馈消息包括第一操作的标识以及查询获得的查询结果。The intended operation feedback message includes an identifier of the first operation and a query result obtained by querying.
从而,在本申请中,意图执行网元可以根据需要向意图知识库中查询所需要的信息,避免在意图转译请求消息中携带不必要的信息,从而可以增加系统处理意图的灵活性。Therefore, in this application, the intent execution network element can query the intent knowledge base for required information as needed, avoiding carrying unnecessary information in the intent translation request message, thereby increasing the flexibility of the system for processing intents.
图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 implement the functions of the intention execution network element, the intention knowledge base, the first network element, and the second network element in the above method embodiments, and thus can also realize the beneficial effects of the above method embodiments. In the embodiment of the present application, the communication device may be an intention-executing network element, an intention knowledge base, a first network element, or a second network element, or it may be an intention-executing network element, an intention knowledge base, or a , a module (such as a chip) in the second network element.
如图7所示,通信装置700包括处理单元710和收发单元720。通信装置700用于实现上述图2中所示的方法实施例中意图执行网元、意图知识库、第一网元、第二网元的功能。或者,通信装置700可以包括用于实现上述图2中所示的方法实施例中意图执行网元、意图知识库、第一网元、第二网元的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。As shown in FIG. 7 , a communication device 700 includes a processing unit 710 and a transceiver unit 720 . The communication device 700 is configured to implement the functions of the intent execution network element, the intent knowledge base, the first network element, and the second network element in the above method embodiment shown in FIG. 2 . Alternatively, the communication device 700 may include a module for implementing any function or operation of the intention execution network element, the intention knowledge base, the first network element, and the second network element in the method embodiment shown in FIG. 2 above, the module It can be fully or partially realized by software, hardware, firmware or any combination thereof.
当通信装置700用于实现图2所示的方法实施例中意图执行网元的功能时,收发单元720用于从意图知识库接收执行顺序信息,执行顺序信息用于指示执行第一意图的第一操作和第一意图的第二操作的顺序;处理单元710用于根据执行顺序信息确定意图执行网元向第一网元发送第一操作和意图执行网元向第二网元发送第二操作的发送顺序;收发单元910还用于根据发送顺序向第一网元发送第一操作和向第二网元发送第二操作。When the communication device 700 is used to implement the function of the intent execution network element in the method embodiment shown in FIG. An order of an operation and a second operation of the first intention; the processing unit 710 is configured to determine, according to the execution order information, that the network element intending to execute sends the first operation to the first network element and that the network element intending to execute sends the second operation to the second network element the sending order; the transceiver unit 910 is further configured to send the first operation to the first network element and send the second operation to the second network element according to the sending order.
从而,在本申请中,意图执行网元可以根据执行多个操作的顺序确定发送多个操作的发送顺序,使得多个操作可以按照顺序进行执行,使得多个操作之间可以相互配合,避免因未按照顺序执行导致意图操作执行失败或是未达到预期的效果,提高了系统执行意图的可靠性。Therefore, in this application, the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
可选地,当通信装置700用于实现图2所示的方法实施例中意图执行网元的功能时,该收发单元720还用于从第一网元接收第一操作的执行结果信息;处理单元710还用于根据执行结果信息确定第一操作是否执行成功。Optionally, when the communication device 700 is used to implement the function intended to execute the network element in the method embodiment shown in FIG. 2 , the transceiver unit 720 is also used to receive the execution result information of the first operation from the first network element; Unit 710 is further configured to determine whether the first operation is executed successfully according to the execution result information.
从而,在本申请中,意图执行网元可以收到操作的执行结果信息,并根据该执行结果信息判断该操作是否执行成功,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the intent execution network element can receive the execution result information of the operation, and judge whether the operation is successfully executed according to the execution result information, so as to monitor the execution status of the operation and improve the reliability of the system execution intent.
可选地,当通信装置700用于实现图2所示的方法实施例中意图执行网元的功能时,该收发单元720还用于从意图知识库接收第一指示信息,第一指示信息用于指示意图执行 网元确定第一操作是否执行成功。Optionally, when the communication device 700 is used to implement the function of the intention execution network element in the method embodiment shown in FIG. The execution network element determines whether the first operation is executed successfully in the instruction scheme.
从而,在本申请中,意图执行网元可以从意图知识库中获取第一指示信息,根据第一指示信息确定该操作是否执行成功,提高系统执行意图的可靠性。Therefore, in this application, the intention execution network element can obtain the first indication information from the intention knowledge base, and determine whether the operation is successfully executed according to the first indication information, so as to improve the reliability of the system for executing the intention.
可选地,当通信装置700用于实现图2所示的方法实施例中意图执行网元的功能时,该收发单元720具体用于向第一网元发送第一操作,在确定第一操作执行成功的情况下,向第二网元发送第二操作。Optionally, when the communication device 700 is used to implement the function intended to execute a network element in the method embodiment shown in FIG. 2 , the transceiver unit 720 is specifically configured to send the first operation to the first network element. If the execution is successful, the second operation is sent to the second network element.
从而,在本申请中,意图执行网元可以在确定前序操作执行成功的情况下,再下发后续操作,避免因为前序操作还未执行成功,就执行后续操作,导致操作失败或执行效果较差。Therefore, in this application, the intent-executing network element can issue subsequent operations after determining that the pre-order operations are executed successfully, so as to avoid performing subsequent operations because the pre-order operations have not been successfully executed, resulting in operation failure or execution effect poor.
可选地,当通信装置700用于实现图2所示的方法实施例中意图执行网元的功能时,该收发单元720还用于接收进度指示信息,进度指示信息用于指示装置需要反馈进度信息,进度信息用于指示第一操作和第二操作的执行进度。Optionally, when the communication device 700 is used to implement the function intended to execute the network element in the method embodiment shown in FIG. 2 , the transceiver unit 720 is also used to receive progress indication information, which is used to indicate that the device needs to feedback progress Information, the progress information is used to indicate the execution progress of the first operation and the second operation.
从而,在本申请中,可以要求意图执行网元反馈操作的执行进度,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
当通信装置700用于实现图2所示的方法实施例中意图知识库的功能时,收发单元720用于向意图执行网元发送执行顺序信息,执行顺序信息用于指示执行第一意图的第一操作和第一意图的第二操作的顺序。When the communication device 700 is used to realize the function of the intention knowledge base in the method embodiment shown in FIG. The sequence of one operation and the second operation for the first intent.
从而,在本申请中,意图执行网元可以根据执行多个操作的顺序确定发送多个操作的发送顺序,使得多个操作可以按照顺序进行执行,使得多个操作之间可以相互配合,避免因未按照顺序执行导致意图操作执行失败或是未达到预期的效果,提高了系统执行意图的可靠性。Therefore, in this application, the intention execution network element can determine the sending order of multiple operations according to the order in which multiple operations are executed, so that multiple operations can be executed in order, so that multiple operations can cooperate with each other, avoiding due to Failure to execute in order leads to the failure of the execution of the intended operation or the failure to achieve the expected effect, which improves the reliability of the system to execute the intention.
可选地,当通信装置700用于实现图2所示的方法实施例中意图知识库的功能时,收发单元720还用于向该意图执行网元发送第一指示信息,第一指示信息用于确定第一操作是否执行成功。Optionally, when the communication device 700 is used to realize the function of the intent knowledge base in the method embodiment shown in FIG. for determining whether the first operation is performed successfully.
当通信装置700用于实现图2所示的方法实施例中第一网元的功能时,该收发单元720用于接收第一操作;该处理单元710用于执行第一操作。When the communication device 700 is used to realize the function of the first network element in the method embodiment shown in FIG. 2 , the transceiver unit 720 is used to receive the first operation; the processing unit 710 is used to execute the first operation.
可选地,当通信装置700用于实现图2所示的方法实施例中第一网元的功能时,该收发单元720还用于发送第一操作的执行结果信息,该执行结果信息用于确定第一操作是否执行成功。Optionally, when the communication device 700 is used to realize the function of the first network element in the method embodiment shown in FIG. It is determined whether the first operation was performed successfully.
当通信装置700用于实现图2所示的方法实施例中第二网元的功能时,该收发单元910用于接收第二操作;该处理单元710用于执行第二操作。When the communication device 700 is used to realize the function of the second network element in the method embodiment shown in FIG. 2 , the transceiver unit 910 is used to receive the second operation; the processing unit 710 is used to execute the second operation.
有关上述处理单元710和收发单元720更详细的描述可以直接参考图2所示的方法实施例中相关描述直接得到,这里不加赘述。More detailed descriptions about the processing unit 710 and the transceiver unit 720 can be directly obtained by referring to the relevant descriptions in the method embodiment shown in FIG. 2 , and will not be repeated here.
如图7所示,通信装置700包括处理单元710和收发单元720。通信装置700用于实现上述图2中所示的方法实施例中意图执行网元、意图知识库、第一网元、第二网元的功能。或者,通信装置700可以包括用于实现上述图4中所示的方法实施例中意图执行网元、意图知识库、第一网元、第二网元的任一功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。As shown in FIG. 7 , a communication device 700 includes a processing unit 710 and a transceiver unit 720 . The communication device 700 is configured to implement the functions of the intent execution network element, the intent knowledge base, the first network element, and the second network element in the above method embodiment shown in FIG. 2 . Alternatively, the communication device 700 may include a module for implementing any function or operation of the intention execution network element, the intention knowledge base, the first network element, and the second network element in the method embodiment shown in FIG. 4 above, the module It can be fully or partially realized by software, hardware, firmware or any combination thereof.
当通信装置700用于实现图4所示的方法实施例中意图执行网元的功能时,收发单元 720用于从第一网元接收第一意图的第一操作的执行结果信息;处理单元710用于根据执行结果信息确定第一操作的执行出现异常;收发单元720还用于向第二网元发送回退指示信息,回退指示信息用于指示回退第一意图的第二操作。When the communication device 700 is used to implement the function of the intended execution network element in the method embodiment shown in FIG. 4 , the transceiver unit 720 is configured to receive the execution result information of the first operation of the first intention from the first network element; It is configured to determine that the execution of the first operation is abnormal according to the execution result information; the transceiving unit 720 is further configured to send rollback indication information to the second network element, where the rollback indication information is used to indicate rollback of the second operation with the first intention.
从而,在本申请中,若第一意图的某个操作的执行出现异常,可以回退第一意图的其它已经执行的操作,避免第一意图的其它操作一直处于执行中造成资源和信令的浪费,进而可以提高意图的执行效率。Therefore, in this application, if the execution of a certain operation of the first intent is abnormal, other operations that have been executed by the first intent can be rolled back, so as to avoid the resources and signaling caused by other operations of the first intent being executed all the time. Waste, which in turn can improve the execution efficiency of intentions.
可选地,当通信装置700用于实现图4所示的方法实施例中意图执行网元的功能时,该收发单元720还用于从意图知识库接收第二指示信息,第二指示信息用于指示意图执行网元确定第一操作的执行出现异常。Optionally, when the communication device 700 is used to implement the function of the intention execution network element in the method embodiment shown in FIG. The execution network element of the instruction map determines that the execution of the first operation is abnormal.
可选地,当通信装置700用于实现图4所示的方法实施例中意图执行网元的功能时,该处理单元710还用于根据执行结果信息与回退方案信息确定第二操作的回退方式。Optionally, when the communication device 700 is used to implement the function intended to execute the network element in the method embodiment shown in FIG. back way.
从而,在本申请中,意图执行网元可以向执行操作的网元指示回退操作的回退方式,避免不具备回退能力的网元不能成功回退操作,提高了系统执行意图的可靠性。Therefore, in this application, the intent execution network element can indicate the rollback mode of the rollback operation to the network element that performs the operation, so as to prevent the network element that does not have the rollback capability from being unable to roll back the operation successfully, and improves the reliability of the system to execute the intent .
可选地,当通信装置700用于实现图4所示的方法实施例中意图执行网元的功能时,该收发单元720具体用于向第一网元发送第一操作,在确定第一操作执行成功的情况下,向第二网元发送第二操作。Optionally, when the communication device 700 is used to implement the function intended to execute a network element in the method embodiment shown in FIG. 4 , the transceiver unit 720 is specifically configured to send the first operation to the first network element. If the execution is successful, the second operation is sent to the second network element.
从而,在本申请中,若第一意图的某个操作的执行出现异常,可以回退第一意图的其它已经执行的操作,避免第一意图的其它操作一直处于执行中造成资源和信令的浪费,进而可以提高意图的执行效率。可选地,当通信装置700用于实现图4所示的方法实施例中意图执行网元的功能时,该收发单元720还用于接收进度指示信息,进度指示信息用于指示装置需要反馈进度信息,进度信息用于指示第一操作和第二操作的执行进度,还用于根据进度指示信息发送进度信息。Therefore, in this application, if the execution of a certain operation of the first intent is abnormal, other operations that have been executed by the first intent can be rolled back, so as to avoid the resources and signaling caused by other operations of the first intent being executed all the time. Waste, which in turn can improve the execution efficiency of intentions. Optionally, when the communication device 700 is used to implement the function intended to execute the network element in the method embodiment shown in FIG. 4 , the transceiver unit 720 is also used to receive progress indication information, which is used to indicate that the device needs to feedback progress The progress information is used to indicate the execution progress of the first operation and the second operation, and is also used to send the progress information according to the progress indication information.
从而,在本申请中,可以要求意图执行网元反馈操作的执行进度,从而可以实现监控操作的执行状态,提高系统执行意图的可靠性。Therefore, in this application, the network element intending to execute can be required to feed back the execution progress of the operation, so that the execution status of the operation can be monitored and the reliability of the system executing the intent can be improved.
当通信装置700用于实现图4所示的方法实施例中意图知识库的功能时,收发单元720用于向意图执行网元发送第二指示信息,第二指示信息用于指示第一操作的执行是否出现异常。When the communication device 700 is used to realize the function of the intention knowledge base in the method embodiment shown in FIG. Whether the execution is abnormal.
从而,在本申请中,若第一意图的某个操作的执行出现异常,可以回退第一意图的其它已经执行的操作,避免第一意图的其它操作一直处于不必要的执行中,对系统产生不必要的影响,提高系统执行意图的可靠性。Therefore, in this application, if there is an abnormality in the execution of a certain operation of the first intent, other operations that have been executed by the first intent can be rolled back to avoid unnecessary execution of other operations of the first intent. Create unwanted effects that increase the reliability of the system's ability to carry out its intent.
可选地,当通信装置700用于实现图4所示的方法实施例中意图知识库的功能时,收发单元720还用于向该意图执行网元发送回退方案信息,回退方案信息用于确定第二操作的回退方式。Optionally, when the communication device 700 is used to realize the function of the intent knowledge base in the method embodiment shown in FIG. Used to determine the fallback mode of the second operation.
当通信装置700用于实现图4所示的方法实施例中第一网元的功能时,该收发单元720用于发送第一意图的第一操作的执行结果信息。When the communication device 700 is used to implement the function of the first network element in the method embodiment shown in FIG. 4 , the transceiving unit 720 is used to send execution result information of the first operation of the first intent.
当通信装置700用于实现图4所示的方法实施例中第二网元的功能时,该收发单元720用于接收回退指示信息,回退指示信息用于指示回退第一意图的第二操作;该处理单元710用于回退第二操作。When the communication device 700 is used to realize the function of the second network element in the method embodiment shown in FIG. Two operations; the processing unit 710 is configured to roll back the second operation.
有关上述处理单元710和收发单元720更详细的描述可以直接参考图3所示的方法实 施例中相关描述直接得到,这里不加赘述。More detailed descriptions about the processing unit 710 and the transceiver unit 720 can be directly obtained by referring to the related descriptions in the method embodiment shown in FIG. 3 , and will not be repeated here.
如图8所示,通信装置800包括处理器810和接口电路820。处理器810和接口电路820之间相互耦合。可以理解的是,接口电路820可以为收发器或输入输出接口。可选的,通信装置800还可以包括存储器830,用于存储处理器810执行的指令或存储处理器810运行指令所需要的输入数据或存储处理器810运行指令后产生的数据。As shown in FIG. 8 , the communication device 800 includes a processor 810 and an interface circuit 820 . The processor 810 and the interface circuit 820 are coupled to each other. It can be understood that the interface circuit 820 may be a transceiver or an input/output interface. Optionally, the communication device 800 may further include a memory 830 for storing instructions executed by the processor 810 or storing input data required by the processor 810 to execute the instructions or storing data generated after the processor 810 executes the instructions.
当通信装置800用于实现图2或图4所示的方法时,处理器810用于实现上述处理单元1010的功能,接口电路820用于实现上述收发单元1020的功能。When the communication device 800 is used to implement the method shown in FIG. 2 or FIG. 4 , the processor 810 is used to implement the functions of the above-mentioned processing unit 1010 , and the interface circuit 820 is used to implement the functions of the above-mentioned transceiver unit 1020 .
当通信装置800用于实现图2或图4所示的方法时,通信装置800包括处理器810和接口电路820。处理器810和接口电路820之间相互耦合。可以理解的是,接口电路820可以为收发器或输入输出接口。可选的,通信装置800还可以包括存储器830,用于存储处理器810执行的指令或存储处理器810运行指令所需要的输入数据或存储处理器810运行指令后产生的数据。When the communication device 800 is used to implement the method shown in FIG. 2 or FIG. 4 , the communication device 800 includes a processor 810 and an interface circuit 820 . The processor 810 and the interface circuit 820 are coupled to each other. It can be understood that the interface circuit 820 may be a transceiver or an input/output interface. Optionally, the communication device 800 may further include a memory 830 for storing instructions executed by the processor 810, or storing input data required by the processor 810 to execute the instructions, or storing data generated by the processor 810 after executing the instructions.
当通信装置800用于实现图2或图4所示的方法时,处理器810用于实现上述处理单元710的功能,接口电路820用于实现上述收发单元720的功能。When the communication device 800 is used to implement the method shown in FIG. 2 or FIG. 4 , the processor 810 is used to implement the functions of the processing unit 710 , and the interface circuit 820 is used to implement the functions of the transceiver unit 720 .
当上述通信装置为应用于意图执行网元的芯片时,该意图执行网元芯片实现上述方法实施例中意图执行网元的功能。该意图执行网元芯片从意图执行网元中的其它模块(如射频模块或天线)接收信息,该信息是意图知识库发送给意图执行网元的;或者,该意图执行网元芯片向意图执行网元中的其它模块(如射频模块或天线)发送信息,该信息是意图执行网元发送给第一网元或第二网元的。When the above-mentioned communication device is a chip applied to a network element intended to execute, the chip of the network element intended to execute implements the function of the network element intended to execute in the above method embodiment. The intention execution network element chip receives information from other modules (such as radio frequency modules or antennas) in the intention execution network element, and the information is sent to the intention execution network element by the intention knowledge base; Other modules in the network element (such as a radio frequency module or an antenna) send information, and the information is intended to be sent by the network element to the first network element or the second network element.
当上述通信装置为应用于意图知识库的芯片时,该意图知识库芯片实现上述方法实施例中意图知识库的功能。该意图知识库芯片从意图知识库中的其它模块(如射频模块或天线)接收信息,该信息是意图执行网元发送给意图知识库的;或者,该意图知识库芯片向意图知识库中的其它模块(如射频模块或天线)发送信息,该信息是意图知识库发送给意图执行网元的。When the communication device is a chip applied to an intent knowledge base, the intent knowledge base chip implements the functions of the intent knowledge base in the foregoing method embodiments. The intention knowledge base chip receives information from other modules (such as radio frequency modules or antennas) in the intention knowledge base, and the information is sent to the intention knowledge base by the intention execution network element; or, the intention knowledge base chip sends information to the intention knowledge base Other modules (such as radio frequency modules or antennas) send information, which is sent from the intent knowledge base to the intent execution 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 (20)

  1. 一种意图执行的方法,其特征在于,所述方法包括:A method intended to be performed, characterized in that the method comprises:
    意图执行网元从意图知识库接收执行顺序信息,所述执行顺序信息用于指示执行第一意图的第一操作和所述第一意图的第二操作的顺序;The intention execution network element receives execution order information from the intention knowledge base, where the execution order information is used to indicate the order of executing the first operation of the first intention and the second operation of the first intention;
    所述意图执行网元根据所述执行顺序信息确定所述意图执行网元向第一网元发送第一操作和所述意图执行网元向第二网元发送第二操作的发送顺序;determining, according to the execution sequence information, a sending sequence in which the intention-to-execute network element sends the first operation to the first network element and the intention-to-execute network element sends the second operation to the second network element;
    所述意图执行网元根据所述发送顺序向所述第一网元发送所述第一操作和向所述第二网元发送所述第二操作。The intent execution network element sends the first operation to the first network element and sends the second operation to the second network element according to the sending order.
  2. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    所述意图执行网元从所述第一网元接收所述第一操作的执行结果信息;receiving, by the intention execution network element, execution result information of the first operation from the first network element;
    所述意图执行网元根据所述执行结果信息确定所述第一操作是否执行成功。The intention execution network element determines whether the first operation is executed successfully according to the execution result information.
  3. 如权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, further comprising:
    所述意图执行网元从意图知识库接收第一指示信息,所述第一指示信息用于指示所述意图执行网元确定所述第一操作是否执行成功。The intent execution network element receives first indication information from the intent knowledge base, where the first indication information is used to instruct the intent execution network element to determine whether the first operation is executed successfully.
  4. 如权利要求1至3中任一项所述的方法,其特征在于,所述意图执行网元根据所述发送顺序向所述第一网元发送所述第一操作和向所述第二网元发送所述第二操作,包括:The method according to any one of claims 1 to 3, wherein the intent execution network element sends the first operation to the first network element and sends the operation to the second network element according to the sending order. The element sends the second operation, including:
    所述意图执行网元向所述第一网元发送所述第一操作,在所述意图执行网元确定所述第一操作执行成功的情况下,所述意图执行网元向所述第二网元发送所述第二操作。The intent execution network element sends the first operation to the first network element, and if the intent execution network element determines that the first operation is successfully executed, the intention execution network element sends the second operation to the second The network element sends the second operation.
  5. 如权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, further comprising:
    所述意图执行网元接收进度指示信息,所述进度指示信息用于指示所述意图执行网元需要反馈进度信息,所述进度信息用于指示所述第一操作和所述第二操作的执行进度;The intention execution network element receives progress indication information, the progress indication information is used to indicate that the intention execution network element needs to feed back progress information, and the progress information is used to indicate the execution of the first operation and the second operation schedule;
    所述意图执行网元根据所述进度指示信息发送所述进度信息。The intention execution network element sends the progress information according to the progress indication information.
  6. 如权利要求5所述的方法,其特征在于,所述进度指示信息还用于指示所述意图执行网元需要反馈所述进度信息的周期或频率。The method according to claim 5, wherein the progress indication information is further used to indicate the period or frequency at which the intention execution network element needs to feed back the progress information.
  7. 一种意图执行的方法,其特征在于,所述方法包括:A method intended to be performed, characterized in that the method comprises:
    意图知识库向意图执行网元发送执行顺序信息,所述意图执行网元接收来自所述意图知识库的所述执行顺序信息,所述执行顺序信息用于指示执行第一意图的第一操作和所述第一意图的第二操作的顺序;The intent knowledge base sends execution sequence information to the intent execution network element, and the intent execution network element receives the execution sequence information from the intent knowledge base, where the execution sequence information is used to indicate the execution of the first operation of the first intent and a sequence of second operations of said first intent;
    所述意图执行网元根据所述执行顺序信息确定所述意图执行网元向第一网元发送第一操作和所述意图执行网元向第二网元发送第二操作的发送顺序;determining, according to the execution sequence information, a sending sequence in which the intention-to-execute network element sends the first operation to the first network element and the intention-to-execute network element sends the second operation to the second network element;
    所述意图执行网元根据所述发送顺序向所述第一网元发送所述第一操作和向所述第二网元发送所述第二操作。The intent execution network element sends the first operation to the first network element and sends the second operation to the second network element according to the sending order.
  8. 如权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, further comprising:
    所述第一网元向所述意图执行网元发送所述第一操作的执行结果信息,所述意图执行网元接收来自所述第一网元的所述执行结果信息;The first network element sends the execution result information of the first operation to the intended execution network element, and the intended execution network element receives the execution result information from the first network element;
    所述意图执行网元根据所述执行结果信息确定所述第一操作是否执行成功。The intention execution network element determines whether the first operation is executed successfully according to the execution result information.
  9. 如权利要求8所述的方法,其特征在于,所述方法还包括:The method of claim 8, further comprising:
    所述意图知识库向所述意图执行网元发送第一指示信息,所述意图执行网元接收来自所述意图知识库的所述第一指示信息,所述第一指示信息用于指示所述意图执行网元确定所述第一操作是否执行成功。The intention knowledge base sends first indication information to the intention execution network element, and the intention execution network element receives the first indication information from the intention knowledge base, the first indication information is used to indicate the The intent execution network element determines whether the first operation is executed successfully.
  10. 如权利要求7至9中任一项所述的方法,其特征在于,所述意图执行网元根据所述发送顺序向所述第一网元发送所述第一操作和向所述第二网元发送所述第二操作,包括:The method according to any one of claims 7 to 9, wherein the intention execution network element sends the first operation to the first network element and the second network element to the second network element according to the sending order. The element sends the second operation, including:
    所述意图执行网元向所述第一网元发送所述第一操作,在所述意图执行网元确定所述第一操作执行成功的情况下,所述意图执行网元向所述第二网元发送所述第二操作。The intent execution network element sends the first operation to the first network element, and if the intent execution network element determines that the first operation is successfully executed, the intention execution network element sends the second operation to the second The network element sends the second operation.
  11. 如权利要求7至10中任一项所述的方法,其特征在于,所述方法还包括:所述意图执行网元接收进度指示信息,所述进度指示信息用于指示所述意图执行网元需要反馈进度信息,所述进度信息用于指示所述第一操作和所述第二操作的执行进度;The method according to any one of claims 7 to 10, characterized in that, the method further comprises: the intention execution network element receiving progress indication information, the progress indication information being used to indicate the intention execution network element It is necessary to feed back progress information, where the progress information is used to indicate the execution progress of the first operation and the second operation;
    所述意图执行网元根据所述进度指示信息发送所述进度信息。The intention execution network element sends the progress information according to the progress indication information.
  12. 如权利要求11所述的方法,其特征在于,所述进度指示信息还用于指示所述意图执行网元需要反馈所述进度信息的周期或频率。The method according to claim 11, wherein the progress indication information is further used to indicate the period or frequency at which the intention execution network element needs to feed back the progress information.
  13. 一种意图执行的装置,其特征在于,所述装置包括收发单元和处理单元,A device intended to be executed, characterized in that the device comprises a transceiver unit and a processing unit,
    所述收发单元,用于从意图知识库接收执行顺序信息,所述执行顺序信息用于指示执行第一意图的第一操作和所述第一意图的第二操作的顺序;The transceiving unit is configured to receive execution sequence information from the intent knowledge base, where the execution sequence information is used to indicate the sequence of executing the first operation of the first intent and the second operation of the first intent;
    所述处理单元,用于根据所述执行顺序信息确定所述意图执行网元向第一网元发送第一操作和所述意图执行网元向第二网元发送第二操作的发送顺序;The processing unit is configured to determine, according to the execution order information, a sending order in which the intention-to-execute network element sends the first operation to the first network element and the intention-to-execute network element sends the second operation to the second network element;
    所述收发单元,还用于根据所述发送顺序向所述第一网元发送所述第一操作和向所述第二网元发送所述第二操作。The transceiving unit is further configured to send the first operation to the first network element and send the second operation to the second network element according to the sending sequence.
  14. 如权利要求13所述的装置,其特征在于,The apparatus of claim 13 wherein,
    所述收发单元,还用于从所述第一网元接收所述第一操作的执行结果信息;The transceiving unit is further configured to receive execution result information of the first operation from the first network element;
    所述处理单元,还用于根据所述执行结果信息确定所述第一操作是否执行成功。The processing unit is further configured to determine whether the first operation is executed successfully according to the execution result information.
  15. 如权利要求14所述的装置,其特征在于,The apparatus of claim 14 wherein,
    所述收发单元,还用于从意图知识库接收第一指示信息,所述第一指示信息用于指示所述意图执行网元确定所述第一操作是否执行成功。The transceiving unit is further configured to receive first indication information from an intent knowledge base, where the first indication information is used to instruct the intent execution network element to determine whether the first operation is executed successfully.
  16. 如权利要求13至15中任一项所述的装置,其特征在于,Apparatus according to any one of claims 13 to 15, characterized in that
    所述收发单元,具体用于向所述第一网元发送所述第一操作,在确定所述第一操作执行成功的情况下,向所述第二网元发送所述第二操作。The transceiving unit is specifically configured to send the first operation to the first network element, and send the second operation to the second network element when it is determined that the first operation is performed successfully.
  17. 如权利要求13至16中任一项所述的装置,其特征在于,Apparatus according to any one of claims 13 to 16, characterized in that
    所述收发单元,还用于接收进度指示信息,所述进度指示信息用于指示所述装置需要反馈进度信息,所述进度信息用于指示所述第一操作和所述第二操作的执行进度;The transceiving unit is further configured to receive progress indication information, the progress indication information is used to indicate that the device needs to feed back progress information, and the progress information is used to indicate the execution progress of the first operation and the second operation ;
    所述处理单元,还用于根据所述进度指示信息发送所述进度信息。The processing unit is further configured to send the progress information according to the progress indication information.
  18. 如权利要求17所述的装置,其特征在于,所述进度指示信息还用于指示所述装置需要反馈所述进度信息的周期或频率。The device according to claim 17, wherein the progress indication information is further used to indicate the period or frequency at which the device needs to feed back the progress information.
  19. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器用于执行存储器中存储的计算机程序,以使得所述装置实现如权利要求1至6中任一项所述的方法,或者以使得所述装置实现如权利要求7至12中任一项所述的方法。A communication device, characterized in that it includes 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 6 , or to enable the device to implement the method according to any one of claims 7 to 12.
  20. 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序在 计算机上运行时,使得所述计算机执行如权利要求1至6中任一项所述的方法,或者使得所述计算机执行如权利要求7至12中任一项所述的方法。A computer-readable storage medium, characterized by comprising a computer program, which, when the computer program is run on a computer, causes the computer to execute the method according to any one of claims 1 to 6, or causes the The computer executes the method according to any one of claims 7 to 12.
PCT/CN2022/127222 2021-10-30 2022-10-25 Intention execution method and apparatus WO2023072023A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111278495.0 2021-10-30
CN202111278495.0A CN116095706A (en) 2021-10-30 2021-10-30 Method and device for intention execution

Publications (1)

Publication Number Publication Date
WO2023072023A1 true WO2023072023A1 (en) 2023-05-04

Family

ID=86160468

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/127222 WO2023072023A1 (en) 2021-10-30 2022-10-25 Intention execution method and apparatus

Country Status (2)

Country Link
CN (1) CN116095706A (en)
WO (1) WO2023072023A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822699A (en) * 2019-11-15 2021-05-18 华为技术有限公司 Method and device for executing intention
CN113094146A (en) * 2021-05-08 2021-07-09 腾讯科技(深圳)有限公司 Interaction method, device and equipment based on live broadcast and computer readable storage medium
CN113141269A (en) * 2020-01-20 2021-07-20 北京华为数字技术有限公司 Data acquisition method, device and system
WO2021213632A1 (en) * 2020-04-21 2021-10-28 Nokia Solutions And Networks Oy Intent fulfillment for automated control of communication networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822699A (en) * 2019-11-15 2021-05-18 华为技术有限公司 Method and device for executing intention
CN113141269A (en) * 2020-01-20 2021-07-20 北京华为数字技术有限公司 Data acquisition method, device and system
WO2021213632A1 (en) * 2020-04-21 2021-10-28 Nokia Solutions And Networks Oy Intent fulfillment for automated control of communication networks
CN113094146A (en) * 2021-05-08 2021-07-09 腾讯科技(深圳)有限公司 Interaction method, device and equipment based on live broadcast and computer readable storage medium

Also Published As

Publication number Publication date
CN116095706A (en) 2023-05-09

Similar Documents

Publication Publication Date Title
US20200322879A1 (en) Slice information update method and apparatus
US11431560B2 (en) Method, apparatus, and system for controlling self-optimization switch
US11290344B2 (en) Policy-driven method and apparatus
EP2723117B1 (en) Managed unit device, self-optimization method and system
US20220377653A1 (en) Slice information update method and apparatus
US11653194B2 (en) Techniques to provide resiliency and overload control for access and mobility management functions
US20220417862A1 (en) Intent state management method, network element, and system
EP4192082A1 (en) Communication method, apparatus and system
WO2021244377A1 (en) Model updating method and apparatus
WO2022061940A1 (en) Model data transmission method, and communication apparatus
EP2524445B1 (en) Real time event-driven automation for energy management in a wireless network
WO2023072023A1 (en) Intention execution method and apparatus
WO2023125089A1 (en) Fault detection method and apparatus
WO2022247611A1 (en) Method and apparatus for processing intention
US10999404B2 (en) Method, apparatus and system for SON coordination depending on SON function priority
WO2024012373A1 (en) Ai model information transmission method and apparatus, and device
US20230344717A1 (en) Policy conflict management method, apparatus, and system
WO2023217023A1 (en) Sidelink positioning method and apparatus, terminal, server, and wireless access network device
WO2024045608A1 (en) Method, apparatus and system for executing network management service intention
WO2023040899A1 (en) Communication method and apparatus therefor
WO2023213134A1 (en) Data reporting method, apparatus, and system
WO2023169435A1 (en) Knowledge updating method and communication apparatus
WO2024032552A1 (en) Communication method and apparatus, and storage medium
WO2024021935A1 (en) Communication method and apparatus
US20240129199A1 (en) Data analysis method and apparatus, electronic device, and storage medium

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: 22885900

Country of ref document: EP

Kind code of ref document: A1