CN102609356B - Terminal product driver loading stability testing method - Google Patents

Terminal product driver loading stability testing method Download PDF

Info

Publication number
CN102609356B
CN102609356B CN201210018512.1A CN201210018512A CN102609356B CN 102609356 B CN102609356 B CN 102609356B CN 201210018512 A CN201210018512 A CN 201210018512A CN 102609356 B CN102609356 B CN 102609356B
Authority
CN
China
Prior art keywords
measured
terminal
described terminal
remote wake
server
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.)
Active
Application number
CN201210018512.1A
Other languages
Chinese (zh)
Other versions
CN102609356A (en
Inventor
张辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Centerm Information Co Ltd
Original Assignee
Fujian Centerm Information 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 Fujian Centerm Information Co Ltd filed Critical Fujian Centerm Information Co Ltd
Priority to CN201210018512.1A priority Critical patent/CN102609356B/en
Publication of CN102609356A publication Critical patent/CN102609356A/en
Application granted granted Critical
Publication of CN102609356B publication Critical patent/CN102609356B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a terminal product driver loading stability testing method, which includes the steps: firstly, starting remote wakeup support in a BIOS (basic input/output system) of a terminal to be tested, writing a countdown automatic shutdown script and placing the script in a startup folder; and secondly, setting a remote wakeup program in a server, establishing a remote wakeup batch processing file and a vbs (visual basic script) file for realizing automatic looping execution of the remote wakeup batch processing file, automatically operating the remote wakeup batch processing file after operating the vbs file, realizing automatic looping boot of the terminal to be tested, reading driver information from the BIOS, automatically operating the countdown automatic shutdown script prior to shutting down the terminal to be tested after completely loading a driver, and clearing the loaded driver information. By the aid of the method, automatic repeated driver loading for the terminal to be tested is realized, terminal driver loading stability is reflected more really and accurately, manual operation and watching are omitted in the whole testing process, and testing cost is reduced.

Description

End product drive load stability test method
[technical field]
The present invention relates to electronic product field tests, particularly a kind of end product drive load stability test method.
[background technology]
Existing end product, adopts windows system mostly, and the hardware of such end product could be worked after mostly needing to load its driver, for example, and video driver, driver of sound card, network interface card driving etc.In use, as long as a certain drive load in terminal is made mistakes, all may cause terminal to break down, cannot use.Therefore, such end product, before putting on market, must strictly be tested the loading stability of various drivers in terminal.Existing method of testing, mostly, by restarting the terminal repeating test of starting shooting, observes after start, whether terminal can normally work, if can normally work, represents that all drivers all load, if cisco unity malfunction, analyzes whether drive load is made mistakes.But terminal, in restarting process, can't intactly again read activation bit from BIOS, this just means that terminal is in restarting, and driving is not intactly to reload.Only have terminal closedown, then start again, all drivings in terminal just can be carried out once comprehensively, intactly load.In the time that employing constantly restarts to test drive load stability, cannot simulate really the complete procedure of whole drive loads.Therefore, judge that by this method the stability of drive load exists drawback, can not be truly, exposed terminal drive load process may exist all sidedly problem.
[summary of the invention]
The technical problem to be solved in the present invention, be to provide a kind of end product drive load stability test method, without manual operation, realize robotization repeatability drive load, and loading is each time all that the complete of driver in terminal reloaded, reflect more truly, exactly the stability that final drive loads.
The present invention is achieved in that
End product drive load stability test method, described method of testing provides at least one the terminal to be measured that windows operating system is housed, one is equipped with the server of windows operating system, a switch, and described terminal to be measured, server are all connected with described switch; Described method of testing comprises the steps:
Step 1, in the BIOS of described terminal to be measured, open Remote Wake Up support;
Step 2, write countdown automatic shutdown script, the time of described countdown defines as required; Described countdown automatic shutdown script is placed under the startup file clip directory of described terminal to be measured, after described like this starting up of terminal to be measured, if it is normal that described final drive to be measured loads, can automatically move described countdown automatic shutdown script, by described terminal closedown to be measured, the driving having loaded in described terminal to be measured is eliminated;
Step 3, by a Remote Wake Up program be placed on described server C: WINDOWS under system32 catalogue, described Remote Wake Up program can realize described terminal Auto Power On to be measured;
Step 4, create a Remote Wake Up autoexec at described server, the content of described Remote Wake Up autoexec is a plurality of order lines, and described order line comprises: the IP address of Remote Wake Up routine call instruction, the MAC Address of described terminal to be measured, described terminal to be measured and the subnet mask of described terminal to be measured; The all corresponding described terminal to be measured of the subnet mask of the MAC Address of the described terminal to be measured in every described order line, the IP address of described terminal to be measured and described terminal to be measured;
Step 5, on described server, create a vbs script file, carry out in order to the automatic cycle of realizing Remote Wake Up autoexec, reach the automatic cycle start of described terminal to be measured with this; In described vbs script file, the value of name is pointed to the path of described Remote Wake Up autoexec, and the dormancy time of described vbs script file is set, described dormancy time is the interval time of described vbs script file operation;
Step 6, on described server double-click after operation described vbs script file;
Step 7, according to the value of name in described vbs script file, server moves name value Remote Wake Up autoexec pointed automatically, after described Remote Wake Up autoexec operation, call described Remote Wake Up program, send an Ethernet packets of information with broadcast mode, the MAC Address that the data field of described Ethernet packets of information comprises terminal to be measured described at least one, data field in described Ethernet packets of information is to extract from described Remote Wake Up autoexec, this Ethernet packets of information is through the forwarding of described switch, arrive in all terminals described to be measured in network, network interface card in each described terminal to be measured receives described Ethernet packets of information, each described terminal to be measured is compared to this Ethernet packets of information, concrete comparison mode is: when a certain described terminal to be measured is received after described Ethernet packets of information, compare the MAC Address whether data field in described Ethernet packets of information comprises this terminal network interface card to be tested, if, just activate this described terminal power supply to be measured, Auto Power On, in the process of start, this described terminal to be measured complete load driver again, if not, abandoning this Ethernet packets of information, this described terminal to be measured is not done any response,
Step 8, complete the terminal described to be measured after start, if the driving of described terminal to be measured is by complete loading, drive load inerrancy, described terminal to be measured is moved the countdown automatic shutdown script under described startup file clip directory automatically, treat that the self-defining countdown time exhausts, described terminal closedown to be measured; If the drive load process of terminal to be measured is made mistakes, there will be blue screen phenomenon, terminal to be measured stops at blue screen picture, cannot move described countdown automatic shutdown script, retains the on-the-spot tester of the confession debugging that makes mistakes and checks;
After the operation of step 9, described vbs script file, after the dormancy time arranging, be automatically activated, again move described vbs script file, then enter step 8, so repetitive cycling, thus realize the robotization complete loading final drive that circulates;
Above-mentioned steps 1 is to step 4 relation in no particular order.
Further, after described step 9, also comprise:
Step 10, in the process of server, finish the process of described vbs script file, described vbs script file is out of service, and test stops;
Step 11, tester check the system journal of terminal to be measured, confirm that terminal to be measured is in whole unattended test process, and whether its state is all normal.
Further, described terminal to be measured, server are connected with described switch by netting twine.
Tool of the present invention has the following advantages:
The present invention is by the vbs script file that automatic shutdown script is set in terminal to be tested, carries out in order to realize Remote Wake Up autoexec automatic cycle in Servers installed Remote Wake Up program, establishment Remote Wake Up autoexec and establishment one, terminal automatic cycle start to be measured and complete load driver are realized, more truly, reflect exactly the stability that final drive loads, and whole test process is without manual operation, without manually on duty, reduce testing cost.
[brief description of the drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is schematic flow sheet of the present invention.
[embodiment]
A kind of end product drive load stability test method, described method of testing provides at least one the terminal to be measured that windows operating system is housed, one is equipped with the server of windows operating system, a switch, and described terminal to be measured, server are all connected with described switch; Refer to Fig. 1, described method of testing comprises the steps:
Step 1, in the BIOS of described terminal to be measured, open Remote Wake Up support;
Step 2, write countdown automatic shutdown script, the time of described countdown defines as required; To write 30s countdown automatic shutdown script as example, described countdown automatic shutdown script called after close.bat, its content is: shutdown – s – t30; Described countdown automatic shutdown script is placed under the startup file clip directory of described terminal to be measured, after described like this starting up of terminal to be measured, if it is normal that described final drive to be measured loads, can automatically move described countdown automatic shutdown script, by described terminal closedown to be measured, the driving having loaded in described terminal to be measured is eliminated;
Step 3, by a Remote Wake Up program be placed on described server C: WINDOWS under system32 catalogue, described Remote Wake Up program can, by the operation at described server, realize described terminal Auto Power On to be measured; Remote Wake Up program of the prior art, as WolCmd.exe, now illustrates implementation process as an example of WolCmd.exe example;
Step 4, create a Remote Wake Up autoexec at described server, the content of described Remote Wake Up autoexec is a plurality of order lines, and described order line comprises: the IP address of Remote Wake Up routine call instruction, the MAC Address of described terminal to be measured, described terminal to be measured and the subnet mask of described terminal to be measured; The all corresponding described terminal to be measured of the subnet mask of the MAC Address of the described terminal to be measured in every described order line, the IP address of described terminal to be measured and described terminal to be measured; The concrete establishment mode of described Remote Wake Up autoexec is: the document that is txt at the newly-built suffix of described server, edit after complete preservation, and change the document suffix into bat, generate described Remote Wake Up autoexec; Described suffix is that the content of edit of txt document is the content of described Remote Wake Up autoexec.In the present embodiment, create the Remote Wake Up autoexec of file wol.bat by name, the path of its establishment is that under the root directory of c dish, described content of edit is specially: wolcmd[mac address1] [ip address1] [subnet mask];
Step 5, on described server, create a vbs script file, carry out in order to the automatic cycle of realizing Remote Wake Up autoexec, reach the automatic cycle start of described terminal to be measured with this; In described vbs script file, the value of name is pointed to the path of described Remote Wake Up autoexec, and the dormancy time of described vbs script file is set, described dormancy time is the interval time of described vbs script file operation; Described vbs script is specific as follows, and the dormancy time of its setting is 120s:
name="c:\wol.bat"
set?ws=CreateObject("wscript.shell")
set?fso=CreateObject("Scripting.FileSystemObject")
while?1
set?f=fso.getfile(name)
ws.run?f.shortpath,0
wscript.sleep?1000*120
wend
Step 6, on described server double-click after operation described vbs script file;
Step 7, according to the value of name in described vbs script file, server moves name value Remote Wake Up autoexec pointed wol.bat automatically, after described Remote Wake Up autoexec wol.bat operation, call described Remote Wake Up program, send an Ethernet packets of information with broadcast mode, the MAC Address that the data field of described Ethernet packets of information comprises terminal to be measured described at least one, in the time adopting WolCmd.exe Remote Wake Up program, the MAC Address of each terminal to be tested in described Ethernet packets of information will be repeated 16 times continuously, data field in described Ethernet packets of information is to extract from described Remote Wake Up autoexec wol.bat, this Ethernet packets of information is through the forwarding of described switch, arrive in all terminals described to be measured in network, network interface card in each described terminal to be measured receives described Ethernet packets of information, each described terminal to be measured is compared to this Ethernet packets of information, concrete comparison mode is: when a certain described terminal to be measured is received after described Ethernet packets of information, compare the MAC Address whether data field in described Ethernet packets of information comprises this terminal network interface card to be tested, if, just activate this described terminal power supply to be measured, Auto Power On, in the process of start, this described terminal to be measured complete load driver again, if not, abandoning this Ethernet packets of information, this described terminal to be measured is not done any response,
Step 8, complete the terminal described to be measured after start, if the driving of described terminal to be measured is by complete loading, drive load inerrancy, described terminal to be measured is moved the countdown automatic shutdown script under described startup file clip directory automatically, treat that the self-defining countdown time exhausts, described terminal closedown to be measured; If the drive load process of described terminal to be measured is made mistakes, there will be blue screen phenomenon, described terminal to be measured stops at blue screen picture, cannot move described countdown automatic shutdown script, retains the on-the-spot tester of the confession debugging that makes mistakes and checks;
After the operation of step 9, described vbs script file, after the dormancy time arranging, be automatically activated, again move described vbs script file, then enter step 8, so repetitive cycling, thus realize the robotization complete loading final drive that circulates.
In the present invention, step 1 is to step 4 relation in no particular order.
In the time that needs stop test, execution step 10: finish the process of described vbs script file in the process of server, described vbs script file is out of service, test stops.Finish after the process of described vbs script file, just can not call described Remote Wake Up program again, terminal to be measured just can not be waken up again.
For further confirming the test mode of terminal to be measured in whole test process, execution step 11: tester checks the system journal of terminal to be measured, confirms that terminal to be measured is in whole unattended test process, and whether its state is all normal.In the present embodiment, described terminal to be measured, server are connected with described switch by netting twine.
Here it should be noted that, the present invention to the hardware requirement of terminal to be measured is: power supply must be the ATX power supply meeting more than ATX 2.01 standards, and+5V Standby electric current at least should be more than 600mA; Secondly, mainboard is supported PCI 2.2 and above version, or when mainboard is during at PCI2.1 and following version, additionally provides 3 special core sockets, ensures to power to network interface card under stopped status; Finally, network interface card will be supported WOL standard.
The present invention is by the vbs script file that automatic shutdown script is set in terminal to be tested, carries out in order to realize Remote Wake Up autoexec automatic cycle in Servers installed Remote Wake Up program, establishment Remote Wake Up autoexec and establishment one, terminal automatic cycle start to be measured and complete load driver are realized, more truly, reflect exactly the stability that final drive loads, and whole test process is without manual operation, without manually on duty, reduce testing cost.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art are in equivalent modification and the variation done according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (3)

1. end product drive load stability test method, it is characterized in that: described method of testing provides at least one the terminal to be measured that windows operating system is housed, one is equipped with the server of windows operating system, a switch, and described terminal to be measured, server are all connected with described switch; Described method of testing comprises the steps:
Step 1, in the BIOS of described terminal to be measured, open Remote Wake Up support;
Step 2, write countdown automatic shutdown script, the time of described countdown defines as required; Described countdown automatic shutdown script is placed under the startup file clip directory of described terminal to be measured, after described like this starting up of terminal to be measured, if it is normal that described final drive to be measured loads, can automatically move described countdown automatic shutdown script, by described terminal closedown to be measured, the driving having loaded in described terminal to be measured is eliminated;
Step 3, by a Remote Wake Up program be placed on described server C: WINDOWS under system32 catalogue, described Remote Wake Up program can realize described terminal Auto Power On to be measured;
Step 4, create a Remote Wake Up autoexec at described server, the content of described Remote Wake Up autoexec is a plurality of order lines, and described order line comprises: the IP address of Remote Wake Up routine call instruction, the MAC Address of described terminal to be measured, described terminal to be measured and the subnet mask of described terminal to be measured; The all corresponding described terminal to be measured of the subnet mask of the MAC Address of the described terminal to be measured in every described order line, the IP address of described terminal to be measured and described terminal to be measured;
Step 5, on described server, create a vbs script file, carry out in order to the automatic cycle of realizing Remote Wake Up autoexec, reach the automatic cycle start of described terminal to be measured with this; In described vbs script file, the value of name is pointed to the path of described Remote Wake Up autoexec, and the dormancy time of described vbs script file is set, described dormancy time is the interval time of described vbs script file operation;
Step 6, on described server double-click after operation described vbs script file;
Step 7, according to the value of name in described vbs script file, server moves name value Remote Wake Up autoexec pointed automatically, after described Remote Wake Up autoexec operation, call described Remote Wake Up program, send an Ethernet packets of information with broadcast mode, the MAC Address that the data field of described Ethernet packets of information comprises terminal to be measured described at least one, data field in described Ethernet packets of information is to extract from described Remote Wake Up autoexec, this Ethernet packets of information is through the forwarding of described switch, arrive in all terminals described to be measured in network, network interface card in each described terminal to be measured receives described Ethernet packets of information, each described terminal to be measured is compared to this Ethernet packets of information, concrete comparison mode is: when a certain described terminal to be measured is received after described Ethernet packets of information, compare the MAC Address whether data field in described Ethernet packets of information comprises this terminal network interface card to be tested, if, just activate this described terminal power supply to be measured, Auto Power On, in the process of start, this described terminal to be measured complete load driver again, if not, abandoning this Ethernet packets of information, this described terminal to be measured is not done any response,
Step 8, complete the terminal described to be measured after start, if the driving of described terminal to be measured is by complete loading, drive load inerrancy, described terminal to be measured is moved the countdown automatic shutdown script under described startup file clip directory automatically, treat that the self-defining countdown time exhausts, described terminal closedown to be measured; If the drive load process of described terminal to be measured is made mistakes, there will be blue screen phenomenon, described terminal to be measured stops at blue screen picture, cannot move described countdown automatic shutdown script, retains the on-the-spot tester of the confession debugging that makes mistakes and checks;
After the operation of step 9, described vbs script file, after the dormancy time arranging, be automatically activated, again move described vbs script file, then enter step 8, so repetitive cycling, thus realize the robotization complete loading final drive that circulates;
Above-mentioned steps 1 is to step 4 relation in no particular order.
2. end product drive load stability test method according to claim 1, is characterized in that: after described step 9, also comprise:
Step 10, in the process of server, finish the process of described vbs script file, described vbs script file is out of service, and test stops;
Step 11, tester check the system journal of terminal to be measured, confirm that terminal to be measured is in whole unattended test process, and whether its state is all normal.
3. end product drive load stability test method according to claim 1, is characterized in that: described terminal to be measured, server are connected with described switch by netting twine.
CN201210018512.1A 2012-01-19 2012-01-19 Terminal product driver loading stability testing method Active CN102609356B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210018512.1A CN102609356B (en) 2012-01-19 2012-01-19 Terminal product driver loading stability testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210018512.1A CN102609356B (en) 2012-01-19 2012-01-19 Terminal product driver loading stability testing method

Publications (2)

Publication Number Publication Date
CN102609356A CN102609356A (en) 2012-07-25
CN102609356B true CN102609356B (en) 2014-12-10

Family

ID=46526746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210018512.1A Active CN102609356B (en) 2012-01-19 2012-01-19 Terminal product driver loading stability testing method

Country Status (1)

Country Link
CN (1) CN102609356B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880457B (en) * 2012-08-13 2018-08-10 南京中兴新软件有限责任公司 A kind of method and apparatus that data are handled
CN103257922B (en) * 2013-04-16 2015-10-21 合肥联宝信息技术有限公司 A kind of method of quick test BIOS and OS interface code reliability
CN104092794B (en) * 2014-07-25 2017-08-11 中国工商银行股份有限公司 Batch process handling method and system
CN106933578B (en) * 2017-02-28 2020-05-22 惠州华阳通用电子有限公司 USB drive loading method of QNX system
CN108205480B (en) * 2017-12-28 2021-10-26 大众问问(北京)信息科技有限公司 Abnormity processing method and device, intelligent rearview mirror and storage medium
CN109117330A (en) * 2018-07-27 2019-01-01 郑州云海信息技术有限公司 A kind of test method, test macro and the relevant apparatus of SSD power-on and power-off
CN110633184A (en) * 2019-08-02 2019-12-31 苏州浪潮智能科技有限公司 Automatic heat dissipation testing method and system for server
CN112817427A (en) * 2021-02-24 2021-05-18 携程旅游信息技术(上海)有限公司 Control method and system for power utilization of terminal equipment, electronic equipment and medium
CN113326191B (en) * 2021-05-27 2023-05-16 合肥移瑞通信技术有限公司 Consumption flow test method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1673970A (en) * 2004-03-27 2005-09-28 鸿富锦精密工业(深圳)有限公司 Monitoring system and method for graphic interface when a Long-distance computer is opened
CN1841340A (en) * 2005-03-28 2006-10-04 华为技术有限公司 Method and system for testing drive software
CN101609426A (en) * 2009-07-14 2009-12-23 浪潮电子信息产业股份有限公司 A kind of method that realizes human-machine interactive test automatically performed by computer
CN101751263A (en) * 2008-11-28 2010-06-23 英业达集团(天津)电子技术有限公司 Method for testing dynamic custom starting core

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1673970A (en) * 2004-03-27 2005-09-28 鸿富锦精密工业(深圳)有限公司 Monitoring system and method for graphic interface when a Long-distance computer is opened
CN1841340A (en) * 2005-03-28 2006-10-04 华为技术有限公司 Method and system for testing drive software
CN101751263A (en) * 2008-11-28 2010-06-23 英业达集团(天津)电子技术有限公司 Method for testing dynamic custom starting core
CN101609426A (en) * 2009-07-14 2009-12-23 浪潮电子信息产业股份有限公司 A kind of method that realizes human-machine interactive test automatically performed by computer

Also Published As

Publication number Publication date
CN102609356A (en) 2012-07-25

Similar Documents

Publication Publication Date Title
CN102609356B (en) Terminal product driver loading stability testing method
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
WO2017000843A1 (en) Automatic test method and device for board card
TWI495297B (en) Process, computer readable media, and system for device power management using network connections
US20090234942A1 (en) Apparatus, system, and method for testing embedded device
CN107656856B (en) CPLD-based system state display method and device
CN101937351B (en) Method and system for automatically installing application software
CN108170494B (en) Application program starting method and starting system for intelligent terminal
CN106201799A (en) Test method for DC restart of server based on ipmi service
US8924769B2 (en) Software burning system and burning control method
US20040039965A1 (en) Compliance testing communication protocols implemented on resource-constrained computing devices
WO2018006702A1 (en) Abnormality processing method, apparatus and system in automation test
CN111414285A (en) Test method, test device and test equipment for starting function of server system
WO2017028574A1 (en) Router testing method and testing device
CN105302722A (en) CTS automatic test method and apparatus
CN111143150A (en) Method and system for testing PCBA (printed circuit board assembly), testing equipment and micro-control unit
CN110784879A (en) Network mode switching test method, system, equipment and medium of communication module
CN105120259A (en) Detection method and apparatus for digital television
CN109660386B (en) Software upgrading method for semiconductor memory aging test system
CN113590401B (en) CPE equipment multifunctional test method, CPE equipment multifunctional test device, computer equipment and storage medium
CN108490289B (en) Electronic equipment testing method and device and electronic equipment
CN107835108B (en) OpenWrt-based MAC (media Access control) layer protocol stack verification platform
CN113612659B (en) Device networking test method and device, electronic device and storage medium
CN114780316A (en) Memory test method, device and system
CN114138312A (en) Upgrade test method, device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant