CN101533369A - Method for checking start-up procedure and device thereof - Google Patents

Method for checking start-up procedure and device thereof Download PDF

Info

Publication number
CN101533369A
CN101533369A CN200810085818A CN200810085818A CN101533369A CN 101533369 A CN101533369 A CN 101533369A CN 200810085818 A CN200810085818 A CN 200810085818A CN 200810085818 A CN200810085818 A CN 200810085818A CN 101533369 A CN101533369 A CN 101533369A
Authority
CN
China
Prior art keywords
boot program
measured
display frame
log
inspection method
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
CN200810085818A
Other languages
Chinese (zh)
Inventor
徐成
陈志丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN200810085818A priority Critical patent/CN101533369A/en
Publication of CN101533369A publication Critical patent/CN101533369A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for checking a start-up procedure and a device thereof. Link is established with a terminal to be tested so as to capture the display picture of the start-up procedure when the terminal to be tested executes the start-up procedure; then the display picture is compared with a correct message picture to generate a comparison result; and finally, the comparison result is stored in a record log and the record log is used for checking the start-up procedure.

Description

The inspection method of boot program and device
Technical field
The invention relates to a kind of method of checking boot program, and particularly relevant for a kind of boot program inspection method and device of automatic generation log.
Background technology
In each computer system, mainboard all can have oneself Basic Input or Output System (BIOS) (Basic InputOutput System, BIOS).Generally speaking, in start, the CPU (central processing unit) of mainboard can value of setting (setup value) that BIOS is relevant be written into, and removes to carry out boot program according to the value of setting of BIOS then.(Power On Self Test POST) comes initialization periphery hardware unit just to carry out the startup selftest.When carrying out POST, the hardware detection state of each hardware unit can be presented on the screen in the computer system, watches for the user.
As the user because cause specific need check information in the POST process time, just needs to carry out the implementation that specific action is checked POST step by step.For example, when computer system was carried out POST, the user press " Pause " key on the lower keyboard, with the display frame time-out in place that needs are checked.Or the quantity and the length of " bleep " that send from computer system, also can be from the error code that display frame occurred of screen, judge that to be which hardware takes place unusual.Yet the above-mentioned practice not only wastes time and energy, and work efficiency is also not high.
Summary of the invention
The invention provides a kind of inspection method of boot program, see through the mode of picture comparison, and generate log (Log) automatically, save the test duration according to this according to comparison result.
The invention provides a kind of boot program testing fixture, utilize the link module far-end to link to machine to be measured,, and check the state of boot program by this display frame with the display frame of the boot program that captures machine to be measured.
The present invention proposes a kind of inspection method of boot program.At first, set up line with an end to be measured, with when end to be measured is carried out boot program, the display frame of acquisition boot program.Then, comparison display frame and correct message picture, and produce a comparison result.Afterwards, comparison result is stored to a log, checks boot program to see through log.
In one embodiment of this invention, end above-mentioned and to be measured is set up the step of line, is after the Telpak private line service of end to be measured is enabled, and sees through a remote end module and end to be measured and sets up.
In one embodiment of this invention, above-mentioned when end to be measured is carried out boot program, before the step of the display frame of acquisition boot program, also can see through link module, when end to be measured is carried out boot program, show the display frame of boot program.
In one embodiment of this invention, the step of the display frame of above-mentioned acquisition boot program, the display frame that also comprises storage and captured.
In one embodiment of this invention, the inspection method of boot program also comprises provides a database, to deposit correct message picture.
In one embodiment of this invention, above-mentioned display frame comprises the hardware detection state.
The present invention proposes a kind of boot program testing fixture, comprises link module, sectional drawing module and comparing module.Wherein, link module be enabled in order to Telpak private line service at end to be measured after, set up line with end to be measured.The sectional drawing module is the display frame in order to the boot program that captures end to be measured.Comparing module is in order to comparison display frame and correct message picture, and produces comparison result, and comparison result is stored to log, checks the boot program of end to be measured to see through log.
In one embodiment of this invention, the boot program testing fixture also comprises screen and storage unit.Screen is in order to after line is set up, and presents the display frame of end to be measured, so that the sectional drawing module captures display frame from screen.Database is in order to deposit correct message picture.Above-mentioned link module for example is a hyper terminal machine (HyperTerminal).
The present invention utilizes the display frame of the boot program of acquisition end to be measured, and compares with correct message picture, to generate log.Thus, need only the detected state that just can learn end boot program to be measured by log fast, not only can save the test duration, more can increase work efficiency.
For above-mentioned feature and advantage of the present invention can be become apparent, preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Description of drawings
Fig. 1 is the system block diagrams that the far-end that illustrates according to one embodiment of the invention is checked boot program.
Fig. 2 is the inspection method process flow diagram of the boot program that illustrates according to one embodiment of the invention.
Embodiment
The method of traditional detection boot program need be dependent on the user and be checked length by length, quite wastes time and energy.Therefore, the present invention proposes a kind of inspection method and device of boot program, generates the execution result that a log (Log) is stored boot program with robotization.In order to make content of the present invention more clear, below the example that can implement according to this really as the present invention especially exemplified by embodiment.
Fig. 1 is the system block diagrams that the far-end that illustrates according to one embodiment of the invention is checked boot program.Please refer to Fig. 1, this system comprises boot program testing fixture 110, end to be measured 120 and network 130.Boot program testing fixture 110 comprises link module 111, sectional drawing module 113, comparing module 115, screen 117 and database 119.120 at end to be measured possesses a remote terminal (Remote Termina1) function 121, utilizes Telpak private line service 121 to determine whether and can set up line with end 120 to be measured.
Link module 111 be enabled in order to Telpak private line service 121 at end 120 to be measured after, see through network 130 and set up line with end 120 to be measured.In the present embodiment, link module 111 for example is the hyper terminal machine.
Sectional drawing module 113 is in order to the display frame of the boot program that captures end 120 to be measured.That is to say, when end 120 to be measured when carrying out boot program (for example, starting selftest), boot program testing fixture 110 can utilize sectional drawing module 113 to capture the display frame of end 120 to be measured.Display frame has comprised the hardware detection state, and just general computer system is presented at the various messages on the screen when start.
Comparing module 115 is in order to comparison display frame and correct message picture, and produces a comparison result, and comparison result is stored to log, checks the boot program of end 120 to be measured to see through log.Say further, can in boot program testing fixture 110, set up database 119 in advance and deposit correct message picture.After sectional drawing module 113 acquisitions one display frame, just the correct message picture of display frame and database 119 can be compared.
Screen 117 is the display frame that is used for showing end 120 to be measured.In other words, after the line between boot program testing fixture 110 and the end to be measured 120 was set up, screen 117 just can demonstrate the display frame of end 120 to be measured, so that sectional drawing module 113 is from screen 117 acquisition display frames.
In the present embodiment, above-mentioned boot program testing fixture 110 for example is notebook computer or PC etc.
The said system of below just arranging in pairs or groups describes each step of boot program inspection method in detail.Fig. 2 is the inspection method process flow diagram of the boot program that illustrates according to one embodiment of the invention.Please be simultaneously with reference to Fig. 1 and Fig. 2, present embodiment is in boot program testing fixture 110, utilizes network 130 to link to end 120 to be measured to check the boot program of end 120 to be measured.
At first, shown in step S205, the Telpak private line service 121 with end 120 to be measured enables earlier.For instance, the user can be introduced into Basic Input or Output System (BIOS) (the Basic InputOutput System of end 120 to be measured in advance, BIOS) setting menu enables Telpak private line service, so that boot program testing fixture 110 can link to end 120 to be measured by far-end.In addition, the user also can enable WOL (Wake On LAN) (Wakeon LAN) function simultaneously, with directly in boot program testing fixture 110 far-end start (Power on) end 120 to be measured.
Then, shown in step S210, in boot program testing fixture 110, see through link module 111 and set up line with end 120 to be measured.Say that further boot program testing fixture 110 starts link module 111 (for example, hyper terminal machine).Then, utilize link module 111 and end 120 lines to be measured.And after both sides' line, just can in boot program testing fixture 110, start end 120 to be measured, so that carrying out boot program, end to be measured 120 enters operating system.
Afterwards, when end 120 to be measured is carried out boot program, shown in step S215, by the display frame of sectional drawing module 113 acquisition boot programs.In the present embodiment, boot program testing fixture 110 for example is to capture the display frame that is presented on the screen 117 by sectional drawing module 113.That is to say, when end 120 to be measured when carrying out boot program, boot program testing fixture 110 sees through link module 111 and the display frame of end 120 to be measured can be presented on the screen 117.In view of the above, the just display frame in the fechtable screen 117 of sectional drawing module 113.In addition, in other embodiments, boot program testing fixture 110 also can not be presented on display frame on the screen 117, and directly captures the display frame of end 120 to be measured by sectional drawing module 113.
In addition, after the display frame of sectional drawing module 113 acquisition boot programs, also the display frame that is captured can be stored in the test file folder, use for follow-up comparison.
Afterwards, in step S220, comparing module 115 can be compared display frame and correct message picture, and produces a comparison result.The message at different place for example appears in comparison result for both, or is the correct message of comparison.
At last, in step S230, comparing module 115 is stored to log with comparison result, sees through log for the user and checks boot program.For instance, when in comparison display frame and correct message picture the time,, be recorded in the log just the message at different place will occur if both different place occurs.
In sum, in the above-described embodiments, link to end to be measured by boot program testing fixture far-end, with the display frame of the boot program that captures end to be measured, and and correct message picture compare, to generate log.In view of the above, need only the detected state that just can learn end boot program to be measured by log fast, not only save the test duration, more increase work efficiency.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; have in the technical field under any and know the knowledgeable usually; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is when with being as the criterion that claim was defined.

Claims (10)

1. the inspection method of a boot program comprises:
Set up a line with an end to be measured;
When this end to be measured is carried out a boot program, capture a display frame of this boot program;
Compare this display frame and a correct message picture, and produce a comparison result; And
Store this comparison result to one log, check this boot program to see through this log.
2. the inspection method of boot program as claimed in claim 1 is characterized in that, sets up the step of this line with this end to be measured, comprising:
After a Telpak private line service of this end to be measured is enabled, sees through a link module and set up this line with this end to be measured.
3. the inspection method of boot program as claimed in claim 2 is characterized in that, when this end to be measured is carried out this boot program, captures before the step of this display frame of this boot program, also comprises:
See through this link module, when this end to be measured is carried out this boot program, show this display frame of this boot program.
4. the inspection method of boot program as claimed in claim 1 is characterized in that, captures the step of this display frame of this boot program, also comprises:
This display frame that storage is captured.
5. the inspection method of boot program as claimed in claim 1 is characterized in that, also comprises:
Provide a database, to deposit this correct message picture.
6. the inspection method of boot program as claimed in claim 1 is characterized in that, this display frame comprises a hardware detection state.
7. boot program testing fixture comprises:
One link module after being enabled in order to the Telpak private line service at an end to be measured, is set up a line with this end to be measured;
One sectional drawing module is in order to a display frame of the boot program that captures this end to be measured; And
One comparing module in order to comparing this display frame and a correct message picture, and produces a comparison result, and this comparison result is stored to a log, checks this boot program of this end to be measured to see through this log.
8. boot program testing fixture as claimed in claim 7 is characterized in that, also comprises:
One screen in order to after this line is set up, shows this display frame, so that this sectional drawing module captures this display frame from this screen.
9. boot program testing fixture as claimed in claim 7 is characterized in that, also comprises:
One database is in order to deposit this correct message picture.
10. boot program testing fixture as claimed in claim 7 is characterized in that, this link module is the hyper terminal machine.
CN200810085818A 2008-03-14 2008-03-14 Method for checking start-up procedure and device thereof Pending CN101533369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810085818A CN101533369A (en) 2008-03-14 2008-03-14 Method for checking start-up procedure and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810085818A CN101533369A (en) 2008-03-14 2008-03-14 Method for checking start-up procedure and device thereof

Publications (1)

Publication Number Publication Date
CN101533369A true CN101533369A (en) 2009-09-16

Family

ID=41103985

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810085818A Pending CN101533369A (en) 2008-03-14 2008-03-14 Method for checking start-up procedure and device thereof

Country Status (1)

Country Link
CN (1) CN101533369A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473065A (en) * 2010-04-13 2012-05-23 松下电器产业株式会社 Screen shot display control apparatus, screen shot display control method, integrated circuit for screen shot display control, and server apparatus
CN102789405A (en) * 2011-05-16 2012-11-21 鸿富锦精密工业(深圳)有限公司 Automated testing method and system for mainboard
CN107577595A (en) * 2017-07-14 2018-01-12 捷开通讯(深圳)有限公司 Communication apparatus software detecting method, electronic equipment and the device with store function
CN110456183A (en) * 2019-07-15 2019-11-15 深圳康佳电子科技有限公司 A kind of method and system detecting electric equipment products exception

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1183692A (en) * 1996-11-21 1998-06-03 明碁电脑股份有限公司 Image pick-up arrangement and control method thereof
US6560706B1 (en) * 1998-01-26 2003-05-06 Intel Corporation Interface for ensuring system boot image integrity and authenticity
CN1673970A (en) * 2004-03-27 2005-09-28 鸿富锦精密工业(深圳)有限公司 Monitoring system and method for graphic interface when a Long-distance computer is opened
CN1797340A (en) * 2004-12-30 2006-07-05 英业达股份有限公司 Display system and method capable of self-defining starting up frame
JP2006319684A (en) * 2005-05-13 2006-11-24 Sony Corp Imaging device and power feeding method for image pickup device
CN101013376A (en) * 2007-02-09 2007-08-08 无敌科技(西安)有限公司 Multiple protection method of start-up program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1183692A (en) * 1996-11-21 1998-06-03 明碁电脑股份有限公司 Image pick-up arrangement and control method thereof
US6560706B1 (en) * 1998-01-26 2003-05-06 Intel Corporation Interface for ensuring system boot image integrity and authenticity
CN1673970A (en) * 2004-03-27 2005-09-28 鸿富锦精密工业(深圳)有限公司 Monitoring system and method for graphic interface when a Long-distance computer is opened
CN1797340A (en) * 2004-12-30 2006-07-05 英业达股份有限公司 Display system and method capable of self-defining starting up frame
JP2006319684A (en) * 2005-05-13 2006-11-24 Sony Corp Imaging device and power feeding method for image pickup device
CN101013376A (en) * 2007-02-09 2007-08-08 无敌科技(西安)有限公司 Multiple protection method of start-up program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102473065A (en) * 2010-04-13 2012-05-23 松下电器产业株式会社 Screen shot display control apparatus, screen shot display control method, integrated circuit for screen shot display control, and server apparatus
CN102473065B (en) * 2010-04-13 2015-04-08 松下电器(美国)知识产权公司 Screen shot display control apparatus, screen shot display control method, integrated circuit for screen shot display control, and server apparatus
CN102789405A (en) * 2011-05-16 2012-11-21 鸿富锦精密工业(深圳)有限公司 Automated testing method and system for mainboard
CN107577595A (en) * 2017-07-14 2018-01-12 捷开通讯(深圳)有限公司 Communication apparatus software detecting method, electronic equipment and the device with store function
CN110456183A (en) * 2019-07-15 2019-11-15 深圳康佳电子科技有限公司 A kind of method and system detecting electric equipment products exception

Similar Documents

Publication Publication Date Title
WO2016095554A1 (en) Test method, device and system for application
CN100543693C (en) Power-on self-detection method
CN103516559A (en) Method and system for testing application compatibility of intelligent terminal
CN102467442B (en) Software testing method, system and equipment
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
Karlsson et al. Android anti-forensics: Modifying cyanogenmod
CN101873234A (en) Network card performance testing system and method
CN102855188A (en) Android based system pressure testing method
CN106326088A (en) Test object constructing method and device, and service configuration testing device
CN105022694A (en) Test case generation method and system for mobile terminal test
CN106776179A (en) The automatic testing method and device of electronic device failure
CN106909468A (en) A kind of computer fault diagnosis method based on UEFI firmwares
CN111554219A (en) Display equipment testing method and device, electronic product and storage medium
CN101533369A (en) Method for checking start-up procedure and device thereof
CN107797922B (en) Application page testing method, electronic device and electronic equipment
CN109710479B (en) Processing method, first device and second device
CN103326930A (en) Automatic patrolling method and system for open platform interface
CN103369532B (en) A kind of black box detection method of mobile terminal from malicious software action
CN103823725A (en) Debugging device and debugging method
CN101582050B (en) Bug prompt method in software test and device
CN114387775B (en) Pressure measurement method and device for simulating remote controller
CN105912431A (en) Reboot testing method of server, server, control device and system
CN110543394A (en) server sensor information consistency testing method, system, terminal and storage medium
CN115328764A (en) Test code optimization method based on automatic test and related equipment thereof

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

Open date: 20090916