CN104461807A - Automatic DVD sleeping testing method - Google Patents

Automatic DVD sleeping testing method Download PDF

Info

Publication number
CN104461807A
CN104461807A CN 201310430301 CN201310430301A CN104461807A CN 104461807 A CN104461807 A CN 104461807A CN 201310430301 CN201310430301 CN 201310430301 CN 201310430301 A CN201310430301 A CN 201310430301A CN 104461807 A CN104461807 A CN 104461807A
Authority
CN
China
Prior art keywords
dvd
program
step
sleep
testing method
Prior art date
Application number
CN 201310430301
Other languages
Chinese (zh)
Other versions
CN104461807B (en
Inventor
王丽云
Original Assignee
神讯电脑(昆山)有限公司
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 神讯电脑(昆山)有限公司 filed Critical 神讯电脑(昆山)有限公司
Priority to CN201310430301.3A priority Critical patent/CN104461807B/en
Publication of CN104461807A publication Critical patent/CN104461807A/en
Application granted granted Critical
Publication of CN104461807B publication Critical patent/CN104461807B/en

Links

Abstract

The invention discloses an automatic DVD sleeping testing method. The method comprises the steps that (1), a program interface is set on a notebook computer; (2), whether DVD driving equipment exists in the notebook computer or not is judged by a program, and at the moment, a DVD door is in the default opened state; if the DVD driving equipment exists, success is recorded, and the step (3) is executed; if no DVD driving equipment exists, the step (6) is executed; (3), the DVD door is closed by hand, and therefore the DVD starts to be in the sleeping state; (4) after the DVD is in the sleeping state, the program judges whether the DVD driving equipment still exists in the notebook computer or not; if the DVD driving equipment still exists, the step (6) is executed, and the step (5) is executed if no DVD driving equipment exists; (5), if program interface display succeeds, the program is closed, and the result is recorded; (6), if program interface display fails, the program is closed, and the result is recorded. According to the automatic DVD sleeping testing method, time spent for waiting for DVD sleeping is omitted, working efficiency is improved, and meanwhile the problem that product quality cannot be ensured due to manual judgment and searching is avoided.

Description

DVD休眠自动测试方法 DVD dormant automatic testing method

【技术领域】 TECHNICAL FIELD

[0001] 本发明涉及一种休眠自动测试方法,具体涉及一种DVD休眠自动测试方法。 [0001] The present invention relates to an automatic testing method sleep, particularly to an automatic testing method Sleep DVD.

【背景技术】 【Background technique】

[0002] 军工规笔记本电脑由于常需要在恶劣环境下使用,例如湿气重或者多沙尘的环境下使用,因此军工规笔记本电脑对于防水、防震及防尘的需求大于一般笔记本电脑。 [0002] Since the military regulations often requires the use of a laptop in harsh environments, for example, the multi-dust or humid environment, so the laptop military regulations for waterproof, shockproof and dustproof demand is greater than a typical laptop. 一般笔记本电脑都具有DVD播放的功能,由于普通笔记本电脑DVD处不具有任何防水或防尘的保护措施,因此军工规笔记本电脑为适应环境在其DVD处设置了DVD门,当DVD门关闭时该笔记本电脑的DVD功能处于休眠状态的,因此在该笔记本电脑设备管理器中是查看不到相关的DVD驱动设备的,当打开DVD门后,休眠被唤醒,此时即可查看到DVD驱动设备。 Typical laptop has a DVD playback function, due to the typical laptop at the DVD does not have any waterproof or dustproof protection measures, so the military to adapt to environmental regulation laptop DVD set DVD at their door, when the door is closed when DVD the DVD features a laptop in a dormant state, so the view is not related to the DVD drive device, when the DVD door open, sleep wake up in the laptop device Manager, this time to see the DVD drive device.

[0003] 生产此种军工规笔记本电脑的过程时,都会对其DVD休眠功能进行测试。 [0003] When the production of military rules of procedure of this laptop, will test its DVD sleep function. 一般的测试过程为,流水线上的工作人员将上一工位流过来的军工规笔记本电脑的DVD门关闭,由于DVD进入休眠的时间较长,需要等待30S后,才能查看该DVD的驱动设备是否存在,从而来判断该DVD休眠功能是否良好。 General testing process for the staff on the assembly line will come on stream a station of military regulations laptop DVD door is closed, because the DVD into the longer dormant, waiting for the 30S, in order to view the DVD drive device is It exists, so the DVD to determine the sleep function is good. 然而,一方面此种测试方法等待的时间较长,浪费大量时间,导致工作效率较低;另一方面测试过程均为人为判断,人为查看,容易造成误判、漏看等现象,不能保证产品的质量且测试的结果不能保存,不便于后续的追踪。 However, on the one hand such a long time to wait for test methods, waste a lot of time, resulting in lower operating efficiency; on the other hand the testing process are human judgment, human view, likely to cause miscarriage of justice, and so missed, can not guarantee product the results of tests and quality can not be saved, not to facilitate subsequent tracking.

[0004] 有鉴于此,实有必要提供一种DVD休眠自动测试方法,以解决上述工作效率低、人为查看不能保证产品质量等问题。 [0004] In view of this, there is a need to provide a DVD dormant automatic testing method to solve the above-mentioned low efficiency, can not see people to ensure product quality and other issues.

【发明内容】 [SUMMARY]

[0005] 因此,本发明的目的是提供一种DVD休眠自动测试方法,以解决上述问题。 [0005] Accordingly, an object of the present invention is to provide an automatic testing method Sleep DVD, to solve the above problems.

[0006] 为了达到上述目的,本发明提供一种DVD休眠自动测试方法,其应用于测试军工规笔记本电脑,所述军工规笔记本电脑具有DVD门,所述DVD休眠自动测试方法包括以下步骤: [0006] To achieve the above object, the present invention provides an automatic testing method DVD Sleep, military rules applied to test laptop, a notebook computer having a DVD military gauge door, the DVD dormant automatic testing method comprising the steps of:

[0007] ( I)于所述笔记本电脑上设置程序界面; [0007] (I) to said setup screen on a laptop;

[0008] (2)由所述程序判断所述笔记本电脑中是否存在DVD驱动设备,此时默认所述DVD门为打开状态,若存在所述DVD驱动设备,则记录为成功并执行步骤(3),若不存在,则执行步骤(6); [0008] (2) by the program determines whether there is a DVD drive apparatus of the notebook computer, in which case the default DVD door open state, if the DVD drive apparatus is present, the recording is successful and step (3 ), if present, step (6);

[0009] (3 )手动将所述DVD门关闭,从而所述DVD开始进行休眠; [0009] (3) The DVD door is closed manually, so that the DVD is started dormancy;

[0010] (4)待所述DVD进入休眠后,由所述程序判断所述笔记本电脑中是否还存在DVD驱动设备,若存在,则执行步骤(6),若不存在,则执行步骤(5); [0010] (4) After the DVD to be going to sleep, by the program determines whether there is a DVD drive apparatus laptop, if present, step (6), if not, proceed to step (5 );

[0011] (5)所述程序界面显示成功,则关闭程序,记录结果; [0011] (5) the program interface display successful, the program is closed, recording the results;

[0012] (6)所述程序界面显示失败,则关闭程序,记录结果。 [0012] (6) The screen display program fails, the program is closed, recording the results.

[0013] 较佳的,所述步骤(3)与步骤(4)之间的间隔时间大于30S。 The interval between [0013] Preferably, the step (3) and step (4) is greater than 30S.

[0014]较佳的,所述程序通过 WMI (Windows Management Istrumentat1n,窗口管理规范)中的Win32_指令来判断所述DVD驱动设备是否存在。 [0014] Preferably, the program is determined by WMI (Windows Management Istrumentat1n, window management practices) with Win32_ instruction in the DVD drive device is present.

[0015] 相较于现有技术,本发明DVD休眠自动测试方法可取代人工实现自动测试及记录测试结果的过程,同时上述步骤(3)中DVD开始休眠后,此时工作人员不用再等待休眠可进行其他测试工作,待产品流入下一工位时,所述程序自动开始步骤(4)的测试,最终可自动判断DVD的休眠功能是否良好,本发明避免了等待DVD休眠下去的时间,提高了工作效率,同时避免了人工判断和查看不能保证产品品质的问题。 [0015] Compared to the prior art, the present invention is dormant DVD automatic testing method can replace the manual process of automatic testing and record test results, while the above-described step (3) after the start of the DVD sleep, this time to wait staff no longer dormant other testing may be performed, to be products into the next station, the testing procedure is automatically started in step (4), the final determination DVD automatic sleep function is good, the present invention avoids the waiting time to go dormant DVD, improved work efficiency, while avoiding human judgment and see not guarantee product quality problems.

【附图说明】 BRIEF DESCRIPTION

[0016] 图1绘示为本发明DVD休眠自动测试方法的流程图。 [0016] FIG. 1 shows a flowchart of a sleep DVD automatic testing method of the present invention.

【具体实施方式】 【Detailed ways】

[0017] 为了达到上述目的,本发明提供一种DVD休眠自动测试方法,其应用于测试军工规笔记本电脑,所述军工规笔记本电脑具有DVD门。 [0017] To achieve the above object, the present invention provides an automatic testing method DVD Sleep, military rules applied to test laptop, a notebook computer having a DVD military gauge door. 于测试时,由工作人员将所述DVD门打开,并打开测试程序,所述DVD休眠自动测试方法包括以下步骤: In the test, the door is opened by the staff DVD, and open the test program, the DVD dormant automatic testing method comprising the steps of:

[0018] SlOl:于所述笔记本电脑上设置程序界面; [0018] SlOl: program interface provided to the laptop computer;

[0019] S102:由所述程序判断所述笔记本电脑中是否存在DVD驱动设备,此时默认所述DVD门为打开状态,若存在所述DVD驱动设备,则记录为成功并执行步骤S103,若不存在,则执行步骤S106 ; [0019] S102: determining by the program whether there is a DVD drive apparatus of the notebook computer, in which case the default DVD door open state, if the DVD drive apparatus is present, the recording is performed successfully and step S103, the if does not exist, step S106 is executed;

[0020] S103:手动将所述DVD门关闭,从而所述DVD开始进行休眠; [0020] S103: the DVD door is closed manually, so that the DVD is started dormancy;

[0021] S104:待所述DVD进入休眠后,由所述程序判断所述笔记本电脑中是否还存在DVD驱动设备,若存在,则执行步骤S106,若不存在,则执行步骤S105 ; [0021] S104: After going to sleep until the DVD, by the program determines whether there is a DVD drive apparatus laptop, if present, is executed step S106, if not, proceed to step S105;

[0022] S105:所述程序界面显示成功,则关闭程序,记录结果; [0022] S105: The display program interface successful, the program is closed, recording the results;

[0023] S106:所述程序界面显示失败,则关闭程序,记录结果。 [0023] S106: The display program interface fails, the program is closed, recording the results.

[0024] 其中,所述步骤S103与步骤S104之间的间隔时间大于30S。 [0024] wherein, the step S103 and the step S104 is larger than the interval between 30S.

[0025]其中,所述程序通过 WMI (Windows Management Istrumentat1n,窗口管理规范)中的Win32_指令来判断所述DVD驱动设备是否存在。 [0025] wherein the program is judged by WMI (Windows Management Istrumentat1n, window management specification) in the DVD drive apparatus Win32_ instruction is present.

[0026] 于本实施例中,所述DVD休眠自动测试方法应用于流水线测试,步骤SlOl至步骤S103在流水线上被安排在第二工位元,待第二工位元上的工作人员将所述DVD门关闭后,即可进行其他测试工作,不用再等待所述DVD进入休眠的时间;当所述笔记本电脑经过30S流到第四工位元时,所述DVD已完全进入休眠状态,于此同时所述程序自动打开,执行步骤S104至步骤106,最终将测试的结果保存并上传至SFCS (车间控制系统)。 [0026] In the present embodiment, the automatic testing method applied to DVD dormant lines tested, step SlOl to step S103 is arranged on the second bit line station, the staff working on the second bit to be The DVD later the door is closed, can be carried out other testing, do not have time to enter the sleep waiting for the DVD; when the laptop 30S flows through the fourth station bits, the DVD has fully entered the sleep state, in this automatically opens the same time, steps S104 to 106, the final result of the test will be saved and uploaded to the SFCS (shop floor control system).

[0027] 因此,本发明DVD休眠自动测试方法可取代人工实现自动测试及记录测试结果的过程,同时本发明避免了等待DVD休眠下去的时间,提高了工作效率,及避免了人工判断和查看不能保证产品品质的问题。 [0027] Accordingly, DVD Sleep present invention automatic testing method can replace the process of doing automatic testing and record test results, while the present invention avoids the waiting DVD sleep down time, improve efficiency, and to avoid human judgment and view not to ensure product quality problems.

[0028] 需指出的是,本发明不限于上述实施方式,任何熟悉本专业的技术人员基于本发明技术方案对上述实施例所作的任何简单修改,等同变化与修饰均落入本发明的保护范围。 [0028] is to be noted that the present invention is not limited to the above embodiments, any simple modification of any Those skilled in the art based on the above-described aspect of the present invention embodiments, equivalent modifications and scope of the present invention fall within the .

Claims (3)

1.本发明提供一种DVD休眠自动测试方法,其应用于测试军工规笔记本电脑,所述军工规笔记本电脑具有DVD门,其特征在于,所述DVD休眠自动测试方法包括以下步骤: (O于所述笔记本电脑上设置程序界面; (2)由所述程序判断所述笔记本电脑中是否存在DVD驱动设备,此时默认所述DVD门为打开状态,若存在所述DVD驱动设备,则记录为成功并执行步骤(3),若不存在,则执行步骤(6); (3)手动将所述DVD门关闭,从而所述DVD开始进行休眠; (4)待所述DVD进入休眠后,由所述程序判断所述笔记本电脑中是否还存在DVD驱动设备,若存在,则执行步骤(6),若不存在,则执行步骤(5); (5)所述程序界面显示成功,则关闭程序,记录结果; (6 )所述程序界面显示失败,则关闭程序,记录结果。 1. The present invention provides an automatic testing method DVD Sleep, military rules applied to test laptop, a notebook computer having a DVD military gauge door, characterized in that the automatic testing method DVD sleep comprising the steps of: (O to the notebook computer program interface provided; if there are DVD drive apparatus (2) is determined by the program of the notebook computer, in which case the default DVD door open state, if the DVD drive apparatus exists, the record is successful and step (3), if present, step (6); (3) the DVD door is closed manually, so that the DVD is started sleep; (4) of the DVD to be going to sleep, the the program determines whether there is a DVD drive apparatus laptop, if present, step (6), if not, proceed to step (5); (5) the program interface display successful, the program is closed results recorded; (6) the display program interface fails, the program is closed, recording the results.
2.根据权利要求1所述的DVD休眠自动测试方法,其特征在于,所述步骤(3)与步骤(4)之间的间隔时间大于30S。 The DVD Sleep automatic testing method according to claim 1, characterized in that the time interval between said steps (3) and step (4) is greater than 30S.
3.根据权利要求1所述的DVD休眠自动测试方法,其特征在于,所述程序通过WMI中的Win32_指令来判断所述DVD驱动设备是否存在。 The DVD Sleep automatic testing method according to claim 1, wherein said program is determined by the instructions in WMI Win32_ DVD drive device is present.
CN201310430301.3A 2013-09-20 2013-09-20 Dvd dormant automatic testing method CN104461807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310430301.3A CN104461807B (en) 2013-09-20 2013-09-20 Dvd dormant automatic testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310430301.3A CN104461807B (en) 2013-09-20 2013-09-20 Dvd dormant automatic testing method

Publications (2)

Publication Number Publication Date
CN104461807A true CN104461807A (en) 2015-03-25
CN104461807B CN104461807B (en) 2017-01-04

Family

ID=52907902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310430301.3A CN104461807B (en) 2013-09-20 2013-09-20 Dvd dormant automatic testing method

Country Status (1)

Country Link
CN (1) CN104461807B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10187278A (en) * 1996-12-27 1998-07-14 Oki Electric Ind Co Ltd Personal computer device with counter measure against leakage electromagnetic wave
US6710893B1 (en) * 1999-11-02 2004-03-23 Ricoh Co., Ltd. Automated system and method of testing a facsimile machine
CN101644994A (en) * 2009-08-20 2010-02-10 中兴通讯股份有限公司 Method and system for controlling disc dormancy, method for starting disc and server
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN102496379A (en) * 2011-12-30 2012-06-13 曙光信息产业股份有限公司 Method for testing compact disc read-only memory (CD-ROM)

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10187278A (en) * 1996-12-27 1998-07-14 Oki Electric Ind Co Ltd Personal computer device with counter measure against leakage electromagnetic wave
US6710893B1 (en) * 1999-11-02 2004-03-23 Ricoh Co., Ltd. Automated system and method of testing a facsimile machine
CN101644994A (en) * 2009-08-20 2010-02-10 中兴通讯股份有限公司 Method and system for controlling disc dormancy, method for starting disc and server
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN102496379A (en) * 2011-12-30 2012-06-13 曙光信息产业股份有限公司 Method for testing compact disc read-only memory (CD-ROM)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
华硕: "E-Green智能休眠技术树立节能光驱典范", 《消费电子》, no. 4, 30 April 2011 (2011-04-30), pages 84 *

Also Published As

Publication number Publication date
CN104461807B (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN102622079B (en) Sleep method, wakening method and mobile terminal device
US7908518B2 (en) Method, system and computer program product for failure analysis implementing automated comparison of multiple reference models
JP4416090B2 (en) Systems, methods, machine-readable medium
CN103430151B (en) A resource configuration method and apparatus
CN102157176A (en) Data storage device tester
CN101778307B (en) Device for testing functions of set top box
CN103365779A (en) Software test method and system
CN102880535B (en) The wireless automation test device and method for a mobile device
CN102722429B (en) Processing method for hard disk maintenance equipment
CN102841845A (en) Automatic testing method of Android device software
CN103309797B (en) The user interface method and apparatus for automatic testing
CN102419727A (en) Automatic test method and device
CN102253863B (en) A process whereby Close method
CN102665093B (en) Test method for set top box and test system thereof
US20140007119A1 (en) Dynamically Adjusting a Log Level of a Transaction
CN103064614B (en) A mobile terminal and method for recording fast
US10025446B2 (en) Automated screen captures
US8645912B2 (en) System and method for use in replaying software application events
CN103955417A (en) Computer hard disc data detecting equipment and method
CN101592693B (en) System and method for audio tests
CN104166453A (en) Method and device for reducing power consumption of mobile terminal
CN103744764A (en) Crontab based whole computer memory stability test method
CN101493790B (en) Recording playback method and the recording playback system
CN102568529B (en) Recording and playing back method, device and system of operation process
CN203178453U (en) Automatic test system for switch power supply module

Legal Events

Date Code Title Description
C06 Publication
C14 Grant of patent or utility model