CN113590395A - Device and method for realizing docking station plugging - Google Patents

Device and method for realizing docking station plugging Download PDF

Info

Publication number
CN113590395A
CN113590395A CN202110823450.0A CN202110823450A CN113590395A CN 113590395 A CN113590395 A CN 113590395A CN 202110823450 A CN202110823450 A CN 202110823450A CN 113590395 A CN113590395 A CN 113590395A
Authority
CN
China
Prior art keywords
docking station
level signal
usb
plugging
instruction
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
Application number
CN202110823450.0A
Other languages
Chinese (zh)
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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN202110823450.0A priority Critical patent/CN113590395A/en
Publication of CN113590395A publication Critical patent/CN113590395A/en
Pending legal-status Critical Current

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/2221Detection 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 input/output devices or peripheral units
    • 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)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a device and a method for realizing docking station plugging, which relate to the technical field of docking station testing, wherein the device is connected with a docking station, a testing machine and a controller, and comprises: the control panel is used for receiving the instruction sent by the controller and generating a high level signal or a low level signal according to the instruction; one side of the USB-C panel is connected with the docking station, and the other side of the USB-C panel is connected with the tester; the USB-C panel receives the high level signal and controls the docking station to be communicated with the tester; and the USB-C panel receives the low level signal and controls the docking station to be disconnected with the tester. This device of realizing docking station plug can realize the automatic plug of docking station, need not artifical manual plug docking station, has improved docking station's efficiency of software testing, can reduce the not in place condition of artifical plug in addition and take place to improve docking station's measuring accuracy.

Description

Device and method for realizing docking station plugging
Technical Field
The invention relates to the technical field of docking station testing, in particular to a device and a method for realizing docking station plugging.
Background
With the thickness of the notebook being thinner and thinner, the weight of the notebook is lighter and lighter, and the light and thin notebook is more convenient for users to carry during traveling, but the light and thin notebook also has a disadvantage that the interface of the body is greatly reduced compared with the traditional notebook, and at the moment, the interface needs to be expanded by a docking station. The docking station is also called a port duplicator, which is an external device specially designed for the notebook computer, and the notebook computer can be conveniently connected with a plurality of accessories or external devices (such as a mouse, a power adapter, an external display and the like) in a one-stop way by duplicating or expanding the port of the notebook computer.
Based on plug operation between current docking station and the notebook computer is more frequent, consequently need test docking station's stability before dispatching from the factory, whether the test plug process docking station appears and can't discern the scheduling problem, still need test the influence of plug docking station under the different modes, docking station test is accomplished by the manual work at present, several hundred or even several thousand times of manual work plug docking station, consequently, adopt the consuming time and wasting power of the mode of manual work plug docking station, docking station plug is not in place in addition, still can reduce the precision of docking station test.
Disclosure of Invention
The invention aims to overcome the defects of the technology and provide a device and a method for realizing docking station plugging, which can realize automatic plugging of the docking station, liberate two hands, save the test time and improve the test efficiency and the test precision.
One aspect of the present invention provides a device for realizing docking station plugging, the device is connected with a docking station, a tester and a controller, the device comprises:
the control panel is used for receiving the instruction sent by the controller and generating a high level signal or a low level signal according to the instruction;
one side of the USB-C panel is connected with the docking station, and the other side of the USB-C panel is connected with the tester;
the USB-C panel receives the high level signal and controls the docking station to be communicated with the tester;
and the USB-C panel receives the low level signal and controls the docking station to be disconnected with the tester.
In an embodiment, the control panel is connected to the USB-C panel through an input/output interface I/O, and the high level signal or the low level signal generated by the control panel is output to the USB-C panel through the I/O interface.
In one embodiment, the USB-C panel includes a USB-C male connector and a USB-C female connector, the USB-C male connector is connected to the docking station, and the USB-C female connector is connected to the tester.
In an implementation manner, the USB-C male connector is connected with the docking station through a Type-C interface, and the USB-C female connector is connected with the tester through a Type-C interface.
In an embodiment, the USB-C male connector and the USB-C female connector are connected by two CC wires;
if the two CC lines are conducted simultaneously, the docking station is communicated with the tester;
and if the two CC lines are disconnected simultaneously, the docking station is disconnected with the tester.
In one embodiment, each CC line has an optical coupler connected thereto;
after the two optical couplers receive the high-level signal, the two optical couplers are conducted at the same time, and then the two CC lines are conducted at the same time;
and after the two optical couplers receive the low-level signal, the two optical couplers stop simultaneously, and then the two CC lines are disconnected simultaneously.
In one embodiment, the instructions include a plug instruction and a unplug instruction;
the control panel generates the high level signal according to the received insertion instruction;
and the control panel generates the low level signal according to the received pulling instruction.
In an implementation manner, a single chip microcomputer is loaded on the control panel, and the single chip microcomputer is used for receiving an insertion instruction or a pull instruction sent by the controller, generating a high level signal according to the insertion instruction, and generating a low level signal according to the pull instruction.
The invention provides a method for realizing the plugging and unplugging of the docking station, which is applied to a device for realizing the plugging and unplugging of the docking station, wherein the device is connected with the docking station, a testing machine and a control machine;
the method comprises the following steps:
receiving an instruction sent by the control machine, and generating a high level signal or a low level signal according to the instruction;
receiving the high-level signal, and controlling the docking station to be communicated with the tester;
and receiving the low-level signal and controlling the docking station to be disconnected with the tester.
In one embodiment, the instructions include a plug instruction and a unplug instruction;
the control panel generates the high level signal according to the received insertion instruction;
and the control panel generates the low level signal according to the received pulling instruction.
The invention provides a method and a device for realizing docking station plugging and unplugging and an electronic device, which are used for solving the problem of low efficiency caused by manual plugging and unplugging of a docking station. The device for realizing the plugging and unplugging of the docking station is used for realizing the connection of the docking station and the testing machine, the control panel receives an instruction sent by the control machine and then generates a high-level signal or a low-level signal, and the USB-C panel receives the high-level signal and then controls the docking station to be communicated with the testing machine; and after the USB-C panel receives the low-level signal, the docking station is controlled to be disconnected with the tester. According to the invention, the docking station is automatically plugged and unplugged by connecting and disconnecting the testing machine and the docking station, and the docking station is not required to be manually plugged and unplugged when being tested, so that the testing efficiency of the docking station is improved, and the situation that the manual plugging and unplugging is not in place can be reduced, thereby being beneficial to improving the testing precision of the docking station.
Drawings
Fig. 1 is a schematic diagram illustrating a connection relationship between a device for plugging and unplugging a docking station and an external device, a controller, and a tester according to an embodiment;
fig. 2 is a schematic structural diagram of a device for enabling docking station plugging according to an embodiment;
FIG. 3 illustrates a schematic structural diagram of a USB-C panel of an embodiment;
fig. 4 is a schematic structural diagram of an apparatus for implementing docking station plugging according to an embodiment;
FIG. 5 illustrates a flow diagram of an automatic plugging method of an embodiment;
FIG. 6 is a flow diagram illustrating automatic docking station plugging and unplugging when switching tester system modes according to an embodiment;
fig. 7 is another flow chart illustrating automatic docking station plugging when the test machine system mode is switched according to an embodiment.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a device for realizing the plugging and unplugging of a docking station, which changes the traditional mode that the docking station is directly connected with a testing machine into the mode that the docking station is connected with the testing machine through the device, wherein one side of the device is connected with the docking station, and the other side of the device is connected with the testing machine, so that the connection between the docking station and the testing machine is realized, and the connection or disconnection between the docking station and the testing machine is realized through controlling the device. However, the device for realizing docking station plugging and unplugging of the invention is not limited to docking stations, and the device can also be used for realizing automatic plugging and unplugging of other external devices such as a U disk, a hard disk and the like.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating connection between a device for realizing docking station plugging and unplugging, a docking station, a tester and a controller according to the present invention, one side of the device 20 for realizing docking station plugging and unplugging is connected to the docking station 101, the other side of the device 20 for realizing docking station plugging and unplugging is connected to the tester (DUT)103, that is, connection and disconnection of the device 20 for realizing docking station plugging and unplugging are controlled by the controller (Host PC) 103. The testing machine 102 and the control machine 103 are devices with computing functions, such as computers, a display screen is provided on the testing machine 102, and the connection and disconnection between the docking station 101 and the testing machine 102 can be visualized on the display screen, so that the tester can know the current state of the docking station 101 conveniently.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an apparatus 20 for implementing docking station plugging provided in the present invention, and the apparatus 20 for implementing docking station plugging includes:
and the control panel 201 is used for receiving the instruction sent by the control machine 103 and generating a high level signal or a low level signal according to the instruction.
The instructions include an insertion instruction and a pull instruction, the insertion instruction correspondingly realizes the insertion operation of the docking station 101, that is, the docking station 101 is communicated with the testing machine 102, and the pull instruction correspondingly realizes the pull operation of the docking station 101, that is, the docking station 101 is disconnected from the testing machine 102. The control panel 201 receives the plugging command and generates a high level signal according to the plugging command, and the control panel 201 receives the unplugging command and generates a low level signal according to the unplugging command.
Specifically, the plugging command or the unplugging command is sent by the controller 103, and the controller 103 is pre-installed with an APP, software or other programs for controlling the plugging and unplugging operation of the docking station 101, which is not limited in the present invention. When the docking station 101 needs to be communicated with the testing machine 102, the controller 103 acquires a user instruction and sends an insertion instruction to the control panel 201, and the control panel 201 generates a high-level signal according to the received insertion instruction; when the docking station 101 needs to be disconnected from the testing machine 102, the control machine 103 obtains a user instruction and sends a pull instruction to the control panel 201, and the control panel 201 receives the pull instruction and generates a low level signal.
A USB-C panel 202, wherein one side of the USB-C panel 202 is connected with the docking station 101, and the other side is connected with the tester 102;
the USB-C panel 202 receives the high level signal and controls the docking station 101 to communicate with the tester 102;
the USB-C board 202 receives the low signal and controls the docking station 101 to disconnect from the testing machine 102.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a USB-C panel according to an embodiment, in which the USB-C panel 202 includes a USB-C male plug and a USB-C female plug, the USB-C male plug is a plug with a pin, the USB-C female plug is a plug with a hole, the USB-C male plug is connected to the docking station 101, and the USB-C female plug is connected to the tester 102. The USB-C male connector and the USB-C female connector are connected through two configuration channels (CC lines), namely CC1 and CC2, and when CC1 and CC2 are conducted simultaneously, the docking station 101 is communicated with the tester 102; when CC1 is disconnected at the same time as CC2, docking station 101 is disconnected from test machine 102.
The CC1 is connected with an optical coupler 1, the CC2 is connected with an optical coupler 2, the optical coupler 1 and the optical coupler 2 are conducted after receiving a high-level signal, the CC1 and the CC2 are conducted simultaneously, and the docking station 101 is communicated with the test machine 102; if the optocoupler receives a low signal and then turns off, CC1 and CC2 are disconnected, and the docking station 101 is disconnected from the test machine 102.
Specifically, the control panel 201 receives a plug command or a pull command from the controller 103, generates a high level signal according to the plug command, and generates a low level signal according to the pull command. When the optocoupler 1 and the optocoupler 2 on the USB-C panel 202 receive high level signals through the I/O interface at the same time, the optocoupler 1 and the optocoupler 2 are turned on at the same time, that is, the CC1 and the CC2 are turned on at the same time, the docking station 101 is communicated with the test machine 102, that is, the same effect as that when the docking station 101 is directly plugged into the test machine 102 is achieved, and data in devices connected to the docking station 101 can be acquired on the test machine 102. When the optocoupler 1 and the optocoupler 2 on the USB-C panel 202 receive low level signals through the I/O interface at the same time, the optocoupler 1 and the optocoupler 2 are turned off at the same time, that is, the CC1 and the CC2 are turned off at the same time, and the docking station 101 is disconnected from the test machine 102, that is, the same effect as that the docking station 101 is directly pulled out from the test machine 102 is achieved. The docking station 101 can be plugged in and pulled out without manual operation, and the docking station 101 can be plugged in and pulled out by controlling the connection and disconnection of the docking station plugging and pulling device 20, so that the testing efficiency of the docking station 101 is improved.
In addition, when the docking station 101 is plugged and unplugged manually, the docking station 101 is often not plugged and unplugged properly, which may affect the connection and disconnection between the docking station 101 and the testing machine 102. For example, even though docking station 101 is plugged into tester 102, docking station 101 may not be connected to tester 102 due to the missing position of docking station 101; or an unseating of the docking station 101 results in the docking station 101 remaining in communication with the testing machine 102. The device 20 for realizing docking station plugging can reduce the occurrence of the phenomenon of improper plugging caused by manual plugging of the docking station, thereby improving the test precision.
In an embodiment, referring to fig. 4, fig. 4 is another schematic structural diagram of the device for implementing docking station plugging and unplugging according to an embodiment, a single chip 301 is loaded on the control panel 201, and the single chip 301 receives a plugging instruction or a unplugging instruction sent by the control machine 103 and generates a corresponding high level signal or a corresponding low level signal.
In an embodiment, the control panel 201 is connected to the USB-C panel 202 through an input/output interface (I/O interface), the I/O interface is used to implement interaction of electrical signals between the control panel 201 and the USB-C panel 202, and a high-level signal or a low-level signal generated by the control panel 201 is output to the optical coupler 1 and the optical coupler 2 on the USB-C panel through the I/O interface. Control panel 201 passes through the USB interface and is connected with controller 103, and USB-C is public first to be connected with docking station 101 through the Type-C interface, and USB-C is female first to be connected with test machine 102 through the Type-C interface, and the Type-C interface is compatible good, and can positive and negative two directions insert, and Type-C still has small characteristics in addition, consequently can reduce the size of the device 20 that realizes the plug of docking station, improves the portability of device.
The docking station testing device simulates the plugging and unplugging operation of the docking station by realizing the connection and the disconnection of the docking station plugging and unplugging device, can realize the connection and the disconnection of the docking station and the testing machine without manually plugging and unplugging the docking station, replaces the manual plugging and unplugging of the traditional docking station with the automatic plugging and unplugging of the docking station, and improves the efficiency and the accuracy of the docking station testing.
In an example, referring to fig. 5, fig. 5 is a schematic flowchart illustrating a method for implementing docking station plugging according to the present invention, which is applied to the apparatus 20 for implementing docking station plugging shown in fig. 1 to 4, where the apparatus is connected with a docking station 101, a testing machine 102 and a control machine 103;
the method comprises the following steps:
s11, receiving an instruction sent by the control machine 103, and generating a high level signal or a low level signal according to the instruction;
specifically, the instruction includes an insertion instruction and a pull instruction, and the insertion instruction corresponds to the insertion operation of the docking station 101, that is, the docking station 101 is communicated with the testing machine 102; the unplugging instruction corresponds to a unplugging operation of the docking station 101, i.e., a disconnection of the docking station 101 from the test machine 102 is achieved.
S12, receiving the high level signal, and controlling the docking station 101 to communicate with the tester 102; or
And receiving the low level signal to control the docking station 101 to disconnect from the testing machine 102.
In order to more fully test the performance of the docking station 101, it is necessary to test the plugging and unplugging of the docking station 101 in combination with the habit of the user using the docking station 101, some users are used to first plug the docking station 101 and then start the test machine 102 to operate, or first unplug the docking station 101 and then turn off the test machine 102, and some users are used to first start the test machine 102 and then plug the docking station 101, or first close the test machine 102 and then unplug the docking station 101.
The following is illustrated with a specific scenario: the test machine in this scenario takes a notebook as an example, and a user just arrives at an office location, needs to first take the notebook, then plugs in the docking station 101, and at this time, the user receives a notification that the user needs to go to a meeting room for meeting, and different users have different operation habits at this time.
The first method comprises the following steps: after receiving the meeting opening notice, the user A firstly pulls out the docking station 101, then closes the notebook and takes the notebook to go to a meeting room, and after arriving at the meeting room, the user A firstly opens the notebook and then inserts the docking station 101; after the meeting is over, user a closes the notebook and then unplugs the docking station 101.
And the second method comprises the following steps: after receiving the conference-opening notice, the user B firstly pulls out the docking station 101, then closes the notebook and takes the notebook to go to a conference room, and after arriving at the conference room, the user B firstly inserts the docking station 101 and then opens the notebook; after the meeting is finished, the user B first unplugs the docking station 101 and then closes the notebook.
To the different use habits of above-mentioned two kinds of users to docking station 101, the plug of docking station 101 has all been tested under these two kinds of circumstances, the test purpose is whether have unusually in order to detect the intercommunication or the disconnection of docking station 101 with test machine 102, the function of detecting docking station has or not lost or partly loses, if appear unusually, the firm of being convenient for in time restores docking station 101, avoid the problem product to flow out, thereby guarantee that docking station can satisfy customer's demand, improve customer's experience and feel.
The essential difference between the two cases is whether the user first operates the docking station 101 or the test machine 102, when the test machine 102 is closed, the test machine 102 is in a sleep state, i.e., S3/S4 mode, and when the test machine 102 is opened, the test machine 102 is in a normal operation state, i.e., S0 mode. The tester 102 needs to switch to a different system mode and then complete the automatic plugging and unplugging of the docking station 101 in the different system mode.
The system mode of different testers 102 is switched to complete the automatic plugging and unplugging of the docking station 101, and the operation method is as follows: after the control system of the test machine 102 enters the S3, S4 or S0 mode, the control machine 103 sends an insertion instruction or a pull instruction to the single chip 301 on the control panel 201, the single chip 301 correspondingly generates a high level signal or a low level signal after receiving the insertion instruction or the pull instruction, the high level signal or the low level signal is output to the optical coupler 1 and the optical coupler 2 on the USB-C panel 202 through the I/O interface, the optical coupler 1 and the optical coupler 2 are simultaneously turned on or off, and the docking station 101 and the test machine 102 are controlled to be connected or disconnected. Specifically, when the optocoupler 1 and the optocoupler 2 receive a high level signal, the optocoupler 1 and the optocoupler 2 are simultaneously turned on, and at this time, the CC1 and the CC2 are simultaneously turned on, so that the docking station 101 is communicated with the test machine 102; when the optocoupler 1 and the optocoupler 2 receive the low level signal, the optocoupler 1 and the optocoupler 2 are simultaneously turned off, and the CC1 and the CC2 are simultaneously turned off, so that the docking station 101 is disconnected from the test machine 102.
The above process is described below with specific test scenarios.
Referring to fig. 6, fig. 6 is a schematic flow chart illustrating automatic plugging and unplugging of a docking station when switching test machine system modes according to the present invention, where the detection method includes:
s21, connecting a USB device to docking station 101;
the USB device can be a mouse, a power adapter, an external display, a USB flash disk, a hard disk and the like.
S22, the controller 103 sends a plugging command to the device 20 for realizing docking station plugging;
the single chip microcomputer 301 generates a high level signal according to the insertion instruction, the high level signal is output to the optical coupler 1 and the optical coupler 2 on the USB-C panel 202 through the I/O interface, the optical coupler 1 and the optical coupler 2 are simultaneously turned on, that is, the CC1 and the CC2 are simultaneously turned on, and at this time, the test machine 102 is communicated with the docking station 101.
S23, detecting the performance of the docking station 101;
after the circuit on the USB-C panel 202 is turned on, the docking station 101 can be connected to the tester 102, but if the docking station 101 is abnormal, the data transmission between the docking station 101 and the tester 102 will be affected, so the performance of the docking station 101 needs to be tested after the circuit on the USB-C panel 202 is turned on.
The test machine 102 may be pre-installed with a corresponding detection APP for testing the performance of the docking station 101, where the performance includes whether the function of the docking station 101 is lost or not, and if the connection state of the docking station 101 is normal and the function of the docking station 101 is not lost, the user may obtain all data in the USB device connected to the docking station 101 on the test machine 102, otherwise, it indicates that the docking station 101 is abnormal, and the abnormal docking station 101 needs to be processed in the next step.
S24, the controller 103 sends a docking station plugging command to the docking station plugging device 20;
the single chip microcomputer 301 generates a low level signal according to the pull-out instruction, the low level signal is output to the optical coupler 1 and the optical coupler 2 on the USB-C panel 202 through the I/O interface, the optical coupler 1 and the optical coupler 2 are simultaneously turned off, that is, the CC1 and the CC2 are simultaneously turned off, and at this time, the test machine 102 is disconnected from the docking station 101.
S25, the control system at the test machine 102 end enters an S3/S4 mode; .
And closing the notebook corresponding to the user A to enter the meeting room.
S26, the control system at the test machine 102 end enters an awakening state, namely the test machine 102 can normally run in an S0 mode;
and opening the notebook computer after the user A arrives at the meeting room, and enabling the computer to be in a normal running state.
Software or programs for controlling the system mode of the tester are deployed on the tester 102, after the tester 102 is disconnected from the docking station 101, the system executing the deployed software or programs controls the tester 102 to enter the S3/S4 mode, that is, the tester 102 enters the sleep mode, then the system executing the deployed software or programs controls the tester 102 to enter the S0 mode, and then the system executing the tester 102 enters the normal operation mode and then executes the S27.
S27, the controller 103 sends a plugging instruction to the device for realizing the plugging of the docking station, and the tester 102 is communicated with the docking station 102 at the moment;
corresponding to the notebook being opened, user a plugs into docking station 101 again.
S28, docking station 101 performance is detected.
The detection process is used to detect if the user has an impact on the performance of the docking station 101 when operating the computer before operating the docking station 101.
Referring to fig. 7, fig. 7 is a schematic flow chart illustrating automatic plugging and unplugging of a docking station when system modes are switched according to another embodiment of the present invention, where the detection method includes:
s31, connecting a USB device to docking station 101;
s32, the control system of the test machine 102 enters an S3/S4 mode;
corresponding to user B entering the meeting room after closing the notebook.
S33, the controller 103 sends a plugging command to the device 20 for realizing docking station plugging;
corresponding to user B, after arriving at the conference room, docking station is plugged in.
S34, the test machine 102 controls the system to enter the awakening state, and the computer enters the S0 mode after being awakened;
corresponding to docking station insert 101 being good, user B opens the notebook again.
S35, detecting the docking station 101 status.
This detection process is used to detect whether the user has an impact on the performance of the docking station 101 by operating the docking station 101 first and then the tester 102.
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the methods according to the various embodiments of the present application described in the "exemplary methods" section of this specification, above.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in a method according to various embodiments of the present application described in the "exemplary methods" section above of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the devices, apparatuses, and methods of the present application, the components or steps may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (10)

1. The utility model provides a realize device of docking station plug, its characterized in that, the device is connected with docking station, test machine and controller, the device includes:
the control panel is used for receiving the instruction sent by the controller and generating a high level signal or a low level signal according to the instruction;
one side of the USB-C panel is connected with the docking station, and the other side of the USB-C panel is connected with the tester;
the USB-C panel receives the high level signal and controls the docking station to be communicated with the tester;
and the USB-C panel receives the low level signal and controls the docking station to be disconnected with the tester.
2. The device for realizing docking station plugging and unplugging of claim 1, wherein the control panel is connected to the USB-C panel through an input/output interface I/O, and the high level signal or the low level signal generated by the control panel is output to the USB-C panel through the I/O interface.
3. The device for realizing docking station plugging and unplugging of claim 1, wherein the USB-C panel comprises a USB-C male head and a USB-C female head, the USB-C male head is connected with the docking station, and the USB-C female head is connected with the tester.
4. The device for realizing docking station plugging and unplugging of claim 3, wherein the USB-C male connector is connected with the docking station through a Type-C interface, and the USB-C female connector is connected with the tester through a Type-C interface.
5. The device for realizing docking station plugging and unplugging of claim 3 or 4, wherein the USB-C male head and the USB-C female head are connected through two CC (component interconnect) lines;
if the two CC lines are conducted simultaneously, the docking station is communicated with the tester;
and if the two CC lines are disconnected simultaneously, the docking station is disconnected with the tester.
6. The docking station plugging and unplugging device according to claim 5, wherein each CC line is connected with an optical coupler;
after the two optical couplers receive the high-level signal, the two optical couplers are conducted at the same time, and then the two CC lines are conducted at the same time;
and after the two optical couplers receive the low-level signals and are simultaneously cut off, the two CC lines are simultaneously disconnected.
7. The device for realizing docking station plugging and unplugging according to claim 1, wherein the instructions comprise a plugging instruction and a unplugging instruction;
the control panel generates the high level signal according to the received insertion instruction;
and the control panel generates the low level signal according to the received pulling instruction.
8. The docking station plugging and unplugging device according to claim 7, wherein the control panel is loaded with a single chip microcomputer, and the single chip microcomputer is used for receiving a plugging instruction or a unplugging instruction sent by the controller, generating a high level signal according to the plugging instruction, and generating a low level signal according to the unplugging instruction.
9. A method for realizing docking station plugging is characterized in that the method is applied to a device for realizing docking station plugging, and the device is connected with a docking station, a testing machine and a controller;
the method comprises the following steps:
receiving an instruction sent by the control machine, and generating a high level signal or a low level signal according to the instruction;
receiving the high-level signal, and controlling the docking station to be communicated with the tester; or
And receiving the low-level signal and controlling the docking station to be disconnected with the tester.
10. The method of claim 9, wherein the commands comprise a plug command and a unplug command;
the control panel generates the high level signal according to the received insertion instruction;
and the control panel generates the low level signal according to the received pulling instruction.
CN202110823450.0A 2021-07-21 2021-07-21 Device and method for realizing docking station plugging Pending CN113590395A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110823450.0A CN113590395A (en) 2021-07-21 2021-07-21 Device and method for realizing docking station plugging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110823450.0A CN113590395A (en) 2021-07-21 2021-07-21 Device and method for realizing docking station plugging

Publications (1)

Publication Number Publication Date
CN113590395A true CN113590395A (en) 2021-11-02

Family

ID=78248614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110823450.0A Pending CN113590395A (en) 2021-07-21 2021-07-21 Device and method for realizing docking station plugging

Country Status (1)

Country Link
CN (1) CN113590395A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204439745U (en) * 2015-01-20 2015-07-01 环旭电子股份有限公司 Automatic plug testing apparatus
CN104932962A (en) * 2015-06-05 2015-09-23 惠州Tcl移动通信有限公司 USB (Universal Serial Bus) plug testing system and method thereof
CN204719748U (en) * 2015-06-24 2015-10-21 北京众合天下管理咨询有限公司 The intelligent management system of extensive USB device
WO2018129893A1 (en) * 2017-01-16 2018-07-19 宁德时代新能源科技股份有限公司 Hardware-in-the-loop equipment based testing system
CN108897704A (en) * 2018-06-26 2018-11-27 南通森雅商务服务有限公司 The intelligent management system of extensive USB device
CN212411188U (en) * 2020-07-30 2021-01-26 深圳市创视微智能技术有限公司 Full-automatic USB hot plug tester
US20210048850A1 (en) * 2018-04-17 2021-02-18 Hewlett-Packard Development Company, L.P. Firmware setup menu options for docking stations

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204439745U (en) * 2015-01-20 2015-07-01 环旭电子股份有限公司 Automatic plug testing apparatus
CN104932962A (en) * 2015-06-05 2015-09-23 惠州Tcl移动通信有限公司 USB (Universal Serial Bus) plug testing system and method thereof
CN204719748U (en) * 2015-06-24 2015-10-21 北京众合天下管理咨询有限公司 The intelligent management system of extensive USB device
WO2018129893A1 (en) * 2017-01-16 2018-07-19 宁德时代新能源科技股份有限公司 Hardware-in-the-loop equipment based testing system
US20210048850A1 (en) * 2018-04-17 2021-02-18 Hewlett-Packard Development Company, L.P. Firmware setup menu options for docking stations
CN108897704A (en) * 2018-06-26 2018-11-27 南通森雅商务服务有限公司 The intelligent management system of extensive USB device
CN212411188U (en) * 2020-07-30 2021-01-26 深圳市创视微智能技术有限公司 Full-automatic USB hot plug tester

Similar Documents

Publication Publication Date Title
TW469367B (en) Testing of USB hub
US20110314201A1 (en) Method and device for identifying universal serial bus (usb) insertion or charger insertion of mobile terminal
WO2018045687A1 (en) Plug module recognition circuit and method
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN210465661U (en) Detection circuitry of USBType-C interface
CN212411188U (en) Full-automatic USB hot plug tester
CN105677596B (en) Control method and electronic equipment
WO2022134715A1 (en) Abnormal power-off protection system and method for child node in complete cabinet server, and device
CN109359079B (en) Simulation plug-in device and method for automatically maintaining USB connection
CN208547675U (en) A kind of plug test module for USB Type-C interface
CN111881074B (en) Electronic system, host device and control method
CN106936496B (en) Hot plug device for multiple IIC communication devices
CN110459260B (en) Automatic test switching device, method and system
CN110990316B (en) Method and programmable logic circuit for outputting hot-swap device status
US7904610B2 (en) Controlling a device connected to first and second communication path wherein device is also connected to third communication path via a bypass link
CN110659168A (en) Method for remotely testing hot plug of server peripheral and USB control device
CN113590395A (en) Device and method for realizing docking station plugging
CN115269474A (en) Server and PCIe hot plug control method, device and medium thereof
TW515947B (en) Test method of 1394 controller
CN112948186B (en) Detection device and detection method of interface signal
CN109164874B (en) Information processing method and electronic equipment
CN112486756B (en) Method for debugging chip by using extended I2C protocol, storage medium and electronic equipment
CN111400220A (en) Cable and method of use thereof
CN203760209U (en) MHL cable and MHL cable hot plug detecting system
CN214540750U (en) USB control circuit, intelligent networking equipment mainboard and electronic equipment

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