CN108052350A - A kind of method and apparatus of automatic setting BIOS - Google Patents

A kind of method and apparatus of automatic setting BIOS Download PDF

Info

Publication number
CN108052350A
CN108052350A CN201711464960.3A CN201711464960A CN108052350A CN 108052350 A CN108052350 A CN 108052350A CN 201711464960 A CN201711464960 A CN 201711464960A CN 108052350 A CN108052350 A CN 108052350A
Authority
CN
China
Prior art keywords
bios
configuration
accordingly
module
configuration information
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
CN201711464960.3A
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN201711464960.3A priority Critical patent/CN108052350A/en
Publication of CN108052350A publication Critical patent/CN108052350A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

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

The invention discloses a kind of method and apparatus of automatic setting BIOS, including:The configuration of loading current device required unlatching in BIOS is obtained, generates configuration information;According to the configuration information, judge to configure accordingly in the BIOS and whether open;It is configured accordingly in the BIOS if it is not, then opening.The method and apparatus of automatic setting BIOS using the present invention a kind of, the opening operation of required configuration during current device can be automatically performed in loading equipemtn to BIOS, avoid user because be unfamiliar with BIOS set and cause current device can not load or loading error;Meanwhile also can in the case of frequent loading equipemtn, substantially reduce because repeat be configured and verify into BIOS due to caused by the time waste, evaded the maloperation that may occur because of repetitive operation, improved service efficiency.

Description

A kind of method and apparatus of automatic setting BIOS
Technical field
The present invention relates to BIOS fields more particularly to a kind of method and apparatus of automatic setting BIOS.
Background technology
It is well known that hardware device or software are loaded in the electronic equipments such as computer, notebook, tablet computer, mobile phone During equipment, it usually needs open the configuration of some specific BIOS to support loading and the fortune of the hardware device or software equipment Row, but for quite a few user, be not familiar with to operate for BIOS settings, it will cause can not Load relevant equipment or the situation of loading error.And for the user set even for grasp BIOS, if needed In the case of frequently loading hardware device or software equipment, it can still be expended a large amount of because of being configured repeatedly into BIOS Energy and time.
For the problems of in the prior art, providing a kind of method and apparatus of automatic setting BIOS with important meaning Justice.
The content of the invention
To solve the above problems, the present invention provides a kind of method and apparatus of automatic setting BIOS.
To achieve the above object, the automatic method that BIOS is set of the invention, including:Loading current device is obtained in BIOS In required unlatching configuration, generate configuration information;According to the configuration information, judge to configure accordingly in the BIOS whether It opens;It is configured accordingly in the BIOS if it is not, then opening;
Further, further include:According to the configuration information, judge to configure the tool whether opened in the BIOS accordingly Body method is:The configuration of the BIOS is retrieved, and the configuration wherein closed is recorded and generates closing configured list;Match somebody with somebody by described in Confidence breath with it is described closing configured list compared with pair, judge the configuration in the configuration information whether in the closing configured list In;If so, configuration is in off state accordingly in the BIOS, if it is not, being then configured to opening state accordingly in the BIOS State;
Further, further included before being configured accordingly in the BIOS is opened:Whether prompting user needs to open It is configured accordingly in the BIOS;It is configured accordingly in the BIOS if so, opening;
Further, further included before being configured accordingly in the BIOS is opened:It is carried according to the trigger signal of user Show whether user needs to open to configure accordingly in the BIOS;It is configured accordingly in the BIOS if so, opening.
Further, the specific generating mode of the trigger signal is:User is obtained to keyboard, Trackpad or is touched The operation of screen is controlled, and the operation is converted into trigger signal.
The present invention also provides a kind of equipment of automatic setting BIOS, including:Control module, memory module and caching mould Block, the memory module are used to store the configuration of BIOS;The cache module exists for obtaining and storing loading current device The configuration information of required unlatching in BIOS;The control module configures accordingly for opening in the BIOS;
Further, further include:Module and comparing module are retrieved, the retrieval module is used to retrieve matching somebody with somebody for the BIOS It puts, and the configuration wherein closed is recorded and generates closing configured list;The comparing module be used for by the configuration information with Whether the closing configured list judges the configuration in the configuration information in the closing configured list compared to pair;
Further, further include:Reminding module, the reminding module are used to prompt whether user is needed described in unlatching It is configured accordingly in BIOS.
Further, further include:Trigger signal output module, the trigger signal output module are used to obtain user couple The operation of keyboard, Trackpad or touch screen, and the operation is converted into trigger signal and is transferred to the control module.
The method and apparatus of automatic setting BIOS of the present invention a kind of, can be automatically performed current device in loading equipemtn To the opening operation of required configuration in BIOS, avoid user and set and cause can not adding for current device because being unfamiliar with BIOS Load or loading error;Meanwhile it can also be substantially reduced in the case of frequent loading equipemtn because repeating to be set into BIOS Put and verify and caused by the time waste, evaded the maloperation that may occur because of repetitive operation, improved service efficiency.
Description of the drawings
Fig. 1 is the flow diagram of the automatic method for setting BIOS;
Fig. 2 is to judge to configure the flow diagram whether opened in the BIOS accordingly;
Fig. 3 is the structure diagram of equipment of the present invention.
Specific embodiment
In the following, it is further described with reference to attached drawing, structure and operation principle to the present invention etc..
As shown in Figure 1, Fig. 1 is the flow diagram of the automatic method for setting BIOS, including:S1 obtains loading current device The configuration of required unlatching in BIOS generates configuration information;It is set in electronics such as computer, laptop, tablet computer, mobile phones During standby use, it will usually need to load the software equipments such as additional hardware device or installation application program;Wherein, hardware Built in the external hardware equipments such as equipment such as mouse, keyboard, USB flash disk, wireless network card or video card, memory, built-in network interface card, SSD etc. Hardware device, it usually needs opening corresponding configuration in BIOS after in installation and loading can normal operation;And certain A little software equipments such as, solid works, Adobe Audition etc., it usually needs opened in BIOS corresponding sound card or The configuration of the functions such as video card can be by normal use;It, can be in need when the hardware device or software equipment are loaded Interface message, hardware information starts the configuration requirements such as information, therefore, can pass through the detection to the configuration requirement and obtain The configuration of current device required unlatching in BIOS is loaded, generates configuration information.
Whether S2 judges to configure accordingly in the BIOS and open according to the configuration information;Wherein:
As shown in Fig. 2, Fig. 2 is to judge to configure the flow diagram whether opened in the BIOS accordingly, according to described Configuration information judges that configuring the specific method whether opened in the BIOS accordingly is:S21 retrieves the configuration of the BIOS, And the configuration wherein closed is recorded and generates closing configured list;Normally, two states are generally included in the configuration of BIOS: Opening (enabled) and closed state (disabled).The closing configured list is disabled list, is pair One list summarized of the configuration being closed in all configurations of BIOS;S22 is by the configuration information and the pass Configured list is closed compared to pair, judges the configuration in the configuration information whether in the closing configured list;S23 if so, Configuration is in off state accordingly in the BIOS, if it is not, being then configured to opening accordingly in the BIOS.
S3 is configured accordingly if it is not, then opening in the BIOS.Further, configured accordingly in the BIOS is opened It further includes before:Whether prompting user needs to open configures accordingly in the BIOS;If so, open phase in the BIOS The configuration answered.In the preferred embodiment of the invention, whether the prompting user needs to open is matched somebody with somebody accordingly in the BIOS It puts, is that user is prompted in the form of popping up the dialog box with options.In a kind of preferred embodiment of the present invention In, opening the method configured accordingly in the BIOS is:It will need configuration record and life accordingly in the BIOS opened It is stored in memory into configuration file, then the electronic equipment is restarted automatically, the hardware when electronic equipment restarts is certainly Inspection stage or master boot record stage transfer the configuration file of storage in memory, and opening operation are directly completed in BIOS. In another preferred embodiment of the invention, opening the method configured accordingly in the BIOS is:Directly by transferring simultaneously Operating system is changed, the BIOS system configuration file under system installation file, bios.txt etc., then restart can be complete Into opening operation, the position of the BIOS system configuration file and filename are in different operating system or same operating system It may be inconsistent under different editions.
Further, further included before being configured accordingly in the BIOS is opened:It is carried according to the trigger signal of user Show whether user needs to open to configure accordingly in the BIOS;It is configured accordingly in the BIOS if so, opening.It is described The specific generating mode of trigger signal is:User is obtained to keyboard, Trackpad (touchpad) or touch screen (touchpanel) operation, and the operation is converted into trigger signal.The user is to keyboard, Trackpad or touches The operation of control screen is specifically as follows:Different gestures in the combination of the single button or multiple and different buttons of keyboard, Trackpad Touch-control or slide combination, in touch screen the touch-control of different gestures or slide combination or keyboard and Trackpad and touch screen it Between combination operation.Such as:Individually press keyboard " Q ";Press keyboard " Ctrl ", " Alt ", " A " simultaneously;In touch-control A finger slides from left to right in plate;Two fingers slide from right to left in touch screen;The same of Trackpad is touched in finger point When press keyboard " W ";Etc. similar operative combination.
In the embodiment of the present invention one, it is necessary in electronic equipment:On one laptop, an external hardware is loaded Equipment:M.2 solid state disk.And m.2 solid state disk needs to open the m.2 interface of the BIOS of the laptop described in loading, That is ngff interfaces.M.2 the detection of configuration requirement when then first, by loading the m.2 solid state disk obtains loading currently The configuration of solid state disk required unlatching in BIOS, m.2 interface, and generate configuration information.
Then, all configurations of the BIOS of the laptop are retrieved, and the configuration wherein closed is recorded and generated Close configured list;By the configuration information with it is described closing configured list compared with pair, judge the configuration in the configuration information, M.2 interface, if in the closing configured list.By comparing, the m.2 interface is obtained in the laptop It is closed in the configuration of BIOS.It is carried at this point, popping up one on the display interface of the operating system of the laptop Show dialog box:" whether needing to carry out a key setting to BIOS ".
After user clicks on determination key "Yes", the configuration for needing the m.2 interface opened is recorded and generates configuration text by system In part deposit memory, the operating system of the laptop is restarted automatically, in the hardware check stage in restarting process, is transferred Configuration file in the memory, BIOS open the configuration of the m.2 interface according to the configuration file.Completion pair after restarting M.2 the installation of the solid state disk, the m.2 solid state disk then can be used normally.At this point, complete the automatic behaviour that BIOS is set Make.
In the embodiment of the present invention two, it is necessary in electronic equipment:On one desktop computer, one software of installation is set It is standby:adobe premiere pro.And the repertoire of the adobe premiere pro is loaded, it is necessary to open described desk-top The independent display card configuration of the BIOS of computer and the configuration of independent sound card.First, by loading the adobe premiere The detection of configuration requirement during pro obtains the configuration of loading adobe premiere pro required unlatchings in BIOS, i.e., solely Vertical video card configuration and the configuration of independent sound card, and generate configuration information.
Then, all configurations of the BIOS of the desktop computer are retrieved, and the configuration wherein closed is recorded and generated Close configured list;By the configuration information with it is described closing configured list compared with pair, judge the configuration in the configuration information, Independent display card configures and the configuration of independent sound card, if in the closing configured list.By comparing, obtain described independently showing Card configuration is closed in the configuration of the BIOS of the desktop computer, and the independent sound card configuration is in the desk-top meter It being not off, then illustrates in the configuration of the BIOS of calculation machine, the independent sound card configuration is inherently in opening, because This is without again opening the independent sound card configuration.At this point, on the display interface of the operating system of the laptop Pop up a prompted dialog frame:" whether needing to carry out a key setting to BIOS ".
After user clicks on determination key "Yes", system will need the independent display card opened configuration to record and generate configuration file It is stored in memory, restarts the operating system of the desktop computer automatically, in the hardware check stage in restarting process, transfer institute The configuration file in memory is stated, the independent display card according to the configuration file is configured and opened by BIOS.It is completed after restarting to institute The installation of adobe premiere pro is stated, the adobe premiere pro then can be used normally and allow operation all Function.At this point, complete the automatic operation that BIOS is set.
In the embodiment of the present invention three, it is necessary in electronic equipment:On one laptop, one hardware of installation is set It is standby:Mechanical keyboard.And loading the mechanical keyboard needs to open 3.0 interfaces of usb of the BIOS of the laptop.It is then first The detection of configuration requirement when first, by loading the mechanical keyboard obtains loading Current mechanical keyboard needed in BIOS The configuration to be opened, 3.0 interfaces of usb, and generate configuration information.
Then, all configurations of the BIOS of the laptop are retrieved, and the configuration wherein closed is recorded and generated Close configured list;By the configuration information with it is described closing configured list compared with pair, judge the configuration in the configuration information, 3.0 interfaces of usb, if in the closing configured list.By comparing, 3.0 interfaces of usb are obtained in the notebook It is closed in the configuration of the BIOS of computer.At this point, it is popped up on the display interface of the operating system of the laptop One prompted dialog frame:" whether needing to carry out a key setting to BIOS ".
After user clicks on determination key "No", system will not perform subsequent operation temporarily.At this point, user can normally make It is worked with the laptop, when user, which needs to restart, carries out the step of a key setting to BIOS, then user Actively perform the operation of generation trigger signal:Keyboard " Ctrl " is pressed while point touches touch screen, system receives at this time Pop up a prompting pair after to the trigger signal of generation on the display interface of the operating system of the laptop again Talk about frame:" whether needing to carry out a key setting to BIOS ".
After user clicks on determination key "Yes", system will need to open 3.0 interfaces of usb configuration record and generate configuration text In part deposit memory, the operating system of the laptop is restarted automatically, in the hardware check stage in restarting process, is transferred 3.0 interfaces of usb according to the configuration file are configured and opened by the configuration file in the memory, BIOS.It is completed after restarting Installation to the mechanical keyboard, the mechanical keyboard then can be used normally and allow to run repertoire.At this point, it completes certainly The dynamic operation that BIOS is set.
As shown in figure 3, Fig. 3 is the structure diagram of equipment of the present invention.Automatic setting BIOS's of the present invention Equipment, including:Control module 1, memory module 2, cache module 3, retrieval module 4, comparing module 5, reminding module 6 and triggering letter Number output module 7, the memory module 2 are used to store the configuration of BIOS;The cache module 3 is worked as obtaining and storing loading The configuration information of preceding equipment required unlatching in BIOS;The control module 1 configures accordingly for opening in the BIOS; The retrieval module 4 is used to retrieve the configuration of the BIOS, and the configuration wherein closed is recorded and generates closing configured list; The comparing module 5 is used for the configuration information compared with the closing configured list pair, and is judged in the configuration information Configuration whether it is described closing configured list in;The reminding module 6 is used to prompt whether user is needed described in unlatching It is configured accordingly in BIOS;The trigger signal output module 7 is used to obtain user to keyboard, Trackpad or touch screen Operation, and the operation is converted to trigger signal and is transferred to the control module.
More than, it is only schematic description of the invention, it will be recognized by those skilled in the art that in the work without departing from the present invention On the basis of making principle, a variety of improvement can be made to the present invention, this is all belonged to the scope of protection of the present invention.

Claims (9)

  1. A kind of 1. method of automatic setting BIOS, which is characterized in that including:
    The configuration of loading current device required unlatching in BIOS is obtained, generates configuration information;
    According to the configuration information, judge to configure accordingly in the BIOS and whether open;
    It is configured accordingly in the BIOS if it is not, then opening.
  2. 2. the automatic method that BIOS is set as described in claim 1, which is characterized in that including:According to the configuration information, sentence Configuring the specific method whether opened accordingly in the disconnected BIOS is:
    The configuration of the BIOS is retrieved, and the configuration wherein closed is recorded and generates closing configured list;
    By the configuration information with it is described closing configured list compared with pair, judge the configuration in the configuration information whether described It closes in configured list;
    If so, configuration is in off state accordingly in the BIOS, if it is not, being then configured to opening state accordingly in the BIOS State.
  3. 3. the automatic method that BIOS is set as described in claim 1, which is characterized in that match somebody with somebody accordingly in the BIOS is opened It is further included before putting:
    Whether prompting user needs to open configures accordingly in the BIOS;
    It is configured accordingly in the BIOS if so, opening.
  4. 4. the automatic method that BIOS is set as described in claim 1, which is characterized in that match somebody with somebody accordingly in the BIOS is opened It is further included before putting:
    It is configured accordingly according to whether the trigger signal of user prompting user needs to open in the BIOS;
    It is configured accordingly in the BIOS if so, opening.
  5. 5. the automatic method that BIOS is set as claimed in claim 4, which is characterized in that the specific generation side of the trigger signal Formula is:Operation of the user to keyboard, Trackpad or touch screen is obtained, and the operation is converted into trigger signal.
  6. 6. a kind of equipment of automatic setting BIOS, which is characterized in that including:Control module, memory module and cache module,
    The memory module is used to store the configuration of BIOS;
    The cache module is used to obtain and store the configuration information of loading current device required unlatching in BIOS;
    The control module configures accordingly for opening in the BIOS.
  7. 7. the automatic equipment that BIOS is set as claimed in claim 6, which is characterized in that further include:It retrieves module and compares mould Block,
    The retrieval module is used to retrieve the configuration of the BIOS, and the configuration wherein closed is recorded and generates closing configuration row Table;
    The comparing module is used for the configuration information compared with the closing configured list pair, and judges the configuration information In configuration whether it is described closing configured list in.
  8. 8. the automatic equipment that BIOS is set as claimed in claim 6, which is characterized in that further include:Reminding module, the prompting Whether module configures accordingly for user to be prompted to need to open in the BIOS.
  9. 9. the automatic equipment that BIOS is set as claimed in claim 6, which is characterized in that further include:Trigger signal output module, The trigger signal output module is for obtaining operation of the user to keyboard, Trackpad or touch screen, and by the behaviour It is converted to trigger signal and is transferred to the control module.
CN201711464960.3A 2017-12-28 2017-12-28 A kind of method and apparatus of automatic setting BIOS Pending CN108052350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711464960.3A CN108052350A (en) 2017-12-28 2017-12-28 A kind of method and apparatus of automatic setting BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711464960.3A CN108052350A (en) 2017-12-28 2017-12-28 A kind of method and apparatus of automatic setting BIOS

Publications (1)

Publication Number Publication Date
CN108052350A true CN108052350A (en) 2018-05-18

Family

ID=62128862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711464960.3A Pending CN108052350A (en) 2017-12-28 2017-12-28 A kind of method and apparatus of automatic setting BIOS

Country Status (1)

Country Link
CN (1) CN108052350A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614157A (en) * 2018-12-27 2019-04-12 联想(北京)有限公司 A kind of configuration method of system, device and storage medium
CN110851057A (en) * 2019-11-21 2020-02-28 西安易朴通讯技术有限公司 Method and device for configuring configuration options of BIOS
CN112486548A (en) * 2019-09-12 2021-03-12 深圳市德晟达电子科技有限公司 Method for automatically updating UEFI BIOS through external storage

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685402A (en) * 2008-09-26 2010-03-31 鸿富锦精密工业(深圳)有限公司 Method for BIOS configuration of computer
CN102831022A (en) * 2012-07-27 2012-12-19 曙光信息产业(北京)有限公司 Method and device for modifying system configuration

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101685402A (en) * 2008-09-26 2010-03-31 鸿富锦精密工业(深圳)有限公司 Method for BIOS configuration of computer
CN102831022A (en) * 2012-07-27 2012-12-19 曙光信息产业(北京)有限公司 Method and device for modifying system configuration

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614157A (en) * 2018-12-27 2019-04-12 联想(北京)有限公司 A kind of configuration method of system, device and storage medium
CN112486548A (en) * 2019-09-12 2021-03-12 深圳市德晟达电子科技有限公司 Method for automatically updating UEFI BIOS through external storage
CN110851057A (en) * 2019-11-21 2020-02-28 西安易朴通讯技术有限公司 Method and device for configuring configuration options of BIOS

Similar Documents

Publication Publication Date Title
US7266774B2 (en) Implementing a second computer system as an interface for first computer system
US11057216B2 (en) Protection method and protection system of system partition key data and terminal
CN106453859B (en) A kind of sound control method and mobile terminal
US20150074578A1 (en) Text select and enter
CN108052350A (en) A kind of method and apparatus of automatic setting BIOS
US9009624B2 (en) Keyboard gestures for character string replacement
CN107832099A (en) A kind of client release compatible method, apparatus and storage medium
CN104360805A (en) Application icon management method and application icon management device
CN108027695A (en) Application user interface based on experience mode conversion reconfigures
WO2018209843A1 (en) Method, device and terminal for executing hotpatch
CN104750378A (en) Automatic input mode switching method and device for input method
US20140359790A1 (en) Method and apparatus for visiting privacy content
US9098196B2 (en) Touch system inadvertent input elimination
CN102725710A (en) Portable information terminal and key arrangement alteration method therefor
WO2019000724A1 (en) Search method, electronic device, and non-volatile storage medium
US9118756B2 (en) Recording method, recording device, and electronic device
CN102360303A (en) Method for upgrading handheld terminal software, and handheld terminal
CN107577933A (en) Using login method and device, computer equipment, computer-readable recording medium
CN109491825B (en) Method, device, storage medium and terminal for positioning abnormal starting problem
US11460971B2 (en) Control method and electronic device
CN108491325B (en) File system testing method and device, storage medium and terminal
TWI638282B (en) Mobile device, computer input system and computer program product
US20130159688A1 (en) Electronic device and method of setting removal policy of usb device
TWI497349B (en) Method and electronic device for defining user-defined keys of input device
CN103853972B (en) The method and electronic equipment of information processing

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