CN101414276A - Method and apparatus for reducing data - Google Patents

Method and apparatus for reducing data Download PDF

Info

Publication number
CN101414276A
CN101414276A CNA2007101816055A CN200710181605A CN101414276A CN 101414276 A CN101414276 A CN 101414276A CN A2007101816055 A CNA2007101816055 A CN A2007101816055A CN 200710181605 A CN200710181605 A CN 200710181605A CN 101414276 A CN101414276 A CN 101414276A
Authority
CN
China
Prior art keywords
bios
setting value
basic input
output system
described basic
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.)
Granted
Application number
CNA2007101816055A
Other languages
Chinese (zh)
Other versions
CN101414276B (en
Inventor
叶俊男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asustek Computer Inc
Original Assignee
Asustek Computer Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Asustek Computer Inc filed Critical Asustek Computer Inc
Priority to CN2007101816055A priority Critical patent/CN101414276B/en
Publication of CN101414276A publication Critical patent/CN101414276A/en
Application granted granted Critical
Publication of CN101414276B publication Critical patent/CN101414276B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a data recovery method and a device thereof. The method comprises the following steps: writing a set value which is stored in a scratch pad area in a basic input-output system and taking the set value as a latest set value when the set value of the basic input-output system is determined, and backuping the set value to a storage area (such as a non-volatile memory); and then writing an original set value which is stored in the storage area in the basic input-output system when the set value of the basic input-output system is modified and the state of the basic input-output system needs to be recovered to the state before modification. Therefore, when the set value of the basic input-output system is greatly modified, the former stored set value can be rapidly recovered, thus the data recovery is considerably convenient.

Description

Reduction of data method and device
Technical field
The present invention is relevant for a kind of reduction of data method, and particularly relevant for a kind of reduction of data method and device that reduces the last setting value of Basic Input or Output System (BIOS).
Background technology
In the epoch of science and technology prosperity now, PC becomes instrument indispensable in the daily life gradually.Generally speaking, the user just adjusts the correlation parameter of peripheral hardware device in order to promote the task performance of computer system according to the demand on using.After computer system is opened, and before entering operating system, the user can enter Basic Input or Output System (BIOS) (BasicInput Output System by defined hot key (hot key), hereinafter to be referred as BIOS) menu (setup menu) is set, to adjust the correlation parameter of peripheral hardware device, the just setting value of BIOS.And the setting value of BIOS comprises the correlation parameter (for example operating voltage of central processing unit and frequency of operation) of hardware units such as motherboard and adapter.The user sees through and adjusts every setting value, makes the running of computer system be reached optimum condition.
In menu was set, the user can also select to load best (optimal) preset value and failure safe (failsafe) preset value, to adjust according to these preset values except adjusting voluntarily the setting value.Yet, after the user changes setting value significantly, in being set, menu only can load best preset value and failure safe preset value, and make the adjustment elasticity of BIOS setting value be restricted.
Because the setting option of BIOS is very many,, when wanting to revert to the setting of a preceding BIOS, need spend a lot of time to reset when the user goes back on one's word after change BIOS sets.And the option of change the more, and it is more of a specified duration then once to set the time that is spent before the recovery, and more difficult.So, just cause many player's level users' inconvenience.
Summary of the invention
The invention provides a kind of reduction of data method, after the change of BIOS setting value is determined, can reduce last setting value of being stored easily.
The invention provides a kind of reduction of data device of Basic Input or Output System (BIOS), the user is provided a kind of reduction mechanism, make the user when adjusting the setting value of Basic Input or Output System (BIOS), can load last setting value at any time.
The present invention proposes a kind of reduction of data method, is applicable to Basic Input or Output System (BIOS).In the method, when the setting value of BIOS was modified, then that BIOS is original setting value was stored to storage area, and the setting value of change is stored in the working area.When the change of BIOS is determined, then will be stored in a storage area that arrives of the setting value backup of changing in the working area, also setting value can be write in the BIOS simultaneously, and become up-to-date setting value.After the change of BIOS is determined, when changing preceding state, then will be stored in setting value original in the storage area and write back the working area and will recover BIOS.
In one of the present invention embodiment, after the above-mentioned change as BIOS is determined, comprise that also judging whether to recover BIOS is the preceding state of change.In the time will recovering BIOS, then search the original setting value of BIOS from storage area for the state before changing.Then, write back the working area, to cover the setting value after changing with being stored in setting value original in the storage area.Afterwards, also comprise setting value original in the working area is write in the BIOS.
In one embodiment of this invention, reduction of data method also comprises setting value original among the BIOS is stored to storage area.Whether the setting value of judging BIOS is modified.When the setting value of BIOS was modified, then the setting value with change was stored in the working area.Then, whether the change of judging BIOS is determined.When the change of BIOS is determined, then will be stored in the setting value of changing in the working area and write in the BIOS, and become up-to-date setting value.
The present invention proposes a kind of reduction of data device of Basic Input or Output System (BIOS), comprises extraction module, recovery module, writing module and judge module.Extraction module is in order to extracting the original setting value of BIOS, being stored to storage area, and the setting value of change is stored in the working area.Recovery module is in order to write back the working area with setting value original in the storage area, to cover the setting value after changing.Writing module writes in the BIOS in order to the setting value that will be stored in the working area.Judge module when changing preceding state, then drives recovery module when recovering BIOS in order to judge whether that will recover BIOS is the preceding state of change, changes preceding state to recover BIOS.
In one embodiment of this invention, above-mentioned judge module judges that recovering BIOS is that then recovery module is searched the original setting value of BIOS from storage area, and original setting value is write back the working area when changing preceding state, to cover the setting value after changing.
In one embodiment of this invention, above-mentioned judge module comprises also whether the setting value of judging BIOS is modified, and when the setting value of BIOS was modified, then extraction module was stored to the setting value of change in the working area.In addition, judge module comprises also whether the change of judging BIOS is determined, and when the change of BIOS is determined, then writing module will be stored in the setting value of changing in the working area and write in the BIOS, and become up-to-date setting value.
The present invention is to be stored in the working area because of the setting value of BIOS change, and original setting value then is stored in the storage area.Therefore, in the time will recovering the state of BIOS before, then will in storage area, search original setting value and write in the BIOS and get final product for change.Thus, by after the change significantly, just can reduce the setting value of last storage apace in the setting value of BIOS, quite convenient.
For above-mentioned feature and advantage of the present invention can be become apparent, preferred embodiment cited below particularly, and conjunction with figs. are described in detail as follows.
Description of drawings
Fig. 1 is the calcspar according to the reduction of data system shown in one embodiment of the invention.
Fig. 2 is the process flow diagram according to the reduction of data method shown in one embodiment of the invention.
Fig. 3 is the process flow diagram according to the storage BIOS setting value method shown in one embodiment of the invention.
Fig. 4 is the process flow diagram according to the reduction BIOS setting value method shown in one embodiment of the invention.
Embodiment
Fig. 1 is the calcspar according to the reduction of data system shown in one embodiment of the invention.This system comprises reduction of data device 110, storage area 120, working area 130 and the BIOS140 of Basic Input or Output System (BIOS).With present computer system architecture, when computer system was unlocked, BIOS 140 program codes that are stored in the flash memory were carried out to storage area 120 decompressed.And when the setting value of BIOS 140 was modified, the setting value of change then temporarily was stored in the working area 130, with treat subsequent treatment it.
The reduction of data device 110 that present embodiment provided comprises judge module 111, extraction module 113, writing module 115 and recovery module 117.And above-mentioned each module (111-117) for example is to be responsible for the secondary letter formula of difference in functionality with the program code that program language is write, and calls out for the main program code of BIOS 140.So only for convenience of description, do not limit scope of the present invention with this at this.Below promptly introduce the function of reduction of data device 110 each member in detail.
Judge module 111 similarly is whether the setting value of judging BIOS 140 is modified, judges whether the change of BIOS 140 is determined in order to judge the operations of BIOS 140, and judges whether to recover BIOS 140 for changing preceding state or the like.And the result who is judged according to judge module 111, extraction module 113, writing module 115 and 117 of recovery module have different respective operations.
Extraction module 113 is in order to extracting the original setting value of BIOS 140, being stored to storage area 120, and the setting value of change is stored in the working area 130.For instance, when computer system was activated, extraction module 113 was with the program code of first decompression BIOS 140, and program code after will decompressing again and the setting value of BIOS 140 are stored in the storage area 120.And when judge module 111 judged that the setting value of BIOS 140 is modified, the setting value after extraction module 113 just will be changed was stored in the working area 130, and does not change setting value original in the storage area 120.
Writing module 115 writes in the BIOS 140 in order to the setting value that will be stored in the working area 130.In other words, when judge module 111 judged that the change of BIOS 140 is determined, 115 of writing modules were searched the setting value after the change in working area 130, afterwards, the setting value after the change is write in the BIOS 140, and become up-to-date setting value.For example writing module 115 table that setting value is write BIOS 140 is gone up an administration interface (Desktop Management Interface is DMI) in the block.
Recovery module 117 is in order to write back working area 130 with setting value original in the storage area 120, to cover the setting value after changing.That is to say that during owing to computer system starting, BIOS 140 original setting values just are stored in the storage area 120, and the adjustment of setting value is to carry out in working area 130.Therefore, when judge module 111 is judged the state that will recover before BIOS 140 is change, recovery module 117 is just searched the original setting value of BIOS 140 in storage area 120, and original setting value is write back working area 130, so can be reduced into the setting value of last time.
In practical application, the research and development slip-stick artist of BIOS 140 can set up the option of " loading setting value last time " being provided with in the menu of BIOS 140.When the user chooses this option, just drive recovery module 117 to be reduced to the setting value of last BIOS 140.So do not limit the scope of practical application at this.
From another viewpoint, the present invention can summarize a data method of reducing.Fig. 2 is the process flow diagram according to the reduction of data method shown in one embodiment of the invention.Please refer to Fig. 1 and Fig. 2, at first, in step S210, when the setting value of BIOS 140 was modified, extraction module 110 was stored to storage area 120 with BIOS 140 original setting values, and the setting value of change is stored in the working area 130.
With the operation of present BIOS 140, when computer system starting, the user can enter the menu that is provided with of BIOS140 and adjust the setting value of hardware unit (for example operating voltage of central processing unit and frequency of operation).In this time, the setting value that extraction module 113 just will be provided with the respective option in the menu is stored in the working area 130.When the user adjusted the setting value of BIOS 140 in menu is set, judge module 117 judged that the setting value of BIOS 140 is modified, and is stored in the setting value of changing in the working area 130 and drive extraction module 113.
Then, in step S220, when the change of BIOS 140 is determined, then writing module 115 will be stored in a storage area 120 that arrives of setting value backup of change in the working area 130, also setting value can be write in the BIOS 140 simultaneously, and become up-to-date setting value.For instance, when the user BIOS140 the option of selecting " storing and withdraw from (save and exit) " is set in the menu time, then judge module 117 judges that promptly the change of BIOS 140 is determined.Therefore, leave menu is set after, and before restarting computer system, this time setting value of change just is stored in the BIOS 140.
At last, in step S230, after the change of BIOS 140 is determined, be when changing preceding state and will recover BIOS 140, then writing module 115 will be stored in setting value original in the storage area 120 and write back working area 130.For example, when the user be provided with change setting value significantly in the menu after, if when desiring to be reduced into last setting value, recovery module 117 will be searched original setting value in storage area 120, and original setting value covering to working area 130.Afterwards, writing module 115 just writes original setting value in the BIOS 140.Certainly, after the change of BIOS 140 was determined, the user also can load the preset setting values of BIOS 140 in menu is set, for example best (optimal) preset value or failure safe (failsafe) preset value.
The detailed step of storage BIOS 140 setting value methods and reduction BIOS140 setting value method below is described respectively with two embodiment again.
Fig. 3 is the process flow diagram according to the storage BIOS setting value method shown in one embodiment of the invention.Please refer to Fig. 1 and Fig. 3, in the present embodiment, for example is after computer system is activated, and the user selects to enter the menu that is provided with of BIOS 140, and after the setting value of adjusting BIOS 140, the setting value of changing is stored among the BIOS 140.At first, when computer system was activated, in step S310, extraction module 111 was stored to storage area 120 with setting value original among the BIOS 140.
Then, in step S320, judge module 117 judges whether the setting value of BIOS 140 is modified.If not, then finish the flow process of storage BIOS 140 setting values; Otherwise when if the setting value of BIOS 140 is modified, shown in step S330, extraction module 111 is stored to the setting value of change in the working area 130.
Then, in step S340, judge module 117 judges whether the change of BIOS 140 is determined.For example, judge module 117 judges whether the option of " store and leave " is performed in menu is set.If not, then finish the flow process of storage BIOS 140 setting values; Otherwise, if, execution in step S350 then, when the option of " store and leave " is performed, after then writing module 115 will be searched the setting value of change in working area 130, the setting value backup of change is a to storage area 120, also setting value can be write in the BIOS 140 simultaneously, and become up-to-date setting value.
On the other hand, Fig. 4 is the process flow diagram according to the reduction BIOS setting value method shown in one embodiment of the invention.Please refer to Fig. 1 and Fig. 4, in step S410, judge module 111 judges whether to recover BIOS140 and is the preceding state of change.For example, at the option of being provided with in the menu of BIOS 140 newly-increased " loading setting value last time ", after changing setting value significantly, the setting value of BIOS 140 is reduced to last setting value of being stored by this option for the user.Therefore, judge by judge module 111 whether the option of " loading setting value last time " is performed, if not, then finish the flow process of reduction BIOS 140 setting values; Otherwise, if execution in step S420 then is to load the setting value of last time.
When judge module 111 judges that will recover the state of BIOS 140 before for change the time, just the user has carried out the option of " loading setting value last time ", in step S420, recovery module 117 is just searched the original setting value of BIOS 140 from storage area 120.
Then, in step S430, recovery module 113 writes back working area 130 with original setting value, to cover the setting value after changing.At this moment, the user just can be according to the setting value of last time storage, and readjusts setting value.Certainly, the user can be reduced to setting value last setting value at any time and readjust when adjusting setting value.In addition, after the setting value after recovery module 113 covers change with original setting value, can drive writing module 115 setting value original in the working area 130 is write in the BI OS140.
In sum, reduction of data method of the present invention and Basic Input or Output System (BIOS) thereof have following advantage at least:
In the setting value of BIOS by after the change significantly, can reduce the setting value of last storage apace, quite convenient.
2. when adjusting the setting value of BIOS, not only can load the preset setting values of BIOS, more can load the setting value of BIOS last time, have more elasticity in the use.
Though the present invention with preferred embodiment openly as above, so it is not in order to limit the present invention.Those of ordinary skill under any in the technical field under the situation that does not break away from the spirit and scope of the present invention, can carry out various changes and modification.Therefore, protection scope of the present invention is as the criterion with the scope of the claim that proposed.

Claims (12)

1. a reduction of data method is applicable to a Basic Input or Output System (BIOS), it is characterized in that, described reduction of data method comprises:
When the setting value of described Basic Input or Output System (BIOS) is modified, then stores original setting value to a storage area of described Basic Input or Output System (BIOS), and the setting value of change is stored in the working area;
When the change of described Basic Input or Output System (BIOS) is determined, then will be stored in the setting value of changing in the described working area and back up to described storage area, and the setting value of change will be write in the described Basic Input or Output System (BIOS), and become up-to-date setting value; And
After the change of described Basic Input or Output System (BIOS) is determined, be when changing preceding state, then will be stored in setting value original in the described storage area and write back described working area and will recover described Basic Input or Output System (BIOS).
2. reduction of data method according to claim 1 is characterized in that, after the change of above-mentioned Basic Input or Output System (BIOS) is determined, also comprises:
Judge whether to recover described Basic Input or Output System (BIOS) and be the preceding state of change;
In the time will recovering described Basic Input or Output System (BIOS), then search the original setting value of described Basic Input or Output System (BIOS) from described storage area for the state before changing; And
Write back described working area with being stored in setting value original in the described storage area, to cover the setting value after changing.
3. reduction of data method according to claim 2 is characterized in that wherein original setting value writes back described working area in will being stored in described storage area, after the step that covers the setting value after changing, also comprises:
Setting value original in the described working area is write in the described Basic Input or Output System (BIOS).
4. reduction of data method according to claim 1 is characterized in that, also comprises:
Setting value original in the described Basic Input or Output System (BIOS) is stored to described storage area;
Whether the setting value of judging described Basic Input or Output System (BIOS) is modified; And
When the setting value of described Basic Input or Output System (BIOS) was modified, then the setting value with change was stored in the described working area.
5. reduction of data method according to claim 1 is characterized in that, wherein after the setting value of described Basic Input or Output System (BIOS) is modified, also comprises:
Whether the change of judging described Basic Input or Output System (BIOS) is determined; And
When the change of described Basic Input or Output System (BIOS) is determined, then will be stored in the setting value of changing in the described working area and write in the described Basic Input or Output System (BIOS), and become up-to-date setting value.
6. reduction of data method according to claim 1 is characterized in that, also comprises a preset setting values in the wherein said basic input-output unit, and after the change of described Basic Input or Output System (BIOS) is determined, also comprises:
Judge whether to recover described Basic Input or Output System (BIOS) and be default state;
In the time will recovering described Basic Input or Output System (BIOS) for the state before changing, the preset setting values that then will be stored in the described storage area writes in the described Basic Input or Output System (BIOS).
7. reduction of data method according to claim 1 is characterized in that, wherein said preset setting values comprise a best preset value and a failure safe preset value one of them.
8. reduction of data method according to claim 1 is characterized in that, also comprises:
Write in the described Basic Input or Output System (BIOS) one and go up in the administration interface block being stored in setting value original in the described storage area.
9. the reduction of data device of a Basic Input or Output System (BIOS) is characterized in that, comprising:
One extraction module in order to extracting the original setting value of described Basic Input or Output System (BIOS), being stored to a storage area, and is stored to the setting value of change in one working area;
One recovery module is in order to write back described working area with setting value original in the described storage area, to cover the setting value after changing;
One writing module writes in the described Basic Input or Output System (BIOS) in order to the setting value that will be stored in the described working area; And
One judge module, in order to judge whether that will recover described Basic Input or Output System (BIOS) is the preceding state of change, in the time will recovering described Basic Input or Output System (BIOS) for the state before changing, then drive described recovery module, serve as the preceding state of change to recover described Basic Input or Output System (BIOS).
10. reduction of data device according to claim 9, it is characterized in that, wherein said judge module is judged when recovering described Basic Input or Output System (BIOS) for the state before changing, then described recovery module is searched the original setting value of described Basic Input or Output System (BIOS) from described storage area, and original setting value is write back described working area, to cover the setting value after changing.
11. reduction of data device according to claim 9, it is characterized in that, wherein said judge module comprises also whether the setting value of judging described Basic Input or Output System (BIOS) is modified, when the setting value of described Basic Input or Output System (BIOS) was modified, then described extraction module was stored to the setting value of change in the described working area.
12. reduction of data device according to claim 9, it is characterized in that, wherein said judge module comprises also whether the change of judging described Basic Input or Output System (BIOS) is determined, when the change of described Basic Input or Output System (BIOS) is determined, then the said write module will be stored in the setting value of changing in the described working area and write in the described Basic Input or Output System (BIOS), and become up-to-date setting value.
CN2007101816055A 2007-10-19 2007-10-19 Method and apparatus for reducing data Active CN101414276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101816055A CN101414276B (en) 2007-10-19 2007-10-19 Method and apparatus for reducing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101816055A CN101414276B (en) 2007-10-19 2007-10-19 Method and apparatus for reducing data

Publications (2)

Publication Number Publication Date
CN101414276A true CN101414276A (en) 2009-04-22
CN101414276B CN101414276B (en) 2010-09-29

Family

ID=40594814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101816055A Active CN101414276B (en) 2007-10-19 2007-10-19 Method and apparatus for reducing data

Country Status (1)

Country Link
CN (1) CN101414276B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831022A (en) * 2012-07-27 2012-12-19 曙光信息产业(北京)有限公司 Method and device for modifying system configuration
CN103136018A (en) * 2011-12-05 2013-06-05 联想(北京)有限公司 Setting method and setting system of basic input/ output system (BIOS)
CN103810057A (en) * 2012-11-09 2014-05-21 昆达电脑科技(昆山)有限公司 UEFI (Unified Extensible Firmware Interface) data recovery method
CN104679622A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 BIOS (basic input/output system) maintenance method
CN105843698A (en) * 2016-04-22 2016-08-10 浪潮电子信息产业股份有限公司 Method for automatically adjusting BIOS (basic input/output system) option value

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1195268C (en) * 2002-05-16 2005-03-30 智邦科技股份有限公司 Computer-system capable of fast starting
CN100472441C (en) * 2005-12-29 2009-03-25 华硕电脑股份有限公司 Method for changing open origin of computer and data reserve reduction employing this method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136018A (en) * 2011-12-05 2013-06-05 联想(北京)有限公司 Setting method and setting system of basic input/ output system (BIOS)
CN102831022A (en) * 2012-07-27 2012-12-19 曙光信息产业(北京)有限公司 Method and device for modifying system configuration
CN103810057A (en) * 2012-11-09 2014-05-21 昆达电脑科技(昆山)有限公司 UEFI (Unified Extensible Firmware Interface) data recovery method
CN104679622A (en) * 2013-11-29 2015-06-03 英业达科技有限公司 BIOS (basic input/output system) maintenance method
CN105843698A (en) * 2016-04-22 2016-08-10 浪潮电子信息产业股份有限公司 Method for automatically adjusting BIOS (basic input/output system) option value

Also Published As

Publication number Publication date
CN101414276B (en) 2010-09-29

Similar Documents

Publication Publication Date Title
CN101414276B (en) Method and apparatus for reducing data
US7647491B2 (en) System and method for selectively starting one of a plurality of operating systems according to whether or not the system is connected to a docking station
CN102722394B (en) Start upgrading method of embedded equipment
CN102567136A (en) Backup and recovery method of computer system, device and computer system
CN101000549A (en) Electronic device with accelerated boot process and method for the same
US9554187B2 (en) Smart television system and turn-on and turn-off method thereof
US20060218387A1 (en) System and method for backup and recovery of data stored in a hard disk of a computer
US20080215868A1 (en) Bios management device and method for manging bios setting value
CN101105755A (en) Portable apparatus supporting multiple operating systems and supporting method therefor
US8499202B2 (en) Method and system for recovery of a computing environment during pre-boot and runtime phases
CN101111017A (en) Mobile terminal for backup and recovery of software and data and method thereof
CN101771804A (en) Backup and restore method for DTV receiving terminal software system
CN1877539A (en) Data backup/recovery system under cold start mode and implementing method therefor
CN102439565A (en) Method and device for starting recovery
CN104040483A (en) Optimized cold boot for non-volatile memory
CN101364178A (en) Executing method and management method of BIOS while starting up for computer
CN101673230A (en) Method for automatically backing up and recovering configuration data of embedded system by using a U-disk
US8230206B2 (en) Bios parameter erasing method and apparatus applied to computer system
CN101344832A (en) Menu interface editing method and device
CN1235149C (en) Method and device for restoring computer operation system and method for producing said system
CN102184115A (en) Method and device for updating system software
JP2000242473A (en) Computer
JP2006259886A (en) Control device, method and program of device having plug-and-play function
CN100472441C (en) Method for changing open origin of computer and data reserve reduction employing this method
CN101477468B (en) Automatic power-on method for computer system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant