Electronic equipment operation control method, electronic equipment, server and storage medium

By configuring specified energy efficiency scenarios and modes in electronic devices and associating them with RAS (Reliability, Energy, and Safety) functions, the problem of low lifespan caused by poor device reliability is solved. This achieves matching of device reliability and performance energy consumption in different scenarios, thereby improving the lifespan of the devices.

CN120909665AActive Publication Date: 2025-11-07LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202511426242.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-30
Publication Date
2025-11-07
Estimated Expiration
2045-09-30

AI Technical Summary

Technical Problem

The problem of short lifespan due to poor operational reliability of electronic devices.

Method used

By configuring specified energy efficiency scenarios in multiple energy efficiency scenarios, associating specified energy efficiency modes, and enabling at least some of the RAS functions among multiple RAS functions, the reliability of the device can be improved by matching the changes in performance and energy consumption with the operating status of the RAS functions.

Benefits of technology

While ensuring performance and energy consumption, it improves the service life and operational reliability of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120909665A_ABST
    Figure CN120909665A_ABST
Patent Text Reader

Abstract

The invention discloses an electronic equipment operation control method, electronic equipment, a server and a storage medium, and relates to the technical field of computers.The method comprises the steps that a specified energy efficiency scene is configured for the electronic equipment in multiple energy efficiency scenes, the specified energy efficiency scene is associated with a specified energy efficiency mode, and the specified energy efficiency scene is associated with the specified energy efficiency mode in the specified energy efficiency mode; at least part of the RAS functions in the plurality of RAS functions are enabled; in response to the fact that the specified energy efficiency scene takes effect, the electronic equipment is controlled to run under the condition that at least part of the RAS functions are started, and the change of performance energy consumption in the energy efficiency scene can be controlled to be matched with the running state of the RAS functions due to the fact that the running state of the RAS functions is associated with the configured energy efficiency scene. The problem that the service life of equipment is short due to poor reliability of equipment operation in an equipment operation control method in the related technology is solved, and the technical effect of prolonging the service life of the equipment is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, and particularly relates to a control method for running of electronic equipment, electronic equipment, a server and a storage medium. BACKGROUND

[0002] For electronic equipment, an energy efficiency scene can be configured for the electronic equipment to improve performance energy consumption performance of the electronic equipment. However, changes in performance energy consumption affect the reliability of equipment running, and further affect the service life of the equipment.

[0003] Therefore, the control method for running of the equipment in the related art has the problem of low service life of the equipment due to poor reliability of the equipment running. SUMMARY

[0004] The present application provides a control method for running of electronic equipment, electronic equipment, a server and a storage medium to at least solve the problem of low service life of the equipment due to poor reliability of the equipment running in the related art.

[0005] According to an aspect of an embodiment of the present application, a control method for running of electronic equipment is provided, comprising: configuring a specified energy efficiency scene for electronic equipment in a plurality of energy efficiency scenes, wherein the specified energy efficiency scene is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of a plurality of RAS functions is enabled; and in response to the specified energy efficiency scene taking effect, controlling the electronic equipment to run in a case where the at least part of the RAS functions is enabled.

[0006] According to another aspect of an embodiment of the present application, an electronic equipment is also provided, comprising: a processor and a management controller, the processor is configured to execute a basic input and output system; and wherein at least one of the management controller and the basic input and output system is configured to configure a specified energy efficiency scene for the electronic equipment in a plurality of energy efficiency scenes, wherein the specified energy efficiency scene is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of a plurality of RAS functions is enabled; and in response to the specified energy efficiency scene taking effect, the electronic equipment is controlled to run in a case where the at least part of the RAS functions is enabled.

[0007] According to still another aspect of the embodiments of the present application, a server is further provided, comprising: a processor configured to execute a basic input / output system; and a management controller, at least one of the management controller and the basic input / output system is configured to configure a specified energy efficiency scenario for the server in a plurality of energy efficiency scenarios, wherein the specified energy efficiency scenario is associated with a specified energy efficiency mode in which at least part of a plurality of RAS functions are enabled; and in response to the specified energy efficiency scenario taking effect, control the server to run with the at least part of the RAS functions enabled.

[0008] According to still another aspect of the embodiments of the present application, a computer readable storage medium is further provided, and the computer readable storage medium stores a computer program. The computer program is configured to be executed by a processor to perform the steps in any of the method embodiments.

[0009] According to still another aspect of the embodiments of the present application, a computer program product or computer program is provided, and the computer program product or computer program comprises computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the steps in any of the method embodiments.

[0010] By the present application, the energy efficiency mode of a device is associated with the running state of reliability, availability and serviceability (RAS) functions, a specified energy efficiency scenario in a plurality of energy efficiency scenarios is associated with a specified energy efficiency mode in which at least part of a plurality of RAS functions are enabled, and the energy efficiency mode is matched with the running state of the RAS functions by the above association, so that the reliability of the device running can be improved while the performance energy consumption is guaranteed, the technical effect of improving the service life of the device is achieved, and the technical problem of low service life of the device caused by poor reliability of the device running in the control method of the device running in the related art is solved. BRIEF DESCRIPTION OF DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present application, the drawings needed in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0012] Figure 1is a structural block diagram of an optional electronic device according to an embodiment of the present application.

[0013] Figure 2 is a flowchart of an optional control method for electronic device operation according to an embodiment of the present application.

[0014] Figure 3 is a schematic diagram of an optional bathtub curve according to an embodiment of the present application.

[0015] Figure 4 is a schematic diagram of an optional High RAS mode framework according to an embodiment of the present application.

[0016] Figure 5 is a schematic diagram of optional error monitoring and handling according to an embodiment of the present application.

[0017] Figure 6 is a flowchart of another optional control method for electronic device operation according to an embodiment of the present application.

[0018] Figure 7 is a structural block diagram of another optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0019] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, any other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.

[0020] It should be noted that, in the description of the present application, the terms “comprise”, “contain” or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. The terms “first”, “second” and the like in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence.

[0021] In order for those skilled in the art to better understand the technical solutions of the present application, the present application will be further described in detail below with reference to the drawings and specific embodiments.

[0022] According to an aspect of an embodiment of the present application, a control method for electronic device operation is provided. Optionally, in the present embodiment, the above-mentioned control method for electronic device operation can be applied to, but is not limited to, an electronic device as shown in Figure 1 the electronic device shown inFigure 1 As shown, the electronic device can include one or more (only one is shown in the figure) processors 102, a memory 104, a cache 106, and a management controller 108, which can be integrated on a motherboard of the electronic device. In addition, the electronic device can also include a transmission device for communication function and an input / output device. Those skilled in the art can understand that, Figure 1 As shown, the electronic device can include one or more (only one is shown in the figure) processors 102, a memory 104, a cache 106, and a management controller 108, which can be integrated on a motherboard of the electronic device. In addition, the electronic device can also include a transmission device for communication function and an input / output device. Those skilled in the art can understand that, Figure 1 The structure shown is only schematic, which does not limit the structure of the above-mentioned electronic device. For example, the electronic device can also include more or less components than Figure 1 As shown in the figure, or have a different configuration. Figure 1 As shown in the figure, or have a different configuration.

[0023] Optionally, the processor 102 can include, but is not limited to, a processing device such as a central processing unit (CPU), a microprocessor (MCU), or a programmable logic device (FPGA), etc. The memory 104 can be used to store data, for example, computer programs, such as software programs and modules of application software, and the processor 102 can execute various functional applications and data processing by running the computer programs stored in the memory 104. The memory 104 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 104 can further include a memory remotely arranged with respect to the processor 102, which can be connected to the electronic device through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0024] The cache 106 can be used to perform at least one of the following operations: data storage and quick access, operating system running, application program execution, error detection and correction, data exchange and communication. The cache 106 can also function as a cache. Optionally, the processor 102 can be used to execute a basic input / output system (BIOS), and the BIOS program can be stored in the memory 104, for example, in a non-volatile memory. When the electronic device is powered on and started, the processor 102 can load the BIOS program from the memory 104. The BIOS runs in the memory of the electronic device and is executed by the processor, wherein the BIOS can be responsible for initializing the processor and other hardware components of the electronic device, such as the memory, peripheral component interconnect express (PCIe) devices, etc., performing a hardware self-test, configuring hardware parameters, and loading an operating system.

[0025] The transmission device is configured to receive or send data via a network. The network can be a wireless network provided by a communication provider of the electronic device. In an example, the transmission device can include a network interface controller (NIC) that is configured to connect to other network devices via a base station and thus to communicate with the Internet. In an example, the transmission device can be a radio frequency (RF) module that is configured to communicate with the Internet in a wireless manner.

[0026] The management controller 108 can be a separate microcontroller that is configured to be responsible for out-of-band management functions of the electronic device, such as remote monitoring, management and control of the device state. The management controller 108 can communicate with the BIOS on the processor, but the management controller 108 runs its own firmware program and is independent of the BIOS. When the electronic device is running normally, the management controller 108 can monitor the system state and interact with the BIOS when necessary. Illustratively, the electronic device can be a server or other device, and the management controller 108 can be a baseboard management controller (BMC) or other microcontroller.

[0027] The control method for the electronic device according to the embodiments of the present application can be executed by the processor 102, or by the management controller 108, or by both the processor 102 and the management controller 108. In this case, the processor 102 can execute the control method for the electronic device according to the embodiments of the present application, or the basic input / output system running thereon can execute the control method for the electronic device according to the embodiments of the present application.

[0028] For example, the basic input / output system and the management controller 108 jointly execute the control method for the electronic device according to the embodiments of the present application, Figure 2 is a flowchart of an optional control method for an electronic device according to an embodiment of the present application, as Figure 2 shown, the method can include the following steps S202 and S204.

[0029] In step S202, a specified energy efficiency scenario is configured for the electronic device in a plurality of energy efficiency scenarios, wherein the specified energy efficiency scenario is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of the plurality of RAS functions are enabled.

[0030] In step S204, in response to the specified energy efficiency scenario taking effect, the electronic device is controlled to run with at least part of the RAS functions enabled.

[0031] The control method for the electronic device in this embodiment can be applied to the field of computer technology and to scenarios of running control of electronic devices. In the related art, multiple energy efficiency scenarios can be configured for an electronic device to improve its performance and energy consumption. However, changes in performance and energy consumption affect the reliability of device operation and thus affect the service life of the device. Taking a server as an example, as the dual requirements of reliability and performance and energy consumption of servers in data centers continue to improve, server manufacturers have introduced multiple energy efficiency scenarios corresponding to multiple performance and energy efficiency modes, such as a high-performance mode, to improve the performance and energy consumption of servers in different scenarios. However, changes in performance and energy consumption affect the reliability of server operation and thus affect the service life of the server.

[0032] To at least partially solve the above technical problems, in this embodiment, the electronic device can be configured with RAS functions to improve the reliability, availability, and maintainability of the electronic device, the energy efficiency mode of the device is associated with the running state of the RAS functions, a specified energy efficiency scenario in the multiple energy efficiency scenarios is associated with a specified energy efficiency mode (for example, a High RAS mode, i.e., a high RAS mode), and at least part of the multiple RAS functions are enabled in the specified energy efficiency mode. The energy efficiency scenario is related to the performance and energy consumption of the device, and the performance and energy consumption of the device affect the reliability of device operation, so by the above association, the changes in performance and energy consumption in the energy efficiency scenario can be matched with the running state of the RAS functions, thereby ensuring the reliability and performance and energy consumption of the electronic device in different scenarios, and thus improving the service life of the device.

[0033] The multiple energy efficiency scenarios can include a custom (Custom) scenario and a high-performance scenario, and each energy efficiency scenario can be associated with an energy efficiency mode. The specified energy efficiency scenario is one or more of the multiple energy efficiency scenarios. For the case where the number of specified energy efficiency scenarios is multiple, the running state of the RAS functions in the multiple RAS functions can be the same or different in different specified energy efficiency scenarios. In the specified energy efficiency mode, the running state of all or part of the multiple RAS functions can be configured, and the running state of one RAS function can be at least one of the following: an enabled state, a disabled state, an adaptive state, or other states. At least part of the multiple RAS functions are enabled to ensure the reliability of device operation.

[0034] For example, as the dual requirements of reliability and performance and energy consumption of servers in data centers continue to improve, multiple performance and energy efficiency modes can be configured for servers, such as a High RAS mode, a high-performance mode, and the like, to improve the reliability and performance and energy consumption of servers in different scenarios.

[0035] Optionally, in this embodiment, the specified energy efficiency mode can have a set of linkage functions, the set of linkage functions can include a plurality of RAS functions, and can also include a plurality of performance energy efficiency functions. In the specified energy efficiency mode, the running state of a performance energy efficiency function in the plurality of performance energy efficiency functions can adopt a default configuration, or can be adjusted through a configuration instruction.

[0036] Optionally, in this embodiment, each RAS function in the plurality of RAS functions can correspond to a function option (which can be referred to as a RAS function option) in a plurality of function options respectively, and an option value of a function option can correspond to a running state. The plurality of function options and the corresponding option values can be recorded through option configuration information. The option configuration information can be used to record the running state of the RAS function in the plurality of function options, and can also record the option value of the function option corresponding to the performance energy efficiency function in the plurality of performance energy efficiency functions. The option value of the function option corresponding to the performance energy efficiency function is used to indicate the running state of the performance energy efficiency function.

[0037] The control method of the electronic device running in this embodiment can be executed by at least one of the BIOS and the management controller. The user can configure an energy efficiency scene for the electronic device through an interface or configuration information. By detecting an operation performed on the configuration interface, or obtaining an instruction triggered by the operation performed on the configuration interface, or analyzing the configuration information, a specified energy efficiency scene can be configured for the electronic device in a plurality of energy efficiency scenes.

[0038] The specified energy efficiency scene configured for the electronic device can take effect immediately, or can take effect when the effect condition (for example, system restart) is met. In response to the specified energy efficiency scene taking effect, the electronic device can be controlled to run with at least part of the RAS functions turned on. Here, during the running of the electronic device, at least part of the RAS functions are turned on, and the turned-on RAS functions can perform corresponding functions to ensure the reliability of the device running. For other RAS functions, they can be turned off, or have other running states. In response to the specified energy efficiency scene taking effect, the other RAS functions can be controlled according to the configured running state to match the specified energy efficiency scene.

[0039] Through the embodiments provided in this application, a specified energy efficiency scene is configured for the electronic device in a plurality of energy efficiency scenes, wherein the specified energy efficiency scene is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of the RAS functions in the plurality of RAS functions are turned on; in response to the specified energy efficiency scene taking effect, the electronic device is controlled to run with at least part of the RAS functions turned on, which solves the technical problem in the related art that the control method of the device running in the related art has low device service life due to poor device running reliability, improves the reliability of the device running, and further improves the service life of the device.

[0040] In an example embodiment, configuring a specified energy efficiency scenario for an electronic device in a plurality of energy efficiency scenarios includes: in response to a detected first trigger operation, displaying a scenario configuration interface; in response to a selection operation performed on a specified scenario tab in the scenario configuration interface, displaying a specified mode tab on the scenario configuration interface; and in response to a configuration save operation performed on the scenario configuration interface, generating a first configuration save instruction to configure the specified energy efficiency scenario for the electronic device.

[0041] Configuring an energy efficiency scenario for an electronic device can be implemented through a scenario configuration interface. The scenario configuration interface can be used to configure an energy efficiency scenario for an electronic device, which can be a BIOS setup interface, a management controller interface (e.g., a BMC interface), or other configuration interfaces as long as the energy efficiency scenario can be configured for the electronic device through the interface. In response to a detected first trigger operation, the scenario configuration interface is displayed. The first trigger operation is an operation that triggers the display of the scenario configuration interface, which can be one operation or a combination of multiple operations, such as a click operation, a double-click operation, a swipe operation, a long press operation, etc. The type of the first trigger operation is not limited in the embodiment.

[0042] The scenario configuration interface can include a scenario selection area, which can display a specified scenario tab by default, or in response to a detected switching operation (e.g., a selection operation performed on a scenario tab list in the scenario selection area), the selected scenario tab in the scenario selection area can be configured as the specified scenario tab. The specified scenario tab is a scenario tab corresponding to the specified energy efficiency scenario. For the selected scenario tab, the mode tab associated with it can be displayed directly on the scenario configuration interface, or in response to a detected selection operation, the mode tab configured for the selected scenario tab can be displayed on the scenario configuration interface, or the scenario tab and the mode tab can be directly associated based on configuration information without displaying the associated mode tab on the scenario configuration interface. Here, the mode tab can be associated with the selected scenario tab and correspond to a certain energy efficiency mode. The specified mode tab is a mode tab associated with the specified scenario tab and corresponding to the specified energy efficiency mode.

[0043] It should be noted that a tab can be an interface element used to organize and classify different configuration settings, which is similar to a tab in a web browser and can help users switch between different functional areas to browse and edit settings. For the foregoing case where the associated mode tab does not need to be displayed on the scenario configuration interface, the scenario tab and the mode tab can be directly associated in the background.

[0044] For the case that the scene configuration interface displays the specified scene tab by default, the scene configuration interface displayed in response to the detected first trigger operation contains the specified scene tab. At this time, the specified mode tab can be displayed on the scene configuration interface without selection. For the case that the scene configuration interface displays other scene tabs or does not display any scene tab by default, the specified mode tab can be displayed on the scene configuration interface in response to the selection operation performed on the specified scene tab in the scene configuration interface.

[0045] The specified mode tab can have a set of linkage options, which can be performance energy efficiency options or RAS function options. The set of linkage options can include multiple function options, and one RAS function of the multiple RAS functions can correspond to one function option of the multiple function options. All or part of the set of linkage options can be displayed on the scene configuration interface, and the option values of the linkage options can also be displayed. The displayed option values can be adjustable or specified option values (non-adjustable) corresponding to the specified mode tab. The displayed linkage options can include all or part of the multiple function options. Alternatively, none of the set of linkage options can be displayed on the scene configuration interface, and the option values of each linkage option in the set of linkage options adopt the default configuration (option values configured for the specified energy efficiency mode).

[0046] If the user wants to save the current scene configuration, the user can perform a configuration save operation on the scene configuration interface. The configuration save operation can be a click operation performed on a specified button (virtual button) on the scene configuration interface, or a sliding operation, a double-click operation, a long-press operation, or a combination of multiple operations performed on the scene configuration interface, as long as the current scene configuration can be saved. For the electronic device, in response to the configuration save operation performed on the scene configuration interface, a first configuration save instruction can be generated to configure the specified energy efficiency scene for the electronic device.

[0047] Here, the first configuration save instruction is an instruction for saving the current scene configuration, which can carry a scene identifier of the specified energy efficiency scene and other configuration information. The scene identifier of the specified energy efficiency scene can be a scene name, a scene number, or a fixed instruction number corresponding to the specified energy efficiency scene, which can be used as a scene identifier of the specified energy efficiency scene. Alternatively, the first configuration save instruction can also be in other forms, as long as it can indicate that the energy efficiency scene currently configured is the specified energy efficiency scene.

[0048] Through the embodiment, by performing a configuration operation on the scene configuration interface, the specified energy efficiency scene is configured for the electronic device from the multiple energy efficiency scenes, and visual scene configuration can be achieved, and the convenience and accuracy of scene configuration are improved.

[0049] In an example embodiment, after the first configuration saving instruction is generated, the above method further comprises: in response to the first configuration saving instruction, determining the option value configured for the set of linkage options of the specified energy efficiency mode, obtaining the first option configuration information to be updated; and updating the running state of the plurality of RAS functions according to the first option configuration information, so that at least part of the RAS functions are turned on.

[0050] In the present embodiment, the specified energy efficiency mode can have a set of linkage options, which can include the function options corresponding to the RAS functions in the plurality of RAS functions, and can also include the function options (e.g., energy efficiency options) corresponding to other linkage functions (e.g., energy efficiency functions). In response to the first configuration saving instruction, the electronic device can determine the option value configured for the set of linkage options, obtaining the first option configuration information to be updated. Here, the option value configured for the set of linkage options can be the default configuration, or can be set through the scene configuration interface, or part of the option values of the linkage options are configured by default, and the other part of the option values of the linkage options are set through the scene configuration interface, or other determination manners, which are not limited in the present embodiment.

[0051] According to the first option configuration information, the running state of the plurality of RAS functions can be updated, so that at least part of the RAS functions are turned on. For example, the running state of all the plurality of RAS functions can be updated (for a certain RAS function, the running state before and after the update can be the same or different), or only the running state of the RAS function whose running state has changed is updated. In addition to updating the running state of the plurality of RAS functions, the running state of other linkage functions can also be updated. The running state of the plurality of RAS functions and the running state of other linkage functions can be configured simultaneously or separately, which can be set as needed.

[0052] Through the present embodiment, the running state of the linkage function is configured for the specified energy efficiency scene through the configuration saving instruction, without the need to configure the running state of the single linkage function respectively (e.g., configuring the running state of different linkage functions through different configuration instructions), which can improve the convenience and reliability of the configuration of the running state of the linkage function.

[0053] In an example embodiment, in the designated energy efficiency mode, the running state of the RAS function in the plurality of RAS functions can be configured in a static manner. The static manner can mean that the running state of the RAS function in the plurality of RAS functions is irrelevant to the running state of the electronic device, for example, in different hardware health states of the electronic device, at least part of the RAS functions to be started are the same. The running state of the RAS function in the plurality of RAS functions can be indicated by the function configuration information, and if the static configuration manner is adopted, the function configuration information will not change with the running state of the electronic device. The function configuration information here can be the aforementioned option configuration information.

[0054] Optionally, in the embodiment, in response to the designated energy efficiency scenario taking effect, the electronic device is controlled to run with at least part of the RAS functions started, including: in response to the designated energy efficiency scenario taking effect, controlling the electronic device to run with at least part of the RAS functions started in the duration of the designated energy efficiency scenario taking effect.

[0055] For the case of static configuration of the running state of the RAS function in the plurality of RAS functions, after the designated energy efficiency scenario takes effect, the running state of the RAS function in the plurality of RAS functions will not change, that is, the electronic device is controlled to run with at least part of the RAS functions started in the duration of the designated energy efficiency scenario taking effect.

[0056] If the running state of the RAS function in the plurality of RAS functions needs to be adjusted, the aforementioned function configuration information can be modified through configuration instructions or other means. For the case of the running state of one or more RAS functions in the plurality of RAS functions being adjusted, in order to ensure the reliability of the electronic device running, the electronic device can be restarted to re-apply the designated energy efficiency scenario. And in the duration of the designated energy efficiency scenario taking effect, the running state of the RAS function in the plurality of RAS functions remains unchanged, and correspondingly, in response to the designated energy efficiency scenario taking effect, the electronic device is controlled to run with at least part of the RAS functions started in the duration of the designated energy efficiency scenario taking effect.

[0057] Through the embodiment, the running state of the RAS function is configured in a static manner, which improves the convenience of the configuration of the running state of the RAS function and reduces the difficulty of the configuration of the running state of the RAS function; and the running state of the RAS function is maintained in the duration of the designated energy efficiency scenario taking effect, which can improve the reliability of the device running.

[0058] In an example embodiment, the plurality of RAS functions can be configured according to the device operation requirements, and in the specified energy efficiency mode, the operation state of the RAS function in the plurality of RAS functions can be configured as needed and adjusted as needed. The plurality of RAS functions can include, but are not limited to, at least one of the following: a system error detection function, a memory error isolation and protection (Failure Detection and Management, referred to as FDM) function, a page management and error handling function (Page Policy), an adaptive double device data correction spare (Adaptive Double Device Data Correction, referred to as ADDDC) function, a custom refresh function, an attempt fast cold boot function, a patrol scrubbing function, a partial cache line sparing (PCLS) function, and a double data rate (DDR) post packet repair (PPR) type function.

[0059] Optionally, in the present embodiment, in the specified energy efficiency mode, the operation state of the plurality of RAS functions can include at least one of the following: the operation state of the system error detection function is turned on; the operation state of the memory error isolation and protection function is turned on; the operation state of the page management and error handling function is adaptive; the operation state of the adaptive double device data correction spare function is turned on; the operation state of the custom refresh function is turned on; the operation state of the attempt fast cold boot function is turned off; the operation state of the patrol scrubbing function is turned on; the operation state of the partial cache line sparing function is turned on; and the operation state of the double data rate post packet repair type function is soft package post repair.

[0060] For example, the High RAS mode can be implemented in a static configuration manner, and the linkage option setting can include at least one of the following: a function option setting of a "Hardware Prefetcher" function is set to be turned on; a function option setting of an "AdjacentCache Prefetch" function is set to be turned on; a function option setting of a "DCU IP Prefetcher" function is set to be turned on; a function option setting of an "LLC Prefetch" function is set to be turned off; an "Enable LP [Global]" setting is set to be ALL LPs; a function option setting of a "DCU Streamer Prefetcher" function is set to be turned off; a function option setting of a "CPU Flex Ratio Override" function is set to be turned off; a function option setting of a "NUMA" function is set to be turned on; a function option setting of a "Link L0p Enable" function is set to be turned off; a function option setting of a "Link L1p Enable" function is set to be turned off; a function option setting of a "KTI Prefetch" function is set to be turned off; a function option setting of a "Link Frequency Select" function is set to be Auto; a function option setting of an "XPT Prefetch" function is set to be Auto; a function option setting of an "Enable MWAIT" function is set to be turned off; a function option setting of an "Uncore Freq Scaling" function is set to be turned on;The function option of a "DEMT (Direct Evict Memory Tiering)" function is set to be closed; the function option of an "EIST PSD Function" is set to be HW_ALL (hardware full control); the function option of a "Boot performance mode" function is set to be MaxPerformance (maximum performance); the function option of a "Power Performance Tuning" strategy is set to be "OS Controls EPB (Operating System Controls Enhanced Power Profile for Business)"; an "ENERGY_PERF_BIAS_CFG mode" is set to be Balanced Performance (balanced performance); the function option of a "SpeedStep (Pstates)" function is set to be opened; the function option of a "Turbo Mode" function is set to be opened; the function option of an "EPP (Enhanced Power Profiles)" function is set to be opened; an "EPP profile" is set to be Balanced Performance (balanced performance); the function option of a "Static Turbo" function is set to be closed; a "CPU Frequency Select" is set to be 40; the function option of an "Enhanced Halt State (C1E)" function is set to be closed; the function option of a "CPU C6 report" function is set to be closed; the function option of a "Hardware P-State" function is set to be closed; the function option of a "Package C-State" function is set to be Auto; the function option of a "System Errors" function is set to be opened; the function option of an "FDM" function is set to be opened; the function option of a "System Memory Poisoning" function is set to be opened; the function option of a "CKE Power Down" function is set to be closed;The function option of the "Refresh Options" function is set to Dynamic Mode; the function option of the "Page Policy" function is set to Adaptive; the function option of the "ADDDCSparing" function is set to on; the function option of the "Custom Refresh" function is set to on; the "Custom Refresh Rate" is set to 20; the function option of the "Attempt Fast Cold Boot" function is set to off; the function option of the "Patrol Scrubbing" function is set to on; the function option of the "Partial Cache Line Sparing" function is set to on; and the "DDR PPR Type" option is set to Soft PPR.

[0061] By the embodiment, by configuring the running state of different RAS functions in the plurality of RAS functions in the specified energy efficiency mode, the performance and energy consumption of the electronic device can be improved while improving the reliability of the electronic device.

[0062] In one example embodiment, the running state of the RAS function in the plurality of RAS functions in the specified energy efficiency mode can remain unchanged, that is, the running state of the RAS function remains unchanged regardless of the running phase of the electronic device. Considering that part of the RAS functions, although helpful to improve the reliability, availability and maintainability of the electronic device, will have a great impact on the performance of the electronic device, and the failure rate of the electronic device in its life cycle will change, the change of the failure rate of the electronic device in its life cycle can be divided into different failure rate phases, and different failure rate phases correspond to different RAS function configuration information, and the RAS function configuration information corresponding to one failure rate phase is used to indicate the running state of the RAS function in the plurality of RAS functions in the failure rate phase.

[0063] Taking a server as an example, the failure rate of the server in its life cycle is not constant, and the change of the failure rate of the server in its life cycle usually follows, for example, Figure 3The "bathtub curve" shown divides the server's failure rate into three main phases, namely, the early failure period, the accidental failure period, and the wear-out failure period. For the early failure period, the server is just starting to be used, and the failure rate is relatively high, but it will quickly decrease over time. These early failures are usually caused by manufacturing defects, design problems, material flaws, etc. In this phase, components that may fail prematurely can be screened out through early rigorous testing and burn-in, thereby reducing the failure rate after actual deployment. After the early failure period, the server enters a relatively stable period, the accidental failure period, during which the failure rate is low and roughly constant, representing the best working state of the server. In this phase, failures usually occur randomly, and they can be caused by environmental factors, operational errors, or unforeseen hardware problems. When the server has been running for a long time, it enters the end-of-life period, the wear-out failure period, when hardware components begin to gradually fail due to aging, causing the failure rate to rise again. In this phase, appropriate RAS functions, maintenance, and replacement of aging components can extend the service life and reliability of the server. As shown in the figure, the service life of the server is from point A, where the failure rate starts to be lower than the specified failure rate in the early failure period, to point B, where the failure rate starts to be higher than the specified failure rate in the wear-out failure period. In the wear-out failure period, the failure rate decreases after the server is repaired. Figure 3

[0064] If the server's mode options are configured statically, it will result in a lack of balance between system reliability and performance energy consumption. Taking the High RAS mode as an example, if the ADDDC function is fixed to be on, it will cause a performance loss of about 7% in the low failure rate stage of the server, such as a 6% to 9% decrease in memory read / write performance, and in severe cases, the performance loss can reach 25% to 29%. Therefore, based on the failure rate change law of the server in its life cycle, some functions like ADDDC do not need to be on all the time, and they can be turned on when the failure rate of the related components increases to a certain extent, which can both guarantee the reliability of the server and reduce the performance loss during the service life of the server. In order to achieve the change of the server's failure rate, the server can adjust the RAS function options. One optional configuration method of RAS functions is to use basic RAS functions when the server's failure rate is low to reduce the impact on the server's performance, and to use increased RAS functions when the server's failure rate increases to improve the reliability of the server.

[0065] ​As an optional implementation, in order to realize dynamic adjustment of the running state of the plurality of RAS functions according to the change of the failure rate of the electronic device, the failure rate of the electronic device can be represented by the hardware health state of the electronic device, and the hardware health state of the electronic device is negatively correlated with the failure rate of the electronic device. In the specified energy efficiency mode, at least part of the RAS functions changes with the change of the hardware health state of the electronic device, that is, with the hardware health state of the electronic device, the enabled RAS functions in the plurality of RAS functions are dynamically adjusted. In this case, the specified energy efficiency mode can be referred to as a performance energy consumption priority mode, that is, a Performance Priority mode.

[0066] As another optional implementation, in order to ensure the reliability of the electronic device during the entire life cycle, in the specified energy efficiency mode, at least part of the RAS functions can be irrelevant to the hardware health state of the electronic device, that is, the enabled RAS functions in the plurality of RAS functions are irrelevant to the hardware health state of the electronic device. In this case, the specified energy efficiency mode can be referred to as a reliability priority mode, that is, a RAS Priority mode.

[0067] Optionally, in order to adapt to different use scenarios, the specified energy efficiency mode can include the following two sub-modes: a performance energy consumption priority mode and a reliability priority mode. The performance energy consumption priority mode is a mode that prioritizes the performance energy consumption of the electronic device, and the reliability priority mode is a mode that prioritizes reliability. In the performance energy consumption priority mode, at least part of the RAS functions changes with the change of the hardware health state of the electronic device, and in the reliability priority mode, at least part of the RAS functions is irrelevant to the hardware health state of the electronic device.

[0068] For example, according to the use scenario, the High RAS mode is refined into a High RAS–RAS Priority mode and a High RAS–Performance Priority mode, which respectively represent the reliability priority mode and the performance energy consumption priority mode. To this end, the High RAS mode option can be added under the “Performance Energy Consumption Scenario” tab in the BIOS Setup interface and the BMC interface. In the BIOS Setup interface or in the BMC interface, the initialization mode (High RAS–RAS Priority mode or High RAS–Performance Priority mode) that meets the current application scenario can be selected, and different initialization modes correspond to different groups of RAS tabs. After selecting the initialization mode, the RAS tabs corresponding to the initialization mode are configured according to the preset strategy, and after the RAS tabs are configured to take effect, the dynamic strategy engine of the BMC dynamically configures the RAS functions.

[0069] For example, asFigure 4 As shown, in the BIOS Setup interface, the two modes can be turned on or off through the options "High RAS-RAS Priority" and "High RAS-Performance Priority" of the tab "Performance and Energy Scenarios", and when one of the options is selected, a series of tabs will be set according to the preset strategy, so that the server meets the relevant scenarios, and is synchronized with the BMC in real time through the Intelligent Platform Management Interface (IPMI). After the system saves the settings and restarts, the above settings take effect.

[0070] At the same time, the above functions can also be controlled through the options "High RAS-RAS Priority" and "High RAS-Performance Priority" of the tab "Performance and Energy Scenarios" provided by the BMC interface. When one of the options is selected, the BMC will start the High RAS dynamic strategy engine to dynamically configure the RAS function and synchronize it to the BIOS through the Redfish channel. When the system restarts, all settings take effect.

[0071] To configure a sub-mode under a specified energy efficiency mode, a specified mode tab and a sub-mode option associated with the specified mode tab can be displayed on the scene configuration interface, and the option value of the sub-mode option includes a first option value corresponding to a performance and energy priority mode and a second option value corresponding to a reliability priority mode. Correspondingly, in response to a selection operation performed on a specified scene tab in the scene configuration interface, the specified mode tab and the sub-mode option associated with the specified mode tab are displayed on the scene configuration interface, including: in response to the selection operation performed on the specified scene tab, the specified mode tab and the sub-mode option associated with the specified mode tab are displayed on the scene configuration interface.

[0072] Here, the option value of the sub-mode option can include a first option value corresponding to a performance and energy priority mode and a second option value corresponding to a reliability priority mode. The option value of the sub-mode option displayed on the scene configuration interface can be one of the first option value and the second option value, or can be empty. By performing a replacement operation (for example, by adjusting the selected option value) on the option value of the sub-mode option, the selected sub-mode can be replaced.

[0073] For example, when High RAS-RAS Priority mode is selected, the server is by default enabled with higher level RAS features in the initial state, including but not limited to DDR Mirroring (i.e., memory mirroring) and ADD DC features, Dynamic Random Access Memory (DRAM) Uncorrectable Error Correcting Code (UECC) Retry and DRAM Write Data Cyclic Redundancy Check (CRC) with Replay, etc. This mode improves the data reliability of the system by strengthening the redundancy check and fault tolerance capability of the server, and is suitable for business scenarios such as finance and medical systems that have extremely high requirements for data consistency. When High RAS-Performance Priority mode is selected, the server is only enabled with basic RAS features that meet the specified failure rate in the initial state, and the redundancy check strength and fault tolerance overhead are moderately reduced to achieve higher computing efficiency and lower energy consumption. This mode is suitable for cloud computing, virtualization, and other application environments with large load fluctuations, high resource utilization, and sensitivity to energy efficiency.

[0074] During the running of the server, the dynamic policy engine in the BMC can continuously monitor the hardware health status of the system and dynamically adjust the RAS and energy efficiency option configurations accordingly. In addition, the user can specify the initial state of the server by configuring the function options associated with the High RAS-RAS Priority mode or the High RAS-Perform Priority mode on the BMC.

[0075] For example, in one computing platform, the High RAS-RAS Priority mode linkage option settings can be: the "Hardware Prefetcher" function option setting is turned on; the "Adjacent Cache Prefetch" function option setting is turned on; the "DCU Streamer Prefetcher" function option setting is turned on; the "DCU IP Prefetcher" function option setting is turned on; the "Hyper-Threading" function option setting is Auto; the "Turbo Mode" function option setting is turned on; the "KTI Prefetch" function option setting is turned on; the "NUMA" function option setting is turned on; the "Energy Efficient Turbo" function option setting is turned off, the "Page Policy" function option setting is Adaptive, the "Hardware P-States" function option setting is turned off; the "Static Turbo Mode" function option setting is turned off; the "Patrol Scrubbing" function option setting is turned on; the "Enhanced Halt State (C1E)" function option setting is turned off; the "VMX" function option setting is turned off; the "SpeedStep" function option setting is turned on; the "Enable MWAIT" function option setting is turned on; the "ADDDC Sparing" function option setting is turned on; the "Partial Cache Line Sparing" function option setting is turned on, and the "DDRPPR Type" option setting is Soft PPR.And the High RAS-Performance Priority mode linkage option settings can be: the "Hardware Prefetcher" function function option setting is Auto; the "Adjacent Cache Prefetch" function function option setting is Auto; the "DCU Streamer Prefetcher" function function option setting is Auto; the "DCU IP Prefetcher" function function option setting is Auto; the "Hyper-Threading" function function option setting is Auto; the "Turbo Mode" function function option setting is Auto; the "KTI Prefetch" function function option setting is Auto; the "NUMA" function function option setting is Auto; the "Energy Efficient Turbo" function function option setting is Auto; the "Page Policy" function function option setting is Adaptive; the "Hardware P-States" function function option setting is Auto; the "Static Turbo Mode" function function option setting is Auto; the "PatrolScrubbing" function function option setting is on; the "Enhanced Halt State (C1E)" function function option setting is Auto; the "VMX" function function option setting is Auto; the "SpeedStep" function function option setting is Auto; the "Enable MWAIT" function function option setting is Auto; the "ADDDC Sparing" function function option setting is Auto; the "Partial Cache Line Sparing" function function option setting is Auto; the "DDR PPR Type" option setting is Soft PPR.

[0076] In another computing platform, the two-submode linkage options of the foregoing computing platform and the two-submode linkage options of the foregoing computing platform can be different. Among them, the High RAS-RAS Priority submode linkage option setting can be: the function option setting of the “SMT (Simultaneous Multi-threading, simultaneous multi-threading)” function is set to be turned on; the function option setting of the “L1 Stream Hw Prefetcher (L1 stream hardware prefetcher)” function is set to be turned on; the function option setting of the “L2 Stream Hw Prefetcher (L2 stream hardware prefetcher)” function is set to be turned on; the function option setting of the “Core Performance Boost (core performance boost)” function is set to be turned on; the function option setting of the “Global C-state Control (global C-state control)” function is set to be turned off; the function option setting of the “Determinism Control (determinism control)” function is set to be Manual (manual); the function option setting of the “Determinism Enable (enable determinism)” function is set to be power (power optimization); the function option setting of the “TDP Control (Thermal Design Power Control, thermal design power consumption)” function is set to be Auto; the function option setting of the “L3 Cache As NUMA Domain (L3 cache as NUMA region)” function is set to be turned off; the function option setting of the “Data Poisoning (data poisoning)” function is set to be turned on; the function option setting of the “DRAM Error check and Scrub (DRAM error check and scrub)” function is set to be turned on; the function option setting of the “DRAM Patrol Scrubber (DRAM patrol scrubber)” function is set to be turned on; the function option setting of the “SMI (System Management Interrupt, system management interrupt) storm suppression” function is set to be turned on; the function option setting of the “DRAM Boot Time Post Package Repair (DRAM boot time post-package repair)” function is set to be turned on; the function option setting of the “DRAM Runtime Post Package Repair (DRAM runtime post-package repair)” function is set to be turned on; the function option setting of the “On-chip ECC / Parity (On-chip Error Correcting Code / Parity, on-chip error correcting code / parity)” function is set to be turned on; the function option setting of the “DRAM UECC Retry” function is set to be turned on;The function option of the "DRAM Write Data CRC with Replay" function is set to On; the function option of the "Automatic Boot-time Core Disable" function is set to On; and the function option of the "DRAM Memory Tester" function is set to On. The High RAS - Performance Priority mode linkage option settings can be: the function option of the "SMT" function is set to Auto; the function option of the "L1 Stream Hw Prefetcher" function is set to Auto; the function option of the "L2 Stream Hw Prefetcher" function is set to Auto; the function option of the "Core Performance Boost" function is set to Auto; the function option of the "Global C-state Control" function is set to Auto; the function option of the "Determinism Control" function is set to Default Determinism; the function option of the "Determinism Enable" function is set to power; the function option of the "TDP Control" function is set to Auto; the function option of the "L3 Cache As NUMA Domain" function is set to Auto; the function option of the "Data Poisoning" function is set to Auto; the function option of the "DRAM Error check and Scrub" function is set to Auto; the function option of the "DRAM Patrol Scrubber" function is set to Auto; the function option of the "SMI Storm Suppression" function is set to Auto; the function option of the "DRAM Boot Time Post Package Repair" function is set to Auto; the function option of the "DRAM Runtime Post Package Repair" function is set to Auto; the function option of the "On-chip ECC / Parity" function is set to Auto; the function option of the "DRAM UECC Retry" function is set to Auto; the function option of the "DRAM Write Data CRC with Replay" function is set to Auto; the function option of the "Automatic Boot-time Core Disable" function is set to Auto; and the function option of the "DRAM Memory Tester" function is set to Auto.

[0077] Through the embodiment, by subdividing the specified energy efficiency mode into the performance energy consumption priority mode and the reliability priority mode, different scene requirements can be adapted, and flexibility and reliability of RAS function running state control are improved; displaying the specified mode tab and the associated sub-mode option on the scene configuration interface can improve the convenience of sub-mode configuration.

[0078] In an example embodiment, the above method further includes: in response to the detected second trigger operation, displaying a mode configuration interface, wherein the mode configuration interface is used to configure running states of RAS functions in the plurality of RAS functions for a specified sub-mode of the specified energy efficiency mode, the mode configuration interface includes a plurality of function options, and a function option in the plurality of function options corresponds to a RAS function in the plurality of RAS functions; in response to an option value setting operation performed on at least one function option in the plurality of function options, adjusting an option value corresponding to the at least one function option displayed on the mode configuration interface; and in response to a configuration saving operation performed on the mode configuration interface, generating a second configuration saving instruction to configure the running states of the RAS functions in the plurality of RAS functions for the specified sub-mode.

[0079] In the embodiment, the running states of the linkage function in the specified sub-mode of the specified energy efficiency mode can be configured through the mode configuration interface, the linkage function allowed to be configured through the mode configuration interface can include the RAS function in the plurality of RAS functions, and can also include other functions, for example, a performance energy consumption function (energy efficiency function). The mode configuration interface can be the aforementioned BIOS setting interface or the BMC interface, or can be other interfaces capable of configuring the running states of the linkage function for the specified sub-mode. The type of the linkage function and the type of the mode configuration interface are not limited in the embodiment.

[0080] The mode configuration interface can be triggered to be displayed through the second trigger operation, the second trigger operation can be one operation or a combination of multiple operations, and can include but is not limited to a mouse operation, a keyboard operation, a touch operation, and the like. In response to the detected second trigger operation, the mode configuration interface can be displayed on the electronic device, the mode configuration interface is used to configure the running states of the linkage function for the specified sub-mode, for example, the running states of the RAS function in the plurality of RAS functions, the mode configuration interface includes a plurality of function options, and a function option in the plurality of function options corresponds to a RAS function in the plurality of RAS functions. In addition, the mode configuration interface can also include a function option corresponding to other linkage functions other than the plurality of RAS functions.

[0081] The user can perform an option value setting operation on at least one of the plurality of function options to adjust the running state of the corresponding RAS function of the configuration. For the electronic device, in response to the detected option value setting operation, the option value corresponding to the at least one function option displayed on the mode configuration interface is adjusted. The option value setting operation can be one operation or a combination of multiple operations, which can include but is not limited to mouse operation, keyboard operation, touch operation, etc.

[0082] Here, the specified sub-mode can be a performance-energy consumption priority mode or a reliability priority mode, and under the specified sub-mode, the linkage options whose option values are allowed to be adjusted can be all or part, and the function options displayed on the mode configuration interface can include all linkage options or only the linkage options whose option values are allowed to be adjusted. In addition, the part of the linkage options can be set with recommended option values or option value ranges to facilitate the user to set the option values.

[0083] The user can trigger the saving of the configured specified sub-mode by performing a configuration saving operation on the mode configuration interface. For the electronic device, in response to the configuration saving operation performed on the mode configuration interface, a second configuration saving instruction is generated to configure the running state of the RAS function in the plurality of RAS functions for the specified sub-mode. The configuration saving operation can be one operation or a combination of multiple operations, which can include but is not limited to mouse operation, keyboard operation, touch operation, etc. The second configuration saving instruction can be similar to the first configuration saving instruction, or it can be a different configuration saving instruction.

[0084] It should be noted that the different operations in the present embodiment can be similar operations or different operations, and each operation can be adjusted as needed as long as it can accurately trigger the required operation. The implementation of each operation is not limited in the present embodiment.

[0085] Through the present embodiment, the option values of the linkage options are configured for the sub-mode of the specified energy efficiency mode through the mode configuration interface, thereby adjusting the running state of the corresponding linkage function, which can improve the convenience of sub-mode configuration and also improve the flexibility of sub-mode running.

[0086] In one exemplary embodiment, the specified energy efficiency mode includes the following sub-modes: a performance-energy consumption priority mode, under which at least part of the RAS functions changes with the change of the hardware health state of the electronic device. The performance-energy consumption priority mode and the hardware health state are similar to the aforementioned embodiments and have been described above, and will not be repeated here.

[0087] In this embodiment, in response to the specified energy efficiency scenario taking effect, the electronic device is controlled to run with at least part of the RAS functions enabled, including: in the case where the sub-mode of the specified energy efficiency mode is the performance energy consumption priority mode, in response to the performance energy consumption priority mode taking effect, the running state of the plurality of RAS functions is initialized to enable the electronic device to run with at least part of the RAS functions enabled.

[0088] If the sub-mode of the specified energy efficiency mode is the performance energy consumption priority mode, in response to the performance energy consumption priority mode taking effect, the running state of the plurality of RAS functions can be initialized, and the way of initializing the running state of the plurality of RAS functions can be achieved by restarting the system. The running state of at least part of the RAS functions after initialization is enabled.

[0089] Optionally, for the case where the specified energy efficiency mode includes other sub-modes (for example, the reliability priority mode, that is, the RAS priority mode), if the sub-mode of the specified energy efficiency mode is the other sub-mode, in response to the other sub-mode taking effect, the running state of the plurality of RAS functions can be initialized in the same or similar way, and the running state of at least part of the RAS functions after initialization is enabled.

[0090] Through this embodiment, the RAS functions enabled are dynamically adjusted with the change of the hardware health state of the electronic device, which can improve the performance energy consumption performance of the device while ensuring the reliability of the device.

[0091] In one example embodiment, after the electronic device is controlled to run with at least part of the RAS functions enabled in response to the specified energy efficiency scenario taking effect, the above method further includes: continuously monitoring the hardware health state of the electronic device, and dynamically adjusting the running state of the plurality of RAS functions based on the monitored hardware health state.

[0092] In this embodiment, after the specified energy efficiency scenario takes effect, in order to ensure the reliability of the RAS function running state control, the hardware health state of the electronic device can be continuously monitored. The running state of the electronic device can represent the failure rate of the electronic device, and the monitored hardware health state of the electronic device can include the health state of the device hardware of the electronic device. The device hardware can include but is not limited to at least one of the following: CPU, memory (memory bank), PCIe device.

[0093] Here, the performance-energy consumption priority mode can effectively balance the reliability and performance-energy consumption of the electronic device by evaluating the failure rate changes of the device hardware such as CPU, memory, PCIe device, dynamically adjusting the RAS function options and performance-energy consumption strategies. The above adjustment process can be performed by a management controller, and during the running of the electronic device (for example, a server), the dynamic strategy engine in the management controller (for example, BMC) continuously monitors the hardware health status of the system, such as the number and type of memory errors, memory error frequency, self-monitoring, analysis and reporting technology (SMART) state information of storage devices, etc., comprehensively evaluates the hardware health, and dynamically adjusts the RAS options and energy efficiency option configurations accordingly.

[0094] Based on the monitored hardware health status, the running state of the plurality of RAS functions can be dynamically adjusted. The adjustment of the running state of the plurality of RAS functions can be achieved by updating the option value of the RAS option and restarting the operating system. Here, the updated option value of the RAS option can be the option value of all RAS options, or only the option value of the RAS option whose option value has changed. In order to avoid the influence of the continuity of the business execution on the electronic device due to the high frequency of the adjustment of the running state of the RAS function, the running state of the plurality of RAS functions can be adjusted only when the hardware health status meets the set adjustment condition (the set adjustment condition is associated with the hardware health status).

[0095] Through the embodiment, by continuously monitoring the hardware health status of the electronic device and dynamically adjusting the running state of the plurality of RAS functions based on the monitored hardware health status, the matching degree of the running state of the plurality of RAS functions and the hardware health status of the electronic device can be improved, and the timeliness of the adjustment of the running state of the RAS function can be improved.

[0096] In one example embodiment, the hardware health status of the electronic device can be monitored by combining out-of-band monitoring and in-band monitoring, and correspondingly, the hardware health status of the electronic device is obtained by analyzing the collected out-of-band monitoring information and in-band monitoring information. Optionally, the electronic device can include a management controller (for example, BMC), and the management controller is used for out-of-band monitoring, which can collect at least one of the following information: external state information during the running of the electronic device, and failure information in the case of downtime of the electronic device. The basic input and output system (BIOS) can be run on the electronic device, and the BIOS is used for in-band monitoring, which can collect at least one of the following information: error detection information during the startup phase of the electronic device, error detection information during the running of the electronic device, and the above error detection information can include error detection reports.

[0097] Optionally, in the embodiment, the hardware health status of the electronic device is continuously monitored, including: continuously collecting external state information during the running of the electronic device and failure information in the case of shutdown of the electronic device by the management controller to obtain out-of-band monitoring information, and continuously collecting error detection information during the startup and running of the electronic device by the basic input / output system to obtain in-band monitoring information; and analyzing the out-of-band monitoring information and the in-band monitoring information to obtain the hardware health status of the electronic device.

[0098] The hardware health status can be monitored in the manner of out-of-band monitoring by the management controller and in-band monitoring by BIOS, and the device hardware that can be monitored can include but is not limited to all or part of the CPU, the memory and the PCIe device. The out-of-band monitoring can be responsible for collecting all or part of the key parameters such as temperature, voltage, fan speed and the like during the running of the electronic device, and detailed failure information when the electronic device is shut down, thereby obtaining out-of-band monitoring information. The in-band monitoring by BIOS can be responsible for error detection and reporting during the startup and running of the electronic device, and can include but is not limited to at least one of the following: correctable errors and uncorrectable errors.

[0099] Here, the in-band monitoring by BIOS refers to a monitoring manner in which the BIOS directly monitors and manages hardware resources during the startup or running of the computer system. The BIOS is one of the programs loaded first when the system starts, is responsible for initializing hardware devices, performing self-checking (POST, Power-On Self Test) and preparing for loading of the operating system.

[0100] For example, the dynamic policy engine monitors the hardware health status in the manner of out-of-band monitoring by the BMC and in-band monitoring by BIOS. The out-of-band monitoring by the BMC is responsible for collecting external state information during the running of the server and detailed failure information when the server is shut down. The in-band monitoring by BIOS is responsible for error detection and reporting during the startup and running of the server, including correctable errors and uncorrectable errors.

[0101] In a computer system, the correctable errors of device hardware (for example, CPU, memory, PCIe device and the like) have corresponding correctable error thresholds, and when the number of generated correctable errors reaches the set threshold, an interrupt is generated to notify the BIOS to process, such as Figure 5However, the number of correctable errors in this processing mechanism has a cumulative problem, that is, when the number of correctable errors reaches the set threshold to trigger an interrupt, it is not possible to determine whether it is due to the surge of correctable errors in a short period of time or the accumulation of correctable errors in a long period of time, which will interfere with the evaluation of the hardware health status. Therefore, when evaluating the hardware health status according to the correctable errors, the frequency of occurrence of the correctable errors can be considered.

[0102] Through the embodiment, the hardware health status is monitored in the manner of out-of-band monitoring by the management controller and in-band monitoring by the BIOS, which can improve the comprehensiveness of the hardware health status monitoring, and further improve the accuracy of the device control.

[0103] In an example embodiment, the hardware health status can include the health status of at least one device hardware of the electronic device, and the at least one device hardware can include at least one of the following: a processor (for example, a CPU), a memory, and a PCIe device. For each device hardware, its health status can be represented by a health score of a hardware health degree of the corresponding device hardware, and the higher the health score of the hardware health degree, the better the corresponding health status.

[0104] Optionally, in the embodiment, the hardware health status of the electronic device is continuously monitored, including: continuously monitoring the device hardware in the at least one device hardware to obtain hardware running data of the device hardware in the at least one device hardware; and continuously updating a health score of a hardware health degree of the device hardware in the at least one device hardware based on the hardware running data of the device hardware in the at least one device hardware.

[0105] For a device hardware, its hardware running data can be continuously obtained, and for the combination of the out-of-band monitoring and the in-band monitoring, the hardware running data of the same device hardware obtained by the out-of-band monitoring and the in-band monitoring can be combined to obtain the hardware running data of the device hardware. The health score of the hardware health degree of the device hardware in the at least one device hardware is continuously updated based on the hardware running data of the device hardware in the at least one device hardware.

[0106] Here, for a certain device hardware, its hardware running data can represent its hardware health degree, for example, the higher the abnormality parsed from the hardware running data, the worse the hardware health degree, and the lower the corresponding health score. Therefore, the health score of the hardware health degree of the corresponding device hardware can be updated based on the obtained hardware running data.

[0107] For the plurality of RAS functions, the running states thereof can be dynamically adjusted according to the health score of the hardware health of the device hardware in the at least one device hardware, respectively, for example, the health score of the hardware health of each kind of device hardware can affect the running states of the plurality of RAS functions as a whole, for another example, the health score of the hardware health of one kind of device hardware can affect the running states of part of the plurality of RAS functions, and the health scores of the hardware health of different device hardware can affect the same or different RAS functions. Alternatively, the running states of the plurality of RAS functions can be dynamically adjusted according to a fusion health score obtained by fusing the health scores of the hardware health of the device hardware in the at least one device hardware.

[0108] For example, the dynamic strategy engine can comprehensively evaluate the health of the CPU, the memory and the PCIe device according to the collected information, and then dynamically allocate the corresponding RAS function options according to the health states of the CPU, the memory and the PCIe device. Here, the plurality of RAS functions can be divided into the RAS function of the CPU, the memory RAS function and the RAS function of the PCIe device, and the corresponding RAS function options are dynamically allocated according to the health states of the CPU, the memory and the PCIe device, respectively.

[0109] The adjusted option configuration parameters can be persistently saved in a file system specified on the BMC, and when the server is restarted, the BMC resets the related option tabs in the BIOS according to the saved option configuration information, so that the system returns to the best running state.

[0110] Through the embodiment, the health score of the hardware health of the device hardware represents the health state of the device hardware, which can improve the convenience of characterizing the health state of the device hardware; the health score of the hardware health of the corresponding device hardware is continuously updated based on the obtained hardware running data of the device hardware, which can improve the timeliness and accuracy of updating the health score of the hardware health of the device hardware.

[0111] In one example embodiment, the hardware health state can include the health state of the memory bank of the electronic device, i.e., the memory health state, which can be represented by the health score of the memory health of the electronic device (memory health score). For example, the memory health score can be used as an index for quantifying the memory health state, and the score interval is 0-100, wherein 100 is the full score, indicating that the current memory bank is in a completely healthy state and no error is detected, and 0 is the lowest score, indicating that the current memory has a serious fault. The higher the score, the healthier the memory bank, and vice versa, indicating a higher probability of memory bank failure, which requires the corresponding RAS function option to be enabled.

[0112] To reasonably evaluate the memory health, a set of multi-dimensional deduction rules can be defined, and the deduction is graded according to different error types, frequencies and influence degrees. Correspondingly, the hardware health of the electronic device is continuously monitored, including: in the case that a specified memory error of the electronic device is monitored, a to-be-deducted error score corresponding to the specified memory error is determined according to the corresponding relationship between the error type and the error score; and the health score of the memory health is updated according to the to-be-deducted error score, to obtain an updated health score of the memory health.

[0113] In the embodiment, the corresponding relationship between the error type and the error score of the memory bank can be defined, which can be recorded by a data table or other ways. Exemplarily, the corresponding relationship between the error type, the error score (deduction value) and the trigger condition description can be as shown in Table 1.

[0114] Table 1

[0115]

[0116] Among them, the UCNA error is a non-advanced uncorrectable error, the SRAO error is a row address strobe signal related advanced uncorrectable error, and the SRAR error is an advanced uncorrectable error observed on a single memory rank (Rank).

[0117] The memory error type can be determined by the UC, PCC, S and AR bits of the MCi_STATUS register. When UC=0, it is a correctable error; when UC=1, it is an uncorrectable error. When UC=1, PCC=0, S=0, and AR=0, it is a UCNA error; when UC=1, PCC=0, S=1, and AR=0, it is a SRAO error; when UC=1, PCC=0, S=1, and AR=1, it is a SRAR error.

[0118] If a specified memory error of the electronic device is detected, the corresponding relationship between the error type and the error score can be found according to the specified error type, so as to determine the to-be-deducted error score corresponding to the specified memory error. The health score of the memory health is updated according to the to-be-deducted error score, for example, the to-be-deducted error score is deducted from the health score of the current memory health, and the obtained health score is determined as the health score of the updated memory health.

[0119] It should be noted that the hardware health can also include the health of other device hardware (for example, processor, PCIe device, etc.), and the evaluation method of the health of other device hardware can be similar to the evaluation method of the health of the memory bank, which has been described and will not be repeated here.

[0120] By monitoring the memory health state as part of the hardware health state of the electronic device, the rationality of the hardware health state monitoring can be improved; by defining the correspondence between the error type and the error score, and updating the health score of the memory health degree based on the detected memory error, the convenience of the memory health state monitoring can be improved.

[0121] In one example embodiment, a time decay factor a (1> a> 0) can be introduced in the deduction rule for weighting the impact of historical errors, and the errors occurring in the recent period have a greater impact on the current health score than the errors occurring in the early period. Optionally, in order to take into account the time decay factor and reduce the calculation amount, an Exponentially Weighted Moving Average (EWMA) method can be used to optimize the failure deduction rule, which not only effectively handles the time decay problem, but also significantly reduces the calculation complexity.

[0122] Correspondingly, in the embodiment, the health score of the memory health degree is updated according to the error score to be deducted, to obtain the updated health score of the memory health degree, including: updating the health score of the memory health degree to the product of a first coefficient and the error score to be deducted, plus the product of a second coefficient and the health score of the memory health degree, wherein the first coefficient is a set time decay factor, the second coefficient is the difference between 1 and the time decay factor, and 0< time decay factor< 1.

[0123] The process of using the EWMA method to optimize the memory failure deduction rule can include: first, setting a time decay factor a, satisfying 1> a> 0, which determines the impact of the current error on the health score, the closer a is to 1, the greater the impact of the current error, and the closer a is to 0, the more lasting the impact of the historical error; second, for each error event, the health score is updated according to formula (1):

[0124] (1)

[0125] wherein, is the updated health score, is the current health score, represents the historical deduction score, is the deduction value corresponding to the current error, which is a positive value. The above deduction is deducted one by one, not cumulative deduction. For example, assuming that a high-frequency correctable error occurs, one point is deducted, and the current health score is obtained, which is updated using (i.e., 1 point) and a to obtain the updated health score.

[0126] Through this embodiment, the influence of historical errors is weighted by introducing a time decay factor, and a moving average method is used to optimize the fault deduction rule, which can effectively handle the time decay problem and significantly reduce the computational complexity.

[0127] In one example embodiment, the hardware health status is represented by the health score of the hardware health of the electronic device, which is calculated in a similar manner as in the foregoing embodiments and has been described above. The RAS functions can be divided into multiple levels (multiple RAS functions are divided into multiple function levels) according to the functions, and each level corresponds to different performance impact and reliability improvement. The dynamic policy engine can adjust the RAS related function options according to the memory health score to restore the server reliability. In order to adapt to multiple function levels, the score range of the health score of the hardware health can be divided into multiple score intervals; one function level in the multiple function levels corresponds to one score interval in the multiple score intervals.

[0128] Correspondingly, in this embodiment, based on the monitored hardware health status, the running state of the multiple RAS functions is dynamically adjusted, including: in the case that the score interval to which the health score of the hardware health belongs is lowered from the first score interval to the second score interval, the running state of the RAS function in the multiple RAS functions corresponding to the function level of the second score interval is adjusted to be turned on.

[0129] In the case that the score interval to which the health score of the hardware health belongs is lowered from the first score interval to the second score interval (the function level corresponding to the first score interval is lower than the function level corresponding to the second score interval), it indicates that the hardware health status of the electronic device is lower, and more RAS functions can be turned on to ensure the reliability of the device. Therefore, the running state of the RAS function in the multiple RAS functions corresponding to the function level of the second score interval can be adjusted to be turned on. For the RAS function that has been turned on, the turned-on state can be maintained.

[0130] For example, for the memory health, the RAS functions can be divided into 3 levels, and the dynamic adjustment strategy of the RAS function options is shown in Table 2.

[0131] Table 2

[0132]

[0133] Among them, MHS in the trigger condition is the health score of the foregoing memory bank, and the linkage performance compensation is a strategy for compensating the performance of the device while adjusting the memory RAS function.

[0134] By the embodiment, the RAS functions are classified into multiple levels according to functions, each level corresponds to a score interval of the health score of the hardware health, and the running state of the RAS functions is dynamically adjusted based on the change of the score interval to which the health score belongs, so that the rationality and convenience of the adjustment of the running state of the RAS functions can be improved.

[0135] In an example embodiment, the method further includes dynamically adjusting the running state of the energy efficiency function in the performance-energy consumption priority mode based on the health score of the hardware health.

[0136] In the embodiment, in addition to adjusting the running state of the RAS functions, the running state of the energy efficiency function in the performance-energy consumption priority mode can also be dynamically adjusted based on the health score of the hardware health. The health score of the hardware health can be positively correlated with the total energy consumption of the energy efficiency function enabled in the performance-energy consumption priority mode, the higher the health score of the hardware health, the greater the total energy consumption of the enabled energy efficiency function, and the lower the health score of the hardware health, the smaller the total energy consumption of the enabled energy efficiency function.

[0137] For example, referring to Table 2, in level L0, the enabled memory RAS function has low performance impact, at this time, more energy efficiency options can be enabled to improve the energy efficiency performance of the device; in level L0, the enabled memory RAS function has moderate performance impact, at this time, the energy efficiency mode strategy is adopted, the total energy consumption of the enabled energy efficiency function is reduced, and so on.

[0138] By the embodiment, the running state of the energy efficiency function in the performance-energy consumption priority mode is dynamically adjusted based on the health score of the hardware health, which can adapt to the change of the running state of the RAS functions and improve the reliability of the device running.

[0139] In an example embodiment, the hardware health state includes the health states of at least two device hardware of the electronic device, one of the at least two device hardware corresponds to at least part of the RAS functions, and the types of the device hardware and the corresponding RAS functions are similar to those in the foregoing embodiments, which will not be described herein.

[0140] Correspondingly, in the embodiment, the running state of the multiple RAS functions is dynamically adjusted based on the monitored hardware health state, including: the running state of the RAS functions corresponding to the device hardware in the at least two device hardware is dynamically adjusted based on the health state of the device hardware in the at least two device hardware.

[0141] Based on the monitored health status of the device hardware, it can be determined whether the running state of the corresponding RAS function needs to be adjusted. For example, according to the score interval to which the health score of the hardware health of the device hardware belongs, it is determined whether the running state of the corresponding RAS function needs to be adjusted, and if so, the running state of the corresponding RAS function is adjusted. The RAS functions adjusted based on the health status of different device hardware can be different or at least partially the same, which is not limited in the embodiment.

[0142] Through the embodiment, the running state of the corresponding RAS function is adjusted based on the health status of different device hardware, which can improve the rationality of RAS function running state adjustment and further improve the reliability of device operation.

[0143] In one exemplary embodiment, one of the plurality of RAS functions corresponds to one of the plurality of function options, and the correspondence between the RAS function and the function option is similar to the foregoing embodiments, which will not be repeated here.

[0144] Correspondingly, based on the monitored hardware health status, the running state of the plurality of RAS functions is dynamically adjusted, including: based on the monitored hardware health status, determining a to-be-adjusted RAS function in the plurality of RAS functions and a running state to which the to-be-adjusted RAS function is to be adjusted, to obtain second option configuration information to be updated; and adjusting the running state of the to-be-adjusted RAS function according to the second option configuration information.

[0145] In the embodiment, based on the monitored hardware health status, the to-be-adjusted RAS function in the plurality of RAS functions and the running state to which the to-be-adjusted RAS function is to be adjusted can be determined. Based on the option identifier of the function option corresponding to the to-be-adjusted RAS function and the option value corresponding to the running state to which the to-be-adjusted RAS function is to be adjusted, the second option configuration information can be generated. The generated second option configuration information can include the option identifier of the function option corresponding to the to-be-adjusted RAS function and the option value corresponding to the running state to which the to-be-adjusted RAS function is to be adjusted.

[0146] According to the second option configuration information, the running state of the to-be-adjusted RAS function can be adjusted. The way of adjusting the running state of the to-be-adjusted RAS function is similar to the way of configuring the running state of the RAS function in the plurality of RAS functions according to the second option configuration information, which has been described and will not be repeated here.

[0147] Through the embodiment, based on the option identifier of the function option corresponding to the RAS function to be adjusted and the option value corresponding to the running state to which the RAS function to be adjusted is to be adjusted, the option configuration information is generated, and based on the generated option configuration information, the running state of the corresponding RAS function is adjusted, which can improve the convenience of RAS function running state adjustment.

[0148] In an example embodiment, the electronic device can include a management controller, and a basic input output system can be run on the electronic device, and through the interaction of the management controller and the basic input output system, the adjustment of the RAS function running state can be realized. In the embodiment, the option identifier of the function option corresponding to the RAS function in the plurality of RAS functions and the option value corresponding to the running state of the RAS function in the plurality of RAS functions can be recorded using a configuration structure, and the management controller can modify based on the change of the RAS function running state.

[0149] In the embodiment, adjusting the running state of the RAS function to be adjusted according to the second option configuration information includes: updating the configuration structure according to the second option configuration information through the management controller to obtain an updated configuration structure, and setting the synchronization identifier position to a specified value; in the startup phase of the electronic device, in response to detecting that the synchronization identifier bit is set to the specified value, obtaining the updated configuration structure from the management controller through the basic input output system, extracting the to-be-updated option configuration information from the updated configuration structure, writing the to-be-updated option configuration information to the configuration area of the non-volatile random access memory, and controlling the electronic device to restart to adjust the running state of the RAS function to be adjusted by loading the to-be-updated option configuration information.

[0150] The second option configuration information can record the RAS function whose running state is changed and the changed running state, or the running state of all RAS functions in the plurality of RAS functions. The management controller can update the configuration structure according to the second option configuration information to obtain an updated configuration structure. The updated configuration structure can be put into a specified storage area, and the specified storage area is used for data synchronization between the management controller and the basic input output system. The management controller can generate a synchronization identifier bit and set the synchronization identifier bit to a specified value. In addition, in order to improve the reliability of data synchronization, a check code can also be generated, and the check code can be generated by using a cyclic redundancy check, a parity check, etc.

[0151] For example, the RAS function option changed by the dynamic policy engine is recorded and saved in the file system designated by the BMC. The BMC modifies the original JSON (JavaScript Object Notation, a lightweight data exchange format) structure (an example of a configuration structure) generated according to the option name and corresponding option value of the current BIOS configuration option according to the changed RAS function option, generates a target JSON structure and stores it in a designated storage area (i.e., a designated storage area), and generates a check code and a synchronization flag bit.

[0152] In the startup phase of the electronic device, in response to detecting that the synchronization identification bit is set to a specified value, the basic input and output system can obtain the updated configuration structure from the management controller, such as reading the updated configuration structure from the designated storage area through a read command or other command. For the case that needs to be checked, the management controller can first check the data integrity using the check code, and if the check passes, the updated configuration structure can be sent to the basic input and output system. If the check does not pass, an exception can be prompted, or the backup configuration information can be enabled and checked.

[0153] After obtaining the updated configuration structure, the basic input and output system can extract the to-be-updated option configuration information from the updated configuration structure, write the to-be-updated option configuration information to the configuration area of the non-volatile random access memory (NVRAM), and control the electronic device to restart. The synchronization flag bit can be cleared after the to-be-updated option configuration information is written to the configuration area of the NVRAM. After the electronic device restarts, the to-be-updated option configuration information can be loaded, thereby adjusting the running state of the to-be-adjusted RAS function. The basic input and output system can synchronize the latest configuration option information back to the management controller. If the restart process fails, the management controller can trigger a configuration rollback mechanism to ensure that the system can be restored to the previous state.

[0154] For example, in the server startup phase, after detecting the synchronization flag, the BIOS acquires the target JSON structure from the BMC through a command. At this time, the BMC first checks the data integrity using the checksum, and if the check fails, it enables the backup configuration information and checks the backup configuration information. After the check passes, the BIOS can read the target JSON structure and write the configuration option information to the Setup area of the NVRAM, while clearing the synchronization flag. After completing the write operation to the NVRAM, the system can automatically restart to load the new configuration, and the BIOS synchronizes the latest configuration option information back to the BMC. If the restart process fails, the BMC triggers the configuration rollback mechanism to ensure that the system can recover to the previous state.

[0155] Through the embodiment, the adjustment of the running state of the RAS function is realized through the interaction between the management controller and the basic input and output system, which can ensure the orderliness and reliability of the device running, and the success rate of the adjustment of the running state of the RAS function.

[0156] The control method for the electronic device running in the embodiment will be explained and described below in combination with an optional example. In the optional example, the electronic device is a server, the specified energy efficiency mode is a High RAS mode, the two sub-modes included in the specified energy efficiency mode are High RAS–RAS Priority mode and High RAS–Performance Priority mode, and the management controller is a BMC. The configuration structure is a JSON structure.

[0157] In combination with Figure 4 and Figure 6 , the flow of the control method for the electronic device running in the optional example can include the following steps S602 to S610.

[0158] Step S602, the user specifies the initial state of the server by configuring the function options associated with the High RAS–RAS Priority mode or the High RAS–Performance Priority mode on the BMC.

[0159] Step S604, select the High RAS–RAS Priority mode or the High RAS–Performance Priority mode, and initialize the RAS function of the server.

[0160] Step S606, the dynamic policy engine of the BMC monitors the hardware health state of the server and comprehensively evaluates the hardware health degree.

[0161] Step S608, dynamically adjust the RAS and energy efficiency option configuration, and persistently save to the specified file system on the BMC.

[0162] Step S610, when the server restarts, the BMC resets the related option tab of the BIOS according to the saved option configuration, so that the system returns to the optimal running state.

[0163] Through the optional example, by evaluating the hardware health status of CPU, memory, and PCIe device, dynamically adjusting the RAS function options of the corresponding device type, a closed loop of real-time monitoring-strategy calculation-hardware execution can be realized, the reliability and performance energy consumption of the server are effectively balanced, and the performance energy consumption and reliability of the server in the entire life cycle are improved, providing a more flexible and intelligent solution for server configuration in different application scenarios.

[0164] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases the former is a better embodiment.

[0165] According to another aspect of the embodiments of the present application, an electronic device is also provided, which can be used to implement the control method for running the electronic device provided in the above embodiments, which has been described and will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware, or a combination of software and hardware can also be implemented and conceived. Alternatively, the above electronic device can be a server.

[0166] Figure 7 is a structural block diagram of an optional electronic device according to the embodiments of the present application, as shown in Figure 7 The electronic device includes a processor 702 and a management controller 704, and the processor 702 is used to execute a basic input / output system. At least one of the management controller 704 and the basic input / output system is used to configure a specified energy efficiency scene for the electronic device in a plurality of energy efficiency scenes, wherein the specified energy efficiency scene is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of a plurality of RAS functions is enabled; in response to the specified energy efficiency scene taking effect, the electronic device is controlled to run in the case that at least part of the RAS function is enabled.

[0167] It should be noted that at least one of the management controller 704 and the basic input / output system in this embodiment can be used to execute the above steps S202 and S204.

