CN1504888A - Boot program method for detecting and updating basic input and output system - Google Patents

Boot program method for detecting and updating basic input and output system Download PDF

Info

Publication number
CN1504888A
CN1504888A CNA021557063A CN02155706A CN1504888A CN 1504888 A CN1504888 A CN 1504888A CN A021557063 A CNA021557063 A CN A021557063A CN 02155706 A CN02155706 A CN 02155706A CN 1504888 A CN1504888 A CN 1504888A
Authority
CN
China
Prior art keywords
bios
boot
basic input
reflection
output system
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
CNA021557063A
Other languages
Chinese (zh)
Other versions
CN1288563C (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.)
Giga Byte Technology Co Ltd
Original Assignee
Giga Byte Technology Co Ltd
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 Giga Byte Technology Co Ltd filed Critical Giga Byte Technology Co Ltd
Priority to CN 02155706 priority Critical patent/CN1288563C/en
Publication of CN1504888A publication Critical patent/CN1504888A/en
Application granted granted Critical
Publication of CN1288563C publication Critical patent/CN1288563C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a BIOS detecting & startup program updating method, mainly using update return program code in BIOS memory to check if BIOS Images of startup area addresses in peripheral memory device (like hard disk) and BIOS memory (like EPROM) are the same whenever computer is started up, thus justifies if BIOS Image able to normally run, and as BIOS Image abnormal, able to selectively update start program and BIOS Image of startup area address in the peripheral memory device.

Description

Basic Input or Output System (BIOS) detects and renewal boot program method
Technical field
The present invention relates to a kind of Basic Input or Output System (BIOS) (BIOS) detection and upgrade the boot program method, particularly relate to a kind of can be when each computer booting, the detection of system boot reflection (BIOS Image) in the system boot reflection (BIOS Image) and write-back peripheral storage devices is provided in the comparison Basic Input or Output System (BIOS) internal memory and upgrades the method for boot program.
Background technology
Generally speaking computing machine is in start, supervisory routine in the time of must doing some startups, be so-called ROM-BIOS (Basic Input/Output System, BIOS), for example: low orders such as self test program during computer starting (power-on self-test) and disc driver, keyboard, screen are set, and provide some controls for software support various and the computing machine connection device.
General user is when upgrading Basic Input or Output System (BIOS) (BIOS), in some cases, may on user's computing machine, normally move, because Basic Input or Output System (BIOS) (BIOS) refresh routine is loaded down with trivial details, and burning Basic Input or Output System (BIOS) (BIOS) does not guarantee certain success, if system has moved fairly goodly, even if there is the Basic Input or Output System (BIOS) (BIOS) of redaction can supply to upgrade, also best choice not necessarily, the situation that system may have negative effect or usefulness reduction takes place, therefore, during the problem of can't or be reluctant to upgrade voluntarily if any the user, there is the obligation of safeguarding and serving in manufacturer, and the chip (together with motherboard) of sending former factory Basic Input or Output System (BIOS) to be updated (BIOS) back to is handled, and just can do the renewal of Basic Input or Output System (BIOS) (BIOS) software.
With existing Basic Input or Output System (BIOS) (BIOS) method for updating, roughly provide several modes: modes such as floppy disk by computing machine or CD-ROM import that disk sheet upgrades, network download (download) is upgraded etc.
Fig. 1 is a computer system functions block scheme in known renewal Basic Input or Output System (BIOS) (BIOS) computer approach, must be earlier come load operation system boot program in internal storage location 120 by the startup disk of record starting operating system program, again by the user carry out be stored in peripheral storage devices 140 burning program with Basic Input or Output System (BIOS) (BIOS) updating files reprogramming to Basic Input or Output System (BIOS) internal storage location 130.If the user is the stage of carrying out Basic Input or Output System (BIOS) (BIOS) program in computer system 100 start backs, supress certain button from basic input media 150 (as: keyboard), the scan code of the button of being pressed (scan code) will be transferred into CPU (central processing unit) (CPU) 110 and handle.At this moment, Basic Input or Output System (BIOS) (BIOS) program can be extracted the scan code of the button that triggers and judge.If the scan code that the user pushed button is consistent with the scan code of the defined hot key of Basic Input or Output System (BIOS) (BIOS) program, Basic Input or Output System (BIOS) (BIOS) program implementation promptly is interrupted, and the burning program place that skips to another section place, address begins to carry out burning program.If the user does not trigger the defined hot key of Basic Input or Output System (BIOS) (BIOS) program, then Basic Input or Output System (BIOS) (BIOS) program will continue to carry out, and after Basic Input or Output System (BIOS) (BIOS) program was complete, the operating system that starts computer system 100 was to begin to carry out the operation of computer system 100.
In the burning program execution, the user can import the path and the filename of Basic Input or Output System (BIOS) (BIOS) updating files.Specify the path and filename of Basic Input or Output System (BIOS) (BIOS) updating files as the user after, be stored in peripheral storage devices 140 as: the Basic Input or Output System (BIOS) (BIOS) of diskette sheet, discs, LS-120 disk sheet is just updating files can be loaded certain part of the internal storage location 120 (being generally a kind of DRAM (Dynamic Random Access Memory)) of computer system 100 inside.Though start shooting to carry out the problem of burning program but this design can solve the startup disk that can't use operating system, but at sending the Basic Input or Output System (BIOS) (BIOS) of repairing replacement problem, can't the resolution system merchant face requirements quick, many version updating, therefore, stand in maintenance manufacturer and user's position, be desirable to provide and a kind ofly exempt extra diskette sheet, discs and carry out Basic Input or Output System (BIOS) (BIOS) and upgrade, and can when each start, provide Basic Input or Output System (BIOS) (BIOS) to detect and upgrade the method for boot program.
Summary of the invention
When fundamental purpose of the present invention is computer booting is provided, Basic Input or Output System (BIOS) (BIOS) detects and upgrades the method for boot program, it replys program code by the renewal in Basic Input or Output System (BIOS) (BIOS) internal memory, by the Basic Input or Output System (BIOS) of checking start regional address in peripheral storage devices and Basic Input or Output System (BIOS) (BIOS) internal memory video (BIOS Image) whether identical, whether normal to judge Basic Input or Output System (BIOS) reflection (BIOS Image), provide and optionally upgrade boot program, and the Basic Input or Output System (BIOS) of start regional address is videoed (BIOS Image) in the renewal hard disk, reaches the main purpose of keeping the normal operation of computer system power-on program.
Above-mentioned purpose of the present invention is achieved in that a kind of Basic Input or Output System (BIOS) detects and renewal boot program method, when computer system is started shooting at every turn to storage device and internal memory in the start reflection of start regional address detect comparison, and can provide and optionally upgrade boot program, and the reflection of the start in the renewal storage device, this method comprises the following step: upgrade by one and reply program code startup boot program; Read the one first system boot reflection that a peripheral storage devices stores; Read the one second system boot reflection of a Basic Input or Output System (BIOS) memory storage; This second ultimate system reflection is complete, carries out the comparison of this first system boot reflection and this second system boot reflection; And video when inequality when two system boots, carry out the following step: upgrade this first system boot and video; And carry out this second system boot reflection, enter the execution boot program.
Below, by specific embodiment and shown in accompanying drawing, to detailed content of the present invention and technology, be described in further detail.
Description of drawings
Fig. 1 is the computer system functions block scheme of known updating BIOS method;
Fig. 2 detects and upgrades the computer system functions block scheme of boot program method for Basic Input or Output System (BIOS) of the present invention;
Fig. 3 a is the synoptic diagram of known Basic Input or Output System (BIOS) internal memory;
Fig. 3 b is the synoptic diagram of Basic Input or Output System (BIOS) internal memory of the present invention;
Fig. 4 a and Fig. 4 b detect and upgrade the method flow diagram of boot program method for Basic Input or Output System (BIOS) of the present invention.
Embodiment
The present invention is that Basic Input or Output System (BIOS) (BIOS) detects and renewal boot program method, when each computer system 100 is carried out boot program, whether the system boot reflection (BIOS Image) that can detect the start regional address in the Basic Input or Output System (BIOS) internal memory 130 (as: EPROM) automatically can normally move, and whether the system boot reflection (BIOS Image) of checking the start regional address in the peripheral storage devices 140 (as: hard disk) simultaneously needs to upgrade, boot program optionally is provided when providing boot program to carry out, and carry out in the peripheral storage devices 140 the start regional address system boot reflection (BIOSImage) renewal or carry out the renewal of the system boot reflection (BIOS Image) of the start regional address among Basic Input or Output System (BIOS) internal memory 130 (as: EPROM), and then the complete and normal operation of maintenance calculations machine system 100 boot programs.
At first, do an explanation, and come further to be explained orally by Fig. 3 a and Fig. 3 b at the operation of Basic Input or Output System (BIOS) internal memory proposed by the invention.With reference to Fig. 3 a and Fig. 3 b, can know discovery, main difference between Basic Input or Output System (BIOS) internal memory 170 of the present invention and the known Basic Input or Output System (BIOS) internal memory 160 is: the present invention cuts a part in known Basic Input or Output System (BIOS) internal memory 160 memory headroom is deposited and is used for carrying out " upgrade and reply program code " that Basic Input or Output System (BIOS) (BIOS) detected and upgraded boot program, divides into two parts in the Basic Input or Output System (BIOS) internal memory 170 just of the present invention basically: the one, be used for the block of executive system start reflection; Another then is to be used for carrying out the block that upgrades the answer program code.Therefore the system boot of regional address of starting shooting in can realizing when computer system is started shooting at every turn storage device and internal memory is videoed and is detected comparison, and can provide and optionally upgrade boot program, and the technology of upgrading the system boot reflection in the storage device.
Then, can illustrate that by Fig. 4 a and Fig. 4 b method of the present invention moves the part of main flow process.At first, upgrade to reply program code by one and start boot program (step 200), this be a computer system 100 when obtaining the startup power supplys, the program step of at first being carried out by the starting operating system program; Then, read first system boot reflection (step 210) that stores in advance in the peripheral storage devices 140, peripheral storage devices refers to hard disk (hard disk), and first system boot reflection is for the program image (Image) of the required Basic Input or Output System (BIOS) test of computer system 100 starts is provided basically, can be by outer peripheral storage device (as: disk, the discs of other computer system 100 ...) transmission or by computer network (as: cable network, wireless network ...) mode downloaded upgrades; Then, read the reflection of second system boot in the Basic Input or Output System (BIOS) internal memory 130 (step 220) in the computer system 100, wherein alleged Basic Input or Output System (BIOS) internal memory 130, be a kind of voltage cancelling programmble read only memory PROM (EEPROM), its characteristic is still can possess data wherein when power supply disappears, but can eliminate renewal data wherein by the mode of electric signal, video also for the program image (Image) of the required Basic Input or Output System (BIOS) test of computer system 100 starts can be provided as for second system boot; Do you at first, judge whether second system boot reflection that reads out complete? (step 230) if complete can directly the operation then enters into the steps A place, if otherwise during imperfect can't directly the operation, then enter into step B place.
Flow process enters into steps A, represent that second system boot reflection normally can move, the present invention's this moment must carry out detection and the inspection to first system boot reflection, first system boot reflection that mainly can guarantee whereby to be stored in the peripheral storage devices also can normally be performed operation, it is following when unusual condition takes place second system boot reflection, can reply (recovery) in real time to Basic Input or Output System (BIOS) internal memory 130, can reach the purpose of keeping the normal operation of computer system 100 boot programs.In steps A, at first carry out the comparison (step 240) of first system boot reflection and second system boot reflection; Do you judge whether two system boots reflection identical? (step 250) then upgrades first system boot reflection (step 280) if inequality, then, removes to carry out second system boot reflection (step 260) again, and follow-up entering again carried out boot program (step 270); Otherwise, if two system boots reflection is identical, then directly carry out second system boot reflection (step 260), follow-up entering again carried out boot program (step 270); So far finish whole service flow process of the present invention.
Flow process enters into step B, represent that then second system boot reflection can't normally carry out operation, the present invention's this moment just must upgrade second system boot reflection (step 290), wherein upgrade operation and be and video to overriding in (overwrite) second system boot reflection to the Basic Input or Output System (BIOS) internal memory 130 being stored in first system boot on the peripheral storage devices 140, override finish after, this flow process will be got back to abovementioned steps 230 places once again.Like this, can set up computer system 100 when carrying out boot program, the mechanism that can both normally move by the inventive method at every turn.
The present invention is detecting and is upgrading on the method for boot program, to come simple and easy efficiently than the method in the known technology, as for systemic-function square frame (seeing also Fig. 2) in realization the inventive method, also simply many than the systemic-function square frame (seeing also Fig. 1) in the known technology, the present invention only needs to carry out executable operations control by 110 pairs of Basic Input or Output System (BIOS) internal storage locations 130 of CPU (central processing unit) and peripheral storage devices 140 in computer system 100 can realize the inventive method.
Though the present invention with aforesaid preferred embodiment openly as above; but it is not in order to limit the present invention; any person skilled in the art; without departing from the spirit and scope of the present invention; when can doing suitable change and retouching, so protection scope of the present invention is when being as the criterion with the determined scope of claim.

Claims (10)

1, a kind of Basic Input or Output System (BIOS) detects and renewal boot program method, when computer system is started shooting at every turn to storage device and internal memory in the start reflection of start regional address detect comparison, and can provide and optionally upgrade boot program, and the reflection of the start in the renewal storage device, it is characterized in that this method comprises the following step:
Upgrade the answer program code by one and start boot program;
Read the one first system boot reflection that a peripheral storage devices stores;
Read the one second system boot reflection of a Basic Input or Output System (BIOS) memory storage;
This second ultimate system reflection is complete, carries out the comparison of this first system boot reflection and this second system boot reflection; And
Video when inequality when two system boots, carry out the following step:
Upgrade this first system boot reflection; And
Carry out this second system boot reflection, enter the execution boot program.
2, Basic Input or Output System (BIOS) as claimed in claim 1 detects and upgrades the boot program method, it is characterized in that this peripheral storage devices is a hard disk.
3, Basic Input or Output System (BIOS) as claimed in claim 1 detects and upgrades the boot program method, it is characterized in that, saves as a voltage cancelling programmble read only memory PROM in this Basic Input or Output System (BIOS).
4, Basic Input or Output System (BIOS) as claimed in claim 1 detects and upgrades the boot program method, it is characterized in that, this Basic Input or Output System (BIOS) internal memory includes this second system boot reflection block at least and the program code block is replied in this renewal.
5, Basic Input or Output System (BIOS) as claimed in claim 1 detects and renewal boot program method, it is characterized in that this first system boot reflection and this second system boot reflection are the program image of the required Basic Input or Output System (BIOS) test of computer system power-on.
6, Basic Input or Output System (BIOS) as claimed in claim 1 detects and upgrades the boot program method, it is characterized in that, this method also comprises when this second system boot reflection imperfect, carries out the step of upgrading this second system boot reflection.
7, Basic Input or Output System (BIOS) as claimed in claim 5 detects and renewal boot program method, it is characterized in that, this carries out the step of upgrading this second system boot reflection, is this first system boot reflection that this peripheral storage devices stores is override to this second system boot reflection of this Basic Input or Output System (BIOS) internal memory.
8, Basic Input or Output System (BIOS) as claimed in claim 1 detects and upgrades the boot program method, it is characterized in that, this method also comprises when two system boots videos when identical execution the following step:
Carry out this second system boot reflection; And
Enter the execution boot program.
9, Basic Input or Output System (BIOS) as claimed in claim 1 detects and renewal boot program method, it is characterized in that, this method also comprises at least can carry out the step of this first system boot image update by outer peripheral storage device transmission and the mode of utilizing a computer network to download.
10, Basic Input or Output System (BIOS) as claimed in claim 9 detects and upgrades the boot program method, it is characterized in that this computer network includes spider lines and wireless network at least.
CN 02155706 2002-12-03 2002-12-03 Boot program method for detecting and updating basic input and output system Expired - Lifetime CN1288563C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02155706 CN1288563C (en) 2002-12-03 2002-12-03 Boot program method for detecting and updating basic input and output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02155706 CN1288563C (en) 2002-12-03 2002-12-03 Boot program method for detecting and updating basic input and output system

Publications (2)

Publication Number Publication Date
CN1504888A true CN1504888A (en) 2004-06-16
CN1288563C CN1288563C (en) 2006-12-06

Family

ID=34236040

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02155706 Expired - Lifetime CN1288563C (en) 2002-12-03 2002-12-03 Boot program method for detecting and updating basic input and output system

Country Status (1)

Country Link
CN (1) CN1288563C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713144A (en) * 2004-06-22 2005-12-28 鸿友科技股份有限公司 Firmwave storage medium and method thereof
CN100359469C (en) * 2005-07-22 2008-01-02 上海华为技术有限公司 Upgrading method for one-chip computer
CN100416448C (en) * 2005-08-25 2008-09-03 深圳市研祥智能科技股份有限公司 Computer system and its layout method
CN101339513B (en) * 2007-07-06 2010-06-09 华硕电脑股份有限公司 Basic input/ output system data update method
CN101907994A (en) * 2009-06-08 2010-12-08 鸿富锦精密工业(深圳)有限公司 Method for loading display card BIOS
CN101639877B (en) * 2008-07-30 2011-06-22 和硕联合科技股份有限公司 Electronic device and method for updating basic input and output system thereof
CN102591767A (en) * 2011-12-31 2012-07-18 曙光信息产业股份有限公司 Indicating device for program process of Basic Input Output System (BIOS)
CN102609275A (en) * 2011-01-20 2012-07-25 精英电脑股份有限公司 BIOS updating system and method thereof
CN109491825A (en) * 2018-11-16 2019-03-19 Oppo广东移动通信有限公司 A kind of method, apparatus, storage medium and the terminal of positioning booting abnormal problem

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908439B (en) * 2017-11-16 2019-05-10 深圳华盟工程再担保有限公司 The operation and guard method of a kind of large data processing software on movable storage device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713144A (en) * 2004-06-22 2005-12-28 鸿友科技股份有限公司 Firmwave storage medium and method thereof
CN100359469C (en) * 2005-07-22 2008-01-02 上海华为技术有限公司 Upgrading method for one-chip computer
CN100416448C (en) * 2005-08-25 2008-09-03 深圳市研祥智能科技股份有限公司 Computer system and its layout method
CN101339513B (en) * 2007-07-06 2010-06-09 华硕电脑股份有限公司 Basic input/ output system data update method
CN101639877B (en) * 2008-07-30 2011-06-22 和硕联合科技股份有限公司 Electronic device and method for updating basic input and output system thereof
CN101907994A (en) * 2009-06-08 2010-12-08 鸿富锦精密工业(深圳)有限公司 Method for loading display card BIOS
CN102609275A (en) * 2011-01-20 2012-07-25 精英电脑股份有限公司 BIOS updating system and method thereof
CN102591767A (en) * 2011-12-31 2012-07-18 曙光信息产业股份有限公司 Indicating device for program process of Basic Input Output System (BIOS)
CN102591767B (en) * 2011-12-31 2015-11-25 曙光信息产业股份有限公司 The indicating device of basic input-output system BIOS program process
CN109491825A (en) * 2018-11-16 2019-03-19 Oppo广东移动通信有限公司 A kind of method, apparatus, storage medium and the terminal of positioning booting abnormal problem
CN109491825B (en) * 2018-11-16 2022-08-23 Oppo广东移动通信有限公司 Method, device, storage medium and terminal for positioning abnormal starting problem

