CN112672440A - Instruction execution method, system, network device and storage medium - Google Patents

Instruction execution method, system, network device and storage medium Download PDF

Info

Publication number
CN112672440A
CN112672440A CN202011502772.7A CN202011502772A CN112672440A CN 112672440 A CN112672440 A CN 112672440A CN 202011502772 A CN202011502772 A CN 202011502772A CN 112672440 A CN112672440 A CN 112672440A
Authority
CN
China
Prior art keywords
instruction
executed
conflict
service module
target
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202011502772.7A
Other languages
Chinese (zh)
Inventor
祝伟宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202011502772.7A priority Critical patent/CN112672440A/en
Publication of CN112672440A publication Critical patent/CN112672440A/en
Priority to PCT/CN2021/137518 priority patent/WO2022127741A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The application provides an instruction execution method, system, network device and storage medium. The method comprises the steps of receiving an operation instruction submitted by an automatic management service module; determining conflict attributes of the operation instructions, wherein the conflict attributes comprise the existence of conflict or non-existence of conflict with the instructions to be executed; and executing at least one of the operation instruction, the instruction to be executed and the target instruction according to the conflict attribute, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.

Description

Instruction execution method, system, network device and storage medium
Technical Field
The present application relates to wireless communication networks, and, for example, to an instruction execution method, system, network device, and storage medium.
Background
The development trend of wireless communication networks is automation of network management, and by using automation related technologies such as Self-Organized networks (SON) and intention driven networks, a wireless communication system has intelligent analysis and decision-making capabilities, so that automatic management of the wireless communication network is realized. Each automated management service module in the wireless communication network can realize independent network function closed-loop management, including data acquisition, data analysis, decision based on data analysis and artificial intelligence, generation of an operation instruction according to the decision, execution of the operation instruction and the like. In the case that different operation instructions generated by the automated management service module act on the same object, the execution process of the operation instructions may conflict due to different execution contents and implementation purposes. For example, one operation instruction is used for increasing the network capacity of the slice, and the other operation instruction is used for reducing the network capacity of the slice, the automatic management service module cannot reasonably execute the operation instruction, normal management of network functions is affected, and reliability of automatic management is low.
Disclosure of Invention
The application provides an instruction execution method, an instruction execution system, network equipment and a storage medium, so as to coordinate conflict of operation instructions and improve reliability of network automation management.
An embodiment of the present application provides an instruction execution method, including:
receiving an operation instruction submitted by an automatic management service module;
determining conflict attributes of the operation instructions, wherein the conflict attributes comprise the existence of conflict or non-existence of conflict with the instructions to be executed;
and executing at least one of the operation instruction, the instruction to be executed and the target instruction according to the conflict attribute, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
The embodiment of the application further provides an instruction execution method, which comprises the following steps:
receiving an operation instruction submitted by an automatic management service module;
determining conflict attributes of the operation instructions, wherein the conflict attributes comprise the existence of conflict or non-existence of conflict with the instructions to be executed;
and according to the conflict attribute, instructing the automatic management service module to execute at least one of the operation instruction, the instruction to be executed and the target instruction, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
The embodiment of the application further provides an instruction execution method, which comprises the following steps:
submitting an operation instruction to an operation coordination service module;
receiving an indication of the operation coordination service module, wherein the indication is determined by the operation coordination service module according to a conflict attribute of the operation instruction, and the conflict attribute comprises the conflict or non-conflict with an instruction to be executed;
and executing at least one of the operation instruction, the instruction to be executed and the target instruction according to the instruction, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
An embodiment of the present application further provides an instruction execution system, including: the operation coordination service module and the automation management service module;
the operation coordination service module receives an operation instruction submitted by the automatic management service module;
the operation coordination service module determines conflict attributes of the operation instructions, wherein the conflict attributes comprise conflict or non-conflict with the instructions to be executed;
the operation coordination service module executes at least one of the operation instruction, the instruction to be executed and the target instruction according to the conflict attribute, or instructs the automation management service module to execute at least one of the operation instruction, the instruction to be executed and the target instruction submitted, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
An embodiment of the present application further provides a network device, including:
a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the above-described instruction execution method when executing the program.
The embodiment of the application also provides a computer readable storage medium, and a computer program is stored on the computer readable storage medium, and when the program is executed by a processor, the program realizes the instruction execution method.
Drawings
FIG. 1 is a flowchart of a method for instruction execution according to one embodiment;
FIG. 2 is a diagram illustrating an exemplary operational command coordination process;
FIG. 3 is a flowchart of a method for instruction execution according to another embodiment;
FIG. 4 is a flowchart of a method for instruction execution according to yet another embodiment;
FIG. 5 is a block diagram of an exemplary instruction execution system;
fig. 6 is a schematic hardware structure diagram of a network device according to an embodiment.
Detailed Description
The present application will be described with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
The automated management service module is a module with Network Function closed-loop management capability, and can independently realize data acquisition, data analysis, decision based on data analysis and artificial intelligence, generate an operation instruction according to the decision, execute the operation instruction and the like, and the automated management service module can be composed of one or more Network devices in a server, Network management equipment, a Network element and a Network Function (NF) entity. Different automatic management service modules can be used for managing different network functions, and under the condition that operation instructions generated by different automatic management service modules act on the same object, because each automatic management service module carries out closed-loop management respectively, conflicting instructions cannot be effectively coordinated, and normal management and operation of the network functions are influenced. For example, if the automated management service module 1 increases the network slice capacity threshold to improve throughput, and the automated management service module 2 decreases the network slice capacity threshold to reduce network load, the network slice capacity threshold cannot be set reasonably, and may be changed and fluctuated frequently, which affects service access stability.
The embodiment of the application provides an instruction execution method, which can be applied to an operation coordination service module, wherein the operation coordination service module can be composed of one or more network devices of a server, network management equipment, a network element and a network function entity, and is used for coordinating the conflict of operation instructions submitted by an automatic management service module and improving the reliability of network automatic management.
Fig. 1 is a flowchart of an instruction execution method according to an embodiment, and as shown in fig. 1, the method according to the embodiment includes step 110, step 120, and step 130.
In step 110, an operation instruction submitted by the automated management service module is received.
In this embodiment, there is at least one automation management service module, and each automation management service module submits at least one operation instruction. The operation instruction includes information such as operation type, operation object, operation parameter and the like, and modification and management of specified parameters, information or functions can be realized according to the operation instruction.
In step 120, conflict attributes of the operation instruction are determined, wherein the conflict attributes comprise existence of conflict or non-existence of conflict with the instruction to be executed.
In this embodiment, after receiving the operation instruction submitted by the automated management service module, the operation coordination service module enters a collision detection process, that is, the received operation instruction and the instruction to be executed are compared and analyzed to determine a collision attribute of the received operation instruction, that is, whether the received operation instruction and the instruction to be executed have a collision is determined. The instructions to be executed include instructions waiting to be executed in the cache space, and the instructions to be executed may be submitted by any automated management service module or generated by an operation coordination service module.
The received operation instruction conflicts with an instruction to be executed, and the two instructions can be understood as that the two instructions execute operations with opposite operation types on the same operation object in the same or similar time (for example, the operation instruction is to increase the parameter a, and the instruction to be executed is to decrease the parameter a); or, the operation types of the two instructions are the same but the parameter values are different greatly (for example, the operation instruction is to increase the parameter a by 100, and the instruction to be executed is to increase the parameter a by 1000); alternatively, the two instructions have different operation objects but may generate inhibition or influence (for example, the operation instruction is to decrease the parameter B, the instruction to be executed is to add the registration information of the new user, but the addition of the registration information of the new user may cause the parameter B to decrease), and the like.
In step 130, at least one of the operation instruction, the instruction to be executed, and the target instruction is executed according to the conflict attribute, where the target instruction is generated according to the operation instruction and the instruction to be executed.
In this embodiment, if there is no conflict between the received operation instruction and the instruction to be executed in the cache space, an instruction execution process is entered, that is, for the operation instruction and the instruction to be executed, normal execution may be performed according to the content of each instruction, and multiple non-conflict instructions may be executed at the same time; if the received operation instruction conflicts with the instruction to be executed in the cache space, a conflict coordination process is entered, that is, the operation coordination service module coordinates according to a conflict coordination policy, for example, one or more instructions are selected from the conflicting instructions for execution according to timeliness, priority or network state, and the other unselected instructions are not executed or delayed for execution. If multiple instructions are selected, there cannot be a conflict between the selected instructions. The conflict coordination policy may be a preset policy or a policy obtained through machine learning.
Fig. 2 is a schematic diagram of an operation instruction coordination process according to an embodiment. As shown in fig. 2, at least two automated management service modules in the network operate simultaneously, an operation coordination service module is added in the network, each automated management service module submits an operation instruction to be executed to the operation coordination service module, and the operation coordination service module determines whether a conflict exists between the operation instruction and an instruction to be executed in the cache space; and if the conflict exists, the operation coordination service module performs coordination and then executes the coordination, and then returns the operation instruction and the execution result submitted by each automatic management service module to the corresponding automatic management service module.
In one embodiment, the operation instruction comprises an operation type, an operation object and an operation parameter, wherein the operation parameter comprises a parameter name and a parameter value; the operating instructions further comprise at least one of: operation timeliness, operation purpose, priority and an automatic management service module identifier corresponding to the operation instruction.
In this embodiment, the operation instruction received by the operation coordination service module includes an operation type, an operation object, a parameter name, and a parameter value, where the operation type refers to execution content of the operation instruction, such as increasing or decreasing a specified parameter, modifying registration information of a user, and turning on or off a specified function; the operation object refers to an executed object, such as a network slice capacity threshold, a data table for storing registration information, a network element for implementing a network function, and the like; the operating parameters include parameter names and specific parameter values. In addition, the operation instruction may further include an operation aging, that is, an execution time of the operation instruction; the operating instructions may also include operational objectives such as performance optimization, troubleshooting, timing maintenance, etc.; the operation instructions may also include a priority, the higher the priority, the greater the probability of being selected for execution when there is a conflict with other instructions.
In one embodiment, the operational instructions include an operational age, the operational age including immediate execution or non-immediate execution; in the case where the operational age is not immediate, the operational instructions also include a time parameter.
In this embodiment, the operation instruction includes an operation aging, and the operation aging includes immediate execution and non-immediate execution. Non-immediate execution can also be divided into two categories according to time parameters: the time parameter can be a set time point or a set time period, and after the operation coordination service module receives the operation instruction, the operation coordination service module executes the operation instruction at the set time point; the time parameter may also be a set time period (e.g., n seconds or n minutes), and after receiving the operation instruction, the operation coordination service module waits for the set time period and then executes the operation instruction.
If the operation instruction received by the operation coordination service module does not contain the parameter of the operation aging, the operation coordination service module may determine whether the operation instruction is executed immediately or not according to the operation type, the operation purpose, the priority and the like of the operation instruction, for example, the operation instruction whose operation purpose is fault repair may be determined as immediate execution, and the operation instruction whose operation purpose is performance optimization may be executed after buffering for n seconds. If the received operation instruction contains operation timeliness, the operation coordination service module determines whether to execute immediately or not according to the operation timeliness, and for the immediately executed operation instruction, a conflict detection process is carried out; and putting the operation instructions which are not executed immediately into the cache space. The cache space is a list for storing one or more of the operation type, the operation object, the time parameter, the priority, and the identification of the automated management service module that submitted the operation instruction.
In one embodiment, the method further comprises:
step 112: and storing the operation instruction into the cache space when the operation age of the operation instruction is not immediately executed.
In this embodiment, if the operation time limit of the operation instruction received by the operation coordination service module is not immediate execution, the operation instruction is placed in the cache space for waiting for execution, and after the operation instruction is placed in the cache space, the operation instruction is the instruction to be executed.
In one embodiment, step 120 includes: and under the condition that the operation instruction and any one instruction to be executed meet the conflict relationship, determining that the conflict attribute of the operation instruction conflicts with the instruction to be executed. In this case, the conflict coordination flow is entered.
In an embodiment, the conflict relationship includes at least one of:
the operation type and the operation object of the operation instruction and the instruction to be executed are the same, the operation parameters are different, and the difference of the operation timeliness is within the set range, for example, the operation instruction increases the parameter A by 100, the instruction to be executed increases the parameter A by 1000, and the difference of the time parameter of the operation instruction and the time parameter corresponding to the instruction to be executed is smaller than the set range, for example, within 1 second;
the operation instruction is the same as the operation object of the instruction to be executed, the operation type is opposite, and the difference of the operation timeliness is within the set range, for example, the operation instruction increases the parameter A by 100, the instruction to be executed decreases the parameter A by 500, and the difference of the time parameter of the operation instruction and the time parameter corresponding to the instruction to be executed is smaller than the set range, for example, within 1 second;
the execution of the operation instruction may cause the function of the operation object of the instruction to be executed to be degraded, for example, the operation instruction is to close the network function M, the instruction to be executed is to increase the parameter N, but closing the network function M may cause the parameter N to decrease;
the execution of the instruction to be executed may cause the function of the operation object of the operation instruction to be degraded, for example, the operation instruction is to decrease the parameter B, and the instruction to be executed is to add the registration information of the new user, but the addition of the registration information of the new user may cause the parameter B to decrease.
In one embodiment, step 130 includes: under the condition that the conflict attribute is in conflict with the instruction to be executed, selecting an instruction from the operation instruction and the instruction to be executed with the conflict according to a preset coordination strategy, and executing the selected instruction within the operation time limit corresponding to the selected instruction; and executing the operation instruction and unselected instructions in the conflict-existing instructions to be executed in an un-executed or delayed manner.
For example, the operation coordination service module selects to execute an operation instruction submitted by the automated management service module, and does not execute or delay execution of an instruction to be executed which conflicts with the operation instruction; or, one or more to-be-executed instructions in the cache space are selected to be executed, and the operation instructions submitted by the automatic management service module are not executed or delayed to be executed.
In one embodiment, step 130 includes: under the condition that the conflict attribute is in conflict with the instruction to be executed, generating a target instruction according to the operation instruction and the instruction to be executed with the conflict, and determining the operation timeliness of the target instruction; the target instruction is executed within an operational age of the target instruction.
In this embodiment, when the operation instruction conflicts with the instruction to be executed, the operation coordination service module does not execute the instruction to be executed in the cache space or the operation instruction submitted by the automation management service module, but generates and executes a new target instruction according to the operation instruction and the instruction to be executed.
In one embodiment, the method further comprises:
step 140: the automatic management service module is used for informing the executed instruction and the corresponding execution result to submit the executed instruction, and the automatic management service module is used for submitting the instruction which conflicts with the executed instruction. In this embodiment, the operation coordination service module notifies the automated management service module that has submitted the executed instruction of the executed instruction and the execution result, and notifies the automated management service module that has submitted the instruction that conflicts with the executed instruction of the executed instruction and the execution result, so that the relevant automated management service module learns the coordination result for the conflicting instruction, thereby avoiding the occurrence of the same conflict again.
In one embodiment, the method further comprises:
step 150: detecting each instruction to be executed in the cache space at regular time;
step 160: executing the corresponding instruction to be executed under the condition that at least one of the following conditions is met: the current time meets the operation timeliness of the corresponding instruction to be executed; the occupancy rate of the cache space reaches a set threshold value; the cache time of the corresponding instruction to be executed reaches a set threshold.
In this embodiment, the operation coordination service module detects the operation instruction cached in the cache space at regular time, and if the execution time of the instruction to be executed (that is, the time parameter in the instruction to be executed is a set time point) is reached, or the cache time of the instruction to be executed reaches a set threshold (that is, the time parameter in the instruction to be executed is a set time period), or the occupancy rate of the cache space reaches the set threshold, triggers the operation instruction execution process to execute the operation instruction to be executed.
It should be noted that, in the embodiment, the operation instruction submitted by each automated management service module is coordinated and executed by the operation coordination service module, and after the instruction is executed by the operation coordination service module, the operation coordination service module sends the executed instruction (which may be one or more of the operation instruction, the instruction to be executed, and the target instruction) and the execution result thereof to the automated management service module submitting the instruction, so that each automated management service module learns the coordination result, thereby avoiding the same conflict problem occurring again in the subsequent process.
In the embodiment of the present application, an instruction execution method is further provided, which can be applied to an independent operation coordination service module. The difference from the above embodiment is that the operation coordination service module does not execute the instruction after completing the conflict detection and coordination of the instruction, but notifies each automation management service module whether to execute and when to execute the instruction submitted by the automation management service module. Technical details that are not elaborated in this embodiment may be referred to any of the embodiments described above.
Fig. 3 is a flowchart of an instruction execution method according to another embodiment, and as shown in fig. 3, the method according to this embodiment includes steps 210, 220, and 230.
In step 210, an operation instruction submitted by the automated management service module is received.
In step 220, conflict attributes of the operation instruction are determined, wherein the conflict attributes comprise existence of conflict or non-existence of conflict with the instruction to be executed.
In step 230, according to the conflict attribute, the automation management service module is instructed to execute at least one of the operation instruction, the instruction to be executed, and the target instruction, where the target instruction is generated according to the operation instruction and the instruction to be executed.
In this embodiment, after the operation coordination service module performs conflict detection and coordination, the operation coordination service module indicates whether each of the automated management service modules executes or not and when the instruction submitted by each of the automated management service modules is executed, so that the conflict is effectively avoided, the system performance is ensured to be stable, and the instruction execution process is distributed to the corresponding automated management service module, thereby improving the instruction execution efficiency.
In one embodiment, the operation instruction comprises an operation type, an operation object and an operation parameter, wherein the operation parameter comprises a parameter name and a parameter value; further comprising at least one of: operation timeliness, operation purpose, priority and an automatic management service module identifier corresponding to the operation instruction.
In one embodiment, the operational instructions include an operational age, the operational age including immediate execution or non-immediate execution; in the case where the operational age is not immediate, the operational instructions also include a time parameter.
In one embodiment, the method further comprises:
step 212: and storing the operation instruction to a cache space under the condition that the operation age of the operation instruction is not immediately executed.
In one embodiment, step 220 includes:
and under the condition that the operation instruction and any one instruction to be executed meet the conflict relationship, determining that the conflict attribute of the operation instruction conflicts with the instruction to be executed.
In an embodiment, the conflict relationship comprises at least one of:
the operation type and the operation object of the operation instruction and the instruction to be executed are the same, the operation parameters are different, and the difference of the operation timeliness is in a set range;
the operation instruction and the operation object of the instruction to be executed are the same, the operation types are opposite, and the difference of the operation timeliness is in a set range;
the execution of the operation instruction can cause the function of an operation object of the instruction to be executed to be degraded;
the execution of the instruction to be executed may cause the function of the operation object of the operation instruction to deteriorate.
In one embodiment, step 230 includes:
under the condition that the conflict attribute is in conflict with the instruction to be executed, selecting an instruction from the operation instruction and the instruction to be executed with the conflict according to a preset coordination strategy, and indicating an automatic management service module submitting the instruction to execute the instruction within the operation timeliness corresponding to the instruction; and executing the operation instruction and unselected instructions in the conflict to-be-executed instruction in an un-executed or delayed way.
In one embodiment, step 230 includes:
under the condition that the conflict attribute is in conflict with the instruction to be executed, generating a target instruction according to the operation instruction and the instruction to be executed with the conflict, and determining the operation timeliness of the target instruction; and instructing an automatic management service module which submits the operation instruction or submits an instruction to be executed which conflicts with the operation instruction to execute the target instruction within the operation time limit of the target instruction.
In one embodiment, the method further comprises:
step 240: and forwarding the executed instruction and the execution result of the executed instruction by the automatic management service module to the automatic management service module which submits the instruction which conflicts with the executed instruction.
In one embodiment, the method further comprises:
step 250: detecting each instruction to be executed in the cache space at regular time;
step 260: executing the corresponding instruction to be executed under the condition that at least one of the following conditions is met:
the current time meets the operation timeliness of the corresponding instruction to be executed;
the occupancy rate of the cache space reaches a set threshold value;
the cache time of the corresponding instruction to be executed reaches a set threshold.
In the embodiment of the application, an instruction execution method is further provided, and the instruction execution method can be applied to an automatic management service module. Technical details that are not elaborated in this embodiment may be referred to any of the embodiments described above.
Fig. 4 is a flowchart of an instruction execution method according to yet another embodiment, and as shown in fig. 4, the method according to this embodiment includes steps 310, 320, and 330.
In step 310, an operation instruction is submitted to the operation coordination service module.
In step 320, receiving an indication of the operation coordination service module, where the indication is determined by the operation coordination service module according to a conflict attribute of the operation instruction, where the conflict attribute includes a conflict with or no conflict with an instruction to be executed.
In step 330, at least one of the operation instruction, the instruction to be executed, and the target instruction is executed according to the instruction, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
In this embodiment, the automated management service module submits an operation instruction to the operation coordination service module, the operation coordination service module performs conflict detection and coordination, and then the automated management service module executes the distributed instruction according to the instruction of the operation coordination service module, where the instruction may include the operation instruction submitted by the automated management service module, may also include an instruction to be executed in the cache space, and may also include a new target instruction generated by the operation coordination service module according to the operation instruction and the instruction to be executed.
In one embodiment, the operation instruction comprises an operation type, an operation object and an operation parameter, wherein the operation parameter comprises a parameter name and a parameter value; further comprising at least one of: operation timeliness, operation purpose, priority and an automatic management service module identifier corresponding to the operation instruction.
In one embodiment, the operational instructions include an operational age, the operational age including immediate execution or non-immediate execution; in the case where the operational age is not immediate, the operational instructions also include a time parameter.
In an embodiment, when the operation instruction and any one of the instructions to be executed satisfy a conflict relationship, the conflict attribute of the operation instruction is that there is a conflict with the instruction to be executed.
In an embodiment, the conflict relationship comprises at least one of: the operation type and the operation object of the operation instruction and the instruction to be executed are the same, the operation parameters are different, and the difference of the operation timeliness is in a set range; the operation instruction and the operation object of the instruction to be executed are the same, the operation types are opposite, and the difference of the operation timeliness is in a set range; the execution of the operation instruction can cause the function of an operation object of the instruction to be executed to be degraded; the execution of the instruction to be executed may cause the function of the operation object of the operation instruction to deteriorate.
In one embodiment, the method further comprises:
step 340: and sending the executed instruction and the execution result of the executed instruction to an operation coordination service module, and informing an automatic management service module submitting an instruction which conflicts with the executed instruction through the operation coordination service module.
In the embodiment of the application, an instruction execution system is further provided, wherein an operation coordination service module is added in the system, each automatic management service module submits an operation instruction to be executed to the operation coordination service module, and the operation coordination service module judges whether conflicts exist between the operation instructions and the instruction to be executed in the cache space; if the conflict exists, the operation coordination service module coordinates and interacts with each automatic management service module to coordinate the conflict of the operation instructions, and the reliability of the network automatic management is improved.
Fig. 5 is a schematic structural diagram of an instruction execution system according to an embodiment, and as shown in fig. 5, the system according to the embodiment includes: an operation coordination service module 410 and an automation management service module 420; the operation coordination service module 410 receives the operation instruction submitted by the automation management service module 420; the operation coordination service module 410 determines the conflict attribute of the operation instruction, wherein the conflict attribute includes that there is a conflict or no conflict with the instruction to be executed; the operation coordination service module 410 executes at least one of the operation instruction, the instruction to be executed, and the target instruction according to the conflict attribute, or instructs the automation management service module 420 to execute at least one of the submitted operation instruction, the instruction to be executed, and the target instruction, where the target instruction is generated according to the operation instruction and the instruction to be executed.
In one embodiment, the operation instruction comprises an operation type, an operation object and an operation parameter, wherein the operation parameter comprises a parameter name and a parameter value; further comprising at least one of: operation timeliness, operation purpose, priority and an automatic management service module identifier corresponding to the operation instruction.
In one embodiment, the operational instructions include an operational age, the operational age including immediate execution or non-immediate execution;
in the case where the operational age is not immediate, the operational instructions also include a time parameter.
In an embodiment, in the case that the operation of the operation instruction is not executed immediately, the operation coordination service module 410 stores the operation instruction in the cache space.
In an embodiment, in a case that the operation instruction and any one of the instructions to be executed satisfy a conflict relationship, the operation coordination service module 410 determines that the conflict attribute of the operation instruction is that there is a conflict with the instruction to be executed.
In an embodiment, the conflict relationship includes at least one of:
the operation type and the operation object of the operation instruction and the instruction to be executed are the same, the operation parameters are different, and the difference of the operation timeliness is in a set range;
the operation instruction and the operation object of the instruction to be executed are the same, the operation types are opposite, and the difference of the operation timeliness is in a set range;
the execution of the operation instruction can cause the function of an operation object of the instruction to be executed to be degraded;
the execution of the instruction to be executed may cause the function of the operation object of the operation instruction to deteriorate.
In an embodiment, when the conflict attribute is that there is a conflict with the instruction to be executed, the operation coordination service module 410 selects an instruction from the operation instruction and the instruction to be executed that has a conflict according to a preset coordination policy, and executes the selected instruction within an operation time limit corresponding to the selected instruction; and executing the operation instruction and unselected instructions in the conflict to-be-executed instruction in an un-executed or delayed way.
In an embodiment, when the conflict attribute is that there is a conflict with the instruction to be executed, the operation coordination service module 410 selects an instruction from the operation instruction and the instruction to be executed that has a conflict according to a preset coordination policy, and instructs the automatic management service module 420 that submits the instruction to execute the instruction within the operation time limit corresponding to the instruction.
In an embodiment, when the conflict attribute is that there is a conflict with an instruction to be executed, the operation coordination service module 410 generates a target instruction according to the operation instruction and the instruction to be executed that has the conflict, and determines an operation timeliness of the target instruction; executing the target instruction within an operational age of the target instruction.
In an embodiment, when the conflict attribute is that there is a conflict with an instruction to be executed, the operation coordination service module 410 generates a target instruction according to the operation instruction and the instruction to be executed that has the conflict, and determines an operation timeliness of the target instruction; instruct the Automation management services Module 420 to execute the target instruction within the operational age of the target instruction.
In an embodiment, the operation coordination service module 410 notifies the automated management service module that submitted the executed instruction and the corresponding execution result, and may also notify the automated management service module that submitted an instruction that conflicts with the executed instruction.
In an embodiment, the operation coordination service module 410 detects each instruction to be executed in the cache space in a timing manner; executing or instructing the automated management service module 420 to execute the corresponding instruction to be executed if at least one of the following conditions is satisfied: the current time meets the operation timeliness of the corresponding instruction to be executed; the occupancy rate of the cache space reaches a set threshold value; the cache time of the corresponding instruction to be executed reaches a set threshold.
The embodiment of the application also provides network equipment. The network device may be a server, a network management device, a network element or a network functional entity, etc. Fig. 6 is a schematic structural diagram of a network device provided in the present application, and as shown in fig. 6, the network device provided in the present application includes a memory 52, a processor 51, and a computer program stored in the memory and executable on the processor, and when the processor 51 executes the computer program, the instruction execution method described above is implemented.
The network device may also include memory 52; the number of the processors 51 in the network device may be one or more, and one processor 51 is taken as an example in fig. 6; the memory 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, so that the one or more processors 51 implement the instruction execution method as described in the embodiment of the present application.
The network device further includes: a communication device 53, an input device 54 and an output device 55.
The processor 51, the memory 52, the communication device 53, the input device 54 and the output device 55 in the network device may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 6.
The input device 54 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the network device. The output device 55 may include a display device such as a display screen.
The communication means 53 may comprise a receiver and a transmitter. The communication device 53 is configured to perform information transceiving communication according to the control of the processor 51.
The memory 52 is a computer-readable storage medium, and can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the instruction execution methods described in the embodiments of the present application. The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the network device, and the like. Further, the memory 52 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 52 may further include memory located remotely from the processor 51, which may be connected to a network device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for executing the instruction in any embodiment of the present application is implemented. The method comprises the following steps:
receiving an operation instruction submitted by the automated management service module 420;
determining conflict attributes of the operation instructions, wherein the conflict attributes comprise the existence of conflict or non-existence of conflict with the instructions to be executed;
and executing at least one of the operation instruction, the instruction to be executed and the target instruction according to the conflict attribute, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
Alternatively, the method comprises:
receiving an operation instruction submitted by the automated management service module 420;
determining conflict attributes of the operation instructions, wherein the conflict attributes comprise the existence of conflict or non-existence of conflict with the instructions to be executed;
and according to the conflict attribute, instructing the automated management service module 420 to execute at least one of the operation instruction, the instruction to be executed and the target instruction, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
Alternatively, the method comprises:
submitting an operation instruction to an operation coordination service module;
receiving an indication of the operation coordination service module, wherein the indication is determined by the operation coordination service module according to a conflict attribute of the operation instruction, and the conflict attribute comprises the conflict or non-conflict with an instruction to be executed;
and executing at least one of the operation instruction, the instruction to be executed and the target instruction according to the instruction, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example, but is not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The above description is only exemplary embodiments of the present application, and is not intended to limit the scope of the present application.
It will be clear to a person skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car mounted mobile station.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read-Only Memory (ROM), Random-Access Memory (RAM), optical storage devices and systems (Digital versatile disks (DVD), Compact Disks (CD)), etc., computer-readable media can comprise non-transitory storage media, data processors can be of any type suitable to the local technical environment, such as, but not limited to, general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.
The foregoing has provided by way of exemplary and non-limiting examples a detailed description of exemplary embodiments of the present application. Various modifications and adaptations to the foregoing embodiments may become apparent to those skilled in the relevant arts in view of the drawings and the following claims without departing from the scope of the invention. Accordingly, the proper scope of the application is to be determined according to the claims.

Claims (15)

1. An instruction execution method, comprising:
receiving an operation instruction submitted by an automatic management service module;
determining conflict attributes of the operation instructions, wherein the conflict attributes comprise the existence of conflict or non-existence of conflict with the instructions to be executed;
and executing at least one of the operation instruction, the instruction to be executed and the target instruction according to the conflict attribute, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
2. The method of claim 1, wherein the operation instruction comprises an operation type, an operation object and an operation parameter, wherein the operation parameter comprises a parameter name and a parameter value;
further comprising at least one of: operation timeliness, operation purpose, priority and an automatic management service module identifier corresponding to the operation instruction.
3. The method of claim 1, wherein the operational instruction comprises an operational age comprising immediate execution or non-immediate execution;
in the case that the operation is not executed immediately, the operation instruction further includes a time parameter.
4. The method of claim 1, further comprising:
and storing the operation instruction to a cache space under the condition that the operation age of the operation instruction is not immediately executed.
5. The method of claim 1, wherein determining conflicting attributes for the operational instruction comprises:
and under the condition that the operation instruction and any one instruction to be executed meet the conflict relationship, determining that the conflict attribute of the operation instruction conflicts with the instruction to be executed.
6. The method of claim 5, wherein the conflicting relationship comprises at least one of:
the operation type and the operation object of the operation instruction and the instruction to be executed are the same, the operation parameters are different, and the difference of the operation timeliness is in a set range;
the operation instruction and the operation object of the instruction to be executed are the same, the operation types are opposite, and the difference of the operation timeliness is in a set range;
the execution of the operation instruction can cause the function of an operation object of the instruction to be executed to be degraded;
the execution of the instruction to be executed may cause the function of the operation object of the operation instruction to deteriorate.
7. The method of claim 1, wherein executing at least one of the operation instruction, the to-be-executed instruction, and the target instruction according to the conflict attribute comprises:
under the condition that the conflict attribute is in conflict with the instruction to be executed, selecting an instruction from the operation instruction and the instruction to be executed with the conflict according to a preset coordination strategy, and executing the selected instruction within the operation timeliness corresponding to the selected instruction;
and executing the operation instruction and unselected instructions in the conflict to-be-executed instruction in an un-executed or delayed way.
8. The method of claim 1, wherein executing at least one of the operation instruction, the to-be-executed instruction, and the target instruction according to the conflict attribute comprises:
under the condition that the conflict attribute is in conflict with the instruction to be executed, generating a target instruction according to the operation instruction and the instruction to be executed with the conflict, and determining the operation timeliness of the target instruction;
executing the target instruction within an operational age of the target instruction.
9. The method of claim 1, further comprising:
the automatic management service module is used for informing the executed instruction and the corresponding execution result to submit the executed instruction, and the automatic management service module is used for submitting the instruction which conflicts with the executed instruction.
10. The method of claim 3, further comprising:
detecting each instruction to be executed in the cache space at regular time;
executing the corresponding instruction to be executed under the condition that at least one of the following conditions is met:
the current time meets the operation timeliness of the corresponding instruction to be executed;
the occupancy rate of the cache space reaches a set threshold value;
the cache time of the corresponding instruction to be executed reaches a set threshold.
11. An instruction execution method, comprising:
receiving an operation instruction submitted by an automatic management service module;
determining conflict attributes of the operation instructions, wherein the conflict attributes comprise the existence of conflict or non-existence of conflict with the instructions to be executed;
and according to the conflict attribute, instructing the automatic management service module to execute at least one of the operation instruction, the instruction to be executed and the target instruction, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
12. An instruction execution method, comprising:
submitting an operation instruction to an operation coordination service module;
receiving an indication of the operation coordination service module, wherein the indication is determined by the operation coordination service module according to a conflict attribute of the operation instruction, and the conflict attribute comprises the conflict or non-conflict with an instruction to be executed;
and executing at least one of the operation instruction, the instruction to be executed and the target instruction according to the instruction, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
13. An instruction execution system, comprising: the operation coordination service module and the automation management service module;
the operation coordination service module receives an operation instruction submitted by the automatic management service module;
the operation coordination service module determines conflict attributes of the operation instructions, wherein the conflict attributes comprise conflict or non-conflict with the instructions to be executed;
the operation coordination service module executes at least one of the operation instruction, the instruction to be executed and the target instruction according to the conflict attribute, or instructs the automation management service module to execute at least one of the operation instruction, the instruction to be executed and the target instruction submitted, wherein the target instruction is generated according to the operation instruction and the instruction to be executed.
14. A network device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the instruction execution method according to any one of claims 1-12 when executing the program.
15. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the instruction execution method of any one of claims 1 to 12.
CN202011502772.7A 2020-12-18 2020-12-18 Instruction execution method, system, network device and storage medium Pending CN112672440A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011502772.7A CN112672440A (en) 2020-12-18 2020-12-18 Instruction execution method, system, network device and storage medium
PCT/CN2021/137518 WO2022127741A1 (en) 2020-12-18 2021-12-13 Command execution method and system, network device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011502772.7A CN112672440A (en) 2020-12-18 2020-12-18 Instruction execution method, system, network device and storage medium

Publications (1)

Publication Number Publication Date
CN112672440A true CN112672440A (en) 2021-04-16

Family

ID=75406414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011502772.7A Pending CN112672440A (en) 2020-12-18 2020-12-18 Instruction execution method, system, network device and storage medium

Country Status (2)

Country Link
CN (1) CN112672440A (en)
WO (1) WO2022127741A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596235A (en) * 2021-06-30 2021-11-02 青岛海尔科技有限公司 Operation instruction issuing method and device, storage medium and electronic device
CN113827270A (en) * 2021-08-24 2021-12-24 深圳市德力凯医疗设备股份有限公司 Instruction conflict resolution method, ultrasound device, and computer-readable storage medium
WO2022127741A1 (en) * 2020-12-18 2022-06-23 中兴通讯股份有限公司 Command execution method and system, network device, and storage medium
CN115408153A (en) * 2022-08-26 2022-11-29 海光信息技术股份有限公司 Instruction distribution method, apparatus and storage medium for multithreaded processor
WO2023030229A1 (en) * 2021-09-03 2023-03-09 维沃移动通信有限公司 Information processing method and apparatus, communication device, and readable storage medium
CN115829189A (en) * 2023-02-08 2023-03-21 安徽深迪科技有限公司 Visual scheduling method and device for intelligent factory big data
WO2023130943A1 (en) * 2022-01-07 2023-07-13 中兴通讯股份有限公司 Automatic management and coordination method for network function, device, and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765291B (en) * 2015-02-10 2019-06-04 海尔优家智能科技(北京)有限公司 A kind of method, apparatus and gateway controlling smart machine
CN107025130B (en) * 2016-01-29 2021-09-03 华为技术有限公司 Processing node, computer system and transaction conflict detection method
CN107368356A (en) * 2016-05-12 2017-11-21 阿里巴巴集团控股有限公司 A kind of service request processing method and device
CN109218507A (en) * 2017-07-03 2019-01-15 阿里巴巴集团控股有限公司 The methods, devices and systems of task execution
CN110398947A (en) * 2019-08-23 2019-11-01 珠海格力电器股份有限公司 The control method and device of smart home device
CN111522264B (en) * 2020-04-02 2024-01-23 青岛海尔科技有限公司 Control method and device of equipment, storage medium and electronic device
CN112040133B (en) * 2020-09-09 2022-06-14 浙江大华技术股份有限公司 Device control method, device, storage medium, and electronic apparatus
CN112672440A (en) * 2020-12-18 2021-04-16 中兴通讯股份有限公司 Instruction execution method, system, network device and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022127741A1 (en) * 2020-12-18 2022-06-23 中兴通讯股份有限公司 Command execution method and system, network device, and storage medium
CN113596235A (en) * 2021-06-30 2021-11-02 青岛海尔科技有限公司 Operation instruction issuing method and device, storage medium and electronic device
CN113827270A (en) * 2021-08-24 2021-12-24 深圳市德力凯医疗设备股份有限公司 Instruction conflict resolution method, ultrasound device, and computer-readable storage medium
CN113827270B (en) * 2021-08-24 2024-03-12 深圳市德力凯医疗设备股份有限公司 Instruction conflict resolution method, ultrasonic device and computer readable storage medium
WO2023030229A1 (en) * 2021-09-03 2023-03-09 维沃移动通信有限公司 Information processing method and apparatus, communication device, and readable storage medium
WO2023130943A1 (en) * 2022-01-07 2023-07-13 中兴通讯股份有限公司 Automatic management and coordination method for network function, device, and storage medium
CN115408153A (en) * 2022-08-26 2022-11-29 海光信息技术股份有限公司 Instruction distribution method, apparatus and storage medium for multithreaded processor
CN115408153B (en) * 2022-08-26 2023-06-30 海光信息技术股份有限公司 Instruction distribution method, device and storage medium of multithreaded processor
CN115829189A (en) * 2023-02-08 2023-03-21 安徽深迪科技有限公司 Visual scheduling method and device for intelligent factory big data
CN115829189B (en) * 2023-02-08 2023-05-05 安徽深迪科技有限公司 Visual scheduling method and device for big data of intelligent factory

Also Published As

Publication number Publication date
WO2022127741A1 (en) 2022-06-23

Similar Documents

Publication Publication Date Title
CN112672440A (en) Instruction execution method, system, network device and storage medium
US20220335337A1 (en) Providing producer node machine learning based assistance
CN108023808A (en) message distributing method and device in application program
US20200236625A1 (en) Activation system information transmission method, apparatus, and device
US20220150817A1 (en) Method and system for controlling gateway, and electronic device
US20210042578A1 (en) Feature engineering orchestration method and apparatus
US20230146912A1 (en) Method, Apparatus, and Computing Device for Constructing Prediction Model, and Storage Medium
WO2021063254A1 (en) Information processing method, related device and computer storage medium
WO2024007995A1 (en) Network fault recovery method and apparatus, device, and storage medium
CN113162888B (en) Security threat event processing method and device and computer storage medium
CN111885618A (en) Network performance optimization method and device
CN106170955A (en) A kind of flow control methods and system
US20230229528A1 (en) Parameter Configuration Method and Related System
CN109144676A (en) A kind of self-starting detection method, device and the server of application program
CN104317205A (en) Terminal control method and system
CN111324364A (en) Method, device, equipment and storage medium for equipment management
US11950142B2 (en) Method and apparatus for sending system performance parameters, management device, and storage medium
CN113612659B (en) Device networking test method and device, electronic device and storage medium
CN115080775A (en) Access control equipment face data storage method and device, server and storage medium
CN114693220A (en) Algorithm warehouse management method and system based on digital twin DaaS platform
CN114090617A (en) Plan execution method, device, database node and medium
CN109976168B (en) Decentralized intelligent home control method and system
CN111555933A (en) Detection method, device, communication node and storage medium
CN110908763A (en) Acceptance method, device, equipment and storage medium
CN114567536B (en) Abnormal data processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination