Automated operation and maintenance system, method, device and storage medium
By introducing the management control module and the operation and maintenance execution module into the automated operation and maintenance system, it supports multiple operation modes and functions, solves the problems of single function and complex operation of the existing system, and realizes comprehensive operation and maintenance management of computer equipment. Improved operation and maintenance convenience.
Patent Information
- Application Number
- CN202210345189.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-03-31
AI Technical Summary
The existing automated operation and maintenance system has a single function and cannot perform comprehensive operation and maintenance of computer equipment. The operation is complex and difficult to get started.
An automated operation and maintenance system is designed, which includes a management control module and an operation and maintenance execution module. It supports command line instructions and interactive instruction operations, realizes firmware updates, stress testing and operating parameter acquisition, and records test and parameter correlations through the management control module. , to achieve integrated operation and maintenance.
It improves the convenience of operation and maintenance of computer equipment, allowing users to complete operation and maintenance operations through flexible command response methods regardless of their familiarity, ensuring the flexibility and convenience of operation and maintenance.
Smart Images

Figure CN114968448B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of equipment operation and maintenance technology, and in particular, to an automated operation and maintenance system, method, device and storage medium. Background Art
[0002] With the continuous development of computer technology, more and more computer equipment appears in the daily operations of enterprises, which puts higher requirements on the operation and maintenance of equipment.
[0003] Automated operation and maintenance is to transform periodic, repetitive and regular work from manual execution into automated operations, so as to improve the overall work efficiency of the project and reduce unnecessary human errors. The existing automated operation and maintenance system has single functions and can only realize specific operation and maintenance functions. It is unable to perform more comprehensive operation and maintenance of computer equipment. At the same time, for users who are not familiar with the current operation and maintenance system, the operation method is too complicated and difficult to use. Summary of the invention
[0004] Embodiments of the present invention provide an automated operation and maintenance system, method, device and storage medium to achieve more comprehensive operation and maintenance of computer equipment.
[0005] In a first aspect, an embodiment of the present invention provides an automated operation and maintenance system, including: a management control module and an operation and maintenance execution module;
[0006] The management control module is used to control the display of system operation information and control the operation of the operation and maintenance execution module; wherein the system operation information includes operation mode and operation example, and the operation mode includes command line instruction operation and interactive instruction operation;
[0007] The operation and maintenance execution module is used to execute firmware update operations, stress test operations and operation parameter acquisition operations.
[0008] The management control module specifically includes: an instruction type acquisition unit, which is used to obtain the instruction type of the user operation instruction in response to obtaining the user operation instruction; a command line instruction response unit, which is used to respond to the user operation instruction according to the execution parameters of the user operation instruction if the user operation instruction is a command line instruction; an interactive instruction response unit, which is used to respond to the user operation instruction according to the user operation instruction and historical interaction information if the user operation instruction is an interactive instruction. The above-mentioned user operation instruction response method allows users to perform specific operation and maintenance operations at any time through command line instructions based on the system feedback information of the interactive instruction, ensuring the flexibility of user instruction release.
[0009] The interactive instruction response unit specifically includes: a combined instruction acquisition subunit, which is used to sequentially acquire each system feedback information in reverse chronological order, and respectively compose a combined instruction with the user operation instruction and each system feedback information; a valid instruction judgment subunit, which is used to sequentially judge whether each of the combined instructions is a valid instruction; if the current combined instruction is a valid instruction, respond to the valid instruction; if the current combined instruction is an invalid instruction, continue to acquire the next combined instruction until a valid instruction is acquired or all the combined instructions are invalid instructions. The above-mentioned user operation instruction response method makes it possible for the user to directly perform specific operation and maintenance operations through interactive instructions based on the system's historical feedback information even if the user issues an erroneous command line instruction, further ensuring the flexibility of switching operations between interactive instructions and command line instructions at any time.
[0010] The operation and maintenance execution module includes a firmware update execution unit, a stress test execution unit and an operation parameter acquisition unit; the firmware update execution unit is used to display a first component catalog, and execute the firmware update of the first component in response to obtaining a firmware update instruction of the first component; the stress test execution unit is used to display a second component catalog, and execute the stress test of the second component in response to obtaining a stress test instruction of the second component; the operation parameter acquisition unit is used to display a third component catalog, and acquire the operation parameters of the third component in response to obtaining a parameter acquisition instruction of the third component. The management control module is also used to record the test association relationship between the first component and the second component, the parameter association relationship between the first component and the third component, and the operation association relationship between the second component and the third component. The above operation and maintenance method realizes the integrated operation of firmware update, stress test and operation parameter acquisition, which greatly improves the operation and maintenance convenience of computer components.
[0011] In a second aspect, an embodiment of the present invention provides an automated operation and maintenance method, including:
[0012] The management control module sends the firmware update instruction to the firmware update execution unit in response to acquiring the firmware update instruction of the target first component;
[0013] The firmware update execution unit executes the firmware update of the target first component in response to the firmware update instruction of the target first component being acquired, and sends an update completion signal of the target first component to the management control module after the update is completed;
[0014] In response to acquiring the update completion signal of the target first component, the management control module acquires the target second component matching the target first component according to the test association relationship, and issues a stress test instruction of the target second component to the stress test execution unit, and acquires the target third component matching the target first component according to the parameter association relationship, and issues a parameter acquisition instruction of the target third component to the operation parameter acquisition unit;
[0015] The stress test execution unit executes the stress test of the target second component in response to acquiring the stress test instruction of the target second component, and sends the stress test result of the target second component to the management control module after the test is completed;
[0016] In response to obtaining the stress test result of the target second component, the management control module obtains a designated third component matching the target second component according to the operation association relationship, and issues a parameter acquisition instruction of the designated third component to the operation parameter acquisition unit;
[0017] The operating parameter acquisition unit acquires the operating parameters of the target third component in response to the parameter acquisition instruction of the target third component, and sends the operating parameters of the target third component to the management control module, and acquires the operating parameters of the designated third component in response to the parameter acquisition instruction of the designated third component, and sends the operating parameters of the designated third component to the management control module;
[0018] The management control module obtains a stress test report according to current stress test results and historical stress test results, and obtains an operating parameter report according to current operating parameters and historical operating parameters.
[0019] In a third aspect, an embodiment of the present invention provides an automated operation and maintenance method, including:
[0020] In response to acquiring the one-key update instruction, the management control module sends the one-key update instruction to the firmware update execution unit;
[0021] The firmware update execution unit executes the firmware update of all the first components in response to acquiring the one-key update instruction, and sends an update completion signal of all the first components to the management control module after the update is completed;
[0022] In response to acquiring update completion signals of all the first components, the management control module issues a one-key test instruction to the stress test execution unit and issues a one-key acquisition instruction to the operation parameter acquisition unit;
[0023] The stress test execution unit executes the stress test of all the second components in response to acquiring the one-key test instruction, and sends the stress test results of all the second components to the management control module after the test is completed;
[0024] In response to obtaining the pressure test results of all the second components, the management control module re-issues the one-key acquisition instruction to the operation parameter acquisition unit;
[0025] The operating parameter acquisition unit acquires the operating parameters of all third components in response to acquiring the one-key acquisition instruction, and sends the operating parameters of all third components to the management control module;
[0026] The management control module obtains a stress test report according to current stress test results and historical stress test results, and obtains an operating parameter report according to current operating parameters and historical operating parameters.
[0027] In a fourth aspect, an embodiment of the present invention provides an automated operation and maintenance device, including:
[0028] A firmware update instruction acquisition module, integrated in the management control module, for responding to acquiring a firmware update instruction of a target first component, sending the firmware update instruction to the firmware update execution unit;
[0029] a specific component update execution module, integrated in the firmware update execution unit, for executing the firmware update of the target first component in response to the firmware update instruction of the target first component being acquired, and sending an update completion signal of the target first component to the management control module after the update is completed;
[0030] a specific component update completion module, integrated in the management control module, for, in response to obtaining the update completion signal of the target first component, obtaining the target second component matching the target first component according to the test association relationship, and issuing a stress test instruction of the target second component to the stress test execution unit, and obtaining the target third component matching the target first component according to the parameter association relationship, and issuing a parameter acquisition instruction of the target third component to the operation parameter acquisition unit;
[0031] a specific component test execution module, integrated in the stress test execution unit, for executing the stress test of the target second component in response to the acquired stress test instruction of the target second component, and sending the stress test result of the target second component to the management control module after the test is completed;
[0032] a specific component test completion module, integrated in the management control module, for obtaining, in response to the pressure test result of the target second component, a designated third component matching the target second component according to the operation association relationship, and issuing a parameter acquisition instruction of the designated third component to the operation parameter acquisition unit;
[0033] a specific component parameter execution module, integrated in the operation parameter acquisition unit, for acquiring the operation parameters of the target third component in response to the parameter acquisition instruction of the target third component, and sending the operation parameters of the target third component to the management control module, and for acquiring the operation parameters of the designated third component in response to the parameter acquisition instruction of the designated third component, and sending the operation parameters of the designated third component to the management control module;
[0034] The first report generation module is integrated in the management control module and is used to obtain a stress test report based on current stress test results and historical stress test results, and to obtain an operating parameter report based on current operating parameters and historical operating parameters.
[0035] In a fifth aspect, an embodiment of the present invention provides an automated operation and maintenance device, including:
[0036] A one-key update instruction acquisition module, integrated in the management control module, for responding to obtaining a one-key update instruction, sending the one-key update instruction to the firmware update execution unit;
[0037] an all-component update execution module, integrated in the firmware update execution unit, for executing the firmware update of all first components in response to acquiring the one-key update instruction, and sending an update completion signal of all first components to the management control module after the update is completed;
[0038] an all-component update completion module, integrated in the management control module, for, in response to obtaining update completion signals of all first components, issuing a one-key test instruction to the stress test execution unit, and issuing a one-key acquisition instruction to the operation parameter acquisition unit;
[0039] an all-component test execution module, integrated in the stress test execution unit, for executing the stress test of all second components in response to acquiring the one-key test instruction, and sending the stress test results of all second components to the management control module after the test is completed;
[0040] an all-component test completion module, integrated in the management control module, for responding to obtaining the pressure test results of all the second components, and re-issuing the one-key acquisition instruction to the operation parameter acquisition unit;
[0041] an all-component parameter execution module, integrated in the operating parameter acquisition unit, for acquiring the operating parameters of all third components in response to acquiring the one-key acquisition instruction, and sending the operating parameters of all third components to the management control module;
[0042] The second report generation module is integrated in the management control module and is used to obtain a stress test report based on current stress test results and historical stress test results, and to obtain an operating parameter report based on current operating parameters and historical operating parameters.
[0043] In a sixth aspect, an embodiment of the present invention further provides a server, wherein the server includes an automated operation and maintenance system, wherein the automated operation and maintenance system includes a management control module and an operation and maintenance execution module; the automated operation and maintenance system is used to implement the automated operation and maintenance method described in any embodiment of the present invention.
[0044] In a seventh aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, implement the automated operation and maintenance method described in any embodiment of the present invention.
[0045] The technical solution disclosed in the embodiment of the present invention is that the management control module has the response function of command line instructions and interactive instructions, and the operation control function of the operation and maintenance execution module, so that users who are familiar with the instruction composition rules of the current operation and maintenance system can quickly implement specific operation and maintenance operations through command line instructions, and users who are not familiar with the instruction composition rules of the current operation and maintenance system can complete the operation and maintenance operations through interactive instructions with the help of guidance information displayed by electronic devices. The operation and maintenance execution module realizes more comprehensive operation and maintenance of computer equipment by executing firmware updates, stress testing operations and operation parameter acquisition of components. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1A This is a structural block diagram of an automated operation and maintenance system provided by Embodiment 1 of the present invention;
[0047] Figure 1B This is a structural block diagram of an automated operation and maintenance system provided by Embodiment 1 of the present invention;
[0048] Figure 2 This is a flow chart of an automated operation and maintenance method provided by Embodiment 2 of the present invention;
[0049] Figure 3 This is a flow chart of an automated operation and maintenance method provided by Embodiment 3 of the present invention;
[0050] Figure 4 This is a structural block diagram of an automated operation and maintenance device provided by Embodiment 4 of the present invention;
[0051] Figure 5 This is a structural block diagram of an automated operation and maintenance device provided in Embodiment 5 of the present invention;
[0052] Figure 6 This is a structural block diagram of a server provided in Embodiment 6 of the present invention. DETAILED DESCRIPTION
[0053] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0054] Embodiment 1
[0055] Figure 1A An automated operation and maintenance system is provided in the first embodiment of the present invention, and the system includes a management control module 100 and an operation and maintenance execution module 200; the automated operation and maintenance system can be integrated in a server or a terminal device.
[0056] The management control module 100 is used to control the display of system operation information and control the operation of the operation and maintenance execution module 200; wherein the system operation information includes operation methods and operation examples, and the operation methods include command line instruction operations and interactive instruction operations.
[0057] Command line instruction operation, that is, the user issues user instructions by inputting Linux commands, and the Linux system executes the corresponding command operation by parsing the execution object and execution parameters in the command line. It has a highly purposeful operation feature; interactive instruction operation, that is, through interactive processing (Interactive Processing) of human-computer dialogue, the user issues further operation instructions through the relevant information displayed by the computer, and it has a simple and convenient operation feature; in the embodiment of the present invention, the management control module 100 has the response function to command line instruction operations and interactive instruction operations, so that users who are familiar with the instruction composition rules of the current operation and maintenance system can quickly implement specific operation and maintenance operations through command line instructions, and users who are not familiar with the instruction composition rules of the current operation and maintenance system can complete the operation and maintenance operations through interactive instructions with the help of guidance information displayed by electronic devices.
[0058] like Figure 1BAs shown, optionally, in an embodiment of the present invention, the management control module 100 specifically includes: an instruction type acquisition unit 110, used to obtain the instruction type of the user operation instruction in response to obtaining the user operation instruction; a command line instruction response unit 120, used to respond to the user operation instruction according to the execution parameters of the user operation instruction if the user operation instruction is a command line instruction; and an interactive instruction response unit 130, used to respond to the user operation instruction according to the user operation instruction and historical interaction information if the user operation instruction is an interactive instruction.
[0059] Specifically, when performing operation and maintenance operations, users can not only complete the instruction release through any one of the above two operation methods, but also complete the operation and maintenance operations through a combination of the two methods; for example, after the user obtains certain display information through interactive instruction operation, the specific execution parameters have been learned based on the above display information. At this time, a certain operation and maintenance operation is directly performed through command line instructions; therefore, the instruction type acquisition unit 110, each time it obtains a user operation instruction, will determine whether the user operation instruction is a command line instruction according to the instruction composition rules; if it is a command line instruction, the command line instruction response unit 120 can respond to the command line instruction according to the execution parameters in the user operation instruction; if it is an interactive instruction, the interactive instruction response unit 130 responds to the user operation instruction according to the user operation instruction and the display information fed back by the system; the above-mentioned user operation instruction response method allows users to perform specific operation and maintenance operations through command line instructions at any time based on the system feedback information based on the interactive instruction, thereby ensuring the flexibility of user instruction release.
[0060] Optionally, in an embodiment of the present invention, the interactive instruction response unit 130 specifically includes: a combined instruction acquisition subunit 131, which is used to acquire each system feedback information in reverse chronological order, and respectively form a combined instruction with the user operation instruction and each system feedback information; a valid instruction judgment subunit 132, which is used to judge in turn whether each of the combined instructions is a valid instruction; if the current combined instruction is a valid instruction, respond to the valid instruction; if the current combined instruction is an invalid instruction, continue to acquire the next combined instruction until a valid instruction is acquired or all the combined instructions are invalid instructions.
[0061] Specifically, in traditional interactive commands, the computer determines the user's intention for the next step based on the system feedback information displayed in the previous step and the user's current input information. However, in an embodiment of the present invention, due to the existence of an interspersed operation mode of interactive instructions and command line instructions, the computer may not be able to determine the user's intention for the next step based only on the system feedback information displayed in the previous step; for example, after the user obtains all components in the system through an interactive command, the computer device displays information about all components in the system, and the user issues a firmware update instruction (i.e., a command line instruction) for a specific component based on the above-displayed component information. However, due to an error in the user's input instruction, the electronic device returns relevant prompt information that the instruction is incorrect; at this time, the user cannot continue to request detailed information about the specific component in an interactive command manner through the previous system feedback information.
[0062] Taking the above technical solution as an example, the computer combines the user operation instruction "detailed information of the first component" with the system feedback information "wrong instruction" which is the closest in time series. Obviously, according to the above combined instruction, no matching query result can be obtained; then the "detailed information of the first component" is combined with the second closest system feedback information "system component list" in time series. Obviously, matching query results can be obtained. The response method of the above user operation instruction makes it possible for the user to continue to perform specific operation and maintenance operations through interactive instructions directly based on the historical feedback information of the system even if the user issues an erroneous command line instruction, further ensuring the flexibility of switching operations between interactive instructions and command line instructions at any time.
[0063] The operation and maintenance execution module 200 is used to perform firmware update operations, stress test operations and operation parameter acquisition operations. Firmware is a code program written into the erasable programmable read-only memory (EPROM) or electrically erasable programmable read only memory (EEPROM) of a component; the user can store the new firmware of different components into different folders through the management control module 100, and the operation and maintenance execution module 200 updates the firmware of the component according to the new firmware in the corresponding folder; stress test is to test the performance, reliability and stability of the system under test by simulating the software and hardware environment of actual application; the user can store the test tools and / or function libraries required for stress testing of different components into different folders through the management control module 100, and the operation and maintenance execution module 200 performs stress testing on the component according to the test tools and / or function libraries in the corresponding folder; the operation parameters are the operation parameters of specific components in the computer device, which reflect the operation status of the computer device.
[0064] Optionally, in an embodiment of the present invention, the operation and maintenance execution module 200 includes a firmware update execution unit 201, a stress test execution unit 202 and an operation parameter acquisition unit 203; the firmware update execution unit 201 is used to display a first component catalog, and in response to obtaining a firmware update instruction of the first component, execute a firmware update of the first component; the stress test execution unit 202 is used to display a second component catalog, and in response to obtaining a stress test instruction of the second component, execute a stress test of the second component; the operation parameter acquisition unit 203 is used to display a third component catalog, and in response to obtaining a parameter acquisition instruction of the third component, acquire the operation parameters of the third component.
[0065] Specifically, the first component catalog displays all components in the system that can perform firmware update (i.e., first components), and the first components may include a Basic Input Output System (BIOS), a Baseboard Management Controller (BMC), a Network Interface Controller (NIC), a Field Replace Unit (FRU), a Redundant Arrays of Independent Disks (RAID), a Host Bus Adapter (HBA), and a Power Supply Unit (PSU), etc.; the firmware update execution unit 201 updates the firmware of the one or more first components according to the obtained firmware update instructions of the one or more first components.
[0066] The second component catalog displays all components (i.e., second components) that can be stress tested in the system, and the second components include CPU, memory, RAID, HBA, network card, BMC, etc.; the stress test execution unit 202 performs stress test on the above-mentioned one or more second components according to the stress test instructions of one or more second components obtained; after the stress test is completed, the management control module 100 obtains the system event (SEL) log, sensor data record (Sensor Data Record, SDR) log and system log as the stress test result; in particular, before each stress test is executed, the management control module 100 clears the existing system log to avoid confusion between new and old logs, and ensures that after the completion of this stress test, the error (Error) that occurs is generated in this stress test.
[0067] The third component includes a CPU, a memory, a hard disk drive (HDD), a multi-function power meter (SciTech Display Doctor, SSD), a non-volatile memory host controller interface (Non-Volatile Memory Express, NVME) and an M.2 interface, etc.; the operating parameter acquisition unit 203 acquires the operating parameters of the above-mentioned one or more third components according to the parameter acquisition instructions of the one or more third components.
[0068] Optionally, in an embodiment of the present invention, the operation and maintenance execution module 200 is also used to record the test association relationship between the first component and the second component, the parameter association relationship between the first component and the third component, and the operation association relationship between the second component and the third component. When a first component completes the firmware update, it may affect the performance of one or more second components. At this time, the second component needs to be stress tested. Therefore, a first component has a test association relationship with one or more specific second components; wherein the first component and the second component with the test association relationship can be the same component, for example, RAID is both the first component and the second component. After the firmware of RAID is updated, the RAID itself is stress tested to obtain whether the updated firmware affects the performance of RAID; the first component and the second component with the test association relationship can also be different components, for example, after the firmware of BIOS is updated, the CPU is stress tested to obtain whether the BIOS after the firmware update affects the performance of CPU; therefore, after detecting that the first component is updated with firmware, the management control module 100 performs a stress test on the matching second component through the stress test execution unit 202 according to the above test association relationship.
[0069] At the same time, when a second component completes a stress test, it may also affect the operating status of one or more third components. At this time, it is necessary to obtain the operating parameters of the third component. Therefore, a second component has an operating association relationship with specific one or more third components; wherein, the second component and the third component having an operating association relationship may be the same component, for example, the CPU is both the second component and the third component. After the CPU is stress tested, the operating status of the CPU is obtained to determine whether the operating status of the CPU has changed after the stress test; the second component and the third component having an operating association relationship may also be different components. For example, after the network card is stress tested, the operating status of the CPU is obtained to determine whether the operating status of the CPU has changed after the network card performs the stress test; therefore, after detecting that the second component is stress tested, the management control module 100 obtains the operating parameters of the matching third component through the operating parameter acquisition unit 203 according to the above-mentioned operating association relationship. In addition, when the firmware of a first component is updated, it may also affect the operating status of one or more third components. At this time, it is necessary to obtain the operating parameters of the third component. Therefore, a first component has a parameter association relationship with one or more specific third components; wherein the first component and the third component with a parameter association relationship may be the same component or different components; therefore, after detecting the firmware update of the first component, the management control module 100 obtains the operating parameters of the matching third component through the operating parameter acquisition unit 203 according to the above parameter association relationship. The above operation and maintenance method realizes the integrated operation of firmware update, stress test and operation parameter acquisition, which greatly improves the operation and maintenance convenience of computer components.
[0070] The technical solution disclosed in the embodiment of the present invention is that the management control module has the response function of command line instructions and interactive instructions, and the operation control function of the operation and maintenance execution module, so that users who are familiar with the instruction composition rules of the current operation and maintenance system can quickly implement specific operation and maintenance operations through command line instructions, and users who are not familiar with the instruction composition rules of the current operation and maintenance system can complete the operation and maintenance operations through interactive instructions with the help of guidance information displayed by electronic devices. The operation and maintenance execution module realizes more comprehensive operation and maintenance of computer equipment by executing firmware updates, stress testing operations and operation parameter acquisition of components.
[0071] Embodiment 2
[0072] Figure 2 This is a flow chart of an automated operation and maintenance method provided in the second embodiment of the present invention. The method can be executed by the automated operation and maintenance device in the fourth embodiment of the present invention. The device can be implemented by software and / or hardware and integrated in the automated operation and maintenance system in the first embodiment. The method specifically includes the following steps:
[0073] S210. In response to obtaining the firmware update instruction of the target first component, the management control module sends the firmware update instruction to the firmware update execution unit.
[0074] S220: The firmware update execution unit executes firmware update of the target first component in response to obtaining the firmware update instruction of the target first component, and sends an update completion signal of the target first component to the management control module after the update is completed.
[0075] S230. In response to obtaining the update completion signal of the target first component, the management control module obtains the target second component that matches the target first component according to the test association relationship, and issues a stress test instruction for the target second component to the stress test execution unit; and obtains the target third component that matches the target first component according to the parameter association relationship, and issues a parameter acquisition instruction for the target third component to the operation parameter acquisition unit.
[0076] S240. The stress test execution unit executes the stress test of the target second component in response to obtaining the stress test instruction of the target second component, and sends the stress test result of the target second component to the management control module after the test is completed.
[0077] S250. In response to obtaining the stress test result of the target second component, the management control module obtains a designated third component matching the target second component according to the operation association relationship, and sends a parameter acquisition instruction of the designated third component to the operation parameter acquisition unit.
[0078] S260, the operating parameter acquisition unit acquires the operating parameters of the target third component in response to the parameter acquisition instruction of the target third component, and sends the operating parameters of the target third component to the management control module; and acquires the operating parameters of the designated third component in response to the parameter acquisition instruction of the designated third component, and sends the operating parameters of the designated third component to the management control module.
[0079] S270. The management control module obtains a stress test report according to current stress test results and historical stress test results, and obtains an operating parameter report according to current operating parameters and historical operating parameters.
[0080] The management control module can pre-install software installation packages required for generating test reports, such as pyPdf library and reportlab library, to achieve PDF (Portable Document Format) version test report generation.
[0081] According to the technical solution disclosed in the embodiment of the present invention, a firmware update execution unit executes a firmware update of a target first component in response to obtaining a firmware update instruction of the target first component, a stress test execution unit executes a stress test of a target second component matching the target first component in response to obtaining a stress test instruction, and an operating parameter acquisition unit acquires operating parameters of a third component matching the target first component and the target second component in response to obtaining a parameter acquisition instruction, thereby realizing the integrated operation and maintenance of firmware update, stress test and operation parameter acquisition, greatly improving the operation and maintenance convenience of computer components.
[0082] Embodiment 3
[0083] Figure 3 This is a flow chart of an automated operation and maintenance method provided in Embodiment 3 of the present invention. The method may be performed by the automated operation and maintenance device in Embodiment 5 of the present invention. The device may be implemented by software and / or hardware and integrated into the automated operation and maintenance system in Embodiment 1. The method specifically includes the following steps:
[0084] S310. In response to obtaining the one-key update instruction, the management control module sends the one-key update instruction to the firmware update execution unit.
[0085] S320: In response to obtaining the one-key update instruction, the firmware update execution unit executes the firmware update of all the first components, and sends an update completion signal of all the first components to the management control module after the update is completed.
[0086] S330. In response to obtaining update completion signals of all the first components, the management control module sends a one-key test instruction to the stress test execution unit and sends a one-key acquisition instruction to the operation parameter acquisition unit.
[0087] S340. The stress test execution unit executes stress tests on all second components in response to obtaining the one-key test instruction, and sends stress test results of all second components to the management control module after the test is completed.
[0088] S350: In response to obtaining the pressure test results of all the second components, the management control module re-issues the one-key acquisition instruction to the operation parameter acquisition unit.
[0089] S360: In response to obtaining the one-key acquisition instruction, the operating parameter acquisition unit acquires the operating parameters of all third components, and sends the operating parameters of all third components to the management control module.
[0090] S370. The management control module obtains a stress test report according to the current stress test result and the historical stress test result, and obtains an operating parameter report according to the current operating parameters and the historical operating parameters.
[0091] According to the technical solution disclosed in the embodiment of the present invention, the firmware update execution unit executes the firmware update of all the first components in response to obtaining the one-key update instruction, the stress test execution unit executes the stress test of all the second components in response to obtaining the one-key test instruction, and the operating parameter acquisition unit acquires the operating parameters of all the third components in response to obtaining the one-key acquisition instruction, thereby realizing the integrated operation and maintenance operation of firmware update, stress test and operation parameter acquisition of all components, greatly improving the operation and maintenance convenience of computer components.
[0092] Embodiment 4
[0093] Figure 4 It is a structural block diagram of an automated operation and maintenance device provided in Embodiment 4 of the present invention, which specifically includes: a firmware update instruction acquisition module 410, a specific component update execution module 420, a specific component update completion module 430, a specific component test execution module 440, a specific component test completion module 450, a specific component parameter execution module 460 and a first report generation module 470.
[0094] A firmware update instruction acquisition module 410, integrated in the management control module, is used to respond to the firmware update instruction of the target first component being acquired, and send the firmware update instruction to the firmware update execution unit;
[0095] A specific component update execution module 420, integrated in the firmware update execution unit, is used to execute the firmware update of the target first component in response to the firmware update instruction of the target first component obtained, and send an update completion signal of the target first component to the management control module after the update is completed;
[0096] a specific component update completion module 430, integrated in the management control module, for, in response to obtaining the update completion signal of the target first component, obtaining the target second component matching the target first component according to the test association relationship, and issuing a stress test instruction of the target second component to the stress test execution unit, and obtaining the target third component matching the target first component according to the parameter association relationship, and issuing a parameter acquisition instruction of the target third component to the operation parameter acquisition unit;
[0097] A specific component test execution module 440, integrated in the stress test execution unit, is used to execute the stress test of the target second component in response to the acquired stress test instruction of the target second component, and send the stress test result of the target second component to the management control module after the test is completed;
[0098] A specific component test completion module 450, integrated in the management control module, is used to obtain a specified third component matching the target second component according to the operation association relationship in response to the pressure test result of the target second component, and issue a parameter acquisition instruction of the specified third component to the operation parameter acquisition unit;
[0099] a specific component parameter execution module 460, integrated in the operation parameter acquisition unit, for acquiring the operation parameters of the target third component in response to the parameter acquisition instruction of the target third component, and sending the operation parameters of the target third component to the management control module, and for acquiring the operation parameters of the designated third component in response to the parameter acquisition instruction of the designated third component, and sending the operation parameters of the designated third component to the management control module;
[0100] The first report generation module 470 is integrated in the management control module and is used to obtain a stress test report based on the current stress test results and the historical stress test results, and to obtain an operating parameter report based on the current operating parameters and the historical operating parameters.
[0101] According to the technical solution disclosed in the embodiment of the present invention, a firmware update execution unit executes a firmware update of a target first component in response to obtaining a firmware update instruction of the target first component, a stress test execution unit executes a stress test of a target second component matching the target first component in response to obtaining a stress test instruction, and an operating parameter acquisition unit acquires operating parameters of a third component matching the target first component and the target second component in response to obtaining a parameter acquisition instruction, thereby realizing the integrated operation and maintenance of firmware update, stress test and operation parameter acquisition, greatly improving the operation and maintenance convenience of computer components.
[0102] The above device can execute the automated operation and maintenance method provided by any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the automated operation and maintenance method provided by any embodiment of the present invention.
[0103] Embodiment 5
[0104] Figure 5It is a structural block diagram of an automated operation and maintenance device provided in the fifth embodiment of the present invention, which specifically includes: a one-key update instruction acquisition module 510, an all-component update execution module 520, an all-component update completion module 530, an all-component test execution module 540, an all-component test completion module 550, an all-component parameter execution module 560 and a second report generation module 570.
[0105] A one-key update instruction acquisition module 510, integrated in the management control module, is used for responding to obtaining a one-key update instruction and sending the one-key update instruction to the firmware update execution unit;
[0106] an all-components update execution module 520, integrated in the firmware update execution unit, for executing the firmware update of all first components in response to obtaining the one-key update instruction, and sending an update completion signal of all first components to the management control module after the update is completed;
[0107] The all-component update completion module 530 is integrated in the management control module and is used to send a one-key test instruction to the stress test execution unit and a one-key acquisition instruction to the operation parameter acquisition unit in response to obtaining the update completion signal of all the first components;
[0108] An all-component test execution module 540, integrated in the stress test execution unit, is used to execute the stress test of all second components in response to obtaining the one-key test instruction, and send the stress test results of all second components to the management control module after the test is completed;
[0109] The all-component test completion module 550 is integrated in the management control module and is used to issue the one-key acquisition instruction to the operation parameter acquisition unit again in response to obtaining the pressure test results of all the second components;
[0110] The all-component parameter execution module 560 is integrated in the operating parameter acquisition unit, and is used to obtain the operating parameters of all third components in response to obtaining the one-key acquisition instruction, and send the operating parameters of all third components to the management control module;
[0111] The second report generating module 570 is integrated in the management control module, and is used to obtain a stress test report according to the current stress test result and the historical stress test result, and to obtain an operating parameter report according to the current operating parameters and the historical operating parameters.
[0112] According to the technical solution disclosed in the embodiment of the present invention, the firmware update execution unit executes the firmware update of all the first components in response to obtaining the one-key update instruction, the stress test execution unit executes the stress test of all the second components in response to obtaining the one-key test instruction, and the operating parameter acquisition unit acquires the operating parameters of all the third components in response to obtaining the one-key acquisition instruction, thereby realizing the integrated operation and maintenance operation of firmware update, stress test and operation parameter acquisition of all components, greatly improving the operation and maintenance convenience of computer components.
[0113] The above device can execute the automated operation and maintenance method provided in the third embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the automated operation and maintenance method provided in the third embodiment of the present invention.
[0114] Embodiment 6
[0115] Figure 6 A schematic diagram of the structure of a server provided for Embodiment 6 of the present invention shows a structural block diagram of an exemplary server suitable for implementing the implementation mode of the present invention. Figure 6 The displayed server includes an automated operation and maintenance system, which includes a management control module and an operation and maintenance execution module;
[0116] The automated operation and maintenance system is used to implement the automated operation and maintenance method provided by any embodiment of the present invention. That is: the management control module responds to the firmware update instruction of the target first component, sends the firmware update instruction to the firmware update execution unit; the firmware update execution unit responds to the firmware update instruction of the target first component, executes the firmware update of the target first component, and sends the update completion signal of the target first component to the management control module after the update is completed; the management control module responds to the update completion signal of the target first component, obtains the target second component matching the target first component according to the test association relationship, and sends the stress test instruction of the target second component to the stress test execution unit, and obtains the target third component matching the target first component according to the parameter association relationship, and sends the parameter acquisition instruction of the target third component to the operation parameter acquisition unit; the stress test execution unit responds to the stress test instruction of the target second component, executes the stress test of the target second component. force test, and after the test is completed, sends the pressure test result of the target second component to the management control module; in response to obtaining the pressure test result of the target second component, the management control module obtains the designated third component matching the target second component according to the operation association relationship, and sends a parameter acquisition instruction of the designated third component to the operation parameter acquisition unit; in response to obtaining the parameter acquisition instruction of the target third component, the operation parameter acquisition unit obtains the operation parameters of the target third component and sends the operation parameters of the target third component to the management control module, and in response to obtaining the parameter acquisition instruction of the designated third component, obtains the operation parameters of the designated third component and sends the operation parameters of the designated third component to the management control module; the management control module obtains a pressure test report according to the current pressure test result and the historical pressure test result, and obtains an operation parameter report according to the current operation parameters and the historical operation parameters.
[0117] or the management control module, in response to obtaining the one-key update instruction, sends the one-key update instruction to the firmware update execution unit; the firmware update execution unit, in response to obtaining the one-key update instruction, executes the firmware update of all the first components, and sends an update completion signal of all the first components to the management control module after the update is completed; the management control module, in response to obtaining the update completion signal of all the first components, sends a one-key test instruction to the stress test execution unit, and sends a one-key acquisition instruction to the operating parameter acquisition unit; the stress test execution unit, in response to obtaining the one-key test instruction, executes the firmware update of all the second components The control unit performs a pressure test on the second components and sends the pressure test results of all the second components to the management control module after the test is completed; in response to obtaining the pressure test results of all the second components, the management control module again sends the one-key acquisition instruction to the operation parameter acquisition unit; in response to obtaining the one-key acquisition instruction, the operation parameter acquisition unit obtains the operation parameters of all the third components, and sends the operation parameters of all the third components to the management control module; the management control module obtains the pressure test report according to the current pressure test result and the historical pressure test result, and obtains the operation parameter report according to the current operation parameters and the historical operation parameters.
[0118] Embodiment 7
[0119] Embodiment 7 of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the automated operation and maintenance method according to any embodiment of the present invention is implemented; the method includes:
[0120] The management control module sends the firmware update instruction to the firmware update execution unit in response to acquiring the firmware update instruction of the target first component;
[0121] The firmware update execution unit executes the firmware update of the target first component in response to the firmware update instruction of the target first component being acquired, and sends an update completion signal of the target first component to the management control module after the update is completed;
[0122] In response to acquiring the update completion signal of the target first component, the management control module acquires the target second component matching the target first component according to the test association relationship, and issues a stress test instruction of the target second component to the stress test execution unit, and acquires the target third component matching the target first component according to the parameter association relationship, and issues a parameter acquisition instruction of the target third component to the operation parameter acquisition unit;
[0123] The stress test execution unit executes the stress test of the target second component in response to acquiring the stress test instruction of the target second component, and sends the stress test result of the target second component to the management control module after the test is completed;
[0124] In response to obtaining the stress test result of the target second component, the management control module obtains a designated third component matching the target second component according to the operation association relationship, and issues a parameter acquisition instruction of the designated third component to the operation parameter acquisition unit;
[0125] The operating parameter acquisition unit acquires the operating parameters of the target third component in response to the parameter acquisition instruction of the target third component, and sends the operating parameters of the target third component to the management control module, and acquires the operating parameters of the designated third component in response to the parameter acquisition instruction of the designated third component, and sends the operating parameters of the designated third component to the management control module;
[0126] The management control module obtains a stress test report according to current stress test results and historical stress test results, and obtains an operating parameter report according to current operating parameters and historical operating parameters.
[0127] or the management control module sends the one-key update instruction to the firmware update execution unit in response to obtaining the one-key update instruction;
[0128] The firmware update execution unit executes the firmware update of all the first components in response to acquiring the one-key update instruction, and sends an update completion signal of all the first components to the management control module after the update is completed;
[0129] In response to acquiring update completion signals of all the first components, the management control module issues a one-key test instruction to the stress test execution unit and issues a one-key acquisition instruction to the operation parameter acquisition unit;
[0130] The stress test execution unit executes the stress test of all the second components in response to acquiring the one-key test instruction, and sends the stress test results of all the second components to the management control module after the test is completed;
[0131] In response to obtaining the pressure test results of all the second components, the management control module re-issues the one-key acquisition instruction to the operation parameter acquisition unit;
[0132] The operating parameter acquisition unit acquires the operating parameters of all third components in response to acquiring the one-key acquisition instruction, and sends the operating parameters of all third components to the management control module;
[0133] The management control module obtains a stress test report according to current stress test results and historical stress test results, and obtains an operating parameter report according to current operating parameters and historical operating parameters.
[0134] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.
[0135] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0136] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0137] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0138] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. An automated operation and maintenance system, characterized in that: include: Management control module and operation and maintenance execution module; The management control module is used to control the display of system operation information and control the operation of the operation and maintenance execution module; wherein the system operation information includes operation mode and operation example, and the operation mode includes command line instruction operation and interactive instruction operation; The operation and maintenance execution module is used to execute firmware update operations, stress test operations, and operation parameter acquisition operations; The management control module comprises: An instruction type acquisition unit, configured to acquire the instruction type of the user operation instruction in response to acquiring the user operation instruction; An interactive instruction response unit, configured to respond to the user operation instruction according to the user operation instruction and historical interaction information if the user operation instruction is an interactive instruction; The interactive instruction response unit specifically includes: A combined instruction acquisition subunit is used to acquire each piece of system feedback information in reverse chronological order, and to form a combined instruction with the user operation instruction and each piece of system feedback information; The valid instruction judgment subunit is used to judge whether each of the combined instructions is a valid instruction in turn; if the current combined instruction is a valid instruction, respond to the valid instruction; if the current combined instruction is an invalid instruction, continue to obtain the next combined instruction until a valid instruction is obtained or all the combined instructions are invalid instructions.
2. The system according to claim 1, characterized in that The management control module specifically includes: The command line instruction response unit is used to respond to the user operation instruction according to the execution parameters of the user operation instruction if the user operation instruction is a command line instruction.
3. The system according to claim 1, characterized in that The operation and maintenance execution module includes a firmware update execution unit, a stress test execution unit and an operation parameter acquisition unit; The firmware update execution unit is used to display the first component catalog and execute the firmware update of the first component in response to obtaining the firmware update instruction of the first component; The stress test execution unit is used to display the second component catalog and execute the stress test of the second component in response to obtaining the stress test instruction of the second component; The operating parameter acquisition unit is used to display a third component catalog and acquire the operating parameters of the third component in response to acquiring a parameter acquisition instruction of the third component.
4. The system according to claim 3, characterized in that The management control module is further used to record the test association relationship between the first component and the second component, the parameter association relationship between the first component and the third component, and the operation association relationship between the second component and the third component.
5. An automated operation and maintenance method, characterized in that: The automated operation and maintenance system as claimed in claim 4 comprises: The management control module sends the firmware update instruction to the firmware update execution unit in response to acquiring the firmware update instruction of the target first component; The firmware update execution unit executes the firmware update of the target first component in response to the firmware update instruction of the target first component being acquired, and sends an update completion signal of the target first component to the management control module after the update is completed; In response to acquiring the update completion signal of the target first component, the management control module acquires the target second component matching the target first component according to the test association relationship, and issues a stress test instruction of the target second component to the stress test execution unit, and acquires the target third component matching the target first component according to the parameter association relationship, and issues a parameter acquisition instruction of the target third component to the operation parameter acquisition unit; The stress test execution unit executes the stress test of the target second component in response to acquiring the stress test instruction of the target second component, and sends the stress test result of the target second component to the management control module after the test is completed; In response to obtaining the stress test result of the target second component, the management control module obtains a designated third component matching the target second component according to the operation association relationship, and issues a parameter acquisition instruction of the designated third component to the operation parameter acquisition unit; The operating parameter acquisition unit acquires the operating parameters of the target third component in response to the parameter acquisition instruction of the target third component, and sends the operating parameters of the target third component to the management control module, and acquires the operating parameters of the designated third component in response to the parameter acquisition instruction of the designated third component, and sends the operating parameters of the designated third component to the management control module; The management control module obtains a stress test report according to current stress test results and historical stress test results, and obtains an operating parameter report according to current operating parameters and historical operating parameters.
6. An automated operation and maintenance method, characterized in that: The automated operation and maintenance system as claimed in claim 4 comprises: In response to acquiring the one-key update instruction, the management control module sends the one-key update instruction to the firmware update execution unit; The firmware update execution unit executes the firmware update of all the first components in response to acquiring the one-key update instruction, and sends an update completion signal of all the first components to the management control module after the update is completed; In response to acquiring update completion signals of all the first components, the management control module issues a one-key test instruction to the stress test execution unit and issues a one-key acquisition instruction to the operation parameter acquisition unit; The stress test execution unit executes the stress test of all the second components in response to acquiring the one-key test instruction, and sends the stress test results of all the second components to the management control module after the test is completed; In response to obtaining the pressure test results of all the second components, the management control module re-issues the one-key acquisition instruction to the operation parameter acquisition unit; The operating parameter acquisition unit acquires the operating parameters of all third components in response to acquiring the one-key acquisition instruction, and sends the operating parameters of all third components to the management control module; The management control module obtains a stress test report according to current stress test results and historical stress test results, and obtains an operating parameter report according to current operating parameters and historical operating parameters.
7. An automated operation and maintenance device, characterized in that: The automated operation and maintenance system as claimed in claim 4 comprises: A firmware update instruction acquisition module, integrated in the management control module, for responding to acquiring a firmware update instruction of a target first component, sending the firmware update instruction to the firmware update execution unit; a specific component update execution module, integrated in the firmware update execution unit, for executing the firmware update of the target first component in response to the firmware update instruction of the target first component being acquired, and sending an update completion signal of the target first component to the management control module after the update is completed; a specific component update completion module, integrated in the management control module, for, in response to obtaining the update completion signal of the target first component, obtaining the target second component matching the target first component according to the test association relationship, and issuing a stress test instruction of the target second component to the stress test execution unit, and obtaining the target third component matching the target first component according to the parameter association relationship, and issuing a parameter acquisition instruction of the target third component to the operation parameter acquisition unit; a specific component test execution module, integrated in the stress test execution unit, for executing the stress test of the target second component in response to the acquired stress test instruction of the target second component, and sending the stress test result of the target second component to the management control module after the test is completed; a specific component test completion module, integrated in the management control module, for obtaining, in response to the pressure test result of the target second component, a designated third component matching the target second component according to the operation association relationship, and issuing a parameter acquisition instruction of the designated third component to the operation parameter acquisition unit; a specific component parameter execution module, integrated in the operation parameter acquisition unit, for acquiring the operation parameters of the target third component in response to the parameter acquisition instruction of the target third component, and sending the operation parameters of the target third component to the management control module, and for acquiring the operation parameters of the designated third component in response to the parameter acquisition instruction of the designated third component, and sending the operation parameters of the designated third component to the management control module; The first report generation module is integrated in the management control module and is used to obtain a stress test report based on current stress test results and historical stress test results, and to obtain an operating parameter report based on current operating parameters and historical operating parameters.
8. An automated operation and maintenance device, characterized in that: The automated operation and maintenance system as claimed in claim 4 comprises: A one-key update instruction acquisition module, integrated in the management control module, for responding to obtaining a one-key update instruction, sending the one-key update instruction to the firmware update execution unit; an all-component update execution module, integrated in the firmware update execution unit, for executing the firmware update of all first components in response to acquiring the one-key update instruction, and sending an update completion signal of all first components to the management control module after the update is completed; an all-component update completion module, integrated in the management control module, for, in response to obtaining update completion signals of all the first components, issuing a one-key test instruction to the stress test execution unit, and issuing a one-key acquisition instruction to the operation parameter acquisition unit; an all-component test execution module, integrated in the stress test execution unit, for executing the stress test of all second components in response to acquiring the one-key test instruction, and sending the stress test results of all second components to the management control module after the test is completed; an all-component test completion module, integrated in the management control module, for responding to obtaining the pressure test results of all the second components, and re-issuing the one-key acquisition instruction to the operation parameter acquisition unit; an all-component parameter execution module, integrated in the operating parameter acquisition unit, for acquiring the operating parameters of all third components in response to acquiring the one-key acquisition instruction, and sending the operating parameters of all third components to the management control module; The second report generation module is integrated in the management control module and is used to obtain a stress test report based on current stress test results and historical stress test results, and to obtain an operating parameter report based on current operating parameters and historical operating parameters.
9. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the automated operation and maintenance method according to claim 5 or 6 when executed by a computer processor.
