A server restart optimization method, system, device and storage medium

By closing the VGA interface of PCIE device and expanding the VGA memory protection range before the AMD X86 server restarts, the restart problem caused by abnormal hardware disturbances in a full-voltage environment is solved, and the stable operation of the server is achieved in extreme environments.

CN115016864BActive Publication Date: 2025-05-23INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210747912.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2025-05-23
Estimated Expiration
2042-06-29

AI Technical Summary

Technical Problem

During the production process of AMD X86 server, when the server is restarted under a full-voltage usage environment, it is easy to cause the host reset and restart problems due to abnormal disturbances from the CPU and other major components.

Method used

By temporarily closing the interface of the PCIE device VGA before the server restarts, and expanding the protection range of VGA memory during the restart process, blocking possible hardware abnormal disturbances.

Benefits of technology

It effectively prevents restart problems caused by abnormal hardware disturbances in extreme usage environments, and ensures that the server operates normally and stably under full-voltage environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115016864B_ABST
    Figure CN115016864B_ABST
Patent Text Reader

Abstract

The present invention proposes a server restart optimization method, system, device and storage medium, the method comprising: controlling the server to run in a full-pressure test environment; temporarily closing the interface transient response of the PCIE device VGA before the server restart command is issued; and temporarily expanding the VGA memory protection range by setting during the server restart process. The present invention achieves the purpose of anti-interference through a combination of soft and hard shielding protection, so that the server can maintain a normal and stable state of operation in an extreme use environment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and more particularly to a server restart optimization method, system, device and storage medium. Background Art

[0002] At present, the server market is dominated by X86 architecture servers, among which Intel architecture series are the main ones, with a very high market share and a certain dominance in the market. However, the server market also needs to find some alternatives. One of the current alternatives is AMD's X86 CPU series. Although AMD's X86 CPU series has met the needs of users in terms of performance, it needs further development in terms of market and ecological environment adaptation.

[0003] At present, in the production process of AMD X86 servers, in order to ensure the quality of the products, it is necessary to simulate the worst use environment of the server, that is, to fully pressurize the main service components, and restart the server firmware BMC. However, during the test, the server host reset and restart problem will occur. The main reason for this problem is that during the operation of the server, some major components such as the CPU and memory / network card are in a full-pressure use environment. The BMC restart process will cause abnormal disturbances in the use of the CPU, such as the mutual influence of the interrelated parts of the hardware and the design disturbance of the software itself, which may cause the host reset and restart. Summary of the invention

[0004] In view of the above problems, the purpose of the present invention is to provide a server restart optimization method, system, device and storage medium, which can achieve the purpose of anti-interference through the shielding protection of combining software and hardware, so as to enable the server to maintain normal and stable operation in extreme usage environments.

[0005] To achieve the above object, the present invention is implemented through the following technical solutions: a server restart optimization method, comprising:

[0006] The control server runs in a full-stress test environment;

[0007] Before the server restart command is issued, the PCIE device VGA interface transient response is temporarily closed;

[0008] Temporarily expand the VGA memory protection range during the server restart process through settings.

[0009] Further, the control server operates in a full pressure test environment including:

[0010] Set up a full-pressure test environment, control the server to run in the full-pressure test environment, and initiate a BMC restart operation.

[0011] Further, the temporary closing of the interface transient response of the PCIE device VGA before the server restart command is issued includes:

[0012] Control the server firmware BMC to start the restart operation;

[0013] When the server firmware BMC receives a restart command, it temporarily responds by closing the VGA interface of the PCIE device.

[0014] Further, temporarily expanding the VGA memory protection range by setting during the server restart process includes:

[0015] Expand the protection range of VGA memory;

[0016] Monitor hardware anomalies through the server's firmware BMC;

[0017] If no hardware exception occurs, end directly;

[0018] If a hardware abnormality occurs, set the VGA memory protection range to the peak state.

[0019] Correspondingly, the present invention also discloses a server restart optimization system, comprising:

[0020] Environment deployment unit, used to control the server to run in a full-stress test environment;

[0021] A hardware shielding unit is used to temporarily block the interface transient response of the PCIE device VGA before the server restart command is issued;

[0022] The software shielding unit is used to temporarily expand the VGA memory protection range through settings during the server restart process.

[0023] Furthermore, the environment deployment unit is specifically used for:

[0024] Set up a full-pressure test environment, control the server to run in the full-pressure test environment, and initiate a BMC restart operation.

[0025] Furthermore, the hardware shielding unit is specifically used for:

[0026] Control the server firmware BMC to start the restart operation;

[0027] When the server firmware BMC receives a restart command, it temporarily responds by closing the VGA interface of the PCIE device.

[0028] Further, the software shielding unit is specifically used for:

[0029] Expand the protection range of VGA memory;

[0030] Monitor hardware anomalies through the server's firmware BMC;

[0031] If no hardware exception occurs, end directly;

[0032] If a hardware abnormality occurs, set the VGA memory protection range to the peak state.

[0033] Accordingly, the present invention discloses a server restart optimization device, comprising:

[0034] Storage, used to store the server's restart optimization program;

[0035] A processor is used to implement the steps of the server restart optimization method as described in any one of the above items when executing the server restart optimization program.

[0036] Accordingly, the present invention discloses a readable storage medium, on which a server restart optimization program is stored. When the server restart optimization program is executed by a processor, the steps of the server restart optimization method as described in any one of the above items are implemented.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] The present invention provides a server restart optimization method, system, device and storage medium, which shields the server hardware from abnormal disturbances through the server firmware BMC before performing the restart action, and at the same time, during the firmware BMC restart process, the interactive communication part between the BMC and the server host is shielded and restricted to the part that may cause abnormal interference, and the purpose of anti-interference is achieved through the combination of soft and hard shielding protection, so that the server can maintain a normal and stable state in an extreme use environment. The present invention compensates for the abnormal phenomenon of the AMD CPU server in an extreme control environment through the prevention and control mechanism of the firmware BMC, while not affecting the function and use effect of the device.

[0039] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0041] AttachedFigure 1 It is a flow chart of the method of embodiment 1 of the present invention.

[0042] Attached Figure 2 is a flow chart of the method of embodiment 2 of the present invention

[0043] Attached Figure 3 It is a system structure diagram of embodiment 3 of the present invention.

[0044] In the figure, 1 is an environment deployment unit; 2 is a hardware shielding unit; and 3 is a software shielding unit. DETAILED DESCRIPTION

[0045] The core of the present invention is to provide a server restart optimization method. In the prior art, in the production process of AMD X86 servers, in order to ensure the quality of the product, it is necessary to simulate the worst use environment of the server, that is, in the use environment where the main service components are fully pressurized, and restart the server firmware BMC. However, during the test, through the hardware link and the actual test environment observation, it is found that the host operating system outputs the frame buffer resolution of the ASTSoC PCIe 2D VGA (the main control chip of the server BMC is located at the interface of the PCIE device VGA) device, which will affect the abnormal disturbance of the CPU running at full pressure during the restart process, causing abnormal problems in the server host. Secondly, during the restart process, the server software BMC itself causes an abnormal disturbance part of a main startup component, that is, the server's memory. This is the server BMC sideECC feature (BMC's protection function for server memory), and it is also one of the protections of the server firmware for memory.

[0046] The server restart optimization method provided by the present invention mainly adopts a protective measure before the restart command is issued, that is, temporarily closing the transient response of the PCIE device VGA interface to maximize the interference during the CPU operation process. Note that it is a restrictive measure that is closed but not closed. Another protective measure is to take a temporary measure to expand the protection range of the VGA memory during the restart process. It can be seen that the present invention achieves the purpose of anti-interference through the combination of soft and hard shielding protection, so that the server can maintain a normal and stable state in an extreme use environment.

[0047] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0048] Embodiment 1:

[0049] like Figure 1 As shown, this embodiment provides a server restart optimization method, comprising the following steps:

[0050] S1: The control server runs in a full-stress test environment.

[0051] This step specifically includes: setting a full pressure test environment, controlling the server to run in the full pressure test environment, and initiating a BMC restart operation.

[0052] S2: Temporarily close the PCIE device VGA interface transient response before the server restart command is issued.

[0053] First, the firmware BMC of the control server starts the restart operation. When the firmware BMC of the server receives the restart command, the interface of the PCIE device VGA is closed for transient response.

[0054] S3: Temporarily expand the VGA memory protection range through settings during the server restart process.

[0055] First, expand the protection range of VGA memory. Then, monitor hardware abnormalities through the server firmware BMC. If no hardware abnormality occurs, end directly. If a hardware abnormality occurs, set the VGA memory protection range to the peak state.

[0056] This embodiment provides a server restart optimization method, which uses the server firmware BMC to shield abnormal disturbances of the server hardware before performing the restart action. At the same time, during the firmware BMC restart process, the interactive communication part between the BMC and the server host is shielded and restricted to the part that may cause abnormal interference. Through the shielding protection combining software and hardware, the purpose of anti-interference is achieved, so that the server can maintain normal operation and stable state in extreme usage environments.

[0057] Embodiment 2:

[0058] Based on Example 1, Figure 2 As shown, this embodiment discloses a server restart optimization method, comprising the following steps:

[0059] Step 1: Control the server to run normally in an extreme environment and restart the BMC.

[0060] Step 2: The server's firmware BMC starts restarting.

[0061] Step 3: When receiving the restart command, the server firmware BMC takes protective measures, that is, temporarily closes the PCIE device VGA interface transient response.

[0062] Step 4: The server firmware starts to restart and temporarily expands the VGA memory protection range through settings.

[0063] Step 5: Check whether an abnormality occurs through the server firmware BMC. If a hardware abnormality is detected, go to step 6. If no hardware abnormality is detected, end the task directly.

[0064] Step 6: Further expand the VGA memory protection range by setting, set the VGA memory protection range to the peak state, and go to step 3.

[0065] This embodiment provides a server restart optimization method, which uses the server firmware BMC to shield abnormal disturbances of the server hardware before performing the restart action. At the same time, during the firmware BMC restart process, the interactive communication part between the BMC and the server host is shielded and restricted to the part that may cause abnormal interference. Through the shielding protection combining software and hardware, the purpose of anti-interference is achieved, so that the server can maintain normal operation and stable state in extreme usage environments.

[0066] Embodiment three:

[0067] Based on Example 1, Figure 3 As shown, the present invention also discloses a server restart optimization system, including: an environment deployment unit 1, a hardware shielding unit 2 and a software shielding unit 3.

[0068] The environment deployment unit 1 is used to control the server to run in a full pressure test environment. The environment deployment unit 1 is specifically used to: set a full pressure test environment, control the server to run in the full pressure test environment, and initiate a BMC restart operation.

[0069] The hardware shielding unit 2 is used to temporarily close the interface transient response of the PCIE device VGA before the server restart command is issued. The hardware shielding unit 2 is specifically used to: control the firmware BMC of the server to start the restart operation; when the firmware BMC of the server receives the restart command, close the interface transient response of the PCIE device VGA.

[0070] The software shielding unit 3 is used to temporarily expand the VGA memory protection range by setting during the server restart process. The software shielding unit 3 is specifically used to: expand the protection range of the VGA memory; monitor hardware abnormalities through the firmware BMC of the server; if no hardware abnormality occurs, directly end; if a hardware abnormality occurs, set the VGA memory protection range to a peak state.

[0071] This embodiment provides a server restart optimization system, which shields the server hardware from abnormal disturbances through the server firmware BMC before the restart action. At the same time, during the firmware BMC restart process, the interactive communication part between the BMC and the server host is shielded and restricted to the part that may cause abnormal interference. Through the combination of soft and hard shielding protection, the purpose of anti-interference is achieved, so that the server can maintain normal operation and stability in extreme use environments. This system compensates for the abnormal phenomenon of AMD CPU servers in extreme control environments through the prevention and control mechanism of the firmware BMC, while not affecting the function and use effect of the equipment. .

[0072] Embodiment 4:

[0073] This embodiment discloses a server restart optimization device, including a processor and a memory; wherein the processor implements the following steps when executing a server restart optimization program stored in the memory:

[0074] 1. Control the server to run in a full-pressure test environment.

[0075] 2. Before the server restart command is issued, temporarily close the transient response of the PCIE device VGA interface.

[0076] 3. Temporarily expand the VGA memory protection range through settings during the server restart process.

[0077] Furthermore, the restart optimization device for the server in this embodiment may also include:

[0078] The input interface is used to obtain the restart optimization program of the server imported from the outside, and save the obtained restart optimization program of the server to the memory, and can also be used to obtain various instructions and parameters transmitted by the external terminal device, and transmit them to the processor, so that the processor can use the above various instructions and parameters to carry out corresponding processing. In this embodiment, the input interface can specifically include but is not limited to a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, etc.

[0079] The output interface is used to output various data generated by the processor to the terminal device connected thereto, so that other terminal devices connected to the output interface can obtain various data generated by the processor. In this embodiment, the output interface may specifically include but is not limited to a USB interface, a serial interface, etc.

[0080] The communication unit is used to establish a remote communication connection between the restart optimization device of the server and the external server so that the restart optimization device of the server can mount the image file to the external server. In this embodiment, the communication unit may specifically include but is not limited to a remote communication unit based on wireless communication technology or wired communication technology.

[0081] The keyboard is used to obtain various parameter data or instructions input by the user by tapping the keycaps in real time.

[0082] The display is used to display the relevant information of the server power supply line short circuit locating process in real time.

[0083] The mouse can be used to assist users in inputting data and simplify user operations.

[0084] This embodiment provides a server restart optimization device, which achieves the purpose of anti-interference through combined software and hardware shielding protection, so that the server can maintain normal operation and stable state in extreme use environments.

[0085] Embodiment five:

[0086] This embodiment also discloses a readable storage medium, and the readable storage medium mentioned here includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the technical field. The readable storage medium stores a restart optimization program of the server, and the restart optimization program of the server implements the following steps when executed by the processor:

[0087] 1. Control the server to run in a full-pressure test environment.

[0088] 2. Before the server restart command is issued, temporarily close the transient response of the PCIE device VGA interface.

[0089] 3. Temporarily expand the VGA memory protection range through settings during the server restart process.

[0090] This embodiment provides a readable storage medium, which achieves the purpose of anti-interference through combined soft and hard shielding protection, so that the server can maintain normal operation and stability in extreme usage environments.

[0091] In summary, the present invention shields abnormal disturbances of server hardware through the server firmware BMC before restarting, and at the same time, during the firmware BMC restart process, the interactive communication part between BMC and server host is shielded and restricted to the part that may cause abnormal interference, and the purpose of anti-interference is achieved through the combination of soft and hard shielding protection, so that the server can maintain normal operation and stability in extreme use environments. The present invention compensates for the abnormal phenomenon of AMD CPU servers in extreme control environments through the prevention and control mechanism of firmware BMC, while not affecting the function and use effect of the equipment.

[0092] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. As for the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0093] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0094] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.

[0095] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0096] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.

[0097] Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.

[0098] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0099] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0100] The above is a detailed introduction to the server restart optimization method, system, device and readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A server restart optimization method, It is characterized in that include: The control server runs in a full-stress test environment; When the server restart command is issued, the PCIE device VGA interface transient response is temporarily closed; Temporarily expand the VGA memory protection range during the server restart process through settings.

2. The server restart optimization method according to claim 1, It is characterized in that The control server runs in a full pressure test environment including: Set up a full-pressure test environment, control the server to run in the full-pressure test environment, and initiate a BMC restart operation.

3. The server restart optimization method according to claim 2, It is characterized in that The transient response of temporarily closing the interface VGA of the PCIE device when the restart command of the server is issued includes: Control the server firmware BMC to start the restart operation; When the server firmware BMC receives a restart command, it temporarily responds by closing the VGA interface of the PCIE device.

4. The server restart optimization method according to claim 3, It is characterized in that The method of temporarily expanding the VGA memory protection range by setting during the server restart process includes: Expand the protection range of VGA memory; Monitor hardware anomalies through the server's firmware BMC; If no hardware exception occurs, end directly; If a hardware abnormality occurs, set the VGA memory protection range to the peak state.

5. A server restart optimization system, It is characterized in that include: Environment deployment unit, used to control the server to run in a full-stress test environment; A hardware shielding unit is used to temporarily block the interface transient response of the PCIE device VGA when the server restart command is issued; The software shielding unit is used to temporarily expand the VGA memory protection range through settings during the server restart process.

6. The server restart optimization system according to claim 5, It is characterized in that The environment deployment unit is specifically used for: Set up a full-pressure test environment, control the server to run in the full-pressure test environment, and initiate a BMC restart operation.

7. The server restart optimization system according to claim 6, It is characterized in that The hardware shielding unit is specifically used for: Control the server firmware BMC to start the restart operation; When the server firmware BMC receives a restart command, it temporarily responds by closing the VGA interface of the PCIE device.

8. The server restart optimization system according to claim 7, It is characterized in that The software shielding unit is specifically used for: Expand the protection range of VGA memory; Monitor hardware anomalies through the server's firmware BMC; If no hardware exception occurs, end directly; If a hardware abnormality occurs, set the VGA memory protection range to the peak state.

9. A server restart optimization device, It is characterized in that include: Storage, used to store the server's restart optimization program; A processor, configured to implement the steps of the server restart optimization method according to any one of claims 1 to 4 when executing the server restart optimization program.

10. A readable storage medium, Features: The readable storage medium stores a server restart optimization program, and when the server restart optimization program is executed by a processor, the steps of the server restart optimization method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Method and system for automatically restarting and resetting to test stability of server

    CN109783288A

  • HOST-BOX server stability test method and device, terminal and storage medium

    CN109815070A