Operation and maintenance method and device for computing equipment

By installing a lightweight operation and maintenance device on the computing device, the device obtains operation and maintenance tasks from the task center and executes them before or during the operating system startup, it solves the problem of large size of the operation and maintenance agent installation files in the prior art and cannot perform operation and maintenance before or during the operating system startup, and realizes rapid installation and full life cycle operation and maintenance.

CN119917365APending Publication Date: 2025-05-02HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311426973.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-30
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In the prior art, the operation and maintenance agent installation file of the computing device is large in size, which limits the number of operation and maintenance tasks executed by the agent. The agent only works after the operating system is started, and cannot operate and maintain before or during startup.

Method used

By installing a lightweight operation and maintenance device on the computing device, the device acquires operation and maintenance tasks from the task center, reducing the volume of installation files, and performs operation and maintenance tasks before or during the operating system startup.

Benefits of technology

It realizes the rapid installation of operation and maintenance devices and the execution of a variety of operation and maintenance tasks, covering the entire life cycle of computing devices from power-on to power-off.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917365A_ABST
    Figure CN119917365A_ABST
Patent Text Reader

Abstract

The invention discloses a computing equipment operation and maintenance method and device. The method is used for carrying out operation and maintenance operation on computing equipment by using an operation and maintenance system, the operation and maintenance system comprises an operation and maintenance device and a task center, the operation and maintenance device is installed on the computing equipment, the task center comprises a plurality of operation and maintenance tasks to be executed, and the operation and maintenance device is connected with the task center through a network; the method comprises the steps that an operation and maintenance device obtains a first operation and maintenance task in multiple operation and maintenance tasks from a task center; and the operation and maintenance device executes the first operation and maintenance task to perform first operation and maintenance operation on the computing equipment. According to the method, the installation speed of the operation and maintenance device can be increased, and the operation and maintenance device can execute more operation and maintenance tasks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a computing device operation and maintenance method and apparatus. Background Art

[0002] With the popularization of information technologies such as live webcasting, online meetings, online education, and remote office, there are more and more digital products. This has led to the operation and maintenance work to ensure the stable operation of digital products becoming more and more complicated. The specifications of the computing equipment clusters that need to be operated and maintained have also grown from small-scale clusters of hundreds of units to large-scale and complexly organized data centers. In order to efficiently operate and maintain data centers, agents are installed on the computing devices in the data center. Through agents, operation and maintenance personnel can realize automated, coded, and process-based operation and maintenance work, greatly improving operation and maintenance efficiency.

[0003] Currently, an agent installation file is formulated based on the operation and maintenance task to be performed, and the installation file is installed in the computing device. There are several ways to install the agent in the computing device.

[0004] A. Using the virtual machine (VM) with the agent installed as a template, create a virtual machine with the agent installed.

[0005] B, including the agent into the installation file of the operating system, and installing the agent on the computing device by installing the operating system for the computing device;

[0006] C. After the operating system of the computing device is started, an agent installation script is injected into the operating system, and the operating system installs the agent on the computing device by executing the script.

[0007] In order to quickly start the computing device and install the agent, it is necessary to control the size of the agent installation file. Controlling the size of the installation file limits the number of operation and maintenance tasks performed by the agent, resulting in operation and maintenance limitations. In addition, the agent only works after the operating system is started, resulting in the inability to implement the operation and maintenance required before and during the startup of the operating system through the agent. Summary of the invention

[0008] The embodiments of the present application provide a computing device operation and maintenance method and apparatus, which can improve the installation speed of the operation and maintenance apparatus while enabling the operation and maintenance apparatus to perform more operation and maintenance tasks.

[0009] In a first aspect, a computing device operation and maintenance method is provided, the method being used to perform operation and maintenance operations on the computing device using an operation and maintenance system, the operation and maintenance system comprising an operation and maintenance device and a task center, the operation and maintenance device being installed on the computing device, the task center comprising a plurality of operation and maintenance tasks to be executed, the operation and maintenance device and the task center being connected via a network; the method comprising: the operation and maintenance device acquiring a first operation and maintenance task among a plurality of operation and maintenance tasks from the task center; the operation and maintenance device executing the first operation and maintenance task to perform a first operation and maintenance operation on the computing device.

[0010] In this method, the operation and maintenance device obtains the operation and maintenance tasks from the task center, so that the installation file of the operation and maintenance device does not include the operation and maintenance tasks, thereby reducing the size of the installation file of the operation and maintenance device, achieving the lightweight of the operation and maintenance device, and improving the installation speed. In addition, the operation and maintenance tasks in the task center can be registered by users or businesses in the task center, so that the operation and maintenance tasks performed by the operation and maintenance device are scalable and customizable.

[0011] In one possible implementation, an operation and maintenance apparatus is installed on a computing device before the operating system of the computing device is started; the operation and maintenance apparatus obtains a first operation and maintenance task among multiple operation and maintenance tasks from a task center, including: obtaining the first operation and maintenance task from the task center before the operating system of the computing device is started; the operation and maintenance apparatus executes the first operation and maintenance task to perform operation and maintenance operations on the computing device, including: executing the first operation and maintenance task before the operating system of the computing device is started, wherein the first operation and maintenance task includes updating the installation files of the operating system of the computing device, repairing the installation files of the operating system of the computing device, recording the hardware information of the computing device, and at least one of software and hardware authentication.

