[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102455919A - Automatic optimization setting method for basic input/output system - Google Patents

Automatic optimization setting method for basic input/output system Download PDF

Info

Publication number
CN102455919A
CN102455919A CN2010105218230A CN201010521823A CN102455919A CN 102455919 A CN102455919 A CN 102455919A CN 2010105218230 A CN2010105218230 A CN 2010105218230A CN 201010521823 A CN201010521823 A CN 201010521823A CN 102455919 A CN102455919 A CN 102455919A
Authority
CN
China
Prior art keywords
operating system
value
bios
basic input
prediction value
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
CN2010105218230A
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2010105218230A priority Critical patent/CN102455919A/en
Publication of CN102455919A publication Critical patent/CN102455919A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

An automatic optimization setting method for BIOS is suitable for setting a computer system and comprises: when a basic input output system is in a power-on self-detection state, a predicted value of a running operating system is obtained from a memory. Obtaining a system optimum setting parameter corresponding to the predicted value of the operating system. Automatically setting the computer system according to the optimal setting parameters of the system. Executing a boot program to start an operating system. An operating system value of the operating system is obtained. And comparing the operating system value with the operating system predicted value, and generating a system setting warning when the operating system value is not equal to the operating system predicted value. And updating the running operating system predicted value, and taking the operating system value as the updated running operating system predicted value in the memory.

Description

Basic Input or Output System (BIOS) self-optimization establishing method
Technical field
The invention relates to a kind of system automatic setting method, and particularly relevant for a kind of Basic Input or Output System (BIOS) when start oneself detects, according to the operating system kenel of being moved, the method that self-optimization is set.
Background technology
Operating system (Operating System is called for short OS) is the program of a management computer hardware and software resource, also is the core and the foundation stone of computer system simultaneously.Operating system is born such as atomic transactions such as management and configuration network and administer archive systems.Operating system also provides an operation interface that lets user and system mutual.
Operating system is from early stage literal interface graphical interfaces up till now, and its development is closely bound up with computer hardware, and the framework of different computers is also supported different operating systems.The opinion with present desktop computer then has multiple different operating systems can select to install.And different operating systems also can have preferable performance in different field.Therefore, along with the capacity of storage device is more and more big, the user can be along with actual needs, and on a host computer, more than one operating system are installed.
When computer system is equipped with a plurality of operating systems, when computer system boot-strap, provide one to select inventory to let a user select.When the user selects to start wherein an operating system,, also must further in the setting option that computer system provided, manually set basic input/output system according to selected operating system kenel.Yet, when the default set of options relevant with operating system not at that time, tend to make the operational effectiveness variation of computer system.In addition, often when start, when starting different operating systems, when the user must detect the start oneself of Basic Input or Output System (BIOS), go to select correct setting option, reduce ease of use thus.Moreover, as user during, can't set for the related system of the operating system of selected startup and do correct choice, thereby increase manual operation mistake probability for operating system cognitive not enough.
Summary of the invention
The present invention provides a kind of Basic Input or Output System (BIOS) self-optimization establishing method, can reduce the computer system operation complexity, improves ease of use and reduce the manual operation mistake.
The present invention proposes a kind of Basic Input or Output System (BIOS) self-optimization establishing method and is applicable to setting one computer system, comprising: when a start oneself of a Basic Input or Output System (BIOS) detects, from a storer, obtain an operation system prediction value.Obtain system's optimal setting parameter of corresponding this operation system prediction value.According to this system's optimal setting parameter, this computer system of automatic setting.Carry out a boot program to start an operating system.Obtain an operating system value of this operating system.Compare this operating system value and this operation system prediction value, when this operating system value is not equal to this operation system prediction value, produce default warning.Upgrade this operation system prediction value, with this operating system value as this operation system prediction value after upgrading in this storer.
In one embodiment of this invention; Above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method; The step that wherein obtains this operating system value of this operating system comprises: by advance the inquiry of rank configuration and power supply interface driver to one of this operating system, to obtain an operating system word string.According to this operating system word string,, obtain this operating system value of this operating system with correspondence with reference to comparison list.
In one embodiment of this invention; Above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method; The step of wherein comparing this operating system value and this operation system prediction value comprises: import this operating system value into a system management interrupt handling procedure via an input and output data port, and trigger a system management interrupt to get into a SMM.Under this SMM, this operation system prediction value in this system management interrupt handling procedure this operating system value of comparison and this storer.
In one embodiment of this invention, above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method, wherein when this operating system value was not equal to this operation system prediction value, this system management interrupt handling procedure produced this default warning.
In one embodiment of this invention, above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method, it is performed by this system management interrupt handling procedure wherein upgrading this operation system prediction value.
In one embodiment of this invention, above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method also comprises: after upgrading this operation system prediction value, jump out this SMM.
In one embodiment of this invention, above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method, the step of wherein jumping out this SMM comprises that carrying out one replys instruction.
In one embodiment of this invention, above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method, wherein this storer is a nonvolatile RAM.
In one embodiment of this invention; Above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method also comprises: after upgrading this operation system prediction value, carry out this boot program again; And according to this operation system prediction value after upgrading, this computer system of automatic setting.
In one embodiment of this invention, above-mentioned Basic Input or Output System (BIOS) self-optimization establishing method, wherein this operation system prediction value is last time an operation system value or a systemic presupposition operating system value.
Based on above-mentioned, among the present invention, the operating system of subnormal operation before the record, and with this when starting shooting next time, the foundation that starts the operating system.When the start oneself of Basic Input or Output System (BIOS) detects, according to the operating system predicted value that is stored in the storer, obtain the optimal setting parameter of corresponding Basic Input or Output System (BIOS), and with this automatic setting computer system.Therefore can eliminate the computer system relevant and set option, reduce complicated operation degree, the raising ease of use of computer system and reduce the manual operation mistake with the operating system kenel.
Description of drawings
For let above-mentioned purpose of the present invention, feature and advantage can be more obviously understandable, elaborate below in conjunction with the accompanying drawing specific embodiments of the invention, wherein:
Fig. 1 is a kind of Basic Input or Output System (BIOS) self-optimization establishing method general flow chart according to one embodiment of the invention.
Fig. 2 is the synoptic diagram according to a computer system of the application Basic Input or Output System (BIOS) self-optimization establishing method of one embodiment of the invention.
Fig. 3 is the steps flow chart sketch according to the operating system value that obtains operating system of one embodiment of the invention.
Fig. 4 is according to the comparison operating system value of one embodiment of the invention and the steps flow chart sketch of operation system prediction value.
The main element symbol description:
S101~S141, S301~S305, S401~S405: method flow step
202: the start oneself of Basic Input or Output System (BIOS) detects
204: storer
204a: operation system prediction field
206: operating system
208: chipset
210: the system management interrupt handling procedure
212: CPU
Embodiment
Fig. 1 is a kind of Basic Input or Output System (BIOS) self-optimization establishing method general flow chart according to one embodiment of the invention.Fig. 2 is the synoptic diagram according to a computer system of the application Basic Input or Output System (BIOS) self-optimization establishing method of one embodiment of the invention.Please with reference to Fig. 1 and Fig. 2; In step S101, and a Basic Input or Output System (BIOS) (Basic Input Output System, start oneself BIOS) detects (Power-On Self Test; POST) 202 o'clock, from a storer 204, obtain an operation system prediction value.Above-mentioned storer 204 for example be a nonvolatile RAM (Non-Volatile Random Access Memory, NVRAM).And above-mentioned operation system prediction value for example is to be stored among the operation system prediction field 204a of storer 204.In present embodiment, this operation system prediction value for example is x.
In addition, in an embodiment, above-mentioned operation system prediction value can be the last time operating system value of operation system.Yet; When not having last time operation system record when the first start of computer system; Then the operation system prediction field 204a of storer 204 shows when operation system prediction value is zero, then with the operating system value of systemic presupposition operating system (default operating system) as this operation system prediction value.
In addition, above-mentioned operating system value can be by with reference to comparison list, and to mirroring corresponding operating system kenel.For example, the table of comparisons 1 shows several operating system values operating system kenel corresponding with it.
The table of comparisons 1
Figure BSA00000320811300041
Figure BSA00000320811300051
Operating system of being enumerated in the table of comparisons 1 and operating system kenel only are the present invention's one exemplary embodiment, yet the present invention is not limited to this.
Afterwards, in step S105, under start oneself detection 202 states of Basic Input or Output System (BIOS), obtain system's optimal setting parameter of corresponding operation system prediction value.In an embodiment; The above-mentioned system's optimal setting parameter that obtains corresponding operation system prediction value can be by with reference to the comparison list practical implementation; Just in this table of comparisons; Each operation system prediction value is mapping to operating system kenel respectively; And each operating system kenel is mapping one system's optimal setting parameter respectively; And according to the operation system prediction value that is obtained with reference to this table of comparisons, (for example Windows 2008 Server are NUMA-aware operating system, so NUMA (Non-Uniform Memory Access: the nonuniformity storage access) activation is its optimal parameter) can to obtain system's optimal setting parameter that mapping obtains operation system prediction value.
Afterwards; In step S111; Start oneself in Basic Input or Output System (BIOS) detects under 202 states, according to system's optimal setting parameter, automatic setting computer system; The hardware setting of computer system (, being that non-homogeneous storage access distributes) for example and chipset sets is become the system memory addresses space for example according to the parameter of NUMA activation.
Then, in step S115, carry out a boot program to start an operating system 206.Under the operating state of this operating system 206, obtain an operating system value of this operating system 206, in present embodiment, this operating system value for example is y (step S121).
Fig. 3 is the steps flow chart sketch according to the operating system value that obtains operating system of one embodiment of the invention.Please with reference to Fig. 3; In an embodiment; The step that obtains the operating system value y of aforesaid operations system 206 is included under the operating state of this operating system 206; (Advanced Configuration and Power Interface, ACPI) driver 206 inquiries are to obtain an operating system word string (step S301) by advance rank configuration and power interface to one of operating system.More particularly, be exactly AML (ACPI Machine Language) the call program APCI driver of BIOS specific program (APCI method_OS, _ OSI) respond so as to obtaining a word string from the operating system of moving at present 206.This operating system word string (or word string response) for example is the operating system kenel of this operating system 206.Afterwards, according to this operating system word string,, obtain the operating system value (step S305) of operating system 206 with correspondence with reference to comparison list.In this embodiment, this table of comparisons for example is the above-mentioned table of comparisons 1.
Then, please with reference to Fig. 1 and Fig. 2, in step S125, whether decision operation system value y is identical with operation system prediction value x.Fig. 4 is according to the comparison operating system value of one embodiment of the invention and the steps flow chart sketch of operation system prediction value.Please with reference to Fig. 4; In this embodiment; Whether identical step comprises operating system value y via an input and output data port (I/O data port who is positioned at chipset 208 decision operation system value y with operation system prediction value x; IO port B3h for example) imports a system management interrupt handling procedure (System Management Interrupt Handler is designated hereinafter simply as the SMI handling procedure) 210 into, and trigger a software system management and interrupt (Software System Management Interrupt; Software SMI) to get into a SMM (System Management Mode, SMM) (step S401).Just system management interrupt be triggered to CPU (Central Processing Unit, CPU) 212, carry out SMI handling procedures 210 by CPU 212.Said chip group 208 for example is South Bridge chip (south bridge chipset).Afterwards, under SMM, the operation system prediction value x (step S405) in SMI handling procedure 210 comparison operating system value y and the storer 204.
Then; Please with reference to Fig. 1 and Fig. 2; When operating system value y is not equal to operation system prediction value x; SMI handling procedure 210 produces default warning (step S131 for example number shows power light with special kenel flicker), is not to be in optimized computer system set environment, to move to notify the present operating system of being moved of user.If operating system value y equals operation system prediction value x, then proceed next step S135.Same, after step S131 produces the default warning, proceed next step S135.
In step S135, upgrade operation system prediction value, replace the operation system prediction value x in the storer 204 with the operating system value y of the operating system of current operation, the operation system prediction value after just upgrading is y.In an embodiment, it for example is performed by SMI handling procedure 210 upgrading operation system prediction value.In addition, after the step S135 that upgrades operation system prediction value, jump out SMM.The step of wherein jumping out SMM comprises and carries out and one reply that (Resume, RSM) instruction makes CPU 212 leave SMM, and gets back to system management interrupt operating system 206 interrupted program points when taking place.
On the other hand, obtain default warning, and decision is will start shooting again the time the user; Computer system is after receiving again start-up command; Again carry out boot program, and before starting job procedure once more, the start of Basic Input or Output System (BIOS) oneself detects at 202 o'clock; According to the operation system prediction value (for example being y) after upgrading; Obtain system's optimal setting parameter of corresponding operation system prediction value, and then according to system's optimal setting parameter, automatic setting computer system (step S141).Thus, for the job procedure that is started after going through boots, computer system is accomplished system of optimizing and is set to the operating system kenel of the operating system of this startup, therefore can improve the operational effectiveness of operating system.
Among the present invention, the operating system of subnormal operation before the record, and with this when starting shooting next time, the foundation that starts the operating system.When the start oneself of Basic Input or Output System (BIOS) detects, according to the operating system predicted value that is stored in the storer, obtain the optimal setting parameter of corresponding Basic Input or Output System (BIOS), and with this automatic setting computer system.Therefore can eliminate the computer system relevant and set option, reduce complicated operation degree, the raising ease of use of computer system and reduce the manual operation mistake with the operating system kenel.
Though the present invention discloses as above with preferred embodiment; Right its is not that any those skilled in the art are not breaking away from the spirit and scope of the present invention in order to qualification the present invention; When can doing a little modification and perfect, so protection scope of the present invention is when being as the criterion with what claims defined.

Claims (10)

1. a Basic Input or Output System (BIOS) self-optimization establishing method is applicable to and sets a computer system, comprising:
When a start oneself of a Basic Input or Output System (BIOS) detects, from a storer, obtain an operation system prediction value;
Obtain system's optimal setting parameter of corresponding this operation system prediction value;
According to this system's optimal setting parameter, this computer system of automatic setting;
Carry out a boot program to start an operating system;
Obtain an operating system value of this operating system;
Compare this operating system value and this operation system prediction value, when this operating system value is not equal to this operation system prediction value, produce default warning; And
Upgrade this operation system prediction value, with this operating system value as this operation system prediction value after upgrading in this storer.
2. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 1 is characterized in that, the step that obtains this operating system value of this operating system comprises:
By advance the inquiry of rank configuration and power supply interface driver to one of this operating system, to obtain an operating system word string; And
According to this operating system word string,, obtain this operating system value of this operating system with correspondence with reference to comparison list.
3. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 1 is characterized in that, the step of comparing this operating system value and this operation system prediction value comprises:
Import this operating system value into a system management interrupt handling procedure via an input and output data port, and trigger a system management interrupt to get into a SMM; And
Under this SMM, this operation system prediction value in this system management interrupt handling procedure this operating system value of comparison and this storer.
4. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 3 is characterized in that, when this operating system value was not equal to this operation system prediction value, this system management interrupt handling procedure produced this default warning.
5. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 3 is characterized in that, it is performed by this system management interrupt handling procedure upgrading this operation system prediction value.
6. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 3 also comprises:
After upgrading this operation system prediction value, jump out this SMM.
7. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 6 is characterized in that, the step of jumping out this SMM comprises that carrying out one replys instruction.
8. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 1 is characterized in that this storer is a nonvolatile RAM.
9. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 1 also comprises:
After upgrading this operation system prediction value, carry out this boot program again, and according to this operation system prediction value after upgrading, this computer system of automatic setting.
10. Basic Input or Output System (BIOS) self-optimization establishing method as claimed in claim 1 is characterized in that, this operation system prediction value is last time an operation system value or a systemic presupposition operating system value.
CN2010105218230A 2010-10-19 2010-10-19 Automatic optimization setting method for basic input/output system Pending CN102455919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105218230A CN102455919A (en) 2010-10-19 2010-10-19 Automatic optimization setting method for basic input/output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105218230A CN102455919A (en) 2010-10-19 2010-10-19 Automatic optimization setting method for basic input/output system

Publications (1)

Publication Number Publication Date
CN102455919A true CN102455919A (en) 2012-05-16

Family

ID=46039134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105218230A Pending CN102455919A (en) 2010-10-19 2010-10-19 Automatic optimization setting method for basic input/output system

Country Status (1)

Country Link
CN (1) CN102455919A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220053A (en) * 2017-05-25 2017-09-29 联想(北京)有限公司 A kind of BIOS management methods and electronic equipment
CN111651215A (en) * 2020-06-01 2020-09-11 深圳市同泰怡信息技术有限公司 BIOS setting self-adaption method and device, storage medium and computer equipment
US11263024B2 (en) 2017-04-19 2022-03-01 Hewlett-Packard Development Company, L.P. Computers with BIOS optimization
CN115981937A (en) * 2022-12-23 2023-04-18 深圳市章江科技有限公司 Memory automatic testing method and system based on hybrid cloud

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5864698A (en) * 1994-08-24 1999-01-26 Packard Bell Nec Disk based bios
US20040123090A1 (en) * 2002-12-20 2004-06-24 Zimmer Vincent J. Providing access to system management information
CN1716190A (en) * 2004-07-01 2006-01-04 技嘉科技股份有限公司 Optimum regulating method for central processor operation frequency
US20080133901A1 (en) * 2006-12-01 2008-06-05 Dell Products, Lp. System and method of booting an operating system in an optimal performance state
CN101807150A (en) * 2009-02-16 2010-08-18 英业达股份有限公司 Method for installing operation system on computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5864698A (en) * 1994-08-24 1999-01-26 Packard Bell Nec Disk based bios
US20040123090A1 (en) * 2002-12-20 2004-06-24 Zimmer Vincent J. Providing access to system management information
CN1716190A (en) * 2004-07-01 2006-01-04 技嘉科技股份有限公司 Optimum regulating method for central processor operation frequency
US20080133901A1 (en) * 2006-12-01 2008-06-05 Dell Products, Lp. System and method of booting an operating system in an optimal performance state
CN101807150A (en) * 2009-02-16 2010-08-18 英业达股份有限公司 Method for installing operation system on computer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11263024B2 (en) 2017-04-19 2022-03-01 Hewlett-Packard Development Company, L.P. Computers with BIOS optimization
CN107220053A (en) * 2017-05-25 2017-09-29 联想(北京)有限公司 A kind of BIOS management methods and electronic equipment
CN107220053B (en) * 2017-05-25 2020-10-27 联想(北京)有限公司 BIOS management method and electronic equipment
CN111651215A (en) * 2020-06-01 2020-09-11 深圳市同泰怡信息技术有限公司 BIOS setting self-adaption method and device, storage medium and computer equipment
CN115981937A (en) * 2022-12-23 2023-04-18 深圳市章江科技有限公司 Memory automatic testing method and system based on hybrid cloud

Similar Documents

Publication Publication Date Title
US7237238B2 (en) Method and apparatus for automated operating systems upgrade
US8751783B2 (en) Booting computing devices with EFI aware operating systems
USRE40092E1 (en) Method for quickly booting a computer system
CN101814035B (en) Method and system to enable fast platform restart
US9910664B2 (en) System and method of online firmware update for baseboard management controller (BMC) devices
US9240924B2 (en) Out-of band replicating bios setting data across computers
RU2630171C2 (en) Method of initialization of computer system with plurality of central processors
CN1262480A (en) Method and device for mounting restorable software of computer system
US20220214945A1 (en) System Booting Method and Apparatus, Node Device, and Computer-Readable Storage Medium
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
US11030047B2 (en) Information handling system and method to restore system firmware to a selected restore point
EP3614258B1 (en) Retrieving updated firmware code
US11704198B2 (en) Method and apparatus for providing recovery from a computing device boot up error
CN107135462B (en) Bluetooth pairing method of UEFI firmware and computing system thereof
TWI478061B (en) Method for updating firmware
CN102455919A (en) Automatic optimization setting method for basic input/output system
TW202131170A (en) Firmware corruption recovery
US20050223209A1 (en) Apparatus for fast booting computer and method for the same
US20190068772A1 (en) Computer system and method thereof for bluetooth data sharing between uefi firmware and os
CN111078469A (en) Data processing method and data processing equipment
US20120096253A1 (en) Method for automatically setting up system
TWI518594B (en) Computer system and activation method for computer system
CN106095643A (en) The establishing method of systematic parameter access and server thereof
CN113821265B (en) Operating system control method and device, computer mainboard and readable storage medium
US8850174B1 (en) Method for dedicated netboot

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120516