CN106502911B - Multi-terminal access device - Google Patents

Multi-terminal access device Download PDF

Info

Publication number
CN106502911B
CN106502911B CN201610986565.0A CN201610986565A CN106502911B CN 106502911 B CN106502911 B CN 106502911B CN 201610986565 A CN201610986565 A CN 201610986565A CN 106502911 B CN106502911 B CN 106502911B
Authority
CN
China
Prior art keywords
usb
interface
network
unit
switching
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.)
Active
Application number
CN201610986565.0A
Other languages
Chinese (zh)
Other versions
CN106502911A (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.)
ZHUHAI QUANZHI TECHNOLOGY Co Ltd
Original Assignee
ZHUHAI QUANZHI 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 ZHUHAI QUANZHI TECHNOLOGY Co Ltd filed Critical ZHUHAI QUANZHI TECHNOLOGY Co Ltd
Priority to CN201610986565.0A priority Critical patent/CN106502911B/en
Publication of CN106502911A publication Critical patent/CN106502911A/en
Application granted granted Critical
Publication of CN106502911B publication Critical patent/CN106502911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/008Reliability or availability analysis
    • 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/26Functional testing
    • G06F11/267Reconfiguring circuits for testing, e.g. LSSD, partitioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

The invention relates to a multi-terminal access device, comprising: the USB switching module is connected with the USB transponder, the network switch is connected with the USB transponder through the first network switching module, and the second network switching module is connected with the network switch; the USB transponder is used for being connected with a computer; the first network conversion module is used for converting the USB signal into a network signal; the USB switching module is used for connecting the USB interface and the OTG interface; the second network conversion module is used for converting the network signal into a serial port signal and is connected with the serial port interface. Through converting the USB signal into the network signal to carry out signal processing through the network switch, avoided USB to change the too much computer memory that arouses of UART interface and occupy too much the condition, and can provide USB interface, OTG interface, IO expansion port and serial ports interface for test terminal, make the test means more abundant, effectively improved efficiency of software testing.

Description

Multi-terminal access device
Technical Field
The invention relates to the technical field of terminal testing, in particular to a multi-terminal access device.
Background
After the hardware equipment and software development of the intelligent terminal is completed, the software and hardware product package needs to be tested to determine whether the software and hardware product package meets the requirements of the design specification. Therefore, the intelligent terminal is connected to a computer, the intelligent terminal is tested through the computer, the computer is generally connected with the intelligent terminal through a Universal Serial Bus (USB) and a Universal asynchronous receiver/transmitter (UART) Serial port, the USB port is used for issuing test cases to the intelligent terminal, and the UART port is used for reading test information. In order to improve the testing efficiency, one computer needs to be connected with a plurality of tested terminals so as to distribute test cases to perform concurrent testing. Because the common UART port is converted by the USB, when the UART port is too much, more memory space is occupied, and a computer blue screen or a dead halt is caused. Therefore, there is a need for an automatic test equipment capable of connecting multiple terminals under test.
Disclosure of Invention
Therefore, it is necessary to provide a multi-terminal access device for overcoming the defect of low test efficiency of the conventional intelligent terminal.
A multi-terminal access device, comprising: the USB switching module is connected with the USB transponder, the network switch is connected with the USB transponder through the first network switching module, and the second network switching module is connected with the network switch; the USB repeater, the USB switching module, the first network conversion module, the network switch and the second network conversion module are all arranged in the case, and the case is provided with a plurality of USB interfaces, OTG interfaces and serial interfaces;
The USB transponder is used for being connected with a computer;
The first network conversion module is used for converting the USB signal into a network signal;
The USB switching module is used for connecting a USB interface and an OTG interface;
the second network conversion module is used for converting the network signal into a serial port signal and is connected with the serial port interface;
The USB interface is used for accessing the intelligent terminal, the OTG interface is used for accessing an external hard disk of the intelligent terminal, and the serial port interface is used for being connected with an UAR port interface of the intelligent terminal.
In one embodiment, the USB repeater has a plurality of USB interfaces, and the USB repeater is connected to the computer, the USB switching module, and the first network conversion module through each of the USB interfaces.
In one embodiment, the number of the USB repeaters is multiple, and the multiple USB repeaters are connected through a USB interface.
In one embodiment, the USB switching module includes a first control unit, a first interface unit, and a switching unit, where the first control unit is connected to the first interface unit, the first interface unit is connected to the switching unit, and the switching unit is connected to the USB repeater;
The first control unit is used for controlling the first interface unit and the switching unit to work and communicating with a computer through the USB transponder;
the first interface unit is used for controlling the switching unit to work according to the switching instruction of the first control unit;
The switching unit is used for connecting to the USB interface and the OTG interface and switching the USB interface and the OTG interface according to the switching instruction of the first control unit.
in one embodiment, the number of the USB switching modules is two.
In one embodiment, each of the USB switching modules includes eight first interface units, each of the interface control units is connected to eight first interface units, and each of the interface units is connected to one of the switching units.
In one embodiment, the USB switching module further includes a current detection unit, the current detection unit is connected to the first control unit, the current detection unit is configured to detect a current value of the USB interface and send the current value of the USB interface to the first control unit, and the first control unit is further configured to control signal on/off and power supply on/off of the USB interface according to the current value of the USB interface.
In one embodiment, the USB switching module further includes a power port, and the first control unit is connected to the power port through the current detection unit.
In one embodiment, the USB switching module further includes an IO expansion port, and the IO expansion port is connected to the first interface unit.
In one embodiment, the second network conversion module includes a second control unit, a second interface unit and a serial interface unit, the second control unit is connected to the second interface unit, the second interface unit is connected to the serial interface unit, and the serial interface unit is connected to the network switch;
The second control unit is used for controlling the power supply on-off of the serial port interface unit through the second interface unit;
The second interface unit is used for controlling the power supply on-off of the serial interface unit according to the on-off instruction of the second control unit;
The serial port interface unit is used for converting the network signal into a serial port signal or converting the serial port signal into the network signal.
Above-mentioned multi-terminal access device is through converting the USB signal into network signal to carry out signal processing through the network switch, avoided the many computer memories that arouse of USB signal to occupy too much the condition, avoided the computer consequently and blue screen or crash, and can provide USB interface, OTG interface and serial ports interface for test terminal, make the test means more abundant, thereby effectively improved efficiency of software testing.
Drawings
fig. 1 is a block diagram of a multi-terminal access device according to an embodiment;
FIG. 2 is a block diagram of an embodiment of a USB switch module;
FIG. 3 is a block diagram of a USB switch module according to another embodiment;
FIG. 4 is a block diagram of a second network translation module of an embodiment;
FIG. 5 is a pin diagram of the single chip microcomputer LPC1768 according to an embodiment;
FIG. 6 is a pin diagram of an embodiment of a PCA9555PW chip;
Fig. 7 is a schematic pin diagram of an embodiment of a USB analog switch MAX 4906.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
For example, a multi-terminal access apparatus, comprising: the USB switching module is connected with the USB transponder, the network switch is connected with the USB transponder through the first network switching module, and the second network switching module is connected with the network switch; the USB transponder is used for being connected with a computer; the first network conversion module is used for converting the USB signal into a network signal; the USB switching module is used for connecting a USB interface and an OTG interface; and the second network conversion module is used for converting the network signal into a serial port signal and is connected with the serial port interface.
As shown in fig. 1, a multi-terminal access apparatus 10 according to an embodiment includes: the USB switching device comprises a chassis, a USB repeater 100, a USB switching module 200, a first network conversion module 310, a network switch 330 and a second network conversion module 320, wherein the USB repeater 100, the USB switching module 200, the first network conversion module 310, the network switch 330 and the second network conversion module 320 are all arranged in the chassis, the chassis is provided with a plurality of USB interfaces, OTG interfaces and serial interfaces, the USB switching module 200 is connected with the USB repeater 100, the network switch 330 is connected with the USB repeater 100 through the first network conversion module 310, and the second network conversion module 320 is connected with the network switch 330; the USB repeater 100 is used for connecting with a computer; the first network conversion module 310 is configured to convert a USB signal into a network signal; the USB switching module 200 is configured to connect a USB interface and an OTG interface; the second network conversion module 320 is configured to convert the network signal into a serial port signal, and is connected to the serial port interface.
Specifically, The USB interface is used for accessing The smart terminal, The OTG (On-The-Go) interface is used for accessing The external hard disk of The smart terminal, The serial port interface is used for accessing a TF (Trans-flash Card) Card of The smart terminal, The serial port interface is used for connecting with an UAR port interface of The smart terminal, The computer is accessed to The smart terminal through The USB interface of The multi-terminal access device 10, is accessed to The external hard disk of The smart terminal through The OTG interface of The multi-terminal access device 10, and is accessed to The TF Card of The smart terminal through The serial port interface.
In this embodiment, through converting the USB signal into the network signal, and carry out signal processing through network switch 330, because partial USB signal is handled on network switch 330, need not the computer processing, thereby the computer memory that has avoided the USB signal to cause more occupies too much the condition, avoided the computer consequently and blue screen or crash, and can provide the USB interface, OTG interface and serial ports interface for test terminal, make the test means more abundant, thereby effectively improved efficiency of software testing. For example, the network switch 330 has a plurality of network interfaces, the network switch 330 converts the USB signal of the USB repeater 100 into a network signal through the first network conversion module 310, and transmits the network signal to the second network conversion module 320 through the network, the network signal is converted into a serial signal through the second network conversion module 320, and the second network conversion module 320 is connected to a device connected to the serial interface through the serial interface.
In one embodiment, the USB repeater 100 has a plurality of USB interfaces, and the USB repeater 100 is connected to the computer, the USB switching module 200 and the first network switching module 310 through the USB interfaces respectively. In the present embodiment, the number of ports of the USB repeater 100 is seven, that is, the USB repeater 100 has seven USB interfaces. For example, the USB repeater 100 is a USB HUB (HUB) for transmitting signals, for example, the USB HUB is a multi-port repeater, for example, the USB repeater 100 is connected to a computer through a USB data line and forwards instructions or signals of the computer to the USB switching module 200 and the first network conversion module 310, or forwards signals of the USB switching module 200 and the first network conversion module 310 to the computer, since the USB repeater 100 has a plurality of USB interfaces, a plurality of USB switching modules 200 and/or first network conversion modules 310 can be connected, so that the multi-terminal access device 10 can access more intelligent terminals at the same time, thereby further improving the testing efficiency.
For example, the number of the USB repeaters 100 is plural, and a plurality of the USB repeaters 100 are connected via a USB interface. For example, a plurality of USB repeaters 100 are cascaded, and the number of USB interfaces for connecting with the USB switching module 200 and the first network conversion module 310 can be increased by the connection or cascade of the plurality of USB repeaters 100, so that more USB interfaces, OTG interfaces, and serial interfaces can be provided, and more intelligent terminals can be accessed. For example, the number of the USB repeaters 100 is three, for example, the USB repeater 100 includes a first repeater, a second repeater and a third repeater, each of the first repeater, the second repeater and the third repeater has seven US interfaces, for example, the first repeater is connected to a computer through a USB data line, and the second repeater and the third repeater are connected to the first repeater through a USB data line, respectively, so that through the connection of the three USB repeaters 100, more USB interfaces can be provided to access the plurality of USB switching modules 200 and the first network switching module 310, and further, the multi-terminal access device 10 can access more intelligent terminals at the same time, thereby further improving the test efficiency.
In one embodiment, the USB switching module 200 includes a first control unit 210, a first interface unit 220 and a switching unit 230, the first control unit 210 is connected to the first interface unit 220, the first interface unit 220 is connected to the switching unit 230, and the switching unit 230 is connected to the USB repeater 100; the first control unit 210 is configured to control the first interface unit 220 and the switching unit 230 to operate, and communicate with a computer through the USB repeater 100; the first interface unit 220 is configured to control the switching unit 230 to operate according to a switching instruction of the first control unit 210; the switching unit 230 is configured to be connected to a USB interface and an OTG interface, and perform switching between the USB interface and the OTG interface according to a switching instruction of the first control unit 210.
For example, the USB switching module 200 is a USB switching board, and the USB switching board is used to send a USB signal of a computer to the USB interface and the OTG interface by being connected to the USB repeater 100, so as to test the computer and the intelligent terminal on the USB interface and test the plug-in hard disk on the OTG interface. Specifically, the switching unit 230 is a USB analog switch having three pins, which are respectively connected to the USB interface, the OTG interface and the USB repeater 100.
For example, the number of the USB switching modules 200 is two. For example, two USB switching modules 200 are respectively connected to two USB repeaters 100, for example, two USB switching modules 200 are respectively connected to three USB repeaters 100, specifically, each USB repeater 100 has seven USB interfaces, so that, in addition to four USB interfaces connected between USB repeaters 100, seventeen USB interfaces can be provided, wherein sixteen USB interfaces are connected to two USB switching modules 200, and each USB switching module 200 is connected to eight USB interfaces of USB repeater 100.
in one embodiment, each of the USB switching modules 200 includes eight first interface units 220, each of the interface control units is connected to eight first interface units 220, and each of the interface units is connected to one switching unit 230, for example, the USB switching module 200 includes eight switching units 230, for example, each switching unit 230 is connected to one USB interface and one OTG interface. In this embodiment, since the USB switching module 200 includes eight first interface units 220 and eight switching units 230, each USB switching module 200 provides eight USB interfaces and eight OTG interfaces at the same time, so as to improve the number of access of the intelligent terminals, and access more intelligent terminals at the same time, thereby effectively improving the testing efficiency.
in an embodiment, the USB switching module 200 further includes a power detection unit 240, the power detection unit 240 is connected to the first control unit 210, the power detection unit 240 is configured to detect a current value of the USB interface and send the current value of the USB interface to the first control unit 210, and the first control unit 210 is further configured to control signal on/off and power supply on/off of the USB interface according to the current value of the USB interface. For example, the USB switching module 200 further includes a power port, and the first control unit 210 is connected to the power port through the power detection unit 240, and the power port is used for the smart terminal and supplies power to the smart terminal.
for example, the power detection unit 240 is configured to detect a current value of a USB interface and send the current value of the USB interface to the first control unit 210, the first control unit 210 is configured to control the switching unit 230 to interrupt the USB interface when the current value of the USB interface is greater than a preset threshold, for example, the power detection unit 240 is configured to detect a current value of a power port and send the current value of the power port to the first control unit 210, and the first control unit 210 is configured to control the power detection unit 240 to interrupt the power port when the current value of the power port is greater than the preset threshold. In this embodiment, the interruption refers to disconnecting the power port, or disconnecting power supply to the power port, or disconnecting signal transmission and reception to the USB interface, or disconnecting power supply to the USB interface.
In an embodiment, the USB switching module further includes an IO (Input/Output) expansion port, where the IO expansion port is connected to the first interface unit 220, that is, each interface unit 220 is connected to one IO expansion port, and the IO expansion port is used for being connected to a switch button of the intelligent terminal, and for example, the IO expansion port is used for being connected to an OTG port of the intelligent terminal. For example, the IO expansion port includes 3 3.3V IO pins, an on/off button externally connected to the intelligent terminal, and an OTG port, and is used to control the on/off of the intelligent terminal or connect an external USB memory.
In one embodiment, the second network conversion module 320 includes a second control unit 322, a second interface unit 324, and a serial interface unit 326, the second control unit 322 is connected to the second interface unit 324, the second interface unit 324 is connected to the serial interface unit 326, and the serial interface unit 326 is connected to the network switch 330; the second control unit 322 is configured to control power supply of the serial interface unit 326 through the second interface unit 324; the second interface unit 324 is configured to control power supply of the serial interface unit 326 according to the on-off instruction of the second control unit 322; the serial interface unit 326 is used for converting a network signal into a serial signal, or converting a serial signal into a network signal.
for example, the second network conversion module 320 is a network serial port board, and is configured to convert a network signal into a serial port signal, or convert a serial port signal into a network signal, for example, the second control unit 322 is connected to eight second interface units 324, each of the second interface units 324 is connected to a serial port interface unit 326, the serial port interface unit 326 is connected to the network switch 330, and the serial port interface unit 326 is connected to a serial port, so as to access a serial device. The serial interface unit 326 is used for converting a network signal into a serial signal, or converting a serial signal into a network signal.
In one embodiment, the USB switching module 200 and the second network switching module 320 are respectively connected to a power module. The power module is used to supply power to the USB switching film and the second network conversion module 320, for example, the power module is connected to the power detection unit 240. In this embodiment, the multi-terminal access device further includes a power interface, and the USB switching module 200 further includes a power interface, where the power interface is used to connect to an intelligent terminal and supply power to the intelligent terminal.
The following is a specific embodiment of the present invention:
in this embodiment, the multi-terminal access device includes a chassis, and a USB repeater, a USB switching module, a first network switching module, a network switch, and a second network switching module are disposed in the chassis.
Specifically, in this embodiment, the USB repeaters are USB HUBs, the number of which is three, one USB repeater is connected to the computer through a USB data line, and the other two USB repeaters are connected to the USB HUB.
in this embodiment, the USB switching module is a USB switching board, and the USB switching board includes a first control unit, a first interface unit, a switching unit and a relay, in this embodiment, the first control unit is a single chip LPC1768, the first interface unit is a PCA9555PW chip, the switching unit is a USB analog switch MAX4906, a pin I2C of the single chip LPC1768 is connected to eight chips PCA9555PW, pins SDA and SCL of the PCA9555PW chip are connected to a pin I2C of the single chip LPC1768, and a signal combination fed back to the single chip LPC1768 through the pins SDA and SCL sends addresses of the chips PCA9555PW to the single chip LPC1768, so that the single chip LPC1768 distinguishes signals of different channels to identify different USB interfaces. The P00 pin of the PCA9555PW chip is connected to an IN pin of a USB analog switch MAX4906, three pins of the USB analog switch MAX4906 are respectively connected with a USB port, a USB interface and an OTG interface, wherein the USB port is connected to a USB repeater through a USB data line, the USB analog switch MAX4906 selects to switch on the USB interface or the OTG interface according to a control instruction of a single chip microcomputer LPC1768, namely the USB switching board has eight channels, each channel is provided with a PCA9555PW chip, the USB analog switch MAX4906 and a relay, the single chip microcomputer LPC1768 controls the gating interface of each channel by controlling the gating of the USB analog switch MAX4906 and controls the switching-on and switching-off of the control interface by controlling the PCA9555PW chip to output a signal. Therefore, the intelligent terminal can be accessed to a USB interface or an OTG interface.
the USB switching board is also provided with a current detection unit, the current detection unit comprises a current difference measurement chip MAX199 and a current measurement chip ADC128D818, the current difference measurement chip MAX199 is connected with an I2C pin of the single chip microcomputer LPC1768, the current difference measurement chip MAX199 detects current accessed to a USB port on the USB switching module, when the current of the USB interface is larger than a preset current value, the current measurement chip ADC128D818 outputs an interrupt signal to the single chip microcomputer LPC1768, the single chip microcomputer LPC1768 controls the PCA9555PW chip to output a signal to control the interrupt of the interface, and the power supply to the USB interface is cut off, so that the damage of equipment caused by overlarge current is avoided.
In this embodiment, the USB switching board further includes a power interface, and the power interface is used to connect to the intelligent terminal and supply power to the intelligent terminal.
in this embodiment, the first network conversion module is a USB port patch cord, the USB port patch cord is used to convert a USB signal and a network signal, one end of the USB port patch cord is a USB interface, the other end of the USB port patch cord is a port, an interface of the USB port patch cord is connected to a USB HUB, a port of the USB port patch cord is connected to a network switch, and the network switch distinguishes port numbers of different interfaces through an IP address, for example, the network switch is a 24-port hundred-megabyte network switch.
specifically, the second network conversion module includes a second control unit, a second interface unit and a serial interface unit, in this embodiment, the second control unit is a single chip microcomputer LPC1768, the second interface unit is a PCA9555PW chip, and the serial interface unit is a network serial conversion terminal. For example, the second network conversion module includes a network serial port board and a network serial port conversion terminal, the network serial port conversion terminal is disposed on the network serial port board, the network serial port board includes a single chip microcomputer LPC1768, a PCA9555PW chip and a relay, the PCA9555PW chip is connected to the network serial port conversion terminal, the network serial port conversion terminal is used for converting network signals and serial port signals, for example, the serial port interface is a UART (Universal asynchronous receiver Transmitter/Transmitter) serial port interface, the single chip microcomputer LPC1768 is connected with the PCA9555PW chip through an I2C interface, and the PCA95 9555PW chip is connected with the network serial port conversion terminal and is used for outputting a control instruction to the PCA95 9555PW chip to control on/off of the relay, thereby realizing on/off of the serial port interface. In this embodiment, the network serial port conversion terminal is a USR-K1 super network interface module (science and technology company, denna), which is used to transparently transmit data between a TCP/UDP packet and a UART serial port, and has a network interface and a serial port, specifically, the network switch is connected to the network interface of the network serial port conversion terminal through a network cable, the serial port of the network serial port conversion terminal is used to provide device access, and the single chip LPC1768 is used to control the on/off of the network serial port conversion terminal on a certain channel.
the following is another specific embodiment:
In this embodiment, the chassis is provided with 16 sets of interfaces, corresponding to 16 intelligent terminals. Each group of interfaces comprises a USB port (USB interface), a UART port (UART serial port interface), a 5V power supply terminal (power supply interface), an IO expansion port, an OTG port (OTG interface) and a group of indicator lamps. The USB port is used for distributing test cases for the intelligent terminal and transmitting adb commands, the UART port is used for printing test information and results, the OTG port is used for testing USB compatibility of the intelligent terminal or storing test data, the 5V power supply terminal is used for supplying power to the intelligent terminals which cannot be powered by the USB, such as a television box and the like, the IO expansion port comprises 3 3.3VIO pins, the USB expansion port can be externally connected with an on/off button of the intelligent terminal, an OTG ID line and the like and is used for controlling an on-off machine and the like, and the indicator light indicates whether the 5V power supply of each group is normal or not, whether a serial.
The multi-terminal access device also comprises two USB multi-path switching boards which are used for multi-path switching of USB signals, power supply of the intelligent terminal, an expansion port, measurement of power consumption of the terminal and the like. Wherein, the signal line of the USB port of the intelligent terminal can be switched and connected with 1) the computer; 2) connecting an OTG; 3) suspending in the air. The VBUS power source of the terminal USB port can be connected to: 1) 5V power supply is connected; 2) connecting a computer-USB VBUS; 3) suspending in the air. The power consumption of the terminal can be measured regardless of whether the power is supplied by USB or 5V power supply terminals.
The multi-terminal access device also comprises a USB3.0 kilomega network port, a 24-port network switch, a network serial port conversion board and a serial port connecting line, because the signal processing and the address searching are processed on the network switch, the occupation of the computer memory is reduced, the use is stable and reliable, and the condition of a PC blue screen caused by more USB serial port connections can not occur; and each serial port number is fixed, and the use is convenient.
In specific application, a PC is connected to a case through a USB line, 3 USB hubs with 7 ports are arranged in the case, and all USB ports on a USB switching board are connected to the hubs through the USB line; one end of the USB port is connected with hub, the other end of the USB port is a converted network signal and is connected to a 24-port network switch through a network cable, the switch is connected to each network port of the network serial port board through the network cable, the network signal is converted into a UART signal, and the UART signal is connected to the case shell through a 5-port serial port cable and is used by an intelligent terminal.
each USB switching board can be divided into 8 groups of circuit modules, each group has 3 USB ports, one connects hub, 1 connects OTG, 1 is connected to chassis shell (connects intelligent terminal). And an analog switch is applied to the board card to switch the USB port of the intelligent terminal to be connected to the interface. Meanwhile, each group of circuits also comprises an IO expansion port, an external 5V power supply output and the like.
The case is internally provided with 2 220V switching power supplies, each power supply outputs +5V direct-current power supply with the driving capability of 40A, and the direct-current power supplies supply power for the internal board card (comprising a USB switching board and a network serial port board) and the tested terminal.
The USB switching board is provided with a singlechip LPC1768 which is used for controlling the on-off of a switch and reading and measuring the current values of a USB port and a power supply end terminal and the like. The single chip LPC1768 communicates with the computer through a UART port. The I2C port of singlechip is connected 8 PCA9555IO port chips, 14 PO mouths of PCA9555IO port chip output, every PCA9555IO port chip connects a USB mouth (USB interface), a UART mouth (UART serial port interface), a 5V power supply terminal (power source interface), an IO expansion port, an OTG mouth (OTG interface) and a set of pilot lamp, every PCA9555IO port chip constitutes a set of circuit module with corresponding port, PCA9555IO port chip is used for controlling relay, analog switch and 5 pin's IO expansion port.
The USB analog switch MAX4906 is used to control the USB port connected to the terminal, and select whether to connect the PC (via hub) or the OTG, or to suspend.
An external +5V power supply is connected to a MAX199 current difference measuring chip through the gating of a relay, the current difference is connected to an ADC128D818 current measuring chip, and then the current difference is connected to a single chip microcomputer through I2C, and the current value is calculated.
The intelligent terminal accesses an automatic sensing function: in the single chip microcomputer, the initial current upper limit of each channel is set to be 100mA, when the started intelligent terminal is connected to the multi-terminal access device through a USB (universal serial bus) line or a 5V power supply terminal, when the equipment monitors that the current value of the channel exceeds 100mA, interruption is generated, and at the moment, related information is printed out from a serial port to prompt that the terminal is accessed. After the computer receives the relevant information, the terminal is displayed in the interface.
The power supply with excessive power consumption is automatically disconnected: the single chip microcomputer can be controlled by an external program to set a current limit value of each channel, when the current reaches or exceeds the limit value, the ADC128D818 chip generates interruption and outputs the interruption signal to the single chip microcomputer, and the single chip microcomputer controls to cut off the power supply of the channel.
The network serial Port board comprises a single chip microcomputer LPC1768, the single chip microcomputer LPC1768 controls a PCA9555IO Port chip through an I2C interface, and then on-off of a relay of each channel is controlled. The relay is used for controlling whether a 3.3V power supply of the network serial port module needs to supply power or not so as to control whether the UART port works or not.
The network serial port conversion module is a USR-K1 super network port module of Jinan people's science and technology company, and is equipment for realizing transparent data transmission between a TCP/UDP data packet and a UART interface.
The USR-K1 super network port has the following functional characteristics:
10/100M adaptive Ethernet interface, ultra small volume, network port size, RJ45 interface;
the serial port baud rate can be set from 300bps to 921.6 Kbps;
The network working mode can select TCP Server, TCP Client, UDP and UDP Server.
In actual use, a USB3.0 gigabit network card is adopted to convert USB signals into network signals, and then the network cable is connected to a 24-port hundred-megabyte network switch, and the switch is connected to the USR-K1 through the network cable. The IP address of the USB network card needs to be preset: through software USR-Kx V2.0.1.497, setting IP address of each network port to 192.168.2.x network segment address, after setting each network port, setting each serial port to be fixed serial port and corresponding to corresponding IP address through virtual serial port setting software, thus, in actual use, serial port number of each channel is set to be fixed serial port number, and can be controlled to be opened or closed through program.
in this embodiment, a plurality of intelligent terminal of multiport access not only makes the test procedure stable, can effectively avoid the computer to crash or blue screen, and can reduce the connecting wire, and the computer only needs a USB can connect many intelligent terminal through multi-terminal access device, need not to expand the port of computer, and on the other hand has still realized the consumption test to intelligent terminal to set for the power supply and go on the line, realize according to this that intelligent terminal connects the automatic monitoring function.
It should be noted that, in the above system embodiment, each included module is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it can be understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by instructing the relevant hardware through a program, and the corresponding program may be stored in a readable storage medium.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as the combinations of the technical features are not inconsistent.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A multi-terminal access apparatus, comprising: the USB switching module is connected with the USB transponder, the network switch is connected with the USB transponder through the first network switching module, and the second network switching module is connected with the network switch; the USB repeater, the USB switching module, the first network conversion module, the network switch and the second network conversion module are all arranged in the case, and the case is provided with a plurality of USB interfaces, OTG interfaces and serial interfaces;
the USB transponder is used for being connected with a computer;
The first network conversion module is used for converting the USB signal into a network signal;
The USB switching module is used for connecting a USB interface and an OTG interface;
The second network conversion module is used for converting the network signal into a serial port signal and is connected with the serial port interface;
the USB interface is used for accessing the intelligent terminal, the OTG interface is used for accessing an external hard disk of the intelligent terminal, and the serial port interface is used for being connected with an UAR port interface of the intelligent terminal.
2. The multi-terminal access device according to claim 1, wherein the USB repeater has a plurality of USB interfaces, and the USB repeater is connected to the computer, the USB switching module, and the first network switching module through each of the USB interfaces.
3. The multi-terminal access device according to claim 2, wherein the number of the USB repeaters is plural, and the plural USB repeaters are connected via USB interfaces.
4. the multi-terminal access device according to claim 3, wherein the USB switching module comprises a first control unit, a first interface unit and a switching unit, the first control unit is connected to the first interface unit, the first interface unit is connected to the switching unit, and the switching unit is connected to the USB repeater;
the first control unit is used for controlling the first interface unit and the switching unit to work and communicating with a computer through the USB transponder;
The first interface unit is used for controlling the switching unit to work according to the switching instruction of the first control unit;
The switching unit is used for connecting to the USB interface and the OTG interface and switching the USB interface and the OTG interface according to the switching instruction of the first control unit.
5. The multi-terminal access device according to claim 4, wherein the number of the USB switching modules is two.
6. the multi-terminal access device of claim 5, wherein each of the USB switch modules comprises eight of the first interface units, each of the interface control units is connected to eight of the first interface units, and each of the interface units is connected to one of the switch units.
7. The multi-terminal access device according to claim 4, wherein the USB switching module further comprises a current detection unit, the current detection unit is connected to the first control unit, the current detection unit is configured to detect a current value of the USB interface and send the current value of the USB interface to the first control unit, and the first control unit is further configured to control signal on/off and power supply on/off of the USB interface according to the current value of the USB interface.
8. The multi-terminal access device according to claim 7, wherein the USB switching module further comprises a power port, and the first control unit is connected to the power port through the current detection unit.
9. The multi-terminal access device according to claim 4, wherein the USB switching module further includes an IO expansion port, and the IO expansion port is connected to the first interface unit.
10. the multi-terminal access device according to claim 1, wherein the second network switching module includes a second control unit, a second interface unit and a serial interface unit, the second control unit is connected to the second interface unit, the second interface unit is connected to the serial interface unit, and the serial interface unit is connected to the network switch;
The second control unit is used for controlling the power supply on-off of the serial port interface unit through the second interface unit;
The second interface unit is used for controlling the power supply on-off of the serial interface unit according to the on-off instruction of the second control unit;
The serial port interface unit is used for converting the network signal into a serial port signal or converting the serial port signal into the network signal.
CN201610986565.0A 2016-11-09 2016-11-09 Multi-terminal access device Active CN106502911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610986565.0A CN106502911B (en) 2016-11-09 2016-11-09 Multi-terminal access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610986565.0A CN106502911B (en) 2016-11-09 2016-11-09 Multi-terminal access device

Publications (2)

Publication Number Publication Date
CN106502911A CN106502911A (en) 2017-03-15
CN106502911B true CN106502911B (en) 2019-12-10

Family

ID=58323530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610986565.0A Active CN106502911B (en) 2016-11-09 2016-11-09 Multi-terminal access device

Country Status (1)

Country Link
CN (1) CN106502911B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107104901A (en) * 2017-06-12 2017-08-29 杭州快越科技有限公司 Across medium private network couple in router
CN110730134A (en) * 2019-09-25 2020-01-24 恒大智慧科技有限公司 Router and network connection system
CN113655772A (en) * 2021-07-08 2021-11-16 珠海妙存科技有限公司 Automatic testing arrangement of intelligent terminal based on ethernet

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917313A (en) * 2010-06-18 2010-12-15 深圳桑菲消费通信有限公司 System and charger for mobile terminal to access Ethernet by electric power circuit
CN202026431U (en) * 2011-04-22 2011-11-02 青岛海信电器股份有限公司 Debugging device and debugging system
CN202374284U (en) * 2011-12-21 2012-08-08 东莞宇龙通信科技有限公司 Network access system and network access device for mobile terminal
CN202495733U (en) * 2012-02-23 2012-10-17 光美精密电子股份有限公司 USB power supply protecting device and mechanism thereof
CN103457458A (en) * 2012-05-28 2013-12-18 华为终端有限公司 Current switching control device and electronic device
CN103473202A (en) * 2013-09-03 2013-12-25 福建星网锐捷网络有限公司 USB OTG device, electronic unit and OTG function implementation method
CN103744821A (en) * 2014-01-10 2014-04-23 广东欧珀移动通信有限公司 Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal
CN203673475U (en) * 2013-11-08 2014-06-25 安徽康海时代科技有限公司 Serial port server
CN204014091U (en) * 2014-05-26 2014-12-10 北京高科中天技术股份有限公司 Wireless data terminal
CN205249255U (en) * 2015-11-25 2016-05-18 四川湖山电器有限责任公司 Control all -in -one among digital network of built -in switch
CN205486072U (en) * 2016-01-11 2016-08-17 中国地震局地壳应力研究所 Many interface signals conversion equipment
CN105914547A (en) * 2016-05-25 2016-08-31 广东欧珀移动通信有限公司 Data line, charging device and method of intelligently recognizing and switching OTG thereof
CN205594626U (en) * 2016-04-22 2016-09-21 山东中磁视讯股份有限公司 Net gape and USB interface converter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7864681B2 (en) * 2004-07-15 2011-01-04 Broadcom Corp. Method and system for a gigabit ethernet IP telephone chip with 802.1p and 802.1Q quality of service (QoS) functionalities

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917313A (en) * 2010-06-18 2010-12-15 深圳桑菲消费通信有限公司 System and charger for mobile terminal to access Ethernet by electric power circuit
CN202026431U (en) * 2011-04-22 2011-11-02 青岛海信电器股份有限公司 Debugging device and debugging system
CN202374284U (en) * 2011-12-21 2012-08-08 东莞宇龙通信科技有限公司 Network access system and network access device for mobile terminal
CN202495733U (en) * 2012-02-23 2012-10-17 光美精密电子股份有限公司 USB power supply protecting device and mechanism thereof
CN103457458A (en) * 2012-05-28 2013-12-18 华为终端有限公司 Current switching control device and electronic device
CN103473202A (en) * 2013-09-03 2013-12-25 福建星网锐捷网络有限公司 USB OTG device, electronic unit and OTG function implementation method
CN203673475U (en) * 2013-11-08 2014-06-25 安徽康海时代科技有限公司 Serial port server
CN103744821A (en) * 2014-01-10 2014-04-23 广东欧珀移动通信有限公司 Method and device for realizing USB OTG (Universal Serial Bus On-The-Go) function of mobile terminal
CN204014091U (en) * 2014-05-26 2014-12-10 北京高科中天技术股份有限公司 Wireless data terminal
CN205249255U (en) * 2015-11-25 2016-05-18 四川湖山电器有限责任公司 Control all -in -one among digital network of built -in switch
CN205486072U (en) * 2016-01-11 2016-08-17 中国地震局地壳应力研究所 Many interface signals conversion equipment
CN205594626U (en) * 2016-04-22 2016-09-21 山东中磁视讯股份有限公司 Net gape and USB interface converter
CN105914547A (en) * 2016-05-25 2016-08-31 广东欧珀移动通信有限公司 Data line, charging device and method of intelligently recognizing and switching OTG thereof

Also Published As

Publication number Publication date
CN106502911A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
US10409752B2 (en) Bidirectional signal conditioning chip including processor determining data transmission direction and type of transmitted data of USB type-C cable and USB type-C cable including the same
CN108459982B (en) Communication equipment and switching method of USB and serial port
US5457785A (en) CPU-independent and device-driver transparent system for translating a computer's internal bus signals onto an intermediate bus and further translating onto an expansion bus
KR102136068B1 (en) Control method for usb interface and electronic device supporting the same
CN101438258A (en) Adapter to convert USB device into WUSB device
CN210804407U (en) Serial port-to-single line communication module with level selection function
CN106502911B (en) Multi-terminal access device
CN104809088A (en) Connecting device and control chip and control method thereof
CN208477523U (en) A kind of arithmetic system and corresponding electronic equipment
CN113342727A (en) Signal transmission device, method, computer equipment and storage medium
CN106713094B (en) 1394 data acquisition module
CN102156618B (en) Memory device with multiple connectors and method for transmitting data
US20120054392A1 (en) Data read and write device and method for usb ports of 1-wire devices
CN108132898A (en) Multiplex communication control method and communication box
CN110188060A (en) Mode switching system and the mode switching method for applying it
CN106991067B (en) Data interaction method for one-master multi-slave network and embedded equipment thereof
JP2012058887A (en) Device equipment
CN212229622U (en) Navigation module testing device and system
CN212649472U (en) Optical module auxiliary circuit and optical module auxiliary device
CN113253652A (en) Unit communication control device, method and unit
CN114116584A (en) Interface board card, user equipment and CPU test system
CN210123977U (en) Relay cable and augmented reality system
CN114385531A (en) VPX single-board computer based on Loongson processor
CN105260335A (en) Data processing system and method for extending optical interface
CN206270952U (en) A kind of card reader

Legal Events

Date Code Title Description
C06 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