Check patentability & draft patents in minutes with Patsnap Eureka AI!

A testing method and device for an adapter

A test method and a test device technology, applied in the direction of detecting faulty computer hardware, etc., can solve problems such as taking a long time, and achieve the effects of improving test efficiency, shortening test time, and improving efficiency

Active Publication Date: 2019-10-18
GUANGZHOU SHIYUAN ELECTRONICS CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The above test method is to connect the U disk to the Type-A socket of the adapter. Since the adapter generally has 2-4 Type-A sockets, each Type-A socket is connected to and removed from the USB3.0 socket respectively. U disk and USB2.0 U disk, and it takes a long time to test the speed of USB3.0 U disk and USB2.0 U disk respectively

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A testing method and device for an adapter
  • A testing method and device for an adapter
  • A testing method and device for an adapter

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0016] figure 1 It is the flow chart of the test method for the adapter provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of testing the USB3.1 Type-C port to Type-A socket adapter. The method can be performed by The test device for the adapter is implemented, the device can be implemented by software and / or hardware, and the device can be integrated in any equipment used to test the adapter, such as typical user terminal equipment, such as mobile phones, Tablet PC, desktop, laptop or all-in-one PC, etc. The method includes:

[0017] S101. Obtain identification information of a USB disk device connected to at least one interface of the adapter.

[0018] The adapter is an adapter for setting the Type-C port of USB3.1 to the Type-A socket. The adapter includes one or more Type-A sockets (ie interfaces). When one or more Type-A After the A socket is connected to the U disk device, the identification information of the U disk device is...

Embodiment 2

[0028] figure 2 It is the flow chart of the test method for the adapter provided by the second embodiment of the present invention, and the second embodiment adds step S205 on the basis of the first embodiment. Steps S201 , S202 , S203 and S204 in the second embodiment are the same as steps S101 , S102 , S103 and S104 in the first embodiment, and the same steps will not be repeated here.

[0029] S201. Obtain identification information of a USB disk device connected to at least one interface of the adapter.

[0030] S202. Determine the type of the USB disk device according to the identification information corresponding to the at least one interface.

[0031] S203. Obtain the number of USB disk devices corresponding to different types of USB disk devices.

[0032] S204. If the number of U disk devices is consistent with the preset number of interfaces of the corresponding type of the adapter, the interface of the corresponding type of the adapter is qualified; if the number...

Embodiment 3

[0037] image 3 It is a schematic structural diagram of a test device for an adapter provided in Embodiment 3 of the present invention, and the device is used to implement the test method for an adapter in the above embodiment.

[0038] The device includes: an adapter cable 310 and a testing device 320, one end of the adapter cable is a USB3.0A type plug 311, which is used to connect with the socket of the adapter; The socket 312 and the socket 313 of USB3.0A type are respectively used to connect the U disk equipment; for implementing test methods for adapters.

[0039]The USB3.0A plug 311 of the adapter cable is connected to the socket of the adapter, and the USB3.0 standard Type-A socket of the adapter is separated into two types of adapter cables that support USB3.0 standard and USB2.0 respectively. Standard Type-A socket. Among the two separate sockets, the USB3.0Type-A socket can only connect to USB3.0 devices, while the USB2.0Type-A socket can only connect to USB2.0 d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a testing method and device for an adapter. The method comprises the following steps: acquiring identification information of U disk equipment into which at least one interface is accessed of the adapter; respectively determining the type of the U disk equipment according to the identification information corresponding to at least on e interface; acquiring the number of the U disk equipment corresponding to the types of different U disk equipment; if the number of the U disk equipment is consistent with a preset number of the interface of the adapter corresponding type, regarding that the interface of the adapter corresponding type is qualified; if the number of the U disk equipment is inconsistent with a preset number of the interface of the adapter corresponding type, regarding that the interface of the adapter corresponding type is abnormal. Through the adoption of the method disclosed by the embodiment of the invention, the supported protocol version and the U disk number are judged by reading the identification information of the U disk equipment, the testing time of the adapter is shortened, and the testing efficiency of the adapter is improved.

Description

technical field [0001] The embodiment of the present invention relates to interface testing technology, in particular to a testing method and device for an adapter. Background technique [0002] With the promotion of the USB3.1 standard, an adapter that converts the USB3.1 Type-C port to the Type-A socket has also appeared. The adapter needs to be tested when it leaves the factory. One of the test methods is as follows : Connect the Type-C port of the adapter to the USB Type-C port of the laptop, connect the USB3.0 U disk to the Type-A socket of the adapter, and perform a speed test. If the speed test result is in the USB3.0 .0 protocol within the fixed speed range, the adapter supports USB3.0 devices; take out the USB3.0 U disk from the Type-A socket of the adapter, and plug it into the Type-A socket of the adapter. Insert a USB2.0 U disk and perform a speed test. If the speed test result is within the fixed speed range of the USB2.0 protocol, the adapter supports USB2.0 d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/22
Inventor 郭崇鑫
Owner GUANGZHOU SHIYUAN ELECTRONICS CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More