CN104572389A - Automatic testing method of 1394 interface - Google Patents
Automatic testing method of 1394 interface Download PDFInfo
- Publication number
- CN104572389A CN104572389A CN201310493123.9A CN201310493123A CN104572389A CN 104572389 A CN104572389 A CN 104572389A CN 201310493123 A CN201310493123 A CN 201310493123A CN 104572389 A CN104572389 A CN 104572389A
- Authority
- CN
- China
- Prior art keywords
- test
- drive
- interface
- hard disk
- program
- 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
Links
Abstract
An automatic testing method of a 1394 interface includes the steps of firstly, turning on a testing program on a machine; secondly, connecting a mobile hard disk to the 1394 interface of the machine; thirdly, judging whether hard disk description and drive with a 1394 character can be acquired or not, if so, executing the fourth step, and if not, executing the sixth step; fourthly, judging whether hard disk with the drive can be read and written or not, if so, executing the fifth step, and if not, executing the sixth step; fifthly, turning off the program if the program is successfully displayed, and recording a testing result; sixthly, turning off the program if the program fails to display, and recording a testing result. The testing method has the advantages that the testing process is simple, automatic testing and automatic testing result recording can be achieved, the read and write functions of the 1394 interface of the machine can be tested fast, and work efficiency is increased greatly.
Description
[technical field]
The present invention relates to a kind of method of testing of interface, be specifically related to a kind of 1394 interface automatic test approachs.
[background technology]
IEEE1394 live wire is a kind of high-speed serial bus, and the highest transmission speed is 400Mbps.Provide special optimization for the various equipment of massive band width that needs, interface can connect 63 different equipment simultaneously, and IEEE1394 is the same with USB, tenaculum hot-line insertion and extraction equipment.IEEE1394 supports plug and play, present WINXP, WIN2000, WIN98SE etc. all to IEEE1394 support fine, in these operating systems, user need not install driver again, also can use IEEE1394 equipment.
Because IEEE1394 equipment widely uses in life, therefore, be just most important to the test of 1394 interfaces of board.The process of existing test 1394 interface is, the external unit with 1394 interfaces is connected 1394 interfaces of upper board, by the transmission between described external unit and described board 1394 interface, in between transmission period, now come measuring current and voltage whether in the scope of setting, if in the scope of setting, then test successfully, thus 1394 interfaces proving test are good, on the contrary quite different.But above-mentioned test process is manual operation and artificially judges, easily produce erroneous judgement and leak phenomenons such as seeing, thus can not ensure the quality of product, the result of simultaneously testing can not be preserved, and is unfavorable for the tracking of subsequent result.
In view of this, be necessary to provide a kind of 1394 interface automatic test approachs, to solve the defect that above-mentioned artificial test brings in fact.
[summary of the invention]
Therefore, the object of this invention is to provide a kind of 1394 interface automatic test approachs, to solve the defect of artificial test.
In order to achieve the above object, the present invention 1394 interface automatic test approach, it comprises the following steps:
(1) on board, test procedure is opened;
(2) portable hard drive is connected on 1394 interfaces of described board;
(3) judge whether to obtain the hard disk with 1394 characters to describe and drive, if can, then perform step (4); If can not, then perform step (6);
(4) judge whether the hard disk with described drive can carry out read-write operation, if can, then perform step (5), if can not, then perform step (6);
(5) described program display success, then bolt down procedure, logging test results;
(6) described program display failure, then bolt down procedure, logging test results.
Preferably, in step (2), described portable hard drive has 1394 interfaces.
Preferably, in step (3), described program obtains the hard disk description and drive with 1394 characters by the Win32_DiskDrive instruction of WMI.
Preferably, the test result in step (5) and step (6) all can be uploaded to SFCS.
Compared to prior art, the present invention 1394 interface automatic test approach can replace the artificial process realizing test and logging test results automatically, test process of the present invention is simple simultaneously, can the read-write capability of 1394 interfaces of tester table fast, thus can greatly increase work efficiency, avoid the erroneous judgement that artificial test produces, leak and see the problem that can not ensure product quality.
[accompanying drawing explanation]
Fig. 1 illustrates the process flow diagram into the present invention 1394 interface automatic test approach.
[embodiment]
In order to achieve the above object, refer to Fig. 1 and illustrate, the present invention 1394 interface automatic test approach, it comprises the following steps:
S101: open test procedure on board;
S102: portable hard drive is connected on 1394 interfaces of described board;
S103: judge whether to obtain the hard disk with 1394 characters and describe and drive, if can, then perform step S104; If can not, then perform step S106;
S104: judge whether the hard disk with described drive can carry out read-write operation, if can, then perform step S105, if can not, then perform step S106;
S105: described program display success, then bolt down procedure, logging test results;
S106: described program display failure, then bolt down procedure, logging test results.
In the present embodiment, in step s 102, described portable hard drive has 1394 interfaces.
In the present embodiment, in step s 103, described program by WMI(Windows ManagementIstrumentation, window management specification) Win32_DiskDrive instruction obtain the hard disk with 1394 characters and describe and drive.
In the present embodiment, the test result in step S105 and step S106 all can be uploaded to SFCS(Shop Floor Control System Workshop control system).
Compared to prior art, the present invention 1394 interface automatic test approach can replace the artificial process realizing test and logging test results automatically, test process of the present invention is simple simultaneously, can the read-write capability of 1394 interfaces of tester table fast, thus can greatly increase work efficiency, avoid the erroneous judgement that artificial test produces, leak and see the problem that can not ensure product quality.
It is noted that the invention is not restricted to above-mentioned embodiment, any simple modification that any those skilled in the art do above-described embodiment based on technical solution of the present invention, equivalent variations all falls into protection scope of the present invention with modification.
Claims (4)
1. 1394 interface automatic test approachs, is characterized in that, said method comprising the steps of:
(1) on board, test procedure is opened;
(2) portable hard drive is connected on 1394 interfaces of described board;
(3) judge whether to obtain the hard disk with 1394 characters to describe and drive, if can, then perform step (4); If can not, then perform step (6);
(4) judge whether the hard disk with described drive can carry out read-write operation, if can, then perform step (5), if can not, then perform step (6);
(5) described program display success, then bolt down procedure, logging test results;
(6) described program display failure, then bolt down procedure, logging test results.
2. 1394 interface automatic test approachs according to claim 1, is characterized in that, in step (2), described portable hard drive has 1394 interfaces.
3. 1394 interface automatic test approachs according to claim 1, is characterized in that, in step (3), described program obtains the hard disk with 1394 characters by the Win32_DiskDrive instruction of WMI and describes and drive.
4. 1394 interface automatic test approachs according to claim 1, is characterized in that, the test result in step (5) and step (6) all can be uploaded to SFCS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310493123.9A CN104572389A (en) | 2013-10-18 | 2013-10-18 | Automatic testing method of 1394 interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310493123.9A CN104572389A (en) | 2013-10-18 | 2013-10-18 | Automatic testing method of 1394 interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104572389A true CN104572389A (en) | 2015-04-29 |
Family
ID=53088523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310493123.9A Pending CN104572389A (en) | 2013-10-18 | 2013-10-18 | Automatic testing method of 1394 interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104572389A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001160881A (en) * | 1999-12-02 | 2001-06-12 | Canon Inc | Information processor and its control method |
CN1609819A (en) * | 2003-10-24 | 2005-04-27 | 英业达股份有限公司 | Test method for computer external equipment interface |
CN2775672Y (en) * | 2005-03-21 | 2006-04-26 | 赖嘉德实业有限公司 | IEEE-1394 detecting module |
WO2006087862A1 (en) * | 2005-02-21 | 2006-08-24 | Mitsubishi Denki Kabushiki Kaisha | Digital recording/reproducing device and digital recording method |
CN1955942A (en) * | 2005-10-24 | 2007-05-02 | 鸿富锦精密工业(深圳)有限公司 | IEEE1394 interface function detection device and method |
US20080120067A1 (en) * | 2006-11-17 | 2008-05-22 | Hon Hai Precision Industry Co., Ltd. | Apparatus and method for testing data transfer rate |
CN101320071A (en) * | 2007-06-04 | 2008-12-10 | 慧荣科技股份有限公司 | Testing apparatus, system, and method for testing at least one device with a connection interface |
CN102222032A (en) * | 2011-05-20 | 2011-10-19 | 哈尔滨工业大学 | Device and method for fault injection of 1394 bus |
-
2013
- 2013-10-18 CN CN201310493123.9A patent/CN104572389A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001160881A (en) * | 1999-12-02 | 2001-06-12 | Canon Inc | Information processor and its control method |
CN1609819A (en) * | 2003-10-24 | 2005-04-27 | 英业达股份有限公司 | Test method for computer external equipment interface |
WO2006087862A1 (en) * | 2005-02-21 | 2006-08-24 | Mitsubishi Denki Kabushiki Kaisha | Digital recording/reproducing device and digital recording method |
CN2775672Y (en) * | 2005-03-21 | 2006-04-26 | 赖嘉德实业有限公司 | IEEE-1394 detecting module |
CN1955942A (en) * | 2005-10-24 | 2007-05-02 | 鸿富锦精密工业(深圳)有限公司 | IEEE1394 interface function detection device and method |
US20080120067A1 (en) * | 2006-11-17 | 2008-05-22 | Hon Hai Precision Industry Co., Ltd. | Apparatus and method for testing data transfer rate |
CN101320071A (en) * | 2007-06-04 | 2008-12-10 | 慧荣科技股份有限公司 | Testing apparatus, system, and method for testing at least one device with a connection interface |
CN102222032A (en) * | 2011-05-20 | 2011-10-19 | 哈尔滨工业大学 | Device and method for fault injection of 1394 bus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104317684A (en) | Method for synchronously automatic testing of bandwidth and transmission rate of multiple USB (Universal Serial Bus) interfaces | |
US8352800B2 (en) | Universal serial bus system and method | |
CN106776196A (en) | A kind of server hard disc method for monitoring state and system | |
US20120297178A1 (en) | Configuration mode switching system and method | |
US20130219194A1 (en) | Test apparatus and method for testing pcie slot | |
CN104660471A (en) | Method for automatically testing PCIE-SSD transmitting velocity and band width under Linux | |
CN103631688A (en) | Method and system for testing interface signal | |
CN109298266B (en) | Test system, test method, test apparatus, and storage medium | |
CN103516557A (en) | Method and system for testing | |
CN104360921A (en) | Method, device and system for monitoring performance of mobile terminal | |
CN103312852A (en) | Automatic mobile terminal current testing device and testing method thereof | |
CN104268076A (en) | Memory bandwidth automatically testing method applicable to various processor platforms | |
CN104143351A (en) | Device for deep repairing bottom interfaces of Seagate hard disk and bottom communication method of Seagate hard disk | |
CN104536863A (en) | Application program test method and device | |
CN107229579A (en) | The USB mode of USB interface and the compatibility method and device of MHL patterns | |
CN104198910A (en) | Automatic testing system and testing method for integrated circuit | |
CN104572386A (en) | Method for automatically testing HBA card bandwidth under Linux | |
CN105634793A (en) | Network information processing method and c | |
CN105163113B (en) | HDMI test fixture and method of testing | |
CN104485962A (en) | Portable data acquisition system and acquisition method thereof | |
CN106154072B (en) | A kind of electronic equipment test macro and method | |
CN107452427B (en) | Method and system for testing data integrity of storage equipment | |
CN109147861A (en) | A kind of hard disk is in level detecting apparatus and method | |
CN113204456A (en) | Test method, tool, device and equipment for VPP interface of server | |
CN204350272U (en) | Universal audio adaptive device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150429 |