CN101470615B - Single-key controlled method for automatically repairing system configuration - Google Patents
Single-key controlled method for automatically repairing system configuration Download PDFInfo
- Publication number
- CN101470615B CN101470615B CN2007103066176A CN200710306617A CN101470615B CN 101470615 B CN101470615 B CN 101470615B CN 2007103066176 A CN2007103066176 A CN 2007103066176A CN 200710306617 A CN200710306617 A CN 200710306617A CN 101470615 B CN101470615 B CN 101470615B
- Authority
- CN
- China
- Prior art keywords
- system configuration
- bios
- key
- program
- pressing
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000008569 process Effects 0.000 claims abstract description 8
- 230000008439 repair process Effects 0.000 claims description 31
- 230000006870 function Effects 0.000 claims description 8
- 230000009471 action Effects 0.000 claims description 3
- 238000011084 recovery Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a method for automatically repairing system configuration using a single key to control, firstly, detecting a press down mode of a computer power on key, executing corresponding programs for repairing the system configuration through repairing projects which represent the detected press down mode, thereby achieving to update the system configuration, set restore or eliminate the system configuration setting which is recorded in a CMOS memory, and further normally executing a power on process after updating/recovering. The method automatically executes corresponding BIOS update/recovery programs through various press down power on keys, does not need to complicatedly arrange steps, just needs to press a single key to update the BIOS system configuration or a BIOS system main program of the computer, and can update the BIOS program or eliminate system configuration data of the CMOS memory without dismantling a host machine of the computer.
Description
Technical Field
The present invention relates to a method for updating/recovering a system configuration, and more particularly, to a method for updating/recovering a system configuration by single key control.
Background
The Basic Input Output System (BIOS) is a software program code stored in a chip and loaded/executed when a computer is turned on. The BIOS provides a Power On Self Test (POST) program required for booting the computer, checks whether the operating states of a Central Processing Unit (CPU) and each controller or buffer of the computer are normal, and provides the computer system with initialization operations for a memory, a motherboard chip, a display card, and various peripheral devices, the initialization operations including creating an interrupt vector, setting a buffer, initializing and detecting system hardware devices, and providing various resident programs for an operating system or an application program to call. With the increasing demand of users for computers, peripheral equipment such as a CPU (central processing unit), a memory, a display card and the like of computer hardware are continuously replaced, and the working efficiency of the computers is improved by high-efficiency hardware. In addition, the work efficiency of the computer can be improved by updating the BIOS (program) and modifying the parameters for controlling the operation frequency of the computer hardware in the BIOS.
Some updating methods are to remove the BIOS chip from the motherboard and update/write a new BIOS or set operating parameters by a specific machine. The updating method is time-consuming and labor-consuming, the BIOS chip is removed from the motherboard with effort by opening the casing, and the motherboard is reinstalled after the BIOS is updated, so that the probability of damaging pins of the BIOS chip is increased in the processes of disassembling and installing the BIOS chip. With the advent of Electrically erasable programmable Read-Only Memory (EEP ROM), an update operation can be performed without the need to take effort to detach the BIOS chip, however, if the system cannot be booted or is booted unstably due to excessive frequency and excessive voltage errors, and the original setting value needs to be recovered, the user still needs to open the casing and adjust the CMOS clear Jumper (Jumper) to clear the wrong CMOS data, so as to set the relevant default value. It is inconvenient for the user and the steps are still cumbersome.
Disclosure of Invention
In view of the above problems of complicated steps and inconvenient operation of BIOS update/recovery, the present invention provides a method for automatically repairing system configuration by single key control, which executes corresponding maintenance items for BIOS by different pressing operation modes of a power-on key, so as to solve the defects of complicated steps and inconvenience of BIOS system update/recovery, and facilitate maintenance of a computer system.
To achieve the above object, the method for single key control automatic repair system configuration of the present invention comprises the following steps: first, the pressing mode of the power-on key is detected. Then, the repair item represented by the pressing pattern is determined. And then, executing the corresponding program for repairing the BIOS according to the repairing item. And executing a normal boot process after executing the corresponding program for repairing the system configuration of the BIOS.
In the method for configuring an automatic single-button-controlled repair system according to a preferred embodiment of the present invention, the pressing mode includes: the pressing mode of the machine key is judged according to the combination of the number of times of pressing the machine key, the time of pressing the machine key each time and the pressing mode consisting of the pressing number, the pressing time and the interval time of pressing twice. And when the pressing mode of the power-on key is judged, judging a corresponding program for repairing the system configuration of the BIOS.
According to the method for automatically repairing the system configuration by single key control of the preferred embodiment of the present invention, the corresponding program for repairing the system configuration of the BIOS includes: the program for erasing the data of the CMOS memory, the program for restoring the system configuration of the original BIOS, and the program overwritten by the BIOS program. If the detected pressing mode of the boot key is not the predefined pressing mode, i.e. the repair item represented by the detected pressing mode and the system configuration of the repair BIOS cannot be distinguished, the normal boot process is directly executed.
As described above, the method for controlling the configuration of the automatic repair system by the single key according to the present invention predefines the corresponding relationship between the plurality of different pressing modes (i.e. the manner of pressing the power-on key) and the repair items. When the boot key is pressed, the repair item corresponding to the pressing mode is judged and the corresponding program is executed, so that the BIOS system can be automatically updated/recovered or the setting/maintenance of the relevant parameters of the BIOS system can be automatically completed under the condition that the BIOS chip is taken out without disassembling the shell, and the computer system is easy to maintain.
Drawings
FIG. 1 is a flow chart of a method for configuring a system for single key controlled automatic repair according to the present invention;
FIG. 2 is a system diagram illustrating a method for performing single key controlled automatic repair system configuration according to the present invention; and
FIG. 3 is a diagram of the jumper controller of the present invention connected to a CMOS memory.
Wherein the reference numerals are as follows:
motherboard 200 power-on key 201
Timing/counting circuit 202 CMOS memory 203
Jumper controller 204 repair function control chip 205
Central processor 210 of BIOS chip 206
Memory 220 hard disk 230
Floppy 240 optical disc 250
BJT transistor 307 data retention leg 308
Data clear pin 309
Detailed Description
The method for automatically repairing the system configuration by single key control (hereinafter, briefly described as the method) is executed by a repairing function control chip embedded in a mainboard. In the preferred embodiment, the BIOS configuration is used to update/recover the BIOS program, or update/recover the BIOS system configuration, and the BIOS related system configuration recorded in the CMOS memory is cleared. When a user updates a BIOS (program) or changes the working frequency (over-frequency and over-voltage) of a mainboard, if the program update or the mainboard setting modification fails, the system is unstable or the system cannot be started, and at the moment, the BIOS chip is not required to be pulled out by disassembling the shell with great expense by executing the invention, and the computer system is not required to be recovered through complicated BIOS updating steps. FIG. 1 is a flow chart of a method for configuring an automatic single-key-controlled repair system. Referring to fig. 1, in a preferred embodiment, the method includes the following steps: first, detecting a pressing mode of a power-on key (step S110); next, determining a repair item represented by the pressing mode (step S120); then, executing the corresponding program of the repair system configuration according to the repair item (step S130); and, executing the normal boot process (step S140).
FIG. 2 is a system diagram illustrating a method for performing a single key controlled automatic repair system configuration. In this embodiment, the system for executing the method includes a host computer composed of a motherboard 200, a central processing unit 210, a memory 220, a hard disk 230, a floppy disk 240, and an optical disk 250. In addition, the motherboard is further embedded with a timing/counting circuit 202, a COMS memory 203, a jumper controller 204, a repair function control chip 205, and a BIOS chip 206. The BIOS main program is stored in the BIOS chip 206, and when the start key 201 is pressed to perform a normal start program, the BIOS chip 206 reads the BIOS main program and loads the memory 220 to execute the program. Compared with the conventional BIOS system, the difference of the present invention is that before the motherboard leaves the factory, the corresponding relationship between the pressing mode of the power-on key 201 and the repair items is established in the repair function control chip 205, and the program of the repair system configuration (especially the system configuration of the BIOS system) that needs to be executed by the repair items is recorded.
The pressing mode is a combination of the number of times the user presses the start key 201 and the pressing time, and for example, the user continuously presses the start key 201 for several seconds and then continuously presses the start key 201 three times, which is a pressing mode. Through the timer/counter circuit 202, the pressing times and pressing time of the power-on key 201 can be detected, and the pressing mode can be determined accordingly. The timing/counting circuit 202 may be constituted by an oscillator and a simple arithmetic chip embedded in the motherboard, one end of the timing/counting circuit 202 is connected to the power-on key 201, and the other end is connected to the repair function control chip 205, and by accumulating the circuit conduction times and the circuit conduction time of the power-on key 201, the aforementioned pressing times and pressing time of the power-on key 201 can be calculated, and the detected pressing mode is transmitted to the repair function control chip 205.
In the preferred embodiment, the pressing mode, the corresponding repair items, and the repair system configuration are programmed as follows:
when the pressing mode is long pressing the power-on key 201 for three seconds, the power-on key 201 is pressed once again, and the configuration data of the CMOS memory system is cleared. The procedure for clearing the CMOS memory system configuration data comprises the following steps: the repair function control chip 205 transmits a data clear signal to the jumper controller 204, and then transmits a control voltage to disconnect the data save pin of the CMOS memory and enable the data clear pin to clear the setting of the BIOS-related system configuration stored in the CMOS memory by the jumper controller 204.
When the pressing mode is long pressing the power-on key 201 for three seconds, the power-on key 201 is pressed twice, and the system configuration setting for restoring the original BIOS is performed. The procedure for recovering the original BIOS system configuration includes first fetching the BIOS parameters from the storage locations storing the original BIOS parameters (i.e., the BIOS configuration), where the storage locations may be storage spaces in the BIOS chip 206, or storage spaces in the memory 220, the hard disk 230, the floppy disk 240, or even the optical disk 250, and the scope of the storage spaces is not limited herein. After the original BIOS system configuration parameters are taken out, the original BIOS system configuration parameters are covered with the current BIOS system configuration parameters, and then the computer is restarted, so that the original system configuration setting can be restored.
When the pressing mode is that the start key 201 is pressed for three seconds and then the start key 201 is pressed for three times, the BIOS program is overwritten. The action of overwriting the BIOS program comprises capturing the original BIOS program from the storage position, and then overwriting the currently used BIOS program with the original BIOS program (i.e. overwriting the original BIOS program in the position where the currently used BIOS program is stored). And when the coverage is finished, restarting the computer, wherein the loaded BIOS program is the original BIOS program. For a motherboard supporting dual BIOS, there are usually two BIOS programs. When the BIOS program in use is damaged, only the original BIOS program needs to be covered. However, for some motherboards that do not support dual BIOS, when the computer is first started, the BIOS program can be backed up to any of the aforementioned storage locations to save the original BIOS program.
When the computer can not be normally started, the user presses the start-up key 201 for three seconds, and then presses the start-up key 201 once again, so that the system configuration action carried by the CMOS memory can be cleared; similarly, after the user presses the power-on key 201 for three seconds, the user presses the power-on key 201 for three times, and then the BIOS program is overwritten. If the pressing mode of the power-on key 201 is not within the preset range (i.e. the repair item represented by the pressing mode cannot be determined), the normal power-on process is directly executed. In addition, the procedure for clearing the CMOS memory data is performed when the computer is in a shutdown state; the recovery of the original BIOS parameter setting and the BIOS program overwriting can be executed in the computer boot state.
The CMOS memory 203 clears the BIOS related system configuration settings stored in the CMOS memory 203 by enabling the data clear pin 309. Fig. 3 is a schematic diagram of the jumper controller 204 connected to the CMOS memory 203. Referring to fig. 3, in the present embodiment, a BJT transistor 307 is used to connect a data save pin 308 and a data clear pin 309 of the CMOS memory 203. At normal power-on, the jumper controller 204 transmits a forward bias voltage to turn on the data save pin 308, and the data clear pin 309 is connected to the jumper controller 204 but is not electrically connected. When the jumper controller 204 transmits a reverse bias, the data save pin 308 is open, and the data clear pin 309 is electrically connected (i.e., the data clear pin 309 is enabled). When the data clear pin 309 is enabled, the BIOS related system configuration settings stored in the CMOS memory 203 are immediately cleared. In the present embodiment, the BJT transistor 307 is used to enable the data clear pin 309 by a control voltage (forward/reverse bias), so that the data in the CMOS memory 203 can be released without disassembling the chassis. However, this is only one embodiment, and it is also within the scope of the present invention that other components release the data of the CMOS memory 203 by controlling the voltage enable data clear pin 309.
In summary, the present invention automatically executes the corresponding BIOS update/recovery procedure by pressing the power-on key, and has the following advantages:
the BIOS system configuration or the BIOS system main program of the computer can be updated only by pressing a single key without complicated setting steps.
The BIOS program can be easily updated or the system configuration data of the CMOS memory can be easily cleared without disassembling the host computer.
Claims (6)
1. A method for automatically repairing system configuration by single key control is used for updating/restoring parameter setting of system configuration to maintain normal startup of a computer, and is characterized in that the corresponding relation between a plurality of pressing modes of a startup key and repairing items is predefined, and the method for automatically repairing system configuration by single key control comprises the following steps:
detecting a pressing mode of a power-on key;
judging a repair item represented by the pressing mode;
executing a corresponding program of the repair system configuration according to the repair item; and
executing a normal starting process;
wherein,
when the pressing mode is that the starting key is pressed for 3 seconds and then is pressed for 1 time, the program for repairing the system configuration is to clear the data of the CMOS memory;
when the pressing mode is that the startup key is pressed for 3 seconds for a long time and then the startup key is pressed for 2 times, the program for restoring the system configuration is to restore the system configuration setting of the original BIOS; and
when the pressing mode is that the startup key is pressed for 3 seconds after the startup key is pressed for a long time, and the startup key is pressed for 3 times, the program for repairing the system configuration is overwritten by a BIOS program.
2. The method of claim 1, wherein the method further comprises: the number of pressing times and the pressing time are detected by a timer/counter circuit.
3. The method of claim 1, wherein the method further comprises: performing an action of clearing the CMOS memory data, comprising:
a function controller transmitting the data clear signal to a jumper controller; and
the jumper controller transmits a control voltage to disconnect the data save pin of the CMOS memory and enable the data clear pin.
4. The method of claim 1, wherein the method further comprises: the system configuration setting operation for recovering the original BIOS comprises the following steps:
capturing an original system configuration from a storage location;
overlaying the original system configuration setting with the currently set system configuration setting; and
the computer is restarted.
5. The method of claim 1, wherein the method further comprises: the operation of overwriting the BIOS program includes:
capturing an original BIOS program from a storage position;
the original BIOS program is used for covering the currently used BIOS program; and
the computer is restarted.
6. The method of claim 1, wherein the method further comprises: further comprises executing normal startup process directly when the repair item represented by the startup key can not be judged by the pressing mode of the startup key.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103066176A CN101470615B (en) | 2007-12-28 | 2007-12-28 | Single-key controlled method for automatically repairing system configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007103066176A CN101470615B (en) | 2007-12-28 | 2007-12-28 | Single-key controlled method for automatically repairing system configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101470615A CN101470615A (en) | 2009-07-01 |
CN101470615B true CN101470615B (en) | 2012-02-22 |
Family
ID=40828107
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007103066176A Active CN101470615B (en) | 2007-12-28 | 2007-12-28 | Single-key controlled method for automatically repairing system configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101470615B (en) |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572582A (en) * | 2011-12-20 | 2012-07-11 | 世盟科信(北京)国际科技发展有限公司 | Method and device for controlling wireless home digital interface (WHDI) equipment |
CN103488387B (en) * | 2012-06-08 | 2017-03-01 | 联想(北京)有限公司 | A kind of method of information processing and a kind of electronic equipment |
CN103810057A (en) * | 2012-11-09 | 2014-05-21 | 昆达电脑科技(昆山)有限公司 | UEFI (Unified Extensible Firmware Interface) data recovery method |
CN104424047A (en) * | 2013-08-20 | 2015-03-18 | 研祥智能科技股份有限公司 | NVRAM data recovery method and NVRAM data recovery device |
CN104750502B (en) * | 2013-12-26 | 2019-05-24 | 海尔集团公司 | A kind of wire jumping method and device |
CN104253758A (en) * | 2014-01-27 | 2014-12-31 | 深圳市力桑新世纪科技有限公司 | Router and setting method thereof |
CN104536551A (en) * | 2014-11-18 | 2015-04-22 | 合肥联宝信息技术有限公司 | Method and device for clearing away information on complementary metal oxide semiconductor (CMOS) |
CN104572525A (en) * | 2015-01-30 | 2015-04-29 | 联想(北京)有限公司 | Electronic equipment, and system and method for controlling mainboard of electronic equipment |
CN104714856A (en) * | 2015-03-23 | 2015-06-17 | 青岛海信宽带多媒体技术有限公司 | Software repairing method and terminal equipment |
CN106487550A (en) * | 2015-08-26 | 2017-03-08 | 中兴通讯股份有限公司 | A kind of method and apparatus for device software edition upgrading |
CN111142961B (en) * | 2018-11-02 | 2022-12-27 | 佛山市顺德区顺达电脑厂有限公司 | Basic input/output system setting method |
CN110007972A (en) * | 2019-03-25 | 2019-07-12 | 联想(北京)有限公司 | A kind of information processing method and information processing unit |
CN110262647B (en) * | 2019-06-27 | 2021-05-25 | 无锡睿勤科技有限公司 | CMOS data clearing circuit and computer equipment |
CN112114851B (en) * | 2020-09-17 | 2024-06-18 | 深圳市亿道数码技术有限公司 | Method for entering Recovery to update BIOS through hotkey |
CN113377409B (en) * | 2021-06-21 | 2024-03-01 | 超越科技股份有限公司 | Method, equipment and storage medium for stabilizing BIOS updating |
CN113900843B (en) * | 2021-09-08 | 2024-09-17 | 联想(北京)有限公司 | Detection repair method, device, equipment and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1722097A (en) * | 2004-07-12 | 2006-01-18 | Lg电子株式会社 | Apparatus and method for crisis recovery |
CN101000519A (en) * | 2006-01-13 | 2007-07-18 | 英业达股份有限公司 | Method and system for reset processing system power supply state of computer platform power supply restored |
-
2007
- 2007-12-28 CN CN2007103066176A patent/CN101470615B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1722097A (en) * | 2004-07-12 | 2006-01-18 | Lg电子株式会社 | Apparatus and method for crisis recovery |
CN101000519A (en) * | 2006-01-13 | 2007-07-18 | 英业达股份有限公司 | Method and system for reset processing system power supply state of computer platform power supply restored |
Also Published As
Publication number | Publication date |
---|---|
CN101470615A (en) | 2009-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101470615B (en) | Single-key controlled method for automatically repairing system configuration | |
EP2068246B1 (en) | Auto repair method of system configurations using single key control | |
TWI382346B (en) | Computer system with dual bios protection mechanism and control method of the same | |
CN108304282B (en) | Control method of double BIOS and related device | |
CN102722394B (en) | Start upgrading method of embedded equipment | |
US20090271660A1 (en) | Motherboard, a method for recovering the bios thereof and a method for booting a computer | |
KR20010043130A (en) | Initializing and restarting operating systems | |
KR20080063080A (en) | Information processing apparatus and method, program, and recording medium | |
EP2750034B1 (en) | Electronic device having updatable bios and bios updating method thereof | |
KR100952585B1 (en) | Method and system for automatic recovery of an embedded operating system | |
US20140149644A1 (en) | Electronic apparatus, method of updating firmware, and computer-readable recording medium | |
JP2006215905A (en) | Computer stop condition monitoring method, information processor, and program | |
TWI786871B (en) | Computer and system bootup method | |
CN113867814A (en) | Method and device for realizing multi-type restarting of server based on UEFI (unified extensible firmware interface) | |
US9348603B2 (en) | Electronic apparatus and booting method | |
TW201716999A (en) | Method for startup inspection and computer system using the same | |
CN117573435A (en) | Server restarting method and device, storage medium and electronic equipment | |
CN100410893C (en) | Method and apparatus for master-controlled applied programm of self-repairing built-in equipment | |
TWI534609B (en) | Automatic scanning and repair method for electronic devices | |
CN111078452A (en) | BMC firmware image recovery method and device | |
CN114911641A (en) | Method and device for processing power failure in BIOS updating process | |
CN104834574B (en) | A kind of method and device solving system partitioning damage | |
TWI541724B (en) | Circuit and method for writing bios code into bios | |
CN111382009A (en) | System automatic maintenance method and computer equipment with automatic maintenance function | |
CN113220358A (en) | Multi-platform BIOS information storage method, system and medium |
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 |