CN106776428A - Terminal device, read-write device, data transmission system and hardware initialization method - Google Patents
Terminal device, read-write device, data transmission system and hardware initialization method Download PDFInfo
- Publication number
- CN106776428A CN106776428A CN201611110061.9A CN201611110061A CN106776428A CN 106776428 A CN106776428 A CN 106776428A CN 201611110061 A CN201611110061 A CN 201611110061A CN 106776428 A CN106776428 A CN 106776428A
- Authority
- CN
- China
- Prior art keywords
- resistance
- usb
- circuit
- controller
- switch
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 35
- 238000011423 initialization method Methods 0.000 title claims abstract description 11
- 239000004065 semiconductor Substances 0.000 claims description 36
- 230000005611 electricity Effects 0.000 claims description 14
- 238000000034 method Methods 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 9
- 238000012360 testing method Methods 0.000 claims description 4
- 238000003780 insertion Methods 0.000 claims description 3
- 230000037431 insertion Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims description 2
- 238000010248 power generation Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000002023 wood Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Information Transfer Systems (AREA)
Abstract
The embodiment of the invention discloses a terminal device, a read-write device, a data transmission system and a hardware initialization method, wherein a first universal serial bus interface, an uplink port, a downlink port, a change-over switch, a first controller, a first switch circuit and other circuit devices are configured in the terminal device, a second universal serial bus interface, a second controller, a trigger circuit, a second switch circuit, a third switch circuit and other circuit devices are configured in the read-write device, so that after the terminal device is connected with the read-write device, the terminal device can be controlled by the read-write device through the first universal serial bus interface and the second universal serial bus interface, and the terminal device transmits data according to a command sent by the read-write device. The technical scheme of the embodiment of the invention realizes that when the equipment configured with the universal serial bus interface is connected with the external equipment through the universal serial bus interface, the external equipment can actively read the internal data of the equipment configured with the universal serial bus interface.
Description
Technical field
The present embodiments relate to data transmission technology, more particularly to a kind of terminal device, read-write equipment, data transmission system
System and hardware initialization method.
Background technology
USB (Universal Serial Bus, USB) is an external bus standard, for specification computer
With being connected and communicate with for external equipment.After USB was released since 1996, serial ports and parallel port are successfully substituted, and as 21
Century PC and one of the interface that must match somebody with somebody of a large amount of smart machines.
With the popularization of USB interface, increasing equipment is (for example:Smart mobile phone, flat board etc.) USB can be configured with connect
Mouthful, and data are transmitted by USB interface.When data are transmitted by USB interface, USB mother's mouths are in general equipped with
Equipment controls the transmitting procedure of whole data, the external equipment that is connected with the equipment for being configured with USB mother's mouths by the male mouths of USB
Only it is the associative operation that data transfer is completed according to the order of the equipment for being configured with USB mother's mouths, any leading role is not played.
There is any failure in the equipment for no matter being configured with USB mother's mouths, the data of its storage inside all can not be by other equipment
Connected by USB and be read out.
The content of the invention
In view of this, at the beginning of the embodiment of the invention provides a kind of terminal device, read-write equipment, data transmission system and hardware
Which kind of failure is beginning method, occur, inside it with the equipment for solving no matter to be configured with the prior art USB
Data cannot all the technical problem that be read be connected by USB.
In a first aspect, the embodiment of the invention provides a kind of terminal device, including:
First USB, uplink port, downlink port, switching switch, the first controller and first switch
Circuit;
First USB, is connected for the second USB with external equipment, and
And its signal pins is grounded;The uplink port and the downlink port are by the switching switch and the described first general string
The data transmission terminal of row bus interface is connected, and by the switching switch switching on off operating mode;The first switch circuit
First end is connected with the power pins of first USB, and the second of the first switch circuit terminates into electricity
Source;
First control end of first controller is connected with the controlled end of the switching switch, and sending signal control is described
Switching switch switches between the uplink port and the downlink port;Second control end of first controller with it is described
The controlled end of first switch circuit is connected, and sending signal controls the break-make of the first switch circuit;First controller
Signal input part accesses the voltage detecting data of the power pins of first USB, and according to the voltage
Detection data is to the switching switch and the first switch circuit sending signal.
In the said equipment, it is preferred that also include:
Current-limiting circuit, the power pins phase of the first end of the current-limiting circuit and first USB
Even, the 3rd end of the current-limiting circuit is connected with the signal input part of first controller, the second end of the current-limiting circuit
First end with the first switch circuit is connected.
In the said equipment, it is preferred that the current-limiting circuit includes:Current limiting switch, resistance R1 and resistance R2;The limit
The first end for flowing switch is connected with the power pins of the first end of the resistance R1 and first USB,
Second end of the current limiting switch is connected with the first end of the first switch circuit;Second end of the resistance R1 and the electricity
The signal input part of the first end and first controller that hinder R2 is connected;The second end ground connection of the resistance R2.
In the said equipment, it is preferred that the first switch circuit includes:Resistance R3, resistance R4, resistance R5, three poles
Pipe Q2 and metal-oxide-semiconductor Q1;The first end of the resistance R3 is connected with the second control end of first controller;The resistance R3's
Second end is connected with the base stage of the triode Q2;The grounded emitter of the triode Q2, the colelctor electrode of the triode Q2
It is connected with the first end of the resistance R4 and the first end of the resistance R5;Second end of the resistance R4 and the metal-oxide-semiconductor
The source electrode of Q1 is connected and accesses power supply;Second end of the resistance R5 is connected with the grid of the metal-oxide-semiconductor Q1;The metal-oxide-semiconductor Q1
Drain electrode be connected with the second end of the current-limiting circuit.
In second aspect, a kind of read-write equipment is the embodiment of the invention provides, including:
Second USB, second controller, triggers circuit, second switch circuit and the 3rd on-off circuit;
The signal pins of second USB are connected with the test side of the triggers circuit, the second controller
Signal input part is connected with the feedback end of the triggers circuit, and according to the change of the feedback terminal voltage of the triggers circuit to institute
State the 3rd on-off circuit sending signal;
The signal pins of second USB are used to draw with the signal of the first USB
Pin is connected;The data processing end of the second controller be connected with the data transmission terminal of second USB with
Data are read and write by second USB;First control end of the second controller and the second switch
The controlled end of circuit is connected, and sending signal controls the break-make of the second switch circuit;Second control of the second controller
End processed is connected with the controlled end of the 3rd on-off circuit, and sending signal controls the break-make of the 3rd on-off circuit;It is described
The first end of second switch circuit accesses power supply, and the second end of the second switch circuit connects with second USB
The power pins of mouth are connected;The first end of the 3rd on-off circuit and the second USB power pins phase
Even, the second end ground connection of the 3rd on-off circuit.
In the said equipment, it is preferred that the triggers circuit includes triode Q3, resistance R6, resistance R7 and resistance R8,
The first end of the resistance R6 is connected with the signal pins of second USB;Second end of the resistance R6
It is connected with the base stage of the triode Q3 and the first end of the resistance R7;Second end of the resistance R7 and the resistance R8
First end be connected and access+5V voltages;Second end of the resistance R8 and the colelctor electrode of the triode Q3 and described
The signal input part of two controllers is connected;The grounded emitter of the triode Q3.
In the said equipment, it is preferred that the second switch circuit includes resistance R9, resistance R10, resistance R11, three poles
Pipe Q4 and metal-oxide-semiconductor Q5;The first end of the resistance R9 is connected with the first control end of the second controller;The resistance R9's
Second end is connected with the base stage of the triode Q4;The grounded emitter of the triode Q4, the colelctor electrode of the triode Q4
It is connected with the first end of the resistance R10 and the first end of the resistance R11;Second end of the resistance R10 and the MOS
The source electrode of pipe Q5 is connected and accesses power supply;Second end of the resistance R11 is connected with the grid of the metal-oxide-semiconductor Q5;The metal-oxide-semiconductor
The drain electrode of Q5 is connected with the power pins of second USB.
In the said equipment, it is preferred that the 3rd on-off circuit includes resistance R13, resistance R12 and triode Q6;
The first end of the resistance R13 is connected with the second control end of the second controller, second end of the resistance R13 with it is described
The base stage of triode Q6 is connected;The grounded emitter of the triode Q6, the colelctor electrode of the triode Q6 and the resistance R12
First end be connected, second end of the resistance R12 is connected with the power pins of second USB.
In the third aspect, a kind of data transmission system, including previously described terminal device are the embodiment of the invention provides
With described read-write equipment.
In fourth aspect, a kind of hardware initialization method is the embodiment of the invention provides, passed for previously described data
Defeated system, including:
First controller turns on the first switch circuit, and the switching switch is switched into the conducting downstream end
Mouthful;The second controller disconnects the second switch circuit and the 3rd on-off circuit;
The second controller receives expression second USB that the triggers circuit is detected
When inserting the useful signal of first USB, the second controller turns on the 3rd on-off circuit simultaneously
Start timing;
When the power pins of first USB are grounded, the signal input part of first controller
It is 0 to detect input, the switching switch is switched into the conducting uplink port, and disconnect the first switch circuit;
When timing reaches preset duration, the second controller turns on the second switch circuit, disconnects the described 3rd and opens
Powered-down road.
In the above-mentioned methods, it is preferred that described when timing reaches preset duration, the second controller conducting described the
Two on-off circuits, disconnect after the 3rd on-off circuit, also include:
When the signal input part of first controller detects input is changed into low level from high level, by the switching
Switch switches to the conducting downlink port;
Connect when the second controller receives expression second USB that the triggers circuit detects
During the useful signal that mouth disconnects from first USB, the second controller disconnects the second switch electricity
Road and the 3rd on-off circuit.
Terminal device provided in an embodiment of the present invention, read-write equipment, data transmission system and hardware initialization method, pass through
Configured in terminal device the first USB, uplink port, downlink port, switching switch, the first controller and
The circuit devcies such as first switch circuit, configure the second USB, second controller, triggering electricity in read-write equipment
The circuit devcies such as road, second switch circuit and the 3rd on-off circuit so that after terminal device is connected with read-write equipment, terminal
Equipment can be controlled by read-write equipment, terminal device by the first USB and the second USB
Carried out data transmission according to the order that read-write equipment sends, solve and no matter be configured with USB in the prior art
Equipment there is which kind of failure, its internal data all cannot connect the technology that be read and ask by USB
Topic, is realized when being configured with the equipment of USB and being connected with external equipment by USB,
The external equipment can actively read the internal data of the equipment for being configured with USB.
Brief description of the drawings
Fig. 1 a are a kind of structure charts of terminal device that the embodiment of the present invention one is provided;
Fig. 1 b are the structure charts of the first switch circuit that the embodiment of the present invention one is provided;
Fig. 1 c be the embodiment of the present invention one provide using USB interface as uplink port equipment with
The connection figure of USB;
Fig. 2 is the structure chart of another terminal device that the embodiment of the present invention two is provided;
Fig. 3 a are a kind of structure charts of read-write equipment that the embodiment of the present invention three is provided;
Fig. 3 b are the structure charts of the second switch equipment that the embodiment of the present invention three is provided;
Fig. 4 is a kind of flow chart of hardware initialization method that the embodiment of the present invention five is provided.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings to specific reality of the invention
Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention,
Rather than limitation of the invention.
It also should be noted that, for the ease of description, be illustrate only in accompanying drawing part related to the present invention rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
Into the treatment or method described as flow chart.Although operations (or step) to be described as flow chart the treatment of order,
It is that many of which operation can be by concurrently, concomitantly or while implement.Additionally, the order of operations can be by again
Arrange.The treatment when its operations are completed can be terminated, it is also possible to have the additional step being not included in accompanying drawing.
The treatment can correspond to method, function, code, subroutine, subprogram etc..
In the present invention, " connection ", " connected ", " company ", " connecing " etc. represents the word being electrical connected, unless otherwise instructed,
Then represent direct or indirect electric connection.
It is pointed out that any change that one skilled in the art is done to the specific embodiment of wood invention
All without departing from the scope of claims of the present invention.Correspondingly, also well is not limited solely to the scope that right of the invention is wanted
Previous embodiment.
Embodiment one
Fig. 1 a are a kind of structure chart of terminal device that the embodiment of the present invention one is provided, the knot of terminal device in the present embodiment
Structure is specifically included:
First USB 110, uplink port 150, downlink port 160, switching switch 170, first are controlled
Device 140 and first switch circuit 130;
First USB 110, is connected for the USB with external equipment, and it is believed
Number pin ground connection;Uplink port 150 and downlink port 160 are by switching the USB 110 of switch 170 and first
Data transmission terminal be connected, and by switch switch 170 switch on off operating modes;The first end of first switch circuit 130 and first
The power pins of USB 110 are connected, and the second of first switch circuit 130 terminates into power supply, usually 5V's
System power supply, i.e. System 5V;
First control end of the first controller 140 is connected with the controlled end of switching switch 170, sending signal Switch CTL
Control switching switch 170 switches between uplink port and downlink port;Second control end of the first controller 140 is opened with first
The controlled end on powered-down road 130 is connected, the break-make of sending signal 5V_CTL control first switches circuit 130;First controller 140
Signal input part accesses the voltage detecting data of the power pins of the first USB 110, and according to voltage detecting
Data are to switching switch 170 and first switch circuit 130 sending signal Switch CTL and 5V_CTL.
Further, as shown in Figure 1 b, first switch circuit 130 is optimized for:Including resistance R3, resistance R4, resistance R5,
Triode Q2 and metal-oxide-semiconductor Q1;The first end of resistance R3 is connected with the second control end of the first controller 140, for receiving signal
5V_CTL;Second end of resistance R3 is connected with the base stage of triode Q2;The grounded emitter of triode Q2, the current collection of triode Q2
Pole is connected with the first end of resistance R4 and the first end of resistance R5;Second end of resistance R4 is connected simultaneously with the source electrode of metal-oxide-semiconductor Q1
Access power supply System 5V;Second end of resistance R5 is connected with the grid of metal-oxide-semiconductor Q1;The drain electrode of metal-oxide-semiconductor Q1 and current-limiting circuit
120 the second end is connected, for receiving power supply VCC_out.
As illustrated in figs. 1A and ib, when terminal device is in original state, the second control end of the first controller 140 is defeated
Go out signal 5V_CTL for high level so that the controlled end input of first switch circuit 130 is high level, the i.e. first end of resistance R3
It is high level to be input into so that triode Q2 is turned on, meanwhile, the second of resistance R4 terminates into power supply System 5V so that metal-oxide-semiconductor
Q1 is turned on, and then causes that the power supply System 5V for accessing are exported to the first USB by metal-oxide-semiconductor Q1 from the drain electrode of Q1
The power pins of interface 110.
Because the input of the power pins of the first USB 110 is high level System 5V, i.e., first leads to
Voltage detecting data with the power pins of serial bus interface 110 are high level, in the present embodiment, by the first general serial
The voltage detecting data definition of the power pins of EBI 110 is 5V Det, therefore, the signal input of the first controller 140
The signal 5V Det for holding input are high level, when the first controller 140 detects input signal 5V Det for high level, first
Controller 140 controls switching switch 170 to switch to downlink port by the first control end output control signal Switch CTL
160 so that the data transmission terminal of the first USB 110 is connected to downlink port 160.
Fig. 1 c show using USB as uplink port equipment 310, wherein, USB connects
Shell and the signal pins ground connection of mouth.The first USB in the USB in Fig. 1 c inserts Fig. 1 a
After interface 110, will not be changed inside the terminal device in Fig. 1 a, continue to keep original state, it is possible in Fig. 1 c
Using USB as the equipment normal communication of uplink port, carry out data transmission.
There is a kind of situation in addition, when the terminal device in the present embodiment needs to read data by miscellaneous equipment, Fig. 1 a
In the first USB 110 insert the USB of special reading equipment after, the first general string
The power pins ground connection of row bus interface 110, and then cause that the input signal 5V Det of the first controller 140 are 0, when the first control
Device processed 140 is detected after input signal 5V Det are changed into 0, and output signal 5V_CTL is changed into 0, Jin Er by the first controller 140
The input of the controlled end of one on-off circuit 130 is changed into 0, causes triode Q2 to end, and then metal-oxide-semiconductor Q1 ends, and resistance R4 is accessed
Power supply System 5V cannot be exported by metal-oxide-semiconductor Q1 to the power pins of the first USB 110.First control
Device processed 140 is detected after input signal 5V Det are changed into 0, while can also control switching switch 170, it is switched to uplink port
150, so far complete transformation of first USB 110 by downlink port to uplink port.
Herein it should be noted that in all embodiments in the present embodiment and afterwards, the downlink port is specifically
Refer to during being carried out data transmission by USB, to another USB docked with it
Interface provides power supply, the USB played a leading role during data transfer.Correspondingly, it is above-mentioned " in addition
One USB " is described uplink port.That is, so-called herein " up " and " descending " are not
Refer to the flow direction of data in data transmission procedure, and be directed to the two USB institutes docked in data transmission procedure
The difference of master-slave role name to it.
Terminal device provided in an embodiment of the present invention, by configuring the first USB in terminal device
110th, the circuit such as uplink port 150, downlink port 160, switching switch the 170, first controller 140 and first switch circuit 130
Device so that the first USB 110 can be multiplexed with downlink port 160 or uplink port 150, solve existing
Which kind of failure is the equipment that USB no matter is configured with technology occur, and its internal data all cannot be by general
The technical problem that serial bus interface connection is read, realizes the equipment for being configured with USB by general string
When row bus interface is connected with external equipment, the external equipment can actively read and be configured with setting for USB
Standby internal data.
Embodiment two
The embodiment of the present invention two provides a kind of structure chart of terminal device.The present embodiment is entered based on above-described embodiment
Row optimization, in the present embodiment, as shown in Fig. 2 also including:Current-limiting circuit 120, the first end of current-limiting circuit 120 is led to first
Be connected with the power pins of serial bus interface 110 (exporting or access the pin of+5V), the 3rd end of current-limiting circuit 120 with
The signal input part of the first controller 140 is connected, and for output signal 5V Det, the second end of current-limiting circuit 120 is opened with first
The first end on powered-down road 130 is connected;
Further, current-limiting circuit 120 is optimized for:Including current limiting switch 180, resistance R1 and resistance R2;Current limiting switch
180 first end is connected with the first end of resistance R1 and the power pins of the first USB 110, for
The power pins output supply voltage USB5V of one USB 110, the second end of current limiting switch 180 is opened with first
The first end on powered-down road 130 is connected;Second end of resistance R1 is defeated with the signal of the first end of resistance R2 and the first controller 140
Enter end to be connected;The second end ground connection of resistance R2.
As shown in Fig. 2 it is same, when terminal device is in original state, the second control end output of the first controller 140
Signal 5V_CTL is high level so that the controlled end input of first switch circuit 130 is high level, i.e. the first end of resistance R3 is defeated
It is high level to enter so that triode Q2 is turned on, meanwhile, the second of resistance R4 terminates into power supply System 5V so that metal-oxide-semiconductor Q1
Conducting, and then cause that the power supply System 5V for accessing pass through drain outputs to the second of current-limiting circuit 120 of the metal-oxide-semiconductor Q1 from Q1
End, i.e. the second end of current limiting switch 180.
After the second of current limiting switch 180 terminates the power supply System 5V of drain electrode output of metal-oxide-semiconductor Q1, System 5V lead to
Current limiting switch 180 is crossed, the power pins to the first USB 110 are exported, meanwhile, System 5V pass through resistance
R1 and resistance R2 is grounded, and then causes that second end (first end with resistance R2 is connected) of resistance R1 is presented high level, therefore,
The input signal 5V Det of the first controller 140 are high level, are height when the first controller 140 detects input signal 5V Det
During level, the first controller 140 controls switching switch 170 to switch to by the first control end output control signal Switch CTL
Downlink port 160 so that the data transmission terminal of the first USB 110 is connected to downlink port 160.
When in Fig. 1 c USB is inserted into Fig. 2 as the equipment 310 of uplink port in it is first general
After serial bus interface 110, will not be changed inside the terminal device in Fig. 2, continue to keep original state, it is possible to figure
In 1c using USB as the equipment normal communication of uplink port, carry out data transmission.
There is a kind of situation in addition, when the terminal device in the present embodiment needs to read data by miscellaneous equipment, in Fig. 2
The first USB 110 insert the USB of special reading equipment after, the first general serial
The power pins ground connection of EBI 110, and then trigger the current limiting switch 180 in Fig. 2 so that the first end of current limiting switch 180
The first end input for being output as 0, i.e. resistance R1 is 0, therefore, the input signal 5V Det of the first controller 140 are 0, when first
Controller 140 is detected after input signal 5V Det are changed into 0, and output signal 5V_CTL is changed into 0 by the first controller 140, and then
The input of the controlled end of first switch circuit 130 is changed into 0, causes triode Q2 to end, and then metal-oxide-semiconductor Q1 ends, and resistance R4 connects
The power supply System 5V for entering cannot be exported to the second end of current-limiting circuit 120 by metal-oxide-semiconductor Q1.First controller 140 is detected
After input signal 5V Det are changed into 0, while can also control switching switch 170, it is switched to uplink port 150, so far complete
Transformation of first USB 110 by downlink port to uplink port.Wherein, the effect of current limiting switch 180 is
When predetermined threshold value is more than by the electric current of current limiting switch, current limiting switch automatically shuts down so that the circuit at current limiting switch two ends breaks
Road.Because current limiting switch belongs to prior art, no longer it is described in detail herein.
Terminal device provided in an embodiment of the present invention, by configuring the first USB in terminal device
110th, uplink port 150, downlink port 160, the 170, first controller 140 of switching switch, current-limiting circuit 120 and first switch electricity
The grade circuit devcie of road 130 so that the first USB 110 can be multiplexed with downlink port 160 or uplink port
150, solve and no matter be configured with the equipment of USB in the prior art and which kind of failure occur, its internal data
Cannot all the technical problem being read be connected by USB, realize and be configured with USB
When equipment is connected by USB with external equipment, the external equipment can actively read and be configured with general string
The internal data of the equipment of row bus interface.
Embodiment three
Fig. 3 a are a kind of structure chart of read-write equipment that the embodiment of the present invention three is provided, and are specifically included:
Second USB 230, second controller 250, triggers circuit 240, second switch circuit 210 and
Three on-off circuits 220;The signal pins Signal_GND of second USB 230 and the triggers circuit
240 test side is connected, and the feedback end of the triggers circuit 240 is connected with the signal input part of the second controller 250, this
The signal definition for transmitting this therebetween in embodiment is Insert Det, is connect specifically for the second USB of description
The voltage status that mouth 230 is accessed;
The signal pins of the second USB 230 are used for the signal with the first USB 110
Pin is connected;The data processing end of second controller 250 be connected with the data transmission terminal of the second USB 230 with
Data are read and write by the second USB 230;First control end of second controller 250 and second switch circuit
210 controlled end is connected, the break-make of sending signal ON/OFF_CTL control second switches circuit 210;The of second controller 250
Two control ends are connected with the controlled end of the 3rd on-off circuit 220, and sending signal CTL controls the break-make of the 3rd on-off circuit 220,
Second controller 250 determines the specific control content of ON/OFF_CTL and CTL according to signal Insert Det;Second switch circuit
210 first end accesses the power supply of+5V power supplys, the second end of second switch circuit 210 and the second USB 230
Pin (exporting or access the pin of+5V) is connected, by power supply VCC_out ' outputs to the second USB 230
Power pins;The first end of the 3rd on-off circuit 220 is connected with the power pins of the second USB 230, and the 3rd
The second end ground connection of on-off circuit 220.
Further, triggers circuit 240 is optimized for:Including triode Q3, resistance R6, resistance R7 and resistance R8, resistance
The first end of R6 is connected with the signal pins of the second USB 230;Second end of resistance R6 is with triode Q3's
The first end of base stage and resistance R7 is connected;Second end of resistance R7 is connected with the first end of resistance R8 and accesses+5V voltages;Electricity
The second end for hindering R8 is connected with the colelctor electrode of triode Q3 and the signal input part of second controller 250, output signal
Insert Det;The grounded emitter of triode Q3.
Further, second switch circuit 210 is optimized for:Including resistance R9, resistance R10, resistance R11, triode Q4
With metal-oxide-semiconductor Q5;The first end of resistance R9 is connected with the first control end of second controller 250, for receiving ON/OFF_CTL;Electricity
The second end for hindering R9 is connected with the base stage of triode Q4;The grounded emitter of triode Q4, the colelctor electrode and resistance of triode Q4
The first end of R10 and the first end of resistance R11 are connected;Second end of resistance R10 is connected with the source electrode of metal-oxide-semiconductor Q5 and accesses electricity
Source;Second end of resistance R11 is connected with the grid of metal-oxide-semiconductor Q5;The power pins phase drained with USB public affairs mouths 230 of metal-oxide-semiconductor Q5
Even, by power supply VCC_out ' outputs to the power pins.
Further, the 3rd on-off circuit 220 is optimized for:Including resistance R13, resistance R12 and triode Q6;Resistance
The first end of R13 is connected with the second control end of second controller 250, for exporting CTL to the first end of resistance R13, electricity
The second end for hindering R13 is connected with the base stage of triode Q6;The grounded emitter of triode Q6, the colelctor electrode and resistance of triode Q6
The first end of R12 is connected, and second end of resistance R12 is connected with the power pins of the second USB 230.
In the present embodiment, the original state of the read-write equipment in Fig. 3 a is, the first control end of second controller 250 and
The ON/OFF_CTL and CTL of the second control end output are low level.As shown in Figure 3 b, due to the first of second controller 250
Control end output ON/OFF_CTL is low level, therefore, the input of the first end of resistance R9 is low level, and then triode Q4 cuts
Only, metal-oxide-semiconductor Q5 is also switched off, i.e. the drain electrode Non voltage output of Q5, thus the power pins of the second USB 230 without
Control source.As shown in Figure 3 a, the CTL of the second control end output of second controller 250 is low level, therefore, resistance R13's
First end input be low level, and then triode Q6 end.As shown in Figure 3 a ,+5V power supplys have been accessed in triggers circuit 240, has been entered
And triode Q3 conductings are caused, the colelctor electrode of Q3 is presented low level, therefore, the input Insert Det of second controller 250 are low
Level.
Read-write equipment in the present embodiment is using the second USB 230 as external-connected port and logical second
With triggers circuit 240 is set in serial bus interface 230, when needs are provided with depositing for USB from unconventional
When reading data in storage equipment (such as terminal device), by triggers circuit 240 and multiple switch circuit inside read-write equipment
The foundation of the data channel based on USB is realized, from the storage device for being provided with USB
Read data.
Example IV
The embodiment of the present invention four also provides a kind of data transmission system, can specifically include terminal device and figure in Fig. 2
Read-write equipment in 3a, the structure in Fig. 2 and Fig. 3 a has been able to embody the basic framework of the data transmission system, not another herein
Row mapping explanation.
When first of the terminal device in the insertion of the second USB 230 Fig. 2 of the read-write equipment in Fig. 3 a
(terminal device usually in fig. 2 breaks down, it is impossible to the situation of control data transmission during USB 110
Under), after the terminal device in Fig. 2 is connected with the read-write equipment in Fig. 3 a as a data transmission system, terminal device and
The inside of read-write equipment can occur corresponding change, and details are provided below:
After the terminal device during the read-write equipment in Fig. 3 a inserts Fig. 2, due to the first USB 110
Signal pins ground connection, after the second USB 230 is connected with the first USB 110, second
The signal pins of USB 230 can also be grounded, and cause the first end of resistance R6 to be grounded, due to resistance R6 and resistance
The ratio of R7 meets relation [5/ (R6+R7)] × R6 of following formula<0.5, therefore, triode Q3 cut-offs, the colelctor electrode output of Q3 is high
Level, the input of second controller 250 Insert Det are changed into high level.
When second controller 250 detect input Insert Det after low level is changed into high level, second controller 250
Start timing, while output CTL is changed into high level, now, the first end input high level of resistance R13, triode Q6 conductings,
Because the power supply of the power pins with the first USB 110 of now the second USB 230 draws
Pin is connected, therefore, the power pins of the second USB 230 access power supply System 5V, cause power supply
System 5V are grounded by resistance R12 and triode Q6 so that the electric current for flowing through current limiting switch 180 in current-limiting circuit 120 is big
In predetermined current threshold, and then trigger current limiting switch 180 so that the shut-off input of current limiting switch 180, the 3rd of current-limiting circuit 120 the
It is also 0 that end is output as the input 5V of the 0, therefore first controller 140 Det.
After the voltage that the first controller 140 detects input 5V Det occurs above-mentioned change, output 5V_CTL is changed into
Low level, meanwhile, send order Switch CTL by switching switch 170 so that switching switch 170 and uplink port 150
It is connected, and then causes that the first USB 110 is connected with uplink port 150.Wherein, the first controller 140
Output 5V_CTL is changed into after low level, triode Q2 cut-offs, and then metal-oxide-semiconductor Q1 ends, therefore, power supply Systme 5V cannot
The second end of current-limiting circuit 120 is transferred to by Q2.
It is mentioned above, when second controller 250 detects input Insert Det after low level is changed into high level, the
Two controller 250 starts timing, and after the timing of second controller 250 reaches preset duration, output CTL is changed into low level, exports
ON/OFF_CTL is changed into high level.Wherein, preset duration specifically refers to be changed into high level from the colelctor electrode of above-mentioned Q3 to be cut to above-mentioned
The time changed needed for switch 170 is connected with uplink port 150, the concrete numerical value of preset duration can be by actual debugging
Journey test is obtained, and certainly, preset duration can also be changed into high level to above-mentioned switching switch 170 more than from the colelctor electrode of above-mentioned Q3
Be connected the required time with uplink port 150.It will be appreciated by those skilled in the art that, connect by USB
All it is total to the general serial as uplink port as the USB of downlink port when mouth enters row data communication
What line interface was powered, so read-write equipment must can just be made after above-mentioned switching switch 170 is connected with uplink port 150
In the power pins of the second USB 230 access the+5V electricity that the first end of second switch circuit 210 is accessed
Source.
It is above-mentioned that the output of second controller 250 CTL is changed into low level after the timing of second controller 250 reaches preset duration,
The output of second controller 250 ON/OFF_CTL is changed into high level.Wherein, when the output of second controller 250 CTL is changed into low level
Afterwards, the power pins of triode Q6 cut-offs, the second USB 230 and the first USB 110
No longer it is grounded by resistance R12 and triode Q6.Wherein, after the output of second controller 250 ON/OFF_CTL is changed into high level,
Triode Q4 and metal-oxide-semiconductor Q5 are both turned on, the second of resistance R10 terminate into power supply+5V export logical to second by metal-oxide-semiconductor Q5
With the power pins of serial bus interface 230, so that the power pins of the first USB 110 are general by second
Serial bus interface 230 accesses power supply+5V, and the power supply that the first USB 110 is accessed passes through resistance R1 and electricity
Resistance R2 ground connection so that second end of resistance R1 is presented high level, therefore, the input 5V of the signal input part of the first controller 140
Det is high level by low transition, so far, the data transmission system that terminal device is constituted with read-write equipment, by hardware
Initial method, completes the first USB 110 inside terminal device from downlink port 160 to uplink port
150 transformation.
Next, after read-write equipment and terminal device are disconnected, the power supply of the first USB 110 draws
Pin cannot access+5V power supplys by the second USB 230 again, therefore, the input 5V of the first controller 140 Det are again
Low level is converted to by high level, low level is converted to by high level when the first 140 devices of control detect input 5V Det again
Afterwards, the first controller 140 sends order Switch CTL to switching switch 170 so that switching switch 170 switches to downlink port
160, so that the first USB 110 is connected with downlink port 160, meanwhile, the first control end 140 can also will be defeated
Go out 5V_CTL and be changed into high level so that first switch circuit 130 is turned on, power supply System 5V pass through the He of first switch circuit 130
Current-limiting circuit 120 is transmitted to the power pins of the first USB 110, while so that the first controller 140 is input into
5V Det are again high level by low transition, and so far, terminal device recovers to original state.
After read-write equipment and terminal device are disconnected, the letter of the second USB 230 of read-write equipment
Number pin is no longer grounded, and+5V the power supplys in triggers circuit 240 cause that triode Q3 is turned on again, so triode Q3 current collection
Pole exports high level so that it is high level that second controller 250 is input into Insert Det by low transition, works as second controller
After the 250 above-mentioned changes for detecting input Insert Det, second controller 250 is set to low electricity by ON/OFF_CTL is exported
It is flat, recover to original state.
Terminal device provided in an embodiment of the present invention, read-write equipment, data transmission system and hardware initialization method, pass through
Configured in terminal device the first USB 110, uplink port 150, downlink port 160, switching switch 170,
The circuit devcies such as the first controller 140, current-limiting circuit 120 and first switch circuit 130, configure second general in read-write equipment
Serial bus interface 230, second controller 250, triggers circuit 240 and the on-off circuit 220 of second switch circuit 210 and the 3rd etc.
Circuit devcie so that after terminal device is connected composition data Transmission system with read-write equipment, by the initialization side of hardware
Method allows that terminal device is controlled by by the first USB 110 and the second USB 230
Read-write equipment, terminal device carries out data transmission according to the order that read-write equipment sends, and solves and no matter configures in the prior art
Which kind of failure is the equipment for having USB occur, and its internal data cannot all be connected by USB
Connect the technical problem being read, realize be configured with the equipment of USB by USB with it is outer
When portion's equipment is connected, the external equipment can actively read the internal data of the equipment for being configured with USB.
Embodiment five
The embodiment of the present invention five also provides a kind of hardware initialization method, for a kind of above-mentioned data transmission system, makes
Digital independent of the USB connection of above-mentioned data transmission system complete design to realize under abnormality is obtained,
Detailed process has been described in the embodiment of data transmission system, only makees to summarize herein.As shown in figure 4, at the beginning of the hardware
Beginning method, including:
Step 410, the conducting first switch of the first controller 140 circuit 130, switch to conducting descending on switching switch 170
Port 160, second controller 250 disconnects second switch circuit 210 and the 3rd on-off circuit 220;
Step 420, second controller 250 receive the USB of expression second that triggers circuit is detected
During the useful signal of 230 the first USBs 110 of insertion, second controller 250 turns on the 3rd on-off circuit 220 simultaneously
Start timing;
Step 430, when the first USB 110 power pins be grounded when, the signal of the first controller 140
It is 0 that input detects input, switching switch 170 is switched into conducting uplink port 150, and disconnect first switch circuit 130;
Step 440, when timing reaches preset duration, the conducting second switch of second controller 250 circuit 210 disconnects the 3rd
On-off circuit 220;
Step 450, when the first controller 140 signal input part detect current-limiting circuit 120 the 3rd end from high level become
During for low level, switching switch 170 is switched into conducting downlink port;
Step 460, the USB of expression second that triggers circuit is detected is received when second controller 250
230 extracted from the first USB 110 useful signal when, second controller 250 disconnects second switch circuit 210
With the 3rd on-off circuit 220.
Hardware initialization method provided in an embodiment of the present invention, before terminal device is connected with read-write equipment, by
One controller 140 and second controller 250 control the connection of the break-make and switching switch 170 of the first to the 3rd on-off circuit right
As, after terminal device is connected with read-write equipment and after disconnecting, the first controller 140 and the basis of second controller 250
The situation of change of respective signal input part input signal, controls the change of respective control signal output output signal, is come with this
The break-make of the first to the 3rd on-off circuit and the connection object of switching switch 170 are controlled, is solved and no matter is matched somebody with somebody in the prior art
Which kind of failure is the equipment for being equipped with USB occur, and its internal data all cannot be by USB
The technical problem that is read of connection, realize be configured with the equipment of USB by USB with
When external equipment is connected, the external equipment can actively read the inside number of the equipment for being configured with USB
According to.
Obviously, it will be understood by those skilled in the art that above-mentioned of the invention each module or each step can be by as above
Described server implementation.Alternatively, the program that the embodiment of the present invention can be can perform with computer installation be realized, so that can
To be stored in being performed by processor in storage device, described program can be stored in a kind of computer-readable storage
In medium, storage medium mentioned above can be read-only storage, disk or CD etc.;Or be fabricated to them respectively each
Individual integrated circuit modules, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So,
The present invention is not restricted to the combination of any specific hardware and software.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for those skilled in the art
For, the present invention can have various changes and change.It is all any modifications made within spirit and principles of the present invention, equivalent
Replace, improve etc., should be included within the scope of the present invention.
Claims (11)
1. a kind of terminal device, it is characterised in that including:First USB, uplink port, downlink port, cut
Change switch, the first controller and first switch circuit;
First USB, is connected for the second USB with external equipment, and its
Signal pins are grounded;The uplink port and the downlink port are total with first general serial by the switching switch
The data transmission terminal of line interface is connected, and by the switching switch switching on off operating mode;The first of the first switch circuit
End is connected with the power pins of first USB, and the second of the first switch circuit terminates into power supply;
First control end of first controller is connected with the controlled end of the switching switch, and sending signal controls the switching
Switch switches between the uplink port and the downlink port;Second control end of first controller and described first
The controlled end of on-off circuit is connected, and sending signal controls the break-make of the first switch circuit;The signal of first controller
Input accesses the voltage detecting data of the power pins of first USB, and according to the voltage detecting
Data are to the switching switch and the first switch circuit sending signal.
2. terminal device according to claim 1, it is characterised in that also include:
Current-limiting circuit, the first end of the current-limiting circuit is connected with the power pins of first USB, institute
The 3rd end for stating current-limiting circuit is connected with the signal input part of first controller, the second end of the current-limiting circuit with it is described
The first end of first switch circuit is connected.
3. terminal device according to claim 2, it is characterised in that the current-limiting circuit includes current limiting switch, resistance R1
With resistance R2;The first end and first USB of the first end of the current limiting switch and the resistance R1
Power pins be connected, the second end of the current limiting switch is connected with the first end of the first switch circuit;The resistance R1
The second end be connected with the first end of the resistance R2 and the signal input part of first controller;The of the resistance R2
Two ends are grounded.
4. terminal device according to claim 2, it is characterised in that the first switch circuit includes resistance R3, resistance
R4, resistance R5, triode Q2 and metal-oxide-semiconductor Q1;Second control end phase of the first end of the resistance R3 and first controller
Even;Second end of the resistance R3 is connected with the base stage of the triode Q2;The grounded emitter of the triode Q2, described three
The colelctor electrode of pole pipe Q2 is connected with the first end of the resistance R4 and the first end of the resistance R5;The second of the resistance R4
Hold and be connected with the source electrode of the metal-oxide-semiconductor Q1 and access power supply;The grid phase of second end of the resistance R5 and the metal-oxide-semiconductor Q1
Even;The drain electrode of the metal-oxide-semiconductor Q1 is connected with the second end of the current-limiting circuit.
5. a kind of read-write equipment, it is characterised in that including:Second USB, second controller, triggers circuit,
Second switch circuit and the 3rd on-off circuit;The signal pins of second USB and the triggers circuit
Test side is connected, and the signal input part of the second controller is connected with the feedback end of the triggers circuit, and is touched according to described
The change of the feedback terminal voltage of Power Generation Road is to the 3rd on-off circuit sending signal;
The signal pins of second USB are used for the signal pins phase with the first USB
Even;The data processing end of the second controller is connected to pass through with the data transmission terminal of second USB
Second USB reads and writes data;First control end of the second controller and the second switch circuit
Controlled end be connected, and sending signal controls the break-make of the second switch circuit;Second control end of the second controller
Controlled end with the 3rd on-off circuit is connected, and sending signal controls the break-make of the 3rd on-off circuit;Described second
The first end of on-off circuit accesses power supply, the second end of the second switch circuit and second USB
Power pins are connected;The first end of the 3rd on-off circuit is connected with the second USB power pins,
The second end ground connection of the 3rd on-off circuit.
6. read-write equipment according to claim 5, it is characterised in that the triggers circuit include triode Q3, resistance R6,
Resistance R7 and resistance R8, the first end of the resistance R6 is connected with the signal pins of second USB;Institute
Second end of resistance R6 is stated to be connected with the first end of the base stage of the triode Q3 and the resistance R7;The of the resistance R7
Two ends are connected with the first end of the resistance R8 and access+5V voltages;Second end of the resistance R8 is with the triode Q3's
The signal input part of colelctor electrode and the second controller is connected;The grounded emitter of the triode Q3.
7. read-write equipment according to claim 5, it is characterised in that the second switch circuit includes resistance R9, resistance
R10, resistance R11, triode Q4 and metal-oxide-semiconductor Q5;The first end of the resistance R9 and the first control end of the second controller
It is connected;Second end of the resistance R9 is connected with the base stage of the triode Q4;The grounded emitter of the triode Q4, it is described
The colelctor electrode of triode Q4 is connected with the first end of the resistance R10 and the first end of the resistance R11;The resistance R10
The second end be connected with the source electrode of the metal-oxide-semiconductor Q5 and access power supply;Second end of the resistance R11 is with the metal-oxide-semiconductor Q5's
Grid is connected;The drain electrode of the metal-oxide-semiconductor Q5 is connected with the power pins of second USB.
8. read-write equipment according to claim 5, it is characterised in that the 3rd on-off circuit includes resistance R13, resistance
R12 and triode Q6;The first end of the resistance R13 is connected with the second control end of the second controller, the resistance R13
The second end be connected with the base stage of the triode Q6;The grounded emitter of the triode Q6, the current collection of the triode Q6
Pole is connected with the first end of the resistance R12, the electricity of second end of the resistance R12 and second USB
Source pin is connected.
9. a kind of data transmission system, it is characterised in that will including the terminal device and right described in claim any one of 1-4
Seek the read-write equipment described in any one of 5-8.
10. a kind of hardware initialization method, for the data transmission system described in claim 9, it is characterised in that including:
First controller turns on the first switch circuit, and the switching switch is switched into the conducting downlink port,
The second controller disconnects the second switch circuit and the 3rd on-off circuit;
The second controller receives expression the second USB insertion that the triggers circuit is detected
During the useful signal of first USB, the second controller turns on the 3rd on-off circuit and starts
Timing;
When the power pins of first USB are grounded, the signal input part detection of first controller
It is 0 to input, the switching switch is switched into the conducting uplink port, and disconnect the first switch circuit;
When timing reaches preset duration, the second controller turns on the second switch circuit, disconnects the 3rd switch electricity
Road.
11. methods according to claim 10, it is characterised in that described when timing reaches preset duration, second control
Device processed turns on the second switch circuit, disconnects after the 3rd on-off circuit, also includes:
When the signal input part of first controller detects input is changed into low level from high level, the switching is switched
Switch to the conducting downlink port;
When the second controller receive expression second USB that the triggers circuit detects from
During the useful signal that first USB disconnects, the second controller disconnect the second switch circuit and
3rd on-off circuit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611110061.9A CN106776428B (en) | 2016-12-06 | 2016-12-06 | Terminal device, read-write device, data transmission system and hardware initialization method |
PCT/CN2017/103290 WO2018103417A1 (en) | 2016-12-06 | 2017-09-25 | Terminal apparatus, read-write apparatus, data transmission system and hardware initialization method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611110061.9A CN106776428B (en) | 2016-12-06 | 2016-12-06 | Terminal device, read-write device, data transmission system and hardware initialization method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776428A true CN106776428A (en) | 2017-05-31 |
CN106776428B CN106776428B (en) | 2020-05-08 |
Family
ID=58878341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611110061.9A Active CN106776428B (en) | 2016-12-06 | 2016-12-06 | Terminal device, read-write device, data transmission system and hardware initialization method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106776428B (en) |
WO (1) | WO2018103417A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153626A (en) * | 2017-11-15 | 2018-06-12 | 中国电子科技集团公司第三十二研究所 | USB, serial port multiplexing and safety isolation system |
WO2018103417A1 (en) * | 2016-12-06 | 2018-06-14 | 广州视源电子科技股份有限公司 | Terminal apparatus, read-write apparatus, data transmission system and hardware initialization method |
CN109217847A (en) * | 2018-11-13 | 2019-01-15 | 东莞钜威动力技术有限公司 | A kind of digital output circuit and automobile |
CN111124987A (en) * | 2019-12-30 | 2020-05-08 | 京信通信系统(中国)有限公司 | PCIE-based data transmission control system and method |
CN111309663A (en) * | 2018-12-12 | 2020-06-19 | 浦登有限公司 | Power adapter with dual role ports |
CN112100104A (en) * | 2020-08-05 | 2020-12-18 | 深圳市广和通无线股份有限公司 | Universal serial bus device, system and communication equipment |
CN112313928A (en) * | 2018-06-29 | 2021-02-02 | 华为技术有限公司 | USB seat operation circuit and terminal |
CN113868168A (en) * | 2020-06-30 | 2021-12-31 | 华为技术有限公司 | Chip module, communication system and port distribution method |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109581227A (en) * | 2019-01-24 | 2019-04-05 | 广东科徕尼智能科技有限公司 | A kind of intelligent door lock energy-saving voltage detection circuit |
CN111090605B (en) * | 2019-10-10 | 2023-07-28 | 惠州市德赛西威汽车电子股份有限公司 | USB-to-UART circuit for MCU software upgrade |
CN112165340A (en) * | 2020-10-23 | 2021-01-01 | 杭州海康汽车软件有限公司 | Information transmitting apparatus, information receiving apparatus, and information transmission system |
CN114697144B (en) * | 2020-12-30 | 2023-11-10 | 美的集团股份有限公司 | Communication device, control device and communication equipment |
CN112904122B (en) * | 2021-01-22 | 2024-09-20 | 维沃移动通信有限公司 | Insertion detection circuit and electronic device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040148451A1 (en) * | 2003-01-28 | 2004-07-29 | Ching-Chung Lai | USB controlling apparatus for data transfer between computers and method for the same |
CN101369259A (en) * | 2008-09-05 | 2009-02-18 | 深圳创维数字技术股份有限公司 | Switch control method and apparatus and electronic equipment for USB interface master-salve equipment mode |
CN101989246A (en) * | 2009-07-29 | 2011-03-23 | 鸿富锦精密工业(深圳)有限公司 | Electronic device capable of automatically switching master and slave equipment modes of universal serial bus (USB) |
CN102750248A (en) * | 2012-06-21 | 2012-10-24 | 中兴通讯股份有限公司 | USB (Universal Serial Bus) equipment working mode switching method and USB equipment |
CN105095132A (en) * | 2014-04-30 | 2015-11-25 | 名硕电脑(苏州)有限公司 | Electronic device capable of automatically switching Universal Serial Bus master-slave device modes and operating method of electronic device |
CN105824771A (en) * | 2015-10-28 | 2016-08-03 | 维沃移动通信有限公司 | Electronic device and master-slave switching method and apparatus thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000196986A (en) * | 1998-12-25 | 2000-07-14 | Olympus Optical Co Ltd | Electronic image pickup device |
CN104765705B (en) * | 2015-04-22 | 2017-11-07 | 广东欧珀移动通信有限公司 | Read method, device and a kind of mobile terminal for the mobile terminal stored data do not started shooting |
CN106776428B (en) * | 2016-12-06 | 2020-05-08 | 广州视源电子科技股份有限公司 | Terminal device, read-write device, data transmission system and hardware initialization method |
-
2016
- 2016-12-06 CN CN201611110061.9A patent/CN106776428B/en active Active
-
2017
- 2017-09-25 WO PCT/CN2017/103290 patent/WO2018103417A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040148451A1 (en) * | 2003-01-28 | 2004-07-29 | Ching-Chung Lai | USB controlling apparatus for data transfer between computers and method for the same |
CN101369259A (en) * | 2008-09-05 | 2009-02-18 | 深圳创维数字技术股份有限公司 | Switch control method and apparatus and electronic equipment for USB interface master-salve equipment mode |
CN101989246A (en) * | 2009-07-29 | 2011-03-23 | 鸿富锦精密工业(深圳)有限公司 | Electronic device capable of automatically switching master and slave equipment modes of universal serial bus (USB) |
CN102750248A (en) * | 2012-06-21 | 2012-10-24 | 中兴通讯股份有限公司 | USB (Universal Serial Bus) equipment working mode switching method and USB equipment |
CN105095132A (en) * | 2014-04-30 | 2015-11-25 | 名硕电脑(苏州)有限公司 | Electronic device capable of automatically switching Universal Serial Bus master-slave device modes and operating method of electronic device |
CN105824771A (en) * | 2015-10-28 | 2016-08-03 | 维沃移动通信有限公司 | Electronic device and master-slave switching method and apparatus thereof |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018103417A1 (en) * | 2016-12-06 | 2018-06-14 | 广州视源电子科技股份有限公司 | Terminal apparatus, read-write apparatus, data transmission system and hardware initialization method |
CN108153626A (en) * | 2017-11-15 | 2018-06-12 | 中国电子科技集团公司第三十二研究所 | USB, serial port multiplexing and safety isolation system |
CN108153626B (en) * | 2017-11-15 | 2020-12-01 | 中国电子科技集团公司第三十二研究所 | USB, serial port multiplexing and safety isolation system |
CN112313928B (en) * | 2018-06-29 | 2024-04-05 | 荣耀终端有限公司 | USB seat operation circuit and terminal |
CN112313928A (en) * | 2018-06-29 | 2021-02-02 | 华为技术有限公司 | USB seat operation circuit and terminal |
CN109217847A (en) * | 2018-11-13 | 2019-01-15 | 东莞钜威动力技术有限公司 | A kind of digital output circuit and automobile |
CN111309663A (en) * | 2018-12-12 | 2020-06-19 | 浦登有限公司 | Power adapter with dual role ports |
CN111124987A (en) * | 2019-12-30 | 2020-05-08 | 京信通信系统(中国)有限公司 | PCIE-based data transmission control system and method |
CN111124987B (en) * | 2019-12-30 | 2021-06-22 | 京信通信系统(中国)有限公司 | PCIE-based data transmission control system and method |
CN113868168A (en) * | 2020-06-30 | 2021-12-31 | 华为技术有限公司 | Chip module, communication system and port distribution method |
WO2022002168A1 (en) * | 2020-06-30 | 2022-01-06 | 华为技术有限公司 | Chip module and communication system, and port allocation method |
US12040996B2 (en) | 2020-06-30 | 2024-07-16 | Huawei Technologies Co., Ltd. | Chip module, communication system, and port allocation method |
CN112100104B (en) * | 2020-08-05 | 2022-07-19 | 深圳市广和通无线股份有限公司 | Universal serial bus device, system and communication equipment |
CN112100104A (en) * | 2020-08-05 | 2020-12-18 | 深圳市广和通无线股份有限公司 | Universal serial bus device, system and communication equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106776428B (en) | 2020-05-08 |
WO2018103417A1 (en) | 2018-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106776428A (en) | Terminal device, read-write device, data transmission system and hardware initialization method | |
CN206133546U (en) | Storage device's break -make testing arrangement and system | |
CN101944074B (en) | Method and device for realizing OTG based on USB socket | |
CN202903915U (en) | Intelligent testing instrument of switching value plug-ins | |
CN105353755B (en) | Multi-functional fault injection device based on PXI buses | |
CN208109980U (en) | USB on off test device and its system | |
CN106445863A (en) | Interface circuit | |
CN204576500U (en) | A kind of usb communication circuit of compatible I2C communication and system | |
CN208547675U (en) | A kind of plug test module for USB Type-C interface | |
CN206259950U (en) | A kind of communication bus isolation circuit | |
CN106776183A (en) | A kind of debug circuit, debugging apparatus, modulating system and a kind of electronic equipment | |
CN106936496A (en) | Multiple IIC communication equipments hot plug devices | |
CN106325961A (en) | Burning circuit based on USB interface, virtual reality helmet and MCU firmware burning method | |
CN107645310A (en) | The data transmission device and data transmission method of breaker controller | |
CN102625170B (en) | A kind of can the Set Top Box of plug and play tuning demodulator and method | |
CN105915898B (en) | The AccessPort device and its system of a kind of television set | |
CN204809565U (en) | USB concentrator | |
CN100547873C (en) | A kind of protection circuit for interface signal hot-plug | |
CN110688263B (en) | Application method of hard disk automatic switching device based on FPGA | |
CN107333154A (en) | Separate television control system | |
CN206584273U (en) | SATA and mini PCIE common plug device | |
CN108280037A (en) | A kind of method and apparatus that preemptive type multiplexing serial port automatically switches | |
CN106502911A (en) | Multiple terminals access device | |
CN203520299U (en) | Timer-power-on control circuit | |
CN106569572A (en) | Mainboard and computer control system therewith |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |