CN101593137A - Error-detecting method - Google Patents

Error-detecting method Download PDF

Info

Publication number
CN101593137A
CN101593137A CNA2008100984946A CN200810098494A CN101593137A CN 101593137 A CN101593137 A CN 101593137A CN A2008100984946 A CNA2008100984946 A CN A2008100984946A CN 200810098494 A CN200810098494 A CN 200810098494A CN 101593137 A CN101593137 A CN 101593137A
Authority
CN
China
Prior art keywords
data processing
processing equipment
time
configuration information
error
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
CNA2008100984946A
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 CNA2008100984946A priority Critical patent/CN101593137A/en
Publication of CN101593137A publication Critical patent/CN101593137A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of error-detecting method, start the state of operating system that enters in order to the test data treating apparatus, its established standards configuration information, standard start-up time, and testing time, carry out initiating task to make this data processing equipment by this testing time, when this data processing equipment startup enters operating system, the number of starts of calculating this data processing equipment is also shown, call the information gathering program that is loaded into this operating system simultaneously, to detect each hardware component and the corresponding respectively configuration information of this hardware component of collection that this data processing equipment is had, and calculate this data processing equipment simultaneously and start and enter expending time in of operating system, respectively configuration information and this standard configuration information of collected hardware component is compared, and consumption time and this standard of being calculated compared start-up time, whether make mistakes and record in addition with the differentiation start-up course.

Description

