CN102446133A - BIOS (Basic Input Output System) automatic setting method and system - Google Patents

BIOS (Basic Input Output System) automatic setting method and system Download PDF

Info

Publication number
CN102446133A
CN102446133A CN2010105071382A CN201010507138A CN102446133A CN 102446133 A CN102446133 A CN 102446133A CN 2010105071382 A CN2010105071382 A CN 2010105071382A CN 201010507138 A CN201010507138 A CN 201010507138A CN 102446133 A CN102446133 A CN 102446133A
Authority
CN
China
Prior art keywords
bios
test machine
setting
test
interface
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
CN2010105071382A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2010105071382A priority Critical patent/CN102446133A/en
Publication of CN102446133A publication Critical patent/CN102446133A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a BIOS (Basic Input Output System) automatic setting method, which comprises the following steps of: reading a preset test script; controlling a tester to enter a BIOS setting interface; receiving current text display output information sent by the tester; analyzing the current text display output information to obtain contents of a current display interface; searching corresponding setting items in the BIOS setting interface; sending key input corresponding to the setting items and controlling the tester to finish setting of the items; and judging whether setting of all the setting items in the test script is executed completely, if so, ending the process and if not continuously executing a step of reading the test script. The invention also provides a BIOS automatic setting system. According to the BIOS automatic setting method and system disclosed by the invention, the BIOS setting items of the tester can be analyzed and set according to the script, and the tester is controlled to finish corresponding setting according to a sequence set by the script.

Description

Automatic method to set up of BIOS and system
Technical field
The present invention relates to a kind of automatic method to set up and system, especially relate to automatic method to set up of a kind of BIOS and system.
Background technology
It is the main human-computer interaction interface that BIOS provides that BIOS (Basic Input Output System, Basic Input or Output System (BIOS)) is provided with, and the user can be provided with through BIOS and check and configuration-system.Design and develop in the process and need carry out the test of detailed standard at BIOS the function that the BIOS setting relates to.BIOS is provided with the function that involves the BIOS every aspect, and the testing apparatus that relates in the test is various, and test event is various, is that the people is that manual operation is accomplished in the conventionally test, and not only the time and effort consuming cost is higher, and test result receives artificial factor easily.
Summary of the invention
In view of above content, be necessary to provide a kind of BIOS automatic method to set up, can project be set according to the BIOS that test machine was resolved and be provided with to script, and accomplish relative set with the sequential control test machine that script is set.
In view of above content, also be necessary to provide a kind of BIOS automatic capture system, can project be set according to the BIOS that test machine was resolved and be provided with to script, and accomplish relative set with the sequential control test machine that script is set.
The automatic method to set up of said BIOS; Be applied in the main frame, this main frame comprises storer, and this main frame is connected in test machine through Serial Port Line; This test machine is supported the serial ports redirection function; This method comprises: read step: read the predefined test script that is stored in the storer, comprise in the said test script that the BIOS of test machine is provided with project and the pairing button input content thereof that needs are provided with, and the order that needs the setting of execution; Controlled step: when needs are carried out setting operation, send corresponding button input to serial ports, the control test machine gets into BIOS the interface is set; Receiving step: the current BIOS of test machine that the acceptance test machine sends through Serial Port Line is provided with the text display output information at interface; Analyzing step: resolve the text display output information that the current BIOS of test machine that is received is provided with the interface, obtain the content of test machine current display interface; Search step: according to the content of the order of the project of the BIOS needs setting of test machine in the said test script, setting that needs are carried out and the test machine current display interface of being resolved; To the input of serial ports sending direction, the control test machine searches out BIOS corresponding setting project in the interface is set; Step is set: send in the said test script this to serial ports the pairing button input of project is set, the control test machine is accomplished the setting to this project; Determining step: judge all setting option purposes are provided with whether executed finishes in the said test script, flow process finishes if be finished then, does not then continue to carry out read step if be finished.
Said BIOS automatic capture system runs in the main frame, and this main frame comprises storer; This main frame is connected in test machine through Serial Port Line; This test machine is supported the serial ports redirection function, and this system comprises: read module is used for from the test script of storer reading pre-set; Comprise project and pairing button input content thereof that the BIOS of test machine need be provided with in the said test script, and the order of the setting that needs to carry out; Control module is used for when needs are carried out setting operation, sends corresponding button input to serial ports, and the control test machine gets into BIOS the interface is set; Receiver module is used for the acceptance test machine is provided with the interface through the current BIOS of test machine of Serial Port Line transmission text display output information; Parsing module is used to resolve the text display output information that the current BIOS of the test machine that is received is provided with the interface, obtains the content of test machine current display interface; Search module; The content of the test machine current display interface that is used for the order of the setting that project, needs according to the BIOS needs setting of said test script test machine carry out and is resolved; To the input of serial ports sending direction, the control test machine searches out BIOS corresponding setting project in the interface is set; Said control module also is used for sending said test script to serial ports, and this is provided with the pairing button input of project, and the control test machine is accomplished the setting to this project.
Compared to prior art; Automatic method to set up of described BIOS and system; Can realize that BIOS to test machine is provided with the interface and is provided with automatically by the serial ports redirection function; The BIOS that resolves and be provided with test machine through a main frame according to script is provided with project, and accomplishes relative set with the sequential control test machine that script is set.Avoided loaded down with trivial details BIOS manually to be provided with and flow operations, on time and manpower, all reached the purpose of raising the efficiency, reducing cost, also can guarantee to be provided with simultaneously the standardization of flow process effectively through script.
Description of drawings
Fig. 1 is the Organization Chart of BIOS automatic capture system of the present invention preferred embodiment.
Fig. 2 is the synoptic diagram that search module is sought the process of relative set project in the BIOS automatic capture system of the present invention preferred embodiment.
Fig. 3 is the process flow diagram of the automatic method to set up preferred embodiment of BIOS of the present invention.
The main element symbol description
Main frame 1
Test machine 2
Serial Port Line 3
The BIOS automatic capture system 10
Storer 20
Read module 100
Judge module 200
Control module 300
Receiver module 400
Parsing module 500
Search module 600
Embodiment
As shown in Figure 1, be the Organization Chart of BIOS automatic capture system of the present invention preferred embodiment.Said BIOS (Basic Input Output System, Basic Input or Output System (BIOS)) automatic capture system 10 runs in the main frame 1, and this main frame 1 also comprises storer 20.Said main frame 1 is connected in test machine 2 through Serial Port Line 3.
The BIOS that said main frame 1 is used for resolving and be provided with according to test script test machine 2 is provided with project, and accomplishes relative set with the sequential control test machine that test script is set.
Said test machine 2 needs to support the serial ports redirection function.Said serial ports redirection function promptly uses terminal type definition such as ANSI or VT100 to realize the long-range input of keyboard and the long-range output of text display information, to realize through the Long-distance Control of serial communication to test machine 2.
After starting said BIOS automatic capture system, said test machine 2 needs start and opens the serial ports redirection function.
Said BIOS automatic capture system 10 comprises read module 100, judge module 200, control module 300, receiver module 400, parsing module 500 and search module 600.
Said read module 100 is used for reading the predefined test script that is stored in storer 20.The BIOS that comprises test machine 2 in the said test script is provided with project and the pairing button input content thereof that needs are provided with, and the order of the setting that needs to carry out or other operations (for example system restart etc.).
Said judge module 200 is used for judging the current setting operation of whether carrying out according to the setting of said test script needs execution or the order of other operations.
Said control module 300 is used for when judged result is carried out setting operation for needs, sending corresponding button input according to the definition of terminal types such as ANSI or VT100 to serial ports, and control test machine 2 advances BIOS the interface is set.
Said receiver module 400 is used for acceptance test machine 2 is provided with the interface through the test machine 2 current BIOS of Serial Port Line 3 transmissions text display output information.
Said parsing module 500 is used for according to the definition of terminal types such as ANSI or VT100 the text display output information that the test machine 2 current BIOS that received are provided with the interface being resolved, and obtains the content of test machine 2 current display interface.
Said control module 300 also is used for when judged result is operated for carrying out other, sending corresponding button input according to the definition of terminal types such as ANSI or VT100 to serial ports, and control test machine 2 is carried out other operations.
Said search module 600 is used for after control test machine 2 entering BIOS are provided with the interface; The order of the setting that the project, needs of needs setting carry out is set and the content of test machine 2 current display interface of being resolved according to the BIOS of test machine 2 in the said test script; To the input of serial ports sending direction, control test machine 2 searches out BIOS corresponding setting project in the interface is set.Said direction input comprises direction input upwards, downward direction input, the input of direction left and the input of direction to the right.
As shown in Figure 2, be the synoptic diagram that search module is sought the process of relative set project in the BIOS automatic capture system of the present invention preferred embodiment.
For example current order is that this project of A22 is provided with in the test script; The content of test machine 2 current display interface that parsed according to parsing module 500 of search module 600 then; BIOS promptly is provided with the content at interface 1; To the input of serial ports sending direction, option A gets into BIOS interface 2 is set; The content at interface 2 is set according to BIOS then, and to the input of serial ports sending direction, option A2 gets into BIOS interface 3 is set; The content at interface 3 is set according to BIOS at last,, searches out project A22 to the input of serial ports sending direction.
Said control module 300 also is used for according to terminal types such as ANSI or VT100 definition, sends to serial ports that this is provided with the pairing button input of project, the setting that control test machine 2 is accomplished this project in the said test script.
Said judge module 200 is used for also judging all the setting option purpose settings of said test script and other operate whether executed finishes.If be finished then end operation,, the then continuation that is not finished reads this test script if triggering said read module 100.
Said main frame 1 also is used for after the BIOS setting option purpose setting of accomplishing test machine 2, and control test machine 2 carries out BIOS test and logging test results are set.
As shown in Figure 3, be the process flow diagram of the automatic method to set up preferred embodiment of BIOS of the present invention.
Step S10, said test machine 2 starts are also opened the serial ports redirection function.
Step S12, said read module 100 reads the predefined test script that is stored in the storer 20.The BIOS that comprises test machine 2 in the said test script is provided with project and the pairing button input content thereof that needs are provided with, and the order of the setting that needs to carry out or other operations (for example system restart etc.).
Step S14, said judge module 200 is judged the current setting operation of whether carrying out according to the setting of needs execution in the said test script or the order of other operations.If judged result is for needing to carry out setting operation, execution in step S16; If judged result is for carrying out other operations, execution in step S26.
Step S16, said control module 300 is sent corresponding button input according to the definition of terminal types such as ANSI or VT100 to serial ports, and control test machine 2 advances BIOS the interface is set.
Step S18, the test machine 2 current BIOS that said receiver module 400 acceptance test machines 2 send through Serial Port Line 3 are provided with the text display output information at interface.
Step S20, said parsing module 500 is resolved the text display output information that the test machine 2 current BIOS that received are provided with the interface according to the definition of terminal types such as ANSI or VT100, obtains the content of test machine 2 current display interface.
Step S22; Said search module 600 is provided with the order of the setting that the project, needs of needs setting carry out according to the BIOS of test machine 2 in the said test script and the content of test machine 2 current display interface of being resolved; To the input of serial ports sending direction, control test machine 2 searches out BIOS corresponding setting project in the interface is set.
Step S24, said control module 300 is according to terminal types such as ANSI or VT100 definition, sends to serial ports that this is provided with the pairing button input of project, the setting that control test machine 2 is accomplished this project in the said test script.
Step S26, said control module 300 is sent corresponding button input according to the definition of terminal types such as ANSI or VT100 to serial ports, and control test machine 2 is carried out other operations.
Step S28, said judge module 200 judge in the said test script all setting option purpose settings and other operate whether executed finishes.If be finished then execution in step S30, then do not continued execution in step S12 if be finished.
Step S30, said main frame 1 control test machine 2 carries out BIOS test and logging test results is set.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art is to be understood that; Can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and the scope of technical scheme of the present invention.

Claims (8)

1. the automatic method to set up of BIOS is applied in the main frame, and this main frame comprises storer, and this main frame is connected in test machine through Serial Port Line, and this test machine is supported the serial ports redirection function, it is characterized in that this method comprises:
Read step: read the predefined test script that is stored in the storer, comprise in the said test script that the BIOS of test machine is provided with project and the pairing button input content thereof that needs are provided with, and the order that needs the setting of execution;
Controlled step: when needs are carried out setting operation, send corresponding button input to serial ports, the control test machine gets into BIOS the interface is set;
Receiving step: the current BIOS of test machine that the acceptance test machine sends through Serial Port Line is provided with the text display output information at interface;
Analyzing step: resolve the text display output information that the current BIOS of test machine that is received is provided with the interface, obtain the content of test machine current display interface;
Search step: according to the content of the order of the project of the BIOS needs setting of test machine in the said test script, setting that needs are carried out and the test machine current display interface of being resolved; To the input of serial ports sending direction, the control test machine searches out BIOS corresponding setting project in the interface is set;
Step is set: send in the said test script this to serial ports the pairing button input of project is set, the control test machine is accomplished the setting to this project;
Determining step: judge all setting option purposes are provided with whether executed finishes in the said test script, flow process finishes if be finished then, does not then continue to carry out read step if be finished.
2. the automatic method to set up of BIOS as claimed in claim 1 is characterized in that, this method also comprised step before read step:
The test machine start is also opened the serial ports redirection function.
3. the automatic method to set up of BIOS as claimed in claim 1 is characterized in that, this method also comprises step between said read step and controlled step:
Judge the current setting operation of whether carrying out according to said test script;
When needs are carried out setting operation, carry out said controlled step;
In the time need not carrying out setting operation, send corresponding button input to serial ports, the control test machine is carried out corresponding operating, carries out determining step then.
4. the automatic method to set up of BIOS as claimed in claim 1 is characterized in that, this method also comprises step after the BIOS setting option purpose setting of accomplishing test machine:
The control test machine carries out BIOS test and logging test results is set.
5. a BIOS automatic capture system runs in the main frame, and this main frame comprises storer, and this main frame is connected in test machine through Serial Port Line, and this test machine is supported the serial ports redirection function, it is characterized in that this system comprises:
Read module is used for from the test script of storer reading pre-set, comprises project and pairing button input content thereof that the BIOS of test machine need be provided with in the said test script, and the order of the setting that needs to carry out;
Control module is used for when needs are carried out setting operation, sends corresponding button input to serial ports, and the control test machine gets into BIOS the interface is set;
Receiver module is used for the acceptance test machine is provided with the interface through the current BIOS of test machine of Serial Port Line transmission text display output information;
Parsing module is used to resolve the text display output information that the current BIOS of the test machine that is received is provided with the interface, obtains the content of test machine current display interface;
Search module; The content of the test machine current display interface that is used for the order of the setting that project, needs according to the BIOS needs setting of said test script test machine carry out and is resolved; To the input of serial ports sending direction, the control test machine searches out BIOS corresponding setting project in the interface is set;
Said control module also is used for sending said test script to serial ports, and this is provided with the pairing button input of project, and the control test machine is accomplished the setting to this project.
6. BIOS automatic capture system as claimed in claim 5 is characterized in that, start said BIOS automatic capture system after, the serial ports redirection function is also opened in the start of said test machine.
7. BIOS automatic capture system as claimed in claim 5; It is characterized in that; This system also comprises judge module, is used for judging the current setting operation of whether carrying out according to said test script, when judged result is not when carrying out setting operation; Trigger control module is sent corresponding button input to serial ports, and the control test machine is carried out corresponding operation;
Said judge module is used for also judging whether all the setting option purpose settings of said test script are finished, if be finished then end operation, reads this test script if the then continuation that is not finished triggers said read module.
8. BIOS automatic capture system as claimed in claim 5 is characterized in that, said main frame also is used for after the BIOS setting option purpose setting of accomplishing test machine, and the control test machine carries out BIOS test and logging test results are set.
CN2010105071382A 2010-10-14 2010-10-14 BIOS (Basic Input Output System) automatic setting method and system Pending CN102446133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105071382A CN102446133A (en) 2010-10-14 2010-10-14 BIOS (Basic Input Output System) automatic setting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105071382A CN102446133A (en) 2010-10-14 2010-10-14 BIOS (Basic Input Output System) automatic setting method and system

Publications (1)

Publication Number Publication Date
CN102446133A true CN102446133A (en) 2012-05-09

Family

ID=46008640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105071382A Pending CN102446133A (en) 2010-10-14 2010-10-14 BIOS (Basic Input Output System) automatic setting method and system

Country Status (1)

Country Link
CN (1) CN102446133A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346271A (en) * 2013-07-23 2015-02-11 昆达电脑科技(昆山)有限公司 Starting up test method of automatic verification system
CN109508262A (en) * 2017-09-14 2019-03-22 佛山市顺德区顺达电脑厂有限公司 Automatically the method for the functional item of basic input-output unit is tested
CN112732347A (en) * 2021-01-25 2021-04-30 北京睿芯高通量科技有限公司 Portable device for manually changing BIOS configuration in one-key mode and changing method
CN114218124A (en) * 2022-02-22 2022-03-22 深圳市吉方工控有限公司 Method, device, equipment and storage medium for rapidly deploying BIOS setting environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070208928A1 (en) * 2006-03-03 2007-09-06 Rios Jennifer E Portable device comprising a BIOS setting
CN101425923A (en) * 2007-10-30 2009-05-06 英业达股份有限公司 Method for basic input output systematic information remote setting
CN101539877A (en) * 2008-03-17 2009-09-23 鸿富锦精密工业(深圳)有限公司 Embedded device testing system and testing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070208928A1 (en) * 2006-03-03 2007-09-06 Rios Jennifer E Portable device comprising a BIOS setting
CN101425923A (en) * 2007-10-30 2009-05-06 英业达股份有限公司 Method for basic input output systematic information remote setting
CN101539877A (en) * 2008-03-17 2009-09-23 鸿富锦精密工业(深圳)有限公司 Embedded device testing system and testing method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346271A (en) * 2013-07-23 2015-02-11 昆达电脑科技(昆山)有限公司 Starting up test method of automatic verification system
CN109508262A (en) * 2017-09-14 2019-03-22 佛山市顺德区顺达电脑厂有限公司 Automatically the method for the functional item of basic input-output unit is tested
CN112732347A (en) * 2021-01-25 2021-04-30 北京睿芯高通量科技有限公司 Portable device for manually changing BIOS configuration in one-key mode and changing method
CN114218124A (en) * 2022-02-22 2022-03-22 深圳市吉方工控有限公司 Method, device, equipment and storage medium for rapidly deploying BIOS setting environment

Similar Documents

Publication Publication Date Title
CN103731815B (en) Method and device for achieving mobile phone client software upgrading
CN102446133A (en) BIOS (Basic Input Output System) automatic setting method and system
CN106126414B (en) Application software testing method and system
KR101542987B1 (en) Diagnostic system and method for vehicle terminal
CN111026645A (en) User interface automatic testing method and device, storage medium and electronic equipment
CN106653013A (en) Speech recognition method and device
CN104301522A (en) Information input method in communication and communication terminal
CN101399567A (en) Method for automatically initiating Bluetooth connection authentication and authentication initiating device
CN104572001A (en) Split screen starting method and mobile terminal
EP3062520A1 (en) Method and device for automatically recognizing network operator to realize data configuration
CN111354355B (en) Voice repair reporting method and device, storage medium and air conditioner
CN105827804A (en) Control method and device of mobile terminal
CN111273153A (en) Automatic testing method, device and system for chip
CN103902611A (en) Video content searching system and video content searching method
CN105376618A (en) Method for intelligently searching television program by using mobile phone or flat computer
CN104991797A (en) Firmware updating method for mobile terminal and mobile terminal
CN104994459B (en) Terminal digital power amplifier configuration method and device
CN104021066A (en) Mobile terminal operation information recording method, operation method and mobile terminal
CN105100448A (en) Method and device for recommending service interface based on terminal dialing
CN106059998B (en) Register the method, apparatus and terminal of VoLTE network
KR101434515B1 (en) Apparatus for registering/executing voice command using user voice database and methods thereof
CN107329773A (en) A kind of electronic equipment restart after processing method, electronic equipment and storage device
CN106131776A (en) The matching process of a kind of wireless device and the system of application the method and equipment
RU2006117532A (en) PROCESSING MESSAGES IN PORTABLE ELECTRONIC DEVICES
CN106657514B (en) Terminal testing method and testing device

Legal Events

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

Application publication date: 20120509