CN-121984705-A - Execution method, device, equipment and medium of operation and maintenance instruction
Abstract
The invention relates to the field of data processing and provides a method, a device, equipment and a medium for executing operation and maintenance instructions, wherein the method comprises the steps of constructing a topology constraint library according to topology data of a computing power network and preset operation and maintenance rules; under the condition of receiving an operation and maintenance instruction, determining the risk level of the operation and maintenance instruction according to the instruction characteristics of the operation and maintenance instruction, selecting a corresponding target verification layer from an edge execution layer, a cluster control layer and a cloud management layer according to the risk level, triggering a verification agent of the target verification layer to verify the operation and maintenance instruction according to the topology constraint library to obtain a verification result, determining a decision strategy of the operation and maintenance instruction according to the verification result and the credibility weight of the verification agent, and executing the operation and maintenance instruction according to the decision strategy.
Inventors
- XU JUNDONG
- Shen linjiang
- CUI CHAO
- TIAN REN
Assignees
- 浪潮通信信息系统有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251219
Claims (10)
- 1. A method for executing an operation and maintenance instruction, comprising: Constructing a topology constraint library according to topology data of the computing power network and preset operation and maintenance rules; Under the condition that an operation and maintenance instruction is received, determining the risk level of the operation and maintenance instruction according to the instruction characteristics of the operation and maintenance instruction; selecting a corresponding target verification layer from an edge execution layer, a cluster control layer and a cloud management layer according to the risk level, triggering a verification agent of the target verification layer to verify the operation and maintenance instruction according to the topology constraint library, and obtaining a verification result; And determining a decision strategy of the operation and maintenance instruction according to the verification result and the credibility weight of the verification agent, and executing the operation and maintenance instruction according to the decision strategy.
- 2. The method for executing the operation and maintenance instruction according to claim 1, wherein the instruction features include an operation influence range, a service importance degree and a constraint matching degree with the topology constraint library, and the determining the risk level of the operation and maintenance instruction according to the instruction features of the operation and maintenance instruction includes: determining corresponding characteristic weights according to the operation influence range, the service importance degree and the influence degree corresponding to the constraint matching degree; Determining a risk assessment total score of the operation and maintenance instruction according to the quantitative scores and the characteristic weights of the operation and maintenance instruction in the operation influence range, the business importance degree and the constraint matching degree; and determining the risk level of the operation and maintenance instruction according to a preset score interval in which the risk assessment total score is located.
- 3. The method for executing the operation and maintenance instruction according to claim 1, wherein the selecting, according to the risk level, a corresponding target verification layer from an edge execution layer, a cluster control layer and a cloud management layer, triggering a verification agent of the target verification layer to verify the operation and maintenance instruction according to the topology constraint library includes: under the condition that the risk level is a low risk level, selecting the edge execution layer as a target verification layer, and triggering a verification agent of the edge execution layer to carry out local verification on the operation and maintenance instruction according to the topology constraint library; And under the condition that the risk level is high, selecting the edge execution layer, the cluster control layer and the cloud management layer as target verification layers, and triggering the verification agents of the edge execution layer, the cluster control layer and the cloud management layer to perform full-link verification on the operation and maintenance instruction according to the topology constraint library.
- 4. The method for executing the operation and maintenance instruction according to claim 3, wherein the verifying agents of the edge executing layer, the cluster control layer and the cloud management layer perform full link verification on the operation and maintenance instruction according to the topology constraint library, and the method comprises: The verification agent in the edge execution layer performs physical verification on the operation and maintenance instruction according to the physical constraint in the topology constraint library; The verification agent in the cluster control layer performs logic verification on the operation and maintenance instruction according to the logic constraint in the topology constraint library; And the verification agent in the cloud management layer performs global verification on the operation and maintenance instruction according to the global constraint in the topology constraint library.
- 5. The method of executing the operation and maintenance instruction according to claim 1, wherein executing the operation and maintenance instruction according to the decision policy comprises: Under the condition that the decision strategy is allowed to be executed, an instruction execution engine is called to execute the operation and maintenance instruction; Under the condition that the decision strategy is executed by man-machine cooperation, the operation and maintenance instruction and the verification result are sent to a target user terminal so as to execute the operation and maintenance instruction through the target user terminal; And under the condition that the decision strategy is refused to be executed, feeding back a corresponding refused execution reason to the instruction initiating terminal corresponding to the operation and maintenance instruction according to the verification result.
- 6. The method of executing an operation and maintenance instruction according to claim 5, further comprising: under the condition of executing the operation and maintenance instruction, monitoring the operation state of equipment corresponding to the operation and maintenance instruction; and under the condition that the running state is an abnormal state, terminating the operation and maintenance instruction, and updating the credibility weight of the verification agent of the target verification layer and the topology constraint library.
- 7. The method according to claim 1, wherein after executing the operation and maintenance instruction according to the decision policy, further comprising: Generating an audit log according to the instruction content of the operation and maintenance instruction, the verification result, the decision strategy and the execution result corresponding to the operation and maintenance instruction; and storing the audit log to a blockchain.
- 8. An execution device for operation and maintenance instructions, comprising: the construction module is used for constructing a topology constraint library according to the topology data of the power calculation network and a preset operation and maintenance rule; The receiving module is used for determining the risk level of the operation and maintenance instruction according to the instruction characteristics of the operation and maintenance instruction under the condition that the operation and maintenance instruction is received; The verification module is used for selecting a corresponding target verification layer from the edge execution layer, the cluster control layer and the cloud management layer according to the risk level, triggering a verification agent of the target verification layer to verify the operation and maintenance instruction according to the topology constraint library, and obtaining a verification result; And the execution module is used for determining a decision strategy of the operation and maintenance instruction according to the verification result and the credibility weight of the verification agent, and executing the operation and maintenance instruction according to the decision strategy.
- 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the processor implements the method of executing the operation and maintenance instructions according to any one of claims 1 to 7 when the computer program is executed.
- 10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the method of executing the operation and maintenance instructions according to any of claims 1 to 7.
Description
Execution method, device, equipment and medium of operation and maintenance instruction Technical Field The present invention relates to the field of data processing, and in particular, to a method, an apparatus, a device, and a medium for executing an operation and maintenance instruction. Background Because of the complex characteristics of isomerization, large scale and high dynamic in the computing power network, great challenges are brought to high-quality operation and maintenance work of the computing power network, particularly, the problem of security risk is inevitably caused when the automation capability of operation and maintenance is improved due to the fusion of artificial intelligent technologies such as large models, intelligent bodies and the like in intelligent operation and maintenance, for example, the intelligent operation and maintenance driven by the large models can generate illegal instructions, thus global service interruption is caused, a large amount of single-node verification or manual verification is relied on, the security requirement of the cross-node complex instructions cannot be met, the verification delay is high, the execution constraint is generated by the dynamic topology of the computing power network in an uncombined mode, and the instruction execution can violate physical network rules and the like. Therefore, it is desirable to provide a method for improving the execution security of operation and maintenance instructions in a power network. Disclosure of Invention The invention provides a method, a device, equipment and a medium for executing an operation and maintenance instruction, which are used for solving the technical problem that the operation and maintenance instruction execution has safety risk due to the characteristics of calculation network isomerization, large scale and high dynamic in the prior art. The invention provides an execution method of operation and maintenance instructions, which comprises the following steps: Constructing a topology constraint library according to topology data of the computing power network and preset operation and maintenance rules; Under the condition that an operation and maintenance instruction is received, determining the risk level of the operation and maintenance instruction according to the instruction characteristics of the operation and maintenance instruction; selecting a corresponding target verification layer from an edge execution layer, a cluster control layer and a cloud management layer according to the risk level, triggering a verification agent of the target verification layer to verify the operation and maintenance instruction according to the topology constraint library, and obtaining a verification result; And determining a decision strategy of the operation and maintenance instruction according to the verification result and the credibility weight of the verification agent, and executing the operation and maintenance instruction according to the decision strategy. The method for executing the operation and maintenance instruction provided by the invention has the characteristics of the instruction including an operation influence range, a service importance degree and a constraint matching degree with the topology constraint library, wherein the step of determining the risk level of the operation and maintenance instruction according to the characteristics of the operation and maintenance instruction comprises the following steps: determining corresponding characteristic weights according to the operation influence range, the service importance degree and the influence degree corresponding to the constraint matching degree; Determining a risk assessment total score of the operation and maintenance instruction according to the quantitative scores and the characteristic weights of the operation and maintenance instruction in the operation influence range, the business importance degree and the constraint matching degree; and determining the risk level of the operation and maintenance instruction according to a preset score interval in which the risk assessment total score is located. According to the execution method of the operation and maintenance instruction provided by the invention, the corresponding target verification layer is selected from the edge execution layer, the cluster control layer and the cloud management layer according to the risk level, and the verification agent of the target verification layer is triggered to verify the operation and maintenance instruction according to the topology constraint library, and the method comprises the following steps: under the condition that the risk level is a low risk level, selecting the edge execution layer as a target verification layer, and triggering a verification agent of the edge execution layer to carry out local verification on the operation and maintenance instruction according to the topology constraint library; And under the condit