WO2021104501A1 - Intention processing method and related device - Google Patents

Intention processing method and related device Download PDF

Info

Publication number
WO2021104501A1
WO2021104501A1 PCT/CN2020/132468 CN2020132468W WO2021104501A1 WO 2021104501 A1 WO2021104501 A1 WO 2021104501A1 CN 2020132468 W CN2020132468 W CN 2020132468W WO 2021104501 A1 WO2021104501 A1 WO 2021104501A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
network
intention
state
execution
Prior art date
Application number
PCT/CN2020/132468
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 WO2021104501A1 publication Critical patent/WO2021104501A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/024Standardisation; Integration using relational databases for representation of network management data, e.g. managing via structured query language [SQL]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures

Definitions

  • This application relates to the field of network management technology, and in particular to an intention processing method and related devices.
  • 3GPP SA5 adopts the method of full network resource modeling and full management of network objects in the definition of the traditional northbound interface (itf-N).
  • the network management system (NMS) directly controls all management objects in the southbound through configuration management (CM), performance management (PM), fault management (FM), and other types of operations. Perform additions, deletions, and revisions. This not only raises the operator’s management and operation and maintenance thresholds, but also makes it difficult to achieve inter-vendor interoperability due to different equipment manufacturers.
  • 3GPP SA5 initiated the study of intent-driven management service (IDMS) (3GPP TR 28.812) ), the main solution ideas can be summarized as:
  • the NMS does not directly manage the network resource model (NRM). Only the intent model is retained in the NMS, and only vendor-independent intent expressions are transmitted on the northbound interface, thereby shielding the implementation of the equipment vendors from the differentiated details. Intention expressions only describe the intention to be achieved without involving how to achieve the intention. In this way, only basic conceptual knowledge in the wireless field can be used to complete the expression of intent, thereby lowering the threshold of operation and maintenance.
  • the intent model is deployed through the element management system (EMS).
  • EMS element management system
  • the EMS receives the intent request sent by the NMS, it uses the intent system (IDM MnSproducer) to obtain the desired goal according to the network status. Perform the operation, and perform the operation to achieve the intended purpose, thereby achieving the intent.
  • the intention system is deployed in the EMS. Since the EMS needs to manage multiple network elements, for each intent of each network element, the logic and control of the specific operations performed are all in the EMS, so that the EMS is executing In the process of operating to achieve the intention, there is a large number of signaling interactions with multiple network elements, making EMS a performance bottleneck. If an intent model is deployed on each network element, when the object of the intent is all network elements in a certain area, the same intent needs to be sent to each network element in the area, and the intent model in each network element All need to perform the same translation processing, which will waste a lot of resources.
  • the present application provides an intent processing method and related devices, which can reduce the load of equipment deploying an intent system and also save resources.
  • an intention processing method including:
  • the first network element receives the intention
  • the first network element obtains the operation requirement and the identification of the second network element according to the intention
  • the first network element sends an operation requirement to the second network element according to the identifier of the second network element, and the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element.
  • the second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • the intention includes the demand description information and the description information of the second network element.
  • the first network element obtains the operation demand and the identification of the second network element according to the intention, including: the first network element obtains the identification of the second network element from the first database.
  • the first database includes the association relationship between the attribute information of the second network element and the identification of the second network element; the first network element obtains from the second database according to the demand description information
  • the second database includes the relationship between the requirement description information and the operation requirements.
  • the description information of the second network element includes attribute condition information of the second network element.
  • the first network element can obtain the second network element whose attribute information meets the attribute condition information from the multiple network elements according to the attribute condition information of the second network element.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element. In this way, the second network element can control its own operating state according to the operation in the operation demand, so as to achieve the intention.
  • an intention processing method including:
  • the first network element receives the intention
  • the first network element obtains the operation requirement and the identification of the second network element according to the intention
  • the first network element obtains the identity of the third network element
  • the first network element sends the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate an operation realization intention corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element.
  • the third network element controls the service operation of the second network element according to the operational requirements to achieve the intention.
  • a third network element can control the business operation of one or a small number of second network elements according to operational requirements.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • acquiring the identity of the third network element by the first network element includes: the first network element acquires the identity of the third network element according to the intention; or the first network element acquires the third network element according to the identity of the second network element.
  • the identity of the network element In this way, the first network element obtains the identifier of the third network element according to the intention, so that the type of operation requirements for processing of the third network element is more single.
  • the third network element can be dedicated to processing the operation requirements corresponding to the requirement description information, or processing a small number of operation requirements corresponding to the requirement description information, so that the third network element can be better optimized to make the processing efficiency of the operation requirements. Higher, which can improve the efficiency of intention achievement.
  • the first network element obtains the identity of the third network element according to the identity of the second network element, so that the third network element is dedicated to controlling the second network element to achieve the intent, or is used to control a small number of network elements to achieve the intent.
  • the third network element only needs to interact with the second network element to achieve the intent, or interact with a small number of network elements to achieve the intent, thereby improving the efficiency of achieving the intent and reducing the hardware requirements of the third network element.
  • the intention includes the demand description information and the description information of the second network element.
  • the first network element obtains the operation demand and the identification of the second network element according to the intention, including: the first network element obtains the identification of the second network element from the first database.
  • the first database includes the association relationship between the attribute information of the second network element and the identification of the second network element; the first network element obtains from the second database according to the demand description information
  • the second database includes the relationship between the requirement description information and the operation requirements.
  • the description information of the second network element includes attribute condition information of the second network element.
  • the first network element can obtain the second network element whose attribute information meets the attribute condition information from the multiple network elements according to the attribute condition information of the second network element.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • the third network element can control the operating state of the second network element according to the operation in the operation demand, so as to achieve the intention.
  • an intention processing method including:
  • the second network element receives the operation demand sent by the first network element, and the operation demand is obtained by the first network element according to the received intention;
  • the second network element realizes the intention according to the operation corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element, and the second network element controls its own service operation according to the operation requirements to achieve the intent.
  • the process of achieving the intention there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, the instruction format It is used to indicate the format of the operation instruction executed by the second network element. In this way, the second network element can control its own operating state according to the operation in the operation demand, so as to achieve the intention.
  • the operation requirements include fulfillment criteria, one or more operations, and the execution conditions corresponding to each operation;
  • the second network element according to the operation requirements corresponding to the operation realization intention includes: when the second network element recognizes the operation When the type of is the first type, the second network element obtains its own network status; when the network status does not meet the reaching criteria, the second network element obtains the first target that meets the execution conditions from one or more operations according to the network status Operate, and adjust the running state according to the first target operation until the network state meets the reaching criterion. In this way, the second network element adjusts the operation state according to the operation of the first type until the network state after the adjustment of the operation state meets the achievement criterion, that is, the intention is achieved.
  • the operation requirements include fulfillment criteria, one or more operations, and the execution conditions corresponding to each operation;
  • the second network element according to the operation requirements corresponding to the operation realization intention includes: when the second network element recognizes the operation When the type is the second type, the second network element obtains its own network status; when its own network status does not meet the reaching criteria, the second network element obtains from one or more operations that meet the execution conditions according to its own network status The second target operation, and the operation status is adjusted according to the second target operation; the second network element obtains the network status after the adjustment operation status; when the network status after the adjustment operation status does not meet the reaching criteria, the second network element judges the adjustment operation status Whether the subsequent network state meets the execution conditions corresponding to the second target operation; when the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation, the second network element is modified according to the achievement criteria and the network state after adjusting the operating state The second target operation is to adjust the operating status according to the modified second target operation, and obtain the network status after adjusting the
  • the second network element adjusts the operating state according to the operation of the optimized type, and modifies the operation according to the difference between the network state after the adjusted operating state and the reached criterion, and then adjusts the operating state according to the modified operation until the operating state is adjusted
  • the subsequent network state meets the reaching criteria, that is, the intention is reached.
  • the operation requirement also includes a reward formula.
  • the second network element modifies the second target operation according to the achievement criterion and the network state after adjusting the operating state, including: the second network element modifies the second target operation according to the achievement criterion, reward formula, and adjustment
  • the network status after the running status modifies the second target operation.
  • the reward formula is sent by the first network element to the second network element, and the second network element does not need to calculate the reward formula, thereby reducing the calculation amount of the second network element and saving resources.
  • an intention processing method including:
  • the third network element receives the identification and operation requirements of the second network element sent by the first network element, and the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
  • the third network element controls the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element.
  • the third network element controls the service operation of the second network element according to the operational requirements to achieve the intention.
  • a third network element can control the business operation of one or a small number of second network elements according to operational requirements.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • the third network element can control the operating state of the second network element according to the operation in the operation demand, so as to achieve the intention.
  • the operation requirements include fulfillment criteria, one or more execution operations, and execution conditions corresponding to each operation; the third network element controls the business operation of the second network element according to the operations corresponding to the operation requirements to achieve
  • the intention includes: when the third network element recognizes that the operation type of the operation is the first type, the third network element obtains the network status of the second network element; when the network status does not meet the reaching criteria, the third network element, according to the network status, Obtain the first target operation that meets the execution condition from one or more operations, and use the first target operation to control the service operation of the second network element until the network status meets the achievement criterion.
  • the third network element controls the second network element to adjust the operating state according to the first type of operation until the network state after the adjusted operating state meets the achievement criterion, that is, the intention is achieved.
  • the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation; the third network element controls the business operation of the second network element according to the operations corresponding to the operation requirements to achieve the intention including :
  • the third network element recognizes that the type of operation is the second type, the third network element obtains the network status of the second network element; when the network status of the second network element does not meet the reached criteria, the third network element The network status of the second network element obtains the second target operation that meets the execution conditions from one or more operations, and controls the second network element to adjust the operation status according to the second target operation; the third network element obtains the adjustment operation of the second network element The network state after the state; when the network state after adjusting the operating state does not meet the reaching criteria, the second network element determines whether the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation; when the network after adjusting the operating state When the status meets the execution conditions corresponding to the second target operation, the third network element modifies the second target operation according to the
  • the third network element controls the second network element to adjust the operating state according to the operation of the optimized type, and modifies the operation according to the difference between the network state after the adjusted operating state and the reached criteria, and then adjusts the operating state according to the modified operation , Until the network status after adjusting the operating status meets the reaching criteria, that is, the intention is reached.
  • the operation requirement also includes a reward formula.
  • the third network element modifies the second target operation according to the achievement criterion and the network state after adjusting the operating state, including: the third network element modifies the second target operation according to the achievement criterion, reward formula and adjustment
  • the network status after the running status modifies the target operation.
  • the reward formula is sent by the first network element to the third network element, and the third network element does not need to calculate the reward formula, thereby reducing the calculation amount of the third network element and saving resources.
  • an embodiment of the present application provides a first network element, including:
  • Receiving module used to receive intent
  • the processing module is used to obtain the operation requirements and the identification of the second network element according to the intention
  • the sending module is configured to send the operation requirement to the second network element according to the identifier of the second network element, and the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element.
  • the second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • the intention includes demand description information and description information of the second network element
  • the processing module includes:
  • the first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
  • the second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
  • the description information of the second network element includes attribute condition information of the second network element.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • an embodiment of the present application provides a first network element, including:
  • Receiving module used to receive intent
  • Processing module used to obtain operation requirements and the identification of the second network element according to the intention
  • the obtaining module is used to obtain the identifier of the third network element
  • the sending module is configured to send the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate the operation realization intention corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element.
  • the third network element controls the service operation of the second network element according to the operational requirements to achieve the intention.
  • a third network element can control the business operation of one or a small number of second network elements according to operational requirements.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • the intention includes demand description information and description information of the second network element
  • the processing module includes:
  • the first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
  • the second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
  • the acquisition module includes:
  • the third acquiring unit is used to acquire the identity of the third network element according to the intention.
  • the fourth acquiring unit is configured to acquire the identifier of the third network element according to the identifier of the second network element.
  • the description information of the second network element includes attribute condition information of the second network element.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • an embodiment of the present application provides a second network element, including:
  • the receiving module is configured to receive the operation requirement sent by the first network element, and the operation requirement is obtained by the first network element according to the received intention;
  • the execution module is used to realize the intention according to the operation corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element.
  • the second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
  • Execution modules include:
  • the first obtaining unit is configured to obtain its own network status when it is recognized that the type of operation is the first type
  • the first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to its own network state when the network state does not meet the achievement criterion, and adjust the running state according to the first target operation until The state of its own network complies with the reaching criteria.
  • the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
  • Execution modules include:
  • the second acquiring unit is configured to acquire its own network status when it is recognized that the type of operation is the second type;
  • the second execution unit is used to obtain a second target operation that meets the execution conditions from one or more operations according to the own network state when the network state of the own does not meet the achievement criterion, and adjust the running state according to the second target operation;
  • the judging unit is used to obtain the network state after adjusting the operating state; and when the network state after adjusting the operating state does not meet the achievement criterion, judging whether the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation;
  • the third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation
  • the target operation adjusts the operating state, and obtains the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
  • the fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations
  • the second target operation is to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
  • the operation requirement includes a reward formula.
  • the third execution unit is specifically used to:
  • an embodiment of the present application provides a third network element, including:
  • the receiving module is configured to receive the identification and operation requirements of the second network element sent by the first network element, and the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
  • the execution module is used to control the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element.
  • the third network element controls the service operation of the second network element according to the operational requirements to achieve the intention.
  • a third network element can control the business operation of one or a small number of second network elements according to operational requirements.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • the operation requirements include fulfillment criteria, one or more execution operations, and execution conditions corresponding to each operation;
  • Execution modules include:
  • the first obtaining unit is configured to obtain the network status of the second network element when the third network element recognizes that the operation type of the operation is the first type;
  • the first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to the network state when the network state does not meet the achievement criterion, and use the first target operation to control the service of the second network element Run until the network status of the second network element meets the reached criteria.
  • the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
  • Execution modules include:
  • the second acquiring unit is configured to acquire the network status of the second network element when the third network element recognizes that the type of operation is the second type;
  • the second execution unit is configured to obtain a second target operation that meets the execution conditions from one or more operations according to the network state of the second network element when the network status of the second network element does not meet the achievement criterion, and according to the second target operation
  • the target operation controls the second network element to adjust the operating state
  • the judging unit is used to obtain the network state of the second network element after the adjusted operating state; when the adjusted operating state of the network does not meet the achievement criterion, determine whether the adjusted operating state of the network meets the corresponding execution of the second target operation condition;
  • the third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation
  • the target operation controls the second network element to adjust the operating state and obtain the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
  • the fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations
  • the second target operation is to control the second network element to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
  • the operation requirement also includes a reward formula.
  • the third execution unit is specifically used to:
  • an embodiment of the present application provides a device.
  • the device includes a processor and a memory, and the memory stores computer instructions; the processor executes the computer instructions stored in the memory, so that the device executes the intention processing method of any one of the above-mentioned embodiments of the first aspect, Or the intention processing method of any embodiment of the above second aspect, or the intention processing method of any embodiment of the above third aspect, or the intention processing method of any embodiment of the above fourth aspect.
  • the present application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium, and the computer instructions instruct the server to execute the intention processing method provided by any one of the embodiments of the first aspect, or The intention processing method provided by any embodiment of the above second aspect, or the intention processing method of any embodiment of the above third aspect, or the intention processing method of any embodiment of the above fourth aspect.
  • Figure 1 is a network architecture diagram involved in a network system in the prior art
  • Figure 2 is a network architecture diagram involved in the intention processing system in the prior art
  • Figure 3a is another network architecture diagram involved in the intention processing system in the prior art
  • Figure 3b is another network architecture diagram involved in the intention processing system in the prior art
  • FIG. 4 is a network architecture diagram of an intention processing system according to an embodiment of the application.
  • FIG. 5a is a schematic flowchart of an intention processing method according to an embodiment of the application.
  • FIG. 5b is a schematic diagram of another flow of the intention processing method according to an embodiment of the application.
  • FIG. 6 is another network architecture diagram of the intention processing system according to an embodiment of the application.
  • FIG. 7a is another schematic flowchart of the intention processing method according to an embodiment of the application.
  • FIG. 7b is a schematic diagram of still another process of the intention processing method according to an embodiment of the application.
  • FIG. 8 is a schematic diagram of modules of a first network element according to an embodiment of the application.
  • FIG. 9 is a schematic diagram of another module of the first network element according to an embodiment of the application.
  • FIG. 10 is a schematic diagram of modules of a second network element according to an embodiment of the application.
  • FIG. 11 is a schematic diagram of modules of a third network element according to an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of a device according to an embodiment of the application.
  • FIG. 13 is a schematic structural diagram of a device according to an embodiment of the application.
  • FIG. 14 is a schematic structural diagram of a device according to an embodiment of the application.
  • FIG. 1 is a network architecture diagram of a network system 100 in the prior art.
  • the network system includes an operational support system (OSS) 101, NMS102, EMS103, and one or more network elements 104.
  • OSS operational support system
  • OSS is a comprehensive management system for operators' services. Operators can implement order management, billing, user management, or product management functions through OSS.
  • the NMS can be a management system responsible for network operation, management, and maintenance functions.
  • the NMS can provide five basic functions: fault, configuration, accounting, performance or security (fault, configuration, accounting, performance or security, FCAPS).
  • the management objects of the NMS may include all entities in the network, such as: network equipment, applications, server systems, routers, switches, hubs, auxiliary equipment (for example, uninterrupted power system (UPS)) and so on.
  • NMS can provide network administrators with a system-wide network view.
  • the EMS may be a network element management software that complies with the International Telecommunication Union's Telecommunication Standardization Sector (ITU-T) standard, and can manage one or more network elements of a certain category.
  • ITU-T International Telecommunication Union's Telecommunication Standardization Sector
  • EMS allows users to individually manage all the characteristics of each network element.
  • FIG. 2 is a network architecture diagram of an intention processing system in the prior art.
  • the intention processing system includes an intention sender, an intention system, and one or more network elements.
  • the intent sender can send the intent to the intent system.
  • the intent include the goal to be achieved, but does not include the specific operation of how to achieve the goal.
  • the intent system is used to process the intent of the sender of the intent. After the intention system receives the intention sent by the intention sender, the intention system obtains the object to be executed according to the intention.
  • the operation object usually includes multiple network elements.
  • the operation object in FIG. 2 includes network element 1, network element 2, and network element. Element 3... and network element n (n is a positive integer).
  • the intent system recognizes the intent in the intent, and performs corresponding operations according to the recognition result to control the operation of these multiple network elements, so as to achieve the intent.
  • the intention system controls the operation of multiple network elements to achieve the intention, a large amount of signaling interaction is required between the intention system and the multiple network elements.
  • the OSS101 and NMS102 in the network system 100 can be used as the intention senders in the intention management system, and the EMS 103 in the network system 100 can be used to deploy the intention system of the intention processing system.
  • the intention system In the network architecture of the intention processing system as shown in Figure 3a, the intention system is deployed in the EMS. EMS usually needs to manage multiple network elements. If the EMS receives the intent, the objects to be executed according to the intent are network element 1, network element 2, network element 3... and network element n (n is a positive integer) shown in Figure 3a, then the intention system according to the intention Send control instructions to the network element 1-network element n to control the operation of the network element to achieve the intention.
  • the intent system When the intent system sends a control command to the network element 1 to the network element n, there will be a large number of signaling interactions between the EMS and each network element of the network element 1 to the network element n, which will inevitably increase the load of the EMS. Even if the intent system is not deployed in the EMS, but the intent translation system is deployed in a separate device, when there are many intent execution objects, the load of the device that deploys the intent system alone will be too large.
  • the intention processing system adopts the network architecture shown in Figure 3b, and deploys the intention system on each of the network elements 1-network element n, which will lead to waste Storage resources of the network element.
  • the EMS After the EMS receives the intent, it will send the same intent to each network element in network element 1-network element n, and each network element in network element 1-network element n will receive the same intent and interpret it. The same intention, this also wastes a lot of computing resources.
  • Fig. 4 is a network architecture diagram of an intention processing system according to an embodiment of the application.
  • the intention processing system includes a first network element and a second network element.
  • the first network element is the network element that receives the intention. After receiving the intention, the first network element obtains the operation requirement and the identifier of the second network element according to the intention, and then sends the operation requirement to the second network element according to the identifier of the second network element.
  • the second network element can control its own business operation according to operational requirements to achieve the intention. In this way, the intention is centrally translated by the first network element, and the first network element first translates the intention into an operation requirement, and then sends the operation requirement to one or more second network elements.
  • One or more second network elements respectively control their own business operations according to operational requirements to achieve their intentions. Then, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
  • FIG. 5a is a schematic flowchart of an intention processing method according to an embodiment of the application.
  • the intention processing method includes the following steps:
  • the first network element receives the intention
  • the first network element receives the intention from the intention sender.
  • the first network element may be a network element deployed with NMS, may also be a network element deployed with EMS, or may be a network element not deployed with NMS or EMS.
  • the intention sender may be an OSS or a user.
  • the first network element may receive an intent from the OSS, or receive an intent input by a user through the first network element.
  • the intended sender may be an NMS, an OSS, or a user.
  • the first network element may receive the intent from the NMS, may also receive the intent from the OSS, and may also receive the intent input by the user through the first network element.
  • the intended sender may be EMS, NMS, OSS, or user.
  • the first network element may receive an intent from the EMS, NMS, or OSS, and may also receive an intent for input through the first network element.
  • the intention includes demand description information and descriptive information of the second network element.
  • the intention sender can provide the intention by means of an intention expression.
  • the intention expression includes an intention-driven object part and an intention-driven operation part, and the intention-driven object part includes the attribute description information of the second network element.
  • the attribute description information of the second network element may specifically be attribute condition information required by the intention-driven object, that is, the attribute condition information of the second network element.
  • the attribute condition information of the second network element may include, but is not limited to, the network element type condition, the network element equipment model condition, the geographic location range to which the network element belongs, the deployment time range of the network element, and so on.
  • the intention-driven operation part includes the requirement description information of the operation requirement corresponding to the intention.
  • the intention sender can provide an intention expression to express the intention according to the actual intention demand. Specifically, the intention expression is as follows:
  • the intent-driven object part is "5G base stations in Nanshan District, Shenzhen", where “Nanshan District, Shenzhen” is the geographic location range to which the network element belongs, and "5G base station” is the network element equipment type condition.
  • the intention-driven operation part includes the requirement description information of the operation requirement obtained by abstracting and simplifying the intention requirement.
  • the first network element can obtain the corresponding operation requirement according to the requirement description information.
  • the intention is not limited to being provided by way of intention expression, and the intention expression is not limited to the above-mentioned form.
  • the intention sender may provide the intention in other ways.
  • the first network element obtains the operation requirement and the identifier of the second network element according to the intention.
  • the intent includes the requirement description information and the description information of the second network element.
  • the description information of the second network element includes attribute condition information of the second network element.
  • the first network element obtains the identifier of the second network element that meets the attribute condition information.
  • the attribute condition information may include, but is not limited to, geographic location range, deployment time range, network element type, network element device model, and command format that can be executed by the network element.
  • the first network element obtains the operation requirement corresponding to the requirement description information.
  • the requirement description information includes an intent index.
  • the first network element may first identify the requirement description information to obtain the intent index, and then obtain the operation requirement corresponding to the intent index.
  • the requirement description information includes "adjust the voice data packet loss rate (volte_loss_rate) to less than 1%", then the first network element can recognize that the intent index is "voice data packet loss rate”.
  • the second network element can achieve the intention according to the operation in the operation requirement.
  • the implementation manner for the first network element to obtain the operation requirements and the identification of the second network element according to the intention may refer to the description of the subsequent FIG. 5b.
  • the first network element sends an operation requirement to the second network element according to the identifier of the second network element.
  • the requirement description information includes an intent index and an intent target.
  • the operation requirements corresponding to the intent index obtained by the first network element include parameters to be filled. After the first network element obtains the operation requirement according to the intent index, it can fill in the parameters to be filled in the operation requirement according to the intent target to obtain the filled operation requirement. Then the first network element sends the filled operation demand to the second network element. For example, if the requirement description information includes "adjust the voice data packet loss rate (volte_loss_rate) to less than 1%", the first network element can recognize that the intent index is "voice data packet loss rate" and the intent target is "1% or less”.
  • the operation requirements corresponding to the intent index include an achievement criterion, multiple operations, and execution conditions corresponding to each operation.
  • the achievement condition in the achievement criterion is a parameter to be filled. The first network element can obtain the achievement condition of 1% in the achievement criterion according to the intention target "below 1%".
  • the requirement description information includes an intent index.
  • the operation requirements corresponding to the intent index obtained by the first network element do not include the parameters to be filled.
  • the first network element may send the operation requirements obtained from the second database to the second network element. For example, if the demand description information is to perform load balancing adjustments on various cells in Nanshan District, Shenzhen, the first network element can recognize that the intent index is load balancing adjustment, and the first network element obtains the load balancing adjustment from the second database. Corresponding operation requirements, which include load balancing operations.
  • the second network element realizes the intention according to the operation in the operation requirement.
  • the operation in the operation requirement includes an operation instruction, and the second network element can implement the intention by executing the operation instruction.
  • the first network element after receiving the intention, the first network element obtains the operation requirement and the identifier of the second network element according to the intention, and then sends the operation requirement to the second network element according to the identifier of the second network element.
  • the second network element realizes the intention according to the operation in the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element.
  • the second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • the intention processing method in the embodiments of the present application further includes:
  • S505 The second network element sends an intention fulfillment message to the first network element.
  • the first network element receives the intention fulfillment message, and the intention fulfillment message includes the identifier of the intention, it can be confirmed that the second network element has fulfilled the intention.
  • the identifier of the intention may also be sent to the second network element.
  • the intention accomplishment message sent by the second network element to the first network element may include the identifier of the intention.
  • the achieved intent can be determined according to the identifier of the intent in the intent fulfillment message.
  • FIG. 5b is a schematic flowchart of an intention processing method according to an embodiment of the application.
  • the first network element acquiring the operation requirement and the identification of the second network element according to the intention includes the following steps S5021 and S5022.
  • the first network element obtains the identifier of the second network element whose attribute information matches the description information from the first database;
  • the first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element. Specifically, the first database includes the association relationship between the attribute information of the multiple network elements and the identifier of each network element. According to the description information of the second network element, the first network element obtains the identifier of the second network element whose attribute information matches the description information from the first database. For example, the description information of the second network element includes "5G base station in Nanshan District, Shenzhen", and the description information includes the geographic location range "Nanshan District, Shenzhen" corresponding to the geographic location attribute, and the network element corresponding to the network element type attribute Type condition "5G base station".
  • the first network element obtains the identifier of the second network element whose geographic location attribute in the attribute information meets the geographic location range and the network element type attribute meets the network element type condition from the first database. It should be noted that the content of the description information is not limited to the above examples, and the above examples are only used for explanation and do not constitute a restriction on the application.
  • the first network element obtains the operation requirement from the second database according to the requirement description information.
  • the second database includes the relationship between the requirement description information and the operation requirement.
  • the operation requirements in the second database include operations, or operations, and one or more of the following: reaching criteria, execution constraints, reward formulas, operation type information and execution conditions that need to be met to perform the operation, instruction format, and the second network Correspondence of the identity of the meta.
  • Achievement criterion is a condition for measuring the achievement of an intent.
  • the execution constraint is the constraint that needs to be satisfied when the intention is realized according to the operation.
  • the reward formula is used to adjust the parameter value in the operation according to the network state of the second network element.
  • the instruction format is used to instruct the second network element to execute the format of the operation instruction.
  • the second database can be deployed according to regions.
  • the instruction format in the operation requirement includes the correspondence between the identifier of the network element capable of executing the operation requirement and the instruction format in the area corresponding to the second database.
  • the instruction format corresponding to the identifier of each network element is the format of the operation instruction when the network element executes the operation instruction in the operation requirement.
  • the instruction format may be a format of an operation instruction supported by the corresponding second network element.
  • the operation requirements corresponding to the requirement description information may only include operations; the operation requirements may also include operations, and reach criteria, execution constraints, reward formulas, type information of the operations, execution conditions and instructions that need to be met to perform the operations Any one or more of the corresponding relationship between the format and the identifier of the second network element.
  • the operational requirements may include only operations, operations and achievement criteria, or operations, attainment criteria, execution constraints, and reward formulas. They may also include operations, attainment criteria, execution constraints, reward formulas, and instruction formats. Correspondence of the identifier of the second network element.
  • the requirement description information includes an intent index
  • the second database stores multiple intent indexes and operation requirements corresponding to each intent index.
  • the intention index may be the key intention information obtained by the first network element through semantic analysis of the requirement description information.
  • the demand description information is to adjust the load balance of each cell in Nanshan District, Shenzhen.
  • the first network element can recognize that the key information of the intention is load balancing adjustment.
  • the first network element uses the intent key information as an intent index, and obtains the operation demand corresponding to the load balancing adjustment from the second database.
  • the intent index can also be a character string that can express the requirements of the schematic diagram.
  • the first network element can obtain the corresponding operation requirement from the second database according to the character string.
  • the index table includes multiple intent indexes and intent description information corresponding to each intent index.
  • the intention sender can obtain the intention index corresponding to the intention description information that matches the intention that needs to be expressed from the index table according to the intention description information of each index information. Then the intended sender provides the index information as part of the demand description information to the first network element.
  • the first network element obtains the operation requirement corresponding to the intention index from the second database.
  • the first network element can perform semantic analysis on the demand description information provided by the intention sender to obtain the key information of the intention, and then obtain the string of the intention description information and the key information of the intention from the index table as the intention index, and then use the intention
  • the index obtains the operation requirement corresponding to the intent index from the second database.
  • the correspondence between the achievement criterion, operation type, execution condition, instruction format, and network element identification is optional. That is to say, the operation requirements corresponding to the intent index may not include the corresponding relationship between the achievement criterion, operation type, execution condition, instruction format and the identification of the network element. It may also include the achievement criterion, operation type, execution condition, and instruction format. Any one or more of the corresponding relationships of the identifiers of the network elements.
  • the content of the operation requirement corresponding to the intention index is not limited to the examples in Table 1. In other embodiments, the operation requirement corresponding to the intention index may include more or less content.
  • the first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element
  • the second database includes the association relationship between the requirement description information and the operation requirement.
  • the first network element can use the first database and the second database to translate the intent demand description information into operation demands, and obtain the identification of the second network element, and then send the operation demand to the second network element, so that the second network element
  • the network element can adjust the operating state according to the operational requirements to achieve the intention. This can reduce the number of signaling transmissions between the first network element and the second network element when the first network element controls the second network element to adjust the operating state according to the intention to achieve the intention, thereby reducing the load of the first network element.
  • the operation requirement acquired by the first network element from the second database includes the correspondence between the instruction format and the identifier of the network element.
  • the first network element sends the corresponding relationship between the instruction format and the identifier of the network element to the second network element, and the second network element combines the corresponding relationship between the instruction format and the identifier of the network element in the operation requirement according to its own identifier, Get the instruction format of the operation instruction when the operation instruction in the operation requirement is executed.
  • the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
  • the operation requirement acquired by the first network element from the second database includes the correspondence between the instruction format and the identifier of the network element.
  • the first network element obtains the instruction format of the operation instruction when the second network element executes the operation instruction in the operation request in combination with the corresponding relationship between the instruction format in the operation requirement and the identifier of the network element, and Send the instruction format as an operation requirement to the second network element.
  • the second network element adjusts the operation state according to the operation in the operation demand, it can convert the operation instruction in operation into the instruction format according to the instruction format, and then execute the converted operation instruction to adjust the operation state, thereby improving The efficiency of the second network element to execute the operation instruction.
  • the second network element realizes the intention according to the operation in the operation requirement, including the following steps S5040-S5049.
  • the second network element obtains the type of operation in the operation requirement.
  • the type of operation may include, but is not limited to, workflow type, optimization type, and instruction type, for example.
  • the operation requirement includes operation type information
  • the second network element can obtain the operation type according to the operation type information in the operation requirement.
  • the type information of the operation included in the operation requirement may be a type identifier. In this way, the second network element can obtain the type of operation according to the type identification in the operation requirement.
  • the operation requirement does not include the type identification of the operation.
  • the first network element obtains the operation requirement according to the intention, it analyzes the characteristic information of the operation in the operation requirement to obtain the type information of the operation, and sends the type information to the second network element.
  • the second network element obtains the type of operation in the operation requirement according to the type information sent by the first network element.
  • the second network element executes step S5042.
  • the second network element executes step S5044 to identify the type of operation in the operation requirement
  • the second network element executes step S5048;
  • the first type may be, for example, a workflow type.
  • the operation requirements corresponding to the operations of the first type include an achievement criterion, one or more operations, and execution conditions corresponding to each operation.
  • the second network element adjusts the operation state according to the operation of the workflow type until the network state after the adjustment of the operation state meets the achievement criterion, that is, the intention is reached.
  • the second type may be an optimized type, for example.
  • the operation requirements corresponding to the second type of operation include fulfillment criteria, one or more operations of the second type, and individual execution conditions for each operation.
  • the second network element adjusts the operating state according to the operation of the optimized type, and modifies the operation according to the difference between the network state after the adjusted operating state and the reached criteria, and then adjusts the operating state according to the modified operation until the operating state is adjusted.
  • the network status meets the reaching criteria, that is, reaching the intention.
  • the third type may be an instruction type, for example.
  • the operation requirements corresponding to the third type of operation include one or more operations and the execution conditions of each operation.
  • the second network element adjusts the operation state according to the operation in the operation demand.
  • the second network element obtains its own network status, and judges whether its own network status meets the achievement criterion in the operation requirement, if so, it can be determined that the intention is reached, if not, step S5042 is executed;
  • the achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type.
  • the second network element recognizes that the type of operation in the operation requirement is the first type, it obtains the parameter value of each parameter type in the achievement criterion according to its own network state. If the parameter value corresponding to each parameter type in the achievement criterion meets the achievement condition, the second network element may determine that its own network state meets the achievement criterion; otherwise, the second network element determines that its own network state does not meet the achievement criterion.
  • the requirement description information is to adjust the voice data packet loss rate to less than 1%
  • the achievement criterion includes the parameter type: voice data packet loss rate.
  • the achievement condition corresponding to this parameter type is less than or equal to 1%.
  • the second network element continues to perform step S5041. If the second network element determines that the network status meets the achievement criteria in the operational requirements, the network status of the second network element changes, and the second network element detects that its own network status does not meet the achievement criteria, the second network element The first network element sends an achieved status change message.
  • the achievement status change message is used to notify the first network element that the network status of the second network element no longer meets the achievement criterion corresponding to the intention, and the second network element is in the intention unfulfilled state.
  • the second network element obtains a first target operation that meets the execution conditions from one or more operations required by the operation according to its own network status, and adjusts it according to the first target operation Running status, after adjusting the running status, return to step S5041.
  • the execution condition of each operation can be understood as a condition that the network state of the second network element needs to meet when the operation is executed.
  • the execution condition may specifically include one or more network state parameters used to measure the network state and a parameter condition corresponding to each network state parameter.
  • the second network element obtains the parameter value corresponding to each network state parameter according to its own network state. If the parameter value corresponding to each state parameter condition in the execution condition meets the parameter condition, the second network element can confirm that its own network state meets the execution condition, and set the operation corresponding to the execution condition as the first target operation. Otherwise, the second network element confirms that the network status does not meet the execution condition.
  • the requirement description information is to adjust the voice data packet loss rate to less than 1%.
  • the operation requirements corresponding to the requirement description information include operation a and operation b.
  • the execution condition of operation a is that the voice data packet loss rate is greater than 1% and less than or It is equal to 5%
  • the execution condition b of operation b is that the voice data packet loss rate is greater than 5% and less than or equal to 10%.
  • the network state parameter of the execution condition a is the voice data packet loss rate
  • the parameter condition corresponding to the execution condition a is greater than 1% and less than or equal to 5%
  • the network state parameter of the execution condition b is the voice data packet loss rate
  • the parameter condition for the execution condition b is greater than 5% and less than or equal to 10%.
  • the second network element controls its own service operation according to the first target operations to adjust the running state. After adjusting the operating status, the second network element returns to perform step S5041 again to determine whether its own network status meets the reaching criterion. If the network status does not meet the achievement criterion, the second network element performs step S5042 again, according to its own network status, re-obtains the first target operation that meets the execution conditions from one or more operations required by the operation, and according to the first target operation The target operation adjusts the running state. In this way, the second network element cyclically executes steps S5051 and S5042 until the network status meets the reaching criterion.
  • Each of the one or more operations includes an operation instruction, so after the second network element obtains the first target operation, it can execute the operation instruction of the first target operation to control its own service operation, thereby adjusting the operation status.
  • the first target operation in the embodiment of the present application is a variable.
  • the second network element will retrieve the first target operation that meets the execution conditions from one or more operations according to the network status. .
  • the second network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the execution conditions in the operation requirements are optional.
  • the second network element may use this operation as the first target operation, and adjust the running state according to the first target operation.
  • the operation requirements corresponding to the operations of the first type further include execution constraints.
  • the second network element always satisfies the execution constraint in the process of adjusting the operating state according to the operation to realize the intention.
  • the execution constraint can be set to make the second network element's operating status. In the process of realizing this intent, the business operation status always meets the requirements.
  • the operation requirement sent by the first network element to the second network element includes the correspondence between the identifier of the network element and the instruction format
  • the second network element executes the operation instruction in the first target operation, according to the network element
  • the corresponding relationship between the identifier and the instruction format and its own identifier acquire the instruction format of the operation instruction when the operation instruction is executed, and then convert the operation instruction in the first target operation into the instruction format to obtain the converted operation instruction.
  • the second network element then executes the operation instruction after the format conversion.
  • the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
  • the second network element obtains its own network status, and judges whether its own network status meets the reaching criteria;
  • step S5043 please refer to the explanation of step S5041. In order to avoid redundancy, it will not be repeated here.
  • the second network element obtains a second target operation that meets the execution conditions according to its own network status, and adjusts the running status according to the second target operation;
  • Each of the one or more operations includes an operation instruction, so after the second network element obtains the second target operation, it can execute the operation instruction of the second target operation to control its own service operation, thereby adjusting the operation status.
  • the second network element sends an intention execution failure message to the first network element.
  • the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the operation requirements corresponding to the second type of operation further include execution constraints.
  • the second network element always satisfies the execution constraint in the process of adjusting the operating state according to the operation to realize the intention.
  • the execution constraint can be set to make the second network element's operating status. In the process of realizing this intent, the business operation status always meets the requirements.
  • the second network element obtains the network state after adjusting the operating state, and determines whether the network state after adjusting the operating state meets the achievement criterion, if so, confirms that the intention is achieved, if not, executes step S5046;
  • the achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type.
  • the second network element adjusts the operating state, according to the network state after the adjusted operating state, the parameter value of each parameter type in the achievement criterion is obtained. If according to the network state after adjusting the operating state, it is confirmed that the parameter value of each parameter type in the achievement criterion meets the achievement condition, the second network element can determine that the network state after the adjustment of the operating state meets the achievement criterion; otherwise, the second network element The network element determines that the network status after adjusting the operating status does not meet the reaching criteria.
  • step S5046 When the network state after the adjusted operating state does not meet the reaching criterion, the second network element determines whether the adjusted operating state of the network meets the execution condition corresponding to the second target operation, and if it does not meet the execution condition of the second target operation, execute step S5047, if If yes, step S5048 is executed.
  • the second network element re-acquires a second target operation that meets the execution condition from one or more operations according to the network state after adjusting the operating state, and adjusts the operating state according to the re-acquired second target operation. After the second network element adjusts the operating state, it returns to step S5045.
  • the network state of the second network element has changed, and the network state of the second network element may not meet the execution condition corresponding to the second target operation obtained according to the network state before the adjustment. Then after adjusting the operating state, it is determined whether the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and when the adjusted operating state does not meet the execution conditions corresponding to the second target operation, The second target operation that meets the execution conditions is re-acquired according to the network state after the operating state is adjusted. In this way, the second target operation performed by the second network element can be made consistent with the network state after the operating state is adjusted.
  • step S5044 determines that the second target operation is operation b, and adjusts the operating state according to operation b. Then step S5045 is executed.
  • the second network element obtains that the voice data packet loss rate after adjusting the operating state is 4%. If the voice data packet loss rate after adjusting the operating state is greater than 1% and less than 5%, it can be confirmed that the operating state is adjusted. The network status of does not meet the reaching criteria, and the network status after adjusting the operating status does not meet the execution conditions corresponding to the second target operation.
  • the second network element Since the voice data packet loss rate after adjusting the operating state is 4% meets the execution condition a of operation a, the second network element re-determines operation a as the second target operation according to the voice data packet loss rate after adjusting the operating state of 4%. And adjust the running state according to operation a.
  • the second network element modifies the second target operation according to the achievement criterion, and adjusts the running state according to the modified second target operation. After adjusting the operating state, the second network element returns to perform step S5045.
  • the second network element adjusts the operation instruction in the second operation according to the difference between the parameter value of each parameter type and the achievement condition corresponding to the parameter type in the achievement criterion.
  • the second network element can obtain the reward formula according to the achievement criterion, and then adjust the operation instruction in the second operation according to the difference between the parameter value of each parameter type in the achievement criterion and the achievement condition corresponding to the parameter type and the reward formula, so that After the second network element adjusts the operating state according to the adjusted operation instruction, the network state of the second network element is closer to reaching the criterion. Performing steps S5046 and S5048 multiple times in this way can make the network status of the second network element gradually approach the reaching criterion until it meets the reaching criterion.
  • the operation requirement includes a reward formula.
  • the operation requirements obtained by the first network element from the second database according to the requirement description information include an achievement criterion, a reward formula, one or more operations, and execution conditions for performing each operation.
  • the operational requirements obtained by the first network element from the second database include the achievement criteria, one or more operations, and the execution conditions for executing each operation, but does not include the reward formula
  • the first network element can obtain the reward formula according to the achievement criterion in the operation requirement, and will send the reward formula to the second network element. In this way, the second network element can receive the reward formula from the first network element, which can reduce the data processing volume of the second network element.
  • the operational requirements include constraints.
  • the second network element needs to meet the constraint condition in the process of adjusting the operating state according to the operation.
  • the second network element can obtain a reward formula according to the constraint condition and the achievement criterion.
  • the first network element obtains the reward formula according to the constraint condition and the achievement criterion, and sends the reward formula to the second network element.
  • Step S5045 is executed after adjusting the operating state. In this way, steps S5045-S5048 are cyclically executed until the network state after adjusting the operating state meets the reaching criterion.
  • step S5044 the second network element regards the operation as the second target operation, and adjusts the operating state according to the second target operation; in step S5044, In S5045, if the network state after adjusting the operating state does not meet the reaching criterion, step S5048 is executed until the network state after adjusting the operating state meets the reaching criterion; if it meets the reaching criterion, confirming that the intention is reached. In this way, it is unnecessary to perform step S5046 and step S5047.
  • the operation requirement sent by the first network element to the second network element includes the correspondence between the identifier of the network element and the instruction format
  • the second network element executes the operation instruction in the second target operation, according to its own
  • the corresponding relationship between the identifier, the identifier of the network element, and the instruction format obtains the instruction format of the operation instruction when the operation instruction is executed, and then converts the operation instruction in the second target operation into the instruction format to obtain the converted operation instruction.
  • the second network element then executes the operation instruction after the format conversion.
  • the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
  • step S505 is executed. In this way, when the first network element receives the intention fulfillment message, it can be confirmed that the second network element has fulfilled the intention.
  • the second network element adjusts the operating state according to the operation in the operation demand.
  • the operations in the operation requirements include operation instructions.
  • the second network element adjusts the operating state by executing the operation instruction.
  • step S505 may be performed; when the execution of the intention fails, the second network element may send a message of failure to execute the intention to the first network element. In this way, the second network element can feed back the execution of the intention to the first network element in time.
  • the second network element obtains the execution conditions from multiple operations according to its own network status The third target operation, and adjust the running state according to the third target operation.
  • the second network element adjusts the operating state by executing the third target operation. If the second network element successfully adjusts the operating state according to the third target operation, it confirms that the intention is achieved. If the second network element does not obtain the third target operation that meets the execution conditions, or obtains the third target operation but does not successfully execute the operation instruction of the third target operation, the second network element sends the intention execution failure to the first network element news. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the operation is the third target operation
  • the second network element adjusts the operation state according to the operation. Specifically, the second network element executes the operation instruction of the one operation to adjust the operating state. After the second network element performs the one operation and completes the adjustment of the operating state, it confirms that the intention is achieved. If there is no operation instruction for successfully executing the one operation, the second network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the operation requirements corresponding to the third type of operation further include execution constraints.
  • the second network element needs to always meet the execution constraint during the process of adjusting the operating state according to the operation in the operation demand.
  • the operation requirement sent by the first network element to the second network element includes the corresponding relationship between the identifier of the network element and the instruction format
  • the second network element executes the operation instruction in the third target operation, it is based on its own
  • the corresponding relationship between the network identifier, the identifier of the network element, and the instruction format obtains the instruction format of the operation instruction when the operation instruction is executed, and then converts the operation instruction in the third target operation into the instruction format to obtain the converted operation instruction.
  • the second network element then executes the operation instruction after the format conversion.
  • the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
  • the second network element can execute the corresponding state adjustment scheme according to different operation types and operation requirements, so as to achieve the intention.
  • the second network element sends an intention execution failure message to the first network element.
  • the second network element can promptly feed back to the first network element when the intention cannot be successfully executed, so that the intention sender can learn about the execution of the intention in time.
  • the second network element may stop adjusting the network state according to the operation in the operation demand; or
  • a network element receives the intention execution failure message sent by the second network element, it sends a stop execution instruction to the second network element to instruct the second network element to stop adjusting the network state according to the operation in the operation requirement. In this way, it can be avoided that the second network element performs operations many times for a long time but fails to achieve the intention, which results in wasting the resources of the second network element.
  • the second network element when the type of operation is the first type or the second type, can detect its own network status at a preset time interval. If the network status does not meet the reaching criterion, the second network element sends a message of unfulfilled intention to the first network element. If the network status meets the achievement criterion, the second network element sends an intention achievement message to the first network element. In this way, the first network element can promptly feed back the intention execution status to the intention sender according to the intention unfulfilled message, the intention execution failure message, or the intention fulfillment message sent by the second network element.
  • FIG. 6 is a network architecture diagram of an intention processing system according to another embodiment of the application.
  • the intention processing system includes a first network element, a second network element, and a third network element.
  • the first network element is used to receive the intent. After the first network element receives the intent, it obtains the operation requirement, the identifier of the second network element, and the identifier of the third network element according to the intent.
  • the first network element sends the operation requirement and the identification of the second network element to the third network element.
  • the third network element processes the operation requirement, and performs signaling interaction with the second network element to control the second network element to achieve the intention.
  • the number of the second network element is one or more.
  • the number of third network elements may be one or more, and the number of third network elements is less than or equal to the number of second network elements.
  • the number of the second network element is multiple, the number of the third network element is also multiple, and when the number of the second network element is one, the number of the third network element is one.
  • a third network element can control the service operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • FIG. 7a is another flowchart of the intention processing method according to an embodiment of the present application.
  • Intent processing methods include:
  • the first network element receives the intention.
  • step S701 For the explanation of step S701, refer to the explanation of step S501 in the above-mentioned embodiment. To avoid redundancy, I will not repeat them here.
  • the first network element obtains the operation requirement and the identifier of the second network element according to the intention.
  • step S502 in the foregoing embodiment are also applicable to step S702 in this embodiment. In order to avoid redundancy, details are not repeated here.
  • the implementation manner of obtaining the operation requirement and the identification of the second network element by the first network element according to the intention may refer to the description of the subsequent FIG. 7b.
  • the first network element obtains the identity of the third network element.
  • the first network element obtains the identity of the third network element according to the intention. Specifically, the first network element may obtain the identifier of the third network element corresponding to the demand description information from the third database according to the intended demand description information.
  • the third data stores the corresponding relationship between the requirement description information and the identifier of the third network element. In this way, the type of operation requirements for the processing of the third network element is more single.
  • the third network element can be dedicated to processing the operation requirements corresponding to the requirement description information, or processing a small number of operation requirements corresponding to the requirement description information, so that the third network element can be better optimized to make the processing efficiency of the operation requirements. Higher, which can improve the efficiency of intention achievement.
  • the first network element obtains the identity of the third network element according to the identity of the second network element. Specifically, the first network element may obtain the identifier of the third network element corresponding to the identifier of the second network element from the fourth database. The corresponding relationship between the second network element identifier and the third network element identifier is stored in the fourth database. In this way, the third network element is dedicated to controlling the second network element to achieve the intention, or is used to control a small number of network elements to achieve the intention. The third network element only needs to interact with the second network element to achieve the intent, or interact with a small number of network elements to achieve the intent, thereby improving the efficiency of achieving the intent and reducing the hardware requirements of the third network element.
  • the first network element sends the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element.
  • the first network element may not send the second network element identifier to the third network element. In this way, the amount of data transmitted between the first network element and the third network element can be reduced, and the system load can be reduced.
  • the third network element controls the service operation of the second network element to realize the intention according to the operation requirement and the identifier of the second network element.
  • the operation in the operation requirement may include an operation instruction
  • the third network element may control the service operation of the second network element according to the operation instruction to realize the intention.
  • the third network element may send the operation instruction to the second network element, and the second network element executes the operation instruction to achieve the intention.
  • the third network element controls the service operation of the second network element according to the operation requirements and the identification of the second network element to realize the intention for the implementation manner, which can refer to the description of the subsequent FIG. 7b.
  • the first network element after the first network element receives the intent, it obtains the operation requirements and the identifier of the second network element according to the intent, and then obtains the identifier of the third network element, and then, according to the identifier of the third network element, the first network element
  • the three network elements send the operation requirement and the identifier of the second network element, and the third network element controls the service operation of the second network element to realize the intention according to the operation requirement and the identifier of the second network element.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element.
  • the third network element controls the service operation of the second network element according to the operational requirements to achieve the intention.
  • one third network element can control the service operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • the intention processing method in the embodiments of the present application further includes:
  • S706 The third network element sends an intention accomplishment message to the first network element.
  • the first network element receives the intention fulfillment message, and the intention fulfillment message includes the identifier of the intention, it can be confirmed that the second network element has fulfilled the intention.
  • the identifier of the intention may also be sent to the third network element.
  • the intention achievement message sent by the third network element to the first network element may include the identifier of the intention.
  • the achieved intent can be determined according to the identifier of the intent in the intent fulfillment message.
  • FIG. 7b is a schematic flowchart of an intention processing method according to an embodiment of the application. Based on the embodiment shown in FIG. 7a, in some optional embodiments, the first network element acquiring the operation requirement and the identification of the second network element according to the intention includes the following steps S7021 and S7022.
  • the first network element obtains the identifier of the second network element whose attribute information matches the description information from the first database.
  • the first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element.
  • the first network element obtains the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
  • step S7021 refers to the explanation of step S5021 in the above embodiment.
  • step S7022 please refer to the explanation of step S5022 in the above-mentioned embodiment. To avoid redundancy, I will not repeat them here.
  • the first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element
  • the second database includes the association relationship between the requirement description information and the operation requirement.
  • the first network element can use the first database and the second database to translate the intended operation requirement into the operation requirement, and obtain the identification of the second network element.
  • the third network element can control the second network element to adjust the operating state according to the operation requirement to achieve the intention. This can reduce the number of signaling transmissions between the first network element and the second network element during the process of the first network element processing the intention, and reduce the load of the first network element.
  • the first network element sends the operation requirement, the identification of the second network element, the correspondence relationship between the instruction format and the identification of the network element to the third network element.
  • the third network element obtains the instruction format of the operation instruction when the second network element executes the operation instruction in the operation requirement in combination with the corresponding relationship between the instruction format and the identifier of the network element.
  • the third network element obtains the instruction format of the operation instruction when the second network element executes the operation instruction in the operation requirement according to the corresponding relationship between the instruction format and the identifier of the network element, without the first network element having to obtain the instruction format. Therefore, the data processing volume of the first network element can be reduced, and the load of the first network element can be reduced.
  • the first network element sends the operation requirement, the identification of the second network element, the correspondence relationship between the instruction format and the identification of the network element to the third network element.
  • the third network element After determining the operation to be performed by the second network element according to the network status of the second network element, the third network element sends the operation instruction of the operation, the correspondence relationship between the instruction format and the identifier of the network element to the second network element.
  • the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to its own identifier and in combination with the corresponding relationship between the instruction format and the identifier of the network element. In this way, the load of the third network element can be reduced.
  • the third network element realizes the intention according to the operation in the operation requirement, including the following steps S7050-S7059.
  • the third network element obtains the type of operation in the operation requirement.
  • the type of operation may include, but is not limited to, workflow type, optimization type, and instruction type, for example.
  • the third network element executes step S7051.
  • the third network element executes step S7053 to identify the type of operation in the operation requirement When it is the third type, the third network element executes step S7059;
  • the third network element obtains the network status of the second network element, and determines whether the network status of the second network element meets the achievement criterion in the operation requirement. If so, it can be determined that the intention is achieved; if not, step S7052 is executed.
  • the achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type.
  • the third network element recognizes that the type of operation in the operation requirement is the first type, it acquires the parameter value of each parameter type in the achievement criterion according to the network state of the second network element.
  • the third network element can determine that the network status of the second network element meets the achievement criterion; otherwise, the third network element determines the network status of the second network element Does not meet the reaching criteria.
  • the requirement description information is to adjust the voice data packet loss rate to less than 1%
  • the achievement criterion includes a parameter type: voice data packet loss rate.
  • the achievement condition corresponding to this parameter type is less than or equal to 1%.
  • the third network element continues to perform step S7051. If the third network element determines that the network status of the second network element meets the achievement criteria in the operational requirements, the network status of the second network element changes, and the third network element obtains that the network status of the second network element does not meet the achievement criteria According to the criteria, the third network element sends a status change message to the first network element.
  • the achievement status change message is used to notify the first network element that the network status of the second network element no longer meets the achievement criterion corresponding to the intention, and the second network element is in the intention unfulfilled state.
  • step S7052 When the network status of the second network element does not meet the reaching criteria, the third network element obtains the first target operation that meets the execution conditions from one or more operations required by the operation according to the network status of the second network element, and The operating state is adjusted according to the first target operation, and after the operating state is adjusted, step S7051 is returned.
  • the third network element obtains the parameter value corresponding to each network state parameter in the execution condition according to the network state of the second network element. If the parameter value corresponding to each network state parameter in the execution condition meets the parameter condition, the third network element can confirm that the network state of the second network element meets the execution condition, and set the operation corresponding to the execution condition as the first target operating. Otherwise, the third network element confirms that the network status of the second network element does not meet the execution condition.
  • the requirement description information is to adjust the voice data packet loss rate to less than 1%.
  • the corresponding operation requirements of the requirement description information include operation a and operation b.
  • the execution condition of operation a is that the voice data packet loss rate is greater than 1% and less than or equal to 5%
  • the execution condition b of operation b is that the voice data packet loss rate is greater than 5% and less than or equal to 10%.
  • the network state parameter of the execution condition a is the voice data packet loss rate
  • the parameter condition corresponding to the execution condition a is greater than 1% and less than or equal to 5%
  • the network state parameter of the execution condition b is the voice data packet loss rate
  • the parameter condition for the execution condition b is greater than 5% and less than or equal to 10%.
  • the third network element obtains that the adjusted voice data packet loss rate of the second network element is 7%, it can be confirmed that the adjusted voice data packet loss rate of the second network element meets the execution condition b of operation b, and then operation b is regarded as the first A target operation.
  • the third network element After the third network element obtains one or more first target operations, it controls the service operation of the second network element according to the first target operations to adjust the operating state. After adjusting the operating state, the third network element returns to step S7051 to determine whether the network state of the second network element meets the reaching criterion. If the network status of the second network element does not meet the achievement criterion, the third network element performs step S7052 again, and according to the network status of the second network element, retrieves the first one that meets the execution conditions from one or more operations required by the operation. Target operation, and adjust the running state according to the first target operation. In this way, the third network element cyclically executes steps S7051 and S7052 until the network status of the second network element meets the reaching criterion.
  • the operations in the operation requirements include operation instructions.
  • the third network element may send an operation instruction of the first target operation to the second network element. After the second network element executes the operation instruction, the network state of the second network element after the execution of the operation instruction is sent to the third network element. If the network status does not meet the reaching criterion, the third network element re-acquires the first target operation according to the network status sent by the second network element. Then the third network element sends the operation instruction of the first target operation to the second network element. In this way, the third network element sends operation instructions to the second network element multiple times according to the network state of the second network element, and the second network element executes the operation instruction to adjust the network state until the network state of the second network element meets the reached criterion.
  • the first target operation in the embodiment of the present application is a variable.
  • the third network element will re-acquire from one or more operations that meet the execution conditions according to the network status of the second network element. The first target operation.
  • the third network element sends an intention execution failure message to the first network element.
  • the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the operation requirements corresponding to the operations of the first type further include execution constraints.
  • the third network element always satisfies the execution constraint during the process of controlling the second network element to adjust the operating state according to the operation to achieve the intention.
  • the execution constraint can be set to make the second network element's operating status. In the process of realizing this intent, the business operation status always meets the requirements.
  • step S7042 the operation is the first target operation, and the third network element controls the second network element to adjust the operating state according to the target first operation .
  • the third network element sends the operation instruction of the target first operation to the second network element.
  • the second network element executes the operation instruction to adjust the operating state.
  • the third network element when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the first target operation to the second network element Previously, according to the identification of the second network element, the corresponding relationship between the identification of the network element and the instruction format, the instruction format that the second network element needs to meet when the operation instruction is executed is obtained, and then the operation instruction in the first target operation is converted into In this instruction format, the operation instruction after the conversion format is obtained. The third network element sends the converted operation instruction to the second network element.
  • the third network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
  • the third network element when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the first target operation to the second network element Correspondence with the identification of the network element and the instruction format.
  • the second network element Before the second network element executes the operation instruction in the first target operation, it obtains the instruction format of the operation instruction when the operation instruction is executed according to the corresponding relationship between the identifier of the network element and the instruction format and its own identifier, and then sets the instruction format of the operation instruction in the first target operation.
  • the operation instruction is converted into the instruction format, and the operation instruction after the conversion format is obtained.
  • the second network element then executes the operation instruction after the format conversion. In this way, the data processing volume of the third network element can be reduced, and the load of the third network element can be reduced.
  • the third network element obtains the network status of the second network element, and determines whether the network status of the second network element meets the reaching criterion;
  • step S7053 can refer to the explanation of the above step S7051, in order to avoid redundancy, it will not be repeated here.
  • the third network element obtains a second target operation that meets the execution conditions according to the network status of the second network element, and controls the second network element according to the second target operation Adjust the operating status;
  • Each of the one or more operations includes an operation instruction, so after the third network element obtains the second target operation, the operation instruction of the second target operation may be sent to the second network element.
  • the second network element executes the operation instruction of the second target operation to control the service operation of the second network element, thereby adjusting the operating state.
  • the third network element sends an intention execution failure message to the first network element.
  • the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the third network element obtains the network status after the adjusted operating status of the second network element, and determines whether the adjusted operating status of the network meets the achievement criterion, if so, confirms that the instruction is reached, and if not, executes step 7056;
  • the achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type.
  • the third network element adjusts the operating state
  • the parameter value of each parameter type in the achievement criterion is obtained according to the network state after the adjusted operating state. If the third network element confirms that the parameter value of each parameter type in the achievement criterion meets the corresponding achievement condition according to the network status after adjusting the operating status, the third network element can determine the adjusted operating status of the second network element The network state of the network element meets the reaching criterion; otherwise, the third network element determines that the network state after the adjusted operating state of the second network element does not meet the reaching criterion.
  • the third network element may send an operation instruction of the second target operation to the second network element. After the second network element executes the operation instruction, the network state of the second network element after the execution of the operation instruction is sent to the third network element. If the network status does not meet the achievement criterion, the third network element adjusts the second target operation or reacquires the second target operation according to the network status sent by the second network element. Then the third network element sends the adjusted operation instruction of the second target operation or the reacquired operation instruction of the second target operation to the second network element. In this way, the third network element sends operation instructions to the second network element multiple times according to the network state of the second network element, and the second network element executes the operation instruction to adjust the network state until the network state of the second network element meets the reached criterion.
  • step S7056 When the network state after the adjusted operating state does not meet the achievement criterion, the third network element determines whether the adjusted operating state of the network state meets the execution condition corresponding to the second target operation, and if it does not meet the execution condition of the second target operation, execute step S7057. If yes, step S7058 is executed.
  • the third network element reacquires the second target operation that meets the execution conditions from one or more operations according to the network status after the operation status of the second network element is adjusted, and controls the second network according to the reacquired second target operation Yuan adjusts the operating status. After the third network element controls the second network element to adjust the operating state, return to step S7055.
  • the third network element determines whether the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and when the adjusted operating state does not meet the execution conditions corresponding to the second target operation When the condition is met, the second target operation that meets the execution condition is obtained again according to the network state after the adjusted operating state. In this way, the second target operation can be made consistent with the network state after adjusting the operating state.
  • step S7053 when it is acquired in step S7053 that the voice data packet loss rate of the second network element is 7%, then in step S7054, the third network element determines that the second target operation is operation b, and adjusts the operating state according to operation b. Then step S7055 is executed.
  • the third network element obtains that the voice data packet loss rate after adjusting the operating state is 4%. If the voice data packet loss rate after adjusting the operating state is greater than 1% and less than 5%, the second network element can be confirmed The network state after adjusting the operating state does not meet the achievement criterion, and the network state after adjusting the operating state does not meet the execution conditions corresponding to the second target operation.
  • the third network element re-determines the operation a as being 4% according to the voice data packet loss rate after the adjustment of the operating state The second target operation.
  • the third network element then controls the second network element to adjust the operating state according to operation a.
  • the third network element modifies the second target operation according to the achievement criterion, and controls the second network element to adjust the operating state according to the modified second target operation. After controlling the second network element to adjust the operating state, the third network element returns to perform step S7055.
  • the difference between the parameter value corresponding to each parameter type and the achievement condition corresponding to the parameter type adjusts the operation instruction in the second operation.
  • the third network element can obtain the reward formula according to the parameter conditions in the achievement criterion, and then adjust the operation instruction in the second operation according to the parameter value of each parameter type in the achievement criterion, the achievement condition corresponding to the parameter type and the reward formula, so that After the third network element controls the second network element to adjust the operating state according to the adjusted operation instruction, the parameter value obtained according to the network state of the second network element is closer to the achievement condition corresponding to the parameter value. Performing steps S7055 and S7058 multiple times in this way can make the network status of the second network element gradually approach the reaching criterion until it meets the reaching criterion.
  • the operation requirement includes a reward formula.
  • the operation requirements obtained by the first network element from the second database according to the requirement description information include an achievement criterion, a reward formula, one or more operations, and execution conditions for performing each operation.
  • the first network element The element may obtain the reward formula according to the achievement criterion in the operation requirement, and send the reward formula to the third network element. In this way, the third network element can receive the reward formula from the first network element, which can reduce the data processing volume of the third network element.
  • the operating requirements include constraints.
  • the third network element needs to meet the constraint condition in the process of adjusting the operating state according to the operation.
  • the third network element can obtain a reward formula according to the constraint condition and the achievement criterion.
  • the first network element obtains the reward formula according to the constraint condition and the achievement criterion, and sends the reward formula to the third network element.
  • step S7055 After the third network element controls the second network element to adjust the operating state, the third network element executes step S7055. In this way, the third network element cyclically executes steps S7055-S7058 until the network state after the second network element adjusts the operating state meets the reaching criterion.
  • step S7064 the third network element controls the second network element to adjust the operating state according to the one operation;
  • step S7065 if the network state after the adjusted operating state of the second network element does not meet the achieved criterion, step S7058 is performed until the network state after the adjusted operating state of the second network element meets the achieved criterion; if it meets the achieved criterion , Then confirm that the intention is achieved. In this way, it is unnecessary to perform step S7056 and step S7057.
  • the third network element when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the second target operation to the second network element Previously, according to the corresponding relationship between the identification of the second network element, the identification of the network element, and the instruction format, the instruction format of the operation instruction when the second network element executes the operation instruction was obtained, and then the operation instruction in the second target operation was converted into the instruction Format, get the operation instruction after converting the format.
  • the third network element sends the converted operation instruction to the second network element.
  • the third network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
  • the third network element when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the second target operation to the second network element Correspondence with the identification of the network element and the instruction format.
  • the second network element Before the second network element executes the operation instruction in the second target operation, it obtains the instruction format of the operation instruction when the operation instruction is executed according to the corresponding relationship between the identifier of the network element and the instruction format and its own identifier, and then sets the instruction format of the operation instruction in the second target operation.
  • the operation instruction is converted into the instruction format, and the operation instruction after the conversion format is obtained.
  • the second network element then executes the operation instruction after the format conversion. In this way, the data processing volume of the third network element can be reduced, and the load of the third network element can be reduced.
  • step S706 is executed.
  • the first network element can receive the intention fulfillment message sent by the third network element, and notify the intention sender that the intention has been fulfilled according to the intention fulfillment message.
  • the third network element controls the second network element to adjust the operating state according to the operation in the operation demand
  • step S505 may be performed; when the execution of the intention fails, the second network element may send a message of failure to execute the intention to the first network element. In this way, the second network element can feed back the execution of the intention to the first network element in time.
  • the third network element will select from multiple operations based on the network status of the second network element.
  • a third target operation that meets the execution condition is acquired, and the second network element is controlled to adjust the running state according to the third target operation.
  • the operations in the operation requirements include operation instructions.
  • the third network element may send an operation instruction of the third target operation to the second network element, so that the second network element executes the operation instruction to adjust the operating state, thereby achieving control of the second network element to adjust the operating state according to the third target operation.
  • the third network element controls the second network element to successfully adjust the operating state according to the third target operation, it is confirmed that the intention is achieved. If the third network element does not obtain the third target operation that meets the execution conditions, or obtains the third target operation but does not control the second network element to successfully adjust the operating state according to the third target operation, the third network element sends a notification to the first network. Meta sends an intent execution failure message. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the operation is the third target operation
  • the third network element controls the second network element to adjust the operating state according to the one operation .
  • the third network element controls the second network element to successfully adjust the operating state according to the one operation, it executes confirmation that the intention is achieved. If the third network element does not control the second network element to successfully adjust the operating state according to the one operation, the third network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message.
  • the first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
  • the operation requirements corresponding to the third type of operation further include execution constraints.
  • the second network element In the process of controlling the second network element to adjust the operation state of the third network element according to the operation in the operation requirement, the second network element needs to always satisfy the execution constraint.
  • the third network element when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the third target operation to the second network element Previously, according to the corresponding relationship between the identification of the second network element, the identification of the network element, and the instruction format, the instruction format of the operation instruction when the second network element executes the operation instruction was obtained, and then the operation instruction in the third target operation was converted into the instruction Format, get the operation instruction after converting the format.
  • the third network element sends the converted operation instruction to the second network element.
  • the third network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
  • the third network element when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the third target operation to the second network element Correspondence with the identification of the network element and the instruction format.
  • the second network element Before the second network element executes the operation instruction in the third target operation, it obtains the instruction format of the operation instruction when the operation instruction is executed according to the correspondence between the network element’s identifier and the instruction format and its own identifier, and then sets the instruction format of the operation instruction in the third target operation.
  • the operation instruction is converted into the instruction format, and the operation instruction after the conversion format is obtained.
  • the second network element then executes the operation instruction after the format conversion. In this way, the data processing volume of the third network element can be reduced, and the load of the third network element can be reduced.
  • the third network element can control the second network element to execute the corresponding state adjustment scheme according to different operation types and operation requirements, so as to achieve the intention.
  • the third network element sends the intentional execution to the first network element. Failure message.
  • the third network element can promptly feed back to the first network element when the network status of the second network cannot meet the execution conditions, so that the intention sender can timely understand the execution of the intention.
  • the second network element may stop adjusting the network state according to the operation in the operation demand; or
  • a network element receives the intention execution failure message sent by the second network element, it sends a stop execution instruction to the second network element to instruct the second network element to stop adjusting the network state according to the operation in the operation requirement. This can avoid waste of resources of the second network element and the third network element due to the third network element sending operation instructions to the second network element multiple times, and the second network element executing the operation instructions multiple times for a long time but failing to achieve the intention.
  • the third network element when the type of operation is the first type or the second type, can obtain the network status of the second network element at a preset time interval to determine the second network element Whether the status of the network meets the reach criteria. If the network status does not meet the reaching criterion, the third network element sends a message of unfulfilled intention to the first network element. If the network status meets the achievement criterion, the third network element sends an intention achievement message to the first network element. In this way, the first network element can promptly feedback the implementation of the intention to the intention sender according to the intention unfulfilled message, the intention execution failure message, or the intention fulfillment message sent by the third network element.
  • FIG. 8 is a schematic diagram of a module of a first network element 800 according to an embodiment of the application.
  • the first network element 800 includes:
  • the receiving module 801 is used to receive the intention
  • the processing module 802 is configured to obtain the operation requirement and the identifier of the second network element according to the intention;
  • the sending module 803 is configured to send an operation requirement to the second network element according to the identifier of the second network element, and the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element, and the second network element controls its own service operation according to the operation requirements to achieve the intent.
  • the process of achieving the intention there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • the intention includes demand description information and description information of the second network element
  • the processing module 802 includes:
  • the first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
  • the second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
  • the description information of the second network element includes attribute condition information of the second network element.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • FIG. 9 is a schematic diagram of a module of a first network element 900 according to an embodiment of the application.
  • the first network element 900 includes:
  • the receiving module 901 is used to receive the intent
  • Processing module 902 used to obtain operation requirements and the identification of the second network element according to the intention
  • the obtaining module 903 is used to obtain the identifier of the third network element
  • the sending module 904 is configured to send the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate the operation realization intention corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element, and the third network element controls the service operation of the second network element according to the operation requirements to achieve the intent.
  • a third network element can control the business operation of one or a small number of second network elements according to operational requirements.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • the intention includes demand description information and description information of the second network element
  • the processing module 902 includes:
  • the first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
  • the second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
  • the obtaining module 903 includes:
  • the third acquiring unit is used to acquire the identity of the third network element according to the intention.
  • the fourth acquiring unit is configured to acquire the identifier of the third network element according to the identifier of the second network element.
  • the description information of the second network element includes attribute condition information of the second network element.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • FIG. 10 is a schematic diagram of a second network element 1000 according to an embodiment of the application.
  • the second network element 1000 includes:
  • the receiving module 1001 is configured to receive the operation requirement sent by the first network element, and the operation requirement is obtained by the first network element according to the received intention;
  • the execution module 1002 is used to realize the intention according to the operation corresponding to the operation requirement.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element, and the second network element controls its own service operation according to the operation requirements to achieve the intent.
  • the process of achieving the intention there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
  • the execution module 1002 includes:
  • the first obtaining unit is configured to obtain its own network status when it is recognized that the type of operation is the first type
  • the first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to its own network state when the network state does not meet the achievement criterion, and adjust the running state according to the first target operation until The state of its own network complies with the reaching criteria.
  • the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
  • the execution module 1002 includes:
  • the second acquiring unit is configured to acquire its own network status when it is recognized that the type of operation is the second type;
  • the second execution unit is used to obtain a second target operation that meets the execution conditions from one or more operations according to the own network state when the network state of the own does not meet the achievement criterion, and adjust the running state according to the second target operation;
  • the judging unit is used to obtain the network state after adjusting the operating state; and when the network state after adjusting the operating state does not meet the achievement criterion, judging whether the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation;
  • the third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation
  • the target operation adjusts the operating state, and obtains the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
  • the fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations
  • the second target operation is to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
  • the operation requirement includes a reward formula.
  • the third execution unit is specifically used to:
  • FIG. 11 is a schematic diagram of a third network element 1100 according to an embodiment of the application.
  • the third network element 1100 includes:
  • the receiving module 1101 is configured to receive the identification and operation requirements of the second network element sent by the first network element, where the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
  • the execution module 1102 is configured to control the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
  • the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element, and the third network element controls the service operation of the second network element according to the operation requirements to achieve the intent.
  • a third network element can control the business operation of one or a small number of second network elements according to operational requirements.
  • the centralized translation of the intent by the first network element can also save computing resources.
  • Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
  • the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
  • the operation requirements include fulfillment criteria, one or more execution operations, and execution conditions corresponding to each operation;
  • the execution module 1102 includes:
  • the first obtaining unit is configured to obtain the network status of the second network element when the third network element recognizes that the operation type of the operation is the first type;
  • the first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to the network state when the network state does not meet the achievement criterion, and use the first target operation to control the service of the second network element Run until the network status of the second network element meets the reached criteria.
  • the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
  • the execution module 1102 includes:
  • the second acquiring unit is configured to acquire the network status of the second network element when the third network element recognizes that the type of operation is the second type;
  • the second execution unit is configured to obtain a second target operation that meets the execution conditions from one or more operations according to the network state of the second network element when the network status of the second network element does not meet the achievement criterion, and according to the second target operation
  • the target operation controls the second network element to adjust the operating state
  • the judging unit is used to obtain the network state of the second network element after the adjusted operating state; when the adjusted operating state of the network does not meet the achievement criterion, determine whether the adjusted operating state of the network meets the corresponding execution of the second target operation condition;
  • the third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation
  • the target operation controls the second network element to adjust the operating state and obtain the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
  • the fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations
  • the second target operation is to control the second network element to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
  • the operation requirement also includes a reward formula.
  • the third execution unit is specifically used to:
  • FIG. 12 is a schematic structural diagram of a device 1200 provided by an embodiment of the present application.
  • the device 1200 at least includes a processor 1210, a transceiver 1220, and a memory 1230.
  • the processor 1210, the transceiver 1220, and the memory 1230 pass through a bus 1240. Interconnected, where,
  • the processor 1210 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip.
  • the above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • the transceiver 1220 may include a receiver and a transmitter, for example, a radio frequency module.
  • the processor 1210 described below receives or sends a message, which can be specifically understood as the processor 1210 receiving or sending through the transceiver.
  • the memory 1230 includes, but is not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), or erasable Programmable Read-Only Memory (EPROM), EPROM or flash memory. Flash memory), the memory 1230 is used to store related instructions and data, and can transmit the stored data to the processor 1210.
  • RAM Random Access Memory
  • ROM read-only memory
  • EPROM erasable Programmable Read-Only Memory
  • flash memory Flash memory
  • the processor 1210 in the device 1200 is configured to read related instructions in the memory 1230 to perform the following operations:
  • the processor 1210 controls the receiver in the transceiver 1220 to receive the intention
  • the processor 1210 obtains the operation requirement and the identifier of the second network element according to the intention;
  • the processor 1210 controls the transceiver 1220 to send an operation requirement to the second network element according to the identifier of the second network element, where the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement;
  • processor 1210 in the device 1200 is configured to read related instructions in the memory 1230 to perform the following operations:
  • the processor 1210 controls the receiver in the transceiver 1220 to receive the intention
  • the processor 1210 obtains the operation requirement and the identifier of the second network element according to the intention;
  • the processor 1210 obtains the identifier of the third network element
  • the processor 1210 controls the transceiver 1200 to send the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate the operation realization intention corresponding to the operation requirement.
  • FIG. 13 is a schematic structural diagram of a device 1300 provided by an embodiment of the present application.
  • the device 1300 at least includes a processor 1310, a transceiver 1320, and a memory 1330.
  • the processor 1310, the transceiver 1320, and the memory 1330 pass through a bus 1340. Interconnected, where,
  • the processor 1310 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip.
  • the above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • the transceiver 1320 may include a receiver and a transmitter, for example, a radio frequency module.
  • the processor 1310 described below receives or sends a message, which may be specifically understood as the processor 1310 receiving or sending through the transceiver.
  • the memory 1330 includes, but is not limited to, random access memory (random sccess memory, RAM), read-only memory (read-only memory, ROM), or erasable programmable read-only memory (erasable programmable read-only memory, EPROM, or flash memory) Memory).
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory erasable programmable read-only memory
  • the processor 1310 in the device 1300 is configured to read related instructions in the memory 1330 to perform the following operations:
  • the processor 1310 controls the transceiver 1320 to receive the operation requirement sent by the first network element, and the operation requirement is obtained by the first network element according to the received intention;
  • the processor 1310 realizes the intention according to the operation corresponding to the operation requirement.
  • FIG. 14 is a schematic structural diagram of a device 1400 provided by an embodiment of the present application.
  • the device 1400 at least includes a processor 1410, a transceiver 1420, and a memory 1430.
  • the processor 1410, the transceiver 1420, and the memory 1430 pass through a bus 1440. Interconnected, where,
  • the processor 1410 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip.
  • the above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
  • the transceiver 1420 may include a receiver and a transmitter, for example, a radio frequency module.
  • the processor 1410 described below receives or sends a message, which can be specifically understood as the processor 1410 receiving or sending through the transceiver.
  • the memory 1430 includes, but is not limited to, random access memory (RAM), read-only memory (ROM) or erasable programmable read-only memory (erasable programmable read-only memory, EPROM or flash memory). Flash memory), the memory 1430 is used to store related instructions and data, and can transmit the stored data to the processor 1410.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory Flash memory
  • the processor 1410 in the device 1400 is configured to read related instructions in the memory 1430 to perform the following operations:
  • the processor 1410 receives the identification and operation requirements of the second network element sent by the first network element through the receiver in the transceiver 1420, where the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
  • the processor 1410 controls the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
  • the present application provides a computer-readable storage medium in which computer instructions are stored, and the computer instructions instruct the server to execute the intention processing method provided by any of the foregoing embodiments.
  • processors mentioned in the embodiments of this application may be a central processing unit (central processing unit, CPU), or other general-purpose processors, digital signal processors (digital signal processors, DSP), and application-specific integrated circuits ( application secific integrated circuit (ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM, DR RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component
  • the memory storage module
  • the size of the sequence numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
  • the modules in the device of the embodiment of the present application may be combined, divided, and deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application provides an intention processing method and a related device. The intention processing method comprises: a first network element receiving an intention; according to the intention, a first network element obtaining an operation request and an identification of a second network element; the first network element sending the operation request to the second network element according to the identifier of the second network element, the operation request being used for instructing the second network element to implement the intention according to the operation corresponding to the operation request. Thus the first network element first focuses on translating the intention into an operation request, then the operation request is sent to the second network element. The second network element controls its own service operation according to the operation request so as to achieve the intention. In this way, during the process of achieving the intention, there is no need for a large amount of signaling interaction between the first network element and the second network element, and it is possible to avoid overloading the first network element. Furthermore, the intention is centrally translated by the first network element, thereby also saving computing resources.

Description

意图处理方法和相关装置Intention processing method and related device
本申请要求于2019年11月28日提交中国专利局、申请号为201911195345.6、申请名称为“意图处理方法和相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on November 28, 2019, the application number is 201911195345.6, and the application title is "Intention Processing Method and Related Device", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及网络管理技术领域,尤其涉及一种意图处理方法和相关装置。This application relates to the field of network management technology, and in particular to an intention processing method and related devices.
背景技术Background technique
当前3GPP SA5在传统北向接口(itf-N)的定义上采用网络资源全量建模和网络对象全量管理的方式。网络管理系统(network management system,NMS)通过配置管理(configuration management,CM),性能管理(performance management,PM),故障管理(fault management,FM)、等类型的操作直接对南向所有的管理对象进行增删改查。这样不仅提高了运营商管理和运维门槛,而且由于各个设备的厂商不同,难以实现异厂商互通。Currently, 3GPP SA5 adopts the method of full network resource modeling and full management of network objects in the definition of the traditional northbound interface (itf-N). The network management system (NMS) directly controls all management objects in the southbound through configuration management (CM), performance management (PM), fault management (FM), and other types of operations. Perform additions, deletions, and revisions. This not only raises the operator’s management and operation and maintenance thresholds, but also makes it difficult to achieve inter-vendor interoperability due to different equipment manufacturers.
为了降低网络基础设施的管理复杂度、提高多厂商设备场景下,对多厂商设备进行管理的运维效率,3GPP SA5启动了意图驱动管理服务(intent driven management service,IDMS)的研究(3GPP TR 28.812),主要解决思路可以总结为:In order to reduce the complexity of network infrastructure management and improve the operation and maintenance efficiency of multi-vendor equipment management in the multi-vendor equipment scenario, 3GPP SA5 initiated the study of intent-driven management service (IDMS) (3GPP TR 28.812) ), the main solution ideas can be summarized as:
NMS不直接对网络资源模型(network resource model,NRM)进行管理,NMS中只保留意图模型,北向接口上只传递厂商无关的意图表达式,从而屏蔽了设备厂商实现上的差异化细节。意图表达式,只描述要达到的意图、而不涉及具体如何达到意图,这样只需具备无线领域基本的概念知识即可完成意图表达,从而降低了运维门槛。具体地,通过才当网元管理系统(element management system,EMS)部署意图模型,当EMS接收到NMS发送的意图请求后,利用意图系统(IDM MnSproducer)根据网络状态得到所要达到该意图目标所需执行的操作,并执行操作达到意图目的,从而达成意图。The NMS does not directly manage the network resource model (NRM). Only the intent model is retained in the NMS, and only vendor-independent intent expressions are transmitted on the northbound interface, thereby shielding the implementation of the equipment vendors from the differentiated details. Intention expressions only describe the intention to be achieved without involving how to achieve the intention. In this way, only basic conceptual knowledge in the wireless field can be used to complete the expression of intent, thereby lowering the threshold of operation and maintenance. Specifically, the intent model is deployed through the element management system (EMS). When the EMS receives the intent request sent by the NMS, it uses the intent system (IDM MnSproducer) to obtain the desired goal according to the network status. Perform the operation, and perform the operation to achieve the intended purpose, thereby achieving the intent.
但是,在这样的方案中,意图系统部署在EMS,由于EMS需要管理多个网元,对于每个网元的每个意图,具体的执行的操作的逻辑和控制都在EMS,这样EMS在执行操作以达成意图的过程中,与多个网元之间,存在大量的信令交互,使得EMS成为性能瓶颈。如果在每个网元上部署意图模型,当意图的对象为某个区域内所有网元时,需要向该区域内的每个网元都发送相同的意图,而且每个网元中的意图模型都需要进行相同的转译处理,这样会浪费大量的资源。However, in such a scheme, the intention system is deployed in the EMS. Since the EMS needs to manage multiple network elements, for each intent of each network element, the logic and control of the specific operations performed are all in the EMS, so that the EMS is executing In the process of operating to achieve the intention, there is a large number of signaling interactions with multiple network elements, making EMS a performance bottleneck. If an intent model is deployed on each network element, when the object of the intent is all network elements in a certain area, the same intent needs to be sent to each network element in the area, and the intent model in each network element All need to perform the same translation processing, which will waste a lot of resources.
发明内容Summary of the invention
本申请提供了一种意图处理方法和相关装置,能够减轻部署有意图系统的设备的负荷,也能节省资源。The present application provides an intent processing method and related devices, which can reduce the load of equipment deploying an intent system and also save resources.
第一方面,本申请实施例提供一种意图处理方法,包括:In the first aspect, an embodiment of the present application provides an intention processing method, including:
第一网元接收意图;The first network element receives the intention;
第一网元根据意图获取操作需求和第二网元的标识;The first network element obtains the operation requirement and the identification of the second network element according to the intention;
第一网元根据第二网元的标识向第二网元发送操作需求,操作需求用于指示第二网元根据操作需求对应的操作实现意图。The first network element sends an operation requirement to the second network element according to the identifier of the second network element, and the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第二网元。第二网元分别根据操作需求控制自身的业务运行以达成意图。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element. The second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
在一些可能的实施方式中,意图包括需求描述信息和第二网元的描述信息,第一网元根据意图获取操作需求和第二网元的标识,包括:第一网元从第一数据库中获取属性信息符合描述信息的第二网元的标识,第一数据库包括第二网元的属性信息与第二网元的标识的关联关系;第一网元根据需求描述信息从第二数据库中获取操作需求,第二数据库包括需求描述信息与操作需求的关联关系。如此,第一网元可根据第二网元的描述信息从第一数据库中快速地获取第二网元的标识,和从第二数据库中快速地获取操作需求。In some possible implementation manners, the intention includes the demand description information and the description information of the second network element. The first network element obtains the operation demand and the identification of the second network element according to the intention, including: the first network element obtains the identification of the second network element from the first database. Obtain the identification of the second network element whose attribute information conforms to the description information, the first database includes the association relationship between the attribute information of the second network element and the identification of the second network element; the first network element obtains from the second database according to the demand description information Operation requirements, the second database includes the relationship between the requirement description information and the operation requirements. In this way, the first network element can quickly obtain the identification of the second network element from the first database according to the description information of the second network element, and quickly obtain the operation requirements from the second database.
在一些可能的实施方式中,第二网元的描述信息包括第二网元的属性条件信息。这样,第一网元能够根据第二网元的属性条件信息,从多个网元中获得属性信息符合属性条件信息的第二网元。In some possible implementation manners, the description information of the second network element includes attribute condition information of the second network element. In this way, the first network element can obtain the second network element whose attribute information meets the attribute condition information from the multiple network elements according to the attribute condition information of the second network element.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。如此,第二网元可根据操作需求中的操作控制自身的运行状态,从而达成意图。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element. In this way, the second network element can control its own operating state according to the operation in the operation demand, so as to achieve the intention.
第二方面,本申请实施例提供一种意图处理方法,包括:In the second aspect, an embodiment of the present application provides an intention processing method, including:
第一网元接收意图;The first network element receives the intention;
第一网元根据意图获取操作需求和第二网元的标识;The first network element obtains the operation requirement and the identification of the second network element according to the intention;
第一网元获取第三网元的标识;The first network element obtains the identity of the third network element;
第一网元根据第三网元的标识,向第三网元发送操作需求和第二网元的标识,操作需求用于指示根据操作需求对应的操作实现意图。The first network element sends the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate an operation realization intention corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第三网元。第三网元根据操作需求控制第二网元的业务运行以达成意图。在达成意图的过程中,一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element. The third network element controls the service operation of the second network element according to the operational requirements to achieve the intention. In the process of achieving the intention, a third network element can control the business operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
在一些可能的实施方式中,第一网元获取第三网元的标识包括:第一网元根据意图获取第三网元的标识;或第一网元根据第二网元的标识获取第三网元的标识。如此,第一网元根据意图获取第三网元的标识,这样第三网元的处理的操作需求种类更加单一。例如第三网元可专用于执行处理该需求描述信息对应的操作需求,或处理少数多个需求描述信息对应的操作需求,这样可以更好地优化第三网元,以使得操作需求的处理效率更高,从而 能够提升意图达成效率。第一网元根据第二网元的标识获取第三网元的标识,这样第三网元专用于控制第二网元达成意图,或用于控制少数多个网元达成意图。第三网元只需与第二网元交互以达成意图,或与少数多个网元交互以达成意图,从而可以提升意图达成的效率,也能够降低第三网元的硬件要求。In some possible implementation manners, acquiring the identity of the third network element by the first network element includes: the first network element acquires the identity of the third network element according to the intention; or the first network element acquires the third network element according to the identity of the second network element. The identity of the network element. In this way, the first network element obtains the identifier of the third network element according to the intention, so that the type of operation requirements for processing of the third network element is more single. For example, the third network element can be dedicated to processing the operation requirements corresponding to the requirement description information, or processing a small number of operation requirements corresponding to the requirement description information, so that the third network element can be better optimized to make the processing efficiency of the operation requirements. Higher, which can improve the efficiency of intention achievement. The first network element obtains the identity of the third network element according to the identity of the second network element, so that the third network element is dedicated to controlling the second network element to achieve the intent, or is used to control a small number of network elements to achieve the intent. The third network element only needs to interact with the second network element to achieve the intent, or interact with a small number of network elements to achieve the intent, thereby improving the efficiency of achieving the intent and reducing the hardware requirements of the third network element.
在一些可能的实施方式中,意图包括需求描述信息和第二网元的描述信息,第一网元根据意图获取操作需求和第二网元的标识,包括:第一网元从第一数据库中获取属性信息符合描述信息的第二网元的标识,第一数据库包括第二网元的属性信息与第二网元的标识的关联关系;第一网元根据需求描述信息从第二数据库中获取操作需求,第二数据库包括需求描述信息与操作需求的关联关系。如此,第一网元可根据第二网元的描述信息从第一数据库中快速地获取第二网元的标识,和从第二数据库中快速地获取操作需求。In some possible implementation manners, the intention includes the demand description information and the description information of the second network element. The first network element obtains the operation demand and the identification of the second network element according to the intention, including: the first network element obtains the identification of the second network element from the first database. Obtain the identification of the second network element whose attribute information conforms to the description information, the first database includes the association relationship between the attribute information of the second network element and the identification of the second network element; the first network element obtains from the second database according to the demand description information Operation requirements, the second database includes the relationship between the requirement description information and the operation requirements. In this way, the first network element can quickly obtain the identification of the second network element from the first database according to the description information of the second network element, and quickly obtain the operation requirements from the second database.
在一些可能的实施方式中,第二网元的描述信息包括第二网元的属性条件信息。这样,第一网元能够根据第二网元的属性条件信息,从多个网元中获得属性信息符合属性条件信息的第二网元。In some possible implementation manners, the description information of the second network element includes attribute condition information of the second network element. In this way, the first network element can obtain the second network element whose attribute information meets the attribute condition information from the multiple network elements according to the attribute condition information of the second network element.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。如此,第三网元可根据操作需求中的操作控制第二网元的运行状态,从而达成意图。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element. In this way, the third network element can control the operating state of the second network element according to the operation in the operation demand, so as to achieve the intention.
第三方面,本申请实施例提供一种意图处理方法,包括:In a third aspect, an embodiment of the present application provides an intention processing method, including:
第二网元接收第一网元发送的操作需求,操作需求是第一网元根据接收到的意图得到的;The second network element receives the operation demand sent by the first network element, and the operation demand is obtained by the first network element according to the received intention;
第二网元根据操作需求对应的操作实现意图。The second network element realizes the intention according to the operation corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第二网元,由第二网元分别根据操作需求控制自身的业务运行以达成意图。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element, and the second network element controls its own service operation according to the operation requirements to achieve the intent. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。如此,第二网元可根据操作需求中的操作控制自身的运行状态,从而达成意图。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, the instruction format It is used to indicate the format of the operation instruction executed by the second network element. In this way, the second network element can control its own operating state according to the operation in the operation demand, so as to achieve the intention.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;第二网元根据操作需求对应的操作实现意图包括:当第二网元识别出操作的类型为第一类型时,第二网元获取自身的网络状态;当网络状态不符合达成准则时,第二网元根据网络状态,从一个或多个操作中获取符合执行条件的第一目标操作,并根据第一目标操作调整运行状态,直到网络状态符合达成准则。如此,第二网元根据第一类型的操 作,调整运行状态,直到调整运行状态后的网络状态符合达成准则,即达成意图。In some possible implementation manners, the operation requirements include fulfillment criteria, one or more operations, and the execution conditions corresponding to each operation; the second network element according to the operation requirements corresponding to the operation realization intention includes: when the second network element recognizes the operation When the type of is the first type, the second network element obtains its own network status; when the network status does not meet the reaching criteria, the second network element obtains the first target that meets the execution conditions from one or more operations according to the network status Operate, and adjust the running state according to the first target operation until the network state meets the reaching criterion. In this way, the second network element adjusts the operation state according to the operation of the first type until the network state after the adjustment of the operation state meets the achievement criterion, that is, the intention is achieved.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;第二网元根据操作需求对应的操作实现意图包括:当第二网元识别出操作的类型为第二类型时,第二网元获取自身的网络状态;当自身的网络状态不符合达成准则时,第二网元根据自身的网络状态从一个或多个操作中获取符合执行条件的第二目标操作,并根据第二目标操作调整运行状态;第二网元获取调整运行状态后的网络状态;当调整运行状态后的网络状态不符合达成准则时,第二网元判断调整运行状态后的网络状态是否符合第二目标操作对应的执行条件;当调整运行状态后的网络状态符合第二目标操作对应的执行条件时,第二网元根据达成准则和调整运行状态后的网络状态修改第二目标操作,根据修改后的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则;当调整运行状态后的网络状态不符合第二目标操作对应的执行条件时,第二网元根据调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则。如此,第二网元根据优化类型的操作,调整运行状态,并根据调整运行状态后的网络状态和达成准则之间的差异,修改操作,再根据修改后的操作调整运行状态,直到调整运行状态后的网络状态符合达成准则,即达成意图。In some possible implementation manners, the operation requirements include fulfillment criteria, one or more operations, and the execution conditions corresponding to each operation; the second network element according to the operation requirements corresponding to the operation realization intention includes: when the second network element recognizes the operation When the type is the second type, the second network element obtains its own network status; when its own network status does not meet the reaching criteria, the second network element obtains from one or more operations that meet the execution conditions according to its own network status The second target operation, and the operation status is adjusted according to the second target operation; the second network element obtains the network status after the adjustment operation status; when the network status after the adjustment operation status does not meet the reaching criteria, the second network element judges the adjustment operation status Whether the subsequent network state meets the execution conditions corresponding to the second target operation; when the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation, the second network element is modified according to the achievement criteria and the network state after adjusting the operating state The second target operation is to adjust the operating status according to the modified second target operation, and obtain the network status after adjusting the operating status; until the network status after adjusting the operating status meets the reaching criteria; when the network status after adjusting the operating status does not meet the first When the execution condition corresponding to the second target operation is performed, the second network element reacquires the second target operation that meets the execution conditions from one or more operations according to the network status after adjusting the operation status, and adjusts the operation according to the reacquired second target operation Status, and obtain the network status after adjusting the operating status; until the network status after adjusting the operating status meets the reached criteria. In this way, the second network element adjusts the operating state according to the operation of the optimized type, and modifies the operation according to the difference between the network state after the adjusted operating state and the reached criterion, and then adjusts the operating state according to the modified operation until the operating state is adjusted The subsequent network state meets the reaching criteria, that is, the intention is reached.
在一些可能的实施方式中,操作需求还包括奖励公式,第二网元根据达成准则和调整运行状态后的网络状态修改第二目标操作,包括:第二网元根据达成准则、奖励公式和调整运行状态后的网络状态修改第二目标操作。这样,奖励公式由第一网元发送给第二网元,第二网元可不需要计算奖励公式,从而可以减少第二网元的计算量,节省资源。In some possible implementations, the operation requirement also includes a reward formula. The second network element modifies the second target operation according to the achievement criterion and the network state after adjusting the operating state, including: the second network element modifies the second target operation according to the achievement criterion, reward formula, and adjustment The network status after the running status modifies the second target operation. In this way, the reward formula is sent by the first network element to the second network element, and the second network element does not need to calculate the reward formula, thereby reducing the calculation amount of the second network element and saving resources.
第四方面,本申请实施例提供一种意图处理方法,包括:In a fourth aspect, an embodiment of the present application provides an intention processing method, including:
第三网元接收第一网元发送的第二网元的标识和操作需求,第二网元的标识和操作需求是第一网元根据接收到的意图得到的;The third network element receives the identification and operation requirements of the second network element sent by the first network element, and the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
第三网元根据操作需求对应的操作控制第二网元的业务运行以实现意图。The third network element controls the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第三网元。第三网元根据操作需求控制第二网元的业务运行以达成意图。在达成意图的过程中,一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element. The third network element controls the service operation of the second network element according to the operational requirements to achieve the intention. In the process of achieving the intention, a third network element can control the business operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。如此,第三网元可根据操作需求中的操作控制第二网元的运行状态,从而达成意图。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element. In this way, the third network element can control the operating state of the second network element according to the operation in the operation demand, so as to achieve the intention.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个执行操作和与每个操 作对应的执行条件;第三网元根据操作需求对应的操作控制第二网元的业务运行以实现意图包括:当第三网元识别出操作的操作类型为第一类型时,第三网元获取第二网元的网络状态;当网络状态不符合达成准则时,第三网元根据网络状态,从一个或多个操作中获取符合执行条件的第一目标操作,并利用第一目标操作控制第二网元的业务运行,直到网络状态符合达成准则。如此,第三网元根据第一类型的操作,控制第二网元调整运行状态,直到调整运行状态后的网络状态符合达成准则,即达成意图。In some possible implementations, the operation requirements include fulfillment criteria, one or more execution operations, and execution conditions corresponding to each operation; the third network element controls the business operation of the second network element according to the operations corresponding to the operation requirements to achieve The intention includes: when the third network element recognizes that the operation type of the operation is the first type, the third network element obtains the network status of the second network element; when the network status does not meet the reaching criteria, the third network element, according to the network status, Obtain the first target operation that meets the execution condition from one or more operations, and use the first target operation to control the service operation of the second network element until the network status meets the achievement criterion. In this way, the third network element controls the second network element to adjust the operating state according to the first type of operation until the network state after the adjusted operating state meets the achievement criterion, that is, the intention is achieved.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;第三网元根据操作需求对应的操作控制第二网元的业务运行以实现意图包括:当第三网元识别出操作的类型为第二类型时,第三网元获取第二网元的网络状态;当第二网元的网络状态不符合达成准则时,第三网元根据第二网元的网络状态从一个或多个操作中获取符合执行条件的第二目标操作,并根据第二目标操作控制第二网元调整运行状态;第三网元获取第二网元的调整运行状态后的网络状态;当调整运行状态后的网络状态不符合达成准则时,第二网元判断调整运行状态后的网络状态是否符合第二目标操作对应的执行条件;当调整运行状态后的网络状态符合第二目标操作对应的执行条件时,第三网元根据达成准则和调整运行状态后的网络状态修改第二目标操作,并根据修改后的第二目标操作控制第二网元调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则;当调整运行状态后的网络状态不符合第二目标操作对应的执行条件时,第三网元根据调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作控制第二网元调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则。如此,第三网元根据优化类型的操作,控制第二网元调整运行状态,并根据调整运行状态后的网络状态和达成准则之间的差异,修改操作,再根据修改后的操作调整运行状态,直到调整运行状态后的网络状态符合达成准则,即达成意图。In some possible implementations, the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation; the third network element controls the business operation of the second network element according to the operations corresponding to the operation requirements to achieve the intention including : When the third network element recognizes that the type of operation is the second type, the third network element obtains the network status of the second network element; when the network status of the second network element does not meet the reached criteria, the third network element The network status of the second network element obtains the second target operation that meets the execution conditions from one or more operations, and controls the second network element to adjust the operation status according to the second target operation; the third network element obtains the adjustment operation of the second network element The network state after the state; when the network state after adjusting the operating state does not meet the reaching criteria, the second network element determines whether the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation; when the network after adjusting the operating state When the status meets the execution conditions corresponding to the second target operation, the third network element modifies the second target operation according to the achievement criteria and the network status after adjusting the operating status, and controls the second network element to adjust the operating status according to the modified second target operation , And obtain the network status after adjusting the operating status; until the network status after adjusting the operating status meets the reaching criteria; when the network status after adjusting the operating status does not meet the execution conditions corresponding to the second target operation, the third network element operates according to the adjustment The state of the network after the state, re-obtain the second target operation that meets the execution conditions from one or more operations, control the second network element to adjust the operating state according to the re-obtained second target operation, and obtain the network state after the adjusted operating state ; Until the network status after adjusting the operating status meets the reached criteria. In this way, the third network element controls the second network element to adjust the operating state according to the operation of the optimized type, and modifies the operation according to the difference between the network state after the adjusted operating state and the reached criteria, and then adjusts the operating state according to the modified operation , Until the network status after adjusting the operating status meets the reaching criteria, that is, the intention is reached.
在一些可能的实施方式中,操作需求还包括奖励公式,第三网元根据达成准则和调整运行状态后的网络状态修改第二目标操作,包括:第三网元根据达成准则、奖励公式和调整运行状态后的网络状态修改目标操作。这样,奖励公式由第一网元发送给第三网元,第三网元可不需要计算奖励公式,从而可以减少第三网元的计算量,节省资源。In some possible implementations, the operation requirement also includes a reward formula. The third network element modifies the second target operation according to the achievement criterion and the network state after adjusting the operating state, including: the third network element modifies the second target operation according to the achievement criterion, reward formula and adjustment The network status after the running status modifies the target operation. In this way, the reward formula is sent by the first network element to the third network element, and the third network element does not need to calculate the reward formula, thereby reducing the calculation amount of the third network element and saving resources.
第五方面,本申请实施例提供一种第一网元,包括:In a fifth aspect, an embodiment of the present application provides a first network element, including:
接收模块,用于接收意图;Receiving module, used to receive intent;
处理模块,用于根据意图获取操作需求和第二网元的标识;The processing module is used to obtain the operation requirements and the identification of the second network element according to the intention;
发送模块,用于根据第二网元的标识向第二网元发送操作需求,操作需求用于指示第二网元根据操作需求对应的操作实现意图。The sending module is configured to send the operation requirement to the second network element according to the identifier of the second network element, and the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第二网元。第二网元分别根据操作需求控制自身的业务运行以达成意图。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element. The second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
在一些可能的实施方式中,意图包括需求描述信息和第二网元的描述信息,处理模块包括:In some possible implementation manners, the intention includes demand description information and description information of the second network element, and the processing module includes:
第一获取单元,用于从第一数据库中获取属性信息符合描述信息的第二网元的标识,第一数据库包括第二网元的属性信息与第二网元的标识的关联关系;The first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
第二获取单元,用于根据需求描述信息从第二数据库中获取操作需求,第二数据库包括需求描述信息与操作需求的关联关系。The second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
在一些可能的实施方式中,第二网元的描述信息包括第二网元的属性条件信息。In some possible implementation manners, the description information of the second network element includes attribute condition information of the second network element.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
第六方面,本申请实施例提供一种第一网元,包括:In a sixth aspect, an embodiment of the present application provides a first network element, including:
接收模块,用于接收意图;Receiving module, used to receive intent;
处理模块;用于根据意图获取操作需求和第二网元的标识;Processing module; used to obtain operation requirements and the identification of the second network element according to the intention;
获取模块,用于获取第三网元的标识;The obtaining module is used to obtain the identifier of the third network element;
发送模块,用于根据第三网元的标识,向第三网元发送操作需求和第二网元的标识,操作需求用于指示根据操作需求对应的操作实现意图。The sending module is configured to send the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate the operation realization intention corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第三网元。第三网元根据操作需求控制第二网元的业务运行以达成意图。在达成意图的过程中,一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element. The third network element controls the service operation of the second network element according to the operational requirements to achieve the intention. In the process of achieving the intention, a third network element can control the business operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
在一些可能的实施方式中,意图包括需求描述信息和第二网元的描述信息,处理模块包括:In some possible implementation manners, the intention includes demand description information and description information of the second network element, and the processing module includes:
第一获取单元,用于从第一数据库中获取属性信息符合描述信息的第二网元的标识,第一数据库包括第二网元的属性信息与第二网元的标识的关联关系;The first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
第二获取单元,用于根据需求描述信息从第二数据库中获取操作需求,第二数据库包括需求描述信息与操作需求的关联关系。The second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
在一些可能的实施方式中,获取模块包括:In some possible implementation manners, the acquisition module includes:
第三获取单元,用于根据意图获取第三网元的标识;或The third acquiring unit is used to acquire the identity of the third network element according to the intention; or
第四获取单元,用于根据第二网元的标识获取第三网元的标识。The fourth acquiring unit is configured to acquire the identifier of the third network element according to the identifier of the second network element.
在一些可能的实施方式中,第二网元的描述信息包括第二网元的属性条件信息。In some possible implementation manners, the description information of the second network element includes attribute condition information of the second network element.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
第七方面,本申请实施例提供一种第二网元,包括:In a seventh aspect, an embodiment of the present application provides a second network element, including:
接收模块,用于接收第一网元发送的操作需求,操作需求是第一网元根据接收到的意图得到的;The receiving module is configured to receive the operation requirement sent by the first network element, and the operation requirement is obtained by the first network element according to the received intention;
执行模块,用于根据操作需求对应的操作实现意图。The execution module is used to realize the intention according to the operation corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第二网元。第二网元分别根据操作需求控制自身的业务运行以达成意图。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element. The second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
执行模块包括:Execution modules include:
第一获取单元,用于当识别出操作的类型为第一类型时,获取自身的网络状态;The first obtaining unit is configured to obtain its own network status when it is recognized that the type of operation is the first type;
第一执行单元,用于当网络状态不符合达成准则时,根据自身的网络状态,从一个或多个操作中获取符合执行条件的第一目标操作,并根据第一目标操作调整运行状态,直到自身的网络状态符合达成准则。The first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to its own network state when the network state does not meet the achievement criterion, and adjust the running state according to the first target operation until The state of its own network complies with the reaching criteria.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
执行模块包括:Execution modules include:
第二获取单元,用于当识别出操作的类型为第二类型时,获取自身的网络状态;The second acquiring unit is configured to acquire its own network status when it is recognized that the type of operation is the second type;
第二执行单元,用于当自身的网络状态不符合达成准则时,根据自身的网络状态从一个或多个操作中获取符合执行条件的第二目标操作,并根据第二目标操作调整运行状态;The second execution unit is used to obtain a second target operation that meets the execution conditions from one or more operations according to the own network state when the network state of the own does not meet the achievement criterion, and adjust the running state according to the second target operation;
判断单元,用于获取调整运行状态后的网络状态;和当调整运行状态后的网络状态不符合达成准则时,判断调整运行状态后的网络状态是否符合第二目标操作对应的执行条件;The judging unit is used to obtain the network state after adjusting the operating state; and when the network state after adjusting the operating state does not meet the achievement criterion, judging whether the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation;
第三执行单元,用于当调整运行状态后的网络状态符合第二目标操作对应的执行条件时,根据达成准则和调整运行状态后的网络状态修改第二目标操作,并根据修改后的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则;The third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation The target operation adjusts the operating state, and obtains the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
第四执行单元,用于当调整运行状态后的网络状态不符合第二目标操作对应的执行条件时,根据调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则。The fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations The second target operation is to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
在一些可能的实施方式中,操作需求包括奖励公式,在根据达成准则和调整运行状态后的网络状态修改第二目标操作方面,第三执行单元具体用于:In some possible implementation manners, the operation requirement includes a reward formula. In terms of modifying the second target operation according to the achievement criterion and the network state after adjusting the operating state, the third execution unit is specifically used to:
根据达成准则、奖励公式和调整运行状态后的网络状态修改第二目标操作。Modify the second target operation according to the achievement criteria, the reward formula, and the network status after adjusting the operating status.
第八方面,本申请实施例提供一种第三网元,包括:In an eighth aspect, an embodiment of the present application provides a third network element, including:
接收模块,用于接收第一网元发送的第二网元的标识和操作需求,第二网元的标识和操作需求是第一网元根据接收到的意图得到的;The receiving module is configured to receive the identification and operation requirements of the second network element sent by the first network element, and the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
执行模块,用于根据操作需求对应的操作控制第二网元的业务运行以实现意图。The execution module is used to control the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第三网元。第三网元根据操作需求控制第二网元的业务运行以达成意图。在达成意图的过程中,一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element. The third network element controls the service operation of the second network element according to the operational requirements to achieve the intention. In the process of achieving the intention, a third network element can control the business operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个执行操作和与每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more execution operations, and execution conditions corresponding to each operation;
执行模块包括:Execution modules include:
第一获取单元,用于当第三网元识别出操作的操作类型为第一类型时,获取第二网元的网络状态;The first obtaining unit is configured to obtain the network status of the second network element when the third network element recognizes that the operation type of the operation is the first type;
第一执行单元,用于当网络状态不符合达成准则时,根据网络状态,从一个或多个操作中获取符合执行条件的第一目标操作,并利用第一目标操作控制第二网元的业务运行,直到第二网元的网络状态符合达成准则。The first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to the network state when the network state does not meet the achievement criterion, and use the first target operation to control the service of the second network element Run until the network status of the second network element meets the reached criteria.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
执行模块包括:Execution modules include:
第二获取单元,用于当第三网元识别出操作的类型为第二类型时,获取第二网元的网络状态;The second acquiring unit is configured to acquire the network status of the second network element when the third network element recognizes that the type of operation is the second type;
第二执行单元,用于当第二网元的网络状态不符合达成准则时,根据第二网元的网络状态从一个或多个操作中获取符合执行条件的第二目标操作,并根据第二目标操作控制第二网元调整运行状态;The second execution unit is configured to obtain a second target operation that meets the execution conditions from one or more operations according to the network state of the second network element when the network status of the second network element does not meet the achievement criterion, and according to the second target operation The target operation controls the second network element to adjust the operating state;
判断单元,用于获取第二网元的调整运行状态后的网络状态;当调整运行状态后的网络状态不符合达成准则时,判断调整运行状态后的网络状态是否符合第二目标操作对应的执行条件;The judging unit is used to obtain the network state of the second network element after the adjusted operating state; when the adjusted operating state of the network does not meet the achievement criterion, determine whether the adjusted operating state of the network meets the corresponding execution of the second target operation condition;
第三执行单元,用于当调整运行状态后的网络状态符合第二目标操作对应的执行条件时,根据达成准则和调整运行状态后的网络状态修改第二目标操作,并根据修改后的第二目标操作控制第二网元调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则;The third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation The target operation controls the second network element to adjust the operating state and obtain the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
第四执行单元,用于当调整运行状态后的网络状态不符合第二目标操作对应的执行条件时,根据调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作控制第二网元调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则。The fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations The second target operation is to control the second network element to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
在一些可能的实施方式中,操作需求还包括奖励公式,根据达成准则和调整运行状态后的网络状态修改第二目标操作方面,第三执行单元具体用于:In some possible implementation manners, the operation requirement also includes a reward formula. In terms of modifying the second target operation according to the achievement criterion and the network state after adjusting the operating state, the third execution unit is specifically used to:
根据达成准则、奖励公式和调整运行状态后的网络状态修改目标操作。Modify the target operation based on the achievement criteria, the reward formula, and the network status after adjusting the operating status.
第九方面,本申请实施例提供一种设备,设备包括处理器和存储器,存储器存储计算机指令;处理器执行存储器存储的计算机指令,使得设备执行上述第一方面任一实施方式的意图处理方法,或上述第二方面任一实施方式的意图处理方法,或上述第三方面任一实施方式的意图处理方法,或上述第四方面任一实施方式的意图处理方法。In a ninth aspect, an embodiment of the present application provides a device. The device includes a processor and a memory, and the memory stores computer instructions; the processor executes the computer instructions stored in the memory, so that the device executes the intention processing method of any one of the above-mentioned embodiments of the first aspect, Or the intention processing method of any embodiment of the above second aspect, or the intention processing method of any embodiment of the above third aspect, or the intention processing method of any embodiment of the above fourth aspect.
第十方面,本申请提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,该计算机指令指示该服务器执行上述第一方面的任一实施方式提供的意图处理方法,或上述第二方面的任一实施方式提供的意图处理方法,或上述第三方面任一实施方式的意图处理方法,或上述第四方面任一实施方式的意图处理方法。In a tenth aspect, the present application provides a computer-readable storage medium having computer instructions stored in the computer-readable storage medium, and the computer instructions instruct the server to execute the intention processing method provided by any one of the embodiments of the first aspect, or The intention processing method provided by any embodiment of the above second aspect, or the intention processing method of any embodiment of the above third aspect, or the intention processing method of any embodiment of the above fourth aspect.
附图说明Description of the drawings
图1为现有技术中网络系统涉及的网络架构图;Figure 1 is a network architecture diagram involved in a network system in the prior art;
图2为现有技术中意图处理系统涉及的网络架构图;Figure 2 is a network architecture diagram involved in the intention processing system in the prior art;
图3a为现有技术中意图处理系统涉及的另一网络架构图;Figure 3a is another network architecture diagram involved in the intention processing system in the prior art;
图3b为现有技术中意图处理系统涉及的又一网络架构图;Figure 3b is another network architecture diagram involved in the intention processing system in the prior art;
图4为本申请实施例的意图处理系统的网络架构图;FIG. 4 is a network architecture diagram of an intention processing system according to an embodiment of the application;
图5a为本申请实施例的意图处理方法的流程示意图;FIG. 5a is a schematic flowchart of an intention processing method according to an embodiment of the application;
图5b为本申请实施例的意图处理方法的另一流程示意图;FIG. 5b is a schematic diagram of another flow of the intention processing method according to an embodiment of the application;
图6为本申请实施例的意图处理系统的另一网络架构图;FIG. 6 is another network architecture diagram of the intention processing system according to an embodiment of the application;
图7a为本申请实施例的意图处理方法的又一流程示意图;FIG. 7a is another schematic flowchart of the intention processing method according to an embodiment of the application;
图7b为本申请实施例的意图处理方法的再一流程示意图;FIG. 7b is a schematic diagram of still another process of the intention processing method according to an embodiment of the application;
图8为本申请实施例的第一网元的模块示意图;FIG. 8 is a schematic diagram of modules of a first network element according to an embodiment of the application;
图9为本申请实施例的第一网元的另一模块示意图;FIG. 9 is a schematic diagram of another module of the first network element according to an embodiment of the application;
图10为本申请实施例的第二网元的模块示意图;FIG. 10 is a schematic diagram of modules of a second network element according to an embodiment of the application;
图11为本申请实施例的第三网元的模块示意图;FIG. 11 is a schematic diagram of modules of a third network element according to an embodiment of the application;
图12为本申请实施例的设备的结构示意图;FIG. 12 is a schematic structural diagram of a device according to an embodiment of the application;
图13为本申请实施例的设备的结构示意图;FIG. 13 is a schematic structural diagram of a device according to an embodiment of the application;
图14为本申请实施例的设备的结构示意图。FIG. 14 is a schematic structural diagram of a device according to an embodiment of the application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the accompanying drawings.
图1为现有技术中的网络系统100的网络架构图。网络系统包括运行支撑系统 (operational support system,OSS)101、NMS102、EMS103和一个或多个网元104。FIG. 1 is a network architecture diagram of a network system 100 in the prior art. The network system includes an operational support system (OSS) 101, NMS102, EMS103, and one or more network elements 104.
其中,OSS是面向运营商业务的综合管理系统,运营商可以通过OSS实现订单管理、计费、用户管理或产品管理等功能。Among them, OSS is a comprehensive management system for operators' services. Operators can implement order management, billing, user management, or product management functions through OSS.
其中,NMS可以是负责网络的运行、管理和维护功能的管理系统,NMS可以提供故障、配置、计帐、性能或安全(fault,configuration,accounting,performance or security,FCAPS)等五种基本功能。NMS的管理对象可以包括网络中所有的实体,如:网络设备、应用程序、服务器系统、路由器、交换机、集线器、辅助设备(例如,不间断电源系统(uninterrupted power system,UPS))等。NMS可以给网络管理员提供一个全系统的网络视图。Among them, the NMS can be a management system responsible for network operation, management, and maintenance functions. The NMS can provide five basic functions: fault, configuration, accounting, performance or security (fault, configuration, accounting, performance or security, FCAPS). The management objects of the NMS may include all entities in the network, such as: network equipment, applications, server systems, routers, switches, hubs, auxiliary equipment (for example, uninterrupted power system (UPS)) and so on. NMS can provide network administrators with a system-wide network view.
其中,EMS可以是符合国际电信联盟电信标准分局(ITU telecommunication standardization sector,ITU-T)标准的网元管理软件,可以管理一个或多个某个类别的网元。Among them, the EMS may be a network element management software that complies with the International Telecommunication Union's Telecommunication Standardization Sector (ITU-T) standard, and can manage one or more network elements of a certain category.
可选的,EMS允许用户单独管理每个网元的所有特征。Optionally, EMS allows users to individually manage all the characteristics of each network element.
请参阅图2,图2为现有技术中,意图处理系统的网络架构图。该意图处理系统包括意图发送方、意图系统和一个或多个网元。意图发送方可向意图系统发送意图。在意图中,包括要达到的目标,而不包括具体如何达到目标的操作。意图系统用于处理意图发送方的意图。意图系统接收到意图发送方发送的意图之后,意图系统根据意图得到意图执行的对象,该操作对象通常包括多个网元,例如,图2中的操作对象包括网元1、网元2、网元3……和网元n(n为正整数)。然后意图系统识别意图中的意图,并根据识别结果执行对应的操作以控制这多个网元的运行,从而达成意图。在意图系统控制多个网元的运行以达成意图的过程中,意图系统与多个网元之间需要进行大量的信令交互。Please refer to FIG. 2. FIG. 2 is a network architecture diagram of an intention processing system in the prior art. The intention processing system includes an intention sender, an intention system, and one or more network elements. The intent sender can send the intent to the intent system. In the intent, include the goal to be achieved, but does not include the specific operation of how to achieve the goal. The intent system is used to process the intent of the sender of the intent. After the intention system receives the intention sent by the intention sender, the intention system obtains the object to be executed according to the intention. The operation object usually includes multiple network elements. For example, the operation object in FIG. 2 includes network element 1, network element 2, and network element. Element 3... and network element n (n is a positive integer). Then the intent system recognizes the intent in the intent, and performs corresponding operations according to the recognition result to control the operation of these multiple network elements, so as to achieve the intent. In the process in which the intention system controls the operation of multiple network elements to achieve the intention, a large amount of signaling interaction is required between the intention system and the multiple network elements.
结合图1所示的网络系统100,网络系统100中的OSS101和NMS102可以作为意图管理系统中的意图发送方,网络系统100中的EMS 103可用于部署意图处理系统的意图系统。如图3a所示的意图处理系统的网络架构中,意图系统部署在EMS。EMS通常需要管理多个网元。若EMS接收到意图之后,根据该意图得到意图执行的对象为图3a所示的网元1、网元2、网元3……和网元n(n为正整数),那么意图系统根据意图的内容向网元1-网元n发送控制指令,来控制网元的运行以达成意图。在意图系统向网元1-网元n发送控制指令中,EMS与网元1-网元n中的每个网元之间都会有大量的信令交互,这样必然会增大EMS的负荷。即使是不将意图系统部署在EMS,而是将意图转译系统部署在单独的设备,当意图执行对象较多时,这个单独部署意图系统的设备的负荷也会过大。In combination with the network system 100 shown in FIG. 1, the OSS101 and NMS102 in the network system 100 can be used as the intention senders in the intention management system, and the EMS 103 in the network system 100 can be used to deploy the intention system of the intention processing system. In the network architecture of the intention processing system as shown in Figure 3a, the intention system is deployed in the EMS. EMS usually needs to manage multiple network elements. If the EMS receives the intent, the objects to be executed according to the intent are network element 1, network element 2, network element 3... and network element n (n is a positive integer) shown in Figure 3a, then the intention system according to the intention Send control instructions to the network element 1-network element n to control the operation of the network element to achieve the intention. When the intent system sends a control command to the network element 1 to the network element n, there will be a large number of signaling interactions between the EMS and each network element of the network element 1 to the network element n, which will inevitably increase the load of the EMS. Even if the intent system is not deployed in the EMS, but the intent translation system is deployed in a separate device, when there are many intent execution objects, the load of the device that deploys the intent system alone will be too large.
如果为了降低EMS或单独部署意图系统的设备的负荷,意图处理系统采用如图3b所示的网络架构,在网元1-网元n中的每个网元上部署意图系统,这样会导致浪费网元的存储资源。EMS接收到意图之后,会将同一个意图发送给网元1-网元n中的每个网元,网元1-网元n中的每个网元都会接收到同一个意图,并转译该同一个意图,这样也浪费了大量的计算资源。If, in order to reduce the load of the EMS or the equipment for separately deploying the intention system, the intention processing system adopts the network architecture shown in Figure 3b, and deploys the intention system on each of the network elements 1-network element n, which will lead to waste Storage resources of the network element. After the EMS receives the intent, it will send the same intent to each network element in network element 1-network element n, and each network element in network element 1-network element n will receive the same intent and interpret it. The same intention, this also wastes a lot of computing resources.
图4为本申请实施例的意图处理系统的网络架构图。意图处理系统包括第一网元和第二网元。第一网元为接收意图的网元。第一网元接收意图之后,根据该意图得到操作需求和第二网元的标识,然后根据第二网元的标识向第二网元发送操作需求。第二网元则可根 据操作需求控制自身的业务运行以达成意图。这样意图是由第一网元集中转译的,第一网元先将意图转译成操作需求之后,再将操作需求发送给一个或多个第二网元。一个或多个第二网元分别根据操作需求控制自身的业务运行以达成意图。那么,在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。Fig. 4 is a network architecture diagram of an intention processing system according to an embodiment of the application. The intention processing system includes a first network element and a second network element. The first network element is the network element that receives the intention. After receiving the intention, the first network element obtains the operation requirement and the identifier of the second network element according to the intention, and then sends the operation requirement to the second network element according to the identifier of the second network element. The second network element can control its own business operation according to operational requirements to achieve the intention. In this way, the intention is centrally translated by the first network element, and the first network element first translates the intention into an operation requirement, and then sends the operation requirement to one or more second network elements. One or more second network elements respectively control their own business operations according to operational requirements to achieve their intentions. Then, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
如图5a所示,图5a为本申请实施例的意图处理方法的流程示意图。意图处理方法包括以下步骤:As shown in FIG. 5a, FIG. 5a is a schematic flowchart of an intention processing method according to an embodiment of the application. The intention processing method includes the following steps:
S501、第一网元接收意图;S501. The first network element receives the intention;
具体地,第一网元接收来自意图发送方的意图。第一网元可以为部署有NMS的网元,也可以为部署有EMS的网元,还可以为没有部署NMS或EMS的网元。Specifically, the first network element receives the intention from the intention sender. The first network element may be a network element deployed with NMS, may also be a network element deployed with EMS, or may be a network element not deployed with NMS or EMS.
基于图1所示的网络系统100,当第一网元为部署有NMS的网元时,意图发送方可以是OSS或用户。第一网元可接收来自OSS的意图,或接收用户通过第一网元输入的意图。Based on the network system 100 shown in FIG. 1, when the first network element is a network element where an NMS is deployed, the intention sender may be an OSS or a user. The first network element may receive an intent from the OSS, or receive an intent input by a user through the first network element.
当第一网元为部署有EMS的网元时,意图发送方可以是NMS,也可以是OSS,还可以是用户。第一网元可接收来自NMS的意图,也可以接收来自OSS的意图,还可以接收用户通过第一网元输入的意图。When the first network element is a network element where an EMS is deployed, the intended sender may be an NMS, an OSS, or a user. The first network element may receive the intent from the NMS, may also receive the intent from the OSS, and may also receive the intent input by the user through the first network element.
当第一网元为没有部署NMS或EMS的网元,第一网元为独立于NMS和EMS的网元时,意图发送方可以是EMS、NMS、OSS或用户。第一网元可以接收来自EMS、NMS或OSS的意图,也可以接收用于通过第一网元输入的意图。When the first network element is a network element without NMS or EMS deployed, and the first network element is a network element independent of NMS and EMS, the intended sender may be EMS, NMS, OSS, or user. The first network element may receive an intent from the EMS, NMS, or OSS, and may also receive an intent for input through the first network element.
例如,意图包括需求描述信息和第二网元的描述性信息。意图发送方可通过意图表达式的方式提供意图。意图表达式中包括意图驱动对象部分和意图驱动操作部分,意图驱动对象部分中包括第二网元的属性描述信息。第二网元的属性描述信息具体可以为意图驱动对象所需的属性条件信息,也即第二网元的属性条件信息。第二网元的属性条件信息可包括但不限于网元类型条件、网元设备型号条件、网元所属的地理位置范围、网元的部署时间范围等。意图驱动操作部分包括意图对应的操作需求的需求描述信息。意图发送方可根据实际的意图需求,提供意图表达式来表达意图。具体地,意图表达式如下:For example, the intention includes demand description information and descriptive information of the second network element. The intention sender can provide the intention by means of an intention expression. The intention expression includes an intention-driven object part and an intention-driven operation part, and the intention-driven object part includes the attribute description information of the second network element. The attribute description information of the second network element may specifically be attribute condition information required by the intention-driven object, that is, the attribute condition information of the second network element. The attribute condition information of the second network element may include, but is not limited to, the network element type condition, the network element equipment model condition, the geographic location range to which the network element belongs, the deployment time range of the network element, and so on. The intention-driven operation part includes the requirement description information of the operation requirement corresponding to the intention. The intention sender can provide an intention expression to express the intention according to the actual intention demand. Specifically, the intention expression is as follows:
<IntentDrivenAction>,<IntentDrivenObject>;<IntentDrivenAction>,<IntentDrivenObject>;
例如意图驱动对象部分为“深圳市南山区内的5G基站”,其中“深圳市南山区”为网元所属的地理位置范围,“5G基站”为网元设备类型条件。For example, the intent-driven object part is "5G base stations in Nanshan District, Shenzhen", where "Nanshan District, Shenzhen" is the geographic location range to which the network element belongs, and "5G base station" is the network element equipment type condition.
意图驱动操作部分包括根据意图需求抽象和简化得到的操作需求的需求描述信息。第一网元可根据该需求描述信息获得对应的操作需求。The intention-driven operation part includes the requirement description information of the operation requirement obtained by abstracting and simplifying the intention requirement. The first network element can obtain the corresponding operation requirement according to the requirement description information.
当然,意图不限于通过意图表达式的方式提供,意图表达式也不限于上述形式。在其他实施例中,意图发送方可通过其他方式提供意图。Of course, the intention is not limited to being provided by way of intention expression, and the intention expression is not limited to the above-mentioned form. In other embodiments, the intention sender may provide the intention in other ways.
S502、第一网元根据该意图获取操作需求和第二网元的标识。S502. The first network element obtains the operation requirement and the identifier of the second network element according to the intention.
意图中包括需求描述信息和第二网元的描述信息。The intent includes the requirement description information and the description information of the second network element.
该第二网元的描述信息包括第二网元的属性条件信息。第一网元获取符合该属性条件信息的第二网元的标识。该属性条件信息可包括但不限于地理位置范围、部署时间范围、网元类型、网元设备型号、网元能够执行的指令格式。The description information of the second network element includes attribute condition information of the second network element. The first network element obtains the identifier of the second network element that meets the attribute condition information. The attribute condition information may include, but is not limited to, geographic location range, deployment time range, network element type, network element device model, and command format that can be executed by the network element.
第一网元获取与该需求描述信息对应的操作需求。需求描述信息包括意图索引,第一 网元可先识别该需求描述信息得到意图索引,然后获取与该意图索引对应的操作需求。需求描述信息包括“调整语音数据丢包率(volte_loss_rate)到1%以下”,则第一网元可识别出意图索引为“语音数据丢包率”。第二网元能够根据该操作需求中的操作达成意图。The first network element obtains the operation requirement corresponding to the requirement description information. The requirement description information includes an intent index. The first network element may first identify the requirement description information to obtain the intent index, and then obtain the operation requirement corresponding to the intent index. The requirement description information includes "adjust the voice data packet loss rate (volte_loss_rate) to less than 1%", then the first network element can recognize that the intent index is "voice data packet loss rate". The second network element can achieve the intention according to the operation in the operation requirement.
例如,第一网元根据该意图获取操作需求和第二网元的标识的实现方式可以参考后续图5b的描述。For example, the implementation manner for the first network element to obtain the operation requirements and the identification of the second network element according to the intention may refer to the description of the subsequent FIG. 5b.
S503、第一网元根据第二网元的标识向第二网元发送操作需求;S503: The first network element sends an operation requirement to the second network element according to the identifier of the second network element.
可选的,需求描述信息包括意图索引和意图目标。第一网元获得的与该意图索引对应的操作需求中,包括待填充的参数。第一网元根据意图索引获得操作需求之后,可根据意图目标填充该操作需求中的待填充参数,得到填充后的操作需求。然后第一网元向第二网元发送该填充后的操作需求。例如,需求描述信息包括“调整语音数据丢包率(volte_loss_rate)到1%以下”,则第一网元可识别出意图索引为“语音数据丢包率”,意图目标为“1%以下”。该意图索引对应的操作需求包括达成准则、多个操作和每个操作对应的执行条件,达成准则中的达成条件是待填充的参数。第一网元则可以根据意图目标“1%以下”得到达成准则中的达成条件为1%。Optionally, the requirement description information includes an intent index and an intent target. The operation requirements corresponding to the intent index obtained by the first network element include parameters to be filled. After the first network element obtains the operation requirement according to the intent index, it can fill in the parameters to be filled in the operation requirement according to the intent target to obtain the filled operation requirement. Then the first network element sends the filled operation demand to the second network element. For example, if the requirement description information includes "adjust the voice data packet loss rate (volte_loss_rate) to less than 1%", the first network element can recognize that the intent index is "voice data packet loss rate" and the intent target is "1% or less". The operation requirements corresponding to the intent index include an achievement criterion, multiple operations, and execution conditions corresponding to each operation. The achievement condition in the achievement criterion is a parameter to be filled. The first network element can obtain the achievement condition of 1% in the achievement criterion according to the intention target "below 1%".
可选的,需求描述信息包括意图索引。第一网元获得的与意图索引对应的操作需求中,不包括待填充的参数。第一网元可向第二网元发送从第二数据库中获得的操作需求。例如,需求描述信息为对深圳市南山区内的各个小区进行负载均衡调整,则第一网元可以识别出该意图索引为负载均衡调整,则第一网元从第二数据库中获取负载均衡调整对应的操作需求,该操作需求中包含均衡负载的操作。Optionally, the requirement description information includes an intent index. The operation requirements corresponding to the intent index obtained by the first network element do not include the parameters to be filled. The first network element may send the operation requirements obtained from the second database to the second network element. For example, if the demand description information is to perform load balancing adjustments on various cells in Nanshan District, Shenzhen, the first network element can recognize that the intent index is load balancing adjustment, and the first network element obtains the load balancing adjustment from the second database. Corresponding operation requirements, which include load balancing operations.
S504、第二网元根据操作需求中的操作实现该意图。S504. The second network element realizes the intention according to the operation in the operation requirement.
操作需求中的操作包括操作指令,第二网元可通过执行操作指令实现该意图。The operation in the operation requirement includes an operation instruction, and the second network element can implement the intention by executing the operation instruction.
例如,第二网元根据操作需求中的操作实现该意图的实现方式可以参考后续图5b的描述。For example, for the implementation of the second network element to achieve the intention according to the operation in the operation requirement, reference may be made to the subsequent description of FIG. 5b.
本申请实施例的技术方案中,第一网元接收意图之后,根据意图获取操作需求和第二网元的标识,再根据第二网元的标识向第二网元发送操作需求。第二网元根据操作需求中的操作实现该意图。这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第二网元。第二网元分别根据操作需求控制自身的业务运行以达成意图。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。In the technical solution of the embodiment of the present application, after receiving the intention, the first network element obtains the operation requirement and the identifier of the second network element according to the intention, and then sends the operation requirement to the second network element according to the identifier of the second network element. The second network element realizes the intention according to the operation in the operation requirement. In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element. The second network element controls its own service operation according to the operation requirements to achieve the intention. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
在一些可选的实施例中,本申请实施例的意图处理方法还包括:In some optional embodiments, the intention processing method in the embodiments of the present application further includes:
S505、第二网元向第一网元发送意图达成消息。S505: The second network element sends an intention fulfillment message to the first network element.
如此,第一网元接收到意图达成消息,且意图达成消息中包含该意图的标识时,则可确认该第二网元已达成该意图。In this way, when the first network element receives the intention fulfillment message, and the intention fulfillment message includes the identifier of the intention, it can be confirmed that the second network element has fulfilled the intention.
具体地,第一网元向第二网元发送操作需求时,可将该意图的标识也发送至第二网元。第二网元向第一网元发送的意图达成消息中,可包括该意图的标识。这样,当第一网元处理多个意图时,能够根据意图达成消息中的意图的标识确定已达成的意图。Specifically, when the first network element sends the operation request to the second network element, the identifier of the intention may also be sent to the second network element. The intention accomplishment message sent by the second network element to the first network element may include the identifier of the intention. In this way, when the first network element processes multiple intents, the achieved intent can be determined according to the identifier of the intent in the intent fulfillment message.
请参阅图5b,图5b为本申请实施例的意图处理方法的流程示意图。基于上述图5a所 示的实施例,在一些可选地实施例中,第一网元根据该意图获取操作需求和第二网元的标识包括以下步骤S5021和S5022。Please refer to FIG. 5b, which is a schematic flowchart of an intention processing method according to an embodiment of the application. Based on the embodiment shown in FIG. 5a, in some optional embodiments, the first network element acquiring the operation requirement and the identification of the second network element according to the intention includes the following steps S5021 and S5022.
S5021、第一网元从第一数据库中获取属性信息符合该描述信息的第二网元的标识;S5021, the first network element obtains the identifier of the second network element whose attribute information matches the description information from the first database;
第一数据库包括第二网元的属性信息和第二网元的标识的关联关系。具体地,第一数据库包括多个网元的属性信息与每个网元的标识的关联关系。第一网元根据第二网元的描述信息,从第一数据库中获取属性信息符合该描述信息的第二网元的标识。例如,第二网元的描述信息包括“深圳市南山区内的5G基站”,该描述信息中包括地理位置属性对应的地理位置范围“深圳市南山区”,和网元类型属性对应的网元类型条件“5G基站”。第一网元根据该描述信息,从第一数据库中,获取属性信息中的地理位置属性符合该地理位置范围、网元类型属性符合该网元类型条件的第二网元的标识。需要说明的是,描述信息的内容不限于上述举例,上述举例仅用于解释说明,不构成对本申请的限制。The first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element. Specifically, the first database includes the association relationship between the attribute information of the multiple network elements and the identifier of each network element. According to the description information of the second network element, the first network element obtains the identifier of the second network element whose attribute information matches the description information from the first database. For example, the description information of the second network element includes "5G base station in Nanshan District, Shenzhen", and the description information includes the geographic location range "Nanshan District, Shenzhen" corresponding to the geographic location attribute, and the network element corresponding to the network element type attribute Type condition "5G base station". According to the description information, the first network element obtains the identifier of the second network element whose geographic location attribute in the attribute information meets the geographic location range and the network element type attribute meets the network element type condition from the first database. It should be noted that the content of the description information is not limited to the above examples, and the above examples are only used for explanation and do not constitute a restriction on the application.
S5022、第一网元根据需求描述信息从第二数据库中获取操作需求。S5022. The first network element obtains the operation requirement from the second database according to the requirement description information.
第二数据库中包括需求描述信息与操作需求的关联关系。第二数据库中的操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、操作的类型信息和执行该操作所需满足的执行条件、指令格式与第二网元的标识的对应关系。达成准则为衡量意图达成的条件。执行约束为根据操作实现该意图时所需满足的约束。奖励公式用于根据所述第二网元的网络状态调整所述操作中的参数值。指令格式用于指示第二网元执行操作指令的格式。The second database includes the relationship between the requirement description information and the operation requirement. The operation requirements in the second database include operations, or operations, and one or more of the following: reaching criteria, execution constraints, reward formulas, operation type information and execution conditions that need to be met to perform the operation, instruction format, and the second network Correspondence of the identity of the meta. Achievement criterion is a condition for measuring the achievement of an intent. The execution constraint is the constraint that needs to be satisfied when the intention is realized according to the operation. The reward formula is used to adjust the parameter value in the operation according to the network state of the second network element. The instruction format is used to instruct the second network element to execute the format of the operation instruction.
第二数据库可按照区域部署。操作需求中的指令格式包括,该第二数据库对应的区域内,能够执行该操作需求的网元的标识与指令格式的对应关系。每个网元的标识对应的指令格式为,该网元执行该操作需求中的操作指令时,操作指令的格式。可选的,指令格式可为对应的第二网元支持的操作指令的格式。The second database can be deployed according to regions. The instruction format in the operation requirement includes the correspondence between the identifier of the network element capable of executing the operation requirement and the instruction format in the area corresponding to the second database. The instruction format corresponding to the identifier of each network element is the format of the operation instruction when the network element executes the operation instruction in the operation requirement. Optionally, the instruction format may be a format of an operation instruction supported by the corresponding second network element.
需求描述信息对应的操作需求中可以仅包含操作;操作需求中也可以包含操作,和达成准则、执行约束、奖励公式、所述操作的类型信息、执行所述操作所需满足的执行条件、指令格式与第二网元的标识的对应关系中的任意一项或多项。例如,操作需求中可仅包含操作,也可以包含操作和达成准则,或者也可以包含操作、达成准则、执行约束和奖励公式,还可以包括操作、达成准则、执行约束、奖励公式和指令格式与第二网元的标识的对应关系。The operation requirements corresponding to the requirement description information may only include operations; the operation requirements may also include operations, and reach criteria, execution constraints, reward formulas, type information of the operations, execution conditions and instructions that need to be met to perform the operations Any one or more of the corresponding relationship between the format and the identifier of the second network element. For example, the operational requirements may include only operations, operations and achievement criteria, or operations, attainment criteria, execution constraints, and reward formulas. They may also include operations, attainment criteria, execution constraints, reward formulas, and instruction formats. Correspondence of the identifier of the second network element.
具体地,需求描述信息包括意图索引,第二数据库中存储有多个意图索引和每个意图索引对应的操作需求。Specifically, the requirement description information includes an intent index, and the second database stores multiple intent indexes and operation requirements corresponding to each intent index.
意图索引可以是第一网元通过对需求描述信息进行语义分析的方式获得的意图关键信息。例如,需求描述信息为对深圳市南山区内的各个小区进行负载均衡调整。则第一网元可以识别出该意图关键信息为负载均衡调整。然后第一网元将该意图关键信息作为意图索引,从第二数据库中获取负载均衡调整对应的操作需求。The intention index may be the key intention information obtained by the first network element through semantic analysis of the requirement description information. For example, the demand description information is to adjust the load balance of each cell in Nanshan District, Shenzhen. Then the first network element can recognize that the key information of the intention is load balancing adjustment. Then, the first network element uses the intent key information as an intent index, and obtains the operation demand corresponding to the load balancing adjustment from the second database.
意图索引也可以是能够表示意图需求的字符串。第一网元能够根据该字符串从第二数据库中获取对应的操作需求。例如,索引表中包括多个意图索引和每个意图索引所对应的意图描述信息。意图发送者可以根据各个索引信息的意图描述信息,从索引表中获得与所需表达的意图相符的意图描述信息对应的意图索引。然后意图发送方将该索引信息作为需 求描述信息的一部分,提供给第一网元。第一网元根据意图发送方提供的意图索引,从第二数据库中获取该意图索引对应的操作需求。第一网元可以对意图发送者提供的需求描述信息进行语义分析之后得到意图关键信息,然后再从索引表中获取意图描述信息与该意图关键信息相符的字符串作为意图索引,再利用该意图索引从第二数据库中获取该意图索引对应的操作需求。The intent index can also be a character string that can express the requirements of the schematic diagram. The first network element can obtain the corresponding operation requirement from the second database according to the character string. For example, the index table includes multiple intent indexes and intent description information corresponding to each intent index. The intention sender can obtain the intention index corresponding to the intention description information that matches the intention that needs to be expressed from the index table according to the intention description information of each index information. Then the intended sender provides the index information as part of the demand description information to the first network element. According to the intention index provided by the intention sender, the first network element obtains the operation requirement corresponding to the intention index from the second database. The first network element can perform semantic analysis on the demand description information provided by the intention sender to obtain the key information of the intention, and then obtain the string of the intention description information and the key information of the intention from the index table as the intention index, and then use the intention The index obtains the operation requirement corresponding to the intent index from the second database.
每个意图索引对应的操作需求所包含的内容具体如下表1所示:The content contained in the operation requirements corresponding to each intent index is shown in Table 1 below:
Figure PCTCN2020132468-appb-000001
Figure PCTCN2020132468-appb-000001
需要说明的是,每个意图索引对应的操作需求中,达成准则、操作类型、执行条件、指令格式与网元的标识的对应关系是可可选的。也即是说,意图索引对应的操作需求中,可不包含达成准则、操作类型、执行条件、指令格式与网元的标识的对应关系,也可以包括达成准则、操作类型、执行条件和指令格式与网元的标识的对应关系中的任意一种或多种。意图索引对应的操作需求中的内容不限于上述表1中的举例,在其他实施例中,意图索引对应的操作需求可包含更多或更少的内容。It should be noted that, in the operation requirement corresponding to each intent index, the correspondence between the achievement criterion, operation type, execution condition, instruction format, and network element identification is optional. That is to say, the operation requirements corresponding to the intent index may not include the corresponding relationship between the achievement criterion, operation type, execution condition, instruction format and the identification of the network element. It may also include the achievement criterion, operation type, execution condition, and instruction format. Any one or more of the corresponding relationships of the identifiers of the network elements. The content of the operation requirement corresponding to the intention index is not limited to the examples in Table 1. In other embodiments, the operation requirement corresponding to the intention index may include more or less content.
如此,第一数据库中包括第二网元的属性信息和第二网元的标识的关联关系,第二数据库中包括需求描述信息与操作需求的关联关系。第一网元可利用第一数据库和第二数据库,将意图中的需求描述信息转译成操作需求,并获得第二网元的标识,然后将操作需求发送至第二网元,使得第二网元能够根据操作需求调整运行状态达成意图。这样可以减少第一网元根据意图控制第二网元调整运行状态而达成意图的过程中,第一网元与第二网元之间的信令发送次数,从而降低第一网元的负荷。In this way, the first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element, and the second database includes the association relationship between the requirement description information and the operation requirement. The first network element can use the first database and the second database to translate the intent demand description information into operation demands, and obtain the identification of the second network element, and then send the operation demand to the second network element, so that the second network element The network element can adjust the operating state according to the operational requirements to achieve the intention. This can reduce the number of signaling transmissions between the first network element and the second network element when the first network element controls the second network element to adjust the operating state according to the intention to achieve the intention, thereby reducing the load of the first network element.
在一个可选实施例中,第一网元从第二数据库中获取到的操作需求包括指令格式与网元的标识的对应关系。第一网元将该指令格式与网元的标识的对应关系发送至第二网元,由第二网元根据自身的标识,结合该操作需求中的指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式。如此,第二网元根据指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。In an optional embodiment, the operation requirement acquired by the first network element from the second database includes the correspondence between the instruction format and the identifier of the network element. The first network element sends the corresponding relationship between the instruction format and the identifier of the network element to the second network element, and the second network element combines the corresponding relationship between the instruction format and the identifier of the network element in the operation requirement according to its own identifier, Get the instruction format of the operation instruction when the operation instruction in the operation requirement is executed. In this way, the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
在另一个可选实施例中,第一网元从第二数据库中获取到的操作需求包括指令格式与网元的标识的对应关系。第一网元根据第二网元的标识,结合该操作需求中的指令格式与 网元的标识的对应关系,获得第二网元执行操作需求中的操作指令时,操作指令的指令格式,并将该指令格式作为操作需求发送至第二网元。如此,第二网元在根据操作需求中的操作调整运行状态时,能够根据该指令格式将操作中的操作指令转换成该指令格式,再执行转换后的操作指令以调整运行状态,从而可以提升第二网元执行操作指令的效率。In another optional embodiment, the operation requirement acquired by the first network element from the second database includes the correspondence between the instruction format and the identifier of the network element. According to the identifier of the second network element, the first network element obtains the instruction format of the operation instruction when the second network element executes the operation instruction in the operation request in combination with the corresponding relationship between the instruction format in the operation requirement and the identifier of the network element, and Send the instruction format as an operation requirement to the second network element. In this way, when the second network element adjusts the operation state according to the operation in the operation demand, it can convert the operation instruction in operation into the instruction format according to the instruction format, and then execute the converted operation instruction to adjust the operation state, thereby improving The efficiency of the second network element to execute the operation instruction.
请继续参阅图5b,基于上述图5a的实施例,在一些可选的实施例中,第二网元根据操作需求中的操作实现该意图包括以下步骤S5040-S5049。Please continue to refer to FIG. 5b. Based on the embodiment of FIG. 5a, in some optional embodiments, the second network element realizes the intention according to the operation in the operation requirement, including the following steps S5040-S5049.
S5040、第二网元获取操作需求中的操作的类型。S5040. The second network element obtains the type of operation in the operation requirement.
操作的类型例如可包括但不限于工作流类型、优化类型和指令类型。在一些实施例中,操作需求中包括操作的类型信息,第二网元可根据操作需求中的操作的类型信息得到操作的类型。操作需求中包括的操作的类型信息,可以是类型标识。这样第二网元可以根据操作需求中的类型标识得到操作的类型。The type of operation may include, but is not limited to, workflow type, optimization type, and instruction type, for example. In some embodiments, the operation requirement includes operation type information, and the second network element can obtain the operation type according to the operation type information in the operation requirement. The type information of the operation included in the operation requirement may be a type identifier. In this way, the second network element can obtain the type of operation according to the type identification in the operation requirement.
在另一些实施例中,操作需求中不包含操作的类型标识。第一网元根据意图获得操作需求之后,分析操作需求中的操作的特征信息,得到操作的类型信息,并向第二网元发送该类型信息。第二网元根据第一网元发送的类型信息得到该操作需求中的操作的类型。In other embodiments, the operation requirement does not include the type identification of the operation. After the first network element obtains the operation requirement according to the intention, it analyzes the characteristic information of the operation in the operation requirement to obtain the type information of the operation, and sends the type information to the second network element. The second network element obtains the type of operation in the operation requirement according to the type information sent by the first network element.
操作需求中的操作的类型为第一类型时,第二网元执行步骤S5042,操作需求中的操作的类型是第二类型时,第二网元执行步骤S5044,识别出操作需求中的操作类型是第三类型时,第二网元执行步骤S5048;When the type of the operation in the operation requirement is the first type, the second network element executes step S5042. When the type of the operation in the operation requirement is the second type, the second network element executes step S5044 to identify the type of operation in the operation requirement When it is the third type, the second network element executes step S5048;
第一类型例如可以是工作流类型。第一类型的操作对应的操作需求中包括达成准则、一个或多个操作和每个操作对应的执行条件。第二网元根据工作流类型的操作,调整运行状态,直到调整运行状态后的网络状态符合达成准则,即达成意图。The first type may be, for example, a workflow type. The operation requirements corresponding to the operations of the first type include an achievement criterion, one or more operations, and execution conditions corresponding to each operation. The second network element adjusts the operation state according to the operation of the workflow type until the network state after the adjustment of the operation state meets the achievement criterion, that is, the intention is reached.
第二类型例如可以是优化类型。第二类型的操作对应的操作需求中包括达成准则、一个或多个第二类型的操作和每个操作对饮的个执行条件。第二网元根据优化类型的操作,调整运行状态,并根据调整运行状态后的网络状态和达成准则之间的差异,修改操作,再根据修改后的操作调整运行状态,直到调整运行状态后的网络状态符合达成准则,即达成意图。The second type may be an optimized type, for example. The operation requirements corresponding to the second type of operation include fulfillment criteria, one or more operations of the second type, and individual execution conditions for each operation. The second network element adjusts the operating state according to the operation of the optimized type, and modifies the operation according to the difference between the network state after the adjusted operating state and the reached criteria, and then adjusts the operating state according to the modified operation until the operating state is adjusted. The network status meets the reaching criteria, that is, reaching the intention.
第三类型例如可以是指令类型。第三类型的操作对应的操作需求中包括一个或多个操作和每个操作的执行条件。第二网元根据操作需求中的操作调整运行状态。The third type may be an instruction type, for example. The operation requirements corresponding to the third type of operation include one or more operations and the execution conditions of each operation. The second network element adjusts the operation state according to the operation in the operation demand.
S5041、第二网元获取自身的网络状态,并判断自身的网络状态是否符合操作需求中的达成准则,若是,则可确定意图达成,若否,则执行步骤S5042;S5041. The second network element obtains its own network status, and judges whether its own network status meets the achievement criterion in the operation requirement, if so, it can be determined that the intention is reached, if not, step S5042 is executed;
达成准则中包括一个或多个参数类型和每个参数类型对应的达成条件。第二网元识别出操作需求中的操作的类型为第一类型时,根据自身的网络状态获取达成准则中的每个参数类型的参数值。若达成准则中的每个参数类型对应的参数值符合达成条件,则第二网元可判定自身的网络状态符合达成准则,否则,第二网元判定自身的网络状态不符合达成准则。The achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type. When the second network element recognizes that the type of operation in the operation requirement is the first type, it obtains the parameter value of each parameter type in the achievement criterion according to its own network state. If the parameter value corresponding to each parameter type in the achievement criterion meets the achievement condition, the second network element may determine that its own network state meets the achievement criterion; otherwise, the second network element determines that its own network state does not meet the achievement criterion.
例如,需求描述信息为调整语音数据丢包率到1%以下,达成准则中包括参数类型:语音数据丢包率。该参数类型对应的达成条件为小于或等于1%。当第二网元获取到自身的调整语音数据丢包率为7%时,则可确认自身的网络状态不符合达成准则。For example, the requirement description information is to adjust the voice data packet loss rate to less than 1%, and the achievement criterion includes the parameter type: voice data packet loss rate. The achievement condition corresponding to this parameter type is less than or equal to 1%. When the second network element obtains its own adjusted voice data packet loss rate of 7%, it can confirm that its own network status does not meet the reaching criterion.
需要说明的是,在网络状态符合操作需求中的达成准则之后,第二网元继续执行步骤S5041。若第二网元确定网络状态符合操作需求中的达成准则之后,第二网元的网络状态发生了变化,且第二网元检测到自身的网络状态不符合达成准则,第二网元则向第一网元发送达成状态变更消息。该达成状态变更消息用于通知第一网元,第二网元的网络状态已不符合该意图对应的达成准则,第二网元处于意图未达成状态。It should be noted that, after the network status meets the achievement criterion in the operation requirement, the second network element continues to perform step S5041. If the second network element determines that the network status meets the achievement criteria in the operational requirements, the network status of the second network element changes, and the second network element detects that its own network status does not meet the achievement criteria, the second network element The first network element sends an achieved status change message. The achievement status change message is used to notify the first network element that the network status of the second network element no longer meets the achievement criterion corresponding to the intention, and the second network element is in the intention unfulfilled state.
S5042、当自身的网络状态不符合达成准则时,第二网元根据自身的网络状态,从操作需求的一个或多个操作中获取符合执行条件的第一目标操作,并根据第一目标操作调整运行状态,调整运行状态之后返回步骤S5041。S5042. When its own network status does not meet the achievement criterion, the second network element obtains a first target operation that meets the execution conditions from one or more operations required by the operation according to its own network status, and adjusts it according to the first target operation Running status, after adjusting the running status, return to step S5041.
每个操作的执行条件可理解为,执行操作时第二网元的网络状态所需满足的条件。执行条件具体可包括用于衡量网络状态的一个或多个网络状态参数和每个网络状态参数对应的参数条件。第二网元根据自身的网络状态得到每个网络状态参数对应的参数值。若执行条件中的每个状态参数条件对应的参数值都符合参数条件,则第二网元可确认自身的网络状态符合该执行条件,并将该执行条件对应的操作为第一目标操作。否则,第二网元确认网络状态不符合该执行条件。The execution condition of each operation can be understood as a condition that the network state of the second network element needs to meet when the operation is executed. The execution condition may specifically include one or more network state parameters used to measure the network state and a parameter condition corresponding to each network state parameter. The second network element obtains the parameter value corresponding to each network state parameter according to its own network state. If the parameter value corresponding to each state parameter condition in the execution condition meets the parameter condition, the second network element can confirm that its own network state meets the execution condition, and set the operation corresponding to the execution condition as the first target operation. Otherwise, the second network element confirms that the network status does not meet the execution condition.
例如,需求描述信息为调整语音数据丢包率到1%以下,该需求描述信息对应的操作需求包括操作a和操作b,操作a的执行条件a是语音数据丢包率大于1%且小于或等于5%,操作b的执行条件b是语音数据丢包率大于5%且小于或等于10%。该例子中,执行条件a的网络状态参数为语音数据丢包率,执行条件a对应的参数条件为大于1%且小于或等于5%。执行条件b的网络状态参数为语音数据丢包率,执行条件b应的参数条件为大于5%且小于或等于10%。当第二网元获取到自身的调整语音数据丢包率为7%时,第二网元可确认自身的调整语音数据丢包率符合操作b的执行条件b,则将操作b作为第一目标操作。For example, the requirement description information is to adjust the voice data packet loss rate to less than 1%. The operation requirements corresponding to the requirement description information include operation a and operation b. The execution condition of operation a is that the voice data packet loss rate is greater than 1% and less than or It is equal to 5%, and the execution condition b of operation b is that the voice data packet loss rate is greater than 5% and less than or equal to 10%. In this example, the network state parameter of the execution condition a is the voice data packet loss rate, and the parameter condition corresponding to the execution condition a is greater than 1% and less than or equal to 5%. The network state parameter of the execution condition b is the voice data packet loss rate, and the parameter condition for the execution condition b is greater than 5% and less than or equal to 10%. When the second network element obtains its adjusted voice data packet loss rate of 7%, the second network element can confirm that its adjusted voice data packet loss rate meets the execution condition b of operation b, and then takes operation b as the first target operating.
第二网元获得一个或多个第一目标操作之后,根据第一目标操作控制自身的业务运行,以调整运行状态。调整运行状态之后,第二网元再返回执行步骤S5041,判断自身的网络状态是否符合达成准则。若网络状态不符合达成准则,则第二网元则再次执行步骤S5042,根据自身的网络状态,从操作需求的一个或多个操作中重新获取符合执行条件的第一目标操作,并根据第一目标操作调整运行状态。这样第二网元循环执行步骤S5051和S5042,直到网络状态符合达成准则。After obtaining one or more first target operations, the second network element controls its own service operation according to the first target operations to adjust the running state. After adjusting the operating status, the second network element returns to perform step S5041 again to determine whether its own network status meets the reaching criterion. If the network status does not meet the achievement criterion, the second network element performs step S5042 again, according to its own network status, re-obtains the first target operation that meets the execution conditions from one or more operations required by the operation, and according to the first target operation The target operation adjusts the running state. In this way, the second network element cyclically executes steps S5051 and S5042 until the network status meets the reaching criterion.
一个或多个操作中的每个操作均包括操作指令,那么第二网元得到第一目标操作之后,可执行第一目标操作的操作指令以控制自身的业务运行,从而调整运行状态。Each of the one or more operations includes an operation instruction, so after the second network element obtains the first target operation, it can execute the operation instruction of the first target operation to control its own service operation, thereby adjusting the operation status.
需要说明的是,本申请实施例中的第一目标操作为一个变量,每执行一次步骤S5042,第二网元会根据网络状态重新从一个或多个操作中获取符合执行条件的第一目标操作。It should be noted that the first target operation in the embodiment of the present application is a variable. Each time step S5042 is executed, the second network element will retrieve the first target operation that meets the execution conditions from one or more operations according to the network status. .
若没有获取到符合执行条件第一目标操作,第二网元则向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。If the first target operation that meets the execution condition is not obtained, the second network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
需要说明的是,操作需求中的执行条件是可选的。当第一类型的操作需求包括一个操作且不包括执行条件时,在步骤S5042中,第二网元则可将该一个操作作为第一目标操作, 并根据该第一目标操作调整运行状态。It should be noted that the execution conditions in the operation requirements are optional. When the operation requirement of the first type includes an operation and does not include an execution condition, in step S5042, the second network element may use this operation as the first target operation, and adjust the running state according to the first target operation.
可选的,在一些实施例中,第一类型的操作对应的操作需求中还包括执行约束。第二网元在根据操作调整运行状态实现该意图的过程中,始终满足该执行约束。如此,当实现意图的过程中对第二网元的运行状态有要求时,例如,需要保证第二网元的业务运行状态始终保存正常时,可通过设置执行约束来使得第二网元的在实现该意图的过程中,业务运行状态始终符合要求。Optionally, in some embodiments, the operation requirements corresponding to the operations of the first type further include execution constraints. The second network element always satisfies the execution constraint in the process of adjusting the operating state according to the operation to realize the intention. In this way, when the operating state of the second network element is required in the process of realizing the intention, for example, when it is necessary to ensure that the service operating state of the second network element is always kept normally, the execution constraint can be set to make the second network element's operating status. In the process of realizing this intent, the business operation status always meets the requirements.
可选的,当第一网元向第二网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第二网元执行第一目标操作中的操作指令之前,根据网元的标识与指令格式的对应关系及自身的标识获取执行操作指令时,操作指令的指令格式,然后将第一目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第二网元再执行格式转换后的操作指令。如此,第二网元根据指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。Optionally, when the operation requirement sent by the first network element to the second network element includes the correspondence between the identifier of the network element and the instruction format, before the second network element executes the operation instruction in the first target operation, according to the network element The corresponding relationship between the identifier and the instruction format and its own identifier acquire the instruction format of the operation instruction when the operation instruction is executed, and then convert the operation instruction in the first target operation into the instruction format to obtain the converted operation instruction. The second network element then executes the operation instruction after the format conversion. In this way, the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
S5043、第二网元获取自身的网络状态,并判断自身的网络状态是否符合达成准则;S5043. The second network element obtains its own network status, and judges whether its own network status meets the reaching criteria;
该步骤S5043的解释说明可参考上述步骤S5041的解释说明,为避免冗余,在此不再赘述。For the explanation of step S5043, please refer to the explanation of step S5041. In order to avoid redundancy, it will not be repeated here.
S5044、当自身的网络状态不符合达成准则时,第二网元根据自身的网络状态获取符合执行条件的第二目标操作,并据操第二目标操作调整运行状态;S5044. When its own network status does not meet the achievement criteria, the second network element obtains a second target operation that meets the execution conditions according to its own network status, and adjusts the running status according to the second target operation;
第二网元获取第二目标操作的具体过程可参考上述第二网元获取第一目标操作的过程。一个或多个操作中的每个操作均包括操作指令,那么第二网元得到第二目标操作之后,可执行第二目标操作的操作指令以控制自身的业务运行,从而调整运行状态。For the specific process of obtaining the second target operation by the second network element, refer to the foregoing process for obtaining the first target operation by the second network element. Each of the one or more operations includes an operation instruction, so after the second network element obtains the second target operation, it can execute the operation instruction of the second target operation to control its own service operation, thereby adjusting the operation status.
若没有获取到符合执行条件的第二目标操作,则第二网元向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。If the second target operation that meets the execution condition is not obtained, the second network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
在一些实施例中,第二类型的操作对应的操作需求中还包括执行约束。第二网元在根据操作调整运行状态实现该意图的过程中,始终满足该执行约束。如此,当实现意图的过程中对第二网元的运行状态有要求时,例如,需要保证第二网元的业务运行状态始终保存正常时,可通过设置执行约束来使得第二网元的在实现该意图的过程中,业务运行状态始终符合要求。In some embodiments, the operation requirements corresponding to the second type of operation further include execution constraints. The second network element always satisfies the execution constraint in the process of adjusting the operating state according to the operation to realize the intention. In this way, when the operating state of the second network element is required in the process of realizing the intention, for example, when it is necessary to ensure that the service operating state of the second network element is always kept normally, the execution constraint can be set to make the second network element's operating status. In the process of realizing this intent, the business operation status always meets the requirements.
S5045、第二网元获取调整运行状态后的网络状态,并判断调整运行状态后的网络状态是否符合达成准则,若是,则确认意图达成,若否,执行步骤S5046;S5045. The second network element obtains the network state after adjusting the operating state, and determines whether the network state after adjusting the operating state meets the achievement criterion, if so, confirms that the intention is achieved, if not, executes step S5046;
达成准则中包括一个或多个参数类型和每个参数类型对应的达成条件。第二网元调整运行状态之后,根据调整运行状态后的网络状态,获取达成准则中的每个参数类型的参数值。若根据调整运行状态后的据网络状态,确认达成准则中的每个参数类型的参数值都符合达成条件,第二网元则可判定调整运行状态后的网络状态符合达成准则;否则,第二网元判定调整运行状态后的网络状态不符合达成准则。The achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type. After the second network element adjusts the operating state, according to the network state after the adjusted operating state, the parameter value of each parameter type in the achievement criterion is obtained. If according to the network state after adjusting the operating state, it is confirmed that the parameter value of each parameter type in the achievement criterion meets the achievement condition, the second network element can determine that the network state after the adjustment of the operating state meets the achievement criterion; otherwise, the second network element The network element determines that the network status after adjusting the operating status does not meet the reaching criteria.
S5046、当调整运行状态后的网络状态不符合达成准则时,第二网元判断该调整运行状态后的网络状态是否符合该第二目标操作对应的执行条件,若不符合则执行步骤S5047,若符合则执行步骤S5048。S5046. When the network state after the adjusted operating state does not meet the reaching criterion, the second network element determines whether the adjusted operating state of the network meets the execution condition corresponding to the second target operation, and if it does not meet the execution condition of the second target operation, execute step S5047, if If yes, step S5048 is executed.
S5047、第二网元根据调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,并根据重新获取的第二目标操作调整运行状态。第二网元调整运行状态之后,返回执行步骤S5045。S5047. The second network element re-acquires a second target operation that meets the execution condition from one or more operations according to the network state after adjusting the operating state, and adjusts the operating state according to the re-acquired second target operation. After the second network element adjusts the operating state, it returns to step S5045.
可以理解,调整运行状态之后,第二网元的网络状态发生了变化,第二网元的网络状态可能不符合根据调整前的网络状态获得的第二目标操作对应的执行条件。那么在调整运行状态后,判断该调整运行状态后的网络状态是否符合该第二目标操作对应的执行条件,当调整运行状态后的网络状态不符合所述第二目标操作对应的执行条件时,根据调整运行状态后的网络状态重新获取符合执行条件的第二目标操作。这样,可以使得第二网元执行的第二目标操作与调整运行状态后的网络状态相符。It can be understood that after adjusting the operating state, the network state of the second network element has changed, and the network state of the second network element may not meet the execution condition corresponding to the second target operation obtained according to the network state before the adjustment. Then after adjusting the operating state, it is determined whether the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and when the adjusted operating state does not meet the execution conditions corresponding to the second target operation, The second target operation that meets the execution conditions is re-acquired according to the network state after the operating state is adjusted. In this way, the second target operation performed by the second network element can be made consistent with the network state after the operating state is adjusted.
例如,当在步骤S5043获取到第二网元的语音数据丢包率为7%,则在步骤S5044,第二网元确定第二目标操作为操作b,并根据操作b调整运行状态。然后执行步骤S5045,第二网元获取到调整运行状态后的语音数据丢包率为4%,调整运行状态后的语音数据丢包率大于1%且小于5%,则可确认调整运行状态后的网络状态不符合达成准则,调整运行状态后的网络状态也不符合第二目标操作对应的执行条件。由于调整运行状态后的语音数据丢包率为4%符合操作a的执行条件a,第二网元根据调整运行状态后的语音数据丢包率为4%重新确定操作a为第二目标操作,并根据操作a调整运行状态。For example, when it is obtained in step S5043 that the voice data packet loss rate of the second network element is 7%, then in step S5044, the second network element determines that the second target operation is operation b, and adjusts the operating state according to operation b. Then step S5045 is executed. The second network element obtains that the voice data packet loss rate after adjusting the operating state is 4%. If the voice data packet loss rate after adjusting the operating state is greater than 1% and less than 5%, it can be confirmed that the operating state is adjusted. The network status of does not meet the reaching criteria, and the network status after adjusting the operating status does not meet the execution conditions corresponding to the second target operation. Since the voice data packet loss rate after adjusting the operating state is 4% meets the execution condition a of operation a, the second network element re-determines operation a as the second target operation according to the voice data packet loss rate after adjusting the operating state of 4%. And adjust the running state according to operation a.
S5048、第二网元根据达成准则修改第二目标操作,并根据修改后的第二目标操作调整运行状态。调整运行状态之后,第二网元返回执行步骤S5045。S5048. The second network element modifies the second target operation according to the achievement criterion, and adjusts the running state according to the modified second target operation. After adjusting the operating state, the second network element returns to perform step S5045.
具体地,第二网元根据达成准则中,每个参数类型的参数值与该参数类型对应的达成条件之间的差异调整第二操作中的操作指令。Specifically, the second network element adjusts the operation instruction in the second operation according to the difference between the parameter value of each parameter type and the achievement condition corresponding to the parameter type in the achievement criterion.
第二网元可根据达成准则得到奖励公式,再根据达成准则中每个参数类型的参数值与该参数类型对应的达成条件之间的差异和奖励公式调整第二操作中的操作指令,以使得第二网元根据调整后的操作指令调整运行状态之后,第二网元的网络状态更加接近达成准则。这样多次执行步骤S5046和S5048,可以使得第二网元的网络状态逐渐接近达成准则,直至符合达成准则。The second network element can obtain the reward formula according to the achievement criterion, and then adjust the operation instruction in the second operation according to the difference between the parameter value of each parameter type in the achievement criterion and the achievement condition corresponding to the parameter type and the reward formula, so that After the second network element adjusts the operating state according to the adjusted operation instruction, the network state of the second network element is closer to reaching the criterion. Performing steps S5046 and S5048 multiple times in this way can make the network status of the second network element gradually approach the reaching criterion until it meets the reaching criterion.
在一些可选的实施例中,操作需求中包括奖励公式。也即是说,第一网元根据需求描述信息从第二数据库中获得的操作需求中,包括达成准则、奖励公式、一个或多个操作和执行每个操作的执行条件。在另一个实施例中,当第一网元从第二数据库中获得的操作需求中包括达成准则、一个或多个操作和执行每个操作的执行条件,而不包括奖励公式时,第一网元可根据操作需求中的达成准则得到奖励公式,并将向第二网元发送该奖励公式。这样,第二网元能够从第一网元接收奖励公式,能够减少第二网元的数据处理量。In some optional embodiments, the operation requirement includes a reward formula. In other words, the operation requirements obtained by the first network element from the second database according to the requirement description information include an achievement criterion, a reward formula, one or more operations, and execution conditions for performing each operation. In another embodiment, when the operational requirements obtained by the first network element from the second database include the achievement criteria, one or more operations, and the execution conditions for executing each operation, but does not include the reward formula, the first network element The element can obtain the reward formula according to the achievement criterion in the operation requirement, and will send the reward formula to the second network element. In this way, the second network element can receive the reward formula from the first network element, which can reduce the data processing volume of the second network element.
在另一些可选的实施例中,操作需求中包括约束条件。第二网元在根据操作调整运行状态的过程中需要需满足该约束条件。第二网元可根据该约束条件和达成准则得到奖励公式。或者第一网元根据该约束条件和达成准则得到奖励公式,并将奖励公式发送至第二网元。In other alternative embodiments, the operational requirements include constraints. The second network element needs to meet the constraint condition in the process of adjusting the operating state according to the operation. The second network element can obtain a reward formula according to the constraint condition and the achievement criterion. Or the first network element obtains the reward formula according to the constraint condition and the achievement criterion, and sends the reward formula to the second network element.
调整运行状态之后执行步骤S5045。这样循环执行步骤S5045-S5048,直到调整运行状态后的网络状态符合达成准则。Step S5045 is executed after adjusting the operating state. In this way, steps S5045-S5048 are cyclically executed until the network state after adjusting the operating state meets the reaching criterion.
需要说明的是,第二操作类型对应的操作需求中,执行条件是可选的。当第二类型的操作需求中包括一个操作且不包括执行条件时,在步骤S5044中,第二网元将该一个操作作为第二目标操作,并根据该第二目标操作调整运行状态;在步骤S5045中,若调整运行状态后的网络状态不符合达成准则,则执行步骤S5048,直到调整运行状态后的网络状态符合达成准则;若符合达成准则,则确认意图达成。这样不必再执行步骤S5046和步骤S5047。It should be noted that in the operation requirements corresponding to the second operation type, the execution conditions are optional. When the operation requirement of the second type includes an operation and does not include execution conditions, in step S5044, the second network element regards the operation as the second target operation, and adjusts the operating state according to the second target operation; in step S5044, In S5045, if the network state after adjusting the operating state does not meet the reaching criterion, step S5048 is executed until the network state after adjusting the operating state meets the reaching criterion; if it meets the reaching criterion, confirming that the intention is reached. In this way, it is unnecessary to perform step S5046 and step S5047.
可选的,当第一网元向第二网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第二网元执行第二目标操作中的操作指令之前,根据自身的标识、网元的标识与指令格式的对应关系获取执行操作指令时,操作指令的指令格式,然后将第二目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第二网元再执行格式转换后的操作指令。如此,第二网元根据指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。Optionally, when the operation requirement sent by the first network element to the second network element includes the correspondence between the identifier of the network element and the instruction format, before the second network element executes the operation instruction in the second target operation, according to its own The corresponding relationship between the identifier, the identifier of the network element, and the instruction format obtains the instruction format of the operation instruction when the operation instruction is executed, and then converts the operation instruction in the second target operation into the instruction format to obtain the converted operation instruction. The second network element then executes the operation instruction after the format conversion. In this way, the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
可选地,当操作类型为第一操作或第二操作时,若第二网元的网络运行状态符合达成准则,则执行步骤S505。这样,第一网元接收到意图达成消息,则可确认该第二网元已达成该意图。Optionally, when the operation type is the first operation or the second operation, if the network operation status of the second network element meets the achievement criterion, step S505 is executed. In this way, when the first network element receives the intention fulfillment message, it can be confirmed that the second network element has fulfilled the intention.
S5049、第二网元根据操作需求中的操作调整运行状态。S5049. The second network element adjusts the operating state according to the operation in the operation demand.
具体地,操作需求中的操作包括操作指令。第二网元通过执行操作指令调整运行状态。Specifically, the operations in the operation requirements include operation instructions. The second network element adjusts the operating state by executing the operation instruction.
若第二网元成功执行操作指令完成运行状态的调整,则确认意图达成。若没有成功执行操作指令,则确认意图执行失败。意图达成时,可执行步骤S505;当意图执行失败时,第二网元可向第一网元发送意图执行失败消息。如此,第二网元可及时向第一网元反馈意图执行情况。If the second network element successfully executes the operation instruction to complete the adjustment of the operating state, it is confirmed that the intention is achieved. If the operation instruction is not successfully executed, it is confirmed that the intention execution failed. When the intention is achieved, step S505 may be performed; when the execution of the intention fails, the second network element may send a message of failure to execute the intention to the first network element. In this way, the second network element can feed back the execution of the intention to the first network element in time.
当操作类型为第三类型,操作需求中包括多个操作和每个操作对应的执行条件,且不包括达成准则时,第二网元根据自身的网络状态,从多个操作中获取符合执行条件的第三目标操作,并根据第三目标操作调整运行状态。第二网元通过执行第三目标操作调整运行状态。若第二网元根据第三目标操作成功调整运行状态,则确认意图达成。若第二网元没有获取到符合执行条件的第三目标操作,或者获取到了第三目标操作但是没有成功执行第三目标操作的操作指令,第二网元则向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。When the operation type is the third type, and the operation requirement includes multiple operations and the execution conditions corresponding to each operation, and does not include the achievement criteria, the second network element obtains the execution conditions from multiple operations according to its own network status The third target operation, and adjust the running state according to the third target operation. The second network element adjusts the operating state by executing the third target operation. If the second network element successfully adjusts the operating state according to the third target operation, it confirms that the intention is achieved. If the second network element does not obtain the third target operation that meets the execution conditions, or obtains the third target operation but does not successfully execute the operation instruction of the third target operation, the second network element sends the intention execution failure to the first network element news. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
当操作类型为第三类型,操作需求中包括一个操作,且不包括执行条件和达成准则时,该一个操作为第三目标操作,第二网元根据该一个操作调整运行状态。具体地,第二网元执行该一个操作的操作指令调整运行状态。第二网元执行该一个操作完成运行状态的调整之后,确认意图达成。若没有成功执行该一个操作的操作指令,则第二网元向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。When the operation type is the third type and the operation requirement includes an operation, and does not include the execution condition and the achievement criterion, the operation is the third target operation, and the second network element adjusts the operation state according to the operation. Specifically, the second network element executes the operation instruction of the one operation to adjust the operating state. After the second network element performs the one operation and completes the adjustment of the operating state, it confirms that the intention is achieved. If there is no operation instruction for successfully executing the one operation, the second network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
在一些可选的实施例中,第三类型的操作对应的操作需求中,还包括执行约束。第二 网元根据操作需求中的操作调整运行状态的过程中,需要始终满足该执行约束。In some optional embodiments, the operation requirements corresponding to the third type of operation further include execution constraints. The second network element needs to always meet the execution constraint during the process of adjusting the operating state according to the operation in the operation demand.
可选的,当第一网元向第二网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第二网元执行第三目标操作中的操作指令之前,根据自身的网络标识、网元的标识与指令格式的对应关系获取执行操作指令时,操作指令的指令格式,然后将第三目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第二网元再执行格式转换后的操作指令。如此,第二网元根据指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。Optionally, when the operation requirement sent by the first network element to the second network element includes the corresponding relationship between the identifier of the network element and the instruction format, before the second network element executes the operation instruction in the third target operation, it is based on its own The corresponding relationship between the network identifier, the identifier of the network element, and the instruction format obtains the instruction format of the operation instruction when the operation instruction is executed, and then converts the operation instruction in the third target operation into the instruction format to obtain the converted operation instruction. The second network element then executes the operation instruction after the format conversion. In this way, the second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
由此可见,采用上述步骤S5040-S5049,第二网元能够根据不同的操作类型,根据操作需求执行相应的状态调整方案,从而达成意图。It can be seen that by adopting the above steps S5040-S5049, the second network element can execute the corresponding state adjustment scheme according to different operation types and operation requirements, so as to achieve the intention.
可选的,若针对该意图需求,距执行步骤S5040的时间已超过预设时长,且第二网元没有达到达成准则,第二网元向第一网元发送意图执行失败消息。这样,第二网元可以在无法成功执行意图时,及时向第一网元反馈,使得意图发送方能够及时了解意图执行情况。可选地,若针对该意图需求,距执行步骤S5040的时间已超过预设时长,且第二网元没有达到达成准则,第二网元可停止根据操作需求中的操作调整网络状态;或者第一网元接收到第二网元发送的意图执行失败消息时,向第二网元发送停止执行指令,指示第二网元停止根据操作需求中的操作调整网络状态。如此,能避免第二网元长时间多次执行操作却无法达成意图,而导致浪费第二网元的资源。Optionally, if the time to execute step S5040 has exceeded the preset time for the intention requirement, and the second network element does not reach the achievement criterion, the second network element sends an intention execution failure message to the first network element. In this way, the second network element can promptly feed back to the first network element when the intention cannot be successfully executed, so that the intention sender can learn about the execution of the intention in time. Optionally, if the time to execute step S5040 has exceeded the preset time for the intended demand, and the second network element has not reached the reaching criterion, the second network element may stop adjusting the network state according to the operation in the operation demand; or When a network element receives the intention execution failure message sent by the second network element, it sends a stop execution instruction to the second network element to instruct the second network element to stop adjusting the network state according to the operation in the operation requirement. In this way, it can be avoided that the second network element performs operations many times for a long time but fails to achieve the intention, which results in wasting the resources of the second network element.
基于上述实施例,在某些实施例中,当操作的类型为第一类型或第二类型时,第二网元可按照预设时间间隔检测自身的网络状态。若网络状态不符合达成准则,第二网元向第一网元发送意图未达成消息。若网络状态符合达成准则,第二网元向第一网元发送意图达成消息。这样,第一网元可根据第二网元发送的意图未达成消息、意图执行失败消息或意图达成消息,及时地向意图发送方反馈意图执行情况。Based on the foregoing embodiments, in some embodiments, when the type of operation is the first type or the second type, the second network element can detect its own network status at a preset time interval. If the network status does not meet the reaching criterion, the second network element sends a message of unfulfilled intention to the first network element. If the network status meets the achievement criterion, the second network element sends an intention achievement message to the first network element. In this way, the first network element can promptly feed back the intention execution status to the intention sender according to the intention unfulfilled message, the intention execution failure message, or the intention fulfillment message sent by the second network element.
图6为本申请另一实施例的意图处理系统的网络架构图。意图处理系统包括第一网元、第二网元和第三网元。第一网元用于接收意图。第一网元接收意图之后,根据该意图得到操作需求、第二网元的标识和第三网元的标识。第一网元将操作需求及第二网元的标识发送至第三网元。第三网元处理该操作需求,与第二网元进行信令交互以控制第二网元达成意图。第二网元的数量为一个或多个。第三网元的数量可以为一个或多个,第三网元的数量小于或等于第二网元的数量。当第二网元的数量为多个时第三网元的数量也为多个,当第二网元的数量为一个时,第三网元的数量为一个。一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。FIG. 6 is a network architecture diagram of an intention processing system according to another embodiment of the application. The intention processing system includes a first network element, a second network element, and a third network element. The first network element is used to receive the intent. After the first network element receives the intent, it obtains the operation requirement, the identifier of the second network element, and the identifier of the third network element according to the intent. The first network element sends the operation requirement and the identification of the second network element to the third network element. The third network element processes the operation requirement, and performs signaling interaction with the second network element to control the second network element to achieve the intention. The number of the second network element is one or more. The number of third network elements may be one or more, and the number of third network elements is less than or equal to the number of second network elements. When the number of the second network element is multiple, the number of the third network element is also multiple, and when the number of the second network element is one, the number of the third network element is one. A third network element can control the service operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
请参阅图7a,图7a为本申请实施例的意图处理方法的另一流程示意图。意图处理方法包括:Please refer to FIG. 7a. FIG. 7a is another flowchart of the intention processing method according to an embodiment of the present application. Intent processing methods include:
S701、第一网元接收意图。S701. The first network element receives the intention.
关于步骤S701的解释说明,可参照上述实施例中关于步骤S501的解释说明。为避免冗余,在此不再赘述。For the explanation of step S701, refer to the explanation of step S501 in the above-mentioned embodiment. To avoid redundancy, I will not repeat them here.
S702、第一网元根据意图获取操作需求和第二网元的标识。S702. The first network element obtains the operation requirement and the identifier of the second network element according to the intention.
上述实施例中关于步骤S502的解释说明也适用于本实施例的步骤S702,为避免冗余,在此不再赘述。The explanations on step S502 in the foregoing embodiment are also applicable to step S702 in this embodiment. In order to avoid redundancy, details are not repeated here.
例如,第一网元根据意图获取操作需求和第二网元的标识的实现方式可以参考后续图7b的描述。For example, the implementation manner of obtaining the operation requirement and the identification of the second network element by the first network element according to the intention may refer to the description of the subsequent FIG. 7b.
S703、第一网元获取第三网元的标识;S703. The first network element obtains the identity of the third network element.
在一些可选的实施例中,第一网元根据该意图获取第三网元的标识。具体地,第一网元可根据意图的需求描述信息,从第三数据库中获取与该需求描述信息对应的第三网元的标识。第三数据中存储有需求描述信息与第三网元的标识的对应关系。这样,第三网元的处理的操作需求种类更加单一。例如第三网元可专用于执行处理该需求描述信息对应的操作需求,或处理少数多个需求描述信息对应的操作需求,这样可以更好地优化第三网元,以使得操作需求的处理效率更高,从而能够提升意图达成效率。In some optional embodiments, the first network element obtains the identity of the third network element according to the intention. Specifically, the first network element may obtain the identifier of the third network element corresponding to the demand description information from the third database according to the intended demand description information. The third data stores the corresponding relationship between the requirement description information and the identifier of the third network element. In this way, the type of operation requirements for the processing of the third network element is more single. For example, the third network element can be dedicated to processing the operation requirements corresponding to the requirement description information, or processing a small number of operation requirements corresponding to the requirement description information, so that the third network element can be better optimized to make the processing efficiency of the operation requirements. Higher, which can improve the efficiency of intention achievement.
在另一些可选的实施例中,第一网元根据第二网元的标识获取第三网元的标识。具体地,第一网元可从第四数据库中获取该第二网元的标识对应的第三网元的标识。第四数据库中存储有第二网元标识与第三网元的标识的对应关系。这样,第三网元专用于控制第二网元达成意图,或用于控制少数多个网元达成意图。第三网元只需与第二网元交互以达成意图,或与少数多个网元交互以达成意图,从而可以提升意图达成的效率,也能够降低第三网元的硬件要求。In other optional embodiments, the first network element obtains the identity of the third network element according to the identity of the second network element. Specifically, the first network element may obtain the identifier of the third network element corresponding to the identifier of the second network element from the fourth database. The corresponding relationship between the second network element identifier and the third network element identifier is stored in the fourth database. In this way, the third network element is dedicated to controlling the second network element to achieve the intention, or is used to control a small number of network elements to achieve the intention. The third network element only needs to interact with the second network element to achieve the intent, or interact with a small number of network elements to achieve the intent, thereby improving the efficiency of achieving the intent and reducing the hardware requirements of the third network element.
S704、第一网元根据第三网元的标识,向第三网元发送操作需求和第二网元的标识。S704. The first network element sends the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element.
关于第一网元向第三网元发送的操作需求的解释说明,可参照上述实施例中第一网元向第二网元发送的操作需求的解释说明。为避免冗余,在此不再赘述。For the explanation of the operation requirement sent by the first network element to the third network element, reference may be made to the explanation of the operation requirement sent by the first network element to the second network element in the foregoing embodiment. To avoid redundancy, I will not repeat them here.
需要说明的是,当第三网元仅用于控制一个第二网元达成意图时,第一网元可不向第三网元发送第二网元的标识。这样可以减少第一网元与第三网元之间的传输的数据量,减轻系统负荷。It should be noted that when the third network element is only used to control one second network element to achieve an intention, the first network element may not send the second network element identifier to the third network element. In this way, the amount of data transmitted between the first network element and the third network element can be reduced, and the system load can be reduced.
S705、第三网元根据操作需求和第二网元的标识,控制第二网元的业务运行以实现该意图。S705. The third network element controls the service operation of the second network element to realize the intention according to the operation requirement and the identifier of the second network element.
操作需求中的操作可包括操作指令,第三网元可根据操作指令控制第二网元的业务运行以实现该意图。具体地,第三网元可将操作指令发送至第二网元,第二网元执行操作指令以达成意图。The operation in the operation requirement may include an operation instruction, and the third network element may control the service operation of the second network element according to the operation instruction to realize the intention. Specifically, the third network element may send the operation instruction to the second network element, and the second network element executes the operation instruction to achieve the intention.
例如,第三网元根据操作需求和第二网元的标识,控制第二网元的业务运行以实现该意图的实现方式可参考后续图7b的描述。For example, the third network element controls the service operation of the second network element according to the operation requirements and the identification of the second network element to realize the intention for the implementation manner, which can refer to the description of the subsequent FIG. 7b.
本申请实施例的技术方案中,第一网元接收意图之后,根据意图获取操作需求和第二网元的标识,再获取第三网元的标识,然后根据第三网元的标识,向第三网元发送操作需求和第二网元的标识,第三网元根据操作需求和第二网元的标识,控制第二网元的业务运行以实现该意图。这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第三网元。第三网元根据操作需求控制第二网元的业务运行以达成意图。在达成意图的过程中, 一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。In the technical solution of the embodiment of the present application, after the first network element receives the intent, it obtains the operation requirements and the identifier of the second network element according to the intent, and then obtains the identifier of the third network element, and then, according to the identifier of the third network element, the first network element The three network elements send the operation requirement and the identifier of the second network element, and the third network element controls the service operation of the second network element to realize the intention according to the operation requirement and the identifier of the second network element. In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element. The third network element controls the service operation of the second network element according to the operational requirements to achieve the intention. In the process of achieving the intention, one third network element can control the service operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
在一些可选的实施例中,本申请实施例的意图处理方法还包括:In some optional embodiments, the intention processing method in the embodiments of the present application further includes:
S706、第三网元向第一网元发送意图达成消息。S706: The third network element sends an intention accomplishment message to the first network element.
如此,第一网元接收到意图达成消息,且意图达成消息中包含该意图的标识时,则可确认该第二网元已达成该意图。In this way, when the first network element receives the intention fulfillment message, and the intention fulfillment message includes the identifier of the intention, it can be confirmed that the second network element has fulfilled the intention.
具体地,第一网元向第三网元发送操作需求时,可将该意图的标识也发送至第三网元。第三网元向第一网元发送的意图达成消息中,可包括该意图的标识。这样,当第一网元处理多个意图时,能够根据意图达成消息中的意图的标识确定已达成的意图。Specifically, when the first network element sends the operation request to the third network element, the identifier of the intention may also be sent to the third network element. The intention achievement message sent by the third network element to the first network element may include the identifier of the intention. In this way, when the first network element processes multiple intents, the achieved intent can be determined according to the identifier of the intent in the intent fulfillment message.
图7b为本申请实施例的意图处理方法的流程示意图。基于上述图7a所示的实施例,在一些可选地实施例中,第一网元根据该意图获取操作需求和第二网元的标识包括以下步骤S7021和S7022。FIG. 7b is a schematic flowchart of an intention processing method according to an embodiment of the application. Based on the embodiment shown in FIG. 7a, in some optional embodiments, the first network element acquiring the operation requirement and the identification of the second network element according to the intention includes the following steps S7021 and S7022.
S7021、第一网元从第一数据库中获取属性信息符合该描述信息的第二网元的标识,第一数据库包括第二网元的属性信息和第二网元的标识的关联关系。S7021. The first network element obtains the identifier of the second network element whose attribute information matches the description information from the first database. The first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element.
S7022、第一网元根据需求描述信息从第二数据库中获取操作需求,第二数据库中包括需求描述信息与操作需求的关联关系。S7022. The first network element obtains the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
关于步骤S7021的解释说明,可参照上述实施例中关于步骤S5021的解释说明。关于步骤S7022的解释说明,可参照上述实施例中关于步骤S5022的解释说明。为避免冗余,在此不再赘述。For the explanation of step S7021, refer to the explanation of step S5021 in the above embodiment. For the explanation of step S7022, please refer to the explanation of step S5022 in the above-mentioned embodiment. To avoid redundancy, I will not repeat them here.
如此,第一数据库中包括第二网元的属性信息和第二网元的标识的关联关系,第二数据库中包括需求描述信息与操作需求的关联关系。这样第一网元可利用第一数据库和第二数据库,将意图中的操作需求转译成操作需求,并获得第二网元的标识。第一网元将该操作需求发送至第三网元之后,第三网元则可根据该操作需求控制第二网元调整运行状态达成意图。这样能够减少第一网元处理意图的过程中,第一网元与第二网元之间的信令发送次数,降低第一网元的负荷。In this way, the first database includes the association relationship between the attribute information of the second network element and the identifier of the second network element, and the second database includes the association relationship between the requirement description information and the operation requirement. In this way, the first network element can use the first database and the second database to translate the intended operation requirement into the operation requirement, and obtain the identification of the second network element. After the first network element sends the operation requirement to the third network element, the third network element can control the second network element to adjust the operating state according to the operation requirement to achieve the intention. This can reduce the number of signaling transmissions between the first network element and the second network element during the process of the first network element processing the intention, and reduce the load of the first network element.
在一个可选的实施例中,第一网元将操作需求、第二网元的标识、指令格式与网元的标识的对应关系发送至第三网元。第三网元根据第二网元的标识,结合该指令格式与网元的标识的对应关系,获取第二网元执行操作需求中的操作指令时,操作指令的指令格式。如此,第三网元根据指令格式与网元的标识的对应关系,获取第二网元执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。In an optional embodiment, the first network element sends the operation requirement, the identification of the second network element, the correspondence relationship between the instruction format and the identification of the network element to the third network element. According to the identifier of the second network element, the third network element obtains the instruction format of the operation instruction when the second network element executes the operation instruction in the operation requirement in combination with the corresponding relationship between the instruction format and the identifier of the network element. In this way, the third network element obtains the instruction format of the operation instruction when the second network element executes the operation instruction in the operation requirement according to the corresponding relationship between the instruction format and the identifier of the network element, without the first network element having to obtain the instruction format. Therefore, the data processing volume of the first network element can be reduced, and the load of the first network element can be reduced.
在另一个可选的实施例中,第一网元将操作需求、第二网元的标识、指令格式与网元的标识的对应关系发送至第三网元。第三网元根据第二网元的网络状态确定第二网元要执行的操作之后,将该操作的操作指令、指令格式与网元的标识的对应关系发送至第二网元。第二网元根据自身的标识,结合该指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式。如此,能够减轻第三网元的负荷。In another optional embodiment, the first network element sends the operation requirement, the identification of the second network element, the correspondence relationship between the instruction format and the identification of the network element to the third network element. After determining the operation to be performed by the second network element according to the network status of the second network element, the third network element sends the operation instruction of the operation, the correspondence relationship between the instruction format and the identifier of the network element to the second network element. The second network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to its own identifier and in combination with the corresponding relationship between the instruction format and the identifier of the network element. In this way, the load of the third network element can be reduced.
如图7b所示,基于上述图7a的实施例,在一些可选的实施例中,第三网元根据操作需求中的操作实现该意图包括以下步骤S7050-S7059。As shown in Fig. 7b, based on the embodiment of Fig. 7a, in some optional embodiments, the third network element realizes the intention according to the operation in the operation requirement, including the following steps S7050-S7059.
S7050、第三网元获取操作需求中的操作的类型。S7050. The third network element obtains the type of operation in the operation requirement.
操作的类型例如可包括但不限于工作流类型、优化类型和指令类型。操作需求中的操作的类型为第一类型时,第三网元执行步骤S7051,操作需求中的操作的类型是第二类型时,第三网元执行步骤S7053,识别出操作需求中的操作类型是第三类型时,第三网元执行步骤S7059;The type of operation may include, but is not limited to, workflow type, optimization type, and instruction type, for example. When the type of the operation in the operation requirement is the first type, the third network element executes step S7051. When the type of the operation in the operation requirement is the second type, the third network element executes step S7053 to identify the type of operation in the operation requirement When it is the third type, the third network element executes step S7059;
需要说明的是,上述实施例中,关于操作的类型的解释说明,同样也适用于本实施例,为避免冗余,在此不再赘述。It should be noted that, in the foregoing embodiment, the explanation about the type of operation is also applicable to this embodiment, and to avoid redundancy, it will not be repeated here.
S7051、第三网元获取第二网元的网络状态,并判断第二网元的网络状态是否符合操作需求中的达成准则,若是,则可确定意图达成;若否则执行步骤S7052。S7051. The third network element obtains the network status of the second network element, and determines whether the network status of the second network element meets the achievement criterion in the operation requirement. If so, it can be determined that the intention is achieved; if not, step S7052 is executed.
达成准则中包括一个或多个参数类型和每个参数类型对应的达成条件。第三网元识别出操作需求中的操作的类型为第一类型时,根据第二网元的网络状态获取达成准则中的每个参数类型的参数值。The achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type. When the third network element recognizes that the type of operation in the operation requirement is the first type, it acquires the parameter value of each parameter type in the achievement criterion according to the network state of the second network element.
若达成准则中的每个参数类型对应的参数值都符合达成条件,则第三网元可判定第二网元的网络状态符合达成准则,否则,第三网元判定第二网元的网络状态不符合达成准则。例如,需求描述信息为调整语音数据丢包率到1%以下,达成准则中包括参数类型:语音数据丢包率,该参数类型对应的达成条件为小于或等于1%。当第三网元获取到第二网元的调整语音数据丢包率为7%时,则可确认第二网元的网络状态不符合达成准则。If the parameter value corresponding to each parameter type in the achievement criterion meets the achievement condition, the third network element can determine that the network status of the second network element meets the achievement criterion; otherwise, the third network element determines the network status of the second network element Does not meet the reaching criteria. For example, the requirement description information is to adjust the voice data packet loss rate to less than 1%, and the achievement criterion includes a parameter type: voice data packet loss rate. The achievement condition corresponding to this parameter type is less than or equal to 1%. When the third network element obtains that the adjusted voice data packet loss rate of the second network element is 7%, it can be confirmed that the network state of the second network element does not meet the reaching criterion.
需要说明的是,在第二网元的网络状态符合操作需求中的达成准则之后,第三网元继续执行步骤S7051。若第三网元确定第二网元的网络状态符合操作需求中的达成准则之后,第二网元的网络状态发生了变化,且第三网元获取到第二网元的网络状态不符合达成准则,第三网元则向第一网元发送达成状态变更消息。该达成状态变更消息用于通知第一网元,第二网元的网络状态已不符合该意图对应的达成准则,第二网元处于意图未达成状态。It should be noted that, after the network state of the second network element meets the achievement criterion in the operation requirement, the third network element continues to perform step S7051. If the third network element determines that the network status of the second network element meets the achievement criteria in the operational requirements, the network status of the second network element changes, and the third network element obtains that the network status of the second network element does not meet the achievement criteria According to the criteria, the third network element sends a status change message to the first network element. The achievement status change message is used to notify the first network element that the network status of the second network element no longer meets the achievement criterion corresponding to the intention, and the second network element is in the intention unfulfilled state.
S7052、当第二网元的网络状态不符合达成准则时,第三网元根据第二网元的网络状态,从操作需求的一个或多个操作中获取符合执行条件的第一目标操作,并根据第一目标操作调整运行状态,调整运行状态之后返回步骤S7051。S7052. When the network status of the second network element does not meet the reaching criteria, the third network element obtains the first target operation that meets the execution conditions from one or more operations required by the operation according to the network status of the second network element, and The operating state is adjusted according to the first target operation, and after the operating state is adjusted, step S7051 is returned.
第三网元根据第二网元的网络状态得到执行条件中每个网络状态参数对应的参数值。若执行条件中的每个网络状态参数对应的参数值都符合参数条件,则第三网元可确认第二网元的网络状态符合该执行条件,并将该执行条件对应的操作为第一目标操作。否则,第三网元确认第二网元的网络状态不符合该执行条件。The third network element obtains the parameter value corresponding to each network state parameter in the execution condition according to the network state of the second network element. If the parameter value corresponding to each network state parameter in the execution condition meets the parameter condition, the third network element can confirm that the network state of the second network element meets the execution condition, and set the operation corresponding to the execution condition as the first target operating. Otherwise, the third network element confirms that the network status of the second network element does not meet the execution condition.
例如,需求描述信息为调整语音数据丢包率到1%以下,该需求描述信息对应操作需求包括操作a和操作b,操作a的执行条件a是语音数据丢包率大于1%且小于或等于5%,操作b的执行条件b是语音数据丢包率大于5%且小于或等于10%。则该例子中,执行条件a的网络状态参数为语音数据丢包率,执行条件a对应的参数条件为大于1%且小于或等于5%。执行条件b的网络状态参数为语音数据丢包率,执行条件b应的参数条件为大于5%且小于或等于10%。当第三网元获取到第二网元的调整语音数据丢包率为7%时,可确认第 二网元的调整语音数据丢包率符合操作b的执行条件b,则将操作b作为第一目标操作。For example, the requirement description information is to adjust the voice data packet loss rate to less than 1%. The corresponding operation requirements of the requirement description information include operation a and operation b. The execution condition of operation a is that the voice data packet loss rate is greater than 1% and less than or equal to 5%, the execution condition b of operation b is that the voice data packet loss rate is greater than 5% and less than or equal to 10%. In this example, the network state parameter of the execution condition a is the voice data packet loss rate, and the parameter condition corresponding to the execution condition a is greater than 1% and less than or equal to 5%. The network state parameter of the execution condition b is the voice data packet loss rate, and the parameter condition for the execution condition b is greater than 5% and less than or equal to 10%. When the third network element obtains that the adjusted voice data packet loss rate of the second network element is 7%, it can be confirmed that the adjusted voice data packet loss rate of the second network element meets the execution condition b of operation b, and then operation b is regarded as the first A target operation.
第三网元获得一个或多个第一目标操作之后,根据第一目标操作控制第二网元的业务运行,以调整运行状态。调整运行状态之后,第三网元再返回执行步骤S7051,判断第二网元的网络状态是否符合达成准则。若第二网元的网络状态不符合达成准则,第三网元则再次执行步骤S7052,根据第二网元的网络状态,从操作需求的一个或多个操作中重新获取符合执行条件的第一目标操作,并根据第一目标操作调整运行状态。这样第三网元循环执行步骤S7051和S7052,直到第二网元的网络状态符合达成准则。After the third network element obtains one or more first target operations, it controls the service operation of the second network element according to the first target operations to adjust the operating state. After adjusting the operating state, the third network element returns to step S7051 to determine whether the network state of the second network element meets the reaching criterion. If the network status of the second network element does not meet the achievement criterion, the third network element performs step S7052 again, and according to the network status of the second network element, retrieves the first one that meets the execution conditions from one or more operations required by the operation. Target operation, and adjust the running state according to the first target operation. In this way, the third network element cyclically executes steps S7051 and S7052 until the network status of the second network element meets the reaching criterion.
具体地,操作需求中的操作包括操作指令。第三网元可向第二网元发送第一目标操作的操作指令。第二网元执行操作指令之后,向第三网元发送执行操作指令之后第二网元的网络状态。若网络状态不符合达成准则,第三网元再根据第二网元发送的网络状态重新获取第一目标操作。然后第三网元向第二网元发送第一目标操作的操作指令。这样第三网元多次根据第二网元的网络状态向第二网元发送操作指令,第二网元执行操作指令调整网络状态,直到第二网元的网络状态符合达成准则。Specifically, the operations in the operation requirements include operation instructions. The third network element may send an operation instruction of the first target operation to the second network element. After the second network element executes the operation instruction, the network state of the second network element after the execution of the operation instruction is sent to the third network element. If the network status does not meet the reaching criterion, the third network element re-acquires the first target operation according to the network status sent by the second network element. Then the third network element sends the operation instruction of the first target operation to the second network element. In this way, the third network element sends operation instructions to the second network element multiple times according to the network state of the second network element, and the second network element executes the operation instruction to adjust the network state until the network state of the second network element meets the reached criterion.
需要说明的是,本申请实施例中的第一目标操作为一个变量,每执行一次步骤S7052,第三网元会根据第二网元的网络状态重新从一个或多个操作中获取符合执行条件的第一目标操作。It should be noted that the first target operation in the embodiment of the present application is a variable. Each time step S7052 is executed, the third network element will re-acquire from one or more operations that meet the execution conditions according to the network status of the second network element. The first target operation.
若没有获取到符合执行条件第一目标操作,第三网元则向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。If the first target operation that meets the execution condition is not obtained, the third network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
在一些可选的实施例中,第一类型的操作对应的操作需求中还包括执行约束。第三网元在根据操作控制第二网元调整运行状态实现该意图的过程中,始终满足该执行约束。如此,当实现意图的过程中对第二网元的运行状态有要求时,例如,需要保证第二网元的业务运行状态始终保存正常时,可通过设置执行约束来使得第二网元的在实现该意图的过程中,业务运行状态始终符合要求。In some optional embodiments, the operation requirements corresponding to the operations of the first type further include execution constraints. The third network element always satisfies the execution constraint during the process of controlling the second network element to adjust the operating state according to the operation to achieve the intention. In this way, when the operating state of the second network element is required in the process of realizing the intention, for example, when it is necessary to ensure that the service operating state of the second network element is always kept normally, the execution constraint can be set to make the second network element's operating status. In the process of realizing this intent, the business operation status always meets the requirements.
需要说明的是,操作需求中的执行条件是可选的。当第一类型的操作需求包括一个操作而不包括执行条件时,在步骤S7042中,该一个操作为第一目标操作,第三网元则根据该目标第一操作控制第二网元调整运行状态。It should be noted that the execution conditions in the operation requirements are optional. When the operation requirement of the first type includes an operation but does not include execution conditions, in step S7042, the operation is the first target operation, and the third network element controls the second network element to adjust the operating state according to the target first operation .
具体地,第三网元将目标第一操作的操作指令发送至第二网元。第二网元执行该操作指令调整运行状态。Specifically, the third network element sends the operation instruction of the target first operation to the second network element. The second network element executes the operation instruction to adjust the operating state.
可选的,当第一网元向第三网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第三网元向第二网元发送第一目标操作中的操作指令之前,根据第二网元的标识、网元的标识与指令格式的对应关系获取第二网元执行该操作指令时,所需满足的指令格式,然后将第一目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第三网元再向第二网元发送该转换格式后的操作指令。如此,第三网元根据指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。Optionally, when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the first target operation to the second network element Previously, according to the identification of the second network element, the corresponding relationship between the identification of the network element and the instruction format, the instruction format that the second network element needs to meet when the operation instruction is executed is obtained, and then the operation instruction in the first target operation is converted into In this instruction format, the operation instruction after the conversion format is obtained. The third network element sends the converted operation instruction to the second network element. In this way, the third network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
可选的,当第一网元向第三网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第三网元向第二网元发送第一目标操作中的操作指令和网元的标识与指令格式的 对应关系。第二网元执行第一目标操作中的操作指令之前,根据网元的标识与指令格式的对应关系及自身的标识获取执行操作指令时,操作指令的指令格式,然后将第一目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第二网元再执行格式转换后的操作指令。这样能够减轻第三网元的数据处理量,减轻第三网元的负荷。Optionally, when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the first target operation to the second network element Correspondence with the identification of the network element and the instruction format. Before the second network element executes the operation instruction in the first target operation, it obtains the instruction format of the operation instruction when the operation instruction is executed according to the corresponding relationship between the identifier of the network element and the instruction format and its own identifier, and then sets the instruction format of the operation instruction in the first target operation. The operation instruction is converted into the instruction format, and the operation instruction after the conversion format is obtained. The second network element then executes the operation instruction after the format conversion. In this way, the data processing volume of the third network element can be reduced, and the load of the third network element can be reduced.
S7053、第三网元获取第二网元的网络状态,并判断第二网元的网络状态是否符合达成准则;S7053. The third network element obtains the network status of the second network element, and determines whether the network status of the second network element meets the reaching criterion;
该步骤S7053的解释说明可参考上述步骤S7051的解释说明,为避免冗余,在此不再赘述。The explanation of this step S7053 can refer to the explanation of the above step S7051, in order to avoid redundancy, it will not be repeated here.
S7054、当第二网元的网络状态不符合达成准则时,第三网元根据第二网元的网络状态获取符合执行条件的第二目标操作,并据操第二目标操作控制第二网元调整运行状态;S7054. When the network status of the second network element does not meet the achievement criterion, the third network element obtains a second target operation that meets the execution conditions according to the network status of the second network element, and controls the second network element according to the second target operation Adjust the operating status;
第三网元获取第二目标操作的具体过程可参考上述第三网元获取第一目标操作的过程。一个或多个操作中的每个操作均包括操作指令,那么第三网元得到第二目标操作之后,可将第二目标操作的操作指令发送至第二网元。第二网元执行第二目标操作的操作指令以控制第二网元的业务运行,从而调整运行状态。For the specific process of obtaining the second target operation by the third network element, refer to the foregoing process for obtaining the first target operation by the third network element. Each of the one or more operations includes an operation instruction, so after the third network element obtains the second target operation, the operation instruction of the second target operation may be sent to the second network element. The second network element executes the operation instruction of the second target operation to control the service operation of the second network element, thereby adjusting the operating state.
若没有获取到符合执行条件的第二目标操作,则第三网元向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。If the second target operation that meets the execution condition is not obtained, the third network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
S7055、第三网元获取第二网元的调整运行状态后的网络状态,并判断该调整运行状态后的网络状态是否符合达成准则,若是,则确认指令达成,若否,执行步骤7056;S7055. The third network element obtains the network status after the adjusted operating status of the second network element, and determines whether the adjusted operating status of the network meets the achievement criterion, if so, confirms that the instruction is reached, and if not, executes step 7056;
达成准则中包括一个或多个参数类型和每个参数类型对应的达成条件。第三网元调整运行状态之后,根据调整运行状态后的网络状态,获取达成准则中的每个参数类型的参数值。若第三网元根据调整运行状态后的据网络状态,确认达成准则中的每个参数类型的参数值都符合对应的达成条件,则第三网元可判定第二网元的调整运行状态后的网络状态符合达成准则;否则,第三网元判定第二网元的调整运行状态后的网络状态不符合达成准则。The achievement criterion includes one or more parameter types and the achievement conditions corresponding to each parameter type. After the third network element adjusts the operating state, the parameter value of each parameter type in the achievement criterion is obtained according to the network state after the adjusted operating state. If the third network element confirms that the parameter value of each parameter type in the achievement criterion meets the corresponding achievement condition according to the network status after adjusting the operating status, the third network element can determine the adjusted operating status of the second network element The network state of the network element meets the reaching criterion; otherwise, the third network element determines that the network state after the adjusted operating state of the second network element does not meet the reaching criterion.
具体地,第三网元可向第二网元发送第二目标操作的操作指令。第二网元执行操作指令之后,向第三网元发送执行操作指令之后第二网元的网络状态。若网络状态不符合达成准则,第三网元根据第二网元发送的网络状态调整第二目标操作或重新获取第二目标操作。然后第三网元向第二网元发送调整后的第二目标操作的操作指令或重新获取的第二目标操作的操作指令。这样第三网元多次根据第二网元的网络状态向第二网元发送操作指令,第二网元执行操作指令调整网络状态,直到第二网元的网络状态符合达成准则。Specifically, the third network element may send an operation instruction of the second target operation to the second network element. After the second network element executes the operation instruction, the network state of the second network element after the execution of the operation instruction is sent to the third network element. If the network status does not meet the achievement criterion, the third network element adjusts the second target operation or reacquires the second target operation according to the network status sent by the second network element. Then the third network element sends the adjusted operation instruction of the second target operation or the reacquired operation instruction of the second target operation to the second network element. In this way, the third network element sends operation instructions to the second network element multiple times according to the network state of the second network element, and the second network element executes the operation instruction to adjust the network state until the network state of the second network element meets the reached criterion.
S7056、当调整运行状态后的网络状态不符合达成准则时,第三网元判断该调整运行状态后的网络状态是否符合所述第二目标操作对应的执行条件,若不符合则执行步骤S7057,若符合则执行步骤S7058。S7056. When the network state after the adjusted operating state does not meet the achievement criterion, the third network element determines whether the adjusted operating state of the network state meets the execution condition corresponding to the second target operation, and if it does not meet the execution condition of the second target operation, execute step S7057. If yes, step S7058 is executed.
S7057、第三网元根据第二网元调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,并根据重新获取的第二目标操作控制第二网元调整运行状态。第三网元控制第二网元调整运行状态之后,返回执行步骤S7055。S7057. The third network element reacquires the second target operation that meets the execution conditions from one or more operations according to the network status after the operation status of the second network element is adjusted, and controls the second network according to the reacquired second target operation Yuan adjusts the operating status. After the third network element controls the second network element to adjust the operating state, return to step S7055.
可以理解,调整运行状态之后,第二网元的网络状态发生了变化,第二网元的网络状态可能不符合根据调整前的网络状态获得的第二目标操作对应的执行条件。那么在调整运 行状态后,第三网元判断该调整运行状态后的网络状态是否符合该第二目标操作对应的执行条件,当调整运行状态后的网络状态不符合该第二目标操作对应的执行条件时,根据该调整运行状态后的网络状态重新获取符合执行条件的第二目标操作。这样,可以使得第二目标操作与调整运行状态后的网络状态相符。It can be understood that after adjusting the operating state, the network state of the second network element has changed, and the network state of the second network element may not meet the execution condition corresponding to the second target operation obtained according to the network state before the adjustment. Then, after adjusting the operating state, the third network element determines whether the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and when the adjusted operating state does not meet the execution conditions corresponding to the second target operation When the condition is met, the second target operation that meets the execution condition is obtained again according to the network state after the adjusted operating state. In this way, the second target operation can be made consistent with the network state after adjusting the operating state.
例如,当在步骤S7053获取到第二网元的语音数据丢包率为7%,则在步骤S7054,第三网元确定第二目标操作为操作b,并根据操作b调整运行状态。然后执行步骤S7055,第三网元获取到调整运行状态后的语音数据丢包率为4%,调整运行状态后的语音数据丢包率大于1%且小于5%,则可确认第二网元调整运行状态后的网络状态不符合达成准则,调整运行状态后的网络状态也不符合第二目标操作对应的执行条件。由于第二网元调整运行状态后的语音数据丢包率为4%符合操作a的执行条件a,第三网元根据调整运行状态后的语音数据丢包率为4%,重新确定操作a为第二目标操作。第三网元再根据操作a控制第二网元调整运行状态。For example, when it is acquired in step S7053 that the voice data packet loss rate of the second network element is 7%, then in step S7054, the third network element determines that the second target operation is operation b, and adjusts the operating state according to operation b. Then step S7055 is executed. The third network element obtains that the voice data packet loss rate after adjusting the operating state is 4%. If the voice data packet loss rate after adjusting the operating state is greater than 1% and less than 5%, the second network element can be confirmed The network state after adjusting the operating state does not meet the achievement criterion, and the network state after adjusting the operating state does not meet the execution conditions corresponding to the second target operation. Since the voice data packet loss rate of the second network element after the adjustment of the operating state is 4% meets the execution condition a of operation a, the third network element re-determines the operation a as being 4% according to the voice data packet loss rate after the adjustment of the operating state The second target operation. The third network element then controls the second network element to adjust the operating state according to operation a.
S7058、第三网元根据达成准则修改第二目标操作,并根据修改后的第二目标操作控制第二网元调整运行状态。控制第二网元调整运行状态之后,第三网元返回执行步骤S7055。S7058. The third network element modifies the second target operation according to the achievement criterion, and controls the second network element to adjust the operating state according to the modified second target operation. After controlling the second network element to adjust the operating state, the third network element returns to perform step S7055.
具体地,第三网元达成准则中,每个参数类型对应的参数值与该参数类型对应的达成条件之间的差异调整第二操作中的操作指令。Specifically, in the third network element achievement criterion, the difference between the parameter value corresponding to each parameter type and the achievement condition corresponding to the parameter type adjusts the operation instruction in the second operation.
第三网元可根据达成准则中的参数条件得到奖励公式,再根据达成准则中每个参数类型的参数值、该参数类型对应的达成条件和奖励公式调整第二操作中的操作指令,以使得第三网元根据调整后的操作指令控制第二网元调整运行状态之后,根据第二网元的网络状态得到的参数值更加接近参数值对应的达成条件。这样多次执行步骤S7055和S7058,可以使得第二网元的网络状态逐渐接近达成准则,直至符合达成准则。The third network element can obtain the reward formula according to the parameter conditions in the achievement criterion, and then adjust the operation instruction in the second operation according to the parameter value of each parameter type in the achievement criterion, the achievement condition corresponding to the parameter type and the reward formula, so that After the third network element controls the second network element to adjust the operating state according to the adjusted operation instruction, the parameter value obtained according to the network state of the second network element is closer to the achievement condition corresponding to the parameter value. Performing steps S7055 and S7058 multiple times in this way can make the network status of the second network element gradually approach the reaching criterion until it meets the reaching criterion.
在一个实施例中,操作需求中包括奖励公式。也即是说,第一网元根据需求描述信息从第二数据库中获得的操作需求中,包括达成准则、奖励公式、一个或多个操作和执行每个操作的执行条件。在另一个实施例中,当第一网元从第二数据库中获得的操作需求中包括达成准则、一个或多个操作和执行每个操作的执行条件,而不包括奖励公式时,第一网元可根据操作需求中的达成准则得到奖励公式,并向第三网元发送该奖励公式。这样,第三网元能够从第一网元接收奖励公式,能够减少第三网元的数据处理量。In one embodiment, the operation requirement includes a reward formula. In other words, the operation requirements obtained by the first network element from the second database according to the requirement description information include an achievement criterion, a reward formula, one or more operations, and execution conditions for performing each operation. In another embodiment, when the operational requirements obtained by the first network element from the second database include the achievement criteria, one or more operations, and the execution conditions for executing each operation, but does not include the reward formula, the first network element The element may obtain the reward formula according to the achievement criterion in the operation requirement, and send the reward formula to the third network element. In this way, the third network element can receive the reward formula from the first network element, which can reduce the data processing volume of the third network element.
在又一个实施例中,操作需求中包括约束条件。第三网元在根据操作调整运行状态的过程中需要需满足该约束条件。第三网元可根据该约束条件和达成准则得到奖励公式。或者第一网元根据该约束条件和达成准则得到奖励公式,并将奖励公式发送至第三网元。In yet another embodiment, the operating requirements include constraints. The third network element needs to meet the constraint condition in the process of adjusting the operating state according to the operation. The third network element can obtain a reward formula according to the constraint condition and the achievement criterion. Or the first network element obtains the reward formula according to the constraint condition and the achievement criterion, and sends the reward formula to the third network element.
第三网元控制第二网元调整运行状态之后,第三网元执行步骤S7055。这样第三网元循环执行步骤S7055-S7058,直到第二网元调整运行状态后的网络状态符合达成准则。After the third network element controls the second network element to adjust the operating state, the third network element executes step S7055. In this way, the third network element cyclically executes steps S7055-S7058 until the network state after the second network element adjusts the operating state meets the reaching criterion.
需要说明的是,第二操作类型对应的操作需求中,执行条件是可选的。当第二类型的操作对应的操作需求中,包括达成准则和一个操作,且而不包括执行条件时,在步骤S7064中,第三网元则根据该一个操作控制第二网元调整运行状态;在步骤S7065中,若第二网元的调整运行状态后的网络状态不符合达成准则时,则执行步骤S7058,直到第二网元的调整运行状态后的网络状态符合达成准则;若符合达成准则,则确认意图达成。这样不必再执行步骤S7056和步骤S7057。It should be noted that in the operation requirements corresponding to the second operation type, the execution conditions are optional. When the operation requirement corresponding to the second type of operation includes the achievement criterion and an operation, but does not include the execution condition, in step S7064, the third network element controls the second network element to adjust the operating state according to the one operation; In step S7065, if the network state after the adjusted operating state of the second network element does not meet the achieved criterion, step S7058 is performed until the network state after the adjusted operating state of the second network element meets the achieved criterion; if it meets the achieved criterion , Then confirm that the intention is achieved. In this way, it is unnecessary to perform step S7056 and step S7057.
可选的,当第一网元向第三网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第三网元向第二网元发送第二目标操作中的操作指令之前,根据第二网元的标识、网元的标识与指令格式的对应关系获取第二网元执行操作指令时,操作指令的指令格式,然后将第二目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第三网元再向第二网元发送该转换格式后的操作指令。如此,第三网元根据指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。Optionally, when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the second target operation to the second network element Previously, according to the corresponding relationship between the identification of the second network element, the identification of the network element, and the instruction format, the instruction format of the operation instruction when the second network element executes the operation instruction was obtained, and then the operation instruction in the second target operation was converted into the instruction Format, get the operation instruction after converting the format. The third network element sends the converted operation instruction to the second network element. In this way, the third network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
可选的,当第一网元向第三网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第三网元向第二网元发送第二目标操作中的操作指令和网元的标识与指令格式的对应关系。第二网元执行第二目标操作中的操作指令之前,根据网元的标识与指令格式的对应关系及自身的标识获取执行操作指令时,操作指令的指令格式,然后将第二目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第二网元再执行格式转换后的操作指令。这样能够减轻第三网元的数据处理量,减轻第三网元的负荷。Optionally, when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the second target operation to the second network element Correspondence with the identification of the network element and the instruction format. Before the second network element executes the operation instruction in the second target operation, it obtains the instruction format of the operation instruction when the operation instruction is executed according to the corresponding relationship between the identifier of the network element and the instruction format and its own identifier, and then sets the instruction format of the operation instruction in the second target operation. The operation instruction is converted into the instruction format, and the operation instruction after the conversion format is obtained. The second network element then executes the operation instruction after the format conversion. In this way, the data processing volume of the third network element can be reduced, and the load of the third network element can be reduced.
可选的,当操作类型为第一操作或第二操作时,若第二网元的网络运行状态符合达成准则,则执行步骤S706。这样第一网元可接收第三网元发送的意图达成消息,并根据该意图达成消息通知意图发送方意图已达成。Optionally, when the operation type is the first operation or the second operation, if the network operation status of the second network element meets the achievement criterion, step S706 is executed. In this way, the first network element can receive the intention fulfillment message sent by the third network element, and notify the intention sender that the intention has been fulfilled according to the intention fulfillment message.
S7059、第三网元根据操作需求中的操作控制第二网元调整运行状态;S7059. The third network element controls the second network element to adjust the operating state according to the operation in the operation demand;
若第三网元根据第三目标操作控制第二网元成功调整运行状态,则确认意图达成。若第三网元没有成功控制第二网元成功调整运行状态,则确认意图执行失败。意图达成时,可执行步骤S505;当意图执行失败时,第二网元可向第一网元发送意图执行失败消息。如此,第二网元可及时向第一网元反馈意图执行情况。If the third network element controls the second network element to successfully adjust the operating state according to the third target operation, it is confirmed that the intention is achieved. If the third network element does not successfully control the second network element to successfully adjust the operating state, it is confirmed that the intention execution failed. When the intention is achieved, step S505 may be performed; when the execution of the intention fails, the second network element may send a message of failure to execute the intention to the first network element. In this way, the second network element can feed back the execution of the intention to the first network element in time.
具体地,当操作类型为第三类型,操作需求中包括多个操作和每个操作对应的执行条件,且不包括达成准则时,第三网元根据第二网元的网络状态,从多个操作中获取符合执行条件的第三目标操作,并根据第三目标操作控制第二网元调整运行状态。具体地,操作需求中的操作包括操作指令。第三网元可向第二网元发送第三目标操作的操作指令,使得第二网元执行该操作指令调整运行状态,从而实现根据第三目标操作控制第二网元调整运行状态。若第三网元根据第三目标操作控制第二网元成功调整运行状态,则确认意图达成。若第三网元没有获取到符合执行条件的第三目标操作,或者获取到了第三目标操作但是根据第三目标操作没有控制第二网元成功调整运行状态,第三网元则向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。Specifically, when the operation type is the third type, and the operation requirements include multiple operations and the execution conditions corresponding to each operation, and do not include the achievement criteria, the third network element will select from multiple operations based on the network status of the second network element. During the operation, a third target operation that meets the execution condition is acquired, and the second network element is controlled to adjust the running state according to the third target operation. Specifically, the operations in the operation requirements include operation instructions. The third network element may send an operation instruction of the third target operation to the second network element, so that the second network element executes the operation instruction to adjust the operating state, thereby achieving control of the second network element to adjust the operating state according to the third target operation. If the third network element controls the second network element to successfully adjust the operating state according to the third target operation, it is confirmed that the intention is achieved. If the third network element does not obtain the third target operation that meets the execution conditions, or obtains the third target operation but does not control the second network element to successfully adjust the operating state according to the third target operation, the third network element sends a notification to the first network. Meta sends an intent execution failure message. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
当操作类型为第三类型,操作需求中包括一个操作,且不包括执行条件和达成准则时,该一个操作为第三目标操作,第三网元根据该一个操作控制第二网元调整运行状态。第三网元根据该一个操作控制第二网元成功调整运行状态之后,执确认意图达成。若第三网元根据该一个操作没有控制第二网元成功调整运行状态,第三网元向第一网元发送意图执行失败消息。这样第一网元可以根据该意图执行失败消息,向意图发送方反馈意图执行情况。第一网元也能根据该意图执行失败消息重新获取该意图对应的操作需求。When the operation type is the third type, and the operation requirement includes an operation, and does not include execution conditions and achievement criteria, the operation is the third target operation, and the third network element controls the second network element to adjust the operating state according to the one operation . After the third network element controls the second network element to successfully adjust the operating state according to the one operation, it executes confirmation that the intention is achieved. If the third network element does not control the second network element to successfully adjust the operating state according to the one operation, the third network element sends an intention execution failure message to the first network element. In this way, the first network element can feed back the intention execution status to the intention sender according to the intention execution failure message. The first network element can also re-acquire the operation requirement corresponding to the intent according to the intent execution failure message.
在一些实施例中,第三类型的操作对应的操作需求中,还包括执行约束。第三网元根 据操作需求中的操作,控制第二网元调整运行状态的过程中,第二网元需要始终满足该执行约束。In some embodiments, the operation requirements corresponding to the third type of operation further include execution constraints. In the process of controlling the second network element to adjust the operation state of the third network element according to the operation in the operation requirement, the second network element needs to always satisfy the execution constraint.
可选的,当第一网元向第三网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第三网元向第二网元发送第三目标操作中的操作指令之前,根据第二网元的标识、网元的标识与指令格式的对应关系获取第二网元执行操作指令时,操作指令的指令格式,然后将第三目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第三网元再向第二网元发送该转换格式后的操作指令。如此,第三网元根据指令格式与网元的标识的对应关系,获取执行操作需求中的操作指令时,操作指令的指令格式,而不必由第一网元获取该指令格式,从而可以减少第一网元的数据处理量,减轻第一网元的负荷。Optionally, when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the third target operation to the second network element Previously, according to the corresponding relationship between the identification of the second network element, the identification of the network element, and the instruction format, the instruction format of the operation instruction when the second network element executes the operation instruction was obtained, and then the operation instruction in the third target operation was converted into the instruction Format, get the operation instruction after converting the format. The third network element sends the converted operation instruction to the second network element. In this way, the third network element obtains the instruction format of the operation instruction when the operation instruction in the operation requirement is executed according to the corresponding relationship between the instruction format and the identifier of the network element, and the first network element does not need to obtain the instruction format, thereby reducing the number of The data processing volume of one network element reduces the load of the first network element.
可选的,当第一网元向第三网元发送的操作需求中包括网元的标识与指令格式的对应关系时,第三网元向第二网元发送第三目标操作中的操作指令和网元的标识与指令格式的对应关系。第二网元执行第三目标操作中的操作指令之前,根据网元的标识与指令格式的对应关系及自身的标识获取执行操作指令时,操作指令的指令格式,然后将第三目标操作中的操作指令转换成该指令格式,得到转换格式后的操作指令。第二网元再执行格式转换后的操作指令。这样能够减轻第三网元的数据处理量,减轻第三网元的负荷。Optionally, when the operation requirement sent by the first network element to the third network element includes the correspondence between the identifier of the network element and the instruction format, the third network element sends the operation instruction in the third target operation to the second network element Correspondence with the identification of the network element and the instruction format. Before the second network element executes the operation instruction in the third target operation, it obtains the instruction format of the operation instruction when the operation instruction is executed according to the correspondence between the network element’s identifier and the instruction format and its own identifier, and then sets the instruction format of the operation instruction in the third target operation. The operation instruction is converted into the instruction format, and the operation instruction after the conversion format is obtained. The second network element then executes the operation instruction after the format conversion. In this way, the data processing volume of the third network element can be reduced, and the load of the third network element can be reduced.
由此可见,采用上述步骤S7050-S7059,第三网元能够根据不同的操作类型,根据操作需求控制第二网元执行相应的状态调整方案,从而达成意图。It can be seen that using the above steps S7050-S7059, the third network element can control the second network element to execute the corresponding state adjustment scheme according to different operation types and operation requirements, so as to achieve the intention.
可选的,若执行针对该意图需求,距执行步骤S7050的时间已超过预设时长,且第二网元的网络状态仍然不符合达成准则,第三网元则向第一网元发送意图执行失败消息。这样,第三网元可在第二网的网络状态无法满足执行条件时,及时向第一网元反馈,使得意图发送方能够及时了解意图执行情况。可选地,若针对该意图需求,距执行步骤S7050的时间已超过预设时长,且第二网元没有达到达成准则,第二网元可停止根据操作需求中的操作调整网络状态;或者第一网元接收到第二网元发送的意图执行失败消息时,向第二网元发送停止执行指令,指示第二网元停止根据操作需求中的操作调整网络状态。这样能避免因第三网元多次向第二网元发送操作指令、第二网元长时间多次执行操作指令却无法达成意图,而导致浪费第二网元和第三网元的资源。Optionally, if the execution is directed to the intentional requirement, the time from executing step S7050 has exceeded the preset time, and the network status of the second network element still does not meet the reaching criterion, the third network element sends the intentional execution to the first network element. Failure message. In this way, the third network element can promptly feed back to the first network element when the network status of the second network cannot meet the execution conditions, so that the intention sender can timely understand the execution of the intention. Optionally, if the time to execute step S7050 has exceeded the preset time for the intended demand, and the second network element has not reached the reaching criterion, the second network element may stop adjusting the network state according to the operation in the operation demand; or When a network element receives the intention execution failure message sent by the second network element, it sends a stop execution instruction to the second network element to instruct the second network element to stop adjusting the network state according to the operation in the operation requirement. This can avoid waste of resources of the second network element and the third network element due to the third network element sending operation instructions to the second network element multiple times, and the second network element executing the operation instructions multiple times for a long time but failing to achieve the intention.
基于上述实施例,在某些实施例中,当操作的类型为第一类型或第二类型时,第三网元可按照预设时间间隔获取第二网元的网络状态,判断第二网元的网络状态是否符合达成准则。若网络状态不符合达成准则,第三网元向第一网元发送意图未达成消息。若网络状态符合达成准则,第三网元向第一网元发送意图达成消息。这样,第一网元可根据第三网元发送的意图未达成消息、意图执行失败消息或意图达成消息,及时地向意图发送方反馈意图的执行情况。Based on the above-mentioned embodiments, in some embodiments, when the type of operation is the first type or the second type, the third network element can obtain the network status of the second network element at a preset time interval to determine the second network element Whether the status of the network meets the reach criteria. If the network status does not meet the reaching criterion, the third network element sends a message of unfulfilled intention to the first network element. If the network status meets the achievement criterion, the third network element sends an intention achievement message to the first network element. In this way, the first network element can promptly feedback the implementation of the intention to the intention sender according to the intention unfulfilled message, the intention execution failure message, or the intention fulfillment message sent by the third network element.
上述详细阐述了本发明实施例的方法,下面为了便于更好地实施本发明实施例的上述方案,相应地,下面还提供用于配合实施上述方案的相关装置。The foregoing describes the methods of the embodiments of the present invention in detail. In order to facilitate better implementation of the above solutions of the embodiments of the present invention, correspondingly, related devices for cooperating with the implementation of the above solutions are also provided below.
请参阅图8,图8为本申请实施例的第一网元800的模块示意图。第一网元800包括:Please refer to FIG. 8, which is a schematic diagram of a module of a first network element 800 according to an embodiment of the application. The first network element 800 includes:
接收模块801,用于接收意图;The receiving module 801 is used to receive the intention;
处理模块802,用于根据意图获取操作需求和第二网元的标识;The processing module 802 is configured to obtain the operation requirement and the identifier of the second network element according to the intention;
发送模块803,用于根据第二网元的标识向第二网元发送操作需求,操作需求用于指示第二网元根据操作需求对应的操作实现意图。The sending module 803 is configured to send an operation requirement to the second network element according to the identifier of the second network element, and the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第二网元,由第二网元分别根据操作需求控制自身的业务运行以达成意图。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element, and the second network element controls its own service operation according to the operation requirements to achieve the intent. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
在一些可能的实施方式中,意图包括需求描述信息和第二网元的描述信息,处理模块802包括:In some possible implementation manners, the intention includes demand description information and description information of the second network element, and the processing module 802 includes:
第一获取单元,用于从第一数据库中获取属性信息符合描述信息的第二网元的标识,第一数据库包括第二网元的属性信息与第二网元的标识的关联关系;The first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
第二获取单元,用于根据需求描述信息从第二数据库中获取操作需求,第二数据库包括需求描述信息与操作需求的关联关系。The second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
在一些可能的实施方式中,第二网元的描述信息包括第二网元的属性条件信息。In some possible implementation manners, the description information of the second network element includes attribute condition information of the second network element.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
请参阅图9,图9为本申请实施例的第一网元900的模块示意图。第一网元900包括:Please refer to FIG. 9, which is a schematic diagram of a module of a first network element 900 according to an embodiment of the application. The first network element 900 includes:
接收模块901,用于接收意图;The receiving module 901 is used to receive the intent;
处理模块902;用于根据意图获取操作需求和第二网元的标识;Processing module 902; used to obtain operation requirements and the identification of the second network element according to the intention;
获取模块903,用于获取第三网元的标识;The obtaining module 903 is used to obtain the identifier of the third network element;
发送模块904,用于根据第三网元的标识,向第三网元发送操作需求和第二网元的标识,操作需求用于指示根据操作需求对应的操作实现意图。The sending module 904 is configured to send the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate the operation realization intention corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第三网元,由第三网元根据操作需求控制第二网元的业务运行以达成意图。在达成意图的过程中,一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element, and the third network element controls the service operation of the second network element according to the operation requirements to achieve the intent. In the process of achieving the intention, a third network element can control the business operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
在一些可能的实施方式中,意图包括需求描述信息和第二网元的描述信息,处理模块902包括:In some possible implementation manners, the intention includes demand description information and description information of the second network element, and the processing module 902 includes:
第一获取单元,用于从第一数据库中获取属性信息符合描述信息的第二网元的标识,第一数据库包括第二网元的属性信息与第二网元的标识的关联关系;The first obtaining unit is configured to obtain an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes an association relationship between the attribute information of the second network element and the identifier of the second network element;
第二获取单元,用于根据需求描述信息从第二数据库中获取操作需求,第二数据库包括需求描述信息与操作需求的关联关系。The second obtaining unit is configured to obtain the operation requirement from the second database according to the requirement description information, and the second database includes the association relationship between the requirement description information and the operation requirement.
在一些可能的实施方式中,获取模块903包括:In some possible implementation manners, the obtaining module 903 includes:
第三获取单元,用于根据意图获取第三网元的标识;或The third acquiring unit is used to acquire the identity of the third network element according to the intention; or
第四获取单元,用于根据第二网元的标识获取第三网元的标识。The fourth acquiring unit is configured to acquire the identifier of the third network element according to the identifier of the second network element.
在一些可能的实施方式中,第二网元的描述信息包括第二网元的属性条件信息。In some possible implementation manners, the description information of the second network element includes attribute condition information of the second network element.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
请参阅图10,图10为本申请实施例的第二网元1000的模块示意图。第二网元1000包括:Please refer to FIG. 10, which is a schematic diagram of a second network element 1000 according to an embodiment of the application. The second network element 1000 includes:
接收模块1001,用于接收第一网元发送的操作需求,操作需求是第一网元根据接收到的意图得到的;The receiving module 1001 is configured to receive the operation requirement sent by the first network element, and the operation requirement is obtained by the first network element according to the received intention;
执行模块1002,用于根据操作需求对应的操作实现意图。The execution module 1002 is used to realize the intention according to the operation corresponding to the operation requirement.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第二网元,由第二网元分别根据操作需求控制自身的业务运行以达成意图。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the second network element, and the second network element controls its own service operation according to the operation requirements to achieve the intent. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
执行模块1002包括:The execution module 1002 includes:
第一获取单元,用于当识别出操作的类型为第一类型时,获取自身的网络状态;The first obtaining unit is configured to obtain its own network status when it is recognized that the type of operation is the first type;
第一执行单元,用于当网络状态不符合达成准则时,根据自身的网络状态,从一个或多个操作中获取符合执行条件的第一目标操作,并根据第一目标操作调整运行状态,直到自身的网络状态符合达成准则。The first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to its own network state when the network state does not meet the achievement criterion, and adjust the running state according to the first target operation until The state of its own network complies with the reaching criteria.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
执行模块1002包括:The execution module 1002 includes:
第二获取单元,用于当识别出操作的类型为第二类型时,获取自身的网络状态;The second acquiring unit is configured to acquire its own network status when it is recognized that the type of operation is the second type;
第二执行单元,用于当自身的网络状态不符合达成准则时,根据自身的网络状态从一个或多个操作中获取符合执行条件的第二目标操作,并根据第二目标操作调整运行状态;The second execution unit is used to obtain a second target operation that meets the execution conditions from one or more operations according to the own network state when the network state of the own does not meet the achievement criterion, and adjust the running state according to the second target operation;
判断单元,用于获取调整运行状态后的网络状态;和当调整运行状态后的网络状态不符合达成准则时,判断调整运行状态后的网络状态是否符合第二目标操作对应的执行条件;The judging unit is used to obtain the network state after adjusting the operating state; and when the network state after adjusting the operating state does not meet the achievement criterion, judging whether the network state after adjusting the operating state meets the execution conditions corresponding to the second target operation;
第三执行单元,用于当调整运行状态后的网络状态符合第二目标操作对应的执行条件时,根据达成准则和调整运行状态后的网络状态修改第二目标操作,并根据修改后的第二 目标操作调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则;The third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation The target operation adjusts the operating state, and obtains the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
第四执行单元,用于当调整运行状态后的网络状态不符合第二目标操作对应的执行条件时,根据调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则。The fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations The second target operation is to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
在一些可能的实施方式中,操作需求包括奖励公式,在根据达成准则和调整运行状态后的网络状态修改第二目标操作方面,第三执行单元具体用于:In some possible implementation manners, the operation requirement includes a reward formula. In terms of modifying the second target operation according to the achievement criterion and the network state after adjusting the operating state, the third execution unit is specifically used to:
根据达成准则、奖励公式和调整运行状态后的网络状态修改第二目标操作。Modify the second target operation according to the achievement criteria, the reward formula, and the network status after adjusting the operating status.
请参阅图11,图11为本申请实施例的第三网元1100的模块示意图。第三网元1100包括:Please refer to FIG. 11, which is a schematic diagram of a third network element 1100 according to an embodiment of the application. The third network element 1100 includes:
接收模块1101,用于接收第一网元发送的第二网元的标识和操作需求,第二网元的标识和操作需求是第一网元根据接收到的意图得到的;The receiving module 1101 is configured to receive the identification and operation requirements of the second network element sent by the first network element, where the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
执行模块1102,用于根据操作需求对应的操作控制第二网元的业务运行以实现意图。The execution module 1102 is configured to control the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
这样第一网元先集中将意图转译成操作需求,再将操作需求发送给第三网元,由第三网元根据操作需求控制第二网元的业务运行以达成意图。在达成意图的过程中,一个第三网元可根据操作需求控制一个或少数多个第二网元的业务运行。这样在达成意图的过程中,第一网元与第二网元之间不需要进行大量的信令交互,可避免第一网元的负荷过大。而且,意图由第一网元集中转译,也能够节省计算资源。每个第三网元与一个或少数多个第二网元进行信令交互,以达成意图,这样能够避免第三网元的负荷过大。In this way, the first network element first intensively translates the intent into operation requirements, and then sends the operation requirements to the third network element, and the third network element controls the service operation of the second network element according to the operation requirements to achieve the intent. In the process of achieving the intention, a third network element can control the business operation of one or a small number of second network elements according to operational requirements. In this way, in the process of achieving the intention, there is no need to perform a large amount of signaling interaction between the first network element and the second network element, which can avoid the overload of the first network element. Moreover, the centralized translation of the intent by the first network element can also save computing resources. Each third network element performs signaling interaction with one or a small number of second network elements to achieve the intention, which can prevent the third network element from being overloaded.
在一些可能的实施方式中,操作需求包括操作,或操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与第二网元的标识的对应关系、操作的类型信息和执行操作所需满足的执行条件,达成准则为衡量意图达成的达成条件,执行约束为根据操作实现意图时所需满足的约束,奖励公式用于根据第二网元的网络状态调整操作,指令格式用于指示第二网元执行的操作指令的格式。In some possible implementations, the operation requirements include operations, or operations and one or more of the following: reaching criteria, execution constraints, reward formulas, correspondence between instruction formats and the identification of the second network element, operation type information, and The execution condition that needs to be met to perform the operation, the achievement criterion is the condition that measures the achievement of the intent, the execution constraint is the constraint that needs to be met when the intent is realized according to the operation, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format It is used to indicate the format of the operation instruction executed by the second network element.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个执行操作和与每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more execution operations, and execution conditions corresponding to each operation;
执行模块1102包括:The execution module 1102 includes:
第一获取单元,用于当第三网元识别出操作的操作类型为第一类型时,获取第二网元的网络状态;The first obtaining unit is configured to obtain the network status of the second network element when the third network element recognizes that the operation type of the operation is the first type;
第一执行单元,用于当网络状态不符合达成准则时,根据网络状态,从一个或多个操作中获取符合执行条件的第一目标操作,并利用第一目标操作控制第二网元的业务运行,直到第二网元的网络状态符合达成准则。The first execution unit is used to obtain a first target operation that meets the execution conditions from one or more operations according to the network state when the network state does not meet the achievement criterion, and use the first target operation to control the service of the second network element Run until the network status of the second network element meets the reached criteria.
在一些可能的实施方式中,操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;In some possible implementations, the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation;
执行模块1102包括:The execution module 1102 includes:
第二获取单元,用于当第三网元识别出操作的类型为第二类型时,获取第二网元的网络状态;The second acquiring unit is configured to acquire the network status of the second network element when the third network element recognizes that the type of operation is the second type;
第二执行单元,用于当第二网元的网络状态不符合达成准则时,根据第二网元的网络状态从一个或多个操作中获取符合执行条件的第二目标操作,并根据第二目标操作控制第二网元调整运行状态;The second execution unit is configured to obtain a second target operation that meets the execution conditions from one or more operations according to the network state of the second network element when the network status of the second network element does not meet the achievement criterion, and according to the second target operation The target operation controls the second network element to adjust the operating state;
判断单元,用于获取第二网元的调整运行状态后的网络状态;当调整运行状态后的网络状态不符合达成准则时,判断调整运行状态后的网络状态是否符合第二目标操作对应的执行条件;The judging unit is used to obtain the network state of the second network element after the adjusted operating state; when the adjusted operating state of the network does not meet the achievement criterion, determine whether the adjusted operating state of the network meets the corresponding execution of the second target operation condition;
第三执行单元,用于当调整运行状态后的网络状态符合第二目标操作对应的执行条件时,根据达成准则和调整运行状态后的网络状态修改第二目标操作,并根据修改后的第二目标操作控制第二网元调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则;The third execution unit is used to modify the second target operation according to the achievement criterion and the network state after adjusting the operating state when the network state after the adjusted operating state meets the execution conditions corresponding to the second target operation, and according to the modified second target operation The target operation controls the second network element to adjust the operating state and obtain the network state after adjusting the operating state; until the network state after adjusting the operating state meets the reaching criteria;
第四执行单元,用于当调整运行状态后的网络状态不符合第二目标操作对应的执行条件时,根据调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作控制第二网元调整运行状态,并获取调整运行状态后的网络状态;直到调整运行状态后的网络状态符合达成准则。The fourth execution unit is used for when the network state after adjusting the operating state does not meet the execution condition corresponding to the second target operation, according to the network state after adjusting the operating state, re-obtain the first that meets the execution condition from one or more operations The second target operation is to control the second network element to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the reaching criterion.
在一些可能的实施方式中,操作需求还包括奖励公式,根据达成准则和调整运行状态后的网络状态修改第二目标操作方面,第三执行单元具体用于:In some possible implementation manners, the operation requirement also includes a reward formula. In terms of modifying the second target operation according to the achievement criterion and the network state after adjusting the operating state, the third execution unit is specifically used to:
根据达成准则、奖励公式和调整运行状态后的网络状态修改目标操作。Modify the target operation based on the achievement criteria, the reward formula, and the network status after adjusting the operating status.
需要说明的是,上述意图处理方法中各步骤的解释说明及技术效果也适用于本实施例的第三网元,为避免冗余,在此不再赘述。It should be noted that the explanations and technical effects of the steps in the above intention processing method are also applicable to the third network element of this embodiment, and to avoid redundancy, details are not repeated here.
请参见图12,图12是本申请实施例提供的一种设备1200的结构示意图,设备1200至少包括处理器1210、收发器1220以及存储器1230,处理器1210、收发器1220以及存储器1230通过总线1240相互连接,其中,Please refer to FIG. 12, which is a schematic structural diagram of a device 1200 provided by an embodiment of the present application. The device 1200 at least includes a processor 1210, a transceiver 1220, and a memory 1230. The processor 1210, the transceiver 1220, and the memory 1230 pass through a bus 1240. Interconnected, where,
处理器1210可以是中央处理器(central processing unit,CPU),或者CPU和硬件芯片的组合。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 1210 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
收发器1220可以包括一个接收器和一个发送器,例如,无线射频模块,以下描述的处理器1210接收或者发送某个消息,具体可以理解为该处理器1210通过该收发器来接收或者发送。The transceiver 1220 may include a receiver and a transmitter, for example, a radio frequency module. The processor 1210 described below receives or sends a message, which can be specifically understood as the processor 1210 receiving or sending through the transceiver.
存储器1230包括但不限于是随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)或可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或者快闪存储器),该存储器1230用于存储相关指令及数据,并可以将存储的数据传输给处理器1210。The memory 1230 includes, but is not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), or erasable Programmable Read-Only Memory (EPROM), EPROM or flash memory. Flash memory), the memory 1230 is used to store related instructions and data, and can transmit the stored data to the processor 1210.
该设备1200中的处理器1210用于读取存储器1230中的相关指令执行以下操作:The processor 1210 in the device 1200 is configured to read related instructions in the memory 1230 to perform the following operations:
处理器1210控制收发器1220中的接收器接收意图;The processor 1210 controls the receiver in the transceiver 1220 to receive the intention;
处理器1210根据意图获取操作需求和第二网元的标识;The processor 1210 obtains the operation requirement and the identifier of the second network element according to the intention;
处理器1210根据第二网元的标识控制收发器1220向第二网元发送操作需求,操作需求用于指示第二网元根据操作需求对应的操作实现意图;The processor 1210 controls the transceiver 1220 to send an operation requirement to the second network element according to the identifier of the second network element, where the operation requirement is used to instruct the second network element to realize the intention of the operation corresponding to the operation requirement;
或该设备1200中的处理器1210用于读取存储器1230中的相关指令执行以下操作:Or the processor 1210 in the device 1200 is configured to read related instructions in the memory 1230 to perform the following operations:
处理器1210控制收发器1220中的接收器接收意图;The processor 1210 controls the receiver in the transceiver 1220 to receive the intention;
处理器1210根据意图获取操作需求和第二网元的标识;The processor 1210 obtains the operation requirement and the identifier of the second network element according to the intention;
处理器1210获取第三网元的标识;The processor 1210 obtains the identifier of the third network element;
处理器1210控制收发器1200根据第三网元的标识,向第三网元发送操作需求和第二网元的标识,操作需求用于指示根据操作需求对应的操作实现意图。The processor 1210 controls the transceiver 1200 to send the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate the operation realization intention corresponding to the operation requirement.
具体地,上述设备1200执行的各种操作的具体实现可参照上述方法实施例中第一网元的具体操作,在此不再赘述。Specifically, for the specific implementation of the various operations performed by the foregoing device 1200, reference may be made to the specific operations of the first network element in the foregoing method embodiment, which will not be repeated here.
请参见图13,图13是本申请实施例提供的一种设备1300的结构示意图,设备1300至少包括处理器1310、收发器1320以及存储器1330,处理器1310、收发器1320以及存储器1330通过总线1340相互连接,其中,Please refer to FIG. 13, which is a schematic structural diagram of a device 1300 provided by an embodiment of the present application. The device 1300 at least includes a processor 1310, a transceiver 1320, and a memory 1330. The processor 1310, the transceiver 1320, and the memory 1330 pass through a bus 1340. Interconnected, where,
处理器1310可以是中央处理器(central processing unit,CPU),或者CPU和硬件芯片的组合。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 1310 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
收发器1320可以包括一个接收器和一个发送器,例如,无线射频模块,以下描述的处理器1310接收或者发送某个消息,具体可以理解为该处理器1310通过该收发器来接收或者发送。The transceiver 1320 may include a receiver and a transmitter, for example, a radio frequency module. The processor 1310 described below receives or sends a message, which may be specifically understood as the processor 1310 receiving or sending through the transceiver.
存储器1330包括但不限于是随机存取存储器(random sccessmemory,RAM)、只读存储器(read-only memory,ROM)或可擦除可编程只读存储器(erasable programmable read-only memory,EPROM或者快闪存储器),该存储器1330用于存储相关指令及数据,并可以将存储的数据传输给处理器1310。The memory 1330 includes, but is not limited to, random access memory (random sccess memory, RAM), read-only memory (read-only memory, ROM), or erasable programmable read-only memory (erasable programmable read-only memory, EPROM, or flash memory) Memory). The memory 1330 is used to store related instructions and data, and can transmit the stored data to the processor 1310.
该设备1300中的处理器1310用于读取存储器1330中的相关指令执行以下操作:The processor 1310 in the device 1300 is configured to read related instructions in the memory 1330 to perform the following operations:
处理器1310控制收发器1320中的接收第一网元发送的操作需求,操作需求是第一网元根据接收到的意图得到的;The processor 1310 controls the transceiver 1320 to receive the operation requirement sent by the first network element, and the operation requirement is obtained by the first network element according to the received intention;
处理器1310根据操作需求对应的操作实现意图。The processor 1310 realizes the intention according to the operation corresponding to the operation requirement.
具体地,上述设备1300执行的各种操作的具体实现可参照上述方法实施例中第二网元的具体操作,在此不再赘述。Specifically, for the specific implementation of the various operations performed by the foregoing device 1300, reference may be made to the specific operations of the second network element in the foregoing method embodiment, which will not be repeated here.
请参见图14,图14是本申请实施例提供的一种设备1400的结构示意图,设备1400至少包括处理器1410、收发器1420以及存储器1430,处理器1410、收发器1420以及存储器1430通过总线1440相互连接,其中,Please refer to FIG. 14, which is a schematic structural diagram of a device 1400 provided by an embodiment of the present application. The device 1400 at least includes a processor 1410, a transceiver 1420, and a memory 1430. The processor 1410, the transceiver 1420, and the memory 1430 pass through a bus 1440. Interconnected, where,
处理器1410可以是中央处理器(central processing unit,CPU),或者CPU和硬件芯片的组合。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编 程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 1410 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
收发器1420可以包括一个接收器和一个发送器,例如,无线射频模块,以下描述的处理器1410接收或者发送某个消息,具体可以理解为该处理器1410通过该收发器来接收或者发送。The transceiver 1420 may include a receiver and a transmitter, for example, a radio frequency module. The processor 1410 described below receives or sends a message, which can be specifically understood as the processor 1410 receiving or sending through the transceiver.
存储器1430包括但不限于是随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)或可擦除可编程只读存储器(erasable programmable read-only memory,EPROM或者快闪存储器),该存储器1430用于存储相关指令及数据,并可以将存储的数据传输给处理器1410。The memory 1430 includes, but is not limited to, random access memory (RAM), read-only memory (ROM) or erasable programmable read-only memory (erasable programmable read-only memory, EPROM or flash memory). Flash memory), the memory 1430 is used to store related instructions and data, and can transmit the stored data to the processor 1410.
该设备1400中的处理器1410用于读取存储器1430中的相关指令执行以下操作:The processor 1410 in the device 1400 is configured to read related instructions in the memory 1430 to perform the following operations:
处理器1410通过收发器1420中的接收器接收第一网元发送的第二网元的标识和操作需求,第二网元的标识和操作需求是第一网元根据接收到的意图得到的;The processor 1410 receives the identification and operation requirements of the second network element sent by the first network element through the receiver in the transceiver 1420, where the identification and operation requirements of the second network element are obtained by the first network element according to the received intention;
处理器1410根据操作需求对应的操作控制第二网元的业务运行以实现意图。The processor 1410 controls the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
具体地,上述设备1400执行的各种操作的具体实现可参照上述方法实施例中第三网元的具体操作,在此不再赘述。Specifically, for the specific implementation of the various operations performed by the foregoing device 1400, reference may be made to the specific operations of the third network element in the foregoing method embodiment, which will not be repeated here.
本申请提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,该计算机指令指示该服务器执行上述任一实施方式提供的意图处理方法。The present application provides a computer-readable storage medium in which computer instructions are stored, and the computer instructions instruct the server to execute the intention processing method provided by any of the foregoing embodiments.
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application secificintegrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of this application may be a central processing unit (central processing unit, CPU), or other general-purpose processors, digital signal processors (digital signal processors, DSP), and application-specific integrated circuits ( application secific integrated circuit (ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), and synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (direct rambus RAM, DR RAM).
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) is integrated in the processor.
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
还应理解,本文中涉及的第一、第二、第三、第四以及各种数字编号仅为描述方便进 行的区分,并不用来限制本申请的范围。It should also be understood that the first, second, third, fourth, and various numerical numbers involved in this specification are only for easy distinction for description, and are not used to limit the scope of the present application.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this text is only an association relationship describing the associated objects, which means that there can be three kinds of relationships, for example, A and/or B, which can mean that A alone exists, and A and B exist at the same time. , There are three cases of B alone. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method in the embodiment of the present application can be adjusted, merged, and deleted in order according to actual needs.
本申请实施例装置中的模块可以根据实际需要进行合并、划分和删减。The modules in the device of the embodiment of the present application may be combined, divided, and deleted according to actual needs.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions recorded in the embodiments are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims (32)

  1. 一种意图处理方法,其特征在于,包括:An intention processing method, characterized in that it comprises:
    第一网元接收意图;The first network element receives the intention;
    所述第一网元根据所述意图获取操作需求和第二网元的标识;Acquiring, by the first network element, the operation requirement and the identifier of the second network element according to the intention;
    所述第一网元根据所述第二网元的标识向所述第二网元发送所述操作需求,所述操作需求用于指示所述第二网元根据所述操作需求对应的操作实现所述意图。The first network element sends the operation requirement to the second network element according to the identifier of the second network element, where the operation requirement is used to instruct the second network element to implement the operation corresponding to the operation requirement The intention.
  2. 根据权利要求1所述的意图处理方法,其特征在于,所述意图包括需求描述信息和所述第二网元的描述信息,所述第一网元根据所述意图获取操作需求和第二网元的标识,包括:The intent processing method according to claim 1, wherein the intent includes demand description information and description information of the second network element, and the first network element obtains the operation demand and the second network element according to the intent. The identity of the yuan, including:
    所述第一网元从第一数据库中获取属性信息符合所述描述信息的第二网元的标识,所述第一数据库包括所述第二网元的属性信息与所述第二网元的标识的关联关系;The first network element obtains an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes the attribute information of the second network element and the information of the second network element. Identify the association relationship;
    所述第一网元根据所述需求描述信息从第二数据库中获取所述操作需求,所述第二数据库包括所述需求描述信息与所述操作需求的关联关系。The first network element obtains the operation requirement from a second database according to the requirement description information, and the second database includes an association relationship between the requirement description information and the operation requirement.
  3. 根据权利要求1或2所述的意图处理方法,其特征在于,所述操作需求包括所述操作,或所述操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与所述第二网元的标识的对应关系,所述操作的类型信息和执行所述操作所需满足的执行条件,所述达成准则为衡量意图达成的达成条件,所述执行约束为根据所述操作实现所述意图时所需满足的约束,所述奖励公式用于根据所述第二网元的网络状态调整所述操作,所述指令格式用于指示所述第二网元执行的操作指令的格式。The intention processing method according to claim 1 or 2, wherein the operation requirement includes the operation, or the operation and one or more of the following: reaching criteria, execution constraints, reward formulas, instruction formats, and The corresponding relationship between the identifier of the second network element, the type information of the operation and the execution condition that needs to be met to execute the operation, the achievement criterion is an achievement condition for measuring the intent, and the execution constraint is based on the The operation is a constraint that needs to be met when the intention is realized, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format is used to instruct the operation instruction executed by the second network element Format.
  4. 一种意图处理方法,其特征在于,包括:An intention processing method, characterized in that it comprises:
    第一网元接收意图;The first network element receives the intention;
    所述第一网元根据所述意图获取操作需求和第二网元的标识;Acquiring, by the first network element, the operation requirement and the identifier of the second network element according to the intention;
    所述第一网元获取第三网元的标识;Obtaining the identifier of the third network element by the first network element;
    所述第一网元根据所述第三网元的标识,向所述第三网元发送所述操作需求和所述第二网元的标识,所述操作需求用于指示根据所述操作需求对应的操作实现所述意图。The first network element sends the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate according to the operation requirement The corresponding operation achieves the stated intention.
  5. 根据权利要求4所述的意图处理方法,其特征在于,所述第一网元获取第三网元的标识包括:The intent processing method according to claim 4, wherein the first network element acquiring the identifier of the third network element comprises:
    所述第一网元根据所述意图获取第三网元的标识;或The first network element obtains the identifier of the third network element according to the intention; or
    所述第一网元根据所述第二网元的标识获取第三网元的标识。The first network element obtains the identifier of the third network element according to the identifier of the second network element.
  6. 根据权利要求4或5所述的意图处理方法,其特征在于,所述意图包括需求描述信息和第二网元的描述信息,所述第一网元根据所述意图获取操作需求和第二网元的标识,包括:The intent processing method according to claim 4 or 5, wherein the intent includes demand description information and description information of a second network element, and the first network element obtains the operation demand and the second network element according to the intent. The identity of the yuan, including:
    所述第一网元从第一数据库中获取属性信息符合所述描述信息的第二网元的标识,所述第一数据库包括所述第二网元的属性信息与所述第二网元的标识的关联关系;The first network element obtains an identifier of a second network element whose attribute information matches the description information from a first database, and the first database includes the attribute information of the second network element and the information of the second network element. Identify the association relationship;
    所述第一网元根据所述需求描述信息从第二数据库中获取所述操作需求,所述第二数据库包括所述需求描述信息与所述操作需求的关联关系。The first network element obtains the operation requirement from a second database according to the requirement description information, and the second database includes an association relationship between the requirement description information and the operation requirement.
  7. 根据权利要求4-6任一项所述的意图处理方法,其特征在于,所述操作需求包括所 述操作,或所述操作和以下一项或多项:达成准则、执行约束、奖励公式、所述操作的类型信息和执行所述操作所需满足的执行条件、指令格式与所述第二网元的标识的对应关系,所述达成准则为衡量意图达成的达成条件,所述执行约束为根据所述操作实现所述意图时所需满足的约束,所述奖励公式用于根据所述第二网元的网络状态调整所述操作,所述指令格式用于指示所述第二网元执行的操作指令的格式。The intention processing method according to any one of claims 4-6, wherein the operation requirement includes the operation, or the operation and one or more of the following: reaching criteria, execution constraints, reward formulas, The type information of the operation, the execution condition that needs to be met to execute the operation, the instruction format, and the corresponding relationship between the identifier of the second network element, the achievement criterion is an achievement condition for measuring intent achievement, and the execution constraint is The reward formula is used to adjust the operation according to the network status of the second network element, and the instruction format is used to instruct the second network element to perform The format of the operation instruction.
  8. 一种意图处理方法,其特征在于,包括:An intention processing method, characterized in that it comprises:
    第二网元接收第一网元发送的操作需求,所述操作需求是所述第一网元根据接收到的意图得到的;The second network element receives the operation requirement sent by the first network element, where the operation requirement is obtained by the first network element according to the received intention;
    所述第二网元根据所述操作需求对应的操作实现所述意图。The second network element realizes the intention according to an operation corresponding to the operation requirement.
  9. 根据权利要求8所述的意图处理方法,其特征在于,所述操作需求包括所述操作,或所述操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与所述第二网元的标识的对应关系、所述操作的类型信息和执行所述操作所需满足的执行条件,所述达成准则为衡量意图达成的达成条件,所述执行约束为根据所述操作实现所述意图时所需满足的约束,所述奖励公式用于根据所述第二网元的网络状态调整所述操作,所述指令格式用于指示所述第二网元执行的操作指令的格式。The intent processing method according to claim 8, wherein the operation requirement includes the operation, or the operation and one or more of the following: reaching criterion, execution constraint, reward formula, instruction format and the The corresponding relationship of the identifier of the second network element, the type information of the operation, and the execution condition that needs to be met to execute the operation, the achievement criterion is the achievement condition for measuring the intention achievement, and the execution constraint is the realization according to the operation The constraints that need to be met during the intention, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format is used to indicate the format of the operation instruction executed by the second network element .
  10. 根据权利要求8或9所述的意图处理方法,其特征在于,所述操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;The intent processing method according to claim 8 or 9, wherein the operation requirement includes an achievement criterion, one or more operations, and execution conditions corresponding to each operation;
    所述第二网元根据所述操作需求对应的操作实现所述意图包括:The realization of the intention by the second network element according to the operation corresponding to the operation requirement includes:
    当所述第二网元识别出所述操作的类型为第一类型时,所述第二网元获取自身的网络状态;When the second network element recognizes that the type of the operation is the first type, the second network element obtains its own network status;
    当所述网络状态不符合所述达成准则时,所述第二网元根据所述网络状态,从所述一个或多个操作中获取符合所述执行条件的第一目标操作,并根据所述第一目标操作调整运行状态,直到所述网络状态符合所述达成准则。When the network status does not conform to the achievement criterion, the second network element obtains the first target operation that meets the execution condition from the one or more operations according to the network status, and according to the The first target operation adjusts the running state until the network state meets the achievement criterion.
  11. 根据权利要求8-10任一项所述的意图处理方法,其特征在于,所述操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;The intent processing method according to any one of claims 8-10, wherein the operation requirement includes an achievement criterion, one or more operations, and execution conditions corresponding to each operation;
    所述第二网元根据所述操作需求对应的操作实现所述意图包括:The realization of the intention by the second network element according to the operation corresponding to the operation requirement includes:
    当所述第二网元识别出所述操作的类型为第二类型时,所述第二网元获取自身的网络状态;When the second network element recognizes that the type of the operation is the second type, the second network element obtains its own network status;
    当所述自身的网络状态不符合所述达成准则时,第二网元根据所述自身的网络状态从一个或多个操作中获取符合所述执行条件的第二目标操作,并根据所述第二目标操作调整运行状态;When the own network status does not meet the achievement criterion, the second network element obtains a second target operation that meets the execution condition from one or more operations according to the own network status, and according to the first 2. Adjust the operating status of the target operation;
    所述第二网元获取调整运行状态后的网络状态;当所述调整运行状态后的网络状态不符合所述达成准则时,所述第二网元判断所述调整运行状态后的网络状态是否符合所述第二目标操作对应的执行条件;The second network element obtains the network state after the adjusted operating state; when the network state after the adjusted operating state does not meet the achievement criterion, the second network element determines whether the network state after the adjusted operating state is Meet the execution conditions corresponding to the second target operation;
    当所述调整运行状态后的网络状态符合所述第二目标操作对应的执行条件时,所述第二网元根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作,根据修改后的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则;When the network state after the adjusted operating state meets the execution condition corresponding to the second target operation, the second network element modifies the second target according to the achievement criterion and the network state after the adjusted operating state Operation, adjust the operating state according to the modified second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the achievement criterion;
    当所述调整运行状态后的网络状态不符合所述第二目标操作对应的执行条件时,所述第二网元根据所述调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则。When the network state after the adjusted operating state does not meet the execution conditions corresponding to the second target operation, the second network element retrieves from one or more operations according to the network state after the adjusted operating state For the second target operation that meets the execution condition, the operating state is adjusted according to the re-acquired second target operation, and the network state after the adjusted operating state is obtained; until the network state after the adjusted operating state meets the achievement criterion.
  12. 根据权利要求11所述的意图处理方法,其特征在于,所述操作需求还包括奖励公式,所述第二网元根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作,包括:The intent processing method according to claim 11, wherein the operation requirement further includes a reward formula, and the second network element modifies the second network element according to the achievement criterion and the network state after adjusting the operating state. Target operations, including:
    所述第二网元根据所述达成准则、所述奖励公式和所述调整运行状态后的网络状态修改所述第二目标操作。The second network element modifies the second target operation according to the achievement criterion, the reward formula, and the network state after adjusting the operating state.
  13. 一种意图处理方法,其特征在于,包括:An intention processing method, characterized in that it comprises:
    第三网元接收第一网元发送的第二网元的标识和操作需求,所述第二网元的标识和所述操作需求是所述第一网元根据接收到的意图得到的;The third network element receives the identifier and operation requirement of the second network element sent by the first network element, where the identifier and the operation requirement of the second network element are obtained by the first network element according to the received intention;
    所述第三网元根据所述操作需求对应的操作控制所述第二网元的业务运行以实现所述意图。The third network element controls the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
  14. 根据权利要求13所述的意图处理方法,其特征在于,所述操作需求包括所述操作,或所述操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与所述第二网元的标识的对应关系、所述操作的类型信息和执行所述操作所需满足的执行条件,所述达成准则为衡量意图达成的达成条件,所述执行约束为根据所述操作实现所述意图时所需满足的约束,所述奖励公式用于根据所述第二网元的网络状态调整所述操作,所述指令格式用于指示所述第二网元执行的操作指令的格式。The intent processing method according to claim 13, wherein the operation requirement includes the operation, or the operation and one or more of the following: reaching criteria, execution constraints, reward formulas, instruction formats, and the following: The corresponding relationship of the identifier of the second network element, the type information of the operation, and the execution condition that needs to be met to execute the operation, the achievement criterion is the achievement condition for measuring the intention achievement, and the execution constraint is the realization according to the operation The constraints that need to be met during the intention, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format is used to indicate the format of the operation instruction executed by the second network element .
  15. 根据权利要求13或14所述的意图处理方法,其特征在于,所述操作需求包括所述达成准则、一个或多个执行操作和与每个操作对应的执行条件;The intention processing method according to claim 13 or 14, wherein the operation requirement includes the achievement criterion, one or more execution operations, and execution conditions corresponding to each operation;
    所述第三网元根据所述操作需求对应的操作控制所述第二网元的业务运行以实现所述意图包括:The third network element controlling the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention includes:
    当所述第三网元识别出所述操作的操作类型为第一类型时,所述第三网元获取所述第二网元的网络状态;When the third network element recognizes that the operation type of the operation is the first type, the third network element obtains the network status of the second network element;
    当所述网络状态不符合所述达成准则时,所述第三网元根据所述网络状态,从所述一个或多个操作中获取符合所述执行条件的第一目标操作,并利用所述第一目标操作控制所述第二网元的业务运行,直到所述网络状态符合所述达成准则。When the network status does not meet the achievement criterion, the third network element obtains the first target operation that meets the execution condition from the one or more operations according to the network status, and uses the The first target operation controls the service operation of the second network element until the network state meets the achievement criterion.
  16. 根据权利要求13-15任一项所述的意图处理方法,其特征在于,所述操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;所述第三网元根据所述操作需求对应的操作控制所述第二网元的业务运行以实现所述意图包括:The intent processing method according to any one of claims 13-15, wherein the operation requirements include fulfillment criteria, one or more operations, and execution conditions corresponding to each operation; the third network element is based on the The operation corresponding to the operation requirement to control the service operation of the second network element to realize the intention includes:
    当所述第三网元识别出所述操作的类型为第二类型时,所述第三网元获取所述第二网元的网络状态;When the third network element recognizes that the type of the operation is the second type, the third network element obtains the network status of the second network element;
    当所述第二网元的网络状态不符合所述达成准则时,所述第三网元根据所述第二网元的网络状态从一个或多个操作中获取符合所述执行条件的第二目标操作,并根据所述第二目标操作控制所述第二网元调整运行状态;When the network status of the second network element does not meet the achievement criterion, the third network element obtains the second network element that meets the execution condition from one or more operations according to the network status of the second network element. Target operation, and control the second network element to adjust the operating state according to the second target operation;
    所述第三网元获取所述第二网元的调整运行状态后的网络状态;当所述调整运行状态 后的网络状态不符合所述达成准则时,所述第二网元判断所述调整运行状态后的网络状态是否符合所述第二目标操作对应的执行条件;The third network element obtains the network state after the adjusted operation state of the second network element; when the network state after the adjusted operation state does not meet the achievement criterion, the second network element determines that the adjustment Whether the network state after the running state meets the execution condition corresponding to the second target operation;
    当所述调整运行状态后的网络状态符合所述第二目标操作对应的执行条件时,所述第三网元根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作,并根据修改后的第二目标操作控制所述第二网元调整运行状态,并获取调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则;When the network state after the adjusted operating state meets the execution condition corresponding to the second target operation, the third network element modifies the second target according to the achievement criterion and the network state after the adjusted operating state Operate, and control the second network element to adjust the operating state according to the modified second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the achievement criterion;
    当所述调整运行状态后的网络状态不符合所述第二目标操作对应的执行条件时,所述第三网元根据所述调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作控制第二网元调整运行状态,并获取所述调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则。When the network state after the adjusted operating state does not meet the execution conditions corresponding to the second target operation, the third network element retrieves from one or more operations according to the network state after the adjusted operating state For the second target operation that meets the execution conditions, control the second network element to adjust the operating status according to the re-acquired second target operation, and obtain the network status after the adjusted operating status; until the network status after the adjusted operating status meets all requirements Stated to reach the criteria.
  17. 根据权利要求16所述的意图处理方法,其特征在于,所述操作需求还包括奖励公式,所述第三网元根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作,包括:The intent processing method according to claim 16, wherein the operation requirement further includes a reward formula, and the third network element modifies the second network element according to the achievement criterion and the network state after adjusting the operating state. Target operations, including:
    所述第三网元根据所述达成准则、所述奖励公式和所述调整运行状态后的网络状态修改所述目标操作。The third network element modifies the target operation according to the achievement criterion, the reward formula, and the network state after adjusting the operating state.
  18. 一种第一网元,其特征在于,包括:A first network element, characterized in that it comprises:
    接收模块,用于接收意图;Receiving module, used to receive intent;
    处理模块,用于根据所述意图获取操作需求和第二网元的标识;A processing module, configured to obtain the operation requirement and the identifier of the second network element according to the intention;
    发送模块,用于根据所述第二网元的标识向所述第二网元发送所述操作需求,所述操作需求用于指示所述第二网元根据所述操作需求对应的操作实现所述意图。The sending module is configured to send the operation requirement to the second network element according to the identifier of the second network element, and the operation requirement is used to instruct the second network element to implement the operation according to the operation corresponding to the operation requirement. Narrative intent.
  19. 根据权利要求18所述的第一网元,其特征在于,所述意图包括需求描述信息和所述第二网元的描述信息,所述处理模块包括:The first network element according to claim 18, wherein the intention includes demand description information and description information of the second network element, and the processing module includes:
    第一获取单元,用于从第一数据库中获取属性信息符合所述描述信息的第二网元的标识,所述第一数据库包括所述第二网元的属性信息与所述第二网元的标识的关联关系;The first obtaining unit is configured to obtain an identifier of a second network element whose attribute information conforms to the description information from a first database, the first database including the attribute information of the second network element and the second network element The association relationship of the logo;
    第二获取单元,用于根据所述需求描述信息从第二数据库中获取所述操作需求,所述第二数据库包括所述需求描述信息与所述操作需求的关联关系。The second obtaining unit is configured to obtain the operation requirement from a second database according to the requirement description information, and the second database includes an association relationship between the requirement description information and the operation requirement.
  20. 根据权利要求18或19所述的第一网元,其特征在于,所述操作需求包括所述操作,或所述操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与所述第二网元的标识的对应关系、所述操作的类型信息和执行所述操作所需满足的执行条件,所述达成准则为衡量意图达成的达成条件,所述执行约束为根据所述操作实现所述意图时所需满足的约束,所述奖励公式用于根据所述第二网元的网络状态调整所述操作,所述指令格式用于指示所述第二网元执行的操作指令的格式。The first network element according to claim 18 or 19, wherein the operation requirement includes the operation, or the operation and one or more of the following: achievement criterion, execution constraint, reward formula, instruction format The corresponding relationship with the identifier of the second network element, the type information of the operation, and the execution condition that needs to be met to execute the operation, the achievement criterion is the achievement condition for measuring the intent, and the execution constraint is based on the The operation achieves the constraints that need to be satisfied when the intention is achieved, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format is used to instruct the operation performed by the second network element The format of the instruction.
  21. 一种第一网元,其特征在于,包括:A first network element, characterized in that it comprises:
    接收模块,用于接收意图;Receiving module, used to receive intent;
    意图处理模块;用于根据所述意图获取操作需求和第二网元的标识;Intention processing module; used to obtain operation requirements and the identification of the second network element according to the intent;
    获取模块,用于获取第三网元的标识;The obtaining module is used to obtain the identifier of the third network element;
    发送模块,用于根据所述第三网元的标识,向所述第三网元发送所述操作需求和所述第二网元的标识,所述操作需求用于指示根据所述操作需求对应的操作实现所述意图。The sending module is configured to send the operation requirement and the identifier of the second network element to the third network element according to the identifier of the third network element, and the operation requirement is used to indicate that the operation requirement corresponds to The operation achieves the stated intention.
  22. 根据权利要求21所述的第一网元,其特征在于,所述意图包括需求描述信息和第二网元的描述信息,所述处理模块包括:The first network element according to claim 21, wherein the intention includes demand description information and description information of the second network element, and the processing module includes:
    第一获取单元,用于从第一数据库中获取属性信息符合所述描述信息的第二网元的标识,所述第一数据库包括所述第二网元的属性信息与所述第二网元的标识的关联关系;The first obtaining unit is configured to obtain an identifier of a second network element whose attribute information conforms to the description information from a first database, the first database including the attribute information of the second network element and the second network element The association relationship of the logo;
    第二获取单元,用于根据所述需求描述信息从第二数据库中获取所述操作需求,所述第二数据库包括所述需求描述信息与所述操作需求的关联关系。The second obtaining unit is configured to obtain the operation requirement from a second database according to the requirement description information, and the second database includes an association relationship between the requirement description information and the operation requirement.
  23. 根据权利要求21或22所述的第一网元,其特征在于,所述操作需求包括所述操作,或所述操作和以下一项或多项:达成准则、执行约束、奖励公式、指令格式与所述第二网元的标识的对应关系、所述操作的类型信息和执行所述操作所需满足的执行条件,所述达成准则为衡量意图达成的达成条件,所述执行约束为根据所述操作实现所述意图时所需满足的约束,所述奖励公式用于根据所述第二网元的网络状态调整所述操作,所述指令格式用于指示所述第二网元执行的操作指令的格式。The first network element according to claim 21 or 22, wherein the operation requirement includes the operation, or the operation and one or more of the following: reaching criterion, execution constraint, reward formula, instruction format The corresponding relationship with the identifier of the second network element, the type information of the operation, and the execution condition that needs to be met to execute the operation, the achievement criterion is the achievement condition for measuring the intent, and the execution constraint is based on the The operation achieves the constraints that need to be satisfied when the intention is achieved, the reward formula is used to adjust the operation according to the network state of the second network element, and the instruction format is used to instruct the operation performed by the second network element The format of the instruction.
  24. 一种第二网元,其特征在于,包括:A second network element, characterized in that it comprises:
    接收模块,用于接收第一网元发送的操作需求,所述操作需求是所述第一网元根据接收到的意图得到的;A receiving module, configured to receive an operation requirement sent by a first network element, where the operation requirement is obtained by the first network element according to the received intention;
    执行模块,用于根据所述操作需求对应的操作实现所述意图。The execution module is used to implement the intention according to the operation corresponding to the operation requirement.
  25. 根据权利要求24所述的第二网元,其特征在于,所述操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;The second network element according to claim 24, wherein the operation requirement includes an achievement criterion, one or more operations, and execution conditions corresponding to each operation;
    所述执行模块包括:The execution module includes:
    第一获取单元,用于当识别出所述操作的类型为第一类型时,获取自身的网络状态;The first obtaining unit is configured to obtain its own network state when it is recognized that the type of the operation is the first type;
    第一执行单元,用于当所述网络状态不符合所述达成准则时,根据所述自身的网络状态,从所述一个或多个操作中获取符合所述执行条件的第一目标操作,并根据所述第一目标操作调整运行状态,直到所述自身的网络状态符合所述达成准则。The first execution unit is configured to obtain a first target operation that meets the execution condition from the one or more operations according to the own network state when the network state does not meet the achievement criterion, and The operating state is adjusted according to the first target operation until the own network state meets the achievement criterion.
  26. 根据权利要求24或25所述的第二网元,其特征在于,所述操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;The second network element according to claim 24 or 25, wherein the operation requirement includes an achievement criterion, one or more operations, and execution conditions corresponding to each operation;
    所述执行模块包括:The execution module includes:
    第二获取单元,用于当识别出所述操作的类型为第二类型时,获取自身的网络状态;The second acquiring unit is configured to acquire its own network status when it is recognized that the type of the operation is the second type;
    第二执行单元,用于当所述自身的网络状态不符合所述达成准则时,根据所述自身的网络状态从一个或多个操作中获取符合所述执行条件的第二目标操作,并根据所述第二目标操作调整运行状态;The second execution unit is configured to obtain a second target operation that meets the execution conditions from one or more operations according to the own network status when the own network status does not meet the achievement criterion, and according to The second target operation adjusts the running state;
    判断单元,用于获取调整运行状态后的网络状态;和当所述调整运行状态后的网络状态不符合所述达成准则时,判断所述调整运行状态后的网络状态是否符合所述第二目标操作对应的执行条件;A judging unit, configured to obtain the network state after adjusting the operating state; and when the network state after adjusting the operating state does not meet the achievement criterion, judging whether the network state after adjusting the operating state meets the second target The execution conditions corresponding to the operation;
    第三执行单元,用于当所述调整运行状态后的网络状态符合所述第二目标操作对应的执行条件时,根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作,并根据修改后的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则;The third execution unit is configured to modify the second network state according to the achievement criterion and the network state after the adjusted operation state when the network state after the adjusted operation state meets the execution condition corresponding to the second target operation Target operation, and adjust the operating state according to the modified second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the achievement criterion;
    第四执行单元,用于当所述调整运行状态后的网络状态不符合所述第二目标操作对应 的执行条件时,根据所述调整运行状态后的网络状态,从一个或多个操作中重新获取符合执行条件的第二目标操作,根据重新获取的第二目标操作调整运行状态,并获取调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则。The fourth execution unit is configured to: when the network state after the adjusted operating state does not meet the execution conditions corresponding to the second target operation, restart from one or more operations according to the network state after the adjusted operating state Obtain the second target operation that meets the execution condition, adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets the achievement criterion.
  27. 根据权利要求26所述的第二网元,其特征在于,所述操作需求包括奖励公式,在所述根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作方面,所述第三执行单元具体用于:The second network element according to claim 26, wherein the operation requirement includes a reward formula, in the aspect of modifying the second target operation according to the achievement criterion and the network state after adjusting the operating state , The third execution unit is specifically configured to:
    根据所述达成准则、所述奖励公式和所述调整运行状态后的网络状态修改所述第二目标操作。Modify the second target operation according to the achievement criterion, the reward formula, and the network state after adjusting the operating state.
  28. 一种第三网元,其特征在于,包括:A third network element, characterized in that it includes:
    接收模块,用于接收第一网元发送的第二网元的标识和操作需求,所述第二网元的标识和所述操作需求是所述第一网元根据接收到的意图得到的;A receiving module, configured to receive an identifier and an operation requirement of a second network element sent by a first network element, where the identifier and the operation requirement of the second network element are obtained by the first network element according to the received intention;
    执行模块,用于根据所述操作需求对应的操作控制所述第二网元的业务运行以实现所述意图。The execution module is configured to control the service operation of the second network element according to the operation corresponding to the operation requirement to realize the intention.
  29. 根据权利要求28所述的第三网元,其特征在于,所述操作需求包括所述达成准则、一个或多个执行操作和与每个操作对应的执行条件;The third network element according to claim 28, wherein the operation requirement includes the achievement criterion, one or more execution operations, and execution conditions corresponding to each operation;
    所述执行模块包括:The execution module includes:
    第一获取单元,用于当所述第三网元识别出所述操作的操作类型为第一类型时,获取所述第二网元的网络状态;The first obtaining unit is configured to obtain the network status of the second network element when the third network element recognizes that the operation type of the operation is the first type;
    第一执行单元,用于当所述网络状态不符合所述达成准则时,根据所述网络状态,从所述一个或多个操作中获取符合所述执行条件的第一目标操作,并利用所述第一目标操作控制所述第二网元的业务运行,直到所述第二网元的网络状态符合所述达成准则。The first execution unit is configured to, when the network state does not meet the achievement criterion, obtain a first target operation that meets the execution condition from the one or more operations according to the network state, and use all The first target operation controls the service operation of the second network element until the network state of the second network element meets the achievement criterion.
  30. 根据权利要求28或29所述的第三网元,其特征在于,所述操作需求包括达成准则、一个或多个操作和每个操作对应的执行条件;The third network element according to claim 28 or 29, wherein the operation requirement includes an achievement criterion, one or more operations, and execution conditions corresponding to each operation;
    所述执行模块包括:The execution module includes:
    第二获取单元,用于当所述第三网元识别出所述操作的类型为第二类型时,获取所述第二网元的网络状态;The second acquiring unit is configured to acquire the network status of the second network element when the third network element recognizes that the type of the operation is the second type;
    第二执行单元,用于当所述第二网元的网络状态不符合所述达成准则时,根据所述第二网元的网络状态从一个或多个操作中获取符合所述执行条件的第二目标操作,并根据所述第二目标操作控制所述第二网元调整运行状态;The second execution unit is configured to, when the network status of the second network element does not meet the achievement criterion, obtain the first that meets the execution condition from one or more operations according to the network status of the second network element Two target operations, and controlling the second network element to adjust the operating state according to the second target operations;
    判断单元,用于获取所述第二网元的调整运行状态后的网络状态;当所述调整运行状态后的网络状态不符合所述达成准则时,判断所述调整运行状态后的网络状态是否符合所述第二目标操作对应的执行条件;The judging unit is configured to obtain the network state after the adjusted operation state of the second network element; when the network state after the adjusted operation state does not meet the achievement criterion, determine whether the network state after the adjusted operation state Meet the execution conditions corresponding to the second target operation;
    第三执行单元,用于当所述调整运行状态后的网络状态符合所述第二目标操作对应的执行条件时,根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作,并根据修改后的第二目标操作控制所述第二网元调整运行状态,并获取调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则;The third execution unit is configured to modify the second network state according to the achievement criterion and the network state after the adjusted operation state when the network state after the adjusted operation state meets the execution condition corresponding to the second target operation Target operation, and control the second network element to adjust the operating status according to the modified second target operation, and obtain the network status after the adjusted operating status; until the network status after the adjusted operating status meets the achievement criterion;
    第四执行单元,用于当所述调整运行状态后的网络状态不符合所述第二目标操作对应的执行条件时,根据所述调整运行状态后的网络状态,从一个或多个操作中重新获取符合 执行条件的第二目标操作,根据重新获取的第二目标操作控制第二网元调整运行状态,并获取所述调整运行状态后的网络状态;直到所述调整运行状态后的网络状态符合所述达成准则。The fourth execution unit is configured to: when the network state after the adjusted operating state does not meet the execution conditions corresponding to the second target operation, restart from one or more operations according to the network state after the adjusted operating state Obtain the second target operation that meets the execution conditions, control the second network element to adjust the operating state according to the re-acquired second target operation, and obtain the network state after the adjusted operating state; until the network state after the adjusted operating state meets Said reaching criteria.
  31. 根据权利要求30所述的第三网元,其特征在于,所述操作需求还包括奖励公式,所述根据所述达成准则和所述调整运行状态后的网络状态修改所述第二目标操作方面,所述第三执行单元具体用于:The third network element according to claim 30, wherein the operation requirement further includes a reward formula, and the second target operation aspect is modified according to the achievement criterion and the network state after adjusting the operating state , The third execution unit is specifically configured to:
    根据所述达成准则、所述奖励公式和所述调整运行状态后的网络状态修改所述目标操作。Modify the target operation according to the achievement criterion, the reward formula, and the network state after adjusting the operating state.
  32. 一种设备,其特征在于,所述设备包括处理器和存储器,所述存储器存储计算机指令;所述处理器执行所述存储器存储的计算机指令,使得所述设备执行权利要求1-3任一项所述的意图处理方法,或权利要求4-7任一项所述的意图处理方法、或权利要求8-12任一项所述的意图处理方法、或权利要求13-17任一项所述的意图处理方法。A device, characterized in that the device includes a processor and a memory, and the memory stores computer instructions; the processor executes the computer instructions stored in the memory, so that the device executes any one of claims 1-3 The intention processing method, or the intention processing method according to any one of claims 4-7, or the intention processing method according to any one of claims 8-12, or the intention processing method according to any one of claims 13-17 The intent processing method.
