CN102467423A - Method for backing up memory data - Google Patents
Method for backing up memory data Download PDFInfo
- Publication number
- CN102467423A CN102467423A CN2010105643644A CN201010564364A CN102467423A CN 102467423 A CN102467423 A CN 102467423A CN 2010105643644 A CN2010105643644 A CN 2010105643644A CN 201010564364 A CN201010564364 A CN 201010564364A CN 102467423 A CN102467423 A CN 102467423A
- Authority
- CN
- China
- Prior art keywords
- memory
- memory block
- bios
- data
- write
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention provides a method for backing up memory data, comprising the steps of: firstly, initializing memory, then writing the initialized configuration information in a nonvolatile memory of a BIOS (Basic Input Output System), eliminating a memory block of the nonvolatile memory of the BIOS, checking the memory block and judging whether the memory block is in a writable state or not, finally writing an initial configuration data in the memory block. The method provided by the invention has the advantages that the shortcoming that initial information records of the memory cannot be saved in the prior art is solved and the initial configuration information can be saved in the nonvolatile memory of the BIOS so that users can conveniently view the information.
Description
Technical field
The present invention relates to a kind of method of application technology of storer, relate in particular to a kind of method of backup of memory data.
Background technology
In the special project performance history, the identifying code of internal memory initialization all is directly to offer the user by the Intel chipset, and the user need not do any action in initialized process, and control is given the RC program of Intel chipset fully.Certainly, after initialization was accomplished, the user can't preserve relevant memory configurations information.The user also can't know the wrong or relevant information record that storer occurs in initialization procedure.
How to realize the backup of memory identifying code, to make things convenient for customer analysis or to check, this is one has problem to be overcome.
Summary of the invention
In order to overcome above-mentioned defective, the present invention proposes a kind of method of backup of memory data, comprising: the initialization internal memory; Initializes configuration information is write the nonvolatile memory of a Basic Input or Output System (BIOS) (Basic Input Output System abbreviates BIOS as); Remove a memory block of the nonvolatile memory of said BIOS; Check said memory block and judge but whether said memory block is write state; And initial configuration data are write said memory block.
In one embodiment of this invention, the step of initialization internal memory also comprises the internal memory on the mainboard is repeated the action that resets for three times.
In one embodiment of this invention, the step that initializes configuration information is write the nonvolatile memory of BIOS also comprises: according to a look-up table, whether inspection is the nonvolatile memory of the BIOS that supports of system board; And if the discrimination result is yes, then the nonvolatile memory of said BIOS is got into the step of " but remove said memory block and judge whether said memory block is write state ", otherwise then finish back-up job.
In one embodiment of this invention, but check said memory block and judge that whether said memory block is that the step of write state also comprises: whether the data of checking said memory block are the 0XFF of 16 systems; And if the discrimination result is yes, then get into the step of " said initial configuration data are write said memory block ", otherwise then come back to the step of " the said memory block of removing the nonvolatile memory of said BIOS ".
In one embodiment of this invention; After the step of getting back to " the said memory block of removing the nonvolatile memory of said BIOS "; The step that gets into " whether the data of checking said memory block are the 0XFF of 16 systems " is once more exceeded with five times; If five times differentiation result still for not the time, then finishes back-up job.
In one embodiment of this invention, also comprise after said initial configuration data are write the step of said memory block: whether the data that write of checking said memory block are said initial configuration data; And if the discrimination result is yes, then accomplish back-up job, otherwise then come back to the step of " said initial configuration data are write said memory block ".
In one embodiment of this invention; After the step of getting back to " said initial configuration data are write said memory block "; The step that gets into " whether the data that write of checking said memory block are said initial configuration data " is once more exceeded with five times; If five times differentiation result still for not the time, then finishes back-up job.
In one embodiment of this invention, the nonvolatile memory of said BIOS is flash memory or ROM (read-only memory).
The method of backup of memory data of the present invention is because of adopting the technology that initializes configuration information is write the nonvolatile memory of BIOS; Therefore the environment such as self-detection, DOS or Windows of starting shooting at BIOS can be done analysis to the initialize memory configuration information, make things convenient for the user to check the relevant configuration information of storer.
For letting the above-mentioned feature and advantage of the present invention can be more obviously understandable, hereinafter is special lifts embodiment, and conjunction with figs., elaborates as follows.
Description of drawings
Fig. 1 is the process flow diagram according to the method for the backup of memory data of the embodiment of the invention.
Fig. 2 is the process flow diagram according to the method for the backup of memory data of another embodiment of the present invention.
Main description of reference numerals:
S10~S50, S210~S260: step.
Embodiment
Now please with reference to accompanying drawing, displaying wherein is only in order to explain the preferred embodiments of the present invention, but not limited to its category.
Fig. 1 is the process flow diagram according to the method for the backup of memory data of the embodiment of the invention.Please,, carry out the initialization internal memory at step S10 with reference to Fig. 1.In addition; Can repeat the action of three times reset (reset) to the internal memory on the mainboard; This step can produce an initializes configuration information; This initializes configuration information comprises memory reference code host data (memory reference code host data, MRC host data), and after reset flag is removed, carries out next step; Then, at step S20, initializes configuration information is write the nonvolatile memory of a Basic Input or Output System (BIOS) (Basic Input Output System abbreviates BIOS as).The nonvolatile memory of BIOS is meant after electric current is turned off, the computer memory that stored data can not disappear.The nonvolatile memory of BIOS can be flash memory (flash memory) or ROM (read-only memory) (read only memory), so the nonvolatile memory of the BIOS in the present embodiment can preserve initializes configuration information, like the MRC host data.Then, at step S30, remove a memory block of the nonvolatile memory of BIOS.Then, at step S40, but check memory block and judge whether memory block is write state.At last, if but write state gets into step S50, initial configuration data are write memory block.Present embodiment can reach the effect of backup of memory data; BIOS start oneself after helping detects, in the environment of DOS or Windows, can do analysis to the initialize memory configuration information, therefore makes things convenient for the user to check the relevant configuration information of storer.
Fig. 2 is the process flow diagram according to the method for the backup of memory data of another embodiment of the present invention.Please with reference to Fig. 2, present embodiment is similar to the process step of Fig. 1.The step 20 that initializes configuration information is write the nonvolatile memory of BIOS also comprises step S210.In step S210, can check whether be the nonvolatile memory of the BIOS that supports of mainboard.In the checking process of step S210, can also check that whether storage arrangement is the nonvolatile memory of the BIOS that supports of system board, and look-up table can write down the trade name and the model of the flash memory that mainboard supports according to a look-up table.If the check result of differentiating then gets into step S30 for being, begin to remove the memory block of the nonvolatile memory of BIOS, otherwise then because of the nonvolatile memory that does not have BIOS gets into step S260, the end back-up job.
At step S30, remove the memory block of the nonvolatile memory of BIOS.Then carry out step S40, but check memory block and judge whether memory block is write state.
The inspection memory block also judges that whether memory block is but that the step 40 of write state can also comprise step S240.In the checking process of step S240, can also check whether the data of memory block are the 0XFF of 16 systems.If the check result of differentiating then gets into step S50 for being, begin initial configuration data are write memory block, otherwise then come back to step S30.
What deserves to be mentioned is; After the step S30 that gets back to " memory block of removing the nonvolatile memory of BIOS ", get into the step S240 of " whether the data of inspection memory block are the 0XFF of 16 systems " once more, exceed to carry out five loops; If five times differentiation result is not still for the time; Then get into step S260, finish back-up job, on time or cause suspension (hang) phenomenon avoids waste.
At step S50, with an initial configuration writing data into memory block.Then, carry out step S250, whether the data that write of inspection memory block are the initial configuration data.
In the checking process of step S250, can also check the differentiation result.If the check result of differentiating is then accomplished back-up job, otherwise is then come back to step S50 for being.
Moreover; After the step S50 that gets back to " with an initial configuration writing data into memory block ", get into the step S250 of " whether the data that write of inspection memory block are the initial configuration data " once more, exceed to carry out five loops; If five times differentiation result is not still for the time; Then get into step S260, finish back-up job, on time or cause the suspension phenomenon avoids waste.
Even under the situation of power down, being stored in the data of the nonvolatile memory the inside of BIOS, can not lose by the nonvolatile memory of the BIOS of present embodiment; (Random Access Memory RAM) does not do under the situation of special protection after the startup selftest (Power On Self Test is called for short POST) of BIOS is accomplished, and the data of RAM the inside will be lost unlike RAS.
The embodiment of the invention is through the operation to the nonvolatile memory of BIOS, promptly through the relevant working storage of read-write chip group, the whole mapping of this structural information of MRC host data is kept at the fixed space of certain section reservation of the nonvolatile memory of BIOS.In addition, in the nonvolatile memory of removing and write BIOS, can do the trial of a loop five times, if surpass five times still operation failure will withdraw from, do not cause the suspension phenomenon so can not cause closed loop.Certainly the number of times of loop is as limit, and it is big more that loop operate successful probability more at most, still can waste the time of start like this.
In sum; The method of backup of memory data of the present invention is because of adopting the technology that initializes configuration information is write the nonvolatile memory of BIOS; Therefore the environment such as self-detection, DOS or Windows of starting shooting at BIOS can be done analysis to the initialize memory configuration information, and make things convenient for the user to check the relevant configuration information of storer.
Though the present invention discloses as above with embodiment; But it is not that any those skilled in the art are not breaking away from the spirit and scope of the present invention in order to qualification the present invention; Can change arbitrarily or be equal to replacement, so protection scope of the present invention should be as the criterion with the scope that the application's claim is defined.
Claims (8)
1. the method for backup of memory data comprises:
The initialization internal memory;
Initializes configuration information is write the nonvolatile memory of a Basic Input or Output System (BIOS) (BIOS);
Remove a memory block of the nonvolatile memory of said BIOS;
Check said memory block and judge but whether said memory block is write state; And
One initial configuration data are write said memory block.
2. the method for backup of memory data according to claim 1 is characterized in that, the step of initialization internal memory also comprises: the internal memory on the mainboard is repeated the action that resets for three times.
3. the method for backup of memory data according to claim 1 is characterized in that, the step that initializes configuration information is write the nonvolatile memory of said BIOS also comprises:
According to a look-up table, whether inspection is the nonvolatile memory of the BIOS that supports of system board; And
If the discrimination result is yes, then the nonvolatile memory of said BIOS is got into the step of " but remove said memory block and judge whether said memory block is write state ", otherwise then finish back-up job.
4. the method for backup of memory data according to claim 1 is characterized in that, but checks said memory block and judge that whether said memory block is that the step of write state also comprises:
Whether the data of checking said memory block are the 0XFF of 16 systems; And
If the discrimination result is yes, then get into the step of " said initial configuration data are write said memory block ", otherwise then come back to the step of " the said memory block of removing the nonvolatile memory of said BIOS ".
5. the method for backup of memory data according to claim 4; It is characterized in that; After the step of getting back to " the said memory block of removing the nonvolatile memory of said BIOS "; The step that gets into " whether the data of checking said memory block are the 0XFF of 16 systems " is once more exceeded with five times, if five times differentiation result still for not the time, then finishes back-up job.
6. the method for backup of memory data according to claim 1 is characterized in that, the step that said initial configuration data is write said memory block also comprises afterwards:
Whether the data that write of checking said memory block are said initial configuration data; And
If the discrimination result is yes, then accomplish back-up job, otherwise then come back to the step of " said initial configuration data are write said memory block ".
7. the method for backup of memory data according to claim 6; It is characterized in that; After the step of getting back to " said initial configuration data are write said memory block "; The step that gets into " whether the data that write of checking said memory block are said initial configuration data " is once more exceeded with five times, if five times differentiation result still for not the time, then finishes back-up job.
8. the method for backup of memory data according to claim 1 is characterized in that, the nonvolatile memory of said BIOS is flash memory or ROM (read-only memory).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105643644A CN102467423A (en) | 2010-11-18 | 2010-11-18 | Method for backing up memory data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105643644A CN102467423A (en) | 2010-11-18 | 2010-11-18 | Method for backing up memory data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102467423A true CN102467423A (en) | 2012-05-23 |
Family
ID=46071087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105643644A Pending CN102467423A (en) | 2010-11-18 | 2010-11-18 | Method for backing up memory data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102467423A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108231134A (en) * | 2018-02-08 | 2018-06-29 | 芯颖科技有限公司 | RAM yield remediation method and device |
CN113032043A (en) * | 2021-03-18 | 2021-06-25 | 山东英信计算机技术有限公司 | Method, system, device and storage medium for processing configuration value |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1071772A (en) * | 1991-10-11 | 1993-05-05 | 国际商业机器公司 | Set up the method and system of system configuration in the data handling system |
US20030009654A1 (en) * | 2001-06-29 | 2003-01-09 | Nalawadi Rajeev K. | Computer system having a single processor equipped to serve as multiple logical processors for pre-boot software to execute pre-boot tasks in parallel |
US20030233534A1 (en) * | 2002-06-12 | 2003-12-18 | Adrian Bernhard | Enhanced computer start-up methods |
CN101739272A (en) * | 2008-11-19 | 2010-06-16 | 华为技术有限公司 | Electronic device, and method and system for starting basic input-output system |
CN101847104A (en) * | 2010-05-19 | 2010-09-29 | 深圳市九洲电器有限公司 | Method, system and embedded device for configuring memory parameters |
-
2010
- 2010-11-18 CN CN2010105643644A patent/CN102467423A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1071772A (en) * | 1991-10-11 | 1993-05-05 | 国际商业机器公司 | Set up the method and system of system configuration in the data handling system |
US20030009654A1 (en) * | 2001-06-29 | 2003-01-09 | Nalawadi Rajeev K. | Computer system having a single processor equipped to serve as multiple logical processors for pre-boot software to execute pre-boot tasks in parallel |
US20030233534A1 (en) * | 2002-06-12 | 2003-12-18 | Adrian Bernhard | Enhanced computer start-up methods |
CN101739272A (en) * | 2008-11-19 | 2010-06-16 | 华为技术有限公司 | Electronic device, and method and system for starting basic input-output system |
CN101847104A (en) * | 2010-05-19 | 2010-09-29 | 深圳市九洲电器有限公司 | Method, system and embedded device for configuring memory parameters |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108231134A (en) * | 2018-02-08 | 2018-06-29 | 芯颖科技有限公司 | RAM yield remediation method and device |
CN108231134B (en) * | 2018-02-08 | 2021-06-25 | 芯颖科技有限公司 | RAM yield remediation method and device |
CN113032043A (en) * | 2021-03-18 | 2021-06-25 | 山东英信计算机技术有限公司 | Method, system, device and storage medium for processing configuration value |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9239725B2 (en) | System and method for installing an OS via a network card supporting PXE | |
US20120110378A1 (en) | Firmware recovery system and method of baseboard management controller of computing device | |
CN111105840B (en) | Method, device and system for testing abnormal power failure of solid state disk | |
CN108089971B (en) | Log service method and system based on embedded real-time system | |
US8180930B2 (en) | Information processing device, and device initialization method in the information processing device | |
US20170019556A1 (en) | Information processing apparatus, method of initializing a non-volatile storage device, and storage medium | |
CN105786544A (en) | Method for booting computer system rapidly and booting system of computer | |
CN112506745B (en) | Memory temperature reading method and device and computer readable storage medium | |
US20100049961A1 (en) | Update method for basic input/output system and update system thereof | |
CN103853566A (en) | Basic input output system (BIOS) updating system and method | |
CN104424047A (en) | NVRAM data recovery method and NVRAM data recovery device | |
TWI534707B (en) | Computer system, shutdown and boot method thereof | |
CN113157347A (en) | Automatic probe deployment method, electronic device and storage medium | |
CN101794232A (en) | Method for quickly starting system | |
CN104021058A (en) | Method for quickly starting test board card | |
CN101299189A (en) | DOS method of one of self-startup and multiple operating systems | |
CN113190241B (en) | Method and device for expanding capacity of data partition, electronic equipment and storage medium | |
CN102467423A (en) | Method for backing up memory data | |
US20100153633A1 (en) | PC architecture using fast NV RAM in main memory | |
CN113194161B (en) | Method and device for setting MMIO base address of server system | |
CN107577501B (en) | Starting method and system | |
CN101425028B (en) | Computer system and method for repairing firmware of the computer system | |
US20070016761A1 (en) | Method, apparatus, and computer program product for implementing enhanced system behavior control | |
CN108038035A (en) | A kind of detection method and relevant apparatus of flash reading and writing state | |
CN103677875A (en) | Method for starting electronic equipment, method for controlling permission and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120523 |