Patch reinforcement method and apparatus
The combination of security hardening containers and OMM nodes solves the problems of poor patch running compatibility and difficulty in hardening operations, achieves safe and efficient patch delivery and execution, and improves the quality and efficiency of hardening.
Patent Information
- Application Number
- PCT/CN2023/139593
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-13
- Filing Date
- 2023-12-18
- Publication Date
- 2024-09-19
AI Technical Summary
In the existing technology, patch operation compatibility is poor and patch reinforcement operations are difficult, resulting in compatibility issues and misoperation risks in the delivery and execution of security patches.
Through the combination of security hardening containers and operation and maintenance management OMM nodes, the uploaded hardening package is received, transmitted to the OMM node, and the control script is executed on the node to be hardened to run the patch code to achieve patch hardening and support batch hardening and automated operations.
It improves patch running compatibility, reduces the difficulty of hardening operations, achieves safe and efficient patch delivery and execution, reduces the risk of misoperation, and improves the quality and efficiency of hardening.
Smart Images

Figure CN2023139593_19092024_PF_FP_ABST
Abstract
Description
Patch reinforcement method and device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on Chinese patent application CN202310290806.8, filed on March 13, 2023, entitled “Patch reinforcement method and device”, and claims the priority of the patent application. All the disclosed contents are incorporated into this application by reference. Technical Field
[0003] The embodiments of the present disclosure relate to the field of product security, and more specifically, to a patch reinforcement method and device. Background Art
[0004] The continuous advancement of cybersecurity technology has made product security increasingly important. During product iterations and upgrades, both discovered and existing vulnerabilities, as well as new customer security compliance requirements, require effective and appropriate remediation. This typically involves providing security compliance / vulnerability fix patches for field use. Currently, the industry's most common practice is for product operators to obtain patch upgrades for affected components directly from the official distribution channels. Official remediation channels produce adapted patches based on different operating systems. Patches are essentially code that fixes vulnerabilities, while hardening patches ensure that these fixes are correctly executed and the corresponding vulnerabilities are eliminated. Products requiring vulnerability fixes must independently obtain the correct patch, evaluate its appropriateness and security, and integrate and test it. Consequently, the delivery and implementation of security patches in some cases present challenges such as poor patch compatibility and the difficulty of hardening patches.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a patch reinforcement method and apparatus to at least solve the problems of poor patch operation compatibility and difficulty in patch reinforcement operations in some situations.
[0007] According to one embodiment of the present disclosure, a patch reinforcement method is provided, comprising: a secure reinforcement container receiving an uploaded reinforcement package, wherein the reinforcement package includes a patch code and a control script; after the secure reinforcement container is connected to an operation, maintenance and management (OMM) node, the secure 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 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.
[0008] According to another embodiment of the present disclosure, a patch reinforcement device is provided, comprising: a secure reinforcement container and an operation, maintenance and management (OMM) node, wherein the secure reinforcement container is configured to receive an uploaded reinforcement package and, after connecting to the OMM node, transmit the reinforcement package to the OMM node, wherein the reinforcement package includes a patch code and a control script; and the OMM node is configured to transmit the reinforcement package to the corresponding node to be reinforced after logging into 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.
[0009] According to another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.
[0010] According to another embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] FIG1 is a hardware structure block diagram of a computer terminal of a patch reinforcement method according to an embodiment of the present disclosure;
[0012] FIG2 is a flow chart of patch reinforcement according to an embodiment of the present disclosure;
[0013] FIG3 is a flow chart of patch reinforcement according to an embodiment of the present disclosure;
[0014] FIG4 is a flow chart of patch reinforcement according to an embodiment of the present disclosure;
[0015] FIG5 is a flow chart of patch reinforcement according to an embodiment of the present disclosure;
[0016] FIG6 is a structural block diagram of a patch reinforcement device according to an embodiment of the present disclosure;
[0017] FIG7 is a schematic diagram of the structure of a patch reinforcement device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and in combination with embodiments.
[0019] It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0020] 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 is a hardware structure block diagram of a computer terminal of a patch reinforcement method of an embodiment of the present disclosure. As shown in Figure 1, the computer terminal may include one or more (only one is shown in Figure 1) processors 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 and output device 108 for communication functions. It can be understood by those skilled in the art that the structure shown in Figure 1 is only for illustration, and it does not limit the structure of the above-mentioned computer terminal. For example, the mobile terminal may also include more or fewer components than those shown in Figure 1, or have a configuration different from that shown in Figure 1.
[0021] 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 disclosure. 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-mentioned 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 located 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.
[0022] The transmission device 106 is used to receive or transmit data via a network. Examples of such networks may include wireless networks provided by a computer terminal's communications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0023] In this embodiment, a patch reinforcement method running on the above-mentioned computer terminal is provided. FIG2 is a flowchart of patch reinforcement according to an embodiment of the present disclosure. As shown in FIG2 , the process includes the following steps:
[0024] Step S202: The security hardening container receives the uploaded hardening package, wherein the hardening package includes patch code and control script;
[0025] 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.
[0026] 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 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.
[0027] Through the above steps, the secure hardening container receives the uploaded hardening package, which includes the patch code and control script. After the secure hardening container connects to the OMM node, it transmits the hardening package to the OMM node. After the OMM node logs in to the corresponding node to be hardened, the OMM node transmits the hardening package to the node to be hardened, so that the control script can be executed on the node to run the patch code and harden the node to be hardened. This solves the problems of poor patch compatibility and difficulty in patch hardening operations in some cases, achieving the effect of improving patch compatibility and reducing the difficulty of patch hardening operations.
[0028] 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 the patch set; and 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 flowchart of patch hardening according to an embodiment of the present disclosure. As shown in Figure 3, the process includes the following steps:
[0029] Step S302: Create a patch set and sort out the conflicting dependencies between different patches. The patch code in the reinforcement package is the patch set.
[0030] Step S304: The nodes to be reinforced that have the same privilege escalation method and password are grouped together to obtain multiple groups of nodes to be reinforced.
[0031] Step S306: The security hardening container receives the uploaded hardening package, wherein the hardening package includes the patch code and the control script;
[0032] Step S308: After the security hardening container is connected to the operation, maintenance and management (OMM) node, the security hardening container transmits the hardening package to the OMM node.
[0033] 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 that the control script is executed on the node to be reinforced to run the patch code to patch the node to be reinforced.
[0034] 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 on the node to be reinforced, and opening up the permission for 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 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.
[0035] 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 group of nodes to be reinforced, for batch reinforcement of the group of nodes to be reinforced through a patch set.
[0036] 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 further includes: returning the execution result of the control script from the node to be reinforced to a web interface to display the execution result on the web interface. Figure 4 is a flowchart of patch reinforcement according to an embodiment of the present disclosure. As shown in Figure 4, the process includes the following steps:
[0037] Step S402: Create a patch set and sort out the conflicting dependencies between different patches. The patch code in the reinforcement package is the patch set.
[0038] Step S404: The nodes to be reinforced that have the same privilege escalation method and password are grouped together to obtain multiple groups of nodes to be reinforced.
[0039] Step S406: The security hardening container receives the uploaded hardening package, wherein the hardening package includes the patch code and the control script;
[0040] Step S408: After the security hardening container is connected to the operation, maintenance and management (OMM) node, the security hardening container transmits the hardening package to the OMM node.
[0041] 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 that the control script is executed on the node to run the patch code to patch the node to be reinforced;
[0042] Step S412: Return 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.
[0043] In one 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 further includes: performing a security check on the patch code used for reinforcement. If the check result indicates that there is a risk, a rollback function is activated to restore the state of the node to be reinforced. Figure 5 is a flowchart of patch reinforcement according to an embodiment of the present disclosure. As shown in Figure 5, the process includes the following steps:
[0044] Step S502: Create a patch set and sort out the conflicting dependencies between different patches. The patch code in the reinforcement package is the patch set.
[0045] Step S504: The nodes to be reinforced with the same privilege escalation method and password are grouped together to obtain multiple groups of nodes to be reinforced.
[0046] Step S506: The security hardening container receives the uploaded hardening package, wherein the hardening package includes the patch code and the control script;
[0047] Step S508: After the security hardening container is connected to the operation, maintenance and management (OMM) node, the security hardening container transmits the hardening package to the OMM node.
[0048] 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 that a control script is executed on the node to be reinforced to run the patch code to patch the node to be reinforced;
[0049] Step S512: Return 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;
[0050] Step S514: Perform a security check on the patch code used for reinforcement. If the check result shows that there is a risk, enable a rollback function to restore the state of the node to be reinforced.
[0051] 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.
[0052] In an exemplary embodiment, the reinforcement package further includes a software package management tool RPM.
[0053] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD-ROM), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the method described in the embodiment of the present disclosure.
[0054] In this embodiment, a patch reinforcement device is also provided, which is used to implement the above embodiments and preferred implementations. Details that have already been described will not be repeated. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
[0055] Figure 6 is a structural block diagram of a patch reinforcement device according to an embodiment of the present disclosure. As shown in Figure 6, the patch reinforcement device 60 includes: a secure reinforcement container 610 and an operation, maintenance and management OMM node 620. The secure 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 corresponding node to be reinforced after logging into 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.
[0056] It should be noted that the above-mentioned containers or nodes can be implemented through 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.
[0057] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.
[0058] 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.
[0059] An embodiment of the present disclosure further provides 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.
[0060] 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.
[0061] 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 here.
[0062] Obviously, the modules (containers or nodes) or steps of the above-mentioned embodiments of the present disclosure can be implemented using a general-purpose 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 using program codes executable by the 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 performed in a different order than herein, 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. Thus, the embodiments of the present disclosure are not limited to any specific combination of hardware and software.
[0063] In order to enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the following is an elaboration with reference to scenario embodiments.
[0064] Scenario Example 1
[0065] The delivery and implementation of security patches in some situations present the following problems:
[0066] 1. The diverse and complex on-site environments lead to compatibility issues in patch execution;
[0067] 2. The large variety of patches and their dependencies make patch hardening difficult and increase the risk of incorrect operation.
[0068] 3. The site is not clear about the safety level of its own environment and cannot clearly identify reinforcement needs.
[0069] The embodiments of the disclosed scenarios are dedicated to solving the above three problems and propose a set of security hardening patch delivery processes, which involve the development of hardening tools, the development of patch codes, and the testing and delivery of patches.
[0070] The embodiments of the disclosed scenarios are a safe and efficient method for delivering and implementing security compliance / vulnerability patches. Compared with other products, they have the following main features and advantages:
[0071] Compatible with various operating systems and patches: For different versions of various operating systems, the execution script of the embodiment of the present disclosure will determine the current operating system version and execute the corresponding patch set, and the patch set can overwrite historical versions; the conflicting dependencies of different patches will be sorted out during the development stage and will only be released after passing the test to avoid conflicts between patches affecting compatibility.
[0072] Automated and batched patch hardening: The hardening tool in this embodiment supports batch hardening of multiple environments, grouping environments with the same privilege escalation method and password. The tool automatically hardens the patch set after executing the control script with system privileges.
[0073] Local deployment enables real-time and secure patch change management, supporting patch checking, hardening, and rollback. Local deployment ensures stable and controllable hardening tools. Patch checking provides real-time visibility into the current status of system security patches, while rollback ensures risk management for hardening patches, allowing users to roll back to their pre-hardening state in the event of an unexpected situation.
[0074] Figure 7 is a schematic diagram of the structure of a patch hardening device according to an embodiment of the present disclosure. In this implementation, the patch hardening device is represented by the Sec-Inspector tool, a security hardening tool that can implement security hardening for each product's operating system and its components. The tool serves as a channel for issuing and executing hardening scripts for each product. The final results of the script execution are fed back to the tool for visual display.
[0075] Each core network element must continuously implement compliance and vulnerability patch reinforcement to meet laws, regulations, industry standards, and customer requirements, addressing the increasingly complex network security landscape. However, given the diverse product and element types within the core network, on-site security reinforcement requirements are complex, operationally challenging, and operating in diverse and complex project environments. The disclosed embodiments are dedicated to safely and efficiently addressing compliance and vulnerability patch reinforcement. Therefore, the Sec-Inspector security reinforcement tool has been developed, primarily for security patch reinforcement integration and tool automation.
[0076] The main components of the Sec-Inspector architecture are as follows:
[0077] 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.
[0078] WEB interface: a graphical interface for interactive execution;
[0079] During the actual implementation process, the WEB interface can be used to import reinforcement packages, configure and execute reinforcement operations, export reinforcement results, etc.
[0080] Inspector container: The security hardening tool runs in the Inspector container;
[0081] In actual implementation, the Inspector container can run on a local operation and maintenance system, which includes at least one of the following: a cloud-based network operation and maintenance management platform (Operation Technology Component Platform, OTCP); a Linux system; or a Windows system.
[0082] OMM node: A proxy server used to link the communication between the Inspector container and the hardened node (group).
[0083] Nodes (groups) to be reinforced: target nodes (groups) to be reinforced
[0084] The main workflow of Sec-Inspector is as follows:
[0085] a. Web Interface -> Inspector Container: The hardening package is uploaded to the Inspector container when the upload action is triggered in the web interface. The hardening package mainly consists of three parts: a control script, patch code, and RPM package management package. The control script is the core component, selecting and executing the corresponding patch based on the user's selected functions. The patch code contains the specific patch content, which generally modifies the system configuration or executes the RPM package installation. The RPM package is the official patch package to be used for component version updates.
[0086] b. Inspector container->OMM node: The test connection action is triggered and the reinforcement package is transmitted to the operation and maintenance management (OMM) node.
[0087] c. OMM node -> node to be reinforced: Create a task action trigger to establish mutual trust with multiple reinforced nodes in batches, then transfer the reinforcement package to the node to be reinforced. This trust establishment primarily involves creating a public key certificate for the OMM node on the node to be reinforced and allowing the OMM node to log in to the O&M account using the corresponding private key. After the OMM node logs in to the node to be reinforced, it elevates privileges to the root user and executes the reinforcement package's control script, thus establishing a stable trust relationship for subsequent reinforcement.
[0088] d. Reinforcement node -> OMM node -> Inspector container -> WEB interface: Triggered when script execution ends, the script execution results are returned and a report is generated for display on the WEB page.
[0089] The patch hardening method and device provided in this embodiment are applicable in the following scenarios: Local Use: The Sec-Inspector security hardening tool is deployed locally at the operation and maintenance site, providing stability and control. Patch changes can be implemented in real time. The hardening script includes inspection, hardening, and rollback functions, enabling timely monitoring of system security and hardening status. If a patch presents a risk, a rollback function can be enabled to restore the system state.
[0090] Batch hardening: Sec-Inspector security hardening tool can perform hardening tasks on multiple systems in batches. Multiple systems with the same privilege escalation method can be consolidated into a node group to be hardened. Batch hardening of multiple systems can greatly improve the efficiency of executing security patch changes on site.
[0091] The patch reinforcement method and apparatus provided by the embodiments of this disclosure are applicable to common scenarios during software updates and iterations. Any product will require updates and iterations before reaching the end of its lifecycle. Smaller hotfixes, security compliance patches, and vulnerability patches can be released safely and efficiently using the tools of the embodiments of this disclosure.
[0092] The patch reinforcement method and device provided by the embodiments of the present disclosure 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 patches are integrated and inherit all the features of previous versions. Developers / testers only need to continuously update the security patch versions based on different operating systems and maintain the RPM package dependencies within the patches to complete the development and testing of security patches 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.
[0093] The above description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure should be included within the scope of protection of the present disclosure.
Claims
1. A patch reinforcement method, comprising: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: The reinforcement package also includes: a software package management tool RPM.
8. A patch reinforcement device, comprising: 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 having a computer program stored therein, wherein: When the computer program is executed by a processor, the method described in any one of claims 1 to 7 is implemented.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
Citation Information
Patent Citations
Cluster plug-in upgrading method and device and server
CN112860282A
Distributed edge node operating system upgrading system
CN114840243A
K3s-based data medium-station private deployment method and K3s-based data medium-station private deployment system
CN115629771A
Automation Controller For Upgrading An IT Infrastructure
US20210271467A1
