NVRAM data recovery method and NVRAM data recovery device
A technology of a data recovery device and a recovery method, which is applied in the computer field, can solve problems such as time-consuming, waste of manpower and material resources, and low efficiency, and achieve the effects of saving expenses and labor costs, improving efficiency, and shortening the time to solve problems
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2015-03-18
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the computer field, and more specifically, relates to a method and device for recovering NVRAM data. Background technique
[0002] After the computer is turned on, in the POST (Power On Self-Test, power-on self-test) stage, the user can enter the human-computer interaction interface by pressing a specific hotkey (such as F2)——BIOS (Basic Input&Output System, basic input and output system) configuration menu. In the BIOS configuration menu, the user can modify the hardware parameters of the current computer according to actual needs (such as memory frequency, processor frequency multiplier, processor core number, main display device type, boot device sequence, etc.), and then press a specific hotkey ( For example, F10) to save the changes and exit the BIOS configuration menu. After the system restarts, the newly set hardware parameters will be enabled.
[0003] The traditional BIOS stores the parameters modified by th...
Examples
Embodiment Construction
[0055] The present invention will be further explained below in conjunction with the accompanying drawings and embodiments.
[0056] figure 1 It is the flowchart of the first embodiment of the NVRAM data recovery method of the present invention, as figure 1 Shown, in the present embodiment, method of the present invention comprises the following steps:
[0057] S1. If a recovery command is received, read the default value of NVRAM when the terminal leaves the factory;
[0058] S2, setting the read-write attribute of the NVRAM as readable and writable;
[0059] S3, erasing the current BIOS configuration parameters stored in the NVRAM;
[0060] S4, if the erasing is successful, the NVRAM default value read is written into the NVRAM to store the current BIOS configuration parameter area;
[0061] S5. Set the read-write attribute of the NVRAM as read-only.
[0062] NVRAM has a storage space of a certain size (commonly 64KB). Some areas in the storage space are used to store c...