CN106502911A - Multiple terminals access device - Google Patents

Multiple terminals access device Download PDF

Info

Publication number
CN106502911A
CN106502911A CN201610986565.0A CN201610986565A CN106502911A CN 106502911 A CN106502911 A CN 106502911A CN 201610986565 A CN201610986565 A CN 201610986565A CN 106502911 A CN106502911 A CN 106502911A
Authority
CN
China
Prior art keywords
usb
network
interface
unit
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610986565.0A
Other languages
Chinese (zh)
Other versions
CN106502911B (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.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner 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 Allwinner Technology Co Ltd filed Critical Allwinner 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

Abstract

The present invention relates to a kind of multiple terminals access device, including:USB transponders, USB handover modules, first network modular converter, the network switch and the second network conversion module, USB handover modules are connected with USB transponders, the network switch is connected with USB transponders by first network modular converter, and the second network conversion module is connected with the network switch;USB transponders are used for being connected with computer;First network modular converter is used for for usb signal being converted to network signal;USB handover modules are used for connecting USB interface and OTG interfaces;Second network conversion module is used for for network signal being converted to rs 232 serial interface signal, and is connected with serial interface.By usb signal is converted to network signal, and signal processing is carried out by the network switch, avoid the calculator memory that USB turns to cause UART interface more and take excessive situation, and USB interface, OTG interfaces, I/O expansion mouth and serial interface can be provided for test terminal, so that means of testing more horn of plenty, effectively increases testing efficiency.

Description

Multiple terminals access device
Technical field
The present invention relates to terminal test technical field, more particularly to multiple terminals access device.
Background technology
After the completion of the hardware device of intelligent terminal and software development, need to test software and hardware product bag, confirm Whether which meets the requirement of design specification.For this purpose, intelligent terminal is connected to computer, intelligent terminal is carried out by computer Test, computer is typically by USB (Universal Serial Bus, USB (universal serial bus)) and UART serial ports and intelligent terminal Connection, USB port are used for for test case being issued to intelligent terminal, and UART mouths are used for read test information.For improving testing efficiency, One computer need to connect multiple stage measured terminal, so that distribution test case does concurrent test.UART mouths due to commonly using are logical Cross USB to convert, when UART makes a slip of the tongue many when, it will take more memory headroom, cause computer blue screen or deadlock.Cause This, needs the automated test device that can connect multiple stage measured terminal badly.
Content of the invention
It is based on this, it is necessary to for the low defect of traditional intelligent terminal's testing efficiency, there is provided access a kind of multiple terminals Device.
A kind of multiple terminals access device, including:USB transponders, USB handover modules, first network modular converter, network are handed over Change planes and the second network conversion module, the USB handover modules are connected with the USB transponders, and the network switch passes through The first network modular converter is connected with the USB transponders, second network conversion module and the network switch Connection;
The USB transponders are used for being connected with computer;
The first network modular converter is used for for usb signal being converted to network signal;
The USB handover modules are used for connecting USB interface and OTG interfaces;
Second network conversion module is used for for network signal being converted to rs 232 serial interface signal, and is connected with serial interface.
Wherein in one embodiment, there are the USB transponders multiple USB interface, the USB transponders to pass through each institute State USB interface to be connected with the computer, the USB handover modules and the first network modular converter respectively.
Wherein in one embodiment, the USB transponders quantity is multiple, and multiple USB transponders are connect by USB Mouth is connected.
Wherein in one embodiment, the USB handover modules include the first control unit, first interface unit and switching Unit, first control unit are connected with the first interface unit, and the first interface unit is connected with the switch unit Connect, the switch unit is connected with the USB transponders;
First control unit is used for controlling the first interface unit and switch unit work, and by described USB transponders and compunication;
The first interface unit is used for controlling the switch unit work according to the switching command of first control unit Make;
The switch unit is used for being connected to USB interface and OTG interfaces, and is referred to according to the switching of first control unit Order carries out the switching of USB interface and OTG interfaces.
Wherein in one embodiment, the quantity of the USB handover modules is two.
Wherein in one embodiment, each USB handover modules include eight first interface units, Mei Yisuo State interface control unit to be connected with eight first interface units, each interface unit and switch unit described in connect Connect.
Wherein in one embodiment, the USB handover modules also include current detecting unit, the current detecting unit It is connected with first control unit, the current detecting unit is used for detecting the current value of USB interface, and by USB interface Current value is sent to first control unit, and first control unit is additionally operable to control USB according to the current value of USB interface The signal break-make of interface and power supply break-make.
Wherein in one embodiment, the USB handover modules also include power port, and first control unit passes through The current detecting unit is connected with the power port.
Wherein in one embodiment, the USB handover modules also include I/O expansion port, the I/O expansion port and institute State the connection of first interface unit.
Wherein in one embodiment, second network conversion module includes the second control unit, second interface unit With serial interface unit, second control unit is connected with the second interface unit, the second interface unit with described Serial interface unit connects, and the serial interface unit is connected with the network switch;
The power supply that second control unit is used for controlling the serial interface unit by the second interface unit is led to Disconnected;
The second interface unit is used for according to the break-make of second control unit instruction control serial interface list The power supply break-make of unit;
The serial interface unit is used for for network signal being converted to rs 232 serial interface signal, or rs 232 serial interface signal is converted to network Signal.
Above-mentioned multiple terminals access device, by usb signal is converted to network signal, and carries out letter by the network switch Number process, it is to avoid the calculator memory caused usb signal takes excessive situation more, it is to avoid computer therefore and blue screen or Person is crashed, and can provide USB interface, OTG interfaces and serial interface for test terminal so that means of testing more horn of plenty, So as to effectively increase testing efficiency.
Description of the drawings
Fig. 1 is the module frame chart of the multiple terminals access device of an embodiment;
Fig. 2 is the module frame chart of the USB handover modules of an embodiment;
Fig. 3 is the module frame chart of the USB handover modules of another embodiment;
Fig. 4 is the module frame chart of the second network conversion module of an embodiment;
Fig. 5 is the pin schematic diagram of the single-chip microcomputer LPC1768 of an embodiment;
Fig. 6 is the pin schematic diagram of the PCA9555PW chips of an embodiment;
Fig. 7 is the pin schematic diagram of the USB analog switch MAX4906 of an embodiment.
Specific embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing Give presently preferred embodiments of the present invention.But, the present invention can be realized in many different forms, however it is not limited to this paper institutes The embodiment of description.On the contrary, the purpose for providing these embodiments is to make the understanding to the disclosure more thorough Comprehensively.
For example, a kind of multiple terminals access device, including:USB transponders, USB handover modules, first network modular converter, The network switch and the second network conversion module, the USB handover modules are connected with the USB transponders, the network exchange Machine is connected with the USB transponders by the first network modular converter, second network conversion module and the network Switch connects;The USB transponders are used for being connected with computer;The first network modular converter is used for turning usb signal It is changed to network signal;The USB handover modules are used for connecting USB interface and OTG interfaces;Second network conversion module is used for Network signal is converted to rs 232 serial interface signal, and is connected with serial interface.
As shown in figure 1, which is a kind of multiple terminals access device 10 of an embodiment, including:Cabinet, USB transponders 100, USB handover modules 200, first network modular converter 310, the network switch 330 and the second network conversion module 320, the USB turn Send out device 100, USB handover modules 200, first network modular converter 310, the network switch 330 and the second network conversion module 320 May be contained within cabinet, cabinet is provided with multiple USB interface, OTG interfaces and serial interface, the USB handover modules 200 with The USB transponders 100 connect, and the network switch 330 is turned with the USB by the first network modular converter 310 Send out device 100 to connect, second network conversion module 320 is connected with the network switch 330;The USB transponders 100 are used In being connected with computer;The first network modular converter 310 is used for for usb signal being converted to network signal;The USB switchings Module 200 is used for connecting USB interface and OTG interfaces;Second network conversion module 320 is used for for network signal being converted to string Message number, and be connected with serial interface.
Specifically, USB interface is used for accessing intelligent terminal, and OTG (On-The-Go) interface is used for accessing the outer of intelligent terminal Hard disk is hung, and serial interface is used for TF (Trans-flash Card) cards for accessing intelligent terminal, serial interface is used for and intelligence The UAR mouths interface connection of terminal, computer access intelligent terminal by the USB interface of multiple terminals access device 10, and by many The OTG interfaces of terminal access device 10 access the plug-in hard disk of intelligent terminal, the TF cards for accessing intelligent terminal by serial interface.
In the present embodiment, by usb signal is converted to network signal, and carried out at signal by the network switch 330 Reason is as the usb signal of part is processed on the network switch 330, without the need for computer disposal, more so as to avoid usb signal The calculator memory that causes takes excessive situation, it is to avoid computer therefore blue screen or deadlock, and can be test eventually End provides USB interface, OTG interfaces and serial interface so that means of testing more horn of plenty, so as to effectively increase test effect Rate.For example, there are the network switch 330 multiple network interfaces, the network switch 330 to pass through first network modular converter The usb signal of USB transponders 100 is converted to network signal by 310, and is sent network signal to the second network turn by network Network signal is converted to rs 232 serial interface signal by the second network conversion module 320, the second network conversion module 320 by mold changing block 320 It is connected with the equipment for accessing to serial interface by serial interface.
In one embodiment, the USB transponders 100 have multiple USB interface, and the USB transponders 100 are by each The USB interface is connected with the computer, the USB handover modules 200 and the first network modular converter 310 respectively Connect.In the present embodiment, the port number of the USB transponders 100 is that there are seven USB to connect for seven, i.e. the USB transponders 100 Mouthful.For example, the USB transponders 100 are usb hub (HUB), and for transmission signal, for example, the usb hub is multiport Transponder, for example, the USB transponders 100 are connected to computer by USB data line, and by the instruction of computer or letter Number it is forwarded to USB handover modules 200 and first network modular converter 310, or by USB handover modules 200 and the first net The signal of network modular converter 310 is forwarded to computer, as the USB transponders 100 have multiple USB interface, you can connection is more Individual USB handover modules 200 and/or first network modular converter 310, so that multiple terminals access device 10 can be concurrently accessed More intelligent terminal, so that further increase testing efficiency.
For example, 100 quantity of USB transponders is multiple, and multiple USB transponders 100 are connected by USB interface. For example, multiple USB transponders 100 are cascaded, and can be improved and be used for by the connected or cascade of multiple USB transponders 100 The USB interface quantity being connected with USB handover modules 200 and first network modular converter 310 such that it is able to provide more USB interface, OTG interfaces and serial interface, so that access more intelligent terminal.For example, 100 quantity of USB transponders is Three, for example, USB transponders 100 include the first transponder, the second transponder and the 3rd transponder, the first transponder, second turn Send out device and the 3rd transponder be respectively provided with seven US interfaces, for example, the first transponder is connected to computer by USB data line, Second transponder and the 3rd transponder are respectively connecting to the first transponder by USB data line, so, are forwarded by three USB The connection of device 100 such that it is able to provide more USB interface, is turned with accessing multiple USB handover modules 200 and first network Mold changing block 310, and then enable multiple terminals access device 10 to be concurrently accessed more intelligent terminal, so as to further increase Testing efficiency.
In one embodiment, the USB handover modules 200 include the first control unit 210, first interface unit 220 With switch unit 230, first control unit 210 is connected with the first interface unit 220, the first interface unit 220 are connected with the switch unit 230, and the switch unit 230 is connected with the USB transponders 100;First control is single Unit 210 is used for controlling the first interface unit 220 and the switch unit 230 works, and passes through the USB transponders 100 With compunication;The first interface unit 220 is used for according to the control of the switching command of first control unit 210 Switch unit 230 works;The switch unit 230 is used for being connected to USB interface and OTG interfaces, and according to the described first control The switching command of unit 210 carries out the switching of USB interface and OTG interfaces.
For example, the USB handover modules 200 are that USB switches version, and the USB switch boards are used for by being connected to USB transponders 100, the usb signal of computer is sent to USB interface and OTG interfaces, the survey of computer and intelligent terminal in USB interface is realized Examination, and the test to the plug-in hard disk on OTG interfaces.Specifically, the switch unit 230 is USB analog switches, and which has three Individual stitch, is respectively connecting to USB interface, OTG interfaces and USB transponders 100.
For example, the quantity of the USB handover modules 200 is two.For example, two USB handover modules 200 respectively with Two USB transponders 100 connect, and for example, two USB handover modules 200 are connected with three USB transponders 100 respectively, tool Body ground, every USB transponders 100 have seven USB interface, so, remove four seven be connected between USB transponders 100 USB interface, it is possible to provide 17 USB interface, wherein, 16 USB interface USB handover modules 200 described with two are connected, per USB handover modules 200 described in one are connected with eight USB interface of USB transponders 100.
In one embodiment, each USB handover modules 200 include eight first interface units 220, each The interface control unit is connected with eight first interface units 220, is switched single described in each interface unit and Unit 230 connects, and for example, the USB handover modules 200 include eight switch units 230, for example, each switch unit 230 One USB interface of connection and an OTG interface.In the present embodiment, as USB handover modules 200 include eight first interfaces Unit 220 and eight switch units 230, therefore, each USB handover modules 200 provide simultaneously eight USB interface and Eight OTG interfaces, improve the access quantity of intelligent terminal, while more intelligent terminal are had access to, so as to effectively improve Testing efficiency.
In one embodiment, the USB handover modules 200 also include power detecting unit 240, the power detecting list Unit 240 is connected with first control unit 210, and the power detecting unit 240 is used for the current value for detecting USB interface, and The current value of USB interface is sent to first control unit 210, first control unit 210 is additionally operable to be connect according to USB The signal break-make and power supply break-make of the current value control USB interface of mouth.For example, the USB handover modules 200 also include power supply Port, first control unit 210 are connected with the power port by the power detecting unit 240, the power port For intelligent terminal, and power for intelligent terminal.
For example, the power detecting unit 240 is used for the current value for detecting USB interface, and the current value of USB interface is sent out First control unit 210 is delivered to, first control unit 210 is used for being more than predetermined threshold value when the current value of USB interface When, control the switch unit 230 and interrupt the USB interface, for example, for example, the power detecting unit 240 is used for detecting power supply The current value of port, and the current value of power port is sent to first control unit 210, first control unit 210 are used for, when the current value of power port is more than predetermined threshold value, controlling the power detecting unit 240 and interrupting the power end Mouthful.In the present embodiment, interrupt referring to disconnect the power port, or disconnect the power supply to power port, or disconnect Signal transmission and reception to USB interface, or disconnect the power supply to USB interface.
In one embodiment, the USB handover modules also include IO (Input/Output, input/output) extensions end Mouthful, the I/O expansion port is connected with the first interface unit 220, i.e., IO described in each interface unit 220 and expands The connection of exhibition port, the I/O expansion port are used for being connected with the switch key of intelligent terminal, and and for example, the I/O expansion port is used for and intelligence The OTG mouths connection of energy terminal.For example, the I/O expansion port includes 3 3.3V I/O pins, and the machine open/close of external intelligent terminal is pressed Key and OTG mouths, for controlling the machine open/close of intelligent terminal, or connection external USB memorizer.
In one embodiment, second network conversion module 320 includes the second control unit 322, second interface list Unit 324 and serial interface unit 326, second control unit 322 are connected with the second interface unit 324, and described second Interface unit 324 is connected with the serial interface unit 326, and the serial interface unit 326 is connected with the network switch 330 Connect;Second control unit 322 is used for the confession for controlling the serial interface unit 326 by the second interface unit 324 Electric break-make;The second interface unit 324 is used for being connect according to the break-make of the second control unit 322 instruction control serial ports The power supply break-make of mouth unit 326;The serial interface unit 326 is used for for network signal being converted to rs 232 serial interface signal, or will string Message number is converted to network signal.
For example, second network conversion module 320 is Network Serial Port plate, for network signal is converted to rs 232 serial interface signal, Or rs 232 serial interface signal is converted to network signal, for example, second control unit 322 is connected to eight second interface units 324, Each second interface unit 324 is connected to a serial ports interface unit 326, and serial interface unit 326 is connected to network exchange Machine 330, and the connection serial interface of serial interface unit 326, so that access serial equipment.The serial interface unit 326 is used for will Network signal is converted to rs 232 serial interface signal, or rs 232 serial interface signal is converted to network signal.
In one embodiment, also include power module, the power module respectively with the USB handover modules 200 with And second network conversion module 320 connects.The power module is used for switching film and second network for the USB Modular converter 320 is powered, and for example, the power module is connected with the power detecting unit 240.In the present embodiment, multiple terminals Access device is additionally provided with power interface, and the USB handover modules 200 also include power interface, and the power interface is used for connecting intelligence Energy terminal, is that intelligent terminal powers.
It is a specific embodiment of the present invention below:
In the present embodiment, multiple terminals access device includes cabinet, is provided with USB transponders, USB switching moulds in cabinet Block, first network modular converter, the network switch and the second network conversion module.
Specifically, in the present embodiment, USB transponders are USB HUB, and its quantity is three, and a USB transponder passes through USB data line is connected to computer, and two other is connected with the USB transponders.
In the present embodiment, USB handover modules be USB switch boards, the USB switch boards include the first control unit, first Interface unit, switch unit and relay, in the present embodiment, the first control unit be single-chip microcomputer LPC1768, the first interface Unit is PCA9555PW chips, and the switch unit is USB analog switch MAX4906, and the I2C pins of single-chip microcomputer LPC1768 connect To eight PCA9555PW chips, SDA the and SCL pins of PCA9555PW chips are connected with the I2C pins of single-chip microcomputer LPC1768, The signal combination that single-chip microcomputer LPC1768 is fed back to by SDA and SCL pins, the transmission to single-chip microcomputer LPC1768 are each The address of PCA9555PW chips, so that single-chip microcomputer LPC1768 distinguishes the signal of different passages, is connect with the USB for recognizing different Mouthful.The P00 pins of PCA9555PW chips are connected to the IN stitch of USB analog switch MAX4906, USB analog switch MAX4906 Three pins connect USB port, USB interface and OTG interfaces respectively, wherein USB port is connected to USB by USB data line Transponder, control instructions of the USB analog switches MAX4906 according to single-chip microcomputer LPC1768 select to connect USB interface or OTG connect Mouthful, i.e. USB switch boards have eight passages, each passage have PCA9555PW chip, USB analog switches MAX4906 with And a relay, single-chip microcomputer LPC1768 is by controlling the gating of USB analog switch MAX4906 and then controlling each passage Gating interface, and PCA9555PW chips are controlled to the break-make of relay output signal control interface.So as to realize intelligent terminal's Access, intelligent terminal has access to USB interface or OTG interfaces.
The USB switch boards are additionally provided with current detecting unit, and the current detecting unit includes current differential measurement chip MAX199 and current measurement chip ADC128D818, the I2C pins of current differential measurement chip MAX199 and single-chip microcomputer LPC1768 Connection, current differential measurement chip MAX199 detections access the electric current of the USB port on USB handover modules, when the electricity of USB interface When stream is more than pre-set current value, current measurement chip ADC128D818 exports interrupt signal, single-chip microcomputer to single-chip microcomputer LPC1768 LPC1768 controls interruption of the PCA9555PW chips to relay output signal control interface, and disconnects the power supply to USB interface, Avoid as electric current is excessive and cause device damage.
In the present embodiment, the USB switch boards also set up power interface, and the power interface is used for connecting intelligent terminal, is Intelligent terminal powers.
In the present embodiment, first network conversion module be USB network interface patchcords, the USB network interfaces patchcord be used for realize The conversion of usb signal and network signal, the USB network interface patchcords one end is USB interface, and the other end is network interface, and USB network interfaces are transferred The interface of line is connected to USB HUB, and, to the network switch, the network switch is by IP ground for the network interface connection of USB network interface patchcords To distinguish the port numbers of different interfaces, for example, the network switch is 24 mouthful of 100,000,000 network switch for location.
Specifically, second network conversion module includes the second control unit, second interface unit and serial interface list Unit, in the present embodiment, the second control unit be single-chip microcomputer LPC1768, second interface unit be PCA9555PW chips, serial ports Interface unit is Network Serial Port Converting terminal.For example, the second network conversion module includes Network Serial Port plate and Network Serial Port conversion Terminal, Network Serial Port Converting terminal are arranged on Network Serial Port plate, the Network Serial Port version include single-chip microcomputer LPC1768, PCA9555PW chips and relay, PCA9555PW chips are connected to Network Serial Port Converting terminal, the Network Serial Port Converting terminal For switching network signal and rs 232 serial interface signal, for example, the serial interface is UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiving-transmitting transmitter) serial interface, single-chip microcomputer LPC1768 by I2C interfaces with PCA9555PW chips, PCA9555PW chips are connected with Network Serial Port Converting terminal, for control PCA9555PW chip outputs Control instruction, with control relay break-make, so that realize the break-make of serial interface.In the present embodiment, Network Serial Port end of convert Son is the super network interface modules of USR-K1 (Jinan someone scientific & technical corporation), and which is used for TCP/UDP packets and UART serial interfaces Data transparent transmission is realized, the Network Serial Port Converting terminal has network interface and serial ports, and specifically, the network switch is connected by netting twine It is connected on the network interface of Network Serial Port Converting terminal, the serial ports of Network Serial Port Converting terminal is used for providing equipment access, single-chip microcomputer LPC1768 is used for the break-make for controlling Network Serial Port Converting terminal on a certain passage.
The following is another specific embodiment:
In the present embodiment, cabinet is provided with 16 group interfaces, corresponding to meeting 16 intelligent terminal.Include one per group interface USB port (USB interface), UART mouths (UART serial interfaces), 5V power supply terminals (power interface), an I/O expansion Mouth, an OTG mouth (OTG interfaces) and one group of display lamp.USB port is used for intelligent terminal's distribution test case, transmission adb lives Order, UART mouths are used for printing test information and result, and OTG mouths are used for testing the USB compatibility of intelligent terminal or storage test number According to 5V power supply terminals are used for be powered with the intelligent terminal that USB powers to TV box etc., and I/O expansion mouth includes 3 3.3V I/O pin, can be with the machine open/close button of external intelligent terminal, OTG ID lines etc., and for switching on and shutting down control etc., display lamp is to indicate Per group of 5V powers, and whether whether normal, serial ports connects.
Multiple terminals access device also includes two USB multy-way switching plates, for the multy-way switching of usb signal, provides intelligence The power supply of terminal, extension mouth and measuring terminals power consumption etc..The holding wire of wherein intelligent terminal's USB port, can be switched by which and be connected It is connected to:1) computer is connect;2) OTG is met;3) hanging.The VBUS power supplys of terminal USB port, can be connected to by switching:1) 5V electricity is connect Source;2) computer-USB VBUS are met;3) hanging.Either powered with USB or powered with 5V power supply terminals, can be measured The power consumption of terminal.
Multiple terminals access device also includes that a USB3.0 gigabit network interface, 24 mouthfuls of network switch, a Network Serial Port turn Plate and serial port connecting wire is changed, is found due to signal processing and address and is processed on the network switch, reduced to computer The occupancy of internal memory, using reliable and stable, is not in the situation for causing PC blue screens when the connection of USB serial ports is more;And each serial ports Number fixation, easy to use.
In concrete application, PC is connected to cabinet by a USB line, and the USB hub for having 37 mouthfuls in cabinet, by USB Line is connected to each USB port in USB switch boards on hub;USB network interfaces one end connects hub, and the other end is the net that changes out Network signal, the network switch for being connected to 24 mouthfuls by netting twine, switch are connected to each of Network Serial Port plate by netting twine again Network signal is converted into UART signal by the network port, by 5 mouthfuls of Serial Port Line, is connected to casing, is made for intelligent terminal With.
Every piece of USB switch boards can be divided into 8 groups of circuit modules, have 3 USB ports per group, and one meets hub, and 1 meets OTG, and 1 Individual it is connected to casing (meeting intelligent terminal).On board, application simulation switch is connected to that switching intelligent terminal's USB port Interface.Meanwhile, also containing an I/O expansion mouth, an outside 5V power supplys output etc. in every group of circuit.
The Switching Power Supply of 2 220V is provided with cabinet, the unidirectional current of each power supply output+5V, driving force for 40A Source, powers to internal board (switching version and Network Serial Port version including USB) and measured terminal.
USB switch boards have a single-chip microcomputer LPC1768, for controlling switch break-make and reading measurement USB port and power end Current value of terminal etc..Single-chip microcomputer LPC1768 is communicated by UART mouths and computer.The I2C ports of single-chip microcomputer connect 8 PCA9555IO port chips, 14 PO mouths of PCA9555IO port chips output, each PCA9555IO port chip connect Meet a USB port (USB interface), UART mouths (UART serial interfaces), 5V power supply terminals (power interface), an IO Extension mouth, an OTG mouth (OTG interfaces) and one group of display lamp, each PCA9555IO port chip are constituted with corresponding port Set of circuits module, PCA9555IO port chips are used for the I/O expansion mouth of control relay, analog switch and 5pin.
USB analog switch MAX4906, for the USB port that control connects terminal, are to select connection PC (by hub), or Connection OTG, or vacantly.
Outside+5V power supplys, are connected to MAX199 current differentials by the gating of relay and measure chip, by current differential ADC128D818 current measurement chips are linked into, single-chip microcomputer is linked into by I2C then, current value is calculated.
Intelligent terminal accesses automatic sensing function:In single-chip microcomputer, the initial current upper limit of each passage is arranged to 100mA, when the intelligent terminal having been switched on is connected to multiple terminals access device by USB line or 5V power supply terminals, monitoring of equipment When this current value all the way is arrived more than 100mA, that is, produce interruption, now go out relevant information from serially printing, point out have terminal to connect Enter.After computer receives relevant information, i.e., in interface by this all the way terminal show.
The excessive power supply of power consumption disconnects automatically:The current limitation of each passage can be set by external program control single chip computer Value, when electric current meets or exceeds ultimate value, ADC128D818 chips produce interruption, export in the interrupt signal of single-chip microcomputer, Single-chip microcomputer disconnects the power supply of this passage controlling.
Network Serial Port plate includes that single-chip microcomputer LPC1768, single-chip microcomputer LPC1768 pass through I2C Interface Controller PCA9555IO Port chips, then control the break-make of the relay of each passage again.Relay is the 3.3V for controlling network serial port module Whether power supply will power, and control with this whether UART mouths work.
Network Serial Port modular converter uses the super network interface modules of USR-K1 of Jinan someone scientific & technical corporation, is for inciting somebody to action TCP/UDP packets realize the equipment of data transparent transmission with UART interface.
The functional characteristics of the super network interfaces of USR-K1 is as follows:
● 10/100M adaptive ethernet interfaces, ultra-small volume, network interface size, RJ45 interfaces;
● serial port baud rate can be arranged from 300bps to 921.6Kbps;
● network mode of operation may be selected TCP Server, TCP Client, UDP and UDP Server.
In actually used, using USB3.0 PCI-Express, usb signal is converted into network signal, then reconnects netting twine To 24 mouthfuls of 100,000,000 network switch, switch is connected on USR-K1 by netting twine.The IP address of USB network card need to preset ground Location:By software USR-Kx V2.0.1.497, the address that each network interface IP address is arranged to the 192.168.2.x network segments, arrange After each network interface good, then software is arranged by virtual serial port, by each serial port setting into fixed serial ports and in corresponding IP address Corresponding, so, in actual use, the serial port of each passage is arranged to fix serial port, and can pass through program control Make which to be turned on and off.
In the present embodiment, the multiple intelligent terminal of multiport access, not only so that test process is stable, can be prevented effectively from Computer corruption or blue screen, and connecting line can be reduced, computer is connected by multiple terminals access device by only needing a USB Multiple stage intelligent terminal, without the need for being extended to the port of computer, on the other hand, also achieves the power consumption to intelligent terminal and surveys Try, and set power supply to reach the standard grade, realize that intelligent terminal connects automatic monitoring function according to this.
It should be noted that in said system embodiment, included modules simply carry out drawing according to function logic Point, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit is concrete Title is also only to facilitate mutually differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in the various embodiments described above method Can be by program to complete to instruct the hardware of correlation, corresponding program can be stored in read/write memory medium.
Each technical characteristic of embodiment described above arbitrarily can be combined, for making description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not moved Dynamic contradiction, is all considered to be the scope of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more concrete and detailed, but simultaneously Therefore can not be construed as limiting the scope of the patent.It should be pointed out that for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, some deformations and improvement can also be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be defined by claims.

Claims (10)

1. a kind of multiple terminals access device, it is characterised in that include:USB transponders, USB handover modules, first network modulus of conversion Block, the network switch and the second network conversion module, the USB handover modules are connected with the USB transponders, and the network is handed over Change planes and be connected with the USB transponders by the first network modular converter, second network conversion module and the net Network switch connects;
The USB transponders are used for being connected with computer;
The first network modular converter is used for for usb signal being converted to network signal;
The USB handover modules are used for connecting USB interface and OTG interfaces;
Second network conversion module is used for for network signal being converted to rs 232 serial interface signal, and is connected with serial interface.
2. multiple terminals access device according to claim 1, it is characterised in that there are the USB transponders multiple USB to connect Mouthful, the USB transponders by each USB interface respectively with the computer, the USB handover modules and described first Network conversion module connects.
3. multiple terminals access device according to claim 2, it is characterised in that the USB transponders quantity be multiple, many The individual USB transponders are connected by USB interface.
4. multiple terminals access device according to claim 3, it is characterised in that the USB handover modules include the first control Unit processed, first interface unit and switch unit, first control unit are connected with the first interface unit, and described first Interface unit is connected with the switch unit, and the switch unit is connected with the USB transponders;
First control unit is used for controlling the first interface unit and switch unit work, and passes through the USB Transponder and compunication;
The first interface unit is used for controlling the switch unit work according to the switching command of first control unit;
The switch unit is used for being connected to USB interface and OTG interfaces, and is entered according to the switching command of first control unit Row USB interface and the switching of OTG interfaces.
5. multiple terminals access device according to claim 4, it is characterised in that the quantity of the USB handover modules is two Individual.
6. multiple terminals access device according to claim 5, it is characterised in that each USB handover modules include eight The individual first interface unit, each interface control unit are connected with eight first interface units, each described are connect Mouth unit is connected with switch unit described in.
7. multiple terminals access device according to claim 4, it is characterised in that the USB handover modules also include electric current Detector unit, the current detecting unit are connected with first control unit, and the current detecting unit is used for detecting that USB connects The current value of mouth, and the current value of USB interface is sent to first control unit, first control unit is additionally operable to root Signal break-make and power supply break-make according to the current value control USB interface of USB interface.
8. multiple terminals access device according to claim 7, it is characterised in that the USB handover modules also include power supply Port, first control unit are connected with the power port by the current detecting unit.
9. multiple terminals access device according to claim 1, it is characterised in that the USB handover modules also include that IO expands Exhibition port, the I/O expansion port is connected with the first interface unit.
10. multiple terminals access device according to claim 1, it is characterised in that second network conversion module includes Second control unit, second interface unit and serial interface unit, second control unit are connected with the second interface unit Connect, the second interface unit is connected with the serial interface unit, the serial interface unit is connected with the network switch Connect;
Second control unit is used for the power supply break-make for controlling the serial interface unit by the second interface unit;
The second interface unit is used for instructing the control serial interface unit according to the break-make of second control unit Power supply break-make;
The serial interface unit is used for for network signal being converted to rs 232 serial interface signal, or rs 232 serial interface signal is converted to network letter Number.
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 true CN106502911A (en) 2017-03-15
CN106502911B 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)

Cited By (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 (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060023698A1 (en) * 2004-07-15 2006-02-02 Paul Shore Method and system for a gigabit Ethernet IP telephone chip with integrated DDR interface
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

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060023698A1 (en) * 2004-07-15 2006-02-02 Paul Shore Method and system for a gigabit Ethernet IP telephone chip with integrated DDR interface
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

Cited By (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

Also Published As

Publication number Publication date
CN106502911B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN109062751A (en) USB Type-C interface rapid test system and method
CN208109980U (en) USB on off test device and its system
CN105718408A (en) Hot-pluggable computing system, computer-implemented method and system
CN205199969U (en) Can realize automatic classification's after chip testing test equipment
CN106502911A (en) Multiple terminals access device
CN208188815U (en) BMC module system
CN209657123U (en) A kind of control system
CN108548956A (en) Power consumption test device and method for intelligent terminal
CN206146465U (en) Box transformer monitoring device
WO2016184170A1 (en) Smi interface device debugging apparatus and method, and storage medium
CN109739783A (en) Read and/or write simultaneously the device of more optical module EEPROM
CN108957164A (en) A kind of test device and test method of buckle
CN109407574A (en) Output-controlling device and its method may be selected in a kind of multibus
CN206348780U (en) A kind of measurement jig of server hard disk back plane
CN206370052U (en) A kind of USB interface line concentration expanding unit
CN107153456A (en) OTG connections control method, OTG connection control devices and electronic equipment
CN107239423A (en) A kind of device based on extension IIC interfaces
CN204086415U (en) Fault wave recording device
CN201796120U (en) Integrated chip testing device based on ARM and CPLD
CN209199608U (en) Read and write the switching strobe unit of more optical module EEPROM
CN105260335B (en) Extend the data processing system and method for optical interface
CN209311880U (en) A kind of switch acquisition control device
CN110297733A (en) A kind of peripheral equipment integrated control method and system
CN208000578U (en) A kind of blade type data processing equipment
CN105810060A (en) Power total control apparatus

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