CN107220053A - A kind of BIOS management methods and electronic equipment - Google Patents

A kind of BIOS management methods and electronic equipment Download PDF

Info

Publication number
CN107220053A
CN107220053A CN201710379703.3A CN201710379703A CN107220053A CN 107220053 A CN107220053 A CN 107220053A CN 201710379703 A CN201710379703 A CN 201710379703A CN 107220053 A CN107220053 A CN 107220053A
Authority
CN
China
Prior art keywords
bios
management
electronic equipment
instruments
corresponding relation
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
CN201710379703.3A
Other languages
Chinese (zh)
Other versions
CN107220053B (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.)
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 CN201710379703.3A priority Critical patent/CN107220053B/en
Publication of CN107220053A publication Critical patent/CN107220053A/en
Application granted granted Critical
Publication of CN107220053B publication Critical patent/CN107220053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

A kind of BIOS management methods of disclosure and electronic equipment, methods described by safeguarding the BIOS tools chains that more than one BIOS suppliers are provided in advance in the electronic device, and safeguard the first corresponding relation of each BIOS instruments and system administration number in the BIOS tools chains that more than one BIOS suppliers are provided, realize when the BIOS of electronic equipment actual use has regulatory requirement, goal systems management number corresponding to the management function indicated according to the regulatory requirement (the affiliated suppliers of BIOS provide), the target BIOS instruments that need to be used are determined from first corresponding relation, and then realize that BIOS is managed using the instrument.Compared with prior art, the application can substantially improve the versatility for the BIOS instruments safeguarded in electronic equipment, so as to reduce maintenance difficulties, complexity of the equipment supplier to equipment BIOS instruments.

Description

A kind of BIOS management methods and electronic equipment
Technical field
The invention belongs to BIOS (Basic Input Output System, basic input output system) administrative skill neck Domain, more particularly to a kind of BIOS management methods and electronic equipment.
Background technology
At present, different BIOS suppliers are provided with the BIOS inside each independent BIOS tools chains, each supplier Tools chain is generally again including BIOS upgrading tools, SMBIOS (System Management BIOS) modifiers, BIOS A variety of different instruments such as Setting modifiers, wherein, each BIOS instruments (or corresponding corresponding BIOS management functions) are being opened The hair stage is distributed between corresponding system administration number, different suppliers by corresponding supplier for it, and different BIOS Between instrument (or BIOS management functions), the system administration number used is different.
Prior art typically realizes the management to BIOS in the following ways:For the BIOS of equipment actual use, setting The tools chain that the affiliated suppliers of the BIOS provide is safeguarded in standby in advance, on this basis, when there is the regulatory requirement to BIOS, According to the corresponding system administration number of required management function, to call the BIOS pipes needed for the corresponding BIOS instruments progress of the supplier Reason, such as BIOS upgradings, SMBIOS modifications.BIOS the and BIOS tools chains of different suppliers can not be supported the use.
In consideration of it, for the BIOS of used different suppliers, equipment need to safeguard the BIOS works of corresponding different suppliers Has chain, the BIOS tools chains for causing equipment to be safeguarded can not be common to different supplier BIOS, and then cause equipment to need progress The difference of BIOS tools chains safeguards that the batch A products that such as computer product supplier provides are because actual use BIOS is supplied The BIOS of business 1, thus need to batch A product maintenances supplier 1 BIOS tools chains, and batch B products are due to actual use The BIOS of BIOS suppliers 2, thus need in batch B products maintenance provider 2 BIOS tools chains, this obviously can increase BIOS The difficulty and complexity of tool maintenance.
The content of the invention
In view of this, it is an object of the invention to provide a kind of BIOS management methods and electronic equipment, it is intended to reduces BIOS The maintenance difficulties of BIOS instruments, complexity in management.
Therefore, the present invention is disclosed directly below technical scheme:
A kind of BIOS management methods, applied to electronic equipment, methods described includes:
When obtaining the instruction of the management to basic input-output system BIOS, the management work(that the management instruction is indicated is obtained Goal systems management number corresponding to energy;Pair that the goal systems management number provides for electronic equipment BIOS affiliated supplier The system administration number of management function described in Ying Yu;
Obtain each BIOS instruments and system administration number in the BIOS tool sets that the electronic equipment is safeguarded first is corresponding Relation;Wherein, the BIOS tool sets that the electronic equipment is safeguarded include what more than one BIOS suppliers were provided BIOS tools chains;
According to first corresponding relation, it is determined that target BIOS instruments corresponding with the goal systems management number, and profit The BIOS of the electronic equipment is managed with the target BIOS instruments.
The above method, it is preferred that described when obtaining the instruction of the management to BIOS, obtains the pipe that the management instruction is indicated The goal systems management number corresponding to function is managed, including:
When obtaining the instruction of the management to BIOS, the management function indicated by the management instruction is determined;
BIOS management functions and the second corresponding relation of system administration number are obtained, second corresponding relation is electronic equipment BIOS start completions after, each BIOS that the affiliated suppliers of the BIOS for reporting to electronic device system by BIOS provide Management function and the corresponding relation of system administration number;
According to second corresponding relation, it is determined that the goal systems corresponding to the management function indicated with the management instruction Management number.
The above method, it is preferred that each BIOS in the BIOS tool sets that the system of the acquisition electronic equipment is safeguarded First corresponding relation of instrument and system administration number includes:
In the electronic equipment startup self-detection stage, according to each in the BIOS tools chains of the more than one supplier collected in advance The corresponding relation of BIOS instruments and system administration number, generates BIOS instrument list data structure;The data structure is included with advance Pair of each BIOS instruments and system administration number in the BIOS tools chains of the more than one supplier of the unified form description of setting It should be related to;
The data structure is transferred to the operating system of electronic equipment by BIOS;
When electronic equipment completes to start shooting, the data structure is parsed by the operating system of electronic equipment, obtained First corresponding relation of each BIOS instruments and system administration number in the BIOS tools chains that more than one BIOS suppliers are provided;
When obtaining the instruction of the management to BIOS, read first correspondence as obtained by parsing the data structure and close System.
The above method, it is preferred that described according to first corresponding relation, it is determined that corresponding with the goal systems management number Target BIOS instruments, and the BIOS of the electronic equipment is managed using the target BIOS instruments, including:
Control electronics enter SMM;
The goal systems management number is transferred to the system management interrupt handler realized in advance in the BIOS;
By the system management interrupt handler in the BIOS according to first corresponding relation, call and the target The corresponding target BIOS instruments of system administration number carry out corresponding BIOS management.
The above method, it is preferred that the control electronics enter SMM, including:
Software management interrupt is triggered by the BIOS tool drives of electronic device system level so that electronic equipment enters Enter SMM;
Accordingly, it is described that the goal systems management number is transferred in the system administration realized in advance in the BIOS Disconnected processing routine, including:
In SMM, the goal systems management number is transferred to the BIOS by the BIOS tool drives In the system management interrupt handler realized in advance.
A kind of electronic equipment, including:
First acquisition unit, for when obtaining the instruction of the management to basic input-output system BIOS, obtaining the pipe The goal systems management number corresponding to management function that reason instruction is indicated;The goal systems management number is electronic equipment BIOS's The system administration number corresponding to the management function that affiliated supplier provides;
Second acquisition unit, for obtaining each BIOS instruments and system in the BIOS tool sets that the electronic equipment is safeguarded First corresponding relation of management number;Wherein, the BIOS tool sets that the electronic equipment is safeguarded include more than one BIOS The BIOS tools chains that supplier is provided;
Administrative unit, for according to first corresponding relation, it is determined that target corresponding with the goal systems management number BIOS instruments, and the BIOS of the electronic equipment is managed using the target BIOS instruments.
Above-mentioned electronic equipment, it is preferred that the first acquisition unit, specifically for:
When obtaining the instruction of the management to BIOS, the management function indicated by the management instruction is determined;Obtain BIOS pipes Function and the second corresponding relation of system administration number are managed, after second corresponding relation is the BIOS start completion of electronic equipment, Each BIOS management functions and system pipes that the affiliated suppliers of the BIOS for reporting to electronic device system by BIOS provide The corresponding relation of reason number;According to second corresponding relation, it is determined that corresponding to the management function indicated with the management instruction Goal systems management number.
Above-mentioned electronic equipment, it is preferred that the second acquisition unit, specifically for:
In the electronic equipment startup self-detection stage, according to each in the BIOS tools chains of the more than one supplier collected in advance The corresponding relation of BIOS instruments and system administration number, generates BIOS instrument list data structure;The data structure is included with advance Pair of each BIOS instruments and system administration number in the BIOS tools chains of the more than one supplier of the unified form description of setting It should be related to;The data structure is transferred to the operating system of electronic equipment by BIOS;When electronic equipment completes to start shooting, by electricity The operating system of sub- equipment is parsed to the data structure, obtains the BIOS works that more than one BIOS suppliers are provided Has the first corresponding relation of each BIOS instruments and system administration number in chain;When obtaining the instruction of the management to BIOS, reading passes through Parse first corresponding relation obtained by the data structure.
Above-mentioned electronic equipment, it is preferred that the administrative unit, specifically for:
Control electronics enter SMM;The goal systems management number is transferred in the BIOS in advance The system management interrupt handler of realization;By the system management interrupt handler in the BIOS according to first correspondence Relation, calls the corresponding BIOS management of corresponding with goal systems management number target BIOS instruments progress.
Above-mentioned electronic equipment, it is preferred that the administrative unit control electronics enter SMM, is further wrapped Include:Software management interrupt is triggered by the BIOS tool drives of electronic device system level so that electronic equipment enters system System management mode;
Accordingly, the administrative unit goal systems management number is transferred to realized in advance in the BIOS be Reason interrupt handling routine under the overall leadership, further comprises:
In SMM, the goal systems management number is transferred to the BIOS by the BIOS tool drives In the system management interrupt handler realized in advance.
A kind of BIOS management methods and electronic equipment provided from above scheme, the application, by electronic equipment In safeguard the BIOS tools chains that more than one BIOS suppliers are provided in advance, and safeguard more than one BIOS suppliers First corresponding relation of each BIOS instruments and system administration number in the BIOS tools chains provided, is realized actual in electronic equipment When the BIOS used has regulatory requirement, the goal systems management number corresponding to management function indicated according to the regulatory requirement (the affiliated suppliers of BIOS provide), determines the target BIOS instruments that need to be used, and then use from first corresponding relation The instrument realizes that BIOS is managed.Compared with prior art, the application BIOS more than one by safeguarding in the electronic device is supplied The BIOS tools chains that business is provided are answered, and safeguard first corresponding relation, the mode of BIOS management are realized, hence it is evident that can improve The versatility for the BIOS instruments safeguarded in electronic equipment so that the BIOS instruments of equipment can be universally used in different suppliers and be provided BIOS, so as to reduce maintenance difficulties, complexity of the equipment supplier to equipment BIOS instruments.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet for BIOS management methods embodiment one that the application is provided;
Fig. 2 is a kind of schematic flow sheet for BIOS management methods embodiment two that the application is provided;
Fig. 3 is a kind of schematic flow sheet for BIOS management methods embodiment three that the application is provided;
Fig. 4 is the BIOS management principle schematics that the embodiment of the present application three is provided;
Fig. 5 is a kind of schematic flow sheet for BIOS management methods example IV that the application is provided;
Fig. 6 is the structural representation for a kind of electronic equipment embodiment five that the application is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The embodiment of the present application one provides a kind of BIOS management methods, and this method can apply to smart mobile phone, flat board, notes The various electronic equipments with BIOS regulatory requirements such as this computer, desktop computer, all-in-one, it is intended to lifted in electronic equipment and safeguarded BIOS instruments versatility, maintenance difficulties, complexity of the reduction equipment supplier to equipment BIOS instruments.
A kind of BIOS management methods schematic flow sheet of the embodiment of the present application one with reference to shown in Fig. 1, this method can be wrapped Include following steps:
Step 101, obtain BIOS management is instructed when, obtain corresponding to the management function that the management instruction is indicated Goal systems management number;The goal systems management number is described for corresponding to of providing of electronic equipment BIOS affiliated supplier The system administration number of management function.
The management to BIOS is instructed, and can be, but not limited to, after the os starting of electronic equipment, by setting Standby user applies (BIOS Tool based on actual BIOS regulatory requirements by using corresponding BIOS management Application the instruction) triggered, the instruction can indicate the appropriate section to BIOS according to the instruction type belonging to it, The management such as upgrading, maintenance or modification as needed for being carried out BIOS main bodys or BIOS starting region etc..
In consideration of it, in this step, when obtaining the instruction of the management to BIOS, the instruction class that can be specifically instructed based on the management Type determines the management function indicated by the instruction, such as is specifically to indicate which of BIOS partly to carry out which kind of management etc. to. And then the management function that can be indicated according to the instruction, it is determined that, obtain system administration number (SMI corresponding to the management function Number, System Management Interrupt Number).
Wherein, each BIOS instruments (or corresponding corresponding BIOS management functions) are supplied in the development phase by corresponding BIOS Shang Weiqi is distributed between corresponding system administration number, different suppliers, and different BIOS instruments (or BIOS management functions) Between, the system administration number used is different.
Each BIOS instruments and system administration number in the BIOS tool sets that step 102, the acquisition electronic equipment are safeguarded First corresponding relation;Wherein, the BIOS tool sets that the electronic equipment is safeguarded include more than one institute of BIOS suppliers The BIOS tools chains of offer.
For the versatility for the BIOS instruments safeguarded in lifting electronic equipment, the application is safeguarded in the electronic device in advance to be more than The BIOS tools chains that the BIOS suppliers of one are provided, for example, can be integrated and safeguard current market in advance in the electronic device On the various BIOS suppliers such as the AMI/Insyde/Phoenix various BIOS tools chains that are provided, and it is integrated and safeguard Instrument in each BIOS tools chains, forms that electronic equipment in the application is distinctive can be common to different supplier BIOS's BIOS tool sets.
Meanwhile, also safeguard in advance has in the BIOS tools chains that more than one BIOS suppliers are provided in the electronic device First corresponding relation of each BIOS instruments and system administration number, to cause the BIOS instruments used needed for BIOS management really It is fixed that foundation is provided.
It should be noted that during the BIOS tool sets that the electronic equipment is safeguarded are obtained in this step each BIOS instruments with The processing procedure of first corresponding relation of system administration number, can specifically be performed, i.e., after the goal systems management number is obtained When obtaining the instruction of the management to BIOS, the function parsing to the management instruction and corresponding goal systems pipe is first carried out The acquisition process of reason number, performs the acquisition process of first corresponding relation again afterwards;Certainly can also the management instruction obtained The very first time, first corresponding relation is obtained first, be managed again afterwards instruction function parsing and corresponding target The acquisition of system administration number;In addition, it can also be treated when obtaining the instruction of the management to BIOS while performing above-mentioned two Journey, the present embodiment refuses the execution timing node of above-mentioned two processing procedure limitation.
Step 103, according to first corresponding relation, it is determined that target BIOS works corresponding with the goal systems management number Tool, and the BIOS of the electronic equipment is managed using the target BIOS instruments.
The goal systems management number corresponding to the management function that management instruction is indicated is being obtained, and is being obtained in electronic equipment , can be by the goal systems in the BIOS tool sets of maintenance on the basis of the first corresponding relation of each BIOS instruments and system administration number Management number determines the corresponding target BIOS instruments of the goal systems management number as index from first corresponding relation.
And then, the BIOS of electronic equipment is managed using target BIOS instruments, managed with the BIOS for meeting user Reason demand.
The BIOS management methods that the embodiment of the present application is provided, by safeguarding more than one BIOS in advance in the electronic device The BIOS tools chains that supplier is provided, and safeguard each in the BIOS tools chains that more than one BIOS suppliers are provided First corresponding relation of BIOS instruments and system administration number, realize has regulatory requirement in the BIOS of electronic equipment actual use When, the goal systems management number (the affiliated suppliers of BIOS provide) corresponding to the management function indicated according to the regulatory requirement, from The target BIOS instruments that need to be used are determined in first corresponding relation, and then realize that BIOS is managed using the instrument.With showing There is technology to compare, the BIOS tools chains that the application BIOS supplier more than one by safeguarding in the electronic device is provided, And first corresponding relation is safeguarded, realize the mode of BIOS management, hence it is evident that the BIOS safeguarded in electronic equipment can be improved The versatility of instrument so that the BIOS instruments of equipment can be universally used in the BIOS that different suppliers are provided, so as to reduce equipment Maintenance difficulties, complexity of the supplier to equipment BIOS instruments.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet for another BIOS management methods that the embodiment of the present application two is provided, the party Method can apply to the various electricity with BIOS regulatory requirements such as smart mobile phone, flat board, notebook computer, desktop computer, all-in-one Sub- equipment, the method that the present embodiment is provided includes:
Step 201, obtain BIOS management is instructed when, determine the management function indicated by the management instruction.
The management to BIOS is instructed, and can be, but not limited to, after the os starting of electronic equipment, by setting Standby user applies (BIOS Tool based on actual BIOS regulatory requirements by using corresponding BIOS management Application the instruction) triggered, the instruction can indicate the appropriate section to BIOS according to the instruction type belonging to it, The management such as upgrading, maintenance or modification as needed for being carried out BIOS main bodys or BIOS starting region etc..
In consideration of it, in this step, when obtaining the instruction of the management to BIOS, the instruction class that can be specifically instructed based on the management Type determines the management function indicated by the instruction, such as is specifically to indicate which of BIOS partly to carry out which kind of management etc. to.
Step 202, the second corresponding relation for obtaining BIOS management functions and system administration number, second corresponding relation is After the BIOS start completions of electronic equipment, the affiliated suppliers of the BIOS for reporting to electronic device system by BIOS provide Each BIOS management functions and system administration number corresponding relation.
Wherein, each BIOS instruments (or corresponding corresponding BIOS management functions) are supplied in the development phase by corresponding BIOS Shang Weiqi is distributed between corresponding system administration number, different suppliers, and different BIOS instruments (or BIOS management functions) Between, the system administration number used is different.
And it is directed to the system administration number of each BIOS instruments distribution in the development phase is BIOS tools chain, BIOS suppliers The second corresponding relation of each BIOS instruments and system administration number is integrated in BIOS in the tools chain that can be developed, so that, BIOS is applied to after electronic equipment, in electronic equipment start-up phase, after BIOS start completions, BIOS can be by second correspondence Relation reports to the operating system of electronic equipment so that operating system layer knows that the BIOS of electronic equipment actual use is supporting Each BIOS instruments (or BIOS management functions) and the corresponding relation of system administration number.
Based on this, after the management function indicated by BIOS management instructions is parsed, BIOS can be read in system layer at it Second corresponding relation reported during start completion.
Step 203, according to second corresponding relation, it is determined that with it is described management instruction indicate management function corresponding to Goal systems management number.
After second corresponding relation is obtained, can the management function that indicates of the management instruction be index, from described The goal systems management number corresponding to the management function that the management instruction is indicated is determined in second corresponding relation.
Each BIOS instruments and system administration number in the BIOS tool sets that step 204, the acquisition electronic equipment are safeguarded First corresponding relation;Wherein, the BIOS tool sets that the electronic equipment is safeguarded include more than one institute of BIOS suppliers The BIOS tools chains of offer.
For the versatility for the BIOS instruments safeguarded in lifting electronic equipment, the application is safeguarded in the electronic device in advance to be more than The BIOS tools chains that the BIOS suppliers of one are provided, for example, can be integrated and safeguard current market in advance in the electronic device On the various BIOS suppliers such as the AMI/Insyde/Phoenix various BIOS tools chains that are provided, and it is integrated and safeguard Instrument in each BIOS tools chains, forms that electronic equipment in the application is distinctive can be common to different supplier BIOS's BIOS tool sets.
Meanwhile, also safeguard in advance has in the BIOS tools chains that more than one BIOS suppliers are provided in the electronic device First corresponding relation of each BIOS instruments and system administration number, to cause the BIOS instruments used needed for BIOS management really It is fixed that foundation is provided.
It should be noted that during the BIOS tool sets that the electronic equipment is safeguarded are obtained in this step each BIOS instruments with The processing procedure of first corresponding relation of system administration number, can specifically be performed, i.e., after the goal systems management number is obtained When obtaining the instruction of the management to BIOS, the function parsing to the management instruction and corresponding goal systems pipe is first carried out The acquisition process of reason number, performs the acquisition process of first corresponding relation again afterwards;Certainly can also the management instruction obtained The very first time, first corresponding relation is obtained first, be managed again afterwards instruction function parsing and corresponding target The acquisition of system administration number;In addition, it can also be treated when obtaining the instruction of the management to BIOS while performing above-mentioned two Journey, the present embodiment refuses the execution timing node of above-mentioned two processing procedure limitation.
Step 205, according to first corresponding relation, it is determined that target BIOS works corresponding with the goal systems management number Tool, and the BIOS of the electronic equipment is managed using the target BIOS instruments.
The goal systems management number corresponding to the management function that management instruction is indicated is being obtained, and is being obtained in electronic equipment , can be by the goal systems in the BIOS tool sets of maintenance on the basis of the first corresponding relation of each BIOS instruments and system administration number Management number determines the corresponding target BIOS instruments of the goal systems management number as index from first corresponding relation.
And then, the BIOS of electronic equipment is managed using target BIOS instruments, managed with the BIOS for meeting user Reason demand.
The BIOS management methods that the embodiment of the present application is provided, by safeguarding more than one BIOS in advance in the electronic device The BIOS tools chains that supplier is provided, and safeguard each in the BIOS tools chains that more than one BIOS suppliers are provided First corresponding relation of BIOS instruments and system administration number, realize has regulatory requirement in the BIOS of electronic equipment actual use When, the goal systems management number (the affiliated suppliers of BIOS provide) corresponding to the management function indicated according to the regulatory requirement, from The target BIOS instruments that need to be used are determined in first corresponding relation, and then realize that BIOS is managed using the instrument.With showing There is technology to compare, the BIOS tools chains that the application BIOS supplier more than one by safeguarding in the electronic device is provided, And first corresponding relation is safeguarded, realize the mode of BIOS management, hence it is evident that the BIOS safeguarded in electronic equipment can be improved The versatility of instrument so that the BIOS instruments of equipment can be universally used in the BIOS that different suppliers are provided, so as to reduce equipment Maintenance difficulties, complexity of the supplier to equipment BIOS instruments.
With reference to Fig. 3, Fig. 3 is the schematic flow sheet for another BIOS management method that the embodiment of the present application three is provided, the party Method can apply to the various electricity with BIOS regulatory requirements such as smart mobile phone, flat board, notebook computer, desktop computer, all-in-one Sub- equipment, the method that the present embodiment is provided includes:
Step 301, obtain BIOS management is instructed when, obtain corresponding to the management function that the management instruction is indicated Goal systems management number;The goal systems management number is described for corresponding to of providing of electronic equipment BIOS affiliated supplier The system administration number of management function.
The management to BIOS is instructed, and can be, but not limited to, after the os starting of electronic equipment, by setting Standby user applies (BIOS Tool based on actual BIOS regulatory requirements by using corresponding BIOS management Application the instruction) triggered, the instruction can indicate the appropriate section to BIOS according to the instruction type belonging to it, The management such as upgrading, maintenance or modification as needed for being carried out BIOS main bodys or BIOS starting region etc..
In consideration of it, in this step, when obtaining the instruction of the management to BIOS, the instruction class that can be specifically instructed based on the management Type determines the management function indicated by the instruction, such as is specifically to indicate which of BIOS partly to carry out which kind of management etc. to. And then the management function indicated according to the instruction, it is determined that, obtain system administration number corresponding to the management function.
Wherein, each BIOS instruments (or corresponding corresponding BIOS management functions) are supplied in the development phase by corresponding BIOS Shang Weiqi is distributed between corresponding system administration number, different suppliers, and different BIOS instruments (or BIOS management functions) Between, the system administration number used is different.
Step 302, the BIOS works of the more than one supplier collected in advance in electronic equipment startup self-detection stage, foundation Have the corresponding relation of each BIOS instruments and system administration number in chain, generate BIOS instrument list data structure;The data structure bag Include with each BIOS instruments and system pipes in the BIOS tools chains of the more than one supplier of unified form description set in advance The corresponding relation of reason number.
For the versatility for the BIOS instruments safeguarded in lifting electronic equipment, the application is safeguarded in the electronic device in advance to be more than The BIOS tools chains that the BIOS suppliers of one are provided, for example, can be integrated and safeguard current market in advance in the electronic device On the various BIOS suppliers such as AMI/Insyde/Phoenix provided
Various BIOS tools chains, and instrument in integrated and each BIOS tools chains for safeguarding, form in the application electric Sub- equipment is distinctive can be common to different supplier BIOS BIOS tool sets.
Meanwhile, also safeguard in advance has in the BIOS tools chains that more than one BIOS suppliers are provided in the electronic device First corresponding relation of each BIOS instruments and system administration number, to cause the BIOS instruments used needed for BIOS management really It is fixed that foundation is provided.
So as to, when carrying out the information of the corresponding relation of each supplier, specific to be that need to be set in electronics Each BIOS tools chain integrated and safeguard distinguishes corresponding supplier in standby.
BIOS instruments and system pipes in each BIOS tools chains that more than one BIOS suppliers are provided are collected in advance On the basis of the corresponding relation of reason number, the present embodiment sets up unified ACPI (Advanced Configuration in BIOS And Power Management Interface, advanced configuration and power-management interface) data structure BIOS_TOOL_ TABLE, that is, set up BIOS instrument list data structure, and in the data structure by collected each supplier BIOS instruments with The correspondence relationship information of system administration number, the corresponding system of each BIOS instruments of each supplier is described with unified form set in advance System management number.
Wherein, the BIOS instruments list data structure can specifically be generated in the startup self-detection stage of electronic equipment.
With reference to following table 1, a specific example of the BIOS instrument list data structure provided for the present embodiment.
Table 1
Step 303, the operating system that the data structure is transferred to by BIOS electronic equipment.
The BIOS provided with reference to Fig. 4 manages principle schematic, after the BIOS instruments list data structure is generated, can be by BIOS passes to the data structure generated in the startup self-detection stage by ACPI the operating system of electronic equipment.
Step 304, electronic equipment complete start shooting when, the data structure is solved by the operating system of electronic equipment Analysis, obtains the first couple of each BIOS instruments and system administration number in the BIOS tools chains that more than one BIOS suppliers are provided It should be related to.
As shown in figure 4, electronic equipment complete start after, can by system layer BIOS tool drives (BIOS Tool Driver) by parsing the BIOS instruments list data structure, tool set that electronic equipment safeguarded is obtained (including more than one BIOS suppliers tools chain) in each BIOS instruments and phylogenetic relationship number the first corresponding relation, to manage for BIOS Needed for the determination of BIOS instruments that uses foundation is provided.
Step 305, obtain BIOS management is instructed when, read described the as obtained by parsing the data structure One corresponding relation.
On the basis of being handled more than, when obtaining the instruction of the management to BIOS, it can directly read by parsing the number According to first corresponding relation obtained by structure.
It should be noted that described first obtain in the BIOS tool sets that the electronic equipment is safeguarded each BIOS instruments with The processing procedure of first corresponding relation of system administration number, can specifically be performed, i.e., after the goal systems management number is obtained When obtaining the instruction of the management to BIOS, the function parsing to the management instruction and corresponding goal systems pipe is first carried out The acquisition process of reason number, performs the acquisition process of first corresponding relation again afterwards;Certainly can also the management instruction obtained The very first time, first corresponding relation is obtained first, be managed again afterwards instruction function parsing and corresponding target The acquisition of system administration number;In addition, it can also be treated when obtaining the instruction of the management to BIOS while performing above-mentioned two Journey, the present embodiment refuses the execution timing node of above-mentioned two processing procedure limitation.
Step 306, according to first corresponding relation, it is determined that target BIOS works corresponding with the goal systems management number Tool, and the BIOS of the electronic equipment is managed using the target BIOS instruments.
The goal systems management number corresponding to the management function that management instruction is indicated is being obtained, and is being obtained in electronic equipment , can be by the goal systems in the BIOS tool sets of maintenance on the basis of the first corresponding relation of each BIOS instruments and system administration number Management number determines the corresponding target BIOS instruments of the goal systems management number as index from first corresponding relation.
And then, the BIOS of electronic equipment is managed using target BIOS instruments, managed with the BIOS for meeting user Reason demand.
The BIOS management methods that the embodiment of the present application is provided, by safeguarding more than one BIOS in advance in the electronic device The BIOS tools chains that supplier is provided, and safeguard each in the BIOS tools chains that more than one BIOS suppliers are provided First corresponding relation of BIOS instruments and system administration number, realize has regulatory requirement in the BIOS of electronic equipment actual use When, the goal systems management number (the affiliated suppliers of BIOS provide) corresponding to the management function indicated according to the regulatory requirement, from The target BIOS instruments that need to be used are determined in first corresponding relation, and then realize that BIOS is managed using the instrument.With showing There is technology to compare, the BIOS tools chains that the application BIOS supplier more than one by safeguarding in the electronic device is provided, And first corresponding relation is safeguarded, realize the mode of BIOS management, hence it is evident that the BIOS safeguarded in electronic equipment can be improved The versatility of instrument so that the BIOS instruments of equipment can be universally used in the BIOS that different suppliers are provided, so as to reduce equipment Maintenance difficulties, complexity of the supplier to equipment BIOS instruments.
With reference to Fig. 5, Fig. 5 is the schematic flow sheet for another BIOS management method that the embodiment of the present application four is provided, the party Method can apply to the various electricity with BIOS regulatory requirements such as smart mobile phone, flat board, notebook computer, desktop computer, all-in-one Sub- equipment, the method that the present embodiment is provided includes:
Step 501, obtain BIOS management is instructed when, obtain corresponding to the management function that the management instruction is indicated Goal systems management number;The goal systems management number is described for corresponding to of providing of electronic equipment BIOS affiliated supplier The system administration number of management function.
The management to BIOS is instructed, and can be, but not limited to, after the os starting of electronic equipment, by setting Standby user applies (BIOS Tool based on actual BIOS regulatory requirements by using corresponding BIOS management Application the instruction) triggered, the instruction can indicate the appropriate section to BIOS according to the instruction type belonging to it, The management such as upgrading, maintenance or modification as needed for being carried out BIOS main bodys or BIOS starting region etc..
In consideration of it, in this step, when obtaining the instruction of the management to BIOS, the instruction class that can be specifically instructed based on the management Type determines the management function indicated by the instruction, such as is specifically to indicate which of BIOS partly to carry out which kind of management etc. to. And then the management function indicated according to the instruction, it is determined that, obtain system administration number corresponding to the management function.
Wherein, each BIOS instruments (or corresponding corresponding BIOS management functions) are supplied in the development phase by corresponding BIOS Shang Weiqi is distributed between corresponding system administration number, different suppliers, and different BIOS instruments (or BIOS management functions) Between, the system administration number used is different.
Each BIOS instruments and system administration number in the BIOS tool sets that step 502, the acquisition electronic equipment are safeguarded First corresponding relation;Wherein, the BIOS tool sets that the electronic equipment is safeguarded include more than one institute of BIOS suppliers The BIOS tools chains of offer.
For the versatility for the BIOS instruments safeguarded in lifting electronic equipment, the application is safeguarded in the electronic device in advance to be more than The BIOS tools chains that the BIOS suppliers of one are provided, for example can in the electronic device in advance it is integrated and safeguard at present on the market The various BIOS tools chains that are provided of the various BIOS suppliers such as AMI/Insyde/Phoenix, and it is integrated and safeguard it is each Instrument in BIOS tools chains, forms that electronic equipment in the application is distinctive can be common to different supplier BIOS BIOS Tool set.
Meanwhile, also safeguard in advance has in the BIOS tools chains that more than one BIOS suppliers are provided in the electronic device First corresponding relation of each BIOS instruments and system administration number, to cause the BIOS instruments used needed for BIOS management really It is fixed that foundation is provided.
It should be noted that during the BIOS tool sets that the electronic equipment is safeguarded are obtained in this step each BIOS instruments with The processing procedure of first corresponding relation of system administration number, can specifically be performed, i.e., after the goal systems management number is obtained When obtaining the instruction of the management to BIOS, the function parsing to the management instruction and corresponding goal systems pipe is first carried out The acquisition process of reason number, performs the acquisition process of first corresponding relation again afterwards;Certainly can also the management instruction obtained The very first time, first corresponding relation is obtained first, be managed again afterwards instruction function parsing and corresponding target The acquisition of system administration number;In addition, it can also be treated when obtaining the instruction of the management to BIOS while performing above-mentioned two Journey, the present embodiment refuses the execution timing node of above-mentioned two processing procedure limitation.
Step 503, control electronics enter SMM.
Specifically, software management interrupt can be triggered by the BIOS tool drives of electronic device system level, is made Obtain electronic equipment and enter SMM.
Step 504, the goal systems management number is transferred at the system management interrupt realized in advance in the BIOS Reason program.
In SMM, the goal systems management number can be transferred to by the BIOS tool drives described The system management interrupt handler realized in advance in BIOS.
Step 505, by the system management interrupt handler in the BIOS according to first corresponding relation, call with The corresponding BIOS management of the corresponding target BIOS instruments progress of goal systems management number.
After the system management interrupt handler in system bios obtains the goal systems management number, the target is utilized System administration number, determines the target BIOS instruments used needed for this BIOS management from first corresponding relation, and then Target BIOS instruments are called to carry out corresponding BIOS management, the liter as needed for being carried out to BOIS main bodys or BIOS starting region Level, maintenance or modification management etc..
The BIOS management methods that the embodiment of the present application is provided, by safeguarding more than one BIOS in advance in the electronic device The BIOS tools chains that supplier is provided, and safeguard each in the BIOS tools chains that more than one BIOS suppliers are provided First corresponding relation of BIOS instruments and system administration number, realize has regulatory requirement in the BIOS of electronic equipment actual use When, the goal systems management number (the affiliated suppliers of BIOS provide) corresponding to the management function indicated according to the regulatory requirement, from The target BIOS instruments that need to be used are determined in first corresponding relation, and then realize that BIOS is managed using the instrument.With showing There is technology to compare, the BIOS tools chains that the application BIOS supplier more than one by safeguarding in the electronic device is provided, And first corresponding relation is safeguarded, realize the mode of BIOS management, hence it is evident that the BIOS safeguarded in electronic equipment can be improved The versatility of instrument so that the BIOS instruments of equipment can be universally used in the BIOS that different suppliers are provided, so as to reduce equipment Maintenance difficulties, complexity of the supplier to equipment BIOS instruments.
The embodiment of the present application five provides a kind of electronic equipment, and the electronic equipment can be smart mobile phone, flat board, notebook electricity The various equipment with BIOS regulatory requirements such as brain, desktop computer, all-in-one, it is intended to lift the BIOS works safeguarded in electronic equipment The versatility of tool, maintenance difficulties, complexity of the reduction equipment supplier to equipment BIOS instruments.One kind electricity with reference to shown in Fig. 6 The structural representation of sub- equipment, the electronic equipment of the present embodiment includes:
First acquisition unit 601, for when obtaining the instruction of the management to basic input-output system BIOS, obtaining described The goal systems management number corresponding to management function that management instruction is indicated;The goal systems management number is electronic equipment BIOS Affiliated supplier provide the system administration number corresponding to the management function.
The management to BIOS is instructed, and can be, but not limited to, after the os starting of electronic equipment, by setting Standby user applies (BIOS Tool based on actual BIOS regulatory requirements by using corresponding BIOS management Application the instruction) triggered, the instruction can indicate the appropriate section to BIOS according to the instruction type belonging to it, The management such as upgrading, maintenance or modification as needed for being carried out BIOS main bodys or BIOS starting region etc..
In consideration of it, when obtaining the instruction of the management to BIOS, can specifically be determined based on the instruction type of management instruction Management function indicated by the instruction, such as be specifically indicate to BIOS which partly carry out which kind of management etc..And then can root According to the instruction indicate management function, it is determined that, obtain corresponding to the management function system administration number (SMI Number, System Management Interrupt Number)。
Wherein, each BIOS instruments (or corresponding corresponding BIOS management functions) are supplied in the development phase by corresponding BIOS Shang Weiqi is distributed between corresponding system administration number, different suppliers, and different BIOS instruments (or BIOS management functions) Between, the system administration number used is different.
Second acquisition unit 602, for obtain in the BIOS tool sets that the electronic equipment is safeguarded each BIOS instruments with First corresponding relation of system administration number;Wherein, the BIOS tool sets that the electronic equipment is safeguarded include more than one The BIOS tools chains that BIOS suppliers are provided.
For the versatility for the BIOS instruments safeguarded in lifting electronic equipment, the application is safeguarded in the electronic device in advance to be more than The BIOS tools chains that the BIOS suppliers of one are provided, for example, can be integrated and safeguard current market in advance in the electronic device On the various BIOS suppliers such as the AMI/Insyde/Phoenix various BIOS tools chains that are provided, and it is integrated and safeguard Instrument in each BIOS tools chains, forms that electronic equipment in the application is distinctive can be common to different supplier BIOS's BIOS tool sets.
Meanwhile, also safeguard in advance has in the BIOS tools chains that more than one BIOS suppliers are provided in the electronic device First corresponding relation of each BIOS instruments and system administration number, to cause the BIOS instruments used needed for BIOS management really It is fixed that foundation is provided.
It should be noted that during the BIOS tool sets that the electronic equipment is safeguarded are obtained in this step each BIOS instruments with The processing procedure of first corresponding relation of system administration number, can specifically be performed, i.e., after the goal systems management number is obtained When obtaining the instruction of the management to BIOS, the function parsing to the management instruction and corresponding goal systems pipe is first carried out The acquisition process of reason number, performs the acquisition process of first corresponding relation again afterwards;Certainly can also the management instruction obtained The very first time, first corresponding relation is obtained first, be managed again afterwards instruction function parsing and corresponding target The acquisition of system administration number;In addition, it can also be treated when obtaining the instruction of the management to BIOS while performing above-mentioned two Journey, the present embodiment refuses the execution timing node of above-mentioned two processing procedure limitation.
Administrative unit 603, for according to first corresponding relation, it is determined that mesh corresponding with the goal systems management number BIOS instruments are marked, and the BIOS of the electronic equipment is managed using the target BIOS instruments.
The goal systems management number corresponding to the management function that management instruction is indicated is being obtained, and is being obtained in electronic equipment , can be by the goal systems in the BIOS tool sets of maintenance on the basis of the first corresponding relation of each BIOS instruments and system administration number Management number determines the corresponding target BIOS instruments of the goal systems management number as index from first corresponding relation.
And then, the BIOS of electronic equipment is managed using target BIOS instruments, managed with the BIOS for meeting user Reason demand.
The electronic equipment that the embodiment of the present application is provided, the BIOS supply more than one by safeguarding in advance in the electronic device The BIOS tools chains that business is provided, and safeguard each BIOS works in the BIOS tools chains that more than one BIOS suppliers are provided First corresponding relation of tool and system administration number, is realized when the BIOS of electronic equipment actual use has regulatory requirement, according to Goal systems management number (the affiliated suppliers of BIOS provide) corresponding to the management function that the regulatory requirement is indicated, from described first The target BIOS instruments that need to be used are determined in corresponding relation, and then realize that BIOS is managed using the instrument.With prior art phase Than, the BIOS tools chains that the application BIOS supplier more than one by safeguarding in the electronic device is provided, and safeguard First corresponding relation, realizes the mode of BIOS management, hence it is evident that can improve the logical of the BIOS instruments safeguarded in electronic equipment With property so that the BIOS instruments of equipment can be universally used in the BIOS that different suppliers are provided, so as to reduce equipment supplier couple Maintenance difficulties, the complexity of equipment BIOS instruments.
In above-described embodiment, the first acquisition unit in the electronic equipment is further used for:
When obtaining the instruction of the management to BIOS, the management function indicated by the management instruction is determined;Obtain BIOS pipes Function and the second corresponding relation of system administration number are managed, after second corresponding relation is the BIOS start completion of electronic equipment, Each BIOS management functions and system pipes that the affiliated suppliers of the BIOS for reporting to electronic device system by BIOS provide The corresponding relation of reason number;According to second corresponding relation, it is determined that corresponding to the management function indicated with the management instruction Goal systems management number.
Specifically, the management to BIOS is instructed, and can be, but not limited to, the os starting in electronic equipment Afterwards, (BIOS Tool are applied by using corresponding BIOS management based on actual BIOS regulatory requirements by equipment user Application the instruction) triggered, the instruction can indicate the appropriate section to BIOS according to the instruction type belonging to it, The management such as upgrading, maintenance or modification as needed for being carried out BIOS main bodys or BIOS starting region etc..
In consideration of it, when obtaining the instruction of the management to BIOS, can specifically be determined based on the instruction type of management instruction Management function indicated by the instruction, such as be specifically indicate to BIOS which partly carry out which kind of management etc..
Wherein, each BIOS instruments (or corresponding corresponding BIOS management functions) are supplied in the development phase by corresponding BIOS Shang Weiqi is distributed between corresponding system administration number, different suppliers, and different BIOS instruments (or BIOS management functions) Between, the system administration number used is different.
And it is directed to the system administration number of each BIOS instruments distribution in the development phase is BIOS tools chain, BIOS suppliers The second corresponding relation of each BIOS instruments and system administration number is integrated in BIOS in the tools chain that can be developed, so that, BIOS is applied to after electronic equipment, in electronic equipment start-up phase, after BIOS start completions, BIOS can be by second correspondence Relation reports to the operating system of electronic equipment so that operating system layer knows that the BIOS of electronic equipment actual use is supporting Each BIOS instruments (or BIOS management functions) and the corresponding relation of system administration number.
Based on this, after the management function indicated by BIOS management instructions is parsed, BIOS can be read in system layer at it Second corresponding relation reported during start completion.
After second corresponding relation is obtained, can the management function that indicates of the management instruction be index, from described The goal systems management number corresponding to the management function that the management instruction is indicated is determined in second corresponding relation.
In above-described embodiment, the second acquisition unit in the electronic equipment is further used for:
In the electronic equipment startup self-detection stage, according to each in the BIOS tools chains of the more than one supplier collected in advance The corresponding relation of BIOS instruments and system administration number, generates BIOS instrument list data structure;The data structure is included with advance Pair of each BIOS instruments and system administration number in the BIOS tools chains of the more than one supplier of the unified form description of setting It should be related to;The data structure is transferred to the operating system of electronic equipment by BIOS;When electronic equipment completes to start shooting, by electricity The operating system of sub- equipment is parsed to the data structure, obtains the BIOS works that more than one BIOS suppliers are provided Has the first corresponding relation of each BIOS instruments and system administration number in chain;When obtaining the instruction of the management to BIOS, reading passes through Parse first corresponding relation obtained by the data structure.
Specifically, it is the versatility of BIOS instruments safeguarded in lifting electronic equipment, the application is in advance in the electronic device The BIOS tools chains that more than one BIOS suppliers are provided are safeguarded, for example, can be integrated in advance in the electronic device and safeguarding The various BIOS tools chains that the various BIOS suppliers such as AMI/Insyde/Phoenix on the market are provided at present, and institute is integrated And the instrument in each BIOS tools chains safeguarded, form that electronic equipment in the application is distinctive can be common to different suppliers BIOS BIOS tool sets.
Meanwhile, also safeguard in advance has in the BIOS tools chains that more than one BIOS suppliers are provided in the electronic device First corresponding relation of each BIOS instruments and system administration number, to cause the BIOS instruments used needed for BIOS management really It is fixed that foundation is provided.
So as to, when carrying out the information of the corresponding relation of each supplier, specific to be that need to be set in electronics Each BIOS tools chain integrated and safeguard distinguishes corresponding supplier in standby.
BIOS instruments and system pipes in each BIOS tools chains that more than one BIOS suppliers are provided are collected in advance On the basis of the corresponding relation of reason number, the present embodiment sets up unified ACPI (Advanced Configuration in BIOS And Power Management Interface, advanced configuration and power-management interface) data structure BIOS_TOOL_ TABLE, that is, set up BIOS instrument list data structure, and in the data structure by collected each supplier BIOS instruments with The correspondence relationship information of system administration number, the corresponding system of each BIOS instruments of each supplier is described with unified form set in advance System management number.
Wherein, the BIOS instruments list data structure can specifically be generated in the startup self-detection stage of electronic equipment.
With reference to following table 1, a specific example of the BIOS instrument list data structure provided for the present embodiment.
Table 1
The BIOS provided with reference to Fig. 4 manages principle schematic, after the BIOS instruments list data structure is generated, can be by BIOS passes to the data structure generated in the startup self-detection stage by ACPI the operating system of electronic equipment.
As shown in figure 4, electronic equipment complete start after, can by system layer BIOS tool drives (BIOS Tool Driver) by parsing the BIOS instruments list data structure, tool set that electronic equipment safeguarded is obtained (including more than one BIOS suppliers tools chain) in each BIOS instruments and phylogenetic relationship number the first corresponding relation, to manage for BIOS Needed for the determination of BIOS instruments that uses foundation is provided.
On the basis of being handled more than, when obtaining the instruction of the management to BIOS, it can directly read by parsing the number According to first corresponding relation obtained by structure.
It should be noted that described first obtain in the BIOS tool sets that the electronic equipment is safeguarded each BIOS instruments with The processing procedure of first corresponding relation of system administration number, can specifically be performed, i.e., after the goal systems management number is obtained When obtaining the instruction of the management to BIOS, the function parsing to the management instruction and corresponding goal systems pipe is first carried out The acquisition process of reason number, performs the acquisition process of first corresponding relation again afterwards;Certainly can also the management instruction obtained The very first time, first corresponding relation is obtained first, be managed again afterwards instruction function parsing and corresponding target The acquisition of system administration number;In addition, it can also be treated when obtaining the instruction of the management to BIOS while performing above-mentioned two Journey, the present embodiment refuses the execution timing node of above-mentioned two processing procedure limitation.
In above-described embodiment, the administrative unit in the electronic equipment is further used for:
Control electronics enter SMM;The goal systems management number is transferred in the BIOS in advance The system management interrupt handler of realization;By the system management interrupt handler in the BIOS according to first correspondence Relation, calls the corresponding BIOS management of corresponding with goal systems management number target BIOS instruments progress.
Specifically, software management interrupt can be triggered by the BIOS tool drives of electronic device system level, is made Obtain electronic equipment and enter SMM.
In SMM, the goal systems management number can be transferred to by the BIOS tool drives described The system management interrupt handler realized in advance in BIOS.
After the system management interrupt handler in system bios obtains the goal systems management number, the target is utilized System administration number, determines the target BIOS instruments used needed for this BIOS management from first corresponding relation, and then Target BIOS instruments are called to carry out corresponding BIOS management, the liter as needed for being carried out to BOIS main bodys or BIOS starting region Level, maintenance or modification management etc..
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation be all between difference with other embodiment, each embodiment identical similar part mutually referring to. For device or system class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
For convenience of description, describe to be divided into various modules when system above or device with function or unit is described respectively. Certainly, the function of each unit can be realized in same or multiple softwares and/or hardware when implementing the application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Understood based on such, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause a computer equipment (can be personal computer, server, or network equipment etc.) performs some of each embodiment of the application or embodiment Method described in part.
Finally, in addition it is also necessary to explanation, herein, the relational terms of such as first, second, third and fourth or the like It is used merely to make a distinction an entity or operation with another entity or operation, and not necessarily requires or imply these There is any this actual relation or order between entity or operation.Moreover, term " comprising ", "comprising" or its is any Other variants are intended to including for nonexcludability, so that process, method, article or equipment including a series of key elements Not only include those key elements, but also other key elements including being not expressly set out, or also include being this process, side Method, article or the intrinsic key element of equipment.In the absence of more restrictions, limited by sentence "including a ..." Key element, it is not excluded that also there is other identical element in the process including the key element, method, article or equipment.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of BIOS management methods, it is characterised in that applied to electronic equipment, methods described includes:
When obtaining the instruction of the management to basic input-output system BIOS, the management function institute that the management instruction is indicated is obtained Corresponding goal systems management number;The goal systems management number is corresponding to that electronic equipment BIOS affiliated supplier provides The system administration number of the management function;
Obtain the first corresponding relation of each BIOS instruments and system administration number in the BIOS tool sets that the electronic equipment is safeguarded; Wherein, the BIOS tool sets that the electronic equipment is safeguarded include the BIOS instruments that more than one BIOS suppliers are provided Chain;
According to first corresponding relation, it is determined that target BIOS instruments corresponding with the goal systems management number, and utilize institute Target BIOS instruments are stated to be managed the BIOS of the electronic equipment.
2. according to the method described in claim 1, it is characterised in that described when obtaining the instruction of the management to BIOS, obtain institute The goal systems management number corresponding to the management function that management instruction is indicated is stated, including:
When obtaining the instruction of the management to BIOS, the management function indicated by the management instruction is determined;
BIOS management functions and the second corresponding relation of system administration number are obtained, second corresponding relation is electronic equipment After BIOS start completions, each BIOS that the affiliated suppliers of the BIOS for reporting to electronic device system by BIOS provide is managed Manage function and the corresponding relation of system administration number;
According to second corresponding relation, it is determined that the goal systems corresponding to the management function indicated with the management instruction is managed Number.
3. according to the method described in claim 1, it is characterised in that what the system for obtaining the electronic equipment was safeguarded The first corresponding relation of each BIOS instruments and system administration number includes in BIOS tool sets:
In the electronic equipment startup self-detection stage, according to each BIOS in the BIOS tools chains of the more than one supplier collected in advance The corresponding relation of instrument and system administration number, generates BIOS instrument list data structure;The data structure includes presetting The description of unified form more than one supplier BIOS tools chains in each BIOS instruments pass corresponding with system administration number System;
The data structure is transferred to the operating system of electronic equipment by BIOS;
When electronic equipment completes to start shooting, the data structure is parsed by the operating system of electronic equipment, is more than First corresponding relation of each BIOS instruments and system administration number in the BIOS tools chains that the BIOS suppliers of one are provided;
When obtaining the instruction of the management to BIOS, first corresponding relation as obtained by parsing the data structure is read.
4. according to the method described in claim 1, it is characterised in that described according to first corresponding relation, it is determined that with it is described The corresponding target BIOS instruments of goal systems management number, and the BIOS of the electronic equipment is entered using the target BIOS instruments Row management, including:
Control electronics enter SMM;
The goal systems management number is transferred to the system management interrupt handler realized in advance in the BIOS;
By the system management interrupt handler in the BIOS according to first corresponding relation, call and the goal systems The corresponding target BIOS instruments of management number carry out corresponding BIOS management.
5. method according to claim 4, it is characterised in that the control electronics enter SMM, bag Include:
Software management interrupt is triggered by the BIOS tool drives of electronic device system level so that electronic equipment enters system System management mode;
Accordingly, it is described that the goal systems management number is transferred at the system management interrupt realized in advance in the BIOS Reason program, including:
In SMM, the goal systems management number is transferred in the BIOS in advance by the BIOS tool drives The system management interrupt handler first realized.
6. a kind of electronic equipment, it is characterised in that including:
First acquisition unit, for when obtaining the instruction of the management to basic input-output system BIOS, obtaining the management and referring to Make the goal systems management number corresponding to the management function indicated;The goal systems management number is affiliated for electronic equipment BIOS's The system administration number corresponding to the management function that supplier provides;
Second acquisition unit, for obtaining each BIOS instruments and system administration in the BIOS tool sets that the electronic equipment is safeguarded Number the first corresponding relation;Wherein, the BIOS tool sets that the electronic equipment is safeguarded include more than one BIOS supplies The BIOS tools chains that business is provided;
Administrative unit, for according to first corresponding relation, it is determined that target BIOS corresponding with the goal systems management number Instrument, and the BIOS of the electronic equipment is managed using the target BIOS instruments.
7. electronic equipment according to claim 6, it is characterised in that the first acquisition unit, specifically for:
When obtaining the instruction of the management to BIOS, the management function indicated by the management instruction is determined;Obtain BIOS management work( The second corresponding relation that can be with system administration number, after second corresponding relation is the BIOS start completion of electronic equipment, by BIOS reports to each BIOS management functions and the system administration that the affiliated suppliers of the BIOS of electronic device system provide Number corresponding relation;According to second corresponding relation, it is determined that the mesh corresponding to the management function indicated with the management instruction Mark system management number.
8. electronic equipment according to claim 6, it is characterised in that the second acquisition unit, specifically for:
In the electronic equipment startup self-detection stage, according to each BIOS in the BIOS tools chains of the more than one supplier collected in advance The corresponding relation of instrument and system administration number, generates BIOS instrument list data structure;The data structure includes presetting The description of unified form more than one supplier BIOS tools chains in each BIOS instruments pass corresponding with system administration number System;The data structure is transferred to the operating system of electronic equipment by BIOS;When electronic equipment completes to start shooting, set by electronics Standby operating system is parsed to the data structure, obtains the BIOS tools chains that more than one BIOS suppliers are provided In each BIOS instruments and system administration number the first corresponding relation;When obtaining the instruction of the management to BIOS, read by parsing First corresponding relation obtained by the data structure.
9. electronic equipment according to claim 6, it is characterised in that the administrative unit, specifically for:
Control electronics enter SMM;The goal systems management number is transferred in the BIOS and realized in advance System management interrupt handler;Closed by the system management interrupt handler in the BIOS according to the described first correspondence System, calls the corresponding BIOS management of corresponding with goal systems management number target BIOS instruments progress.
10. electronic equipment according to claim 9, it is characterised in that the administrative unit control electronics enter system System management mode, further comprises:Software management interrupt is triggered by the BIOS tool drives of electronic device system level, So that electronic equipment enters SMM;
Accordingly, the goal systems management number is transferred to the system pipes realized in advance in the BIOS by the administrative unit Interrupt handling routine is managed, is further comprised:
In SMM, the goal systems management number is transferred in the BIOS in advance by the BIOS tool drives The system management interrupt handler first realized.
CN201710379703.3A 2017-05-25 2017-05-25 BIOS management method and electronic equipment Active CN107220053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710379703.3A CN107220053B (en) 2017-05-25 2017-05-25 BIOS management method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710379703.3A CN107220053B (en) 2017-05-25 2017-05-25 BIOS management method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107220053A true CN107220053A (en) 2017-09-29
CN107220053B CN107220053B (en) 2020-10-27

Family

ID=59944544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710379703.3A Active CN107220053B (en) 2017-05-25 2017-05-25 BIOS management method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107220053B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958749A (en) * 2018-06-29 2018-12-07 郑州云海信息技术有限公司 Realize the method, device and equipment that the BIOS data of packing forms are write with a brush dipped in Chinese ink

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0973086A1 (en) * 1998-07-15 2000-01-19 Hewlett-Packard Company Computer remote power on
CN1892608A (en) * 2005-07-05 2007-01-10 英业达股份有限公司 Interruption control system and method
CN101131639A (en) * 2006-08-18 2008-02-27 英特尔公司 Monitoring performance through an extensible firmware interface
CN101727349A (en) * 2008-11-03 2010-06-09 英业达股份有限公司 Method for transmitting system messages of computer system and configuration management program thereof
CN102081533A (en) * 2009-11-27 2011-06-01 株式会社理光 Equipment management system, electronic equipment and software updating method
CN102455919A (en) * 2010-10-19 2012-05-16 英业达股份有限公司 Automatic optimization setting method for basic input output system(BIOS)
CN102479119A (en) * 2010-11-29 2012-05-30 英业达股份有限公司 Method for dynamically switching memory mode for protecting damaged memory cell data
CN103257922A (en) * 2013-04-16 2013-08-21 合肥联宝信息技术有限公司 Method for quickly testing reliability of BIOS (basic input output system) and OS (operating system) interface codes

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0973086A1 (en) * 1998-07-15 2000-01-19 Hewlett-Packard Company Computer remote power on
CN1892608A (en) * 2005-07-05 2007-01-10 英业达股份有限公司 Interruption control system and method
CN101131639A (en) * 2006-08-18 2008-02-27 英特尔公司 Monitoring performance through an extensible firmware interface
CN101727349A (en) * 2008-11-03 2010-06-09 英业达股份有限公司 Method for transmitting system messages of computer system and configuration management program thereof
CN102081533A (en) * 2009-11-27 2011-06-01 株式会社理光 Equipment management system, electronic equipment and software updating method
CN102455919A (en) * 2010-10-19 2012-05-16 英业达股份有限公司 Automatic optimization setting method for basic input output system(BIOS)
CN102479119A (en) * 2010-11-29 2012-05-30 英业达股份有限公司 Method for dynamically switching memory mode for protecting damaged memory cell data
CN103257922A (en) * 2013-04-16 2013-08-21 合肥联宝信息技术有限公司 Method for quickly testing reliability of BIOS (basic input output system) and OS (operating system) interface codes

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958749A (en) * 2018-06-29 2018-12-07 郑州云海信息技术有限公司 Realize the method, device and equipment that the BIOS data of packing forms are write with a brush dipped in Chinese ink

Also Published As

Publication number Publication date
CN107220053B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN111033544A (en) Script-based byte interpretation for blockchain implementations
CN104572895A (en) MPP (Massively Parallel Processor) database and Hadoop cluster data intercommunication method, tool and realization method
US20020147972A1 (en) System and method for configuring an application environment on a computer platform
CN108363566A (en) File configuration method, intelligent terminal and storage medium in a kind of project development process
CN106844315A (en) Based on the method and device that tax return is automatically generated under an operation interface
CN107220757A (en) A kind of system and method for rule configuration and parsing
CN113704665B (en) Dynamic service release method and device, electronic equipment and storage medium
CN108334347A (en) A kind of method for customizing and device of Service control flow
CN108460142A (en) A kind of Database Systems based on block chain technology
CN108733374A (en) Application program homepage development approach and terminal device
CN106570742A (en) Bulk commodity transaction platform product based network on-line auction method
CN106250181A (en) The performance optimization method of a kind of (SuSE) Linux OS and framework
CN116860856A (en) Financial data processing method and device, computer equipment and storage medium
Liu Exploring the future of computing
CN107220053A (en) A kind of BIOS management methods and electronic equipment
CN109948999A (en) The method, apparatus and readable storage medium storing program for executing of face label are carried out by cloud desktop
CN110941422B (en) Code automatic generation method, code generator and readable storage medium
CN102331925A (en) Fast software development platform
CN102385516B (en) Method for designing reconfigurable radio frequency identification (RFID) middleware based on cloud server
CN1744595A (en) Web-based financial self-help service system and its control method
CN110018815A (en) Application development system and method based on database and spreadsheet software
CN109034664A (en) A kind of road event management system based on B/S framework
CN107463663A (en) A kind of lightweight multi-data source access method
CN105303362A (en) Web signature process method based on storage process
WO2017078548A1 (en) Systems and methods for information flow analysis

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant