Server maintenance processing method and device, equipment, medium and program product

Through plug-and-play maintenance card equipment, automated server maintenance processing methods are provided, which solves the problem of difficult server deployment and maintenance operations, improves efficiency, reduces costs, and ensures data security.

CN120066840AActive Publication Date: 2025-05-30ZIGUANG HENGYUE TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510535267.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-05-30
Estimated Expiration
2045-04-27

AI Technical Summary

Technical Problem

The deployment and maintenance of existing servers are difficult to operate, time-consuming and labor-intensive, and traditional tools cannot play a role when the server cannot enter the system normally, increasing operation and maintenance costs and operation difficulties.

Method used

Through the plug-and-play maintenance card device, a server maintenance processing method is provided, including receiving server connection signals, detecting operating status, automatic setting and automatic repair. This method supports the detection and repair of firmware, software and driver failures, and reads server information through protocol parsing technology and encrypts confidential information.

Benefits of technology

It improves the efficiency of server deployment and maintenance, reduces operational difficulty and cost, realizes automated server setup and repair, is convenient to use, and ensures data security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066840A_ABST
    Figure CN120066840A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a server maintenance processing method and device, equipment, a medium and a program product, relates to the technical field of server operation and maintenance, is applied to maintenance card equipment externally connected with a server, and comprises the following steps: receiving a server connection signal, and detecting the running state of the server; if the running state of the server is a normal state, performing automatic setting operation on the server; if the running state of the server is a fault state, detecting a fault reason; wherein the fault reasons comprise firmware faults, software faults and driving faults; according to the fault reason, calling a corresponding preset maintenance program to carry out automatic maintenance operation on the server; when it is detected that the running state of the server is converted from the fault state to the normal state, automatic setting operation is carried out on the server; the server is automatically set and maintained through the plug-and-play maintenance card device, the deployment and maintenance efficiency of the server is improved, the operation difficulty and cost are reduced, and use is convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of server operation and maintenance, and more specifically, to a server maintenance processing method, device, equipment, medium, and program product. Background Art

[0002] In the daily operation and maintenance work of a server room, the deployment and repair of servers face many problems. On the one hand, the transparency of internal information of servers is low, making it difficult for operation and maintenance personnel to quickly obtain key information. On the other hand, the operation process is cumbersome and complex. In the traditional way, operation and maintenance personnel need to use a variety of tools and perform a series of complex operations to complete the acquisition and setting of the initial state of the server and the repair of fault reporting problems. This not only requires operation and maintenance engineers to have rich experience and professional skills, but also the entire operation process takes a long time.

[0003] Although some manufacturers have developed tool software running under the operating system in an attempt to simplify the operation and maintenance process, these methods have obvious limitations. First, they require the server to enter the operating system state to run. If the server fails to enter the system normally due to a fault, these tools will not be able to function. Second, engineers need to spend time learning how to use the script software, increasing the operation and maintenance cost and operation difficulty. Summary of the Invention

[0004] The purpose of the embodiments of this application is to provide a server maintenance processing method, device, equipment, medium, and program product to solve the problems of high operation difficulty, time-consuming, and laborious in the existing server deployment and maintenance.

[0005] In a first aspect, the embodiments of this application provide a server maintenance processing method, which is applied to a maintenance card device externally connected to a server. The method includes: Receiving a server connection signal and detecting the running state of the server; If the running state of the server is a normal state, performing an automatic setting operation on the server; If the running state of the server is a fault state, detecting the cause of the fault; where the cause of the fault includes firmware fault, software fault, and driver fault; According to the cause of the fault, calling a corresponding preset repair program to perform an automatic repair operation on the server; Detecting that the running state of the server changes from a fault state to a normal state, and performing an automatic setting operation on the server.

[0006] In the above implementation process, upon receiving the server connection signal, the running status of the server is detected; if the running status of the server is normal, an automatic setting operation is performed on the server; if the running status of the server is a fault status, the cause of the fault is detected; among them, the cause of the fault includes firmware fault, software fault, and driver fault; according to the cause of the fault, the corresponding preset maintenance program is called to perform an automatic maintenance operation on the server; when it is detected that the running status of the server changes from the fault status to the normal status, an automatic setting operation is performed on the server; through the plug-and-play maintenance card device, automatic setting and automatic maintenance operations are performed on the server, improving the efficiency of server deployment and maintenance, reducing the operation difficulty and cost, and being convenient to use.

[0007] Further, after receiving the server connection signal, it further includes: Adopting protocol parsing technology, the server information is read through the interface with set permissions; among them, the server information includes network information, user information, overall machine configuration, FRU (Field Replaceable Unit) information, and fault log record information. Determine whether the server information is confidential information. If the server information is confidential information, the server information is encrypted.

[0008] In the above implementation process, the server information is automatically read and the confidential information is encrypted, with the whole process being automated, enhancing efficiency and security.

[0009] Further, when the running status of the server is normal and an automatic setting is performed on the server, it includes: If the running status of the server is normal, the server is automatically set according to the server information; among them, the automatic setting operation includes remote management parameters, resetting the user password, creating a new user, and setting a new network address.

[0010] In the above implementation process, the server is automatically set, improving the operation and maintenance efficiency of the server.

[0011] Further, it further includes: Real-time backup of the firmware status of the server; When it is detected that the firmware of the server has an abnormal situation, the abnormal firmware is restored according to the backed-up firmware status.

[0012] In the above implementation process, the server is automatically backed up and restored, improving the operation and maintenance efficiency of the server.

[0013] Further, it further includes: Performing a real-time update operation on the server; among them, the update operation includes updating all firmware, updating the CPLD (Complex Programmable Logic Device) program, and updating the software driver.

[0014] During the above implementation process, the server is automatically updated in real time to ensure the efficient and normal operation of the server.

[0015] Furthermore, before receiving the server connection signal, it further includes: Writing a low-level driver program, an information reading program, a server setting program, a server maintenance program, a firmware initialization program, and a backup program.

[0016] During the above implementation process, a writing program is set in advance, and the device automatically starts after being inserted into the server and powered on, ensuring that the device can enter the working state in the shortest time.

[0017] Furthermore, it further includes: Displaying the operation result of the server through a display module; Receiving a button trigger signal or a touch screen control signal and performing a corresponding trigger function on the server.

[0018] During the above implementation process, the operation result of the server can be quickly obtained through the display module. By pressing the corresponding button, the required function can be quickly selected, which is convenient for operation.

[0019] In a second aspect, an embodiment of the present application further provides a server maintenance processing device integrated in a maintenance card device externally connected to the server. The device includes: A connection detection module for receiving a server connection signal and detecting the running state of the server; A setting operation module for performing a setting operation on the server if the running state of the server is a normal state; A fault detection module for detecting the cause of a fault if the running state of the server is a fault state; where the cause of the fault includes a firmware fault, a software fault, and a driver fault; A maintenance operation module for calling a preset maintenance program to perform a maintenance operation on the server according to the cause of the fault; A normal detection module for performing a setting operation on the server when it is detected that the running state of the server changes from a fault state to a normal state.

[0020] In a third aspect, an embodiment of the present application provides an electronic device, including: A processor, a memory, and a bus. The processor is connected to the memory through the bus. The memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, they are used to implement the server maintenance processing method as described above.

[0021] Fourthly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a server, the server maintenance processing method described above is implemented.

[0022] Fifthly, an embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed by a computer, the computer implements the server maintenance processing method described above. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] To more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required to be used in the embodiments of the present application. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0024] Figure 1 It is a flowchart of a server maintenance processing method provided by an embodiment of the present application; Figure 2 It is a flowchart of a server maintenance processing device provided by an embodiment of the present application; Figure 3 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] The following will describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application.

[0026] It should be noted that similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of the present application, the terms "first", "second", etc. are only used for descriptive distinction and cannot be understood as indicating or implying relative importance.

[0027] FRU (Field Replaceable Unit), that is, a field replaceable unit, refers to a component or module that can be easily replaced by a user or technician on-site when the device fails or needs maintenance.

[0028] BIOS (Basic Input / Output System), the basic input / output system is the bridge between computer hardware and the operating system. It is responsible for initializing the hardware, loading the operating system, and providing underlying services when the computer starts up.

[0029] CPLD (Complex Programmable Logic Device), a complex programmable logic device is a digital logic circuit that combines the high flexibility of programmable logic technology and the high performance of ASIC (Application Specific Integrated Circuit).

[0030] IPMI (Intelligent Platform Management Interface): Intelligent Platform Management Interface.

[0031] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of a server maintenance processing method provided by an embodiment of the present application. This server maintenance processing method is applied to a maintenance card device externally connected to the server, and the method includes: 100. Receive a server connection signal and detect the operating state of the server.

[0032] It should be noted that the server maintenance processing method of the embodiment of the present application is implemented by a maintenance card capable of supporting the operation of a maintenance program. This maintenance card has the function of storing and running a fixed program. The maintenance card can be connected to the server through a USB or Type-c interface and supports plug and play. Optionally, the server can be a general-purpose server or a storage server. In the embodiment of the present application, a storage server is adopted.

[0033] Optionally, the maintenance card selects a high-performance and low-power chip as the core processor to ensure that the device can stably and efficiently process various operation and maintenance tasks during operation. At the same time, a large-capacity storage chip is equipped to store operation and maintenance programs and related data. The storage chip adopts high-speed flash technology to ensure the read and write speed and stability of the data.

[0034] Optionally, the interfaces of the maintenance card adopt standard USB interfaces and Type-c interfaces to ensure compatibility with various servers. In the design of the interface circuit, advanced electrostatic protection and overcurrent protection technologies are adopted to effectively prevent damage to the device and the server interface due to electrostatic discharge or excessive current. At the same time, the electrical performance of the interface is optimized to ensure the accuracy and stability of data transmission.

[0035] Optionally, develop an efficient power management circuit for the maintenance card to optimize the power consumption of the device in different working states. When the device is inserted into the server and in the standby state, it automatically enters the low-power mode to reduce energy consumption; when performing operation and maintenance tasks, the power supply is dynamically adjusted according to the load of the task to ensure that the device is always in the best working state. It should be noted that to develop an efficient power management circuit, key technologies such as low-power design, high-precision power conversion, intelligent power management, thermal management, and electromagnetic compatibility can be adopted to develop a power management circuit with high efficiency, low power consumption, and high reliability.

[0036] It can be understood that the maintenance card device has built-in customized software functions, supports directly reading network information and user information with set permissions through the USB interface and Type-c interface, setting relevant management functions through the in-band IPMI intelligent platform management interface, restarting and initializing key firmware information, and automatically saving operation logs and backing up firmware status.

[0037] Development of the underlying driver for the maintenance card device: Write a dedicated underlying driver program to achieve efficient communication between the device and the server. The driver program supports multiple operating systems, including mainstream ones such as Windows Server and Linux, to ensure that the device can work properly in different server environments. At the same time, optimize the performance of the driver program to reduce data transmission latency and resource occupancy.

[0038] Specifically, when the maintenance card device establishes a connection relationship with the server, that is, when the maintenance card device receives the server connection signal, it detects the running state of the server and performs specific operations on the server according to the running state of the server.

[0039] 200. If the running state of the server is normal, perform automatic setting operations on the server.

[0040] It should be noted that the maintenance card device of the embodiment of the present application supports power-on self-start and automatic operation functions. After being inserted into the server, it can automatically execute preset maintenance and repair tasks without manual intervention. Through the optimized configuration of the device BIOS or the bootloader, the device can be automatically started after being powered on when inserted into the server. During the startup process, quickly load the operating system and operation and maintenance programs of the device to ensure that the device can enter the working state in the shortest time.

[0041] Exemplarily, if the operating state of the server is normal, perform an automatic setting operation on the server. In the maintenance card device setting common settings module: develop the setting module using the in-band IPMI technology to achieve convenient setting of the server management functions. This module provides an intuitive operation interface, and can easily set functions such as the remote management parameters of the server, reset the user password, create new users, and set new network addresses through the maintenance card device, improving the management efficiency of the server.

[0042] 300. If the operating state of the server is a fault state, detect the cause of the fault; among them, the causes of the fault include firmware faults, software faults, and driver faults.

[0043] Optionally, the cause of the fault can be detected by analyzing the server log, performing a performance test on the server using a tool, diagnosing the firmware using a diagnostic tool, and troubleshooting the operating system, driver, and application programs.

[0044] 400. According to the cause of the fault, call the corresponding preset repair program to perform an automatic repair operation on the server.

[0045] Specifically, the maintenance card device stores preset repair programs for different causes of faults, such as repair programs for component faults, software faults, and driver faults. When the server fails, obtain the cause of the fault and call the corresponding repair program to perform an automatic repair operation on the server.

[0046] Exemplarily, in the maintenance card device setting automatic repair module: write the firmware initialization and backup program to automatically complete the initialization of key firmware information when the server restarts. At the same time, regularly back up the firmware status, and store the backup data in the secure area of the device to prevent data loss. When the firmware is abnormal, it can be quickly restored to the most recent normal state. The maintenance card also supports factory reset of the server firmware, supports updating of all firmware, supports updating of the CPLD program, and supports updating of the software driver. And it can also customize the repair program in advance, and achieve repair on insertion through the customized operation and maintenance program, directly repairing the machine to normal according to the customized method.

[0047] 500. Detect that the operating state of the server has changed from the fault state to the normal state, and perform an automatic setting operation on the server.

[0048] As described above, the embodiment of the present application receives a server connection signal and detects the running state of the server; if the running state of the server is normal, an automatic setting operation is performed on the server; if the running state of the server is a fault state, the cause of the fault is detected; wherein, the cause of the fault includes firmware fault, software fault, and driver fault; according to the cause of the fault, a corresponding preset maintenance program is called to perform an automatic maintenance operation on the server; when it is detected that the running state of the server changes from the fault state to the normal state, an automatic setting operation is performed on the server; the automatic setting and automatic maintenance operations on the server are performed through a plug-and-play maintenance card device, which improves the efficiency of server deployment and maintenance, reduces the operation difficulty and cost, and is convenient to use.

[0049] Further, after receiving the server connection signal, the following steps are also included: Using protocol parsing technology, the server information is read through an interface with set permissions; wherein, the server information includes network information, user information, overall machine configuration, FRU (Field Replaceable Unit) information, and fault log record information; it is determined whether the server information is confidential information, and if the server information is confidential information, the server information is encrypted.

[0050] Specifically, when the maintenance card device establishes a connection relationship with the server, that is, when the maintenance card device receives the server connection signal, the server information is directly read through an interface with administrator permissions using protocol parsing technology; wherein, the server information includes network information, user information, overall machine configuration, FRU (Field Replaceable Unit) information, and fault log record information; thus, the server information is automatically read without manual operation, and the whole process is automated, enhancing the efficiency. Exemplarily, in the embodiment of the present application, an information reading module is set in the maintenance card device, and the server information is directly read through the USB interface and the Type-c interface with administrator permissions.

[0051] Specifically, the information reading module adopts advanced protocol parsing technology, which can quickly and accurately obtain information such as the network configuration, user account, and password of the server, and encrypts and stores the confidential information to ensure data security.

[0052] It can be understood that the information stored and transmitted in the server may include confidential information, such as user privacy, business secrets, security information, etc. To ensure the security of this information, in the embodiment of the present application, it is detected whether the server information is confidential information, and the confidential information is encrypted, thereby effectively preventing information leakage. Among them, to detect the confidential information, the recognition rules of the confidential information can be preset, and information recognition technology is used to recognize the confidential information in the server information. For example, information recognition technologies such as keyword matching, regular expressions, machine learning, and context analysis are used to recognize the confidential information.

[0053] It should be noted that there are various means for encrypting information data in existing implementation methods, and the embodiments of the present application do not limit this.

[0054] Based on the above embodiments, the server maintenance processing method can be further specified as: If the running state of the server is the normal state, perform automatic settings on the server, including: If the running state of the server is the normal state, perform automatic settings on the server according to the server information; among them, the automatic setting operations include remote management parameters, resetting the user password, creating a new user, and setting a new network address.

[0055] It can be understood that when the maintenance card device is externally connected to the server, and it detects that the running state of the server is the normal state, obtain the server information, and perform automatic settings on the server according to the server information. For example, use the user password information of the server to perform automatic settings on the server. Optionally, in the automatic maintenance stage, the server information can also be called to perform the automatic maintenance process.

[0056] Based on the above embodiments, the server maintenance processing method can be further specified as: It further includes: Real-time backup the firmware state of the server; when it detects that the firmware of the server has an abnormal situation, perform recovery processing on the abnormal firmware according to the backed-up firmware state.

[0057] Exemplarily, the automatic maintenance module of the maintenance card automatically completes the initialization work of the key firmware information when the server restarts. At the same time, regularly back up the firmware state, and store the backup data in the secure area of the device to prevent data loss. When the firmware has an abnormality, it can quickly recover to the most recent normal backup state.

[0058] Based on the above embodiments, the server maintenance processing method can be further specified as: It further includes: Perform real-time update operations on the server; among them, the update operations include updating all firmware, updating the CPLD (Complex Programmable Logic Device) program, and updating the software driver.

[0059] Exemplarily, the automatic maintenance module of the maintenance card also supports factory reset of the server firmware, supports updating all firmware, supports updating the CPLD program, and supports updating the software driver. And it can also customize the maintenance program in advance, and achieve plug-and-play maintenance through the customized operation and maintenance program, and directly repair the machine to normal according to the customized method.

[0060] Based on the above embodiments, the server maintenance processing method can be further specified as: Before receiving the server connection signal, it further includes: Write low-level driver programs, information reading programs, server setting programs, server maintenance programs, firmware initialization programs, and backup programs.

[0061] Exemplarily, write a dedicated low-level driver program to achieve efficient communication between the device and the server. The driver supports multiple operating systems, including Windows Server, Linux, etc., ensuring that the device can work properly in different server environments. At the same time, optimize the performance of the driver to reduce data transmission latency and resource occupancy.

[0062] Thus, set up the writing program in advance so that the device can automatically start after being inserted into the server and powered on, ensuring that the device can enter the working state in the shortest time.

[0063] Based on the above embodiments, the server maintenance processing method can be further specified as: further including: Display the operation result of the server through the display module; receive a button trigger signal or a touch screen control signal, and execute the corresponding trigger function on the server.

[0064] Exemplarily, design a display module on the maintenance card device: design a perfect visualization module, support simple operation buttons, support operation visualization, support simple display lights to feedback results; support an enhanced version of the display screen to visualize the information that needs to be displayed on the card; or support collecting records such as maintenance operations, packing them, and exporting them to a mobile computer device through USB and Type-c interfaces for visual analysis.

[0065] Exemplarily, the maintenance card device supports setting or solidifying new maintenance functions in advance through the programming mode, and supports selecting different function modes through simple buttons, which is convenient for operation according to actual needs. For example, programming interface development: provide an open programming interface for easy function expansion; the programming interface supports multiple programming languages, such as C, Python, etc., reducing the development threshold; new maintenance functions can be developed using the programming interface according to actual needs and integrated into the maintenance card. For example, button function design: design a simple and easy-to-use button function selection interface with reasonable button layout and clear identification; each button corresponds to a specific function mode, and by pressing the corresponding button, the required function can be quickly selected; at the same time, the currently selected function mode and operation prompts are displayed in real time on the device's display screen for convenient operation.

[0066] In addition, during the task execution process of the maintenance card device in this application embodiment, the device monitors the progress and status of its own tasks in real time. In case of an abnormal situation, it automatically performs its own error handling and task retry. For example, in a data acquisition task, if a network failure causes data reading to fail, the device will automatically try to reconnect to the network and reread the data to ensure the integrity of the task.

[0067] Meanwhile, integrate a variety of security mechanisms in the software to ensure the security of the server and devices. Use data encryption technology to encrypt the data during transmission and storage to prevent data leakage. Set up access permission management so that only authorized personnel can use the advanced functions of the device to avoid misoperations and malicious operations. At the same time, regularly detect and update security vulnerabilities in the software to ensure the security and stability of the software.

[0068] As described above, the plug-and-play USB hardware device solution adopted in the embodiments of the present application has multiple editing methods, is convenient to carry, and commonly used operation and maintenance programs are pre-stored inside the device. After being inserted into the server, it can automatically start and run the preset functions without additional complex operations. Automated operation and maintenance: The device supports power-on self-start and automatic operation functions. During operation, it can automatically complete operations such as server settings, data collection (including network information, user information, etc.), IPMI settings, and restarting and initializing key firmware information, and automatically save operation logs and backup firmware status to achieve full-process automated operation and maintenance. Flexibility and reusability: The device supports a programming mode, and new maintenance functions can be set or solidified in advance. At the same time, it is equipped with simple button function selection, and corresponding functions can be easily selected according to actual needs. This greatly reduces the requirements for professional technical levels, and the device can be reused with high flexibility.

[0069] The above steps are not strictly executed in the order described by the numbers, and should be understood as a whole solution.

[0070] In a second aspect, on the basis of the above embodiments, the embodiments of the present application further provide a server maintenance processing device integrated in a maintenance card device externally connected to the server. Refer to Figure 2 , the server maintenance processing device provided in this embodiment specifically includes: a connection detection module 201, a setting operation module 202, a fault detection module 203, a repair operation module 204, and a normal detection module 205.

[0071] Among them, the connection detection module 201 is used to receive the server connection signal and detect the running state of the server; the setting operation module 202 is used to perform setting operations on the server if the running state of the server is a normal state; the fault detection module 203 is used to detect the cause of the fault if the running state of the server is a fault state; among them, the cause of the fault includes firmware faults, software faults, and driver faults; the repair operation module 204 is used to call a preset repair program to perform repair operations on the server according to the cause of the fault; the normal detection module 205 is used to perform setting operations on the server when it detects that the running state of the server changes from a fault state to a normal state.

[0072] As described above, the embodiment of the present application receives a server connection signal and detects the operating state of the server; if the operating state of the server is normal, an automatic setting operation is performed on the server; if the operating state of the server is a fault state, the cause of the fault is detected; wherein, the cause of the fault includes firmware fault, software fault and driver fault; according to the cause of the fault, a corresponding preset maintenance program is called to perform an automatic maintenance operation on the server; when it is detected that the operating state of the server changes from the fault state to the normal state, an automatic setting operation is performed on the server; the automatic setting and automatic maintenance operations on the server are performed through a plug-and-play maintenance card device, which improves the efficiency of server deployment and maintenance, reduces the operation difficulty and cost, and is convenient to use.

[0073] In a third aspect, the embodiment of the present application further provides an electronic device, which can integrate the server maintenance processing device of the user-mode polling mechanism provided by the embodiment of the present application. Figure 3 is a schematic structural diagram of an electronic device provided by the embodiment of the present application. Refer to Figure 3 , the electronic device includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 is used to store one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 implement the server maintenance processing method of the user-mode polling mechanism provided by the above embodiment. Wherein, the input device 43, the output device 44, the memory 42 and the processor 41 can be connected through a bus or other means, Figure 3 Taking connection through a bus as an example.

[0074] The processor 41 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 42, that is, implements the above-mentioned server maintenance processing method of the user-mode polling mechanism.

[0075] The above-provided electronic device can be used to execute the server maintenance processing method of the user-mode polling mechanism provided by the above embodiment, and has corresponding functions and beneficial effects.

[0076] In a fourth aspect, the embodiment of the present application further provides a computer-readable storage medium, which includes a stored computer program; wherein, when the computer program runs, it controls the device where the computer-readable storage medium is located to execute the server maintenance processing method as described above, and can achieve the same beneficial effects.

[0077] Of course, the computer-executable instructions of the storage medium including computer-executable instructions provided by the embodiment of the present application are not limited to the above-mentioned server maintenance processing method, and can also execute related operations in the server maintenance processing methods provided by any embodiment of the present application.

[0078] In a fifth aspect, an embodiment of the present application further provides a computer program product. The methods described in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM (Open Application Model), or other programmable devices.

[0079] The computer program or instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer program or instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired or wireless manner. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrating one or more available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it can also be an optical medium, such as a digital video disc; or it can be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile types of storage media.

[0080] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the drawings show the possible architectures, functions, and operations of the devices, methods, and computer program products according to multiple embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0081] In addition, each functional module in various embodiments of the present application may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.

[0082] If the above-mentioned function is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.

[0083] The above are only the embodiments of the present application and are not used to limit the protection scope of the present application. For those skilled in the art, the present application may have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0084] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

[0085] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.

Claims

1. A server maintenance processing method, characterized in that: Applied to a maintenance card device externally connected to a server, the method comprises: Receive the server connection signal and detect the running status of the server; If the running status of the server is normal, automatically set the server; If the running state of the server is a fault state, detect the cause of the fault; wherein the cause of the fault includes firmware fault, software fault and driver fault; According to the cause of the fault, the corresponding preset maintenance program is called to perform automatic maintenance operations on the server; It is detected that the running state of the server changes from the fault state to the normal state, and the server is automatically set up.

2. The server maintenance processing method according to claim 1, characterized in that: After receiving the server connection signal, the method further includes: The protocol parsing technology is used to read the server information through the interface with the set permissions; wherein the server information includes network information, user information, whole machine configuration, FRU field replaceable unit information and fault log record information; Determine whether the server information is confidential information. If the server information is confidential information, encrypt the server information.

3. The server maintenance processing method according to claim 2, characterized in that: If the running state of the server is normal, automatically setting the server includes: If the running status of the server is normal, the server is automatically configured according to the server information; the automatic configuration operations include remote management parameters, resetting user passwords, creating new users, and setting new network addresses.

4. The server maintenance processing method according to claim 1, characterized in that: Also includes: Back up the server's firmware status in real time; When an abnormality is detected in the server firmware, the abnormal firmware is restored according to the backup firmware status.

5. The server maintenance processing method according to claim 1, characterized in that: Also includes: Perform real-time update operations on the server; wherein the update operation includes updating all firmware, updating CPLD complex programmable logic device programs, and updating software drivers.

6. The server maintenance processing method according to claim 1, characterized in that: Before receiving the server connection signal, the method further includes: Write low-level drivers, information reading programs, server setup programs, server repair programs, firmware initialization programs, and backup programs.

7. The server maintenance processing method according to claim 1, characterized in that: Also includes: Display the operation results of the server through the display module; Upon receiving a button trigger signal or a touch screen control signal, the corresponding trigger function is executed on the server.

8. A server maintenance processing device, characterized in that: Integrated in a maintenance card device externally connected to a server, the device comprises: A connection detection module is used to receive a server connection signal and detect the running status of the server; A setting operation module is used to perform setting operations on the server if the running status of the server is normal; A fault detection module is used to detect the cause of the fault if the running state of the server is a fault state; wherein the cause of the fault includes a firmware fault, a software fault and a driver fault; A maintenance operation module is used to call a preset maintenance program to perform maintenance operations on the server according to the cause of the fault; The normal detection module is used to detect that the running state of the server changes from a fault state to a normal state, and perform setting operations on the server.

9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, they are used to implement the server maintenance processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the server, the server maintenance processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Maintenance method and system for external storage device

    CN101833495A

  • Server maintenance method, device and equipment and machine readable storage medium

    CN112100027A

  • Fault server processing method and system, electronic equipment and storage medium

    CN114780273A

  • Server maintenance method and device, equipment and storage medium

    CN114895968A

  • Server maintenance method, device and system

    CN117667596A