Server data backup method, device, electronic device, and storage medium
By dynamically adjusting the signal parameters when the server is powered off abnormally, the self-refreshing signal and environmental parameter information are used to dynamically adjust the signal parameters, and the data is stored in the first memory and transferred to the nonvolatile memory, the problem of low data backup reliability when the server is powered off abnormally is solved, and fast and accurate data storage and protection are achieved.
Patent Information
- Application Number
- CN202510728891.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2045-06-03
AI Technical Summary
In the prior art, when the server powers off abnormally, the reliability of data backup is low, and the backup process cannot be started in time, resulting in data not being backed up and stored, reducing the reliability of data backup.
When the server is abnormally powered down, the signal parameters are dynamically adjusted by self-refreshing signals and environmental parameter information, the data to be backed up is stored in the first memory, and further transferred to the non-volatile memory, including dynamically adjusting the refresh time interval and the refresh signal level.
It improves the stability and reliability of the data backup process, ensures that data is stored quickly and accurately in abnormal power outages, avoids data backup failures caused by environmental factors, and improves the server's data protection capabilities under various operating conditions.
Smart Images

Figure CN120234186B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of server technology, and in particular to a data backup method, device, electronic device, and storage medium for a server. Background Art
[0002] With the development of server technology, servers have put forward higher requirements for the security and reliability of data storage. For example, how to quickly restore data in the event of an abnormal power outage on the server is a technical problem that needs to be solved urgently.
[0003] Related technologies typically use a periodic backup mechanism to save DRAM data to non-volatile storage devices (such as SSDs or hard drives). This backup method is subject to certain uncertainties and is often limited by software execution uncertainties, resulting in imprecise data backup control. In the event of an abnormal power outage, the backup process may not be initiated in a timely manner, resulting in data not being backed up and stored, significantly reducing data backup reliability. Therefore, related technologies suffer from the problem of low data backup reliability during abnormal power outages. Summary of the Invention
[0004] The present application provides a data backup method, device, electronic device and storage medium for a server, so as to at least solve the problem in the related art of low reliability of data backup in the event of abnormal power failure.
[0005] The present application provides a data backup method for a server, comprising: in the event of an abnormal power outage on the server, performing data refresh processing on the server's to-be-backed-up data according to a set of signal parameters of a self-refresh signal, so as to store the to-be-backed-up data in a first memory, wherein the self-refresh signal is a signal sent to the first memory for triggering the first memory to perform a refresh operation, and the set of signal parameters includes a refresh time interval of the self-refresh signal and a refresh signal level of the self-refresh signal; during the data refresh processing, obtaining environmental parameter information of the server, and adjusting the set of signal parameters according to the environmental parameter information; and in the event that the data to be backed up has been stored in the first memory, transferring the data to be backed up from the first memory to a second memory, wherein the second memory is a non-volatile memory.
[0006] The present application also provides a data backup device for a server, comprising: a refresh module, for performing data refresh processing on the data to be backed up of the server according to a set of signal parameters of a self-refresh signal when an abnormal power outage occurs on the server, so as to store the data to be backed up in a first memory, wherein the self-refresh signal is a signal sent to the first memory for triggering the first memory to perform a refresh operation, and the set of signal parameters includes a refresh time interval of the self-refresh signal and a refresh signal level of the self-refresh signal; an adjustment module, for obtaining environmental parameter information of the server during the data refresh processing, and adjusting the set of signal parameters according to the environmental parameter information; a transfer module, for transferring the data to be backed up from the first memory to a second memory when the data to be backed up has been stored in the first memory, wherein the second memory is a non-volatile memory.
[0007] The present application also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned server data backup methods when executing the computer program.
[0008] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned server data backup methods are implemented.
[0009] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned server data backup methods when executed by a processor.
[0010] Through the present application, in the event of an abnormal power outage on the server, data to be backed up is refreshed to store the data to be backed up in the first memory. During the data refresh process, a set of signal parameters of the self-refresh signal are dynamically adjusted according to environmental parameter information, thereby effectively improving the stability and reliability of the data backup process. In the event of an abnormal power outage, the data to be backed up can be quickly and accurately stored in the first memory and further transferred to the non-volatile memory, thereby ensuring the security of the data and solving the problem of relatively low reliability of data backup in related technologies. By adjusting the refresh strategy through environmental parameter information, data backup failures caused by environmental factors are avoided to a certain extent, thereby improving the data protection capability of the server under various operating conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0012] Figure 1 The present invention provides an application diagram of a data backup method for a server according to an embodiment of the present application.
[0013] Figure 2 The present invention is a flowchart of an optional method for backing up server data according to an embodiment of the present application.
[0014] Figure 3 A schematic diagram of an optional server data backup method according to an embodiment of the present application.
[0015] Figure 4 Schematic diagram of another optional server data backup method according to an embodiment of the present application.
[0016] Figure 5 This is a schematic diagram of another optional server data backup method according to an embodiment of the present application.
[0017] Figure 6 Schematic diagram of an optional server-based data backup method according to an embodiment of the present application.
[0018] Figure 7 A schematic diagram of the structure of a data backup device for a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0019] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0020] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0021] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0022] Related technologies typically use a periodic backup mechanism to save data from DRAM (Dynamic Random Access Memory) to non-volatile storage devices (such as SSDs or hard drives). This backup method is subject to uncertainty and is often limited by software execution uncertainties, resulting in imprecise data backup control. In the event of an abnormal power outage, the backup process may not be initiated in a timely manner, resulting in data not being backed up and stored, significantly reducing data backup reliability. Consequently, related technologies suffer from relatively low data backup reliability.
[0023] Of course, related technologies also include dual power supply redundancy, which involves installing two independent power supplies in a server. If one power supply fails, the other power supply can continue to power the server. However, while dual power supply redundancy can prevent data loss due to power failures to a certain extent, it significantly increases server costs, complicates maintenance, and makes the server larger.
[0024] To solve the above problems, an embodiment of the present application provides a method for backing up data of a server. In the event of an abnormal power outage on the server, data refresh processing is performed on the data to be backed up to store the data to be backed up in a first memory. During the data refresh processing, a set of signal parameters of the self-refresh signal are dynamically adjusted according to environmental parameter information, thereby effectively improving the stability and reliability of the data backup process. In the event of an abnormal power outage, the data to be backed up can be quickly and accurately stored in the first memory and further transferred to a non-volatile memory, ensuring the security of the data. This solves the problem of low reliability of data backup in the event of an abnormal power outage in related technologies. By adjusting the refresh strategy through environmental parameter information, data backup failures caused by environmental factors are avoided to a certain extent, thereby improving the data protection capability of the server under various operating conditions.
[0025] According to one aspect of the embodiment of the present application, a method for backing up data of a server is provided. Optionally, in this embodiment, the method for backing up data of the server can be applied to, but not limited to, Figure 1 The hardware environment shown includes a terminal device 102 and a server 104. The server 104 can be connected to the terminal device 102 via a network and can be used to provide services (e.g., application services, etc.) for the terminal device 102 or a client installed on the terminal device 102. A database can be set on the server 104 or independently of the server 104 to provide data storage services for the server 104.
[0026] The aforementioned network may include, but is not limited to, at least one of the following: a wired network and a wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, or a local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity) and Bluetooth. The terminal device 102 may be, but is not limited to, a personal computer (PC), a mobile phone, a tablet computer, etc. The server 104 may be, but is not limited to, a cloud server, a server cluster, or other server types.
[0027] The data backup method of the server in the embodiment of the present application can be executed by the server 104. Taking the server 104 executing the data backup method of the server in the embodiment as an example, Figure 2 FIG. 1 is a flow chart of an optional method for backing up data on a server according to an embodiment of the present application, as shown in FIG. Figure 2 As shown, the process of the method may include the following steps:
[0028] Step S202: When an abnormal power outage occurs on the server, data to be backed up of the server is refreshed according to a set of signal parameters of a self-refresh signal to store the data to be backed up in a first memory, wherein the self-refresh signal is a signal sent to the first memory for triggering the first memory to perform a refresh operation, and the set of signal parameters includes a refresh time interval of the self-refresh signal and a refresh signal level of the self-refresh signal.
[0029] It should be noted that the server may include, but is not limited to, a central processing unit (CPU), a controller, a first memory, a second memory, and a power supply unit (PSU). The first memory may be DRAM (Dynamic Random Access Memory), which primarily performs high-speed data reading and writing in the server. There may be multiple first memories. In this embodiment, when the server experiences an abnormal power outage, the data refresh process first stores the data in the DRAM, temporarily maintaining the data state through a self-refresh mechanism. The second memory may be a non-volatile memory. The non-volatile memory may be an SSD (Solid State Drive), an HDD (Hard Disk Drive), or Flash (Flash Memory). These storage devices retain data even during power outages and are used to persistently store critical server data. The controller may be a CPLD (Complex Programmable Logic Device), capable of real-time monitoring of connected components. The power supply unit may be the component that provides power to the server.
[0030] Optionally, the server controller can be configured to monitor the power supply status of the power supply unit to determine whether the server has experienced an abnormal power outage. Upon detecting an abnormal power outage, a data refresh process is initiated to store the data to be backed up in the first memory. Optionally, the CPLD sends a self-refresh signal to the DRAM, triggering the DRAM to perform a refresh operation. This allows the DRAM to maintain its data state for a short period of time, thereby performing data backup and preventing data loss due to power outages.
[0031] Optionally, the identification of an abnormal power outage typically involves the server's power monitoring module, which can be a CPLD or a dedicated power monitoring chip. This identification process can include voltage monitoring, voltage monitoring, and signal loss detection. Voltage monitoring involves continuously monitoring the server's power input voltage. Once the voltage falls below a preset threshold, an abnormal power outage is considered, triggering an emergency response. Current monitoring involves detecting abnormal current fluctuations, which can also be a precursor to an abnormal power outage. Signal confirmation detection involves monitoring power supply signals, such as AC (alternating current) or DC (direct current) signals. If these signals suddenly disappear, an abnormal power outage is determined.
[0032] It should be noted that data to be backed up can refer to critical information stored on the server. This data is essential to the server's operation, and its loss could lead to business interruption or data corruption. Generally, this data can include data in the cache and data currently being processed by the central processing unit (such as operating system kernel data and running process data).
[0033] Data refresh processing can be a process in which the data status in the DRAM is locked or temporarily saved through specific refresh signals and parameters when the server loses power abnormally to prevent data from being lost due to power outage.
[0034] The self-refresh signal is a signal sent to the first memory for triggering the first memory to perform a refresh operation. Optionally, the self-refresh signal can be sent directly or indirectly by the CPLD to the first memory to control the first memory to perform a refresh operation. There is a set of signal parameters corresponding to the self-refresh signal. The set of signal parameters of the self-refresh signal can refer to the specific settings carried by the self-refresh signal during the triggering and transmission process, which can mainly include: refresh time interval and refresh signal level. Among them, the refresh time interval can be the minimum time distance between two self-refresh signals. The refresh time interval determines the frequency of the self-refresh signal. The refresh time interval needs to be dynamically adjusted according to the characteristics of the DRAM and the environmental conditions of the server to ensure that the frequency of data refresh is sufficient to cope with data loss caused by power outages. The refresh signal level can be the voltage strength of the self-refresh signal during transmission. The refresh signal level determines the strength and effectiveness of the signal. The appropriate signal level can ensure the effective transmission of the signal, avoid signal distortion or misreading by the DRAM, thereby affecting the success rate of the refresh operation.
[0035] Step S204: During the data refresh process, the environment parameter information of the server is obtained, and a set of signal parameters is adjusted according to the environment parameter information.
[0036] It should be noted that during the data refresh process, the controller can obtain the server's environmental parameter information to adjust a set of signal parameters of the self-refresh signal according to the environmental parameter information, that is, dynamically adjust the refresh time interval and refresh signal level to adapt to the current environmental conditions and ensure the efficiency and success rate of the refresh process.
[0037] Optionally, the server's controller (such as a CPLD) can be equipped with an environmental monitoring module, which continuously monitors the server's operating environment, including but not limited to key parameters such as temperature, voltage, humidity, and air pressure. This monitoring process is continuous and uninterrupted, ensuring that valid environmental data is immediately available in the event of an abnormal power outage. Environmental parameter information is collected by various sensors on the server (such as temperature and voltage sensors). These sensors output digital or analog signals, which are then converted into a data format understandable by the CPLD using devices such as an analog-to-digital converter (ADC).
[0038] Optionally, the controller receives data from various sensors and performs analysis and processing based on the data from the various sensors to determine whether a set of signal parameters needs to be adjusted. In specific circumstances, all signal parameters in a set of signal parameters may be adjusted, or only one or more signal parameters in a set of signal parameters may be adjusted. Specifically, this determination may be made based on the data obtained from the various sensors, and this application does not limit this.
[0039] Optionally, after adjusting a set of signal parameters, the data refresh process can continue based on the adjusted set of signal parameters. The adjusted set of signal parameters is applied to the ongoing data refresh process. The self-refresh signal is resent based on these new parameters, ensuring that the data in the DRAM is accurately and timely refreshed.
[0040] Optionally, during the data refresh process, the data refresh process will also be monitored to promptly identify abnormal situations that occur during the data refresh process, and adjust the process based on the abnormal situations that occur, so that the data to be backed up can be backed up in a timely manner.
[0041] Step S206 : If the data to be backed up has been stored in the first memory, the data to be backed up is transferred from the first memory to the second memory, wherein the second memory is a non-volatile memory.
[0042] Optionally, the second memory can be connected to the first memory. After detecting that the data refresh process is completed, the controller in the server controls the transfer of the data to be backed up from the first memory (DRAM) to a non-volatile memory (such as Flash) to achieve persistent storage of the data.
[0043] Specifically, if Figure 3As shown, when an abnormal power outage is detected, the data to be backed up is stored in the first memory through data refresh processing for data backup. During the data refresh process, the completion of the refresh is monitored in real time. If the refresh is complete, the data to be backed up is stored from the first memory to the second memory (i.e., non-volatile memory).
[0044] Optionally, a completion signal may be sent to the controller to indicate that the refresh is complete, thereby triggering the storage of the data to be backed up from the first memory to the second memory.
[0045] Optionally, the controller can be configured with a status logging module. During data backup, the CPLD records detailed information about each refresh, including refresh intervals, signal levels, environmental parameters, and any abnormal conditions (such as errors). This data is stored by the status logging module and can be used for subsequent system analysis and maintenance.
[0046] Through the embodiments of the present application, in the event of an abnormal power outage on the server, data to be backed up is refreshed to store the data to be backed up in the first memory. During the data refresh process, a set of signal parameters of the self-refresh signal are dynamically adjusted according to the environmental parameter information, thereby effectively improving the stability and reliability of the data backup process. In the event of an abnormal power outage, the data to be backed up can be quickly and accurately stored in the first memory and further transferred to the non-volatile memory, thereby ensuring the security of the data and solving the problem of low reliability of data backup in the event of an abnormal power outage in related technologies. By adjusting the refresh strategy through environmental parameter information, data backup failures caused by environmental factors are avoided to a certain extent, thereby improving the data protection capability of the server.
[0047] In an exemplary embodiment, in order to further solve the problem of data backup success rate under abnormal environments, a temperature sensor and a voltage sensor can be set to monitor the temperature of the server and the level of the server, so as to adjust a set of signal parameters according to one or more of the current temperature and the current voltage.
[0048] The environmental parameter information includes temperature information for indicating the current temperature, and voltage information for indicating the current voltage; step S204 includes: when the current temperature is greater than the temperature threshold, shortening the refresh time interval of the self-refresh signal according to the preset temperature and the current temperature; when the current voltage is less than the voltage threshold, lowering the refresh signal level of the self-refresh signal according to the preset voltage and the current voltage.
[0049] It should be noted that environmental parameter information may refer to the real-time status data of the environment in which the server is running, usually including key indicators such as temperature and voltage, which can be used to evaluate whether the server's working environment is within a safe and efficient operating range. Temperature information specifically refers to the real-time temperature reading inside the server, which is usually collected by a built-in temperature sensor. Monitoring of temperature information can avoid the failure of data refresh operations in high temperature environments. Voltage information may refer to the real-time voltage reading provided by the server's power supply unit. The stability of the voltage in the server directly affects the transmission effect of the self-refresh signal, and whether the first memory can correctly perform the self-refresh operation.
[0050] Because high temperatures accelerate data decay, a temperature threshold (i.e., a preset upper temperature limit) can be set to assess whether the server's internal ambient temperature has reached a level that could affect DRAM data retention. If the current temperature exceeds this threshold, the refresh interval of the self-refresh signal can be shortened based on the preset and current temperatures, allowing data refreshes to be performed more frequently to ensure data integrity. Optionally, the number of preset temperatures can be one or more.
[0051] In order to evaluate whether the current voltage of the server will affect the quality and reliability of the self-refresh signal, a voltage threshold can be set, that is, a preset voltage lower limit value. When the current voltage is lower than the voltage threshold, the refresh signal level of the self-refresh signal can be lowered according to the preset voltage and the current voltage, thereby ensuring that the signal can be correctly received by the DRAM.
[0052] It should be noted that the temperature threshold and voltage threshold can be obtained based on experiments or directly based on the server's factory settings. Since the controller can also be configured with a status recording module to record the data refresh process, the temperature threshold or voltage threshold can be fine-tuned based on the data obtained during the data refresh process. Specifically, this application does not limit this.
[0053] Specifically, if Figure 4 As shown, environmental parameter information is monitored. When the current temperature is greater than the temperature threshold, the refresh interval of the self-refresh signal is shortened, and the signal parameters are adjusted by the shortened refresh interval, thereby optimizing the timing of the data refresh process. When the current voltage is less than the voltage threshold, the refresh signal level of the self-refresh signal is lowered, and the signal parameters are adjusted by the lowered refresh signal level.
[0054] Through this embodiment, by monitoring the current temperature and current voltage, the problem of low data backup success rate under abnormal environmental conditions is solved, the adaptability and stability of the server in the face of environmental changes are enhanced, and the reliability of data backup is improved.
[0055] In an exemplary embodiment, in order to more accurately adjust the refresh time interval, a temperature preset table can be set in the server, wherein the temperature preset table can be used to record a set of preset temperatures and temperature coefficients corresponding to the preset temperatures in a set of preset temperatures; shorten the refresh time interval of the self-refresh signal according to the preset temperature and the current temperature, including: according to the current temperature, finding the target temperature and the target temperature coefficient from a set of preset temperatures and a set of temperature coefficients corresponding to the preset temperatures, wherein the target temperature is the preset temperature with the smallest difference from the current temperature in a set of preset temperatures, and the target temperature coefficient is the temperature coefficient corresponding to the target temperature; multiplying the difference obtained by subtracting the corrected temperature difference value from 1 by the specified time interval is determined as the target time interval, and shortening the refresh time interval to the target time interval, wherein the corrected temperature difference value is the product of the difference between the target temperature and the current temperature and the target temperature coefficient.
[0056] It should be noted that the temperature preset table can be used to record a series of preset temperatures and their corresponding temperature coefficients. The preset temperatures are a series of values representing different temperature levels, while the temperature coefficient is a factor associated with each preset temperature and used to calculate the required refresh frequency adjustment for the DRAM at that specific temperature.
[0057] A set of preset temperatures can be used to define different temperature ranges for server operation. Each preset temperature point is associated with a temperature coefficient. In the temperature preset table, higher preset temperatures tend to have larger corresponding temperature coefficients, indicating that DRAM data retention capacity decreases with increasing temperature, requiring more frequent refresh operations. The corrected temperature difference value can be used to reflect the actual need for DRAM refresh frequency adjustment under current temperature conditions.
[0058] The specified time interval may be a preset basic refresh time interval at a standard temperature. The standard temperature is generally room temperature (e.g., 25 degrees Celsius). The length of the basic refresh time interval may be obtained based on factory server information or experimentally, and this application does not limit this.
[0059] In specific practice, the controller (such as CPLD) obtains the current temperature. When it is detected that the current temperature is in a high temperature state, the target temperature and target temperature coefficient can be obtained from the temperature preset table according to the current temperature. The target temperature can be the preset temperature with the smallest difference from the current temperature, and the target temperature coefficient is the temperature coefficient corresponding to the target temperature. The adjusted refresh time interval can be calculated using formula (1).
[0060] ;(1)
[0061] in, is the refresh interval after adjustment, To specify the time interval, is the temperature coefficient, is the difference between the current temperature and the target temperature.
[0062] Alternatively, two preset temperatures can be directly selected from a preset temperature table based on the current temperature, such as a first preset temperature and a second preset temperature. The first preset temperature and the second preset temperature can be the preset temperatures with the smallest and second smallest differences between the current temperatures. A first temperature coefficient corresponding to the first preset temperature and a second temperature coefficient corresponding to the second preset temperature are then obtained, respectively. The target temperature coefficient corresponding to the current temperature is determined using a linear difference method. In this case, the current temperature is directly used as the target temperature. For example, if the current temperature is 45 degrees Celsius and the preset temperature table includes a set of preset temperatures of 40, 50, 60, and so on, increasing in sequence, then the corresponding two preset temperatures are 40 and 50. The target temperature coefficient is determined using the temperature coefficients corresponding to 40 and 50.
[0063] Through the above embodiment, the target temperature coefficient at the current temperature is calculated by the linear difference method, taking into account the difference between the current temperature and the preset temperature, so that the temperature coefficient is more in line with the actual working conditions of the server, and the accuracy of temperature control is enhanced. It can continuously and dynamically adjust the self-refresh parameters according to the current temperature, significantly improving the reliability and effectiveness of data refresh operations and reducing the risk of data loss.
[0064] Similarly, a voltage preset table is set in the server, wherein the voltage preset table can be used to record a set of preset voltages and voltage coefficients corresponding to the preset voltages in a set of preset temperatures; through the voltage preset table and the current voltage, when the current voltage is less than the voltage threshold, the target voltage and the target voltage coefficient can be found from a set of preset voltages and a set of voltage coefficients corresponding to the preset voltages based on the current voltage, wherein the target voltage is the preset voltage with the smallest difference from the current voltage in a set of preset voltages, and the target voltage coefficient is the voltage coefficient corresponding to the target voltage; the product of the difference obtained by subtracting the corrected voltage difference from 1 and the specified voltage is determined as the target refresh level, and the refresh signal level is shortened to the target refresh level, wherein the corrected voltage difference is the product of the difference between the target voltage and the current voltage and the target voltage coefficient.
[0065] Similarly, the current voltage can be directly used as the target voltage, and the target voltage coefficient can be determined using the linear difference method to obtain the target refresh level. Specifically, the target temperature coefficient and target time interval determination process can be referred to, which will not be described in detail in this application.
[0066] Specifically, in a low-voltage environment, that is, when the current voltage is less than the voltage threshold, the target refresh level can be obtained by formula (2) to reduce the refresh signal level and avoid signal distortion.
[0067] ; (2)
[0068] in, To adjust the refresh signal level, is the refresh signal level under standard voltage, is the voltage coefficient, It is the difference between the current voltage and the standard voltage at the standard temperature.
[0069] Optionally, after the signal parameters are adjusted, real-time verification can be performed through a feedback loop to determine whether the effect of the signal adjustment meets expectations.
[0070] Optionally, the temperature coefficient corresponding to each preset temperature in a set of preset temperatures in the temperature preset table, and the voltage coefficient corresponding to each preset voltage in a set of preset voltages in the voltage preset table, can be updated using data recorded by the status recording module.
[0071] It should be noted that the values corresponding to the temperature coefficient and the voltage coefficient are relatively small, for example, 0.01 or 0.05, etc.
[0072] This embodiment, through the use of a preset temperature table and temperature coefficients, dynamically adjusts the refresh signal parameters based on the actual operating environment, enhancing the server's data protection capabilities under varying temperature conditions. This allows the server to automatically adjust the refresh interval based on the current temperature, ensuring the effectiveness of data refreshes in varying temperature environments. This improves the accuracy and efficiency of data refreshes and enhances the server's adaptability and stability in the face of temperature fluctuations.
[0073] In an exemplary embodiment, to further improve the reliability of data backup, after receiving a self-refresh signal, the first memory will also perform a refresh operation in response to the self-refresh signal and feedback a response signal corresponding to the self-refresh signal. Specifically, during the data refresh process, when the first memory receives a self-refresh signal, the refresh operation is performed according to the self-refresh signal, and a response signal corresponding to the self-refresh signal is fed back to the controller of the server, wherein the response signal corresponding to the self-refresh signal is used to indicate the execution result of the refresh operation performed by the first memory in response to the self-refresh signal.
[0074] It should be noted that the self-refresh signal is sent by the server controller to the first memory. Optionally, the CPLD generates and sends the self-refresh signal to the first memory based on a set of signal parameters for the self-refresh signal. Specifically, the set of signal parameters includes a refresh interval and a refresh signal level. The timing of sending the self-refresh signal to the first memory is determined based on the refresh interval.
[0075] Optionally, multiple self-refresh signals are sent to the first memory, each with a specific timing sequence. A high-precision clock generator can be integrated into the controller to generate the clock signal required for the self-refresh signal. The clock signal is calibrated using a hardware-level phase-locked loop (PLL) to ensure clock frequency stability, thereby ensuring that the self-refresh signal is sent within a precise time window, thereby avoiding data loss due to timing deviations.
[0076] Specifically, an internal state machine may be integrated in the controller, and the internal state machine may adjust the sending timing of the self-refresh signal according to the refresh performance (such as the refresh cycle) and the refresh time interval of the first memory.
[0077] Optionally, a timer may be provided in the controller to monitor the execution time of the refresh operation in real time, so as to ensure that the refresh operation is completed within the specified time as much as possible.
[0078] When the first memory receives a self-refresh signal, it performs a refresh operation based on the self-refresh signal and sends a response signal back to the server controller, indicating the completion status and results of the refresh operation. The response signal confirms whether the refresh operation was performed as expected and whether any errors or exceptions occurred. The response signal can include confirmation of successful execution, the completion time of the refresh operation, and even information about error detection and recovery.
[0079] Optionally, in order to ensure the reliability and accuracy of the refresh process, the controller may monitor the response signal in real time through a signal sampling circuit.
[0080] Through this embodiment, the self-refresh operation can maintain the stability of stored data even in the event of an abnormal power outage, avoiding the risk of data loss and enhancing data preservation capabilities. In addition, the feedback response signal can improve the reliability of data backup.
[0081] In one exemplary embodiment, to further enhance data backup reliability, a backup memory corresponding to the first memory may be provided in the server. Specifically, based on a response signal corresponding to a self-refresh signal, a determination is made as to whether an error occurs during a refresh operation. If a target error occurs during a refresh operation, the self-refresh signal is resent to the first memory or to the backup memory, depending on the error type of the target error.
[0082] It should be noted that backup memory is memory with the same functional specifications as the primary memory. If the primary memory experiences a problem (failure or insufficient performance), the system can seamlessly switch to the backup memory to continue operations. The backup memory may be the same type of DRAM or another alternative memory technology, such as MRAM (Magnetic Random Access Memory) or PRAM (Phase-Change Random Access Memory).
[0083] The target error can be a specific type of error detected during the refresh operation, or it can be any error detected during the refresh operation. These errors may arise from a variety of reasons, such as signal interference, DRAM chip failure, timing deviation, etc. Depending on the nature and cause of the error, the target error can be divided into different types, such as recoverable errors and non-recoverable errors. Different error types require different processing strategies, such as re-sending the self-refresh signal to the first memory or sending the self-refresh signal to the backup memory.
[0084] Optionally, the controller may have a built-in error detection algorithm, which may be used to determine whether a target error exists.
[0085] Through this embodiment, through real-time error detection, it is possible to quickly identify and respond to anomalies in the refresh operation, thereby improving the system's fault tolerance and data recovery speed and reducing the risk of data loss. The introduction of backup memory can improve the reliability of data storage.
[0086] In an exemplary embodiment, determining whether an error occurs during a refresh operation according to a response signal corresponding to a self-refresh signal includes:
[0087] If the response signal corresponding to the self-refresh signal indicates a response timeout, determining that an error occurs during the refresh operation; or
[0088] If the check code carried in the self-refresh signal is inconsistent with the check code carried in the response signal corresponding to the self-refresh signal, it is determined that an error occurs during the refresh operation; or
[0089] determining whether there is an error in the process of executing the refresh operation according to a signal sampling value obtained by sampling the self-refresh signal and a signal sampling value obtained by sampling the response signal corresponding to the self-refresh signal; or
[0090] In a case where the status information in the response signal corresponding to the self-refresh signal indicates that the refresh operation has failed to be executed, it is determined that an error occurs during the execution of the refresh operation.
[0091] It should be noted that the response signal may include the time required to perform the refresh operation. When the response signal corresponding to the self-refresh signal indicates a response timeout, it can be determined that an error occurs during the refresh operation.
[0092] Both the self-refresh signal and the response signal contain a checksum. Specifically, a cyclic redundancy check (CRC) can be performed to verify the integrity and accuracy of the signal. If the checksums are inconsistent, it is determined that an error occurred during the refresh operation.
[0093] A signal sampling circuit can be deployed in the server. This circuit can monitor the status of the self-refresh signal and the response signal in real time to obtain real-time data on signal quality. The sampling process can be used to detect whether there is interference or attenuation in the signal, as well as the accuracy of signal transmission.
[0094] The response signal may also include information about the refresh operation execution status. If the status information indicates that the refresh operation failed, this means that there is some error that prevents the successful completion of the refresh process, thereby determining that there is an error in the process of executing the refresh operation.
[0095] Optionally, the CPLD will take appropriate recovery measures for the error type of the detected target error, such as resending the self-refresh signal (for recoverable errors) or switching to backup memory (for unrecoverable errors).
[0096] Through this embodiment, during the refresh operation, the controller can monitor and detect various potential errors in real time to improve the stability of data backup. Furthermore, if an error is detected, it will resend the self-refresh signal or switch to the backup memory, minimizing the occurrence of data loss and improving the reliability of the data refresh process.
[0097] In an exemplary embodiment, the error type of the target error belongs to one of a first type of error caused by a memory abnormality and a second type of error caused by a non-memory abnormality, and the error degree of the first type of error is higher than the error degree of the second type of error; according to the error type of the target error, a self-refresh signal is re-sent to the first memory, or a self-refresh signal is sent to the backup memory, including: when the error type of the target error belongs to the first type of error, the self-refresh signal is regenerated, and the self-refresh signal is sent to the backup memory; when the error type of the target error belongs to the second type of error, the refresh time interval is shortened or the refresh signal level is lowered, the self-refresh signal is regenerated, and the regenerated self-refresh signal is sent to the first memory.
[0098] It should be noted that the target error type can be either a Type I error caused by memory anomalies or a Type II error caused by non-memory anomalies. Type I errors can be caused by memory anomalies. These errors are often related to quality issues or hardware failures in the DRAM chip itself, posing a serious threat to the integrity of data storage. They are highly error-prone and difficult to recover through software. Type II errors can be caused by non-memory anomalies. These errors may stem from external factors such as signal interference and power supply fluctuations, have a relatively minor impact on data storage, can be corrected by adjusting signal parameters (such as refresh interval and signal level), and have a lower error severity.
[0099] When it is determined that the error type of the target error belongs to the first type of error, due to the high risk of the first type of error, the controller can directly generate a new self-refresh signal and send the self-refresh signal to the backup memory to trigger the self-refresh operation of the backup memory.
[0100] After adjusting a set of signal parameters based on the environmental parameter signal, if the target error is a Class II error, the refresh interval can be shortened according to the first adjustment value; or the refresh signal level can be reduced according to the second adjustment value, thereby regenerating and sending the self-refresh signal to the first memory, and attempting to re-execute the refresh operation under the adjusted parameters. By shortening the refresh interval or the refresh signal level, signal transmission quality is optimized. The magnitudes of the first adjustment value and the second adjustment value can be determined based on experiments, and the first adjustment value and the second adjustment value are relatively small values.
[0101] Through this embodiment, the fault tolerance capability in the server backup process is enhanced by distinguishing the first type of error from the second type of error and adopting corresponding recovery strategies.
[0102] Figure 5 This is a schematic diagram of the data backup of the server in this optional example. Figure 5As shown, the server may include a CPLD (Complex Programmable Logic Device), a Platform Controller Hub (PCH), a CPU (Central Processing Unit), a DIMM (Dual In-line Memory Module), a PSU (Power Supply Unit), an environmental monitoring module, and flash memory. The CPLD may include an asynchronous refresh control module, namely an ADR LOGIC (Asynchronous DRAM Refresh Logic) control module, a parameter optimization and adjustment module, an error detection and recovery module, and a status recording module. The DIMM may contain a DRAM chip. The ADR LOGIC control module is used to trigger a DRAM self-refresh operation in the event of an abnormal power outage, ensuring the stability and integrity of the DRAM stored data.
[0103] Specifically, the CPLD continuously monitors the server's operating status. If the PSU detects an abnormal power outage, the CPLD, through the ADR LOGIC control module, quickly sends an ADR trigger signal to the PCH. Upon receiving the signal, the PCH issues a command to the CPU, suspending normal CPU operation and storing the data to be backed up in the DRAM in the DIMMs. A self-refresh signal is then sent to the DRAM to ensure that the data in the DRAM maintains its integrity during the power outage through the self-refresh mechanism. Simultaneously, the CPLD's built-in error detection and recovery module analyzes the response signal in real time to detect any anomalies during the refresh process, such as signal interference or DRAM chip failure, to ensure data integrity. The parameter optimization and adjustment module dynamically adjusts the refresh signal timing parameters, such as signal level and refresh interval, based on system environmental changes such as temperature and voltage, to improve refresh efficiency and accuracy. Once the self-refresh signal is confirmed to be valid, the CPLD controls the DIMMs to securely store the refreshed data in the DRAM in the flash memory. The CPLD's status recording module records status information throughout the entire process, including the refresh start and end times, error types, and their handling results, providing detailed data for subsequent system maintenance and fault analysis.
[0104] Through the above-described embodiment, the CPLD can quickly respond to an abnormal power outage by monitoring the PSU, instructing the CPU to suspend normal operations and store critical data in DRAM, effectively preventing instantaneous data loss during power outages. The parameter optimization and adjustment module can fine-tune the timing parameters of the refresh signal, such as signal level and refresh interval, based on the server's real-time environmental factors, such as temperature and voltage fluctuations, thereby improving the efficiency of the refresh operation and reducing the data error rate caused by environmental factors. The CPLD's built-in error detection and recovery module can monitor the refresh process in real time, immediately detecting anomalies such as signal interference or DRAM chip failures. It can intelligently restore data storage by resending the refresh signal or switching to backup memory, significantly enhancing the system's fault tolerance. Through real-time monitoring, parameter adjustment during the refresh process, and error detection and recovery, the server's data backup efficiency and data integrity in the face of abnormal power outages can be significantly improved, reducing data recovery time and improving the server's overall reliability.
[0105] In order to meet the system compatibility requirements, it can be expanded to other platforms. Figure 6 As shown in the figure, after a CPLD (Complex Programmable Logic Device) detects an abnormality, the CPLD controls a set of signal parameters of the self-refresh signal to communicate with the CPU (Central Processing Unit) through the SPI (Serial Peripheral Interface) bus. The CPLD controls the CPU to store the data to be backed up in the DIMM (Dual In-line Memory Module). After the CPU returns a completion signal to the CPLD, the CPLD communicates with the DIMM through the specified communication protocol, namely I3C (Improved Inter-IC Communication), to control the data to be backed up in the DIMM to be stored in the Flash memory, thereby completing the data backup.
[0106] It should be noted that this application does not rely on a specific model of DRAM chip, can be adapted to mainstream DRAM products, has wide applicability, and reduces the cost of system upgrades and modifications.
[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0108] The embodiment of the present application also provides a data backup device for a server, such as Figure 7As shown, the device includes:
[0109] a refresh module 702 configured to, in the event of an abnormal power outage on the server, refresh the server's backup data based on a set of signal parameters of a self-refresh signal, so as to store the backup data in the first memory, wherein the self-refresh signal is a signal sent to the first memory to trigger the first memory to perform a refresh operation, and the set of signal parameters includes a refresh time interval of the self-refresh signal and a refresh signal level of the self-refresh signal;
[0110] The adjustment module 704 is used to obtain the environment parameter information of the server during the data refresh process and adjust a set of signal parameters according to the environment parameter information;
[0111] The transfer module 706 is configured to transfer the data to be backed up from the first memory to the second memory when the data to be backed up has been stored in the first memory, wherein the second memory is a non-volatile memory.
[0112] In an exemplary embodiment, the environmental parameter information includes temperature information indicating the current temperature and voltage information indicating the current voltage. The adjustment module 704 is further configured to shorten the refresh interval of the self-refresh signal based on a preset temperature and the current temperature when the current temperature is greater than a temperature threshold; and to lower the refresh signal level of the self-refresh signal based on a preset voltage and the current voltage when the current voltage is less than a voltage threshold.
[0113] In an exemplary embodiment, a temperature preset table is provided in the server, and the temperature preset table is used to record a set of preset temperatures and temperature coefficients corresponding to the preset temperatures in the set of preset temperatures; the adjustment module 704 is also used to find the target temperature and the target temperature coefficient from a set of preset temperatures and a set of temperature coefficients corresponding to the preset temperatures according to the current temperature, wherein the target temperature is the preset temperature with the smallest difference from the current temperature in the set of preset temperatures, and the target temperature coefficient is the temperature coefficient corresponding to the target temperature; the product of the difference obtained by subtracting the corrected temperature difference value from 1 and the specified time interval is determined as the target time interval, and the refresh time interval is shortened to the target time interval, wherein the corrected temperature difference value is the product of the difference between the target temperature and the current temperature and the target temperature coefficient.
[0114] In an exemplary embodiment, a self-refresh signal is sent by a controller of a server to the first memory. The apparatus further includes a feedback module configured to, during a data refresh process, upon receipt of the self-refresh signal by the first memory, perform a refresh operation in accordance with the self-refresh signal and provide feedback to the controller of the server of a response signal corresponding to the self-refresh signal, wherein the response signal corresponding to the self-refresh signal indicates a result of the refresh operation performed by the first memory in response to the self-refresh signal.
[0115] In an exemplary embodiment, a backup memory corresponding to the first memory is provided in the server; the apparatus further includes:
[0116] an error determination module, configured to determine whether an error exists during the refresh operation according to a response signal corresponding to the self-refresh signal;
[0117] The sending module is used to resend the self-refresh signal to the first memory or to send the self-refresh signal to the backup memory according to the error type of the target error when a target error occurs during the refresh operation.
[0118] In an exemplary embodiment, the error determination module is further used to: determine that an error exists in the process of executing the refresh operation when the response signal corresponding to the self-refresh signal indicates a response timeout; or determine that an error exists in the process of executing the refresh operation when the check code carried in the self-refresh signal is inconsistent with the check code carried by the response signal corresponding to the self-refresh signal; or determine whether an error exists in the process of executing the refresh operation based on a signal sampling value obtained by sampling the self-refresh signal and a signal sampling value obtained by sampling the response signal corresponding to the self-refresh signal; or determine that an error exists in the process of executing the refresh operation when the status information in the response signal corresponding to the self-refresh signal indicates that the refresh operation has failed.
[0119] In an exemplary embodiment, the error type of the target error belongs to one of a first type of error caused by a memory abnormality and a second type of error caused by a non-memory abnormality, and the error degree of the first type of error is higher than the error degree of the second type of error; the sending module is also used to: when the error type of the target error belongs to the first type of error, regenerate the self-refresh signal and send the self-refresh signal to the backup memory; when the error type of the target error belongs to the second type of error, shorten the refresh time interval or reduce the refresh signal level, regenerate the self-refresh signal, and send the regenerated self-refresh signal to the first memory.
[0120] For the description of the features in the embodiment corresponding to the data backup device of the server, please refer to the relevant description of the embodiment corresponding to the data backup method of the server, which will not be repeated here.
[0121] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps of any of the above-mentioned server data backup method embodiments.
[0122] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above-mentioned server data backup method embodiments when running.
[0123] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.
[0124] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of any of the above-mentioned server data backup method embodiments are implemented.
[0125] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of any of the above-mentioned server data backup method embodiments.
[0126] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0127] The above is a detailed introduction to the data backup method, device, electronic device and storage medium of a server provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A data backup method for a server, characterized in that: include: In the event of an abnormal power outage on the server, refreshing the data to be backed up on the server according to a set of signal parameters of a self-refresh signal, so as to store the data to be backed up in a first memory, wherein the self-refresh signal is a signal sent to the first memory for triggering the first memory to perform a refresh operation, and the set of signal parameters includes a refresh time interval of the self-refresh signal and a refresh signal level of the self-refresh signal; During the data refresh process, obtaining environmental parameter information of the server, and adjusting the set of signal parameters according to the environmental parameter information; If the data to be backed up has been stored in the first memory, transferring the data to be backed up from the first memory to a second memory, wherein the second memory is a non-volatile memory, wherein the environmental parameter information includes temperature information for indicating a current temperature and voltage information for indicating a current voltage; the server is provided with a voltage preset table, wherein the voltage preset table can be used to record a set of preset voltages and voltage coefficients corresponding to the preset voltages in a set of preset temperatures; When the current temperature is greater than a temperature threshold, shortening a refresh time interval of the self-refresh signal according to a preset temperature and the current temperature; When the current voltage is less than the voltage threshold, the target voltage and the target voltage coefficient are found from the set of preset voltages and the voltage coefficients corresponding to the set of preset voltages according to the current voltage, wherein the target voltage is the preset voltage with the smallest difference from the current voltage in the set of preset voltages, and the target voltage coefficient is the voltage coefficient corresponding to the target voltage; the product of the difference obtained by subtracting the corrected voltage difference from 1 and the specified voltage is determined as the target refresh level, and the refresh signal level is shortened to the target refresh level, wherein the corrected voltage difference is the product of the difference between the target voltage and the current voltage and the target voltage coefficient.
2. The method according to claim 1, characterized in that The server is provided with a temperature preset table, wherein the temperature preset table is used to record a set of preset temperatures and temperature coefficients corresponding to the preset temperatures in the set of preset temperatures; The step of shortening the refresh time interval of the self-refresh signal according to the preset temperature and the current temperature includes: According to the current temperature, searching for a target temperature and a target temperature coefficient from the set of preset temperatures and the temperature coefficients corresponding to the set of preset temperatures, wherein the target temperature is the preset temperature in the set of preset temperatures having the smallest difference from the current temperature, and the target temperature coefficient is the temperature coefficient corresponding to the target temperature; The target time interval is determined as the product of the difference obtained by subtracting the corrected temperature difference value from 1 and the specified time interval, and the refresh time interval is shortened to the target time interval, wherein the corrected temperature difference value is the product of the difference between the target temperature and the current temperature and the target temperature coefficient.
3. The method according to claim 1, characterized in that The self-refresh signal is sent by the controller of the server to the first memory; the method further includes: During the data refresh processing, when the first memory receives the self-refresh signal, a refresh operation is performed according to the self-refresh signal, and a response signal corresponding to the self-refresh signal is fed back to the controller of the server, wherein the response signal corresponding to the self-refresh signal is used to indicate the execution result of the refresh operation performed by the first memory in response to the self-refresh signal.
4. The method according to claim 3, characterized in that The server is provided with a backup memory corresponding to the first memory; and the method further includes: determining, according to a response signal corresponding to the self-refresh signal, whether an error occurs during the execution of the refresh operation; When a target error occurs during the refresh operation, the self-refresh signal is resent to the first memory or to the backup memory according to the error type of the target error.
5. The method according to claim 4, characterized in that The determining, based on a response signal corresponding to the self-refresh signal, whether an error exists during the refresh operation comprises: If the response signal corresponding to the self-refresh signal indicates a response timeout, determining that an error occurs during the execution of the refresh operation; or If the check code carried in the self-refresh signal is inconsistent with the check code carried in the response signal corresponding to the self-refresh signal, it is determined that an error occurs during the execution of the refresh operation; or determining whether there is an error in the process of executing the refresh operation according to a signal sampling value obtained by sampling the self-refresh signal and a signal sampling value obtained by sampling a response signal corresponding to the self-refresh signal; or In a case where the status information in the response signal corresponding to the self-refresh signal indicates that the refresh operation fails to be executed, it is determined that an error occurs during the execution of the refresh operation.
6. The method according to claim 4, characterized in that The error type of the target error belongs to one of the first type of errors caused by memory abnormalities and the second type of errors caused by non-memory abnormalities, and the error degree of the first type of errors is higher than the error degree of the second type of errors; The re-sending the self-refresh signal to the first memory or the re-sending the self-refresh signal to the backup memory according to the error type of the target error includes: If the error type of the target error belongs to the first type of error, regenerate the self-refresh signal and send the self-refresh signal to the backup memory; When the error type of the target error belongs to the second type of error, the refresh time interval is shortened or the refresh signal level is lowered, the self-refresh signal is regenerated, and the regenerated self-refresh signal is sent to the first memory.
7. A data backup device for a server, characterized in that: include: a refresh module, configured to, when an abnormal power outage occurs on the server, refresh the data to be backed up on the server according to a set of signal parameters of a self-refresh signal, so as to store the data to be backed up in a first memory, wherein the self-refresh signal is a signal sent to the first memory for triggering the first memory to perform a refresh operation, and the set of signal parameters includes a refresh time interval of the self-refresh signal and a refresh signal level of the self-refresh signal; an adjustment module, configured to obtain environmental parameter information of the server during the data refresh process, and adjust the set of signal parameters according to the environmental parameter information; a transfer module, configured to transfer the data to be backed up from the first memory to a second memory when the data to be backed up has been stored in the first memory, wherein the second memory is a non-volatile memory, wherein the environmental parameter information includes temperature information indicating a current temperature and voltage information indicating a current voltage; the server is provided with a voltage preset table, wherein the voltage preset table can be used to record a set of preset voltages and voltage coefficients corresponding to the preset voltages in a set of preset temperatures; The adjustment module is also used to shorten the refresh time interval of the self-refresh signal according to the preset temperature and the current temperature when the current temperature is greater than the temperature threshold; when the current voltage is less than the voltage threshold, find out the target voltage and the target voltage coefficient from the set of preset voltages and the voltage coefficients corresponding to the set of preset voltages according to the current voltage, wherein the target voltage is the preset voltage with the smallest difference from the current voltage in the set of preset voltages, and the target voltage coefficient is the voltage coefficient corresponding to the target voltage; determine the target refresh level by multiplying the difference obtained by subtracting the corrected voltage difference from 1 by the specified voltage, and shorten the refresh signal level to the target refresh level, wherein the corrected voltage difference is the product of the difference between the target voltage and the current voltage and the target voltage coefficient.
8. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the server data backup method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the steps of the data backup method for the server according to any one of claims 1 to 6.
Citation Information
Patent Citations
Storage server system and backup method thereof, system and readable storage medium
CN109144778A
Method and device for repairing memory chip
CN114930457A