CN112948198A - USB port automatic test method, device, system and storage medium - Google Patents

USB port automatic test method, device, system and storage medium Download PDF

Info

Publication number
CN112948198A
CN112948198A CN202110387370.5A CN202110387370A CN112948198A CN 112948198 A CN112948198 A CN 112948198A CN 202110387370 A CN202110387370 A CN 202110387370A CN 112948198 A CN112948198 A CN 112948198A
Authority
CN
China
Prior art keywords
usb port
load
voltage
load voltage
test
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.)
Granted
Application number
CN202110387370.5A
Other languages
Chinese (zh)
Other versions
CN112948198B (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.)
Shenzhen Welltest Technology Co ltd
Original Assignee
Shenzhen Welltest Technology 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 Shenzhen Welltest Technology Co ltd filed Critical Shenzhen Welltest Technology Co ltd
Priority to CN202110387370.5A priority Critical patent/CN112948198B/en
Publication of CN112948198A publication Critical patent/CN112948198A/en
Application granted granted Critical
Publication of CN112948198B publication Critical patent/CN112948198B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention relates to an automatic testing method for a USB port, which comprises the following steps: receiving a USB port access signal from a test end; sending a no-load detection signal to the test end to enable the test end to detect a no-load voltage Vnl of the USB port, and acquiring and storing a no-load voltage Vnl, wherein the no-load voltage is a voltage when the USB port is not connected to an electronic load; sending a control signal to the test end to enable the test end to control the electronic load to be started and to be connected to the USB port; sending an on-load detection signal to a test end to enable the test end to detect an on-load voltage Vloaded of the USB port, acquiring and storing the on-load voltage Vloaded of the USB port, wherein the on-load voltage is the voltage of the USB port when an electronic load is connected to the USB port; and comparing the loaded voltage Vloaded with the unloaded voltage Vnl to obtain the differential pressure Vdrop of the USB port, recording and displaying the differential pressure Vdrop, and comparing the differential pressure Vdrop with a preset differential pressure range value to judge the performance of the USB port. The invention has the characteristics of intuitively observing whether the voltage of the USB port meets the specification or not and whether the data transmission performance is good or not.

Description

USB port automatic test method, device, system and storage medium
Technical Field
The invention relates to the technical field of USB testing, in particular to a method, equipment, a system and a storage medium for automatically testing a USB port.
Background
Due to the characteristics of simplicity and easiness in use, hot plug support, high speed and the like of a Universal Serial Bus (USB) interface, the USB interface is widely applied to current electronic products. In the production of the USB port, in order to ensure that the USB port can work normally, the quality of the USB port needs to be tested when the electronic device leaves the factory, that is, whether the supply voltage and current of the electronic device meet the specification is checked.
The test method in the related art is to use the device with the USB port to perform a test, connect the device with the USB port to the electronic device, and then check whether the device with the USB port can normally detect the existence of the device with the USB port through a test program inside the electronic device, that is, whether the device with the USB port can normally operate.
Disclosure of Invention
The invention aims to provide an automatic testing method for a USB port, which has the characteristics of intuitively observing whether the voltage of the USB port meets the specification or not and whether the data transmission performance is good or not.
The above object of the present invention is achieved by the following technical solutions:
an automatic testing method for a USB port is applied to a management terminal, and comprises the following steps:
receiving a USB port access signal from a test end, wherein the access signal carries parameter information of a USB port;
sending a no-load detection signal to a test end to enable the test end to detect a no-load voltage Vnl of the USB port, and acquiring and storing the no-load voltage Vnl, wherein the no-load voltage is a voltage when the USB port is not connected to an electronic load;
sending a control signal to the test end to enable the test end to control the electronic load to be started and to be connected to the USB port;
sending an on-load detection signal to a test end to enable the test end to detect an on-load voltage Vloaded of a USB port, and acquiring and storing the on-load voltage Vloaded of the USB port, wherein the on-load voltage is the voltage of the USB port when an electronic load is connected to the USB port;
and comparing the loaded voltage Vloaded with the no-load voltage Vnl to obtain the differential pressure Vdrop of the USB port, recording and displaying the differential pressure Vdrop, and comparing the differential pressure Vdrop with a preset differential pressure range value to judge the performance of the USB port.
By adopting the technical scheme, the no-load voltage Vnl and the load voltage Vloaded of the USB port are respectively tested by the testing end, and the voltage difference Vdrop of the USB port is obtained and displayed by comparing the load voltage Vloaded with the no-load voltage Vnl, so that a tester can visually check the voltage drop of the tested USB port. Meanwhile, the range value of the differential pressure Vdrop is judged by comparing the differential pressure Vdrop with a preset differential pressure range value, so that a tester can conveniently know whether the voltage of the USB port meets the specification or not and whether the transmission performance of the USB port is good or not.
The present invention in a preferred example may be further configured to: before receiving the USB port access signal from the test end, receiving the USB port in-place signal from the test end, generating a port connection signal and sending the port connection signal to the test end so as to connect the test interface of the test end with the USB port.
By adopting the technical scheme, the test end identifies whether the USB port is in place and feeds back the USB port in-place signal to the management end, so that the management end runs the next step and sends the port connection signal to the test end, so that the test interface of the test end is connected with the USB port, and the test step of controlling the USB port is performed in order.
The present invention in a preferred example may be further configured to: the receiving the USB port access signal from the test terminal includes: acquiring and recording the parameter information of the USB port, wherein the parameter information of the USB port comprises the unique identification number of the USB port.
By adopting the technical scheme, the management terminal can conveniently record the test information of the USB port, and the tester can conveniently analyze the data of the USB port which is not in line with the standard.
The present invention in a preferred example may be further configured to: before sending the load detection signal to the test end, receiving an electronic load starting signal from the test end, responding to the electronic load starting signal and generating the load detection signal, wherein the electronic load starting signal carries parameter information of the electronic load, and the parameter information of the electronic load comprises power parameters of the electronic load.
By adopting the technical scheme, before the load voltage of the USB port is detected, the starting condition of the electronic load is detected by acquiring the power parameter of the electronic load, namely, the management terminal determines the starting of the electronic load by receiving the electronic load starting signal from the test terminal, so that the management terminal can control the test terminal to carry out the next test.
The present invention in a preferred example may be further configured to: after the no-load voltage Vnl is obtained, before a control signal is sent to a detection end, the no-load voltage Vnl is compared with a preset no-load voltage range value, and a comparison result is displayed; and if the no-load voltage Vnl is within the preset no-load voltage range value, generating a control signal and sending the control signal to the test terminal, otherwise, not generating the control signal.
By adopting the technical scheme, the USB port of the no-load voltage outside the preset no-load voltage range value is removed by a tester conveniently, unnecessary testing steps are reduced, and the testing time is saved.
The present invention in a preferred example may be further configured to: and comparing the no-load voltage Vnl with a preset no-load voltage range value, and if the no-load voltage Vnl is out of the preset no-load voltage range value, generating an alarm signal and sending the alarm signal to a test end to enable the test end to give an alarm.
By adopting the technical scheme, the tester is reminded to check the state information of the currently tested USB port.
The present invention in a preferred example may be further configured to: after the differential pressure Vdrop is compared with a preset differential pressure range value, if the differential pressure Vdrop of the USB port is out of the preset differential pressure range value, a detection report is generated, wherein the detection report comprises no-load voltage Vnl, load voltage Vloaded, the differential pressure Vdrop and parameter information of the USB port.
By adopting the technical scheme, the information of the USB port is fed back in a form of a report so as to trace the related test information of the USB port, and therefore, a tester can analyze the data information of the USB conveniently.
The invention also aims to provide automatic test equipment which has the characteristics of intuitively observing whether the voltage of the USB port meets the specification or not and whether the data transmission performance is good or not.
The second aim of the invention is realized by the following technical scheme:
an automated test equipment, comprising,
the receiving module is used for receiving a USB port access signal from the testing end;
the no-load voltage acquisition module is used for sending a no-load detection signal to the test end to enable the test end to detect the no-load voltage Vnl of the USB port, and acquiring and storing the no-load voltage Vnl;
the control module is used for sending a control signal to the test end so as to enable the test end to control the electronic load to be opened and connected to the USB port;
the load voltage acquisition module is used for sending a load detection signal to the test end so as to enable the test end to detect the load voltage Vloaded of the USB port, and acquiring and storing the load voltage Vloaded of the USB port; and the number of the first and second groups,
and the comparison module is used for comparing the loaded voltage Vloaded with the no-load voltage Vnl to obtain the differential pressure Vdrop of the USB port, recording and displaying the differential pressure Vdrop, and comparing the differential pressure Vdrop with a preset differential pressure range value to judge the performance of the USB port.
By adopting the technical scheme, after the receiving module receives the USB port access signal, the no-load voltage acquisition module sends the no-load detection signal so that the test end detects the no-load voltage Vnl of the USB port, acquires the no-load voltage data for storage, controls the electronic load of the test end to be started through the control module, and acquires and records the load voltage Vloaded of the USB port. After the no-load voltage Vnl and the load voltage Vloaded of the USB port are respectively obtained, the load voltage Vloaded and the no-load voltage Vnl are compared by the comparison module to obtain the voltage difference Vdrop of the USB port, so that a tester can visually check the voltage drop of the tested USB port. Meanwhile, the range value of the differential pressure Vdrop is judged by comparing the differential pressure Vdrop with a preset differential pressure range value, so that a tester can conveniently know whether the voltage of the USB port meets the specification or not and whether the transmission performance of the USB port is good or not.
The third purpose of the invention is to provide an automatic test system which has the characteristics of storing and executing the automatic test method of the USB port so as to ensure the normal operation of the test method.
The third object of the invention is realized by the following technical scheme:
an automated test system comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and execute the test method described above.
By adopting the technical scheme, the memory is used for storing the computer program using the USB port automatic detection method, and the computer program stored in the memory can control the test terminal to run through the processor.
The invention also provides a computer storage medium which can store corresponding programs and has the characteristic of being convenient for realizing the operation of the automatic USB port testing method on other USB port testing platforms.
The fourth object of the invention is realized by the following technical scheme:
a computer readable storage medium storing a computer program that can be loaded by a processor and executed to perform any of the above described methods for automated testing of USB ports.
By adopting the technical scheme, the computer program stored in the storage medium can control the test end to run through the processor, so that the automatic test method of the USB port can be conveniently operated on other USB port test platforms.
In summary, the invention includes at least one of the following beneficial technical effects:
1. the no-load voltage Vnl and the load voltage Vloaded of the USB port are respectively tested by the testing end, and the voltage difference Vdrop of the USB port is obtained and displayed by comparing the load voltage Vloaded with the no-load voltage Vnl, so that a tester can visually check the voltage drop of the tested USB port. Meanwhile, the range value of the differential pressure Vdrop is judged by comparing the differential pressure Vdrop with a preset differential pressure range value, so that a tester can conveniently know whether the voltage of the USB port meets the specification and whether the transmission performance of the USB port is good;
2. and the test end identifies whether the USB port is in place and feeds back a USB port in-place signal to the management end, so that the management end runs the next step and sends a port connection signal to the test end, so that a test interface of the test end is connected with the USB port, and the test step of controlling the USB port is performed orderly.
Drawings
FIG. 1 is a schematic flow chart of a first embodiment of the present invention;
FIG. 2 is a schematic partial structure diagram of a testing terminal according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a connection circuit structure between an electronic load and a USB port according to an embodiment of the present invention.
In the figure, 1, test platform; 11. a placement groove; 2. a test port; 3. a cylinder; 4. a power supply interface; 5. briquetting; 6. a motor; 7. a screw rod; 8. an elastic rubber pad.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The first embodiment is as follows:
the embodiment of the invention provides an automatic testing method of a USB port, which is applied to a management terminal. Referring to fig. 1, the method for automatically testing the USB port includes:
and S10, receiving a USB port access signal from the test end.
The access signal carries parameter information of the USB port, the parameter information of the USB port mainly comprises a model number and a power parameter of the USB port and a unique identification number of the USB port, the unique identification number of the USB port is a binary digital code stored in the USB chip, and the digital code can be read by the management end.
Specifically, before the testing end sends the access signal to the management end, it is first detected whether the USB port is placed on the testing end, and the detection mode may be detected by a sensor, such as an infrared sensor or a pressure sensor. It can be understood that the testing end is a testing device, and the structure of the testing device refers to fig. 2. In this embodiment, the test apparatus includes a test platform 1. The test platform 1 is provided with a placing groove 11 for placing the USB port, and after the USB port is placed in the placing groove 11, if the sensor detects that the USB port is placed in the placing groove 11, the sensor sends a USB port in-place signal to the management end, so that the management end can recognize that the USB port is in place. After receiving the USB port in-place signal, the management end responds to the USB port in-place signal, generates a port connection signal and sends the port connection signal to the test end, and the test end responds to the USB port in-place signal and starts a test port 2 of the test end so as to connect the test port 2 with the USB port.
In this embodiment, the testing port 2 can horizontally slide relative to the testing platform 1, and the testing platform 1 is provided with an air cylinder 3 for driving the testing port 2 to slide, and the testing port 2 is connected with a piston rod of the air cylinder 3. While the cylinders 3 are controlled by the management side. That is, after the management terminal sends the port connection signal to the test terminal, the cylinder 3 responds to the port connection signal and pushes the test port 2 to slide to be connected with the USB port, so as to test the USB port.
When the USB port is connected with the test interface, the USB port sends an access signal to the management end so that the management end can read the parameter information of the USB port. The management terminal reads the parameter information of the USB port, and the management terminal can be understood as being provided with a power supply interface 4 for being connected with the USB port on the testing device, the power supply end of the USB port is connected with the power supply interface 4 of the testing device in a contact connection manner, and the testing device is provided with a pressing mechanism for keeping the USB port in stable contact with the power supply interface 4.
Specifically, hold-down mechanism is equipped with motor 6 and lead screw 7 that are used for driving briquetting 5 to go up and down including briquetting 5 that can go up and down along vertical direction on test platform 1 of test equipment, the vertical setting of lead screw 7, the top of lead screw 7 and the output shaft of motor 6, set up the screw hole with lead screw 7 threaded connection on the briquetting 5. That is, when the motor 6 drives the screw rod 7 to rotate, the press block 5 is driven to move along the length direction of the screw rod 7, so that the lifting is realized. Meanwhile, the bottom surface of the pressing block 5 is also provided with an arc-shaped elastic rubber pad 8, so that when the USB port is pressed tightly, the impact force on the USB port is weakened.
When the test port 2 of the test side is connected to the USB port, the following step S20 is executed.
And S20, sending a no-load detection signal to the test end to enable the test end to detect a no-load voltage Vnl of the USB port, and acquiring and storing the no-load voltage Vnl, wherein the no-load voltage is the voltage of the USB port when the USB port is not connected with an electronic load.
Specifically, after receiving the no-load detection signal, the test end stops supplying power to the USB port and starts the multimeter test. Wherein, the both ends of universal meter are connected with the input and the output of USB port respectively. In this embodiment, the multimeter is electrically connected to the management terminal, so that the management terminal can read test data of the multimeter conveniently. Meanwhile, the universal meter is installed on the test platform 1, and two ends of the universal meter are respectively fixed on two sides of the test platform 1. After the USB port is placed in the placing groove 11 of the testing platform 1, the two ends of the universal meter are just abutted to the input end and the output end of the USB port, so that the USB port is connected.
After the multimeter is started, the USB port is tested, and the test voltage at the moment is the no-load voltage Vnl of the USB port. After the test is completed, the management terminal obtains the no-load voltage Vnl and stores the no-load voltage.
Meanwhile, after acquiring the no-load voltage Vnl, the management terminal compares the no-load voltage Vnl with a preset no-load voltage range value. For example, if the preset no-load voltage range is between 4.5V and 5.5V, after obtaining the no-load voltage Vnl, comparing the no-load voltage Vnl with 4.5V and 5.5V, respectively, to determine whether the no-load voltage Vnl is between 4.5V and 5.5V, if the no-load voltage Vnl is between 4.5V and 5.5V, the no-load voltage Vnl meets the specification, otherwise, the no-load voltage is not in compliance with the specification. And after the comparison is completed, the comparison result is displayed at the management end so as to be convenient for the test personnel to check.
In addition, if the no-load voltage is within the preset no-load voltage range value, a control signal is generated and sent to the test terminal, and then the following step S30 is executed. Otherwise, the control signal is not generated, and the following step S30 is not performed. In this embodiment, if the no-load voltage is outside the preset no-load voltage range, an alarm signal is generated and sent to the test end to enable the test end to send out an alarm. The alarm may be a buzzer or a warning lamp.
And S30, sending a control signal to the test end to enable the test end to control the electronic load to be opened and connected to the USB port.
Specifically, the test end responds to the control signal and starts the electronic load after receiving the control signal from the management end. The electronic load is installed on the test platform 1, and the input end and the output end of the electronic load are respectively connected with the input end and the output end of the USB port correspondingly. It can be understood that, after the USB port is placed in the placing slot 11 of the testing platform 1, the input and the output of the USB port are correspondingly connected to the input and the output of the electronic load, respectively, so that the electronic load and the USB port form a loop. Meanwhile, the input end of the electronic load is also provided with a normally open switch, the testing platform 1 is provided with a switch part for closing the normally open switch, the switch part is controlled by the management end, and after the testing end receives a control signal from the management end, the normally open switch is closed by the switch part, so that the electronic load is conducted with the USB port. In this embodiment, the switch unit may be a relay KM, and the normally open switch KM-1 is matched with the relay KM, and a schematic diagram of a circuit structure thereof is shown in fig. 3.
And when the normally open switch is closed, the test end generates an electronic load opening signal and sends the electronic load opening signal to the management end. The electronic load starting signal carries parameter information of the electronic load, and the parameter information of the electronic load comprises power parameters of the electronic load. And the management terminal responds to the electronic load starting signal, acquires the parameter information of the electronic load and generates a load detection signal. The following step S40 is then performed.
And S40, sending an on-load detection signal to the test end to enable the test end to detect the on-load voltage Vloaded of the USB port, and acquiring and storing the on-load voltage Vloaded of the USB port, wherein the on-load voltage is the voltage of the USB port when the USB port is connected with an electronic load.
Specifically, after the test end receives the on-load detection signal, the universal meter is started to detect the USB port. The management terminal reads the detection data of the multimeter to obtain the load voltage Vloaded of the USB port, stores the load voltage Vloaded, and then executes the following step S50.
S50, comparing the loaded voltage Vloaded with the no-load voltage Vnl to obtain the differential pressure Vdrop of the USB port, recording and displaying the differential pressure Vdrop, and comparing the differential pressure Vdrop with a preset differential pressure range value to judge the performance of the USB port.
Specifically, the loaded voltage Vloaded is compared with the unloaded voltage Vnl to obtain the differential voltage Vdrop of the USB port. It is understood that the voltage difference Vdrop is the loaded voltage Vloaded — the unloaded voltage Vnl. After the management end obtains the differential pressure Vdrop, the management end compares the differential pressure Vdrop with a preset differential pressure range value to judge whether the differential pressure Vdrop is within the preset differential pressure range value, if the differential pressure Vdrop is within the preset differential pressure range value, the management end displays that the performance of the USB port meets the specification, and records the test information of the USB port. If the differential pressure Vdrop is outside the preset differential pressure range, the management terminal displays that the performance of the USB port does not meet the standard requirement, and at the moment, the management terminal sends an alarm signal to the test terminal to enable the test terminal to give an alarm. The alarm mode can be that the buzzer rings, also can be for the warning light lights, reminds the tester from this. Meanwhile, the management end records the test information of the USB port. The test information includes test time, no-load voltage Vnl, load voltage Vloaded, and voltage difference Vdrop. And generating a detection report, wherein the detection report records the test information of the USB port and the parameter information of the USB port, so that a tester can conveniently trace the USB port which does not meet the performance requirement.
In the embodiment of the invention, the no-load voltage Vnl and the load voltage Vloaded of the USB port are respectively tested by using a universal meter at the testing end, and the load voltage Vloaded is compared with the no-load voltage Vnl, so that the voltage difference Vdrop of the USB port is obtained and displayed, and a tester can visually check the voltage drop of the tested USB port. Meanwhile, the range value of the differential pressure Vdrop is judged by comparing the differential pressure Vdrop with a preset differential pressure range value, so that a tester can conveniently know whether the voltage of the USB port meets the specification or not and whether the transmission performance of the USB port is good or not.
Example two:
the second embodiment of the present invention provides an automatic testing device, which comprises,
the receiving module is used for receiving a USB port access signal from the testing end;
the no-load voltage acquisition module is used for sending a no-load detection signal to the test end to enable the test end to detect the no-load voltage Vnl of the USB port, and acquiring and storing the no-load voltage Vnl;
the control module is used for sending a control signal to the test end so as to enable the test end to control the electronic load to be opened and connected to the USB port;
the load voltage acquisition module is used for sending a load detection signal to the test end so as to enable the test end to detect the load voltage Vloaded of the USB port, and acquiring and storing the load voltage Vloaded of the USB port; and the number of the first and second groups,
and the comparison module is used for comparing the loaded voltage Vloaded with the no-load voltage Vnl to obtain the differential pressure Vdrop of the USB port, recording and displaying the differential pressure Vdrop, and comparing the differential pressure Vdrop with a preset differential pressure range value to judge the performance of the USB port.
It can be understood that, when testing the USB port, the USB port is first placed on the testing platform 1 of the testing end, and when the USB port is in place, that is, after the USB port is connected to the testing interface of the testing end, the testing end sends a USB port access signal to the management end, and the management end receives the USB port access signal through the receiving module.
Then, the management terminal responds to the USB port access signal, generates a no-load detection signal, and sends the no-load detection signal to the test terminal through the no-load voltage acquisition module, so that the test terminal detects the no-load voltage Vnl of the USB port, and returns the no-load voltage Vnl to the management terminal for storage. After acquiring the no-load voltage Vnl, the management terminal generates a control signal and sends the control signal to the test terminal through the control module, so that the test terminal controls the electronic load to be turned on, and the electronic load is turned on and then is conducted with the USB port. And when the electronic load is communicated with the USB port, the test end generates an electronic load starting signal and sends the electronic load starting signal to the management end. The management terminal responds to the electronic load starting signal, generates an on-load detection signal and sends the on-load detection signal to the testing terminal through the on-load voltage acquisition module so that the testing terminal tests the on-load voltage Vloaded after the USB port is connected to the electronic load. The testing end detects the loaded voltage Vloaded of the USB port and then transmits the loaded voltage Vloaded back to the management end, the comparison module of the management end compares the loaded voltage Vloaded with the no-load voltage to obtain a differential pressure Vdrop, and the differential pressure Vdrop is compared with a preset differential pressure range value to judge whether the voltage of the USB port meets the standard requirement or not, so that the data transmission performance of the USB port is determined.
Example three:
the fifth embodiment of the present invention provides an automated testing system, which includes a memory and a processor, where the memory stores a computer program that can be loaded by the processor and execute any one of the above methods. Specifically, the automatic test system comprises a computer, a mobile phone, a tablet, a reader and the like.
Example four:
the fourth embodiment of the present invention provides a computer-readable storage medium, where the storage medium stores a computer program that can be loaded by a processor and executed to perform any one of the methods described above. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The present embodiment is only for explaining the present invention, and it is not limited to the present invention, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present invention.

Claims (10)

1. An automatic testing method for a USB port is applied to a management terminal, and is characterized in that the method comprises the following steps:
receiving a USB port access signal from a test end, wherein the access signal carries parameter information of a USB port;
sending a no-load detection signal to a test end to enable the test end to detect a no-load voltage Vnl of the USB port, and acquiring and storing the no-load voltage Vnl, wherein the no-load voltage is a voltage when the USB port is not connected to an electronic load;
sending a control signal to the test end to enable the test end to control the electronic load to be started and to be connected to the USB port;
sending an on-load detection signal to a test end to enable the test end to detect an on-load voltage Vloaded of a USB port, and acquiring and storing the on-load voltage Vloaded of the USB port, wherein the on-load voltage is the voltage of the USB port when an electronic load is connected to the USB port;
and comparing the loaded voltage Vloaded with the no-load voltage Vnl to obtain the differential pressure Vdrop of the USB port, recording and displaying the differential pressure Vdrop, and comparing the differential pressure Vdrop with a preset differential pressure range value to judge the performance of the USB port.
2. The method according to claim 1, wherein before receiving the USB port access signal from the testing terminal, the USB port in-place signal from the testing terminal is received, and a port connection signal is generated and sent to the testing terminal, so that the testing interface of the testing terminal is connected to the USB port.
3. The method of claim 2, wherein receiving the USB port access signal from the test end comprises:
acquiring and recording the parameter information of the USB port, wherein the parameter information of the USB port comprises the unique identification number of the USB port.
4. The method according to claim 1, wherein before sending the load detection signal to the test terminal, receiving an electronic load start signal from the test terminal, responding to the electronic load start signal, and generating the load detection signal, wherein the electronic load start signal carries parameter information of the electronic load, and the parameter information of the electronic load includes a power parameter of the electronic load.
5. The method of claim 1, wherein after obtaining the no-load voltage Vnl, before sending a control signal to a detection terminal, the no-load voltage Vnl is compared with a preset no-load voltage range value, and a comparison result is displayed; and if the no-load voltage Vnl is within the preset no-load voltage range value, generating a control signal and sending the control signal to the test terminal, otherwise, not generating the control signal.
6. The method of claim 5, wherein the idle voltage Vnl is compared with a predetermined idle voltage range value, and if the idle voltage Vnl is outside the predetermined idle voltage range value, an alarm signal is generated and sent to the test end to cause the test end to alarm.
7. The method as claimed in claim 6, wherein after comparing the differential pressure Vdrop with the preset differential pressure range value, if the differential pressure Vdrop at the USB port is outside the preset differential pressure range value, a detection report is generated, and the detection report includes the no-load voltage Vnl, the loaded voltage Vloaded, the differential pressure Vdrop, and the parameter information of the USB port.
8. An automated test equipment, comprising,
the receiving module is used for receiving a USB port access signal from the testing end;
the no-load voltage acquisition module is used for sending a no-load detection signal to the test end to enable the test end to detect the no-load voltage Vnl of the USB port, and acquiring and storing the no-load voltage Vnl;
the control module is used for sending a control signal to the test end so as to enable the test end to control the electronic load to be opened and connected to the USB port;
the load voltage acquisition module is used for sending a load detection signal to the test end so as to enable the test end to detect the load voltage Vloaded of the USB port, and acquiring and storing the load voltage Vloaded of the USB port; and the number of the first and second groups,
and the comparison module is used for comparing the loaded voltage Vloaded with the no-load voltage Vnl to obtain the differential pressure Vdrop of the USB port, recording and displaying the differential pressure Vdrop, and comparing the differential pressure Vdrop with a preset differential pressure range value to judge the performance of the USB port.
9. An automated test system comprising a memory and a processor, the memory having stored thereon a computer program that can be loaded by the processor and that executes the method of any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which can be loaded by a processor and which executes the method according to any one of claims 1 to 7.
CN202110387370.5A 2021-04-09 2021-04-09 Automatic test method, equipment, system and storage medium for USB port Active CN112948198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110387370.5A CN112948198B (en) 2021-04-09 2021-04-09 Automatic test method, equipment, system and storage medium for USB port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110387370.5A CN112948198B (en) 2021-04-09 2021-04-09 Automatic test method, equipment, system and storage medium for USB port

