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

CN104424047AInactive Publication Date: 2015-03-18EVOC INTELLIGENT TECH +1
4 Cites 11 Cited by

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 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an NVRAM (Non-Volatile Random Access Memory) data recovery method and an NVRAM data recovery device. The device comprises a data obtaining unit, an unlocking unit, an erasing unit, a write-in unit and a locking unit. The method comprises the following steps that: 1, when a recovery instruction is received, an NVRAM factory default of a terminal is read; 2, the read-write property of the NVRAM is set to be readable and writable; 3, current BIOS (Basic Input / Output System) configuration parameters stored in the NVRAM are erased; 4, if the erasing is successful, the read NVRAM default is written into a region, for storing the current BIOS configuration parameters, in the NVRAM; and 5, the read-write property of the NVRAM is set to be read-only. A terminal user is allowed to determine whether to clear the current BIOS configuration parameters stored in the NVRAM or not according to the actual demands; the NVRAM factory default of the terminal is loaded; the operation is simple; the efficiency is high; and the cost expenditure and the labor cost are reduced for both the terminal user and a manufacturer.
Need to check novelty before this filing date? Find Prior Art

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...