[0168] By the embodiments provided in the present application, the electronic device is configured with a specified energy efficiency scene in multiple energy efficiency scenes, the specified energy efficiency scene is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of the RAS functions are enabled; and in response to the specified energy efficiency scene taking effect, the electronic device is controlled to run with the at least part of the RAS functions enabled, thereby solving the technical problem in the related art that the control method for device running has low device service life due to poor device running reliability, improving the device running reliability, and further improving the device service life.

[0169] In an example embodiment, the electronic device further includes a display component, for example, a display screen and components related to screen display. The display component is configured to display a scene configuration interface in response to the detected first trigger operation, wherein the scene configuration interface is used to configure an energy efficiency scene for the electronic device; and in response to a selection operation performed on a specified scene tab in the scene configuration interface, display a specified mode tab on the scene configuration interface, wherein the specified scene tab is a scene tab corresponding to the specified energy efficiency scene, and the specified mode tab is a mode tab corresponding to the specified energy efficiency mode and associated with the specified scene tab; and at least one of the management controller 704 and the basic input / output system is further configured to generate a first configuration saving instruction to configure the specified energy efficiency scene for the electronic device in response to a configuration saving operation performed on the scene configuration interface.

[0170] In an example embodiment, the specified energy efficiency mode includes two sub-modes: a performance energy consumption priority mode and a reliability priority mode, wherein in the performance energy consumption priority mode, at least part of the RAS functions change with the change of the hardware health status of the electronic device, and in the reliability priority mode, at least part of the RAS functions are independent of the hardware health status of the electronic device. The display component is further configured to display the specified mode tab and a sub-mode option associated with the specified mode tab on the scene configuration interface in response to the selection operation performed on the specified scene tab, wherein the option value of the sub-mode option includes a first option value corresponding to the performance energy consumption priority mode and a second option value corresponding to the reliability priority mode.

[0171] In an example embodiment, the display component is further configured to display, in response to the detected second trigger operation, a mode configuration interface, wherein the mode configuration interface is configured to configure a running state of a RAS function of the plurality of RAS functions for a specified sub-mode of the specified energy efficiency mode, the mode configuration interface includes a plurality of function options, a function option of the plurality of function options corresponds to a RAS function of the plurality of RAS functions; in response to an option value setting operation performed on at least one function option of the plurality of function options, adjust an option value of the at least one function option displayed on the mode configuration interface; and at least one of the management controller 704 and the basic input output system is further configured to, in response to a configuration saving operation performed on the mode configuration interface, generate a second configuration saving instruction to configure the running state of the RAS function of the plurality of RAS functions for the specified sub-mode.

[0172] In an example embodiment, at least one of the management controller 704 and the basic input output system is further configured to, after generating the first configuration saving instruction, determine, in response to the first configuration saving instruction, an option value configured for a set of linkage options of the specified energy efficiency mode to obtain first option configuration information to be updated, wherein the set of linkage options includes a function option corresponding to a RAS function of the plurality of RAS functions; and update the running state of the plurality of RAS functions according to the first option configuration information to enable at least part of the RAS functions.

[0173] In an example embodiment, in the specified energy efficiency mode, the running state of the RAS function of the plurality of RAS functions is statically configured, and in different hardware health states of the electronic device, at least part of the RAS functions enabled are the same. At least one of the management controller 704 and the basic input output system is further configured to, in response to the specified energy efficiency scenario taking effect, control the electronic device to run with at least part of the RAS functions enabled during a duration when the specified energy efficiency scenario takes effect.

[0174] In an example embodiment, in the specified energy efficiency mode, the running state of the plurality of RAS functions includes at least one of the following: the running state of a system error detection function is enabled; the running state of a memory error isolation and protection function is enabled; the running state of a page management and error handling function is adaptive; the running state of an adaptive double device data correction spare function is enabled; the running state of a custom refresh function is enabled; the running state of a try fast cold boot function is disabled; the running state of a patrol scrub function is enabled; the running state of a partial cache line protection function is enabled; and the running state of a post-package repair type function is soft package post-repair.

[0175] In one example embodiment, the specified energy efficiency mode includes the following sub-modes: a performance-energy consumption priority mode, in which at least part of the RAS functions change with the change of the hardware health status of the electronic device. The management controller 704 and the basic input and output system are further configured to, in response to the performance-energy consumption priority mode taking effect, initialize the running states of the plurality of RAS functions to enable the electronic device to run with at least part of the RAS functions turned on, in the case that the sub-mode of the specified energy efficiency mode is the performance-energy consumption priority mode.

[0176] In one example embodiment, the management controller 704 and the basic input and output system are further configured to, after the electronic device is controlled to run with at least part of the RAS functions turned on in response to the specified energy efficiency scenario taking effect, continuously monitor the hardware health status of the electronic device, and dynamically adjust the running states of the plurality of RAS functions based on the monitored hardware health status.

[0177] In one example embodiment, the management controller 704 is further configured to continuously collect external state information during the running of the electronic device and failure information in the case that the electronic device is down, to obtain out-of-band monitoring information; the basic input and output system is further configured to continuously collect error detection information during the startup and running of the electronic device, to obtain in-band monitoring information; and at least one of the management controller 704 and the basic input and output system is further configured to analyze the out-of-band monitoring information and the in-band monitoring information, to obtain the hardware health status of the electronic device.

[0178] In one example embodiment, the hardware health status includes the health status of at least one device hardware of the electronic device; the health status of the device hardware of the at least one device hardware is represented by a health score of a hardware health degree of the corresponding device hardware. At least one of the management controller 704 and the basic input and output system is further configured to continuously monitor the device hardware of the at least one device hardware, to obtain hardware running data of the device hardware of the at least one device hardware; and continuously update the health score of the hardware health degree of the device hardware of the at least one device hardware based on the hardware running data of the device hardware of the at least one device hardware. The running states of the plurality of RAS functions are dynamically adjusted according to the health scores of the hardware health degrees of the device hardware of the at least one device hardware, or according to a fusion health score obtained by fusing the health scores of the hardware health degrees of the device hardware of the at least one device hardware.

[0179] In an example embodiment, the hardware health status comprises a memory health status of a memory bank of the electronic device, the memory health status being represented by a health score of a memory health of the electronic device. The at least one of the management controller 704 and the basic input output system is further configured to, in response to monitoring that a specified memory error occurs in the electronic device, determine a pending error score corresponding to the specified memory error according to a correspondence between error types and error scores; and update the health score of the memory health according to the pending error score, to obtain an updated health score of the memory health.

[0180] In an example embodiment, the at least one of the management controller 704 and the basic input output system is further configured to update the health score of the memory health as a product of a first coefficient and the pending error score plus a product of a second coefficient and the health score of the memory health, wherein the first coefficient is a set time decay factor, the second coefficient is a difference between 1 and the time decay factor, and 0 < the time decay factor < 1.

[0181] In an example embodiment, the hardware health status is represented by a health score of a hardware health of the electronic device, a score range of the health score of the hardware health is divided into a plurality of score intervals, and a plurality of RAS functions are divided into a plurality of function levels; one of the plurality of function levels corresponds to one of the plurality of score intervals. The at least one of the management controller 704 and the basic input output system is further configured to, in response to a case that the score interval to which the health score of the hardware health belongs is lowered from a first score interval to a second score interval, adjust a running state of a RAS function corresponding to the second score interval among the plurality of RAS functions to be turned on, wherein a function level corresponding to the first score interval is lower than a function level corresponding to the second score interval.

[0182] In an example embodiment, the at least one of the management controller 704 and the basic input output system is further configured to dynamically adjust a running state of an energy efficiency function in a performance-energy consumption priority mode based on the health score of the hardware health, wherein the health score of the hardware health is positively correlated with a total energy consumption of the energy efficiency function turned on in the performance-energy consumption priority mode.

[0183] In an example embodiment, the hardware health status comprises health statuses of at least two device hardware of the electronic device, and one of the at least two device hardware corresponds to at least part of the plurality of RAS functions. The at least one of the management controller 704 and the basic input output system is further configured to dynamically adjust a running state of a RAS function corresponding to a device hardware among the at least two device hardware among the plurality of RAS functions based on the health status of the device hardware among the at least two device hardware.

[0184] In an example embodiment, one of the plurality of RAS functions corresponds to one of the plurality of function options. The management controller 704 and the basic input / output system are further configured to determine, based on the monitored hardware health status, a to-be-adjusted RAS function of the plurality of RAS functions and an operating state to which the to-be-adjusted RAS function is to be adjusted, to obtain second option configuration information to be updated, wherein the second option configuration information comprises an option identifier of the function option corresponding to the to-be-adjusted RAS function and an option value corresponding to the operating state to which the to-be-adjusted RAS function is to be adjusted; and adjust the operating state of the to-be-adjusted RAS function according to the second option configuration information.

[0185] In an example embodiment, the management controller 704 is further configured to update the configuration structure according to the second option configuration information to obtain an updated configuration structure, and set a synchronization identifier bit to a specified value. The configuration structure is configured to record an option identifier of a function option corresponding to a RAS function of the plurality of RAS functions and an option value corresponding to an operating state of the RAS function of the plurality of RAS functions. The basic input / output system is further configured to, in a startup stage of the electronic device, in response to detecting that the synchronization identifier bit is set to the specified value, obtain the updated configuration structure from the management controller, extract the to-be-updated option configuration information from the updated configuration structure, write the to-be-updated option configuration information to the configuration area of the non-volatile random access memory, and control the electronic device to restart to adjust the operating state of the to-be-adjusted RAS function by loading the to-be-updated option configuration information.

[0186] It should be noted that, in the case of no contradiction, the manner in which the management controller, the basic input / output system, or the management controller and the basic input / output system cooperatively perform the above-mentioned steps and the interaction manner of the management controller and the basic input / output system can refer to the description in the foregoing embodiments; the above-mentioned modules can be implemented by software or hardware, and for the latter, the implementation can be, but is not limited to, the following: the above-mentioned modules are located in the same processor; or the above-mentioned modules are located in different processors in any combination.

[0187] According to still another aspect of embodiments of the present application, a server is provided, which can be used to implement the control method for the electronic device running as provided in the above-mentioned embodiments, which has been described and will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware is also possible and contemplated.

[0188] In this embodiment, the server can include a processor and a management controller, the processor being configured to execute a basic input / output system. At least one of the management controller and the basic input / output system is configured to configure a specified energy efficiency scenario for the electronic device in a plurality of energy efficiency scenarios, the specified energy efficiency scenario being associated with a specified energy efficiency mode in which at least part of a plurality of RAS functions is enabled, and to control the electronic device to operate with the at least part of the plurality of RAS functions enabled in response to the specified energy efficiency scenario taking effect.

[0189] It should be noted that at least one of the management controller and the basic input / output system in this embodiment can be configured to perform the above steps S202 and S204.

[0190] By the embodiments provided in this application, a specified energy efficiency scenario is configured for the electronic device in a plurality of energy efficiency scenarios, the specified energy efficiency scenario being associated with a specified energy efficiency mode in which at least part of a plurality of RAS functions is enabled, and the electronic device is controlled to operate with the at least part of the plurality of RAS functions enabled in response to the specified energy efficiency scenario taking effect, thereby solving the technical problem in the related art that the control method for device operation has low device service life due to poor reliability of device operation, improving the reliability of device operation, and further improving the service life of the device.

[0191] Optionally, the structure of the server and the manner of implementing the above-mentioned control method for electronic device operation are the same as or similar to the structure of the electronic device and the manner of implementing the above-mentioned control method for electronic device operation, which have been described above and will not be repeated here.

[0192] According to still another aspect of the embodiments of this application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is configured to perform the steps in any of the above-mentioned control method embodiments for electronic device operation when executed.

[0193] In one example embodiment, the above-mentioned computer readable storage medium can include, but is not limited to, a U disk, a read-only memory (ROM), a RAM, a mobile hard disk, a magnetic disk or an optical disk, and various media that can store a computer program.

[0194] According to still another aspect of the embodiments of this application, the embodiments of this application further provide a computer program product, and the above-mentioned computer program product includes a computer program. The computer program is configured to perform the steps in any of the above-mentioned control method embodiments for electronic device operation when executed by a processor.

[0195] The embodiment of the present application further provides another computer program product, comprising a nonvolatile computer readable storage medium, the nonvolatile computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the steps in the method embodiments of the control method executed by the electronic device.

[0196] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be realized by general computing devices, which can be concentrated on a single computing device or distributed on a network composed of multiple computing devices, which can be realized by program codes executable by the computing devices, so that they can be stored in storage devices and executed by the computing devices, and in some cases, the steps shown or described can be executed in different order, or they can be manufactured into individual integrated circuit modules, or multiple modules or steps thereof can be manufactured into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.

[0197] The above merely describes the preferred embodiments of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. within the principles of the present application shall be included in the protection scope of the present application.

Claims

1. A control method for an electronic device to operate, characterized by, Comprising: configuring a specified energy efficiency scenario for an electronic device among a plurality of energy efficiency scenarios, wherein the specified energy efficiency scenario is associated with a specified energy efficiency mode in which at least part of a plurality of RAS functions are enabled; in response to the specified energy efficiency scenario taking effect, controlling the electronic device to run with the at least part of the plurality of RAS functions enabled.

2. The method of claim 1, wherein, The method of configuring a specified energy efficiency scenario for an electronic device among a plurality of energy efficiency scenarios comprises: in response to a detected first trigger operation, displaying a scenario configuration interface, wherein the scenario configuration interface is used to configure an energy efficiency scenario for the electronic device; in response to a selection operation performed on a specified scenario tab in the scenario configuration interface, displaying a specified mode tab on the scenario configuration interface, wherein the specified scenario tab is a scenario tab corresponding to the specified energy efficiency scenario, and the specified mode tab is a mode tab associated with the specified scenario tab and corresponding to the specified energy efficiency mode; in response to a configuration saving operation performed on the scenario configuration interface, generating a first configuration saving instruction to configure the specified energy efficiency scenario for the electronic device.

3. The method of claim 2, wherein, The specified energy efficiency mode comprises two sub-modes: a performance-energy consumption priority mode and a reliability priority mode, wherein in the performance-energy consumption priority mode, the at least part of the plurality of RAS functions changes with the change of the hardware health status of the electronic device, and in the reliability priority mode, the at least part of the plurality of RAS functions is irrelevant to the hardware health status of the electronic device; The method of displaying a specified mode tab on a scenario configuration interface in response to a selection operation performed on a specified scenario tab in the scenario configuration interface comprises: in response to the selection operation performed on the specified scenario tab, displaying the specified mode tab and a sub-mode option associated with the specified mode tab on the scenario configuration interface, wherein the option value of the sub-mode option comprises a first option value corresponding to the performance-energy consumption priority mode and a second option value corresponding to the reliability priority mode.

4. The method of claim 3, wherein, The method further comprises: in response to a detected second trigger operation, displaying a mode configuration interface, wherein the mode configuration interface is used to configure the running state of a RAS function in the plurality of RAS functions for a specified sub-mode of the specified energy efficiency mode, and the mode configuration interface comprises a plurality of function options, each function option in the plurality of function options corresponding to a RAS function in the plurality of RAS functions; in response to an option value setting operation performed on at least one function option in the plurality of function options, adjusting the option value of the at least one function option displayed on the mode configuration interface; in response to a configuration saving operation performed on the mode configuration interface, generating a second configuration saving instruction to configure the running state of the RAS function in the plurality of RAS functions for the specified sub-mode.

5. The method of claim 2, wherein, After the first configuration saving instruction is generated, the method further comprises: In response to the first configuration preservation instruction, determine an option value configured for a set of linkage options of the specified energy efficiency mode, to obtain first option configuration information to be updated, wherein the set of linkage options includes a function option corresponding to an RAS function in the plurality of RAS functions; Update the running state of the plurality of RAS functions according to the first option configuration information, so that the at least part of the RAS functions are turned on.

6. The method of claim 1, wherein, In the specified energy efficiency mode, the running state of the RAS function in the plurality of RAS functions is statically configured, and in different hardware health states of the electronic device, the at least part of the RAS functions turned on are the same; The response to the specified energy efficiency scenario taking effect includes: In response to the specified energy efficiency scenario taking effect, controlling the electronic device to run with the at least part of the RAS functions turned on for a duration of the specified energy efficiency scenario taking effect.

7. The method of claim 6, wherein, In the specified energy efficiency mode, the running state of the plurality of RAS functions includes at least one of: The running state of the system error detection function is turned on; The running state of the memory error isolation and protection function is turned on; The running state of the page management and error handling function is adaptive; The running state of the adaptive dual-device data correction spare function is turned on; The running state of the custom refresh function is turned on; The running state of the attempt fast cold start function is turned off; The running state of the patrol erase function is turned on; The running state of the partial cache line protection function is turned on; The running state of the post-installation repair type function is soft package post-repair.

8. The method of claim 1, wherein, The specified energy efficiency mode includes a performance energy consumption priority mode, in which the at least part of the RAS functions changes with the change of the hardware health state of the electronic device; The response to the specified energy efficiency scenario taking effect includes: In the case that the sub mode of the specified energy efficiency mode is the performance energy consumption priority mode, in response to the performance energy consumption priority mode taking effect, initializing the running state of the plurality of RAS functions to make the electronic device run with the at least part of the RAS functions turned on, wherein the running state of the at least part of the RAS functions after initialization is turned on.

9. The method of claim 8, wherein, After the response to the specified energy efficiency scenario taking effect, the method further includes: Continuously monitor the hardware health state of the electronic device, and dynamically adjust the running state of the plurality of RAS functions based on the monitored hardware health state.

10. The method of claim 9, wherein, The electronic device includes a management controller, and the electronic device runs a basic input and output system; The continuous monitoring of the hardware health state of the electronic device includes: The out-of-band monitoring information is obtained by continuously collecting external state information during operation of the electronic device and failure information in the case of shutdown of the electronic device by the management controller, and the in-band monitoring information is obtained by continuously collecting error detection information during startup and operation of the electronic device by the basic input / output system; The hardware health status of the electronic device is obtained by analyzing the out-of-band monitoring information and the in-band monitoring information.

11. The method of claim 9, wherein, The hardware health status includes the health status of at least one device hardware of the electronic device; the health status of the device hardware in the at least one device hardware is represented by a health score of the hardware health degree of the corresponding device hardware; The hardware health status of the electronic device is continuously monitored, including: The hardware operation data of the device hardware in the at least one device hardware is continuously monitored to obtain the hardware operation data of the device hardware in the at least one device hardware; The health score of the hardware health degree of the device hardware in the at least one device hardware is continuously updated based on the hardware operation data of the device hardware in the at least one device hardware; The running state of the plurality of RAS functions is dynamically adjusted according to the health score of the hardware health degree of the device hardware in the at least one device hardware, or according to a fusion health score obtained by fusing the health score of the hardware health degree of the device hardware in the at least one device hardware.

12. The method of claim 9, wherein, The hardware health status includes the memory health status of the memory bank of the electronic device, and the memory health status is represented by a health score of a memory health degree of the electronic device; The hardware health status of the electronic device is continuously monitored, including: In the case where the specified memory error of the electronic device is monitored, a to-be-deducted error point value corresponding to the specified memory error is determined according to a corresponding relationship between error types and error point values; The health score of the memory health degree is updated according to the to-be-deducted error point value to obtain an updated health score of the memory health degree.

13. The method of claim 12, wherein, The health score of the memory health degree is updated according to the to-be-deducted error point value to obtain an updated health score of the memory health degree, including: The health score of the memory health degree is updated to a product of a first coefficient and the to-be-deducted error point value plus a product of a second coefficient and the health score of the memory health degree, wherein the first coefficient is a set time decay factor, the second coefficient is a difference between 1 and the time decay factor, and 0 < the time decay factor < 1.

14. The method of claim 9, wherein, The hardware health status is represented by a health score of a hardware health degree of the electronic device, a value range of the health score of the hardware health degree is divided into a plurality of value intervals, and the plurality of RAS functions are divided into a plurality of function levels; one function level in the plurality of function levels corresponds to one value interval in the plurality of value intervals; The running state of the plurality of RAS functions is dynamically adjusted based on the monitored hardware health status, including: In a case where the score interval to which the health score of the hardware health degree belongs is lowered from a first score interval to a second score interval, the running state of a RAS function in the plurality of RAS functions corresponding to a function level of the second score interval is adjusted to be turned on, wherein the function level corresponding to the first score interval is lower than the function level corresponding to the second score interval.

15. The method of claim 14, wherein, The method further comprises: Based on the health score of the hardware health degree, dynamically adjusting the running state of the energy efficiency function in the performance-energy consumption priority mode, wherein the health score of the hardware health degree is positively correlated with the total energy consumption of the energy efficiency function turned on in the performance-energy consumption priority mode.

16. The method of claim 9, wherein, The hardware health state comprises health states of at least two device hardware of the electronic device, one of the at least two device hardware corresponding to at least part of the plurality of RAS functions; The dynamically adjusting the running state of the plurality of RAS functions based on the monitored hardware health state comprises: Based on the monitored health state of the device hardware in the at least two device hardware, dynamically adjusting the running state of the RAS function in the plurality of RAS functions corresponding to the device hardware in the at least two device hardware.

17. The method of claim 9, wherein, One of the plurality of RAS functions corresponds to one of a plurality of function options; The dynamically adjusting the running state of the plurality of RAS functions based on the monitored hardware health state comprises: Based on the monitored hardware health state, determining a to-be-adjusted RAS function in the plurality of RAS functions and a running state to which the to-be-adjusted RAS function is to be adjusted, to obtain second option configuration information to be updated, wherein the second option configuration information comprises an option identifier of a function option corresponding to the to-be-adjusted RAS function and an option value corresponding to the running state to which the to-be-adjusted RAS function is to be adjusted; Adjusting the running state of the to-be-adjusted RAS function according to the second option configuration information.

18. The method of claim 17, wherein, The electronic device comprises a management controller, and a basic input and output system is running on the electronic device; The adjusting the running state of the to-be-adjusted RAS function according to the second option configuration information comprises: Updating, by the management controller, a configuration structure according to the second option configuration information to obtain an updated configuration structure, and setting a synchronization identifier position to a specified value, wherein the configuration structure is used to record an option identifier of a function option corresponding to a RAS function in the plurality of RAS functions and an option value corresponding to a running state of the RAS function in the plurality of RAS functions; In a starting stage of the electronic device, in response to detecting that the synchronization identification bit is set to the specified value, the updated configuration structure body is acquired from the management controller by the basic input and output system, the to-be-updated option configuration information is extracted from the updated configuration structure body, the to-be-updated option configuration information is written into a configuration area of a non-volatile random access memory, and the electronic device is controlled to restart to adjust the running state of the to-be-adjusted RAS function by loading the to-be-updated option configuration information.

19. An electronic device, comprising: Comprise: A processor and a management controller, the processor is used for executing a basic input and output system; wherein, At least one of the management controller and the basic input and output system is configured to configure a specified energy efficiency scene for the electronic device in a plurality of energy efficiency scenes, wherein the specified energy efficiency scene is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of the RAS functions in the plurality of RAS functions are turned on; in response to the specified energy efficiency scene taking effect, the electronic device is controlled to run with the at least part of the RAS functions turned on.

20. A server, comprising: Comprise: A processor and a management controller, the processor is used for executing a basic input and output system; wherein, At least one of the management controller and the basic input and output system is configured to configure a specified energy efficiency scene for the electronic device in a plurality of energy efficiency scenes, wherein the specified energy efficiency scene is associated with a specified energy efficiency mode, and in the specified energy efficiency mode, at least part of the RAS functions in the plurality of RAS functions are turned on; in response to the specified energy efficiency scene taking effect, the electronic device is controlled to run with the at least part of the RAS functions turned on.

21. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, wherein the computer program is executed by the processor to implement the method in any one of claims 1-18.

22. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method in any one of claims 1-18.

Citation Information

Patent Citations

  • Setting method and device of RAS configuration

    CN103645915A

  • Method and system for optimizing system management interrupt processing hardware error time

    CN113076213A

  • Method, system and device for automatically testing RAS characteristics of memory based on OSES

    CN114003419A

  • RAS function configuration method and device, electronic equipment and medium

    CN116302203A

  • Method and device for updating RAS configuration information, storage medium and program product

    CN119179524A