A modular server upgrade method, device, electronic device and medium

By generating server configuration files and task lists, identifying and upgrading module components in the server cluster, the problems of slow node upgrade and difficulty in parallel upgrade during server cluster upgrade are solved, and parallel upgrades are achieved without stoppage and upgrade efficiency is improved.

CN113904932BActive Publication Date: 2024-12-17YEALINK (XIAMEN) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111152467.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-29
Publication Date
2024-12-17
Estimated Expiration
2041-09-29

AI Technical Summary

Technical Problem

During the upgrade of existing server clusters, there are problems such as slow node upgrade, inability to achieve parallel upgrades, and lack of strategies to impact business.

Method used

By generating server configuration files and task lists, identify module components that need to be upgraded, use module packages for synchronous detection and installation, and monitor the upgrade process to ensure that the server is upgraded in parallel without affecting the operation of the business.

Benefits of technology

It realizes server-free server updates and parallel upgrades, improves the upgrade speed and reduces the impact on the business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113904932B_ABST
    Figure CN113904932B_ABST
Patent Text Reader

Abstract

The present invention discloses a modular server upgrade method, device, electronic device and medium, the method comprising: generating configuration files belonging to each server according to information reported by a server cluster; analyzing each module component in the server to be upgraded according to the configuration file and the installation package, and sending each module package in the installation package to each corresponding module component; executing installation or waiting for the installation after the business is completed according to the business operation status of the module component; monitoring the installation process of each server at the same time and feeding back the upgrade status of each server to the administrator. The present invention can upgrade each module component in parallel by using the module package after the installation package is decompressed when executing the server upgrade, solving the problem of upgrading a single server in turn.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of computer technology, and in particular relates to a modular server upgrade method, device, electronic equipment and medium. Background Art

[0002] A server is a type of computer that provides computing or application services to other clients in the network. It has high-speed CPU computing power, long-term reliable operation, strong external data throughput, and better scalability. For businesses with high continuity and availability requirements, server cluster systems are usually used for business processing. However, after a server cluster system has been running for a period of time, it needs to be updated and upgraded.

[0003] At present, most servers are deployed in server clusters, and their updates and upgrades are performed according to server nodes. After upgrading one node, another node will be upgraded. When upgrading a server cluster, the administrator generally copies a complete upgrade installation package to each server, decompresses the installation package and upgrades it on each server.

[0004] However, the existing technology has the problem that server nodes are upgraded slowly and parallel upgrades cannot be achieved. There is no orchestration for the entire upgrade task, and there is a lack of different upgrade strategies based on the impact on the business during the upgrade process. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a modular server upgrade method, solve the problem of service downtime during server upgrade and realize parallel server upgrade by using a modular upgrade method.

[0006] In order to solve the above technical problems, the present invention provides a modular server upgrade method, comprising:

[0007] Generate configuration files for each server based on the information reported by the server cluster;

[0008] According to the configuration files and preset installation packages of each server, each module component that needs to be upgraded on each server is analyzed and obtained, and a task list is generated; the preset installation package includes multiple module packages, and each module package corresponds to each module component that needs to be upgraded one by one;

[0009] Based on the task list, the module packages corresponding to the various module components are sent to the corresponding servers simultaneously, so that the servers synchronously detect the respective module components to be upgraded, and simultaneously install all the module components to be upgraded that are not in the business operation state;

[0010] At the same time, it monitors the installation process of each server and provides feedback to the administrator on the upgrade status of each server.

[0011] Furthermore, the configuration files belonging to each server are generated according to the information reported by the server cluster, specifically:

[0012] According to the information reported by the server cluster, a configuration file belonging to each server is generated respectively, and the configuration file records the IP information, module components and server status of each server.

[0013] Furthermore, according to the configuration files and preset installation packages of each server, each module component that needs to be upgraded on each server is analyzed and obtained, and a task list is generated, specifically:

[0014] According to the configuration files belonging to each server, the module components contained in each server are analyzed, and according to the preset installation packages, the module components corresponding to each module package are selected from the module components contained in each server as the module components that need to be upgraded for each server, and the IP information and server status of the server to which each module component belongs are marked to generate a task list.

[0015] Furthermore, based on the task list, the module packages corresponding to the various module components are sent to the corresponding servers simultaneously, so that each server performs synchronous detection on its own module components to be upgraded, and simultaneously installs all module components to be upgraded that are not in the business operation state, specifically:

[0016] Based on the task list, the module packages corresponding to the various module components are simultaneously sent to the servers corresponding to the module components, so that the servers receiving the module packages synchronously detect whether the module components to be upgraded are in a business operation state;

[0017] If the module component to be upgraded is in the business operation state, the module package is put into the waiting state; if the module package waits for a timeout, the upgrade of the module component to be upgraded fails, and feedback is given to the administrator that the upgrade of the server to which the module component belongs fails; if the module package waits for a timeout, the module component to be upgraded is installed;

[0018] If the module component to be upgraded is not in a business operation state, the module component to be upgraded is recorded;

[0019] All recorded module components to be upgraded that are not in service operation status are installed at the same time.

[0020] Furthermore, the installation process of each server is monitored and the upgrade status of each server is fed back to the administrator, specifically:

[0021] At the same time, monitor each server to see if the module components that need to be upgraded and installed are upgraded successfully;

[0022] If the module component fails to upgrade, the administrator will be informed that the server to which the module component belongs has failed to upgrade;

[0023] If the module component is upgraded successfully, the server is upgraded successfully, and feedback is given to the administrator of all successfully upgraded module components and the servers to which the module components belong.

[0024] At the same time, the present invention also provides a modular server upgrade device, including: a configuration file unit, a task list unit, an installation execution unit and a monitoring feedback unit;

[0025] The configuration file unit is used to generate configuration files belonging to each server according to the information reported by the server cluster;

[0026] The task list unit is used to analyze and obtain each module component that needs to be upgraded for each server according to the configuration files and the preset installation packages belonging to each server, and generate a task list; the preset installation package includes multiple module packages, and each module package corresponds to each module component that needs to be upgraded one by one;

[0027] The installation execution unit is used to send the module packages corresponding to the various module components to the corresponding servers simultaneously based on the task list, so that each server can synchronously detect its own module components to be upgraded, and simultaneously install all the module components to be upgraded that are not in the business operation state;

[0028] The monitoring feedback unit is used to simultaneously monitor the installation process of each server and feed back the upgrade status of each server to the administrator.

[0029] Furthermore, the task list unit is used to analyze and obtain each module component that needs to be upgraded for each server according to the configuration files and preset installation packages belonging to each server, and generate a task list, specifically:

[0030] According to the configuration files belonging to each server, the module components contained in each server are analyzed, and according to the preset installation packages, the module components corresponding to each module package are selected from the module components contained in each server as the module components that need to be upgraded for each server, and the IP information and server status of the server to which each module component belongs are marked to generate a task list.

[0031] Furthermore, the installation execution unit sends the module packages corresponding to the various module components to the corresponding servers simultaneously based on the task list, so that each server performs synchronous detection on its own module components to be upgraded, and simultaneously performs installation on all module components to be upgraded that are not in the business operation state, specifically:

[0032] Based on the task list, the module packages corresponding to the various module components are simultaneously sent to the servers corresponding to the module components, so that the servers receiving the module packages synchronously detect whether the module components to be upgraded are in a business operation state;

[0033] If the module component to be upgraded is in the business operation state, the module package is put into the waiting state; if the module package waits for a timeout, the upgrade of the module component to be upgraded fails, and feedback is given to the administrator that the upgrade of the server to which the module component belongs fails; if the module package waits for a timeout, the module component to be upgraded is installed;

[0034] If the module component to be upgraded is not in a business operation state, the module component to be upgraded is recorded;

[0035] All recorded module components to be upgraded that are not in service operation status are installed at the same time.

[0036] An embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0037] A memory storing at least one instruction;

[0038] The processor executes the instructions stored in the memory to implement a modular server upgrade method provided by the present invention.

[0039] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in an electronic device to implement a modular server upgrade method provided by the present invention.

[0040] Implementing the embodiments of the present application has the following beneficial effects:

[0041] The present invention provides a modular server upgrade method, device, electronic device and medium. When receiving an installation package, the method can extract and generate a task list for the corresponding module components in each server according to the module packages to be upgraded in the installation package, so that the module components that do not need to be upgraded in each server can continue to operate normally, and the module components that need to be upgraded can be installed after entering a task-free running state, thereby realizing non-stop service update of the server; at the same time, the module components to be upgraded in each server are synchronously upgraded immediately after receiving the module packages in a task-free state, and each module package does not affect the module components outside the module components to which it belongs, thereby realizing parallel upgrades between each server and improving the upgrade speed of the server. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flowchart of the steps of a modular server upgrade method provided by an embodiment of the present invention;

[0043] Figure 2 It is a design scheme block diagram of a modular server upgrade method embodiment provided by an embodiment of the present invention;

[0044] Figure 3 It is a flow chart of module components executing installation judgment in an embodiment of a modular server upgrade method provided by an embodiment of the present invention;

[0045] Figure 4 A modular server upgrade method provided by an embodiment of the present invention is applied to a server upgrade flow chart of an audio and video conference cluster system;

[0046] Figure 5 It is a structural diagram of a modular server upgrading device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be further described in detail below in conjunction with the drawings in the present invention. Obviously, the embodiments described here are only part of the embodiments of the present invention, not all of the embodiments, and are not intended to limit the present invention. Based on the embodiments in the present invention, other embodiments obtained by ordinary technicians in this field without making creative work are all within the scope of protection of the present invention.

[0048] See also Figure 1 , which is a modular server upgrade method provided by an embodiment of the present invention, including steps S101 to S104, each step is specifically as follows:

[0049] Step S101: Generate configuration files for each server based on information reported by the server cluster.

[0050] The server cluster includes multiple servers, and each server includes multiple module components running on the corresponding server.

[0051] Furthermore, according to the information reported by the server cluster, a configuration file belonging to each server is generated respectively, and the configuration file records the IP information, module components and server status of each server.

[0052] Step S102: Analyze and obtain the module components that need to be upgraded for each server according to the configuration files and preset installation packages of each server, and generate a task list; the preset installation package includes multiple module packages, and each module package corresponds to each module component that needs to be upgraded.

[0053] Furthermore, based on the configuration files belonging to each server, the module components contained in each server are analyzed, and based on the preset installation package, the module components corresponding to each module package are selected from the module components contained in each server as the module components that need to be upgraded for each server, and the IP information and server status of the server to which each module component belongs are marked, thereby generating a task list.

[0054] The preset installation package is uploaded by the administrator. After the preset installation package is decompressed, the module components corresponding to each module package can be selected from the configuration files belonging to each server.

[0055] The task list includes the module components that need to be upgraded in each server and their corresponding version numbers, as well as the IP information and server status of the server to which each module component belongs; the server status includes, but is not limited to, online or offline status, CPU, memory, and network card traffic, etc.

[0056] During the specific implementation process, the administrator can manually add any module package to the installation package, or can filter and remove the module packages in the installation package to correct the module components to be upgraded this time.

[0057] Step S103: Based on the task list, the module packages corresponding to the various module components are sent to the corresponding servers simultaneously, so that each server performs synchronous detection on its own module components to be upgraded, and simultaneously installs all module components to be upgraded that are not in business operation status.

[0058] Furthermore, based on the task list, the module packages corresponding to each module component are respectively sent to the server corresponding to the module component at the same time, so that the server receiving the module package can synchronously detect whether the module component to be upgraded is in the business operation state; if the module component to be upgraded is in the business operation state, the module package is put into the waiting state; if the module package waiting times out, the upgrade of the module component to be upgraded fails, and feedback is given to the administrator that the upgrade of the server to which the module component belongs fails; if the module package waiting does not time out, the module component to be upgraded is installed; if the module component to be upgraded is not in the business operation state, the module component to be upgraded is recorded; and all recorded module components to be upgraded that are not in the business operation state are installed simultaneously.

[0059] Step S104: Simultaneously monitor the installation process of each server and provide feedback to the administrator on the upgrade status of each server.

[0060] Furthermore, each server is monitored at the same time to see whether the module components that need to be upgraded and installed are upgraded successfully; if the module component upgrade fails, feedback is provided to the administrator that the upgrade of the server to which the module component belongs has failed; if the module component upgrade is successful, feedback is provided to the administrator of all successfully upgraded module components and the servers to which the module components belong.

[0061] During the specific implementation process, the administrator can manually reinstall the module components that failed to upgrade, or perform a version rollback; when all module components are successfully installed, the administrator will be informed that the entire upgrade process is complete.

[0062] See also Figure 2 , shows a design block diagram of a modular server upgrade method embodiment of an embodiment of the present invention.

[0063] The server cluster 206 contains multiple servers, and the communication between the servers is based on the Linux system. Each server is connected to the connection agent unit 205. When the server cluster is started, all servers will report information to the connection agent unit 205. The process of reporting information is real-time and keeps running after the server cluster is started; the reported information includes the IP information of each server, all module components running in each server and the server status; the server status includes, but is not limited to online or offline, CPU, memory, network card traffic, etc.

[0064] The connection proxy unit 205 collects the reported information from the server and reports it to the update control unit 201 synchronously, and then backs up all the information in the server cluster information unit. At the same time, the update control unit 201 also sends the reported information to the module component statistics unit 202, which counts all the module components currently running in each server and sends them back to the update control unit 201, which classifies them according to the server to which each module component belongs, adds the IP address of the server to which it belongs and the module running status, and generates a configuration file.

[0065] The configuration file also includes the default port number, contains all server information, IP and user passwords.

[0066] The above server cluster information reporting process is carried out in real time after the server cluster is started, regardless of whether the server upgrade operation is performed.

[0067] When the server cluster needs to be upgraded, the administrator uploads the server upgrade installation package through the web front end 200. The installation package compresses the corresponding module packages required for the upgrade of each module component, and can be directly installed on the module component of the server. The administrator can manually select when to start the upgrade and which server or module component to upgrade. At the same time, the administrator can also learn about the configuration file generated by the update control unit 201 in real time through the web front end.

[0068] After the administrator uploads the installation package, the update control unit 201 first decompresses the installation package to obtain each module package. After decompression, the task list unit 203 is notified to filter out the module components in the configuration file that can correspond to each module package one by one according to the configuration file and each module package at the time when the administrator uploads the installation package, generate a task list, and return it to the update control unit 201; wherein the task list includes each module component that needs to be upgraded in each server and its corresponding version number, and the IP information and server status of the server to which each module component belongs. The task list here can be manually intervened and modified by the administrator through the web front end 200.

[0069] The update control unit 201 can upload each module package to the corresponding server by using the scp command in the Linux system. The remote command execution is used to execute Linux basic commands, and can execute remote server command execution, task execution and other operations.

[0070] The update control unit 201 starts to copy and send the module packages to the servers of the module components corresponding to each module package through the connection agent unit 205 according to the task list, and detects the running status of each module component in each server corresponding to the configuration file according to the update control unit 201.

[0071] See also Figure 3 For servers whose module components are in business operation state, the module package first enters the waiting state; if the waiting timeouts, the module component upgrade fails, and the server feeds back the upgrade failure to the update control unit 201, which is then sent to the web front end 200; if the waiting does not timeout, and the module package is successfully installed and upgraded, the server feeds back the successfully upgraded module component and its version number and server information to the update control unit 201, which is then sent to the web front end 200.

[0072] For servers whose module components are not in service operation, the update control unit 201 immediately sends an instruction to execute the module package installation. After the update control unit 201 sends the execution installation instruction to each server, each module package simultaneously executes the installation of the corresponding module components in the server where it is located, realizing parallel installation between servers.

[0073] The update control unit 201 monitors the installation process of each server based on the real-time reporting information of the server cluster. If the module components in the server are successfully installed, the server will feedback the successfully upgraded module components and their version numbers and server information to the update control unit 201, and then send it to the web front end 200; if the module components in the server fail to be installed, the server will feedback the upgrade failure to the update control unit 201, and then send it to the web front end 200.

[0074] For the audio call service agreement, each module component in each server that needs to be upgraded needs to wait until the current business is completed before installing the module package. The update control unit only needs to monitor and wait for the server upgrade to be completed and provide feedback.

[0075] like Figure 4 As shown, this embodiment also provides a server upgrade flow chart of an audio and video conference cluster system, including the following steps S401 to S413, each of which is as follows:

[0076] Step S401: The server cluster reports information to the connection proxy unit.

[0077] Step S402: the connection agent unit uploads the server cluster reporting information to the update control unit.

[0078] Step S403: the update control unit uploads the server cluster reporting information to the module component statistics unit and generates a configuration file; wherein the IP information, module components and server status of each server are recorded.

[0079] Step S404: Record the information reported by the server cluster in real time.

[0080] Step S405: The administrator uploads the installation package to the update control unit through the web front end.

[0081] Step S406: the update control unit retrieves the module components running on each server recorded in the module component statistics unit.

[0082] Step S407: The update module component notifies the task list unit to generate a task list based on the module components run by each server and the module packages decompressed by the installation package; wherein the task list includes the module components that need to be upgraded in each server and their corresponding version numbers, and the IP information and server status of the servers to which each module component belongs.

[0083] Step S408: The task list unit returns the executable task list to the update control unit.

[0084] Step S409: The update control unit uploads the module package to the corresponding server according to the task list and issues an installation instruction.

[0085] Step S410: The server cluster executes the installation, and when the module component here is in the task running state, it enters the waiting state; if the waiting does not time out, the installation is executed after the waiting ends; if the waiting times out, the module component upgrade failure is directly fed back to the web page front end.

[0086] Step S411: the update control unit monitors the installation process of each module component that needs to be upgraded.

[0087] Step S412: The server that has completed the upgrade and the server that has failed the upgrade feed back the upgrade result to the update control unit.

[0088] Step S413: the update control unit feeds back the upgrade results of each server that needs to be upgraded to the web front end, and the modular server upgrade of this embodiment is completed, completing the server upgrade of the audio and video conferencing cluster system of this embodiment.

[0089] Also, please refer to Figure 5 , shows a structural block diagram of an embodiment of a modular server upgrade device of the present invention, which may specifically include the following units.

[0090] The configuration file unit 501 is used to generate a configuration file belonging to each server according to the information reported by the server cluster.

[0091] The task list unit 502 is used to analyze and obtain the module components that need to be upgraded for each server according to the configuration files and preset installation packages belonging to each server, and generate a task list; the preset installation package includes multiple module packages, and each module package corresponds one-to-one to each module component that needs to be upgraded.

[0092] The installation execution unit 503 is used to send the module packages corresponding to each module component to the corresponding server based on the task list, so that each server can synchronously detect its own module components to be upgraded, and simultaneously install all module components to be upgraded that are not in business operation state.

[0093] The monitoring feedback unit 504 is used to monitor the installation process of each server simultaneously and feedback the upgrade status of each server to the administrator.

[0094] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0095] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining hardware and software. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0096] An embodiment of the present invention further provides an electronic device, comprising: a memory storing at least one instruction; and a processor executing the instructions stored in the memory to implement a modular server upgrade method provided by the present invention. The embodiments of the present invention are described with reference to flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions are executed by the processor of the computer or other programmable data processing terminal device to generate instructions for implementing the process. Figure 1 A device that specifies the functions of a process or multiple processes and / or block diagrams, a block or multiple blocks.

[0097] The embodiment of the present invention also provides a computer-readable storage medium, wherein at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is executed by a processor in an electronic device to implement a modular server upgrade method provided by the present invention. These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device is implemented in the process Figure 1 Process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0098] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby executing a series of operating steps on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0099] Implementing the embodiments of the present invention has the following effects:

[0100] The embodiment of the present invention provides a modular server upgrade method. By installing the module packages belonging to each module component in the server to be upgraded, the server does not need to decompress the entire installation package and then filter the module packages required by its own server. At the same time, after each module component can receive the module package at the same time, the module components in the non-business execution state can be installed immediately at the same time, thereby realizing parallel installation between servers and reducing the server upgrade time. For the module components in the business execution state, waiting and delayed installation are performed, making the entire server installation and upgrade process smoother.

[0101] The above are preferred embodiments of the present invention. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A modular server upgrade method, characterized in that: include: Generate configuration files for each server based on the information reported by the server cluster; According to the configuration files and preset installation packages of each server, each module component that needs to be upgraded on each server is analyzed and obtained, and a task list is generated; the preset installation package includes multiple module packages, and each module package corresponds to each module component that needs to be upgraded one by one; Based on the task list, the module packages corresponding to each module component are sent to the corresponding server at the same time, so that each server can synchronously detect the module components to be upgraded, and simultaneously install all the module components to be upgraded that are not in the business operation state; if the module components to be upgraded are in the business operation state, the module package is put into the waiting state; if the module components to be upgraded are not in the business operation state, the module components to be upgraded are recorded; all the recorded module components to be upgraded that are not in the business operation state are simultaneously installed; for the module components that failed to upgrade, the administrator can manually reinstall them or perform version rollback; At the same time, it monitors the installation process of each server and provides feedback to the administrator on the upgrade status of each server.

2. A modular server upgrade method as claimed in claim 1, characterized in that: The configuration files of each server are generated according to the information reported by the server cluster, specifically: According to the information reported by the server cluster, a configuration file belonging to each server is generated respectively, and the configuration file records the IP information, module components and server status of each server.

3. A modular server upgrade method as claimed in claim 2, characterized in that: According to the configuration files and preset installation packages of each server, each module component that needs to be upgraded on each server is analyzed and obtained, and a task list is generated, specifically: According to the configuration files belonging to each server, the module components contained in each server are analyzed, and according to the preset installation packages, the module components corresponding to each module package are selected from the module components contained in each server as the module components that need to be upgraded for each server, and the IP information and server status of the server to which each module component belongs are marked to generate a task list.

4. A modular server upgrade method as claimed in claim 3, characterized in that: Based on the task list, the module packages corresponding to the various module components are sent to the corresponding servers simultaneously, so that each server performs synchronous detection on its own module components to be upgraded, and simultaneously installs all the module components to be upgraded that are not in the business operation state, specifically: Based on the task list, the module packages corresponding to the various module components are simultaneously sent to the servers corresponding to the module components, so that the servers receiving the module packages synchronously detect whether the module components to be upgraded are in a business operation state; If the module package wait times out, the upgrade of the module component to be upgraded fails, and feedback is given to the administrator that the upgrade of the server to which the module component belongs has failed; if the module package wait does not time out, the module component to be upgraded is installed.

5. A modular server upgrade method as claimed in claim 4, characterized in that: The monitoring of the installation process of each server and feedback to the administrator on the upgrade status of each server are as follows: At the same time, monitor each server to see if the module components that need to be upgraded and installed are upgraded successfully; If the module component fails to upgrade, the administrator will be informed that the server to which the module component belongs has failed to upgrade; If the module component is upgraded successfully, the server is upgraded successfully, and feedback is given to the administrator of all successfully upgraded module components and the servers to which the module components belong.

6. A modular server upgrade device, characterized in that: include: Configuration file unit, task list unit, installation execution unit and monitoring feedback unit; The configuration file unit is used to generate configuration files belonging to each server according to the information reported by the server cluster; The task list unit is used to analyze and obtain each module component that needs to be upgraded for each server according to the configuration files and the preset installation packages belonging to each server, and generate a task list; the preset installation package includes multiple module packages, and each module package corresponds to each module component that needs to be upgraded one by one; The installation execution unit is used to send the module packages corresponding to each module component to the corresponding server simultaneously based on the task list, so that each server can synchronously detect the module components to be upgraded, and simultaneously install all the module components to be upgraded that are not in the business operation state; if the module components to be upgraded are in the business operation state, the module package is put into the waiting state; if the module components to be upgraded are not in the business operation state, the module components to be upgraded are recorded; all the recorded module components to be upgraded that are not in the business operation state are simultaneously installed; for the module components that failed to upgrade, the administrator can manually reinstall them or perform version rollback; The monitoring feedback unit is used to simultaneously monitor the installation process of each server and feed back the upgrade status of each server to the administrator.

7. A modular server upgrade device as claimed in claim 6, characterized in that: The task list unit is used to analyze and obtain each module component that needs to be upgraded for each server according to the configuration files and preset installation packages of each server, and generate a task list, specifically: According to the configuration files belonging to each server, the module components contained in each server are analyzed, and according to the preset installation packages, the module components corresponding to each module package are selected from the module components contained in each server as the module components that need to be upgraded for each server, and the IP information and server status of the server to which each module component belongs are marked to generate a task list.

8. A modular server upgrade device as claimed in claim 6, characterized in that: The installation execution unit sends the module packages corresponding to the various module components to the corresponding servers simultaneously based on the task list, so that each server performs synchronous detection on its own module components to be upgraded, and simultaneously performs installation on all the module components to be upgraded that are not in the business operation state, specifically: Based on the task list, the module packages corresponding to the various module components are simultaneously sent to the servers corresponding to the module components, so that the servers receiving the module packages synchronously detect whether the module components to be upgraded are in a business operation state; If the module component to be upgraded is in the business operation state, the module package is put into the waiting state; if the module package waits for a timeout, the upgrade of the module component to be upgraded fails, and feedback is given to the administrator that the upgrade of the server to which the module component belongs has failed; if the module package waits for a timeout, the module component to be upgraded is installed.

9. An electronic device, characterized in that: The electronic device comprises: A memory storing at least one instruction; A processor executes instructions stored in the memory to implement a modular server upgrade method as described in any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and the at least one instruction is executed by a processor in an electronic device to implement a modular server upgrade method as described in any one of claims 1 to 5.