Error-detecting method
Technical field
The present invention relates to a kind of error-detecting method, more detailed it, relate to a kind of error-detecting method that starts the state that enters operating system in order to test data treating apparatus repeatedly.
Background technology
Along with the continuous development of infotech and the continuous change of consumer demand, many data processing equipments are in its function aspects also seeking change and innovation constantly, and be enhanced feature, this data processing equipment multiple electronic unit of then arranging in pairs or groups, correspondingly, this data processing equipment will load the driver of corresponding respectively this electronic unit and Application Software Program etc. according to this functional requirement in starting up's process.
Starting up's process of general data treating apparatus, for example server, computing machine etc., all the startup self-detection program (POST) that can be had by the Basic Input or Output System (BIOS) (BIOS) that is equipped on this data processing equipment is detected each electronic unit that this data processing equipment had, and will detect the result and read in the leader record of operating system (OS), and after this operating system initialization was finished, the user just can use this various electronic units by it.
Yet, when if this Basic Input or Output System (BIOS) breaks down or operating system initialization breaks down, must cause this data processing equipment normally to move, just think, if this data processing equipment is a server and hinge equipment in order to connect as network will cause the serious consequence of whole network paralysis in case break down.
Therefore, must be before dispatching from the factory carry out repeatedly startup test, both damage or fault, and the operating system initialization fault in order to get rid of Basic Input or Output System (BIOS) to this data processing equipment, also convenient by subscribing standard setting start-up time.
Present startup test jobs is restarted number of times by setting earlier, allows data processing equipment carry out loop start thereafter, just finishes test when reaching this and restart number of times.
Yet, because whether this kind method of testing only test data treating apparatus is finished this and predetermined is restarted number of times, just it is normal to judge that when finishing this restarts operation, but still there are many shortcomings in it, for example, if mistake appears in certain startup, as stop, time-delay etc., then data processing equipment may be waited for this time startup, then continues test when recovering, final test result is also normal for restarting operation, can't know and in fact occur problem really in the test process; Moreover, even known and mistake occurred, can't determine from test result also which time starts to go wrong, if such is restarted the incorrect data processing equipment of operation and is not screened out, and finished packing and shipment, will diminish company's industry brand image, caused adverse consequences.In addition; because the function of this Basic Input or Output System (BIOS) is the described electronic unit of initialization for whether all electronic units of detecting before entering operating system load only; and in the actual conditions; the unfavorable condition that described electronic unit is lost after the operating system appears entering in regular meeting; only can detect one as two CPU; or hard disk quantity; memory spans etc. all do not conform to the actual conditions etc.; but in present testing process; described error situations be not recorded or the situation known under; this data processing equipment enters next start-up course again, and is real in influencing test mass; reduce a big defective of product fine rate.
Therefore, how to find a kind of loop start method of testing, to remedy above-mentioned disadvantages, real is present problem demanding prompt solution.
Summary of the invention
In view of the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of error-detecting method, starts the state of operating system that enters in order to test data treating apparatus repeatedly, to improve the product fine rate.
Another object of the present invention is to provide a kind of quick error-detecting method reliably, start the test result that enters operating system, start test job efficient to improve in order to the record data treating apparatus.
For reaching above-mentioned purpose, the invention provides a kind of error-detecting method, enter the state of operating system in order to the startup of test data treating apparatus, it is characterized in that this error-detecting method comprises: established standards configuration information, standard start-up time and testing time; Make this data processing equipment carry out initiating task by this testing time; When this data processing equipment startup entered operating system, the number of starts that writes down this data processing equipment was also shown; Call the information gathering program that is loaded into this operating system, detecting each hardware component that this data processing equipment is had, and collect the corresponding respectively configuration information of this hardware component; Compare configuration information and this standard configuration information of this hardware component, when not being inconsistent, send corresponding error message; Compare this data processing equipment and start and enter expending time in and this standard start-up time of operating system, expend time at this and send corresponding error message during start-up time greater than this standard; Writing down this error message is also shown.
In one embodiment, this data processing equipment is one of them of server (server), desktop PC (DT), Espresso (PPC), PDA(Personal Digital Assistant) and notebook computer (NB); The configuration information of this hardware component and standard configuration information are the amount of capacity of this hardware component; And error-detecting method of the present invention is that graphical interfaces is provided, in order to set and to show this standard configuration information, standard start-up time and testing time, also can be in order to configuration information and this error message that shows this hardware component, simultaneously, this graphical interfaces also provides control knob to carry out and start in order to control this data processing equipment, or controls this data processing equipment and start the time-out of process and stop.
Compared with prior art, error-detecting method of the present invention is mainly by the established standards configuration information, standard start-up time, and testing time is carried out initiating task to make this data processing equipment by this testing time, and when the each startup of this data processing equipment enters operating system, calculating the current number of starts of this data processing equipment is also shown, simultaneously, call be loaded into this operating system the information gathering program to detect each hardware component that this data processing equipment is had, and collect the configuration information of corresponding described hardware component, and calculate the last time used time of start-up course simultaneously, thereby can by respectively with the configuration information of collected hardware component with this standard configuration information comparison, and the used time of the start-up course of being calculated is compared with this standard start-up time, to differentiate whether this start-up course makes mistakes and record in addition, so, just can be by the shown number of starts, the configuration information of hardware component, and the error message of being write down clearly obtains the mistake that this data processing equipment is occurred in starting test jobs, test mass and product fine rate have been improved effectively, simultaneously, help promoting test job efficient.
Description of drawings
Fig. 1 is the process flow diagram of error-detecting method of the present invention; And
Fig. 2 is for startup error-detecting method of the present invention and show the content of the required setting of error-detecting method of the present invention and the graphical interfaces synoptic diagram of the test result exported.
The simple declaration of assembly label
S1~S8 step
Embodiment
Below by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantage of the present invention and effect easily by the content that this instructions disclosed.The present invention also can be implemented or be used by other different instantiation, and the every details in this instructions also can be based on different viewpoints and application, carries out various modifications and change under the spirit of the present invention not deviating from.
Be illustrated in figure 1 as in order to the process flow diagram of error-detecting method of the present invention to be described.Error-detecting method of the present invention starts the state of operating system that enters in order to the test data treating apparatus.In the present embodiment, this data processing equipment can for example be common server (server), desktop PC (DT), Espresso (PPC), PDA(Personal Digital Assistant) and mobile computer electronic installations such as (NB), and error-detecting method of the present invention all can be applicable in the startup test jobs of such electronic installation, and Windows, DOS, Linux and other common operating system etc. that the aforesaid operations system for example is loaded on the computing machine all can.
As shown in the figure, the flow process of error-detecting method of the present invention system comprises the steps:
In step S1, established standards configuration information, standard start-up time and testing time.In the present embodiment, this setting operation can be set by graphical interfaces, so that implement.Then carry out step S2.
In step S2, begin to start this data processing equipment.In the present embodiment, for example provide control knob etc. on this graphical interfaces, by press this control knob just this data processing equipment of may command begin to start test etc.Then carry out step S3.
In step S3, when this data processing equipment startup entered operating system, the number of starts of calculating this data processing equipment was also shown.In the present embodiment, this account form can for example be a bulk billing system, promptly whenever finish one-shot (for example being as the criterion) and before starting beginning, count next time and add up 1 to enter operating system, till reaching the number of starts that sets, in addition, this number of starts also can be shown by graphical interfaces, to reach effect more intuitively.Then carry out step S4.In step S4, when this data processing equipment startup enters operating system, call the information gathering program that is loaded into this operating system and detect each hardware component that this data processing equipment has, collecting the corresponding respectively configuration information of this hardware component, and then shown.In the present embodiment, as previously mentioned, this operating system system can for example be Windows, DOS, (SuSE) Linux OS, this information gathering program then can be correspondingly the corresponding respectively function of this hardware component obtains its corresponding configuration information under this operating system by calling, wherein, this configuration information can for example be the quantity of cpu frequency and quantity, hard disk and storer and capacity etc., and can be shown by graphical interfaces.Then carry out step S5.
In step S5, whether configuration information and this standard configuration information of comparing this hardware component conform to, if do not conform to, then send corresponding error message, and then carry out step S7; If conform to, then carry out step S6.In the present embodiment, this configuration information and standard configuration information are foregoing for example cpu frequency and quantity, the quantity of hard disk and storer and capacity etc., wherein, this standard configuration information then can be for example by the respectively initial actual value setting of this hardware component, promptly for example actual CPU quantity, the quantity of actual hard disk and storer and capacity or the like, the configuration information that is used for and is detected is with reference to comparison, whether the situation that hardware component is as described in the prior art lost appears to detect, what must illustrate is, when the initial actual value of this hardware component can for example start for this data processing equipment first, configuration information of the hardware component that obtains by this information gathering program etc. is not to exceed with present embodiment.
In step S6, calculate this data processing equipment startup and enter expending time in of operating system, and this is expended time in compare start-up time with this standard, if this expended time in greater than this standard start-up time, then send corresponding error message and carry out step S7; If this expended time in less than this standard start-up time, then carry out step S8.In the present embodiment, start and enter the operating system required time and compare start-up time by calculating this data processing equipment with this standard, can detect long problem start-up time that whether occurs as described in the prior art, if overlong time, enter operating system even finally can start, but this startup should be judged to be to start and make mistakes, only need by for example being loaded into the timing software of this operating system, called when entering this operating system to start at this data processing equipment, the time interval (being the used time of single start-up course) that then can conveniently record adjacent twice startup of this data processing equipment and enter this operating system is for relatively, certainly, do not get rid of the computing method that other is arranged, only needing to record the used time of each startup gets final product, but not exceeds with present embodiment.
In addition, this standard start-up time can be according to the mean value of for example common used time of startup etc., or for time interval with certain limit etc. all can, can make test more accurate like this.
In step S7, write down this error message and also shown.In the present embodiment, the mode that shows this error message can have multiple, and for example this error message comprises the aggregate-value of the number of starts of makeing mistakes, and then corresponding show " error times:3 " for example totally appears 3 times when wrong, in then corresponding this aggregate-value that shows; Perhaps to the situation of hardware component information dropout occurring, in the corresponding field of configuration information, indicated and shown etc. that for example actual CPU quantity is 2, if only detect 1 then can be highlighted, mode such as variable color shows that " CPU:1 " is to illustrate mistake; The wrong number of starts perhaps will occur and indicate demonstration respectively, for example the 3rd startup makes mistakes, and then can correspondingly show for example information such as " 3rd Error ", mistake occurs so which time startup the tester understands.Then carry out step S8.
In step S8, this data processing equipment that differentiation is calculated starts the number of times that enters operating system and whether reaches the testing time that sets, if reach, then finishes test; If do not reach, then return step S2.
What must illustrate is, in the present embodiment, above-mentioned graphical interfaces is for as shown in Figure 2, set and show this standard configuration information by this graphical interfaces, standard start-up time, i.e. " Setting " shown in Fig. 2 lower right area, set-up function that it provides such as CPU quantity (CPUQuantity), storer (memory) capacity, standard start-up time (Waite time) and the number of starts (Reboot times), or show the configuration information of this hardware component, promptly as " System Info " as shown in figure the first half, by the collected hardware relevant information of information gathering program, to compare with this standard configuration information that sets, and the error message that this graphical interfaces also can be exported the comparison back is shown, " Errors: " shown in zone, lower-left among the figure, the shown information of present embodiment is to start errors number, and is extremely directly perceived; In addition, this graphical interfaces also can provide in order to control this data processing equipment and carry out the control knob that starts (Start) etc. the button of lower right area (be among the figure), certainly, by by hit this control knob also the startup process of this data processing equipment of may command time-out (Pause) or stop (Stop), for example can be provided with for the first time by hitting to beginning to start test, once more by hitting then for suspending the startup process, if double-click continuously then for stopping to start test etc., so can be convenient to control the flow process of whole startup test, also be beneficial to and rest on a certain process and search the error reason that detected etc.
Compared with prior art, error-detecting method of the present invention is mainly by the established standards configuration information, standard start-up time, and testing time, carry out initiating task to make this data processing equipment by this testing time, and when the each startup of this data processing equipment enters operating system, the number of starts of this data processing equipment of accumulative total is also shown, simultaneously, call the information gathering program that is loaded into this operating system, detect each hardware component that this data processing equipment has, to collect the configuration information of corresponding described hardware component, and calculate this data processing equipment and start and enter expending time in of operating system, thereby can be by respectively with the configuration information of collected hardware component and this standard configuration information comparison that sets, and this standard that expends time in and set that this data processing equipment startup of being calculated is entered operating system compares start-up time, whether make mistakes and write down relevant error message to differentiate this start-up course, so, just can be by the shown number of starts, the configuration information of hardware component, and the mistake that data processing equipment is occurred is understood in the error message of being write down in starting test jobs, test mass and product fine rate have been improved effectively, simultaneously, error-detecting method of the present invention reduces the test error rate, helps promoting test job efficient.
The foregoing description is illustrative principle of the present invention and effect thereof only, but not is used to limit the present invention.Any those skilled in the art all can be under spirit of the present invention and category, and the foregoing description is modified and changed.Therefore, the scope of the present invention should be foundation with the scope of claims.

Claims (8)

1, a kind of error-detecting method enters the state of operating system in order to the startup of test data treating apparatus, it is characterized in that this error-detecting method comprises:
(1) established standards configuration information, standard start-up time and testing time;
(2) make this data processing equipment carry out initiating task by this testing time;
(3) when this data processing equipment startup entered operating system, the number of starts that writes down this data processing equipment was also shown;
(4) call the information gathering program that is loaded into this operating system, detecting each hardware component that this data processing equipment is had, and collect the corresponding respectively configuration information of this hardware component;
(5) compare configuration information and this standard configuration information of this hardware component, when not being inconsistent, send corresponding error message;
(6) compare this data processing equipment and start and enter expending time in and this standard start-up time of operating system, expend time at this and send corresponding error message during start-up time greater than this standard;
(7) writing down this error message is also shown.
2, error-detecting method according to claim 1 is characterized in that, this data processing equipment is one of them of server, desktop PC, Espresso, personal digital assistant and notebook computer.
3, error-detecting method according to claim 1 is characterized in that, the standard configuration information of this setting and the configuration information of hardware component are the quantity and the capability value of this hardware component.
4, error-detecting method according to claim 1 is characterized in that, graphical interfaces is provided, in order to set and to show this standard configuration information, standard start-up time and testing time.
5, error-detecting method according to claim 4, it is characterized in that, this graphical interfaces is also in order to show that this data processing equipment starts when entering operating system the error message that the configuration information of the hardware component that this information gathering program is collected and comparison back are sent.
6, error-detecting method according to claim 4 is characterized in that, this graphical interfaces also provides control knob, carries out startup in order to control this data processing equipment.
7, error-detecting method according to claim 6 is characterized in that, this control knob also starts the time-out of process and stops in order to controlling this data processing equipment.
8, error-detecting method according to claim 1 is characterized in that, when this data processing equipment startup enters operating system, shows the configuration information of the hardware component that this information gathering program is collected.
CNA2008100984946A 2008-05-28 2008-05-28 Error-detecting method Pending CN101593137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100984946A CN101593137A (en) 2008-05-28 2008-05-28 Error-detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100984946A CN101593137A (en) 2008-05-28 2008-05-28 Error-detecting method

Publications (1)

Publication Number Publication Date
CN101593137A true CN101593137A (en) 2009-12-02

Family

ID=41407805

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100984946A Pending CN101593137A (en) 2008-05-28 2008-05-28 Error-detecting method

Country Status (1)

Country Link
CN (1) CN101593137A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215244A (en) * 2010-04-06 2011-10-12 深圳市智游通科技有限公司 Tour guide instrument control method and device as well as tour guide instrument and monitoring server
CN103106128A (en) * 2011-11-14 2013-05-15 英业达科技有限公司 Cold startup switch machine test method and cold starting switch machine test system
CN103678380A (en) * 2012-09-17 2014-03-26 鸿富锦精密工业(深圳)有限公司 Test state presentation and anomaly indexing system and method
CN104375907A (en) * 2013-08-13 2015-02-25 神讯电脑(昆山)有限公司 Laptop configuration auto-testing method
CN104503911A (en) * 2014-12-19 2015-04-08 广东欧珀移动通信有限公司 Software debugging method and device for terminal
CN104679619A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 Server and detection method of server
CN110334905A (en) * 2019-05-30 2019-10-15 平安科技(深圳)有限公司 Project fault display method, device, computer equipment and storage medium
CN110445687A (en) * 2019-08-12 2019-11-12 太仓市同维电子有限公司 A kind of HGU product startup function test method and device
CN114360630A (en) * 2022-01-24 2022-04-15 北京得瑞领新科技有限公司 Batch test method and system for SSD (solid State disk)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215244A (en) * 2010-04-06 2011-10-12 深圳市智游通科技有限公司 Tour guide instrument control method and device as well as tour guide instrument and monitoring server
CN103106128A (en) * 2011-11-14 2013-05-15 英业达科技有限公司 Cold startup switch machine test method and cold starting switch machine test system
CN103678380A (en) * 2012-09-17 2014-03-26 鸿富锦精密工业(深圳)有限公司 Test state presentation and anomaly indexing system and method
CN104375907A (en) * 2013-08-13 2015-02-25 神讯电脑(昆山)有限公司 Laptop configuration auto-testing method
CN104679619A (en) * 2013-11-28 2015-06-03 英业达科技有限公司 Server and detection method of server
CN104503911A (en) * 2014-12-19 2015-04-08 广东欧珀移动通信有限公司 Software debugging method and device for terminal
CN104503911B (en) * 2014-12-19 2017-07-07 广东欧珀移动通信有限公司 The software debugging method and device of a kind of terminal
CN110334905A (en) * 2019-05-30 2019-10-15 平安科技(深圳)有限公司 Project fault display method, device, computer equipment and storage medium
CN110334905B (en) * 2019-05-30 2023-06-23 平安科技(深圳)有限公司 Project fault display method, device, computer equipment and storage medium
CN110445687A (en) * 2019-08-12 2019-11-12 太仓市同维电子有限公司 A kind of HGU product startup function test method and device
CN114360630A (en) * 2022-01-24 2022-04-15 北京得瑞领新科技有限公司 Batch test method and system for SSD (solid State disk)
CN114360630B (en) * 2022-01-24 2022-07-15 北京得瑞领新科技有限公司 Batch test method and system for SSD (solid State disk)

Similar Documents

Publication Publication Date Title
CN101593137A (en) Error-detecting method
JP6530774B2 (en) Hardware failure recovery system
US5437033A (en) System for recovery from a virtual machine monitor failure with a continuous guest dispatched to a nonguest mode
CN100517262C (en) Master plate monitoring system and method
WO2018095107A1 (en) Bios program abnormal processing method and apparatus
US20120254662A1 (en) Automated test system and automated test method
US20140068350A1 (en) Self-checking system and method using same
EP3591485B1 (en) Method and device for monitoring for equipment failure
JP2010086364A (en) Information processing device, operation state monitoring device and method
CN102279787A (en) Method and device for testing average fault-free time
CN101334744B (en) Multiprocessor system fault checking method, system and device
CN100545814C (en) Messaging device and opertaing device thereof, control method
CN116775141A (en) Abnormality detection method, abnormality detection device, computer device, and storage medium
US7886202B2 (en) System and methods for recording, displaying, and reconstructing computer-based system and user events
CN112506693A (en) Method and device for recording abnormal information, storage medium and electronic equipment
CN101923503B (en) Method for regulating internal parameters of internal storage and computer system using same
CN102023887B (en) Power supply management method of computer system and computer system
CN101592884B (en) Operation displaying device and image forming device
JPH02294739A (en) Fault detecting system
CN107133130B (en) Computer operation monitoring method and device
CN201285545Y (en) Starting-up monitoring apparatus for host board
JP5733515B2 (en) Embedded equipment with RAS function
JP2015130023A (en) Information recording device, information processor, information recording method and information recording program
US20190108082A1 (en) Management system, management apparatus, and management method
JP2716537B2 (en) Down monitoring processing method in complex system

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: 20091202