Patch reinforcing method and device

Through the collaborative work of security hardening containers and OMM nodes, patch codes are transmitted and executed, which solves the problems of poor patch running compatibility and difficult hardening operations, and improves the compatibility and ease of operation of patch hardening.

CN118646547APending Publication Date: 2024-09-13ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310290806.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

In the existing technology, patch operation compatibility is poor and patch reinforcement operations are difficult, resulting in compatibility issues and operational complexity in the delivery and execution of security patches.

Method used

Receive the uploaded hardening package through the security hardening container, including the patch code and control script, connect to the operation and maintenance management OMM node, transmit the hardening package to the node to be hardened, and execute the control script on the node to run the patch code for hardening.

Benefits of technology

It improves patch running compatibility, reduces the difficulty of hardening operations, and achieves a more stable patch hardening process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118646547A
    Figure CN118646547A
Patent Text Reader

Abstract

The embodiment of the invention provides a patch reinforcement method and device, and the method comprises the steps: receiving an uploaded reinforcement package through a safety reinforcement container, and enabling the reinforcement package to comprise a patch code and a control script; after the security reinforcement container is connected with the OMM node, the security reinforcement container transmits the reinforcement packet to the OMM node; and after the OMM node logs in the corresponding to-be-reinforced node, the OMM node transmits the reinforcement packet to the to-be-reinforced node, so that the control script is executed on the to-be-reinforced node to run the patch code to perform patch reinforcement on the to-be-reinforced node. The problems of poor patch operation compatibility and high patch reinforcement operation difficulty in related technologies are solved, and the effects of improving the patch operation compatibility and reducing the patch reinforcement operation difficulty are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of product safety, and in particular, to a patch reinforcement method and device. Background Art

[0002] The continuous development of network security technology makes product security increasingly important. In the process of product iteration and upgrading, both old and new vulnerabilities discovered and new security compliance requirements of customers need to be repaired reasonably and effectively, and generally patches for security compliance / vulnerability repair are provided for on-site use. At present, the more common practice in the industry is that the product operation and maintenance party directly obtains the repair and upgrade patch of the component affected by a vulnerability from the official distribution channel of the component. The official repair channel will produce corresponding adaptive patches based on different operating systems. Patches are essentially codes for fixing vulnerabilities, and hardening patches ensure that these repair codes are executed correctly and the corresponding vulnerabilities no longer exist. Products that need to fix a vulnerability must obtain the correct patch by themselves, evaluate the rationality and security of the patch, and integrate and test the patch by themselves. Therefore, the delivery and execution of existing security patches have the problems of poor patch operation compatibility and difficulty in patch hardening operations. Summary of the invention

[0003] The embodiments of the present invention provide a patch reinforcement method and device to at least solve the problems of poor patch running compatibility and great difficulty in patch reinforcement operation in the related art.

[0004] According to one embodiment of the present invention, a patch reinforcement method is provided, comprising: a security reinforcement container receives an uploaded reinforcement package, wherein the reinforcement package includes a patch code and a control script; after the security reinforcement container is connected to an operation and maintenance management (OMM) node, the security reinforcement container transmits the reinforcement package to the OMM node; after the OMM node logs in to a corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced.

[0005] According to another embodiment of the present invention, a patch reinforcement device is provided, comprising: a security reinforcement container and an operation maintenance management (OMM) node, wherein the security reinforcement container is configured to receive an uploaded reinforcement package and transmit the reinforcement package to the OMM node after connecting to the OMM node, wherein the reinforcement package includes a patch code and a control script; the OMM node is configured to transmit the reinforcement package to the corresponding node to be reinforced after logging in to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced.

[0006] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0007] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0008] Through the present invention, a patch reinforcement method is provided, wherein the uploaded reinforcement package is received through a secure reinforcement container, wherein the reinforcement package includes a patch code and a control script; after the secure reinforcement container is connected to the OMM node, the secure reinforcement container transmits the reinforcement package to the OMM node; after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced. The problem of poor patch operation compatibility and high difficulty of patch reinforcement operation in the related art is solved, and the effect of improving patch operation compatibility and reducing the difficulty of patch reinforcement operation is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a hardware structure block diagram of a computer terminal of a patch reinforcement method according to an embodiment of the present invention;