Also Published As

Publication number Publication date
CN1288563C (en) 2006-12-06

Similar Documents

Publication Publication Date Title
US5715456A (en) Method and apparatus for booting a computer system without pre-installing an operating system
US6636958B2 (en) Appliance server with a drive partitioning scheme that accommodates application growth in size
CN1174307C (en) Method, system and computer readable storage medium for automatic device driver
TW454147B (en) Recoverable software installation process and apparatus for a computer system
US20080109676A1 (en) Processing device and storage medium
US20010039612A1 (en) Apparatus and method for fast booting
US7490318B2 (en) Computer platform operating system compatibility management method and system
EP2040162A1 (en) Systems and methods for patching computer programs
CN1288563C (en) Boot program method for detecting and updating basic input and output system
US7434042B2 (en) Apparatus, method and recording medium for starting up data processing system
US7080247B2 (en) System and method for automated display driver management
TWI450090B (en) Method and system of changing a startup list of programs to determine whether computer system performance increases
TWI498822B (en) Electronic device for bios updatable and bios updating method thereof
CN111796882A (en) Electronic equipment system processing method and device and electronic equipment
CN100410879C (en) Application programme detecting and installing method
CN104866397A (en) Computer System And Control Method
CN1261876C (en) Device with function of updating and detecting BIOS
CN1121009C (en) Method and system of preselecting operation system loaded in subsequent boot process
CN1183451C (en) BIOS updating method of computer system
CN100410893C (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
CN2563637Y (en) Starting up operation system device of computer host
CN1198209C (en) PC system and method for protecting BIOS
CN101097519A (en) Computer system capable of rapidly using hard disk data
CN1952890B (en) Starting method of computer and computer apparatus using the same
US7389442B1 (en) Apparatus and method for self diagnosis, repair, removal by reversion of computer problems from desktop and recovery from booting or loading of operating system errors by removable media

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
CX01 Expiry of patent term

Granted publication date: 20061206

CX01 Expiry of patent term