[0012] In this implementation, the computing device can be operated and maintained before the operating system of the computing device, thereby realizing operation and maintenance throughout the entire life cycle of the computing device from startup to shutdown.

[0013] In one possible implementation, an operation and maintenance apparatus is installed on a computing device before the operating system of the computing device is started; the operation and maintenance apparatus obtains a first operation and maintenance task among multiple operation and maintenance tasks from a task center, including: obtaining the first operation and maintenance task from the task center before the operating system of the computing device is started; executing the first operation and maintenance task during the startup of the operating system of the computing device; the first operation and maintenance task includes recording at least one of the startup process of the operating system, controlling the startup steps of the operating system, and recording the hardware information of the computing device.

[0014] In this implementation, the computing device can be operated and maintained during the operation of the computing device's operating system, thereby speeding up or optimizing the startup process of the operating system.

[0015] In a possible implementation, the method further includes: the computing device adding the operation and maintenance apparatus to a device list of an operating system of the computing device, so that the operating system of the computing device recognizes and controls the operation and maintenance apparatus.

[0016] In this implementation, the operating system of the computing device can be made to recognize the operation and maintenance device, so that the operation and maintenance device can be controlled to perform operation and maintenance operations during the operation phase of the operating system.

[0017] In one possible implementation, the computing device is a physical machine, and the method further includes: creating a virtual computing instance on the computing device; associating a device list with an operating system of the virtual computing instance so that the operating system of the virtual computing instance recognizes and controls the devices in the device list.

[0018] In this implementation, the operation and maintenance device installed on the physical machine can be used by the virtual computing instance on the physical machine, so there is no need to install an operation and maintenance device separately for the virtual computing instance on the physical machine, thereby improving the startup speed of the virtual computing instance.

[0019] In a possible implementation, the operation and maintenance device is hardware installed on a computing device, wherein the hardware is pluggable on the computing device.

[0020] In this implementation, the operation and maintenance device can be implemented as hardware, and the hardware can be installed on or uninstalled from the computing device by plugging and unplugging, which facilitates the installation and replacement of the operation and maintenance device.

[0021] In one possible implementation, the method further includes: the task center creates a second operation and maintenance task in response to a task creation instruction; the operation and maintenance device obtains the second operation and maintenance task from the task center; and the operation and maintenance device executes the second operation and maintenance task to perform a second operation and maintenance operation on the computing device.

[0022] In this implementation, the operation and maintenance task can be freely customized in the task center through the task creation instruction. The operation and maintenance device can obtain the task from the task center and execute the task.

[0023] In one possible implementation, the method further includes: after the operating system of the computing device is started, the operation and maintenance device obtains a third operation and maintenance task from a task center among multiple operation and maintenance tasks; the operation and maintenance device executes the third operation and maintenance task to perform a third operation and maintenance operation on the computing device.

[0024] In a second aspect, an operation and maintenance device is provided. The operation and maintenance system in which the operation and maintenance device is located includes a task center. The operation and maintenance device is installed on a computing device. The task center includes multiple operation and maintenance tasks to be executed. The operation and maintenance device and the task center are connected via a network. The operation and maintenance device includes: an acquisition module for acquiring a first operation and maintenance task among multiple operation and maintenance tasks from the task center; and an execution module for executing the first operation and maintenance task to perform a first operation and maintenance operation on the computing device.

[0025] In one possible implementation, the operation and maintenance device is installed on the computing device before the operating system of the computing device is started; the acquisition module is used to: obtain a first operation and maintenance task from a task center before the operating system of the computing device is started; the execution module is used to: execute the first operation and maintenance task before the operating system of the computing device is started, wherein the first operation and maintenance task includes updating the installation files of the operating system of the computing device, repairing the installation files of the operating system of the computing device, recording the hardware information of the computing device, and at least one of software and hardware authentication.

[0026] In one possible implementation, the operation and maintenance device is installed on the computing device before the operating system of the computing device is started; the acquisition module is used to: obtain a first operation and maintenance task from a task center before the operating system of the computing device is started; the execution module is used to: execute the first operation and maintenance task during the startup of the operating system of the computing device; the first operation and maintenance task includes recording at least one of the startup process of the operating system, controlling the startup steps of the operating system, and recording the hardware information of the computing device.

[0027] In a third aspect, a computing device cluster is provided, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster executes the method provided in the first aspect.

[0028] In a fourth aspect, a computer-readable storage medium is provided, comprising computer program instructions. When the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method provided in the first aspect.

[0029] In a fifth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computer device cluster, the computer device cluster executes the method provided in the first aspect.

[0030] The beneficial effects of the second to fifth aspects can be referred to the above introduction to the beneficial effects of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A schematic diagram of a system architecture provided in an embodiment of the present application;

[0032] Figure 2 A flowchart of an operation and maintenance solution provided for an embodiment of the present application;

[0033] Figure 3 A schematic diagram of an operation and maintenance solution provided in an embodiment of the present application;

[0034] Figure 4 A schematic diagram of an operation and maintenance solution provided in an embodiment of the present application;

[0035] Figure 5 A flowchart of an operation and maintenance method provided in an embodiment of the present application;

[0036] Figure 6 A flowchart of an operation and maintenance method provided in an embodiment of the present application;

[0037] Figure 7 A schematic diagram of the structure of an operation and maintenance device provided in an embodiment of the present application;

[0038] Figure 8 A schematic diagram of the structure of a computing device provided in an embodiment of the present application;

[0039] Fig. 9 A schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;

[0040] Fig.10 A schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The scheme provided by the embodiment of the present application will be described below in conjunction with the accompanying drawings. In the embodiment of the present application, "plurality" refers to two or more than two. "First", "second", etc. are only used to distinguish similar objects and are not necessarily used to describe a specific order or number of objects.

[0042] To facilitate understanding of the solutions provided by the embodiments of the present application, some technical terms that may be involved in the embodiments of the present application are first introduced before the solutions provided by the embodiments of the present application are introduced.

[0043] Virtual computing instance: also known as virtual computing device or computing instance, refers to a complete computer system with a complete hardware system that is simulated by software and runs in a completely isolated environment. The hardware system of the computing instance is a virtual hardware system obtained by virtualizing the physical hardware. A complete computing instance has an independent virtual computing system (such as CPU) and virtual disk. Among them, the computing instance that needs to communicate with the outside world also has an independent virtual network card. Typical virtual computing instances include virtual machines, containers, bare metal servers (BMS), etc.

[0044] Bare metal server: It is a computing service that combines the performance of elastic cloud servers and physical machines. It provides tenants with exclusive physical servers on the cloud, and provides excellent computing performance and data security for core databases, key application systems, high-performance computing, big data and other businesses. Tenants can apply flexibly and use it on demand.

[0045] In digital-related industries, there are often scenarios where businesses need to be deployed or expanded quickly. This requires the rapid startup of computing devices used to run the business. In order to achieve automated operation and maintenance of computing devices, it is necessary to install agents on the computing devices to perform operation and maintenance tasks. The rapid startup of computing devices requires that the installation files of the agents be kept small. Related technologies include the information of operation and maintenance tasks in the installation files of the agents. Therefore, the small installation files limit the number of operation and maintenance tasks performed by the agents, resulting in operation and maintenance limitations.

[0046] Moreover, operation and maintenance is a task that needs to be performed during the entire life cycle of a computing device. It is not just some work that needs to be done after the operating system is started, but also some work that needs to be done before the operating system is started. For example, in addition to doing operation and maintenance operations, being able to intercept some illegal tasks is also one of the tasks that need to be considered by operation and maintenance. Moreover, in large-scale scenarios, operation and maintenance personnel need to face both virtual machines and computing devices such as BMS or physical machines. It can provide a complete and unified operation and maintenance device installation mode for a wide variety of computing devices, which helps to reduce operation and maintenance costs.

[0047] An operation and maintenance solution for a computing device is provided in an embodiment of the present application. The solution can install a lightweight operation and maintenance device in the computing device. The installation of the operation and maintenance device is quick and time-saving, and has little impact on the startup time of the computing device. The operation and maintenance device connects to the task center via a network and obtains the operation and maintenance tasks from the task center, so that there is no need to include the information of the operation and maintenance tasks in the installation file of the operation and maintenance device, thereby reducing the size of the installation file of the operation and maintenance device. In addition, related businesses or users can register operation and maintenance tasks (such as business-related operation and maintenance tasks) in the task center, realizing the free customization of operation and maintenance tasks. In addition, the operation and maintenance device can complete the startup before the operating system of the computing device is started, so that the operation and maintenance tasks can be executed before and during the startup of the operating system, realizing the operation and maintenance of the computing device throughout the entire life cycle from startup to shutdown.

[0048] Next, the computing device operation and maintenance method provided in the embodiment of the present application is specifically introduced.

[0049] Figure 1 A system architecture provided by an embodiment of the present application is shown. The system architecture includes an operation and maintenance system and at least one computing device, such as computing device 200.

[0050] like Figure 1 As shown, the operation and maintenance system includes a task center 110 and an operation and maintenance device 120. The operation and maintenance device is also called an agent, which is used to implement the operation and maintenance of the target computing device (server, network device, software system), etc., so that the performance of the target computing device itself is adapted to the business executed or to be executed by the target computing device. The operation and maintenance device 120 can be installed on the computing device 200 and connected to the task center 110 through the network.

[0051] The task center 110 is a device, platform or cluster for recording operation and maintenance tasks. The task center 110 is independent of the computing device where the operation and maintenance device 120 is located, and can be used by businesses or users to register operation and maintenance tasks. Specifically, the task center 110 can receive a task creation instruction issued by a user or a business. The task center 110 can respond to the task creation instruction to create and record the operation and maintenance task. For example, a monitoring service can register an operation and maintenance task (for example, an information collector task) for obtaining software and hardware data of a computing device in the task center 110. For another example, an inspection service can register an operation and maintenance task for checking the information of software and hardware of a computing device in the task center 110. For another example, a dialing service can be used in the task center 110 to complete the operation and maintenance task of detecting the reachability of applications in a computing device or other computing devices in the network where the computing device is located. And so on. In this way, a user or a business can create multiple operation and maintenance tasks in the task center 110, such as operation and maintenance task 111, operation and maintenance task 112, operation and maintenance task 113, etc.

[0052] The operation and maintenance device 120 can obtain the operation and maintenance tasks from the task center 110 and execute the operation and maintenance tasks to implement the operation and maintenance operations on the computing device 200. In other words, the operation and maintenance tasks executed by the operation and maintenance device 120 are obtained from the task center 110 after the operation and maintenance device 120 is installed and started. In this way, there is no need to include the operation and maintenance tasks in the installation file of the operation and maintenance device, which realizes a lightweight operation and maintenance device and improves the installation efficiency of the operation and maintenance device.

[0053] In some embodiments, the operation and maintenance device 120 can be implemented by software, that is, the computing device 200 can run the relevant program code of the operation and maintenance device 120, so as to realize the function of the operation and maintenance device 120. In some embodiments, the computing device 200 can be implemented by hardware. Among them, the operation and maintenance device 120 can be set as hardware that can be plugged in and out of the computing device 200. The operation and maintenance device 120 is plugged into the computing device 200 to realize the installation of the operation and maintenance device 120 on the computing device 200.

[0054] The computing device 200 may be any computing device in a data center or a computing device cluster. The data center or computing device cluster includes at least one computing device. Among them, all or part of the computing devices in the data center or computing device cluster are installed with an operation and maintenance device 120, and the operation and maintenance device 120 on each computing device can obtain operation and maintenance tasks from the task center 110, and then perform the operation and maintenance tasks. In this way, the operation and maintenance tasks can be issued or distributed through the task center 110, without including the operation and maintenance tasks in the installation file of the operation and maintenance device, thereby realizing a lightweight operation and maintenance device and improving the installation efficiency of the operation and maintenance device.

[0055] Before the operating system of the computing device 200 is started, the operation and maintenance device 120 can complete the installation and start-up. Figure 2 As shown, in step 201, the computing device 200 is powered on. Then, in step 202, the operation and maintenance device 120 is started. After the operation and maintenance device 120 is started, the corresponding operation and maintenance tasks can be obtained from the task center 110 and the operation and maintenance tasks can be executed. In step 203 after step 202, the operating system of the computing device 200 is started. The operating system that has completed the startup can identify the operation and maintenance device 120, whereby the operating system can control the operation and maintenance device 120, for example, control the operation and maintenance device 120 to obtain one or more operation and maintenance tasks from the task center 110 and execute the operation and maintenance tasks.

[0056] Next, combine Figure 3 , Figure 4 , Figure 5 , taking the installation and operation of the operation and maintenance device 120 in the computing device 200 as an example, the working process of the operation and maintenance device 120 is introduced.

[0057] When the operation and maintenance device 120 is implemented by software, the startup program of the operation and maintenance device 120 is preinstalled in the computing device 200 as firmware, for example, in the complementary metal oxide semiconductor (CMOS) in the south bridge chip (platform controller hub, PCH) of the computing device 200.

[0058] When the operation and maintenance device 120 is implemented by hardware, the startup program of the operation and maintenance device 120 is pre-installed in the hardware of the operation and maintenance device 120 as firmware. In some embodiments, the hardware of the operation and maintenance device 120 is also pre-installed with an installation file of the operation and maintenance device 120. The installation file of the operation and maintenance device 120 can be a script.

[0059] The hardware of the operation and maintenance device 120 may be referred to as operation and maintenance hardware. The startup program of the operation and maintenance device 120 may be referred to as an agent boot application, which includes basic configuration information of the operation and maintenance device 120.

[0060] After the computing device 200 is powered on, the firmware boot loaders are run to load and start the boot firmware of the computing device 200. The boot firmware may be a basic input / output system (BIOS) or a unified extensible firmware interface (UEFI). When the boot firmware is UEFI, the boot firmware includes an original equipment manufacturer UEFI application.

[0061] See also Figure 5 , the boot firmware can execute step 401 to load and start the operation and maintenance device boot application. Specifically, a boot environment is created, and the operation and maintenance device boot application is loaded and started in the boot environment. Among them, when the operation and maintenance device 120 is implemented by software, the boot firmware can obtain the operation and maintenance device boot application preset in the computing device 200. When the operation and maintenance device 120 is implemented by hardware, the boot firmware can obtain the operation and maintenance device boot application from the operation and maintenance hardware inserted in the computing device 200.

[0062] The operation and maintenance device startup application can install and start the operation and maintenance device 120.

[0063] When the operation and maintenance device 120 is first installed on the computing device 200, the operation and maintenance device startup application may execute step 402a to obtain the installation file of the operation and maintenance device 120. Figure 5 As shown, the operation and maintenance device startup application can obtain the installation files of the operation and maintenance device 120 from the operation and maintenance backend. The operation and maintenance backend refers to the backend of the operation and maintenance device 120, which stores the installation files of the operation and maintenance device. Exemplarily, the operation and maintenance device 120 can obtain the address of the operation and maintenance backend (such as a domain name or an IP address) from the basic configuration information, and then, based on the address of the operation and maintenance backend, obtain the installation files of the operation and maintenance device from the operation and maintenance backend. In some embodiments, when the operation and maintenance device 120 is implemented by hardware, the operation and maintenance device startup application can obtain the installation files of the operation and maintenance device 120 from the operation and maintenance hardware.

[0064] When the operation and maintenance device 120 is not installed on the computing device 200 for the first time, the operation and maintenance device startup application can execute step 402b to detect whether there is a new version of the installation file in the operation and maintenance backend. If there is a new version of the installation file, the new version of the installation file is obtained to update the installation file of the operation and maintenance device 120.

[0065] After obtaining the installation file of the operation and maintenance device 120, the operation and maintenance device startup application can install and start the operation and maintenance device 120 in step 403. After the operation and maintenance device 120 is started, it can enter the operation stage. Therefore, the operation and maintenance device 120 can be started and run before starting the operating system of the computing device 200. Among them, for the convenience of description, the operation and maintenance device 120 started by step 403 can be referred to as the operation and maintenance device 120A.

[0066] Before starting the operating system of the computing device 200, the operation and maintenance device 120 (specifically the operation and maintenance device 120A) on the computing device 200 can execute step 404 to obtain the operation and maintenance task 111 from the task center 110. The operation and maintenance task 111 can be a task registered by a business or a user in the task center 110. For example, the identity and access management (IAM) business can send a task creation instruction A1 to the task center 110 in step 301. The task center 110 can create a hardware and software authentication task in response to the task creation instruction A1. For another example, the information collection business can send a task creation instruction A2 to the task center 110 in step 302. The task center 110 can create an information collection task in response to the task creation instruction A2. The information collection task refers to an operation and maintenance task that records the hardware information and / or software information of the computing device. Businesses or users can also send task creation instructions to the task center 110 to create tasks such as updating the installation files of the computing device's operating system or repairing the installation files of the computing device's operating system in the task center 110, which will not be described in detail here.

[0067] In step 405 , the operation and maintenance device 120 (specifically, the operation and maintenance device 120A) on the computing device 200 may execute the operation and maintenance task 111 to perform operation and maintenance operations on the computing device 200 before the operating system of the computing device 200 is started.

[0068] In some embodiments, the operation and maintenance task 111 may include an operation and maintenance task of updating the installation file of the operating system of the computing device. The operation and maintenance device 120 performs the operation and maintenance task, so that the computing device 200 can install a new version of the operating system. In some embodiments, the operation and maintenance task 111 may include an operation and maintenance task of repairing the installation file of the operating system of the computing device. The operation and maintenance device 120 performs the operation and maintenance task, and can modify the vulnerability or error of the operating system of the computing device 200. In some embodiments, the operation and maintenance task 111 may include a task of recording the hardware information of the computing device. The operation and maintenance device 120 performs the operation and maintenance task, and can record and report the hardware information of the computing device 200 to the relevant business or user. In some embodiments, the operation and maintenance task 111 may include an operation and maintenance task of hardware and software authentication. The operation and maintenance device 120 performs the operation and maintenance task, and can authenticate the hardware (such as CPU, memory, disk, etc.) or software (such as operating system) of the computing device 200. If the authentication fails, the startup of the computing device 200 is terminated and the operating system is no longer started.

[0069] After executing the operation and maintenance task 111, the operation and maintenance device 120 may return the task execution result to the business corresponding to the operation and maintenance task 111 through step 406. The operation and maintenance task 111 is a software and hardware authentication task. In step 406, the execution result of the software and hardware authentication task may be returned to the IAM business.

[0070] In some embodiments, when the operation and maintenance device 120 is implemented by software, the operation and maintenance device 120 (specifically, the operation and maintenance device 120A) may execute step 407 to create virtual operation and maintenance hardware. The virtual operation and maintenance hardware is used for the operating system to identify the operation and maintenance device 120 and control the operation and maintenance device 120. In step 407, the operation and maintenance device 120 may be added to a device list. The devices in the device list are devices for the operating system to identify and control, and the device list may be referred to as a device list of the operating system.

[0071] In some embodiments, when the operation and maintenance device 120 is implemented by hardware, the operation and maintenance device 120 (specifically, the operation and maintenance device 120A) can add the operation and maintenance hardware to the device list of the operating system.

[0072] After completing the above operations, the operating system of the computing device 200 may be started.

[0073] In some embodiments, the operation and maintenance device 120 (specifically the operation and maintenance device 120A) may send an instruction to start the operating system to the operating system boot manager of the computing device 200 through step 408. The operating system boot manager may respond to the instruction and execute step 409 to load and start the operating system.

[0074] In some embodiments, during the startup of the operating system of the computing device 200, the operation and maintenance device 120 (specifically the operation and maintenance device 120A) may also perform operation and maintenance tasks. Specifically, during the startup of the operating system of the computing device 200, the operation and maintenance device 120 may obtain the operation and maintenance task 112 from the task center 110 and execute the operation and maintenance task 112. In some embodiments, the operation and maintenance task 112 may include recording the startup process of the operating system and / or recording the hardware information of the computing device. The operation and maintenance device 120 performs the operation and maintenance task to enrich the data of the monitoring business. In some embodiments, the operation and maintenance task 112 includes controlling the startup steps of the operating system. The operation and maintenance device 120 performs the operation and maintenance task to skip some unnecessary steps or processes, or forcibly skip some problematic processes.

[0075] In some embodiments, during the startup of the operating system of the computing device 200, the operation and maintenance device 120 (specifically, the operation and maintenance device 120A) can add a daemon process of the operation and maintenance device in the operating system. The daemon process can monitor the status of the operation and maintenance device 120, and when the operation and maintenance device 120 is in an abnormal state, perform a recovery operation on the operation and maintenance device 120. The daemon process can also update the operation and maintenance device 120 to ensure that the operation and maintenance device 120 can be upgraded to the latest version in a timely manner.

[0076] After completing the startup of the operating system, the computing device 200 enters the operating system running phase.

[0077] During the operating system running phase, the operating system may execute step 501 to load virtual operation and maintenance hardware or operation and maintenance hardware to control the operation and maintenance device 120. The operating system may identify the operation and maintenance device 120 through the device list of the operating system, and load the identified operation and maintenance device 120 as virtual operation and maintenance hardware to control the operation and maintenance device 120. For the convenience of description, the operation and maintenance device 120 controlled by the operating system may be referred to as the operation and maintenance device 120B.

[0078] Under the control of the operating system, the operation and maintenance device 120 (specifically, the operation and maintenance device 120B) can perform operation and maintenance tasks. For example, the operation and maintenance device 120 can obtain the operation and maintenance task 113, such as the information collection task, from the task center 110 in step 502. In step 503, the operation and maintenance device 120 can execute the operation and maintenance task 113 to perform operation and maintenance operations on the computing device 200 after the operating system of the computing device 200 is started. Then, in step 504, the task execution result is returned to the business corresponding to the operation and maintenance task 113, for example, the task execution result is returned to the information collection business.

[0079] In addition, although Figure 5The task registration phase, the device startup phase, and the operating system running phase are shown respectively, but it does not mean that there is a sequential relationship between the task registration phase, the device startup phase, and the operating system running phase. The task registration phase is independent of the device startup phase and the operating system running phase. The task registration phase can be any time period after the task center 110 goes online. That is to say, after the task center 110 is put into use, users or businesses can register tasks in the task center at any time, for example, before the computing device is started, during the computing device startup phase, during the operating system running phase, etc., users or businesses can register tasks in the task center.

[0080] In some embodiments, see Figure 3 or Figure 4 , the computing device 200 is a physical machine. The computing device 200 can be used as a host, and a virtual computing instance, such as a virtual machine, BMS, etc., can be created on the computing device 200. The computing device 200 can associate the device list of the operating system with the virtual computing instance, so that the virtual computing instance can load, start, and the devices in the device list. Among them, the device list includes an operation and maintenance device 120 (specifically virtual operation and maintenance hardware or operation and maintenance hardware), so that the operation and maintenance device 120 is installed in the virtual computing instance, and the operation and maintenance device 120 can perform operation and maintenance operations on the virtual computing instance. For details, please refer to the above introduction of the operation and maintenance operation of the computing device 200 by the operation and maintenance device 120, which will not be repeated here. In this embodiment, by associating the device list of the host machine's operating system with the virtual computing instance, the operation and maintenance device 120 can perform operation and maintenance operations on the virtual computing instance, which saves the installation process of the operation and maintenance device, improves the efficiency of creating virtual computing instances, and thereby improves the efficiency of service deployment or expansion.

[0081] In summary, the operation and maintenance solution provided in the embodiment of the present application installs an operation and maintenance device in a computing device, and the operation and maintenance device obtains the operation and maintenance tasks from the task center, so that the installation file of the operation and maintenance device may not include the operation and maintenance tasks, thereby reducing the volume of the installation file of the operation and maintenance device, achieving the lightweight of the operation and maintenance device, and improving the installation speed. In addition, related businesses or users can register operation and maintenance tasks in the task center, realizing the free customization of operation and maintenance tasks. In addition, the operation and maintenance device can complete the startup before the operating system of the computing device is started, so that the operation and maintenance tasks can be performed before and during the startup of the operating system, realizing the operation and maintenance of the computing device throughout its entire life cycle from startup to shutdown.

[0082] Based on the operation and maintenance scheme described above, an embodiment of the present application provides a computing device operation and maintenance method. The method is used to use an operation and maintenance system to perform operation and maintenance operations on a computing device. The operation and maintenance system includes an operation and maintenance device and a task center. The operation and maintenance device is installed on the computing device. The task center includes multiple operation and maintenance tasks to be performed. The operation and maintenance device and the task center are connected via a network. Figure 6 As shown, the method comprises the following steps:

[0083] Step 601: The operation and maintenance device obtains the first operation and maintenance task from the task center. Figure 5 The introduction and implementation of step 404 and step 502 will not be repeated here.

[0084] Step 602: The operation and maintenance device executes the first operation and maintenance task to perform a first operation and maintenance operation on the computing device. Figure 5 The introduction and implementation of step 405 and step 503 will not be repeated here.

[0085] In some embodiments, the operation and maintenance device is installed on the computing device before the operating system of the computing device is started; the operation and maintenance device obtains the first operation and maintenance task among the multiple operation and maintenance tasks from the task center, including: obtaining the first operation and maintenance task from the task center before the operating system of the computing device is started; the operation and maintenance device executes the first operation and maintenance task to perform operation and maintenance operations on the computing device, including: executing the first operation and maintenance task before the operating system of the computing device is started, wherein the first operation and maintenance task includes updating the installation files of the operating system of the computing device, repairing the installation files of the operating system of the computing device, recording the hardware information of the computing device, and at least one of software and hardware authentication.

[0086] In some embodiments, the operation and maintenance device is installed on the computing device before the operating system of the computing device is started; the operation and maintenance device obtains the first operation and maintenance task among the multiple operation and maintenance tasks from the task center, including: obtaining the first operation and maintenance task from the task center before the operating system of the computing device is started; executing the first operation and maintenance task during the startup of the operating system of the computing device; the first operation and maintenance task includes recording at least one of the startup process of the operating system, controlling the startup steps of the operating system, and recording the hardware information of the computing device.

[0087] In some embodiments, the method further includes: the computing device adding the operation and maintenance device to a device list of an operating system of the computing device, so that the operating system of the computing device recognizes and controls the operation and maintenance device. Figure 5The introduction and implementation of step 407 and step 501 will not be repeated here.

[0088] In some embodiments, the computing device is a physical machine, and the method further includes: creating a virtual computing instance on the computing device; associating the device list with an operating system of the virtual computing instance so that the operating system of the virtual computing instance recognizes and controls the devices in the device list.

[0089] In some embodiments, the operation and maintenance device is hardware installed on the computing device.

[0090] In some embodiments, the method also includes: the task center creates a second operation and maintenance task in response to a task creation indication; the operation and maintenance device obtains the second operation and maintenance task from the task center; and the operation and maintenance device executes the second operation and maintenance task to perform a second operation and maintenance operation on the computing device.

[0091] The embodiment of the present application also provides an operation and maintenance device 700. The operation and maintenance system in which the operation and maintenance device 700 is located includes a task center, the operation and maintenance device 700 is installed on a computing device, the task center includes a plurality of operation and maintenance tasks to be performed, and the operation and maintenance device 700 and the task center are connected via a network. Figure 7 As shown, the operation and maintenance device 700 includes:

[0092] An acquisition module 710 is configured to acquire a first operation and maintenance task among the plurality of operation and maintenance tasks from the task center;

[0093] The execution module 720 is used to execute the first operation and maintenance task to perform a first operation and maintenance operation on the computing device.

[0094] In some embodiments, the operation and maintenance device 700 is installed on the computing device before the operating system of the computing device is started; the acquisition module 710 is used to: obtain the first operation and maintenance task from the task center before the operating system of the computing device is started; the execution module 720 is used to: execute the first operation and maintenance task before the operating system of the computing device is started, wherein the first operation and maintenance task includes updating the installation files of the operating system of the computing device, repairing the installation files of the operating system of the computing device, recording the hardware information of the computing device, and at least one of software and hardware authentication.

[0095] In some embodiments, the operation and maintenance device 700 is installed on the computing device before the operating system of the computing device is started; the acquisition module 710 is used to: obtain the first operation and maintenance task from the task center before the operating system of the computing device is started; the execution module 720 is used to: execute the first operation and maintenance task during the startup of the operating system of the computing device; the first operation and maintenance task includes recording at least one of the startup process of the operating system, controlling the startup steps of the operating system, and recording the hardware information of the computing device.

[0096] As an example of a software functional unit, the acquisition module 710 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the acquisition module 710 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with close geographical locations. Among them, usually a region may include multiple AZs.

[0097] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same VPC or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.

[0098] As an example of a hardware functional unit, the acquisition module 710 may be a component, device or equipment implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0099] It should be noted that, in other embodiments, the acquisition module 710 may be used to execute Figure 6 For any step in the method shown, the execution module 720 can be used to execute Figure 6 The steps implemented by the acquisition module 710 and the execution module 720 can be specified as needed, and the acquisition module 710 and the execution module 720 can be respectively implemented Figure 6 The different steps in the method shown implement all functions of the operation and maintenance device 700.

[0100] The present application also provides a computing device 800. Figure 8 As shown, the computing device 800 includes: a bus 802, a processor 804, a memory 806, and a communication interface 808. The processor 804, the memory 806, and the communication interface 808 communicate through the bus 802. The computing device 800 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the computing device 800.

[0101] The bus 802 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 The bus 802 is represented by only one line, but it does not mean that there is only one bus or one type of bus. The bus 802 may include a path for transmitting information between various components of the computing device 800 (eg, the memory 806, the processor 804, and the communication interface 808).

[0102] The processor 804 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0103] The memory 806 may include a volatile memory, such as a random access memory (RAM). The memory 806 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0104] The memory 806 stores executable program codes, and the processor 804 executes the executable program codes to respectively implement the functions of the acquisition module 710 and the execution module 720, thereby implementing Figure 6 That is, the memory 806 stores the method for executing Figure 6 Instructions for the method shown.

[0105] The communication interface 808 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 800 and other devices or communication networks.

[0106] The embodiment of the present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.

[0107] like Fig. 9 As shown, the computing device cluster includes at least one computing device 800. The memory 806 in one or more computing devices 800 in the computing device cluster may store the same Figure 6 Instructions for the method shown.

[0108] In some possible implementations, the memory 806 of one or more computing devices 800 in the computing device cluster may also store a program for executing Figure 6In other words, the combination of one or more computing devices 800 can jointly execute instructions for executing Figure 6 Instructions for the method shown.

[0109] It should be noted that the memory 806 in different computing devices 800 in the computing device cluster can store different instructions, which are respectively used to execute part of the functions of the operation and maintenance device 700. That is, the instructions stored in the memory 806 in different computing devices 800 can implement the functions of one or more modules in the acquisition module 710 and the execution module 720.

[0110] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.10 A possible implementation is shown. Fig.10 As shown, two computing devices 800A and 800B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 806 in the computing device 800A stores instructions for executing the functions of the acquisition module 710. At the same time, the memory 806 in the computing device 800B stores instructions for executing the functions of the execution module 720.

[0111] It should be understood that Fig.10 The functions of the computing device 800A shown in FIG. 8 may also be completed by multiple computing devices 800. Similarly, the functions of the computing device 800B may also be completed by multiple computing devices 800.

[0112] The present application embodiment also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to that of Fig. 9 and Fig.10 The difference is that the memory 806 in one or more computing devices 800 in the computing device cluster may store the same memory for executing Figure 6 Instructions for the method shown.

[0113] In some possible implementations, the memory 806 of one or more computing devices 800 in the computing device cluster may also store a program for executing Figure 6 In other words, the combination of one or more computing devices 800 can jointly execute instructions for executing Figure 6 Instructions for the method shown.

[0114] The present application also provides a computer program product including instructions. The computer program product may be software or a program product including instructions that can be run on a computing device or stored in any available medium. When the computer program product is run on at least one computing device, the at least one computing device executes Figure 6 The method shown.

[0115] The present application also provides a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be stored by a computing device or a host migration device such as a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute Figure 6 The method shown.

[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present application.

Claims

1. A computing device operation and maintenance method, characterized in that: The method is used to perform operation and maintenance operations on a computing device using an operation and maintenance system, wherein the operation and maintenance system includes an operation and maintenance device and a task center, wherein the operation and maintenance device is installed on the computing device, the task center includes a plurality of operation and maintenance tasks to be performed, and the operation and maintenance device and the task center are connected via a network; the method includes: The operation and maintenance device obtains a first operation and maintenance task among the multiple operation and maintenance tasks from the task center; The operation and maintenance device executes the first operation and maintenance task to perform a first operation and maintenance operation on the computing device.

2. The method according to claim 1, characterized in that The operation and maintenance device is installed on the computing device before the operating system of the computing device is started; The operation and maintenance device obtains a first operation and maintenance task among the plurality of operation and maintenance tasks from the task center, including: obtaining the first operation and maintenance task from the task center before the operating system of the computing device is started; The operation and maintenance device executes the first operation and maintenance task to perform an operation and maintenance operation on the computing device, including: Before the operating system of the computing device is started, the first operation and maintenance task is executed, wherein the first operation and maintenance task includes at least one of updating the installation files of the operating system of the computing device, repairing the installation files of the operating system of the computing device, recording the hardware information of the computing device, and software and hardware authentication.

3. The method according to claim 1, characterized in that: The operation and maintenance device is installed on the computing device before the operating system of the computing device is started; The operation and maintenance device obtains a first operation and maintenance task among the plurality of operation and maintenance tasks from the task center, including: obtaining the first operation and maintenance task from the task center before the operating system of the computing device is started; During the startup of the operating system of the computing device, the first operation and maintenance task is performed; the first operation and maintenance task includes at least one of recording the startup process of the operating system, controlling the startup steps of the operating system, and recording the hardware information of the computing device.

4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: The computing device adds the operation and maintenance apparatus to a device list of an operating system of the computing device, so that the operating system of the computing device recognizes and controls the operation and maintenance apparatus.

5. The method according to claim 4, characterized in that The computing device is a physical machine, and the method further includes: creating a virtual computing instance on the computing device; The device list is associated with the operating system of the virtual computing instance so that the operating system of the virtual computing instance recognizes and controls the devices in the device list.

6. The method according to any one of claims 1 to 5, characterized in that The operation and maintenance device is hardware installed on the computing device.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: The task center creates a second operation and maintenance task in response to the task creation instruction; The operation and maintenance device obtains the second operation and maintenance task from the task center; The operation and maintenance device executes the second operation and maintenance task to perform a second operation and maintenance operation on the computing device.

8. An operation and maintenance device, characterized in that: The operation and maintenance system where the operation and maintenance device is located includes a task center, the operation and maintenance device is installed on a computing device, the task center includes a plurality of operation and maintenance tasks to be performed, and the operation and maintenance device and the task center are connected via a network; the operation and maintenance device includes: An acquisition module, configured to acquire a first operation and maintenance task among the plurality of operation and maintenance tasks from the task center; An execution module is used to execute the first operation and maintenance task to perform a first operation and maintenance operation on the computing device.

9. The operation and maintenance device according to claim 8, characterized in that: The operation and maintenance device is installed on the computing device before the operating system of the computing device is started; The acquisition module is used to: acquire the first operation and maintenance task from the task center before the operating system of the computing device is started; The execution module is used to: execute the first operation and maintenance task before the operating system of the computing device is started, wherein the first operation and maintenance task includes updating the installation files of the operating system of the computing device, repairing the installation files of the operating system of the computing device, recording the hardware information of the computing device, and at least one of software and hardware authentication.

10. The operation and maintenance device according to claim 8, characterized in that: The operation and maintenance device is installed on the computing device before the operating system of the computing device is started; The acquisition module is used to: acquire the first operation and maintenance task from the task center before the operating system of the computing device is started; The execution module is used to: execute the first operation and maintenance task during the startup of the operating system of the computing device; the first operation and maintenance task includes at least one of recording the startup process of the operating system, controlling the startup steps of the operating system, and recording the hardware information of the computing device.

11. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is configured to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1 to 7.

12. A computer-readable storage medium, characterized in that: The method comprises computer program instructions, and when the computer program instructions are executed by a computing device cluster, the computing device cluster performs the method as claimed in any one of claims 1 to 7.

13. A computer program product comprising instructions, characterized in that When the instructions are executed by a computer device cluster, the computer device cluster executes the method according to any one of claims 1 to 7.