[0010] Figure 2 is a flow chart of patch reinforcement according to an embodiment of the present invention;

[0011] Figure 3 is a flow chart of patch reinforcement according to an embodiment of the present invention;

[0012] Figure 4 is a flow chart of patch reinforcement according to an embodiment of the present invention;

[0013] Figure 5 is a flow chart of patch reinforcement according to an embodiment of the present invention;

[0014] Figure 6 is a structural block diagram of a patch reinforcement device according to an embodiment of the present invention;

[0015] Figure 7 1 is a schematic diagram of the structure of a patch reinforcement device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0016] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0017] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0018] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 1 is a hardware structure block diagram of a computer terminal of a patch reinforcement method according to an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0019] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the patch reinforcement method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0020] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0021] In this embodiment, a patch reinforcement method running on the above-mentioned computer terminal is provided. Figure 2 is a flow chart of patch reinforcement according to an embodiment of the present invention, such as Figure 2 As shown, the process includes the following steps:

[0022] Step S202: The security hardening container receives the uploaded hardening package, wherein the hardening package includes a patch code and a control script;

[0023] Step S204, after the security hardening container is connected to the Operation and Maintenance Management (OMM) node, the security hardening container transmits the hardening package to the OMM node;

[0024] Step S206, after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced.

[0025] Through the above steps, the uploaded reinforcement package is received through the security reinforcement container, wherein the reinforcement package includes the patch code and the control script; after the security reinforcement container is connected to the OMM node, the security reinforcement container transmits the reinforcement package to the OMM node; after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced. The problems of poor patch operation compatibility and high difficulty of patch reinforcement operation in the related technology are solved, and the effect of improving patch operation compatibility and reducing the difficulty of patch reinforcement operation is achieved.

[0026] In an exemplary embodiment, before the security hardening container receives the uploaded hardening package, the method also includes: establishing a patch set and sorting out the conflicting dependencies between different patches, wherein the patch code in the hardening package is a patch set; integrating the nodes to be hardened with the same privilege escalation method and password into a group to obtain multiple groups of nodes to be hardened. Figure 3 is a flow chart of patch reinforcement according to an embodiment of the present invention, such as Figure 3 As shown, the process includes the following steps:

[0027] Step S302, establishing a patch set and sorting out the conflicting dependencies between different patches, wherein the patch code in the reinforcement package is the patch set;

[0028] Step S304, integrating the nodes to be reinforced with the same privilege escalation mode and password into one group, and obtaining multiple groups of nodes to be reinforced;

[0029] Step S306: The security hardening container receives the uploaded hardening package, wherein the hardening package includes a patch code and a control script;

[0030] Step S308, after the security hardening container is connected to the operation maintenance management OMM node, the security hardening container transmits the hardening package to the OMM node;

[0031] Step S310, after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced.

[0032] In an exemplary embodiment, the OMM node logs in to the corresponding node to be reinforced, including: creating a public key certificate for the OMM node at the node to be reinforced, and opening up the OMM node's permission to log in to the operation and maintenance account using a private key; the OMM node logs in to the node to be reinforced, elevates the authority to the root user to execute the control script of the reinforcement package, so as to complete the establishment of mutual trust with the node to be reinforced.

[0033] In an exemplary embodiment, after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, including: after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced in the node group to be reinforced, for batch reinforcement of the node group to be reinforced through a patch set.

[0034] In an exemplary embodiment, after executing a control script on the node to be reinforced to run the patch code to patch the node to be reinforced, the method also includes: returning the execution result of the control script from the node to be reinforced to the WEB interface to display the execution result on the WEB interface. Figure 4 is a flow chart of patch reinforcement according to an embodiment of the present invention, such as Figure 4 As shown, the process includes the following steps:

[0035] Step S402, establishing a patch set and sorting out the conflicting dependencies between different patches, wherein the patch code in the reinforcement package is the patch set;

[0036] Step S404, integrating the nodes to be reinforced with the same privilege escalation mode and password into one group, and obtaining multiple groups of nodes to be reinforced;

[0037] Step S406: The security hardening container receives the uploaded hardening package, wherein the hardening package includes a patch code and a control script;

[0038] Step S408, after the security hardening container is connected to the operation maintenance management OMM node, the security hardening container transmits the hardening package to the OMM node;

[0039] Step S410, after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced;

[0040] Step S412, returning the execution result of the control script from the node to be reinforced to the WEB interface, so that the execution result is displayed on the WEB interface.

[0041] In an exemplary embodiment, after executing a control script on the node to be reinforced to run the patch code to patch the node to be reinforced, the method also includes: performing a security check on the patch code used for reinforcement, and if the check result shows that there is a risk, enabling a rollback function to restore the state of the node to be reinforced. Figure 5 is a flow chart of patch reinforcement according to an embodiment of the present invention, such as Figure 5 As shown, the process includes the following steps:

[0042] Step S502, establishing a patch set, and sorting out the conflicting dependencies between different patches, wherein the patch code in the reinforcement package is the patch set;

[0043] Step S504, integrating the nodes to be reinforced with the same privilege escalation mode and password into one group, and obtaining multiple groups of nodes to be reinforced;

[0044] Step S506: The security hardening container receives the uploaded hardening package, wherein the hardening package includes a patch code and a control script;

[0045] Step S508, after the security hardening container is connected to the operation maintenance management OMM node, the security hardening container transmits the hardening package to the OMM node;

[0046] Step S510, after the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced;

[0047] Step S512, returning the execution result of the control script from the node to be reinforced to the WEB interface, so as to display the execution result on the WEB interface;

[0048] Step S514, performing a security check on the patch code used for reinforcement, and if the check result shows that there is a risk, enabling a rollback function to restore the state of the node to be reinforced.

[0049] In actual implementation, the execution order of the above steps S512 and S514 is not strictly limited, and step S514 can be executed first and then step S512.

[0050] In an exemplary embodiment, the reinforcement package further includes a software package management tool RPM.

[0051] Through the description of the above implementation modes, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present invention.

[0052] In this embodiment, a patch reinforcement device is also provided, which is used to implement the above embodiments and preferred implementations, and the descriptions that have been made will not be repeated. Although the devices described in the following embodiments are preferably implemented in software, the implementation in hardware, or a combination of software and hardware, is also possible and conceivable.

[0053] Figure 6 is a structural block diagram of a patch reinforcement device according to an embodiment of the present invention. Figure 6 As shown, the patch reinforcement device 60 includes: a security reinforcement container 610 and an operation and maintenance management OMM node 620, the security reinforcement container 610 is configured to receive an uploaded reinforcement package, and after connecting to the OMM node 620, transmit the reinforcement package to the OMM node 620, wherein the reinforcement package includes a patch code and a control script; the OMM node 620 is configured to transmit the reinforcement package to the node to be reinforced after logging into the corresponding node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced.

[0054] It should be noted that the above-mentioned containers or nodes can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned containers or nodes are all located in the same processor; or the above-mentioned containers or nodes are located in different processors in any combination.

[0055] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0056] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0057] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0058] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0059] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0060] Obviously, those skilled in the art should understand that the above-mentioned modules (containers or nodes) or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present invention is not limited to any specific combination of hardware and software.

[0061] In order to enable those skilled in the art to better understand the technical solution of the present invention, it is described below in conjunction with specific scenario embodiments.

[0062] Scenario Example 1

[0063] The delivery and execution of existing security patches have the following problems:

[0064] 1. The on-site environment is diverse and complex, resulting in compatibility issues in patch operation;

[0065] 2. There are many types of patches and they are dependent on each other, which makes patch reinforcement difficult and poses the risk of misoperation.

[0066] 3. The site is not clear about the safety level of its own environment and cannot clearly identify reinforcement needs.

[0067] The scenario embodiments of the present invention are dedicated to solving the above three problems and propose a set of security reinforcement patch delivery processes, which involve the development of reinforcement tools, the development of patch codes, patch testing and delivery.

[0068] The scenario embodiment of the present invention is a safe and efficient delivery and implementation method for security compliance / vulnerability patches, which has the following main inventive features and advantages compared to other products:

[0069] Compatible with various operating systems and patches: For different versions of various operating systems, the execution script of the present invention will determine the current operating system version and execute the corresponding patch set, and the patch set can overwrite the historical version; the conflicting dependencies of different patches will be sorted out during the development stage and will be released only after passing the test to avoid conflicts between patches affecting compatibility.

[0070] Automated and batched patch reinforcement: The reinforcement tool of the present invention supports batch reinforcement of multiple environments, and environments with the same privilege escalation method and password can be integrated into one group. After the tool executes the control script with system permissions, it will automatically reinforce the patch set.

[0071] Local deployment, real-time and secure execution of patch change management, support patch inspection, reinforcement and rollback functions. Local deployment ensures that the reinforcement tool is stable and controllable. Patch inspection can grasp the status of system security patches in real time, and the rollback function can make the risk of reinforcement patches controllable. If there is an accident, you can roll back to the state before reinforcement.

[0072] Figure 7 is a structural principle diagram of a patch reinforcement device according to an embodiment of the present invention, such as Figure 7 As shown in the figure, in this scenario implementation, the patch reinforcement device is represented in the form of a security reinforcement tool Sec-Inspector, which can implement security reinforcement of each product operating system and its components. The tool serves as a channel to complete the distribution and execution of each product reinforcement script package, and the final result of the script package execution is fed back to the tool for visual display.

[0073] Each network element of the core network needs to continuously perform compliance / vulnerability patch reinforcement work to meet laws and regulations, industry standards and customer requirements to cope with the increasingly complex network security situation. However, there are many types of core network products and network elements, and the on-site security reinforcement items are complicated, the operation is difficult, and the project environment is numerous and complex. The present invention is committed to solving the compliance / vulnerability patch reinforcement work safely and efficiently, so the Sec-Inspector security reinforcement tool is developed, which is mainly used for the integration and tool automation of security patch reinforcement.

[0074] The main components of the Sec-Inspector architecture are as follows:

[0075] Reinforcement package: integrated security patches and scripts. The script controls the execution of security patch code, modifies system configuration or loads the corresponding software package management tool RPM package.

[0076] WEB interface: a graphical interface for performing interactions;

[0077] In the actual implementation process, the WEB interface can be used to import reinforcement packages, configure and execute reinforcement operations, export reinforcement results, etc.

[0078] Inspector container: The security hardening tool runs in the Inspector container;

[0079] In the actual implementation process, the Inspector container can run on the local operation and maintenance system, which includes at least one of the following: cloud network operation and maintenance management platform (Operation Technology Component Platform, OTCP); Linux system; Windows system.

[0080] OMM node: A proxy server used to link the communication between the Inspector container and the hardened node (group).

[0081] Nodes (groups) to be reinforced: target nodes (groups) to be reinforced

[0082] The main workflow of Sec-Inspector is as follows:

[0083] a. WEB interface -> Inspector container: The hardening package is triggered by the upload action in the WEB interface and is actually uploaded to the Inspector container. The hardening package mainly includes three parts: control script, patch code and RPM package management package. The control script is the hub, and selects the corresponding patch to execute according to the function selected by the user. The patch code is the specific patch content, which generally modifies the system configuration or executes the RPM package installation. The RPM package is the official repair software package to be used, which is used for component version update.

[0084] b. Inspector container -> OMM node: Test connection action trigger, transfer the reinforcement package to the operation and maintenance management OMM node.

[0085] c. OMM node -> node to be reinforced: create a task action trigger, establish mutual trust with multiple reinforced nodes in batches, and then transfer the reinforcement package to the node to be reinforced. The steps to establish mutual trust are mainly to create a public key certificate for the OMM node on the node to be reinforced, and allow the OMM node to log in to the operation and maintenance account using the corresponding private key. After the OMM node logs in to the node to be reinforced, it will be elevated to the root user to execute the control script of the reinforcement package, thereby establishing a stable trust relationship for subsequent reinforcement.

[0086] d. Hardening node->OMM node->Inspector container->WEB interface: Triggered when script execution ends, the script execution result is returned and a report is generated for display on the WEB page.

[0087] The application scenarios of the patch reinforcement method and device provided in this scenario embodiment are as follows: Local use: The Sec-Inspector security reinforcement tool is deployed locally on the operation and maintenance side, which is stable and controllable. Patch changes can be implemented in real time. The reinforcement script has inspection, reinforcement and rollback functions, which can timely grasp the system security and reinforcement status. If the patch has risks, the rollback function can also be enabled to restore the system status.

[0088] Batch reinforcement: Sec-Inspector security reinforcement tool can perform reinforcement tasks on multiple systems in batches. Multiple systems with the same privilege escalation method can be integrated into a node group to be reinforced. Batch reinforcement of multiple systems can greatly improve the execution efficiency of on-site security patch changes.

[0089] The patch reinforcement method and device provided by the present invention can be applied to common application scenarios in the process of software update iteration. Any product will involve updates and iterations before it reaches the end of its life. For small-scale hot patches, security compliance / vulnerability patches, the tool of the present invention can be used for safe and efficient release.

[0090] The patch reinforcement method and device provided by the present invention can complete this part of the general work more efficiently, and focus on the screening, evaluation, testing and release of patches, and even the development of custom patches, so as to complete the patch change work safely and efficiently. For security patch developers and testers, the security patch is integrated and inherits all the features of the previous version. Developers / testers only need to continuously update the security patch versions based on different operating systems and maintain the RPM package dependencies within the patch to complete the development and testing of the security patch safely and efficiently, thereby greatly improving work efficiency. For on-site operation and maintenance personnel, the Inspector tool is used for reinforcement. The graphical interface and batch and automated reinforcement functions of the Inspector tool not only reduce the difficulty and workload of on-site security reinforcement, but also reduce the risk of misoperation, improve the quality of security reinforcement, and make patch reinforcement work safe and efficient.

[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A patch reinforcement method, It is characterized in that include: The security hardening container receives an uploaded hardening package, wherein the hardening package includes a patch code and a control script; After the security hardening container is connected to the operation maintenance management OMM node, the security hardening container transmits the hardening package to the OMM node; After the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, so that the control script is executed on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced.

2. The method according to claim 1, It is characterized in that Before the security hardening container receives the uploaded hardening package, the method further includes: Establishing a patch set and sorting out the conflicting dependencies between different patches, wherein the patch code in the reinforcement package is the patch set; The nodes to be reinforced with the same privilege escalation mode and password are integrated into one group to obtain multiple groups of nodes to be reinforced.

3. The method according to claim 1, It is characterized in that The OMM node logs in to the corresponding node to be reinforced, including: Create a public key certificate for the OMM node at the node to be reinforced, and enable the OMM node to log in to the operation and maintenance account using a private key; The OMM node logs in to the node to be reinforced, elevates authority to a root user and executes the control script of the reinforcement package to complete the establishment of mutual trust with the node to be reinforced.

4. The method according to claim 3, It is characterized in that After the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced, including: After the OMM node logs in to the corresponding node to be reinforced, the OMM node transmits the reinforcement package to the node to be reinforced in the node group to be reinforced, so as to perform batch reinforcement on the node group to be reinforced through the patch set.

5. The method according to claim 1, It is characterized in that After executing the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced, the method further includes: The execution result of the control script is returned from the node to be reinforced to the WEB interface so that the execution result is displayed on the WEB interface.

6. The method according to claim 1, It is characterized in that After executing the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced, the method further includes: A security check is performed on the patch code used for reinforcement. If the check result shows that there is a risk, a rollback function is enabled to restore the state of the node to be reinforced.

7. The method according to claim 1, It is characterized in that in, The reinforcement package also includes: a software package management tool RPM.

8. A patch reinforcement device, It is characterized in that include: Securely reinforce containers and operate, maintain and manage OMM nodes. The security reinforcement container is configured to receive an uploaded reinforcement package and transmit the reinforcement package to the OMM node after connecting with the OMM node, wherein the reinforcement package includes a patch code and a control script; The OMM node is configured to transmit the reinforcement package to the corresponding node to be reinforced after logging in to the node to be reinforced, so as to execute the control script on the node to be reinforced to run the patch code to perform patch reinforcement on the node to be reinforced.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, wherein the computer program implements the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method described in any one of claims 1 to 7 is implemented.