CN1797335A - Method for expanding function of basic input / output system - Google Patents

Method for expanding function of basic input / output system Download PDF

Info

Publication number
CN1797335A
CN1797335A CN 200410103575 CN200410103575A CN1797335A CN 1797335 A CN1797335 A CN 1797335A CN 200410103575 CN200410103575 CN 200410103575 CN 200410103575 A CN200410103575 A CN 200410103575A CN 1797335 A CN1797335 A CN 1797335A
Authority
CN
China
Prior art keywords
bios
function module
applied function
hard disk
module
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.)
Pending
Application number
CN 200410103575
Other languages
Chinese (zh)
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 200410103575 priority Critical patent/CN1797335A/en
Publication of CN1797335A publication Critical patent/CN1797335A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for extending BIOS functions, comprising the steps of: presetting a BIOS call module in the BIOS, setting application functional module in a hard disc; the BIOS runs the BIOS call module; the BIOS call module calls the application functional module; the application functional module executes application. The invention extremely improves BIOS developing flexibility and reduces the burdens of BIOS manufactures and the costs. The invention can also remarkably raise developing efficiency.

Description

A kind of method of expanding function of basic input/output system
Technical field
The invention belongs to computer application field, the method for particularly a kind of expansion Basic Input or Output System (BIOS) (BIOS) function.
Background technology
At present, very general to the exploitation of computer utility (application), and also the form of computer utility is also more and more diversified.Present a lot of computer utilitys do not need the support of operating system, but these computer utilitys generally all need the cooperation of BIOS to realize.For example: guiding is with form (Windows) the operating system while of using always and exist other operating system on the hard disk to need cooperating of BIOS; Select the cooperation that enters different computer utility needs BIOS according to different user's Starting mode; Switching the cooperation that needs BIOS between a plurality of operating systems or between a plurality of computer utility smoothly.In order to realize these computer utilitys, need expand the function of BIOS.The function of mainly coming expanded BIOS in the prior art by direct modification BIOS.This mode of directly BIOS being made amendment has following shortcoming:
1. because software architecture, development environment and the development language of BIOS have suitable difficulty concerning common developer, common developer is difficult to directly BIOS be developed, and has to allow BIOS manufacturer develop.This just causes the BIOS exploitation very dumb, can increase the weight of the burden of BIOS manufacturer simultaneously and increase cost of development.
2. BIOS is directly made amendment and bios code need be stored in the BIOS storage chip, and the finite capacity of BIOS storage chip and very valuable, if therefore the long bios code of being developed of application need supports, then can take a large amount of storage spaces of BIOS storage chip, thereby have to strengthen the capacity of BIOS storage chip, this also can increase cost.
3. in the process that development computer is used, if the requirement specification of computer utility changes or finds that computer utility situations such as defective occur and all needs BIOS is made amendment, therefore this development scheme may frequently be revised BIOS, can not guarantee the integrality of BIOS, and can bring a large amount of BIOS test job amounts and reduce development efficiency.
Summary of the invention
In view of this, fundamental purpose of the present invention is the method that proposes a kind of expanded BIOS function, to improve the dirigibility of BIOS exploitation.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of method of expanded BIOS function, this method are provided with the BIOS calling module in advance, applied function module are set in hard disk in BIOS, this method further may further comprise the steps:
After A, BIOS finish hardware detection and initialization, move described BIOS calling module;
B, described BIOS calling module call described applied function module;
C, described applied function module are carried out and are used.
The described applied function module that is provided with in hard disk is: in the protection subregion of hard disk applied function module is set.
The described applied function module that is provided with in hard disk is: from hard disk (SS) applied function module is set from hard disk (PS) or second Primary Hard Drive (SM) or second at first Primary Hard Drive (PM) or first.
This method further comprises: between steps A and step B, BIOS further judges whether to find described applied function module, if execution in step B then, otherwise finish.
Described BIOS judges whether to find applied function module to be: all hard disks of BIOS circulation searching are to judge whether finding described applied function module or BIOS to search first hard disk to judge whether finding described applied function module or BIOS to search specific hard disk to judge whether to find described applied function module.
The described applied function module of step C is carried out and is applied as: described applied function module operation system.
Described operating system is UNIX operating system or LINUX operating system or form Windows operating system or disc operating system (DOS) (DOS).
The described applied function module of step C is carried out and is applied as: the applied function module operation does not rely on the application of operating system.
The described applied function module of step C is carried out and is applied as: described applied function module executive operating system is recovered standby functions.
This method further comprises: BIOS finishes in steps A after described hardware detection and the initialization, prepare the BIOS parameter list before the described BIOS calling module of operation in steps A, described applied function module further reads described BIOS parameter list between step B and step C; Applied function module is carried out according to described BIOS parameter list and is used among the step C.
Described parameter list comprises user's input information, and step C is: applied function module is carried out and the corresponding application of described user's input information.
From above technical scheme as can be seen: the present invention is provided with the BIOS calling module in advance, applied function module is set in hard disk in BIOS; BIOS at first moves the BIOS calling module, and the BIOS calling module calls applied function module again, is carried out by applied function module then and uses, to finish concrete application function.Therefore, the present invention has expanded the BIOS function by BIOS calling module and applied function module are matched, and because applied function module is arranged in hard disk rather than BIOS, so those of ordinary skill can directly develop or revise applied function module in hard disk, does not need directly BIOS to be made amendment.Therefore the present invention greatly improves the dirigibility of BIOS exploitation, and has reduced the burden of BIOS manufacturer significantly.
Simultaneously,, and do not need to carry out concrete application function,, can't take the too much capacity of BIOS storage chip so the BIOS calling module is very little because the BIOS calling module only need call applied function module.And behind application the present invention, in the exploitation to the expanded function of BIOS, do not need directly BIOS to be made amendment, therefore can not produce bios code, also can not take the storage space of BIOS chip.So compare with prior art, the present invention has reduced the demand to the BIOS storage chip, from and greatly reduced cost.
After using the present invention, in the process that development computer is used, if the requirement specification of computer utility changes or finds the computer utility defectiveness, can directly in applied function module, make amendment, and do not need BIOS is directly made amendment, so compare with prior art, can not produce a large amount of BIOS test job amounts behind application the present invention, thereby improve development efficiency significantly.
Description of drawings
Fig. 1 is the process flow diagram of expanded BIOS function of the present invention.
Fig. 2 is the process flow diagram of expanded BIOS function according to an embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention express clearlyer, the present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Main thought of the present invention is the BIOS calling module to be set in BIOS in advance, applied function module is set in hard disk.The BIOS calling module is embedded among the BIOS, is used to call applied function module; Applied function module is positioned at hard disk, is used to carry out concrete application.Because applied function module is arranged in hard disk rather than BIOS, so those of ordinary skill can directly develop or revise applied function module, does not need directly in BIOS, to make amendment, thereby can improve the dirigibility of BIOS exploitation.
Fig. 1 is the process flow diagram of expanded BIOS function of the present invention.The BIOS calling module is set in BIOS at first in advance, applied function module is set in hard disk.The BIOS calling module is embedded among the BIOS, is used to call applied function module; Applied function module is positioned at hard disk, is used to carry out concrete application.Can in PM, PS, SM or SS, applied function module be set here.Preferably, in the protection subregion of hard disk, applied function module is set, to avoid destroying applied function module owing to user's regular job.
As shown in Figure 1, this method is further comprising the steps of:
After step 101:BIOS finishes hardware detection and initialization, BIOS operation BIOS calling module.
After BIOS starts, just begin to carry out the BIOS boot system and detect (POST) flow process.In the BIOSPOST flow process, BIOS is detection hardware and finish various initial work at first.After having detected hardware and having finished various initial work, the BIOS operation is embedded into BIOS calling module wherein.
Step 102:BIOS calling module calls applied function module.
After the BIOS calling module was moved, the BIOS calling module just began to call applied function module.Here, the BIOS calling module at first need find applied function module in hard disk, just can call applied function module then.The BIOS calling module is searched applied function module in hard disk mode can have multiple, can set the mode of searching applied function module in advance in the BIOS calling module.The mode of searching applied function module in hard disk includes, but are not limited to: the BIOS calling module can all hard disks of circulation searching, to search applied function module; The BIOS calling module also can only be searched specific hard disk, to search applied function module; The BIOS calling module can also only be searched detected first hard disk, to search applied function module.If applied function module is to be kept in the protection subregion of hard disk, then at first needs to open the protection subregion of hard disk, and then in the protection subregion, seek applied function module.In the protection subregion, can seek applied function module by modes such as the address that specifies Offsets, special marking, partition tables.If hard disk is not protected subregion, then directly in hard disk, seek applied function module.After finding applied function module, the BIOS calling module then just calls applied function module.
Step 103: applied function module is carried out and is used.
After applied function module is called, just carry out concrete application.These application include, but are not limited to: opening operation system, executive operating system are recovered standby functions, the operation multimedia is appreciated concrete application such as application.And, if desired applied function module is made amendment, can directly on hard disk, make amendment, need in BIOS, not make amendment.
When comprising in the applied function module when being no less than one application, in advance that these application in the applied function module are corresponding with user's input information.The user at first the BIOS in step 101 finish after hardware detection and the initialization, input information before the operation BIOS calling module in step 101, BIOS is kept at internal memory with this input information, read internal memory at step 103 applied function module then, obtain user's input information, and carry out corresponding concrete application according to user's input information.
The present invention will be described in more detail with a concrete example below.
On a lot of computing machines Windows operating system is installed all, and other operating systems or application except that Windows also can be installed on many computing machines, to provide value added service to the user.For example: supposing to be equipped with on the computing machine with Linux is the multimedia appreciation application of operating system.Simultaneously, this computing machine also is equipped with the application that is used for operating system is backed up recovery, with backup user's operating system commonly used and data or carry out system recovery after user's operating system commonly used is damaged.(SuSE) Linux OS and this backup recover to use and all are installed in the protected location of hard disk; invisible under the normal condition to the user; to guarantee that farthest linux system and this backup recover the safety of using, avoid damaging linux system and this backup and recover to use because of user's regular job.
Based on Fig. 1, Fig. 2 is the process flow diagram of expanded BIOS function according to an embodiment of the invention.The BIOS calling module be set at first in advance, applied function module is set, and setting in advance the user, to push button that F1 represents to start with Linux be that the multimedia of operating system appreciate to be used that the F2 that pushes button represents to start backup and recovers to use in hard disk in BIOS.Wherein, the BIOS calling module is embedded among the BIOS, is used to call applied function module; Applied function module is positioned at hard disk, is used to carry out concrete application, comprises carrying out application and the backup recovery application that multimedia is appreciated.As shown in Figure 2, further comprising the steps of:
Step 201: hardware detection and initialization, and prepare the BIOS parameter list.
BIOS at first finishes hardware detection and various initialization after starting.BIOS prepares parameter list simultaneously, and deposits parameter list in internal memory.Comprise in the parameter list that needed various hardware informations are used in startup and the user is used to select the concrete user's input information of using.Preferably, the key information pressed for the user of this user's input information.Start the needed hardware information of application and can comprise hard disk port, hard disk size, CD-ROM drive type, mouse type etc.
Step 202:BIOS operation is embedded into BIOS calling module wherein.
Step 203:BIOS calling module judges whether to find applied function module, if then execution in step 204 and subsequent step thereof, otherwise execution in step 208 and finishing.
Here, the BIOS calling module can be searched for applied function module in many ways.For example: the BIOS calling module can all hard disks of circulation searching, to search applied function module; The BIOS calling module also can only be searched the hard disk of formulation, to search applied function module; The BIOS calling module can also only be searched detected first hard disk, to search applied function module.If applied function module is to be kept in the protection subregion of hard disk, then at first needs to open the protection subregion of hard disk, and seek applied function module in the subregion, if do not protect subregion then directly in hard disk, seek applied function module in protection.
Step 204:BIOS calling module calls applied function module.
After finding applied function module, BIOS just calls applied function module.
Step 205: applied function module reads the BIOS parameter list.
Applied function module at first obtains the BIOS parameter list from internal memory, and obtains user's input information and start and use needed hardware information.
Step 206: applied function module has judged whether and the corresponding application of user's input information that according to user's input information if having then execution in step 207 and end, otherwise execution in step 208 also finishes.
Step 207: applied function module is carried out and the corresponding application of user's input information.
Applied function module can be carried out the application that the user selectes according to hardware information that obtains and key information.That suppose that the user presses is button F1, and then the BIOS calling module at first starts (SuSE) Linux OS, and moving this then is that the multimedia of operating system is appreciated and being used with Linux; That suppose that the user presses is button F2, and then the BIOS calling module starts backup and recovers to use.
Step 208: return BIOS POST flow process.
Generally speaking, carry out flow process of the present invention, can carry out various application smoothly to guarantee applied function module in the final stage of BIOS POST flow process.But, not necessarily need when the operation of the performed application of applied function module under the situation of complete execution BIOS POST flow process, as long as can guarantee that the function of applied function module is enough to realize, also can in the pilot process of carrying out BIOS POST flow process, carry out the present invention.
In the above process, BIOS prepares the BIOS parameter list in step 201, and the BIOS calling module starts concrete application according to the BIOS parameter list in step 207.Optionally, according to concrete application demand, if do not need application is selected, and start to use and also not need special parameter, then BIOS also can not prepare parameter list in step 201.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1, a kind of method of expanding the basic input-output system BIOS function is characterized in that, this method is provided with the BIOS calling module in advance, applied function module is set in hard disk in BIOS, and this method further may further comprise the steps:
After A, BIOS finish hardware detection and initialization, move described BIOS calling module;
B, described BIOS calling module call described applied function module;
C, described applied function module are carried out and are used.
2, method according to claim 1 is characterized in that, the described applied function module that is provided with in hard disk is: in the protection subregion of hard disk applied function module is set.
3, method according to claim 1 is characterized in that, the described applied function module that is provided with in hard disk is: from hard disk SS applied function module is set from hard disk PS or the second Primary Hard Drive SM or second at the first Primary Hard Drive PM or first.
4, method according to claim 1 is characterized in that, this method further comprises: between steps A and step B, BIOS further judges whether to find described applied function module, if execution in step B then, otherwise finish.
5, method according to claim 4, it is characterized in that described BIOS judges whether to find applied function module to be: all hard disks of BIOS circulation searching are to judge whether finding described applied function module or BIOS to search first hard disk to judge whether finding described applied function module or BIOS to search specific hard disk to judge whether to find described applied function module.
6, method according to claim 1 is characterized in that, the described applied function module of step C is carried out and is applied as: described applied function module operation system.
7, method according to claim 6 is characterized in that, it is characterized in that, described operating system is UNIX operating system or LINUX operating system or form Windows operating system or disc operating system (DOS) DOS.
8, method according to claim 1 is characterized in that, it is characterized in that, the described applied function module of step C is carried out and is applied as: the applied function module operation does not rely on the application of operating system.
9, method according to claim 1 is characterized in that, the described applied function module of step C is carried out and is applied as: described applied function module executive operating system is recovered standby functions.
10, method according to claim 1, it is characterized in that, this method further comprises: BIOS finishes in steps A after described hardware detection and the initialization, prepare the BIOS parameter list before the described BIOS calling module of operation in steps A, described applied function module further reads described BIOS parameter list between step B and step C; Applied function module is carried out according to described BIOS parameter list and is used among the step C.
11, method according to claim 9 is characterized in that, described parameter list comprises user's input information, and step C is: applied function module is carried out and the corresponding application of described user's input information.
CN 200410103575 2004-12-30 2004-12-30 Method for expanding function of basic input / output system Pending CN1797335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410103575 CN1797335A (en) 2004-12-30 2004-12-30 Method for expanding function of basic input / output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410103575 CN1797335A (en) 2004-12-30 2004-12-30 Method for expanding function of basic input / output system

Publications (1)

Publication Number Publication Date
CN1797335A true CN1797335A (en) 2006-07-05

Family

ID=36818385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410103575 Pending CN1797335A (en) 2004-12-30 2004-12-30 Method for expanding function of basic input / output system

Country Status (1)

Country Link
CN (1) CN1797335A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508743A (en) * 2011-11-10 2012-06-20 武汉噢易科技有限公司 Multi-point backup and real-time protection method for Linux file system
CN103353929A (en) * 2013-07-31 2013-10-16 山东超越数控电子有限公司 Method for adding and checking ID card information in basic input/output system (BIOS) initiating process
CN103778036A (en) * 2012-10-22 2014-05-07 中国人民解放军91655部队 Method for safely and quickly obtaining feature codes through extended BIOS
CN104516742A (en) * 2013-09-26 2015-04-15 联想(北京)有限公司 Information processing method and electronic device
CN107479936A (en) * 2017-08-28 2017-12-15 深圳市橙方智能科技有限公司 A kind of cross-platform function expansion component

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508743A (en) * 2011-11-10 2012-06-20 武汉噢易科技有限公司 Multi-point backup and real-time protection method for Linux file system
CN102508743B (en) * 2011-11-10 2014-06-04 武汉噢易科技有限公司 Multi-point backup and real-time protection method for Linux file system
CN103778036A (en) * 2012-10-22 2014-05-07 中国人民解放军91655部队 Method for safely and quickly obtaining feature codes through extended BIOS
CN103353929A (en) * 2013-07-31 2013-10-16 山东超越数控电子有限公司 Method for adding and checking ID card information in basic input/output system (BIOS) initiating process
CN104516742A (en) * 2013-09-26 2015-04-15 联想(北京)有限公司 Information processing method and electronic device
CN107479936A (en) * 2017-08-28 2017-12-15 深圳市橙方智能科技有限公司 A kind of cross-platform function expansion component
CN107479936B (en) * 2017-08-28 2023-06-20 杭州来布科技有限公司 Cross-platform function expansion assembly

Similar Documents

Publication Publication Date Title
CN1286012C (en) Method for recovering and backing up information in hard disc of computer
CN1163824C (en) Fast startor and method
CN1848087A (en) Using usb memory device to recover operating system
CN101038551A (en) Method for implementing the start of Linux operation system in mobile hard disk
CN1825283A (en) Method for implementing hardware image starting optimizing of embedded operating system
CN1797342A (en) Apparatus and method for incremental package deployment
CN1959640A (en) System and method for representing user process to software package in software package management system
CN1567262A (en) On-line data backup method based on data volume snapshot
CN1993676A (en) Method and apparatus for discovering hardware in a data processing system
CN1766883A (en) Switch the method and the computer system of the file that will visit based on confidential mode
CN1877539A (en) Data backup/recovery system under cold start mode and implementing method therefor
CN1704903A (en) Snapshot backup method
CN1728106A (en) Method for positioning malfunction of application program
CN101059768A (en) System and method for implementing operating system standby
CN100461103C (en) Drive program loading system and system
CN101051283A (en) Hard disc data backup system and method
CN1858714A (en) Method for preventing and resolving data from lossing
CN1797335A (en) Method for expanding function of basic input / output system
CN1262921C (en) Method for computer starting and multiple operation system switching
CN101373457B (en) Hard disk write-protection lock based on USB equipment under Windows environment
CN1276349C (en) Method for mirror backup of cluster platform cross parallel system
CN1818824A (en) High-reliable personal computer and operating system thereof
CN100336036C (en) Multiple operating system boot loading method
CN1916814A (en) Method for sending command to portable storage device
CN1484152A (en) Method and device for restoring computer operation system and method for producing said 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication