WO2020010864A1 - 异常关机时的数据存储方法、系统、装置及可读存储介质 - Google Patents
异常关机时的数据存储方法、系统、装置及可读存储介质 Download PDFInfo
- Publication number
- WO2020010864A1 WO2020010864A1 PCT/CN2019/077406 CN2019077406W WO2020010864A1 WO 2020010864 A1 WO2020010864 A1 WO 2020010864A1 CN 2019077406 W CN2019077406 W CN 2019077406W WO 2020010864 A1 WO2020010864 A1 WO 2020010864A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data storage
- signal
- adr
- shutdown
- function
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0796—Safety measures, i.e. ensuring safe condition in the event of error, e.g. for controlling element
Definitions
- the invention relates to the field of CPLD logic design, in particular to a data storage method, system, device and readable storage medium during abnormal shutdown.
- the server motherboard will trigger the ADR (Asynchronous DRAM Refresh) function to store the important operating information inside the CPU in Dual-Inline-Memory-Modules (DIMM) Memory module) to avoid data loss.
- ADR Asynchronous DRAM Refresh
- the monitoring AC or power or global reset signal proposed by Intel is usually used to trigger the ADR function to save important data inside the CPU when abnormal conditions occur.
- this solution does not take into account all possible situations. In some cases of abnormal shutdown that cannot be detected with AC power or global reset, the data inside the CPU still cannot be saved.
- the object of the present invention is to provide a data storage method, system, device and readable storage medium during abnormal shutdown so as to store important data during abnormal shutdown to ensure that data is not lost.
- the specific scheme is as follows:
- a data storage method during abnormal shutdown includes:
- the status signals include plate temperature signals and / or voltage signals and / or power signals;
- thermotrip # function is performed for a shutdown operation.
- the plate temperature signal is specifically a temperature signal of a CPU and / or a DIMM.
- the voltage signal is a Power Good signal.
- the power signal is a power button signal.
- the process of performing the ADR function for data storage specifically includes:
- the method further includes:
- An ADR completion signal is returned through the PCH.
- thermotrip # function when the data storage is completed, a process of performing a thermotrip # function to perform a shutdown operation specifically includes:
- thermotrip # trigger signal Sending a thermotrip # trigger signal to the PCH, and performing a shutdown operation through the PCH.
- the present invention also discloses a data storage system during abnormal shutdown, including:
- a monitoring module for monitoring a status signal wherein the status signal includes a plate temperature signal and / or a voltage signal and / or a power signal;
- a storage module configured to execute an ADR function for data storage when the status signal is abnormal
- the shutdown module is configured to perform a thermotrip # function to perform a shutdown operation when the data storage is completed.
- the present invention also discloses a data storage device during abnormal shutdown, including:
- a processor configured to implement the steps of the data storage method during abnormal shutdown as described above when the computer program is executed.
- the present invention also discloses a readable storage medium having a computer program stored thereon.
- the computer program is executed by a processor, the steps of the data storage method during abnormal shutdown as described above are implemented. .
- the invention discloses a data storage method during abnormal shutdown, including: monitoring a status signal; wherein the status signal includes a plate temperature signal and / or a voltage signal and / or a power signal; when the status signal is abnormal, the execution is performed
- the ADR function performs data storage; when the data storage is completed, the thermotrip # function is performed for shutdown operation.
- the present invention monitors a variety of status signals such as plate temperature signals, voltage signals, and power signals. When these status signals are abnormal, the ADR function is first triggered to store data before shutting down.
- FIG. 1 is a flowchart of steps in a data storage method during abnormal shutdown according to an embodiment of the present invention
- FIG. 2 is a signal transmission diagram during abnormal shutdown in the prior art
- FIG. 3 is a signal transmission diagram during abnormal shutdown according to an embodiment of the present invention.
- FIG. 4 is a structural distribution diagram of a data storage system during an abnormal shutdown according to an embodiment of the present invention.
- FIG. 5 is a structural distribution diagram of a data storage device during an abnormal shutdown according to an embodiment of the present invention.
- the server During the operation of the server, there will be a large amount of important data for calculation.
- the server When the server is normally shut down, the server will actively save relevant information.
- the server motherboard In the case of abnormal AC power failure, the server motherboard will trigger the ADR function to store important calculation information inside the CPU in NVDIMM, thereby avoiding data loss.
- the monitoring AC or power or global reset signal proposed by Intel is usually used to trigger the ADR function to save important data inside the CPU when abnormal conditions occur.
- this solution does not take into account all possible situations. In some cases of abnormal shutdown that cannot be detected with AC power or global reset, the data inside the CPU still cannot be saved.
- the present invention monitors a variety of status signals such as plate temperature signals, voltage signals, and power signals. When these status signals are abnormal, the ADR function is first triggered to store data before shutting down. Some abnormal shutdown situations in the prior art cannot guarantee data security, and the present invention can ensure that multiple abnormal shutdown situations store data in time, and system data is more secure and stable.
- An embodiment of the present invention discloses a data storage method during abnormal shutdown, as shown in FIG. 1, including:
- S1 monitoring status signal; wherein the status signal includes a plate temperature signal and / or a voltage signal and / or a power signal;
- the plate temperature signal, voltage signal, and power signal cannot trigger the ADR function to save data.
- only AC power and global reset can trigger the ADR function.
- thermotrip # function is executed to perform a shutdown operation.
- the existing logic design when the above-mentioned status signal is detected, the existing logic design will directly trigger the shutdown action, and the internal data during the CPU operation will not be saved, leading to the loss of important data.
- the abnormal temperature signal of the plate as an example, as shown in Figure 2, when the CPLD detects that the CPU or DIMM has overheated, it will directly trigger the PCH's thermotrip #, which will cause the motherboard to shut down directly.
- the logic related to abnormal shutdown is modified, so that when the system detects that the status signal is abnormal, the data is stored and then shut down to ensure the security of the data when the CPU is running.
- the data storage method in this embodiment is generally implemented by a combination of CPLD, PCH, and CPU.
- the main monitoring status signals and logic design are performed by CPLD, and the data storage and shutdown operations are performed by PCH and CPU.
- An embodiment of the present invention discloses a data storage method during abnormal shutdown, including: monitoring a status signal; wherein the status signal includes a plate temperature signal and / or a voltage signal and / or a power signal; when the status signal is abnormal , Execute the ADR function for data storage; when the data storage is completed, execute the thermotrip # function for shutdown operation.
- the present invention monitors a variety of status signals such as plate temperature signals, voltage signals, and power signals. When these status signals are abnormal, the ADR function is first triggered to store data before shutting down.
- the embodiment of the present invention discloses a specific data storage method during abnormal shutdown. Compared with the previous embodiment, this embodiment further describes and optimizes the technical solution. See Figure 3:
- the process of performing the ADR function for data storage described in step S2 specifically includes:
- the ADR trigger signal also called the ADR_trigger signal
- the PCH will perform the ADR function to store the data running in the CPU.
- This signal sending step can be regarded as being completed by the logic function module ADR in the CPLD.
- the method further includes:
- An ADR completion signal is returned through the PCH.
- ADR completion signal is also called the ADR_complete signal.
- thermotrip # function when the data storage is completed and the thermotrip # function is performed to perform the shutdown operation as described in step S3, the process specifically includes:
- thermotrip # trigger signal Sending a thermotrip # trigger signal to the PCH, and performing a shutdown operation through the PCH.
- thermotrip # function in the CPLD.
- FIG. 3 is a signal transmission diagram using plate temperature signals as an example.
- the plate temperature signal is specifically a temperature signal of a CPU and / or a DIMM.
- the voltage signal is specifically a Power Good signal, and an abnormality of the signal indicates an abnormal voltage;
- the power signal is specifically a power button signal, and the abnormality of the signal indicates a forced shutdown of the system.
- the specific signal transmission process is similar to the plate temperature signal, please refer to FIG. 3.
- an embodiment of the present invention also discloses a data storage system during abnormal shutdown, as shown in FIG. 4, including:
- the monitoring module 01 is configured to monitor a status signal, wherein the status signal includes a plate temperature signal and / or a voltage signal and / or a power signal;
- a storage module 02 configured to execute an ADR function for data storage when the status signal is abnormal
- the shutdown module 03 is configured to perform a thermotrip # function to perform a shutdown operation when the data storage is completed.
- the embodiment of the present invention monitors a variety of status signals such as a plate temperature signal, a voltage signal, and a power supply signal.
- status signals such as a plate temperature signal, a voltage signal, and a power supply signal.
- the ADR function is first triggered to store data and then perform a shutdown operation.
- Some abnormal shutdown situations in the prior art cannot guarantee data security, but the present invention can ensure multiple abnormal shutdown situations to store data in a timely manner, further improve the scope of ADR function definition, expand the application scenarios of ADR protection data, and make system data more secure and stable.
- the plate temperature signal is specifically a temperature signal of a CPU and / or a DIMM.
- the voltage signal is specifically a Power Good signal.
- the power signal is a power button signal.
- the storage module 02 is specifically configured to send an ADR trigger signal to a PCH, and perform the ADR function through the PCH for data storage.
- the storage module 02 is further configured to return an ADR completion signal through the PCH.
- the shutdown module 03 is specifically configured to determine that the data storage is completed when the ADR completion signal is received; send a thermotrip # trigger signal to the PCH to perform a shutdown operation through the PCH.
- An embodiment of the present application also discloses a data storage device during abnormal shutdown.
- the data storage device includes a processor 11 and a memory 12.
- the process 11 executes a computer program stored in the memory 12, the following is implemented: step:
- the status signals include plate temperature signals and / or voltage signals and / or power signals;
- thermotrip # function is performed for a shutdown operation.
- the embodiment of the present invention monitors a variety of status signals such as a plate temperature signal, a voltage signal, and a power supply signal.
- status signals such as a plate temperature signal, a voltage signal, and a power supply signal.
- the ADR function is first triggered to store data and then perform a shutdown operation.
- Some abnormal shutdown situations in the prior art cannot guarantee data security, but the present invention can ensure multiple abnormal shutdown situations to store data in a timely manner, further improve the scope of ADR function definition, expand the application scenarios of ADR protection data, and make system data more secure and stable.
- the plate temperature signal is specifically a temperature signal of a CPU and / or a DIMM.
- the voltage signal is specifically a Power Good signal.
- the power signal is a power button signal.
- the processor 11 executes a computer subroutine stored in the memory 12, the following steps may be specifically implemented: sending an ADR trigger signal to a PCH, and performing the ADR function to perform data through the PCH storage.
- an ADR completion signal is returned through the PCH.
- the processor 11 executes a computer subprogram stored in the memory 12, the following steps may be specifically implemented: when the ADR completion signal is received, it is determined to complete the data storage; The PCH sends a thermotrip # trigger signal to perform a shutdown operation through the PCH.
- the data storage device during abnormal shutdown in this embodiment may further include:
- the input interface 13 is used to obtain a computer program imported from the outside, and the obtained computer program is stored in the memory 12, and can also be used to obtain various instructions and parameters transmitted by an external terminal device, and transmit the instructions to the processor 11. So that the processor 11 uses the above-mentioned various instructions and parameters to perform corresponding processing.
- the input interface 13 may specifically include, but is not limited to, a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk read interface, and the like.
- the output interface 14 is configured to output various data generated by the processor 11 to a terminal device connected thereto, so that other terminal devices connected to the output interface 14 can obtain various data generated by the processor 11.
- the output interface 14 may specifically include, but is not limited to, a USB interface, a serial interface, and the like.
- the communication unit 15 is configured to establish a remote communication connection between the data storage device and an external server, so that the data storage device can mount the image file to the external server.
- the communication unit 15 may specifically include, but is not limited to, a remote communication unit based on a wireless communication technology or a wired communication technology.
- an embodiment of the present application further discloses a computer-readable storage medium.
- the computer-readable storage medium referred to herein includes a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, and an electrically accessible storage medium. Erase a programmable ROM, register, hard disk, removable hard disk, CD-ROM, or any other form of storage medium known in the art.
- a computer program is stored in a computer-readable storage medium, and when the computer program is executed by a processor, the following steps are implemented:
- the status signals include plate temperature signals and / or voltage signals and / or power signals;
- thermotrip # function is performed for a shutdown operation.
- the present invention monitors a variety of status signals such as plate temperature signals, voltage signals, and power signals. When these status signals are abnormal, the ADR function is first triggered to store data before shutting down. Some abnormal shutdown situations in the prior art cannot guarantee data security, but the present invention can ensure multiple abnormal shutdown situations to store data in a timely manner, further improve the scope of ADR function definition, expand the application scenarios of ADR protection data, and make system data more secure and stable.
- the plate temperature signal is specifically a temperature signal of a CPU and / or a DIMM.
- the voltage signal is specifically a Power Good signal.
- the power signal is a power button signal.
- a computer subprogram stored in the computer-readable storage medium when executed by a processor, the following steps may be specifically implemented: sending an ADR trigger signal to a PCH, and performing the ADR function through the PCH data storage.
- an ADR completion signal is returned through the PCH.
- a computer subprogram stored in the computer-readable storage medium when executed by a processor, the following steps may be specifically implemented: when the ADR completion signal is received, it is determined to complete the data storage; The PCH sends a thermotrip # trigger signal to perform a shutdown operation through the PCH.
- the storage unit described in all the embodiments of the present invention includes: a read-only memory, a random access memory, a magnetic disk, or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Retry When Errors Occur (AREA)
Abstract
Description
Claims (10)
- 一种异常关机时的数据存储方法,其特征在于,包括:监测状态信号;其中,所述状态信号包括板块温度信号和/或电压信号和/或电源信号;当所述状态信号发生异常,执行ADR功能进行数据存储;当完成所述数据存储,执行thermtrip#功能进行关机操作。
- 根据权利要求1所述数据存储方法,其特征在于,所述板块温度信号具体为CPU和/或DIMM的温度信号。
- 根据权利要求2所述数据存储方法,其特征在于,所述电压信号具体为Power Good信号。
- 根据权利要求3所述数据存储方法,其特征在于,所述电源信号具体为power button信号。
- 根据权利要求1至4任一项所述数据存储方法,其特征在于,所述执行ADR功能进行数据存储的过程,具体包括:向PCH发送ADR触发信号,通过所述PCH执行所述ADR功能进行数据存储。
- 根据权利要求5所述数据存储方法,其特征在于,所述执行ADR功能进行数据存储之后,还包括:通过所述PCH返回ADR完成信号。
- 根据权利要求6所述数据存储方法,其特征在于,所述当完成所述数据存储,执行thermtrip#功能进行关机操作的过程,具体包括:当收到所述ADR完成信号,判定完成所述数据存储;向所述PCH发送thermtrip#触发信号,通过所述PCH进行关机操作。
- 一种异常关机时的数据存储系统,其特征在于,包括:监测模块,用于监测状态信号;其中,所述状态信号包括板块温度信号和/或电压信号和/或电源信号;存储模块,用于当所述状态信号发生异常,执行ADR功能进行数据存储;关机模块,用于当完成所述数据存储,执行thermtrip#功能进行关机操 作。
- 一种异常关机时的数据存储装置,其特征在于,包括:存储器,用于存储计算机程序;处理器,用于执行所述计算机程序时实现如权利要求1至7任一项所述异常关机时的数据存储方法的步骤。
- 一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述异常关机时的数据存储方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810751755.3 | 2018-07-10 | ||
CN201810751755.3A CN108932174A (zh) | 2018-07-10 | 2018-07-10 | 异常关机时的数据存储方法、系统、装置及可读存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020010864A1 true WO2020010864A1 (zh) | 2020-01-16 |
Family
ID=64446904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/077406 WO2020010864A1 (zh) | 2018-07-10 | 2019-03-08 | 异常关机时的数据存储方法、系统、装置及可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108932174A (zh) |
WO (1) | WO2020010864A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108932174A (zh) * | 2018-07-10 | 2018-12-04 | 浪潮电子信息产业股份有限公司 | 异常关机时的数据存储方法、系统、装置及可读存储介质 |
CN110018929B (zh) * | 2019-04-11 | 2020-11-10 | 苏州浪潮智能科技有限公司 | 一种数据备份方法、装置、设备及存储介质 |
CN110457147A (zh) * | 2019-08-19 | 2019-11-15 | 山东超越数控电子股份有限公司 | 一种系统过热保护机制的实现方法及系统 |
CN112667588B (zh) * | 2019-10-16 | 2022-12-02 | 青岛海信移动通信技术股份有限公司 | 一种智能终端设备及其进行文件系统数据写入的方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7251772B2 (en) * | 2002-12-12 | 2007-07-31 | Infineon Technologies, Ag | Circuit arrangement having a number of integrated circuit components on a carrier substrate and method for testing a circuit arrangement of this type |
CN103544080A (zh) * | 2013-08-27 | 2014-01-29 | 华为技术有限公司 | 一种数据保护方法、装置及系统 |
CN107591171A (zh) * | 2016-07-08 | 2018-01-16 | 美超微电脑股份有限公司 | 具有非易失性双列直插存储器模块的异步dram刷新的正常关机 |
CN107807863A (zh) * | 2017-10-26 | 2018-03-16 | 郑州云海信息技术有限公司 | 一种在AC掉电后保护CPU Cache数据的方法及系统 |
CN108932174A (zh) * | 2018-07-10 | 2018-12-04 | 浪潮电子信息产业股份有限公司 | 异常关机时的数据存储方法、系统、装置及可读存储介质 |
-
2018
- 2018-07-10 CN CN201810751755.3A patent/CN108932174A/zh active Pending
-
2019
- 2019-03-08 WO PCT/CN2019/077406 patent/WO2020010864A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7251772B2 (en) * | 2002-12-12 | 2007-07-31 | Infineon Technologies, Ag | Circuit arrangement having a number of integrated circuit components on a carrier substrate and method for testing a circuit arrangement of this type |
CN103544080A (zh) * | 2013-08-27 | 2014-01-29 | 华为技术有限公司 | 一种数据保护方法、装置及系统 |
CN107591171A (zh) * | 2016-07-08 | 2018-01-16 | 美超微电脑股份有限公司 | 具有非易失性双列直插存储器模块的异步dram刷新的正常关机 |
CN107807863A (zh) * | 2017-10-26 | 2018-03-16 | 郑州云海信息技术有限公司 | 一种在AC掉电后保护CPU Cache数据的方法及系统 |
CN108932174A (zh) * | 2018-07-10 | 2018-12-04 | 浪潮电子信息产业股份有限公司 | 异常关机时的数据存储方法、系统、装置及可读存储介质 |
Non-Patent Citations (1)
Title |
---|
JOFFL6, CPU THERMAL CONTROL OVERTEMP_THERMAL TRIP CIRCUIT -C18, 25 May 2011 (2011-05-25), pages 1 - 5, Retrieved from the Internet <URL:https://wenku.baidu.com/view/d3b2251c650e52ea551898f0.html> * |
Also Published As
Publication number | Publication date |
---|---|
CN108932174A (zh) | 2018-12-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020010864A1 (zh) | 异常关机时的数据存储方法、系统、装置及可读存储介质 | |
CN101989242B (zh) | 一种提高soc系统安全的总线监视器及其实现方法 | |
US10042583B2 (en) | Device management method, device, and device management controller | |
US9389942B2 (en) | Determine when an error log was created | |
CN102546224A (zh) | 服务器的远程管理系统及方法 | |
US11662803B2 (en) | Control method, apparatus, and electronic device | |
CN105739668A (zh) | 一种笔记本电脑的电源管理方法及电源管理系统 | |
CN114327803A (zh) | 区块链访问机器学习模型的方法、装置、设备和介质 | |
US20240264914A1 (en) | Method and device for recovering self-test exception of server component, system and medium | |
US20240303382A1 (en) | Method, apparatus and system for monitoring i2c, and storage medium | |
US9734013B2 (en) | System and method for providing operating system independent error control in a computing device | |
US10983825B2 (en) | Processing for multiple containers are deployed on the physical machine | |
CN111913669B (zh) | Ssd掉电速度提高方法、装置、计算机设备及存储介质 | |
WO2023024863A1 (zh) | 系统芯片和电子设备 | |
CN116339479A (zh) | 服务器电源的控制方法及装置、存储介质及电子装置 | |
TWI518680B (zh) | 維護電腦系統之檔案系統的方法 | |
CN114189429B (zh) | 一种服务器集群故障的监测系统、方法、装置及介质 | |
CN117033084B (zh) | 虚拟机备份方法、装置、电子设备及存储介质 | |
CN105988542A (zh) | 计算机棒扩充系统以及其电量管理方法 | |
WO2024260013A1 (zh) | 内存故障处理方法、装置、计算机设备和存储介质 | |
CN113900855B (zh) | 一种交换机异常状态的主动热启动方法、系统及装置 | |
CN107179911A (zh) | 一种重启管理引擎的方法和设备 | |
CN112328423A (zh) | 一种搜索服务漏洞的处理方法、装置和存储介质 | |
CN114625702A (zh) | 数据的存储方法、装置、系统及电子设备 | |
WO2018233118A1 (zh) | 一种通信控制方法及电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19833094 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19833094 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.07.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19833094 Country of ref document: EP Kind code of ref document: A1 |