PCT/CN2020/132468 2019-11-28 2020-11-27 Intention processing method and related device WO2021104501A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911195345.6A CN112865998B (en) 2019-11-28 2019-11-28 Intention processing method and related device
CN201911195345.6 2019-11-28

Publications (1)

Publication Number Publication Date
WO2021104501A1 true WO2021104501A1 (en) 2021-06-03

Family

ID=75995914

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/132468 WO2021104501A1 (en) 2019-11-28 2020-11-27 Intention processing method and related device

Country Status (2)

Country Link
CN (1) CN112865998B (en)
WO (1) WO2021104501A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066149A1 (en) * 2021-10-20 2023-04-27 华为技术有限公司 Intention pre-estimation method and apparatus

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115835237A (en) * 2021-09-17 2023-03-21 华为技术有限公司 Communication method and device
CN114172814B (en) * 2021-10-23 2023-02-07 西安电子科技大学 Method for constructing intention-driven satellite network resource management triple-cooperation model and application
CN116418692A (en) * 2021-12-29 2023-07-11 华为技术有限公司 Intention management method and communication device
CN116419261A (en) * 2021-12-30 2023-07-11 华为技术有限公司 Intention execution method and communication device
CN117829438A (en) * 2022-09-23 2024-04-05 中兴通讯股份有限公司 Self-intelligent operation and maintenance method and device, computer readable storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160241436A1 (en) * 2015-02-17 2016-08-18 Futurewei Technologies, Inc. Intent Based Network Configuration
CN109155741A (en) * 2016-05-24 2019-01-04 艾普斯卓公司 For different frame of reference allocating system resources

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201728124A (en) * 2014-09-16 2017-08-01 科勞簡尼克斯股份有限公司 Flexibly defined communication network controller based control, operations and management of networks
CN109314647A (en) * 2016-12-09 2019-02-05 华为技术有限公司 A kind of management system, the method and device of managed network element
EP3577952B1 (en) * 2017-02-03 2022-11-30 Nokia Technologies Oy Method and system for selection of an access and mobility management function in an access network environment
CN109429186B (en) * 2017-08-31 2021-01-29 华为技术有限公司 Data transmission method and device
CN109672712A (en) * 2017-10-17 2019-04-23 中兴通讯股份有限公司 Method of data synchronization, device, super controller, domain controller and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160241436A1 (en) * 2015-02-17 2016-08-18 Futurewei Technologies, Inc. Intent Based Network Configuration
CN109155741A (en) * 2016-05-24 2019-01-04 艾普斯卓公司 For different frame of reference allocating system resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ANONYMOUS: "3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Telecommunication management; Study on scenarios for Intent driven management services for mobile networks (Release 16)", 3GPP STANDARD; TECHNICAL REPORT; 3GPP TR 28.812, vol. SA WG5, no. V0.8.0, 6 November 2019 (2019-11-06), pages 1 - 41, XP051840553 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066149A1 (en) * 2021-10-20 2023-04-27 华为技术有限公司 Intention pre-estimation method and apparatus

Also Published As

Publication number Publication date
CN112865998A (en) 2021-05-28
CN112865998B (en) 2022-10-18

Similar Documents

Publication Publication Date Title
WO2021104501A1 (en) Intention processing method and related device
EP3576458B1 (en) Communication method, source base station, target base station, core network device, and terminal device
WO2022011862A1 (en) Method and system for communication between o-ran and mec
US11290344B2 (en) Policy-driven method and apparatus
US20210274418A1 (en) Information Transmission Method and Apparatus
WO2018006381A1 (en) Network resource management method, apparatus and system
EP4027752A1 (en) 5g base station with upf deployed, and data message processing method therefor
US9392517B2 (en) Facilitation of adaptive traffic flow management by a power-limited mobile device
US11057309B2 (en) Management method, management unit, and system
WO2022011883A1 (en) Method and system for docking multi-operator core network with mec
EP3804257B1 (en) Complete dynamic policy control in communication system comprising user plane network functions and control plane network functions
WO2010048888A1 (en) Configuration method, apparatus and system of network devices
US10798626B2 (en) Method of managing a cellular network and system thereof
CN105052076A (en) Interface management service entity, functional service entity and network element management method
EP4329369A1 (en) Information transmission method and apparatus
CN111511003A (en) Energy-saving method for distributed base station
WO2021228022A1 (en) Configuration method and device in sidelink relay architecture
WO2020088204A1 (en) Data transmission method and apparatus
EP4358576A1 (en) Service quality processing method and apparatus, and communication system
WO2023040899A1 (en) Communication method and apparatus therefor
WO2023088297A1 (en) Backup power supply method and apparatus
EP4336897A1 (en) Network access method, network device and storage medium
WO2024032328A1 (en) Configuration information processing method and apparatus
US11968728B2 (en) Method of configuring service data adaptation protocol entity and device
WO2024021921A1 (en) Wireless resource configuration method, network element, apparatus, 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: 20893276

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20893276

Country of ref document: EP

Kind code of ref document: A1