CN100432951C - Monitoring apparatus and method of USB interface - Google Patents

Monitoring apparatus and method of USB interface Download PDF

Info

Publication number
CN100432951C
CN100432951C CNB2006100633137A CN200610063313A CN100432951C CN 100432951 C CN100432951 C CN 100432951C CN B2006100633137 A CNB2006100633137 A CN B2006100633137A CN 200610063313 A CN200610063313 A CN 200610063313A CN 100432951 C CN100432951 C CN 100432951C
Authority
CN
China
Prior art keywords
usb interface
pick
unit
detection method
detected
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.)
Expired - Fee Related
Application number
CNB2006100633137A
Other languages
Chinese (zh)
Other versions
CN1952907A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
DONGGUAN BUBUGAO EDUCATION ELECTRONIC PRODUCT 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 DONGGUAN BUBUGAO EDUCATION ELECTRONIC PRODUCT Co Ltd filed Critical DONGGUAN BUBUGAO EDUCATION ELECTRONIC PRODUCT Co Ltd
Priority to CNB2006100633137A priority Critical patent/CN100432951C/en
Publication of CN1952907A publication Critical patent/CN1952907A/en
Application granted granted Critical
Publication of CN100432951C publication Critical patent/CN100432951C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention relates to a USB interface test device and its method, wherein, the device comprises double role device DRD USB interface and single machine connected and its control test indication device; the method comprises the following steps: circuit connecting USB interface and test device and establishing communication connection between USB OTG agreement; using single machine for read operation and to judge whether USB interface is normal.

Description

A kind of USB interface pick-up unit and method thereof
Technical field
The present invention relates to hardware detection, be specifically related to a kind of USB interface pick-up unit and method thereof.
Background technology
At present, the USB connected mode is selected by nearly all digital product, so the simple effect that detects fast and accurately is that all manufacturers are pursued, and the mode that present industry is taked is commonly: 1. directly use computer to connect test, machine of the relatively very low detection of this method cost-effective rate approximately needs about 45 seconds, and simply uses every testing tool of computer roughly to need about 3000 yuan to operating personnel's requirement meeting.2. use classic method to detect electric current, voltage inspection, survey pulse, test open circuit and short circuit or the like, and this method of testing does not relatively guarantee quality, about about 35 seconds of running time and operator's requirement risen to need to be familiar with current voltmeter or the like instrument.
Summary of the invention
The technical issues that need to address of the present invention are, how a kind of USB interface pick-up unit and method thereof are provided, and can reduce the pick-up unit cost, improve detection efficiency and accuracy.
Above-mentioned first technical matters of the present invention solves like this, and a kind of USB interface detection method is provided, and uses the pick-up unit of the USB interface of the two role device DRD of band, may further comprise the steps:
1.1) circuit connects detected USB interface and described pick-up unit, and set up communication each other by USB OTG agreement and connect;
1.2) utilize described communication connection to carry out read-write operation, judge according to its success or not whether this detected USB interface is normal.
According to detection method provided by the invention, described read-write comprises one or more in device descriptor, configuration descriptor and the endpoint descriptor that reads detected USB interface.
According to detection method provided by the invention, described judgement comprises that successfully to drive successful pilot lamp according to read-write operation bright; Failure drives the bright or failure buzzer warning of failure pilot lamp according to read-write operation.
According to detection method provided by the invention, described couple of role device DRD is made as server HOST.
According to detection method provided by the invention, the USB interface of described couple of role device DRD is connected to detected USB interface by cable line; Described cable directly or connect the USB interface of described couple of role device DRD by connector.
Another technical matters of the present invention solves like this, and a kind of USB interface pick-up unit comprises the detection indicating device of USB interface, connected single-chip microcomputer and the control thereof of two role device DRD.
According to pick-up unit provided by the invention, described detection indicating device comprises pilot lamp or voice output.
According to pick-up unit provided by the invention, described pilot lamp is a plurality of different color pilot lamp.
USB interface pick-up unit provided by the invention and method thereof, use simple pick-up unit to substitute PC, the communication of adopting USB OTG agreement to set up between detected USB interface and the pick-up unit connects, utilize its interior single-chip microcomputer to carry out read-write operation again, judge according to its success or not whether this detected USB interface is normal, greatly reduce to detect and use equipment cost, improved detection efficiency and success ratio.
Description of drawings
Further the present invention is described in detail below in conjunction with the drawings and specific embodiments.
Fig. 1 is the circuit block diagram of USB interface pick-up unit provided by the invention.
Embodiment
Apparatus of the present invention adopt embedded OS, directly visit the product that connects by the agreement control of USB own, reach welding and the linkage function of the USB that quick and precisely detects this product, concrete principle: single chip computer AT 89C52 control USB interface chip CH375A reads the device descriptor of product to be measured, the configuration descriptor, parameters such as endpoint descriptor are also deposited them among its internal storage SRAM62256, and after reading these parameters, the bright expression usb function of LED lamp is normal.
This device has following several big characteristics:
1. simple to operate, fool proof:
The operator only needs with a USB connecting line in operation simply with product and this product Couple together, as long as 1-2 system's second just can detect the function of detected product automatically, realize behaviour Make fool proof, the people is reduced to " 0 " for the probability of makeing mistakes, operating personnel's requirement is reduced to and can be familiar with Simple several Chinese character is just passable.
2. practicality is very strong, and cost is low, the efficient height: this device adopt USB OTG agreement directly and The direct-detection of product and detected product can 100% be guaranteed in the product communication, our products-hardware Cost is low, and volume also is 1/30 of common computer, and it is complete that the operating time also can remain on 8 seconds left and right sides Become, can greatly must raise the efficiency.

Claims (10)

1, a kind of USB interface detection method is characterized in that, uses the USB interface (1), the single-chip microcomputer (2) that is connected with its communication and the pick-up unit of this monolithic processor controlled detection indicating device that comprise two role device, may further comprise the steps:
1.1) circuit connects the USB interface (1) of detected USB interface and described pair of role device, and set up communication each other by USB OTG agreement and connect;
1.2) single-chip microcomputer (2) utilizes described communication to connect detected USB interface is carried out read-write operation and judged according to its success or not whether this detected USB interface normal.
According to the described detection method of claim 1, it is characterized in that 2, described read-write comprises one or more in device descriptor, configuration descriptor and the endpoint descriptor that reads detected USB interface.
According to the described detection method of claim 1, it is characterized in that 3, described judgement comprises that successfully to drive the successful pilot lamp of this pick-up unit according to read-write operation bright.
According to the described detection method of claim 3, it is characterized in that 4, described judgement comprises according to the failure pilot lamp of this pick-up unit of read-write operation failure driving bright.
According to the described detection method of claim 3, it is characterized in that 5, described judgement comprises the failure buzzer warning according to this pick-up unit of read-write operation failure driving.
According to the described detection method of claim 1, it is characterized in that 6, described pair of role device is made as server.
According to the described detection method of claim 1, it is characterized in that 7, the USB interface of described pair of role device is connected to detected USB interface by cable line; Described cable directly or connect the USB interface of described pair of role device by connector.
8, a kind of USB interface pick-up unit, it is characterized in that, comprise the USB interface (1) of two role device, the single-chip microcomputer (2) that is connected with its communication and this monolithic processor controlled detection indicating device, this pick-up unit detects like this: circuit connects the USB interface (1) of detected USB interface and described pair of role device, and sets up the connection of communication each other by USB OTG agreement; Single-chip microcomputer (2) utilizes described communication connection that detected USB interface is carried out read-write operation and judged according to its success or not whether this detected USB interface is normal.
9, described according to Claim 8 pick-up unit is characterized in that, described detection indicating device comprises pilot lamp (3) or voice output.
According to the described pick-up unit of claim 9, it is characterized in that 10, described pilot lamp (3) is the pilot lamp of one group of a plurality of different color.
CNB2006100633137A 2006-10-25 2006-10-25 Monitoring apparatus and method of USB interface Expired - Fee Related CN100432951C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100633137A CN100432951C (en) 2006-10-25 2006-10-25 Monitoring apparatus and method of USB interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100633137A CN100432951C (en) 2006-10-25 2006-10-25 Monitoring apparatus and method of USB interface

Publications (2)

Publication Number Publication Date
CN1952907A CN1952907A (en) 2007-04-25
CN100432951C true CN100432951C (en) 2008-11-12

Family

ID=38059258

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100633137A Expired - Fee Related CN100432951C (en) 2006-10-25 2006-10-25 Monitoring apparatus and method of USB interface

Country Status (1)

Country Link
CN (1) CN100432951C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111273195A (en) * 2020-02-13 2020-06-12 深圳亚力盛连接器有限公司 Chip data line testing arrangement

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504887A (en) * 2002-12-02 2004-06-16 英业达股份有限公司 Testing device and method for universal serial bus port
CN2689345Y (en) * 2004-02-26 2005-03-30 联想(北京)有限公司 Tester of USB port
CN2689346Y (en) * 2004-04-05 2005-03-30 联想(北京)有限公司 Universal series bus interface testers
CN2751356Y (en) * 2004-08-12 2006-01-11 宇瞻科技股份有限公司 Voice playing device using USB OTG transmission interface
US20060076977A1 (en) * 2004-09-20 2006-04-13 Xiaoming Zhu USB 1.1 for USB OTG implementation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1504887A (en) * 2002-12-02 2004-06-16 英业达股份有限公司 Testing device and method for universal serial bus port
CN2689345Y (en) * 2004-02-26 2005-03-30 联想(北京)有限公司 Tester of USB port
CN2689346Y (en) * 2004-04-05 2005-03-30 联想(北京)有限公司 Universal series bus interface testers
CN2751356Y (en) * 2004-08-12 2006-01-11 宇瞻科技股份有限公司 Voice playing device using USB OTG transmission interface
US20060076977A1 (en) * 2004-09-20 2006-04-13 Xiaoming Zhu USB 1.1 for USB OTG implementation

Also Published As

Publication number Publication date
CN1952907A (en) 2007-04-25

Similar Documents

Publication Publication Date Title
CN201449431U (en) Wireless tester for cable path
CN108037444B (en) GNSS PCBA automatic test system and application method thereof
CN205665903U (en) Wireless ultrasonic detector of parking system machinery vehicle position loRa
CN103149385B (en) A kind of portable detection system of locomotive shaft-end velocity sensor
CN104007409A (en) Device and method for automatically detecting intelligent ammeter liquid crystal wheel display content
CN207115176U (en) Intelligent detection equipment and system
CN102486493A (en) Electronic device energy consumption detection system
CN100432951C (en) Monitoring apparatus and method of USB interface
CN104297614A (en) Short-circuit testing device and method for segment code type liquid crystal display module
CN211148838U (en) Air conditioner internal unit testing device
CN108089110A (en) Mainboard method for testing reliability and system
CN110940491A (en) Detection equipment of multispectral camera
CN206020574U (en) A kind of automobile power cell Beam Detector
CN205826471U (en) Dust content detecting system
CN210181038U (en) Simple engine oil quality detection device
CN104912874A (en) Testing and recording instrument for hydraulic system
CN201348738Y (en) Locomotive wheel spin fault diagnosis recorder
CN108549042A (en) A kind of NVME LED detecting systems and detection method
CN215575602U (en) Simple type-C port welding reliability identification and detection device
CN207033439U (en) Well liquid Bluetooth transmission memory-type multi-parameter instrument can be identified
CN211452697U (en) Wireless torque detection module
CN204925339U (en) Intelligent driving control PCBA's quick detection device of automation
CN104950240A (en) Working voltage segment testing system and testing method for smart card
CN210923872U (en) Online discrimination system of distribution terminal trouble
CN113405583A (en) Automatic test equipment for aviation board position sensor and control method

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
ASS Succession or assignment of patent right

Owner name: GUANGDONG XIAOTIANCAI TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: DONGGUAN BUBUGAO EDUCATION ELECTRONIC PRODUCT CO., LTD.

Effective date: 20140430

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20140430

Address after: 126 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: Guangdong Xiaotiancai Technology Co., Ltd.

Address before: 523860 Guangdong Province, Dongguan city Changan town usha BBK Avenue P.O. Box 23

Patentee before: Dongguan Bubugao Education Electronic Product Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081112

Termination date: 20171025