Publications (2)

Publication Number Publication Date
CN112948198A true CN112948198A (en) 2021-06-11
CN112948198B CN112948198B (en) 2024-01-12

Family

ID=76231704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110387370.5A Active CN112948198B (en) 2021-04-09 2021-04-09 Automatic test method, equipment, system and storage medium for USB port

Country Status (1)

Country Link
CN (1) CN112948198B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117251328A (en) * 2023-11-17 2023-12-19 先进操作系统创新中心(天津)有限公司 USB peripheral remote adaptation method and system
CN117520079A (en) * 2024-01-03 2024-02-06 国网辽宁省电力有限公司 USB terminal interface fault detection device and detection method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2735437Y (en) * 2003-12-18 2005-10-19 联想(北京)有限公司 Mainboard USB interface testing device
CN104820387A (en) * 2015-04-27 2015-08-05 江苏紫米电子技术有限公司 USB power supply interface-based intelligent power source
CN104965139A (en) * 2015-06-26 2015-10-07 广东欧珀移动通信有限公司 Method and terminal for intelligently detecting adapter performance
CN106026257A (en) * 2016-06-24 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal
CN106154089A (en) * 2016-08-19 2016-11-23 成都智朴思互联科技有限公司 A kind of portable charged quality intelligent test system and method
CN110837450A (en) * 2019-11-04 2020-02-25 广州视源电子科技股份有限公司 USB TYPE-C docking station test method and device, electronic equipment and storage medium
CN111277021A (en) * 2020-03-25 2020-06-12 上海新进芯微电子有限公司 Load connection identification circuit of switching power supply and multi-port charger
CN112014674A (en) * 2020-09-02 2020-12-01 西安易朴通讯技术有限公司 Product board quick-charging opening testing method, product board, testing board and testing system
CN112162166A (en) * 2020-09-25 2021-01-01 珠海智融科技有限公司 USB charging port no-load detection circuit and detection method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2735437Y (en) * 2003-12-18 2005-10-19 联想(北京)有限公司 Mainboard USB interface testing device
CN104820387A (en) * 2015-04-27 2015-08-05 江苏紫米电子技术有限公司 USB power supply interface-based intelligent power source
CN104965139A (en) * 2015-06-26 2015-10-07 广东欧珀移动通信有限公司 Method and terminal for intelligently detecting adapter performance
CN106026257A (en) * 2016-06-24 2016-10-12 青岛海信移动通信技术股份有限公司 Mobile terminal
CN106154089A (en) * 2016-08-19 2016-11-23 成都智朴思互联科技有限公司 A kind of portable charged quality intelligent test system and method
CN110837450A (en) * 2019-11-04 2020-02-25 广州视源电子科技股份有限公司 USB TYPE-C docking station test method and device, electronic equipment and storage medium
CN111277021A (en) * 2020-03-25 2020-06-12 上海新进芯微电子有限公司 Load connection identification circuit of switching power supply and multi-port charger
CN112014674A (en) * 2020-09-02 2020-12-01 西安易朴通讯技术有限公司 Product board quick-charging opening testing method, product board, testing board and testing system
CN112162166A (en) * 2020-09-25 2021-01-01 珠海智融科技有限公司 USB charging port no-load detection circuit and detection method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117251328A (en) * 2023-11-17 2023-12-19 先进操作系统创新中心(天津)有限公司 USB peripheral remote adaptation method and system
CN117251328B (en) * 2023-11-17 2024-01-26 先进操作系统创新中心(天津)有限公司 USB peripheral remote adaptation method and system
CN117520079A (en) * 2024-01-03 2024-02-06 国网辽宁省电力有限公司 USB terminal interface fault detection device and detection method
CN117520079B (en) * 2024-01-03 2024-03-22 国网辽宁省电力有限公司 USB terminal interface fault detection device and detection method

Also Published As

Publication number Publication date
CN112948198B (en) 2024-01-12

Similar Documents

Publication Publication Date Title
CN112948198B (en) Automatic test method, equipment, system and storage medium for USB port
US20180120384A1 (en) Tester for equipment, apparatus or component with distributed processing function
US20200174078A1 (en) Vehicle battery maintenance device
US8249821B2 (en) Testing system and method for fan module
CN108829079B (en) TCU automatic flashing system and method
CN109466473B (en) Vehicle machine fault detection method and device
US20150035541A1 (en) Signal integrity test apparatus and method for testing signal integrity of electronic product
CN205483062U (en) Automobile storage battery fuse box detection device
CN113778055A (en) TBOX detection method and detection system
US20110015884A1 (en) System and method for automatic voltage range measurement
CN114325488A (en) Wire harness fault inspection bench and wire harness fault detection method
CN204517822U (en) A kind of result with WIFI can be reviewed bluetooth and automatically be detected frock
CN207380158U (en) A kind of electronic plug durable test devices of AUX or USB
CN217766640U (en) Aging test system
CN214067331U (en) Sf6 density relay checking device with image recognition function
CN114089162A (en) TCON chip testing method and device and storage medium
CN212410790U (en) Motor detection equipment for electric automobile
KR100356700B1 (en) Device for testing a lithium ion battery pack of notebook computer
CN208606951U (en) A kind of equipment for testing sensor survey
CN219496605U (en) Traceable battery pack detection device
CN220730360U (en) Burning test equipment and burning test system
CN215866916U (en) Production measuring jig of ADAS equipment
CN216646737U (en) Charging panel testing device
CN218724329U (en) YHUB automatic test upper computer system
CN212727057U (en) Nitrogen oxygen sensor analogue means

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant