CN107426607B - USB docking device and control method thereof - Google Patents

USB docking device and control method thereof Download PDF

Info

Publication number
CN107426607B
CN107426607B CN201610348089.XA CN201610348089A CN107426607B CN 107426607 B CN107426607 B CN 107426607B CN 201610348089 A CN201610348089 A CN 201610348089A CN 107426607 B CN107426607 B CN 107426607B
Authority
CN
China
Prior art keywords
electronic device
signal
usb
video signal
microcontroller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610348089.XA
Other languages
Chinese (zh)
Other versions
CN107426607A (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.)
EAST MASTER INFORMATION Co Ltd
Original Assignee
EAST MASTER INFORMATION 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 EAST MASTER INFORMATION Co Ltd filed Critical EAST MASTER INFORMATION Co Ltd
Priority to CN201610348089.XA priority Critical patent/CN107426607B/en
Publication of CN107426607A publication Critical patent/CN107426607A/en
Application granted granted Critical
Publication of CN107426607B publication Critical patent/CN107426607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Systems (AREA)

Abstract

The embodiment of the invention provides a USB docking device and a control method thereof. The USB docking device comprises a microcontroller, a first signal multiplexer, a second signal multiplexer, a video signal processor and a video signal converter. The first signal multiplexer is used for selecting and outputting a first video signal by a first data signal of the first electronic device. The second signal multiplexer is used for selecting and outputting a second video signal by a second data signal of the second electronic device. The microcontroller controls the video signal processor to perform signal processing on the first video signal or the second video signal according to a first control signal of the first electronic device or a second control signal of the second electronic device. The video signal converter converts the first video signal or the second video signal after signal processing into a video output signal for playing.

Description

USB docking device and control method thereof
Technical Field
The present invention relates to a USB docking apparatus and a control method thereof, and more particularly, to a USB docking apparatus and a control method thereof, which can automatically switch a screen of a first electronic device or a screen of a second electronic device displayed by a connected display device in real time.
Background
As USB interfaces have become the first choice of standard interfaces, the configuration of USB interfaces has become a basic specification requirement for portable devices. The transmission specification of the USB interface has been extended from USB1.0, USB1.1 to USB2.0 and USB3.0, even USB 3.1. Since the USB interface is originally located at an interface between the computer and the peripheral Device, the USB-IF association selects a Master-Slave (Master-Slave) architecture to design the basic architecture of the USB interface, so as to give the Host end (Host) responsibility for the difficult and complicated task, which relatively reduces the difficulty of designing and developing the Device end (Device), and makes it easier for manufacturers to design the Device with the USB interface. Because the USB interface has the characteristics of plug and play and hot plug, the convenience of the USB device suitable for the USB interface is greatly improved, so that the application of the USB device can be seen on peripheral devices of almost all host devices.
In addition, since USB technology is very popular and popular in device connections, in order to meet the ever-evolving design trends, such as: the device size design trend, new USB connects specification USB Type-C to connect and has catered to market demand and established a new basis for USB connects the version in the future. The USB Type-C connector has dimensions of 8.3 x 2.5 mm, which are smaller than the dimensions of the current USB connector of the host device (USB Type-a connector), but larger than the dimensions of the 6.85 x 1.8 mm Micro-USB connector (USB Type-B connector) used by many non-host devices. Since the USB Type-C connector is not compatible with any existing Type, it is necessary to additionally design a switching device for it.
Disclosure of Invention
The embodiment of the invention discloses a USB docking device which is provided with a first USB interface, a second USB interface and at least one video signal output end. The USB docking device comprises a microcontroller, a first signal multiplexer, a second signal multiplexer, a video signal processor and a video signal converter. The microcontroller is connected with the first electronic device and the second electronic device through the first USB interface and the second USB interface respectively. The first signal multiplexer and the second signal multiplexer are both connected to the microcontroller. The video signal processor is connected with the microcontroller, the first signal multiplexer and the second signal multiplexer. The video signal converter is connected to the video signal processor. The microcontroller receives a first control signal of the first electronic device or a second control signal of the second electronic device. Through the first USB interface, the first signal multiplexer receives a first data signal of the first electronic device, and then the first data signal selects and outputs a first video signal. Through the second USB interface, the second signal multiplexer receives a second data signal of the second electronic device, and then the second data signal selects and outputs a second video signal. The video signal processor receives and performs signal processing on the first video signal or the second video signal. And finally, the video signal converter receives and converts the first video signal or the second video signal after signal processing into a video output signal and outputs the video output signal to the video signal output end for playing. The microcontroller controls the video signal processor to perform signal processing on the first video signal or the second video signal according to the first control signal or the second control signal.
In an embodiment of the USB docking device of the present invention, the USB docking device further includes a first power controller and a second power controller. The first power controller is connected between the first signal multiplexer and the first USB interface, and the second power controller is connected between the second signal multiplexer and the second USB interface. The first signal multiplexer and the second signal multiplexer respectively select from the first data signal and the second data signal and output a first power signal and a second power signal, and the first power controller and the second power controller respectively perform power control on the first USB interface and the second USB interface according to the first power signal and the second power signal.
In the USB docking device according to an embodiment of the present invention, the connector specification of the first USB interface and the second USB interface is USB Type-C, and the transmission specification of the first USB interface and the second USB interface is USB 3.1.
In the USB docking device according to an embodiment of the present invention, the first electronic device and the second electronic device are both installed with a predetermined application program, and the first electronic device or the second electronic device transmits the first control signal or the second control signal to the microcontroller through the predetermined application program.
In an embodiment of the USB docking device of the present invention, the USB docking device further includes a manual control interface. The manual control interface is connected with the microcontroller, so that a user can transmit a third control signal to the microcontroller through the manual control interface, and the microcontroller controls the video signal processor to process the first video signal or the second video signal according to the third control signal.
In the USB docking device according to an embodiment of the present invention, if at least one of the first electronic device and the second electronic device is a non-host device, the first electronic device or the second electronic device sends an instruction to the microcontroller through the predetermined application program, and the microcontroller transmits a memory read instruction to the second electronic device or the first electronic device for file transfer according to the instruction.
In the USB docking device according to an embodiment of the present invention, if the first electronic device and the second electronic device are both host devices, the first electronic device or the second electronic device sends a command to the microcontroller through the predetermined application program, and the microcontroller controls the first electronic device or the second electronic device to link to a remote shared disk or a remote shared directory of the first electronic device and the second electronic device according to the command for file transmission.
In the USB docking device according to an embodiment of the present invention, the USB docking device further includes a USB hub connected to the first USB interface, the second USB interface and the microcontroller, wherein if at least one of the first electronic device and the second electronic device is a non-host device, the first electronic device and the second electronic device directly perform file transfer via the USB hub by using a predetermined application program.
The embodiment of the invention also discloses a control method which is suitable for a USB butt joint device, and the USB butt joint device is provided with a first USB interface, a second USB interface and at least one video signal output end. In addition, the USB docking device comprises a microcontroller, a first signal multiplexer, a second signal multiplexer, a video signal processor and a video signal converter, wherein the first signal multiplexer and the second signal multiplexer are connected to the microcontroller, the video signal processor is connected to the microcontroller, the first signal multiplexer and the second signal multiplexer, and the video signal converter is connected to the video signal processor. The control method provided by the embodiment of the invention comprises the following steps: receiving a first data signal output by a first electronic device and a second data signal output by a second electronic device, and respectively selecting and outputting a first video signal and a second video signal from the first data signal and the second data signal; receiving a first control signal output by a first electronic device or a second control signal output by a second electronic device, and performing signal processing on the first video signal or the second video signal according to the first control signal or the second control signal; and converting the first video signal or the second video signal after signal processing into a video output signal and outputting the video output signal to a video signal output end for playing.
In the control method according to an embodiment of the present invention, the control method further includes: respectively selecting and outputting a first power signal and a second power signal from the first data signal and the second data signal; and respectively carrying out power supply control on the first USB interface and the second USB interface according to the first power signal and the second power signal.
In the control method according to an embodiment of the present invention, the connector specification of the first USB interface and the second USB interface is USB type-C, and the transmission specification of the first USB interface and the second USB interface is USB 3.1.
In the control method according to an embodiment of the present invention, the control method further includes: judging whether a first electronic device and a second electronic device are provided with a preset application program or not; if the first electronic device or the second electronic device does not install the preset application program, installing the preset application program on the first electronic device or the second electronic device; the first electronic device or the second electronic device transmits a first control signal or a second control signal to the microcontroller through a preset application program.
In the control method according to an embodiment of the present invention, the control method further includes: and receiving a third control signal output by the manual control interface, and carrying out signal processing on the first video signal or the second video signal according to the third control signal.
In an embodiment of the present invention, if at least one of the first electronic device and the second electronic device is a non-host device, the method further includes: and sending an instruction to the microcontroller through a preset application program, and transmitting a memory reading instruction to the second electronic device or the first electronic device according to the instruction so as to transmit the file.
In the control method according to an embodiment of the present invention, if the first electronic device and the second electronic device are both a host device, the control method further includes: and sending an instruction to the microcontroller through a preset application program, and controlling the first electronic device or the second electronic device to be linked to a remote shared disk or a remote shared directory of the first electronic device and the second electronic device according to the instruction so as to transmit the file.
In the control method according to an embodiment of the present invention, the USB docking device further includes a USB hub. The USB hub is connected with the first USB interface, the second USB interface and the microcontroller. If at least one of the first electronic device and the second electronic device is a non-host device, the control method further comprises: through the preset application program, file transmission between the first electronic device and the second electronic device is directly carried out through the USB hub.
In summary, the USB docking apparatus and the control method thereof according to the embodiments of the present invention can automatically switch the video output signal output by the video signal output terminal in real time. That is to say, the display device connected to the video signal output terminal can switch and display the screen of the first electronic device or the second electronic device in real time and automatically. Furthermore, the USB docking device and the control method thereof provided by the embodiments of the present invention can also perform file transfer between the first electronic device and the second electronic device, such as: and performing storage, reading and backup of the file. In addition, since the USB docking device and the control method thereof provided by the embodiment of the invention use the microcontroller as an intermediary device, even if the first electronic device and the second electronic device are both host devices, the file transfer between the two host devices can be realized only by the USB transmission line, which is very convenient.
For a better understanding of the nature and technical content of the present invention, reference should be made to the following detailed description of the invention and the accompanying drawings, which are provided for illustration purposes only and are not intended to limit the scope of the invention.
Drawings
Fig. 1 is a block diagram illustrating a USB docking device according to an exemplary embodiment of the present invention.
Fig. 2 is a block diagram of a USB docking device according to another exemplary embodiment of the invention.
Fig. 3 is a schematic diagram of a USB docking device according to an exemplary embodiment of the invention.
Fig. 4A and 4B are flowcharts illustrating a control method for a USB docking device according to an exemplary embodiment of the invention.
Detailed Description
Various exemplary embodiments will be described more fully hereinafter with reference to the accompanying drawings, in which some exemplary embodiments are shown. The inventive concept may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are disclosed so that this disclosure will be thorough and complete, and will fully convey the scope of the inventive concept to those skilled in the art. Like numbers refer to like elements throughout.
[ an embodiment of a USB interface device ]
The embodiment provides a USB docking device capable of automatically switching the video output signal output by the video signal output end in real time. Referring to fig. 1, fig. 1 is a block diagram illustrating a USB docking device according to an exemplary embodiment of the invention.
As shown IN FIG. 1, the USB docking device 1 according to the embodiment of the present invention has a first USB interface IN1, a second USB interface IN2, and at least one video signal output terminal OUT. Meanwhile, the USB docking device 1 includes a microcontroller 10, a first signal multiplexer 20a and a second signal multiplexer 20b, a video signal processor 30, and a video signal converter 40. The microcontroller 10 is connected to a first electronic device and a second electronic device (not shown) via a first USB interface IN1 and a second USB interface IN2, respectively. The first signal multiplexer 20a and the second signal multiplexer 20b are connected to the microcontroller 10. The video signal processor 30 is connected to the microcontroller 10, the first signal multiplexer 20a and the second signal multiplexer 20 b. The video signal converter 40 is connected to the video signal processor 30.
In this embodiment, the first electronic device and the second electronic device may be host devices, such as a personal computer or a notebook computer … …, or may be non-host devices, such as a mobile phone or a tablet computer … …. The USB docking device 1 of the present embodiment can automatically switch and display the screen of the first electronic device or the screen of the second electronic device on the external display device in real time. It should be noted that, IN the embodiment, the connector specification of the first USB interface IN1 and the second USB interface IN2 is preferably USB Type-C, and the transmission specification of the first USB interface IN1 and the second USB interface IN2 is preferably USB3.1, but the invention is not limited thereto.
For example, if a user uses a personal computer (for example, the first electronic device) and a tablet computer (for example, the second electronic device) simultaneously during the work, the personal computer and the tablet computer can be connected to the USB docking device 1 through the first USB interface IN1 and the second USB interface IN2, respectively, and the video signal output terminal OUT of the USB docking device 1 is externally connected to a display device. Therefore, the image picture of the personal computer or the tablet computer can be selectively switched and displayed on the external display equipment.
To take the above example, more specifically, after the personal computer and the tablet computer are connected to the USB docking device 1 via the first USB interface IN1 and the second USB interface IN2, respectively, the first signal multiplexer 20a can receive the first data signal of the personal computer through the first USB interface IN1, and then select and output the first video signal from the first data signal. Meanwhile, the second signal multiplexer 20b may also receive the second data signals of the tablet computer through the second USB interface IN2, and then select and output the second video signal from the second data signals.
Then, the microcontroller 10 may receive a first control signal sent by the personal computer or a second control signal of the tablet computer, and control the video signal processor 30 to perform signal processing on the first video signal or the second video signal according to the first control signal or the second control signal. Further, in the embodiment, the personal computer and the tablet computer are installed with a predetermined application program. In practice, for a host device (e.g., a personal computer), the default application is a resident program that runs at the same time when the host device is powered on, and for a non-host device (e.g., a tablet computer), the default application is an application program (APP) that runs in the system context of the device. Through the preset application program, the pc or the tablet pc can transmit the first control signal or the second control signal to the microcontroller 10, so that the microcontroller 10 controls the video signal processor 30 to perform signal processing on the first video signal of the pc or the second video signal of the tablet pc according to the first control signal or the second control signal.
In the above example, the user may actively transmit the first control signal to the microcontroller 10 through a resident program installed in the personal computer, or actively transmit the second control signal to the microcontroller 10 through a mobile software installed in the tablet computer, so that the microcontroller 10 controls the video signal processor 30 to perform signal processing on the first video signal or the second video signal. Finally, the video signal converter 40 receives and converts the first video signal or the second video signal after signal processing into a video output signal, and outputs the video output signal to the video signal output terminal OUT for playing, for example, the video signal converter 40 may be a multiplexer signal converter, but the invention is not limited thereto.
That is, at a time point, when the microcontroller 10 receives the first control signal, the first video signal processed by the video signal converter 40 is controlled, and then the video signal converter 40 converts the first video signal processed by the signal into a video output signal and outputs the video output signal to the video signal output terminal OUT, so that the screen of the personal computer can be displayed on an external display device. At the next time point, when the microcontroller 10 receives the second control signal, it will control the second video signal processed by the video signal converter 40, and then the video signal converter 40 converts the second video signal processed by the signal into a video output signal and outputs the video output signal to the video signal output terminal OUT, so that the image displayed by the external display device is switched from the screen of the personal computer to the screen of the tablet computer.
In addition, the mechanism for outputting the first control signal may be configured such that the first control signal is automatically output to the microcontroller through the resident program when the user operates the mouse pointer or the keyboard on the personal computer. On the other hand, the mechanism for outputting the second control signal may also be set by the user through the mobile software installed in the tablet pc, so that when the user operates the touch pointer, clicks the touch interface, or operates the device button on the tablet pc, the second control signal is automatically output to the microcontroller through the mobile software. Therefore, no matter the user switches to the personal computer or the tablet computer for work, the USB docking device 1 provided in this embodiment can automatically play the screen of the device being used by the user on the external display device in real time, and the user does not need to actively switch additionally. It should be noted that, in the present embodiment, the microcontroller 10 may be, for example, a single-chip microcontroller, which includes a firmware, wherein the firmware corresponds to a predetermined application installed in the first and second electronic devices. That is, the microcontroller 10 processes the received instruction by executing the included firmware, and further sends a memory read instruction to the first and second electronic devices, or controls the first and second electronic devices to link to the remote shared disk or the remote shared directory.
In this embodiment, as shown in fig. 1, the USB docking device 1 may also include a manual control interface 60, such as: a button or an operation interface provided in the USB docking device 1. The manual control interface 60 is connected to the microcontroller 10, and a user operates the manual control interface 60 to transmit a third control signal to the microcontroller 10, so that the microcontroller 10 controls the video signal processor 30 to perform signal processing on the first video signal or the second video signal according to the third control signal. In other words, the user can also manually set the working screen of the personal computer or the tablet computer to be fixedly displayed on the external display device through the manual control interface 60.
In addition, in the embodiment, the USB docking device 1 may further include a first power controller 50a and a second power controller 50 b. Further as shown IN fig. 1, the first power controller 50a is connected between the first signal multiplexer 20a and the first USB interface IN1, and the second power controller 50b is connected between the second signal multiplexer 20b and the second USB interface IN 2. To explain, in the above example, in addition to the first video signal and the second video signal, the first signal multiplexer 20a and the second signal multiplexer 20b also respectively select and output the first power signal and the second power signal from the first data signal and the second data signal. Then, the first power controller 50a and the second power controller 50b respectively perform power control on the first USB interface IN1 and the second USB interface IN2 according to the first power signal and the second power signal.
In this embodiment, the first power controller 50a and the second power controller 50b are respectively connected to a dc-dc power conversion unit (not shown) for receiving an external dc power. It should be noted that the first power controller 50a and the second power controller 50b may be power control chips, and the technical details of the power control chips for controlling the power of the first USB interface IN1 and the second USB interface IN2 should be understood by those skilled IN the art, so that the detailed description thereof is omitted here.
It should be noted that, during the period when the user uses a plurality of electronic devices for work, in addition to automatically switching and displaying the work screens of the electronic devices in use in real time, the USB docking device provided in this embodiment enables the user to perform file transfer between the electronic devices, such as: and performing bidirectional file storage reading and file backup between the devices.
As described above, IN the present embodiment, the USB docking device 1 is connected to the first electronic device and the second electronic device through the first USB interface IN1 and the second USB interface IN2 and the USB transmission line, if neither the first electronic device nor the second electronic device is the host device, or if only one of the first electronic device and the second electronic device is the host device, the first electronic device (or the second electronic device) can send the command to the microcontroller 10 through the predetermined application program, and the microcontroller 10 sends the access command to the second electronic device (or the first electronic device) for file transfer therebetween.
Similarly, if the first electronic device and the second electronic device are both host devices, such as: the first electronic device and the second electronic device are both personal computers, and when a user wants to perform file storage reading or file backup between the electronic devices, the first electronic device (or the second electronic device) sends an instruction to the microcontroller 10 through a preset application program installed. But differently, the microcontroller 10 will control the first electronic device or the second electronic device to link to the remote shared disk or the remote shared directory of the first electronic device and the second electronic device according to the instruction, so that the first electronic device or the second electronic device can perform file transmission between devices through the remote shared disk or the remote shared directory. In other words, in this case, the microcontroller 10 is a relay medium in the file transmission path of the two host devices, and by linking the two host devices to the remote shared disk or the remote shared directory, the USB docking device 1 provided in this embodiment is not limited to the master-slave file transmission, and even in the case where the first electronic device and the second electronic device are both host devices, the file transmission between the two host devices can be realized only by the USB transmission line, which is very convenient.
[ Another embodiment of a USB interface device ]
Referring to fig. 2, fig. 2 is a block diagram of a USB docking device according to another exemplary embodiment of the invention. The components and the operation principles of the USB docking device 2 provided in this embodiment and the USB docking device 1 provided in fig. 1 are substantially the same, and the components and the operation principles that are the same have been described in detail in the foregoing embodiments, so they are not described again here. However, the difference is that IN the present embodiment, the USB docking device 2 further includes a USB hub 70, as shown IN fig. 2, the USB hub 70 is connected to the first USB interface IN1, the second USB interface IN2 and the microcontroller 10.
More specifically, in the embodiment, if both the first electronic device and the second electronic device are not host devices, or if only one of the first electronic device and the second electronic device is a host device, the first electronic device (or the second electronic device) can directly send the command to the second electronic device (or the first electronic device) through the USB hub 70 by using the predetermined application program. The technical details of the file transfer between two non-host devices or between a host device and a non-host device through the USB hub 70 should be understood by those skilled in the art, and will not be described in detail herein.
On the other hand, in the embodiment, if the first electronic device and the second electronic device are both host devices, when a user wants to perform file storage reading or file backup between the electronic devices, the first electronic device (or the second electronic device) sends an instruction to the microcontroller 10 through the installed predetermined application program. According to the instruction, the microcontroller 10 controls the first electronic device or the second electronic device to link to the remote shared disk or the remote shared directory of the first electronic device and the second electronic device, so that the first electronic device or the second electronic device can perform file transfer between devices through the remote shared disk or the remote shared directory.
That is, as in the embodiment shown in fig. 1, the microcontroller 10 in the USB docking device 2 of the present embodiment is also a relay medium in the file transmission path of the two host devices, so that the two host devices can be linked to the remote shared disk or the remote shared directory, and the file transmission between the two host devices is realized only by the USB transmission line, and is not limited to the master-slave file transmission, which is very convenient.
It should be noted that in the embodiment shown in fig. 1, no matter whether the first electronic device and the second electronic device are both non-host devices, only one non-host device, or both host devices, during the file transfer between the devices, the microcontroller 10 in the USB docking device 2 needs to further send a memory/read command according to the received command or to control the device to be linked to the remote shared disk or the remote shared directory. However, in this embodiment, only when the first electronic device and the second electronic device are both host devices and file transfer between the devices is performed, the microcontroller 10 in the USB docking device 2 needs to further control the devices to be linked to the remote shared disk or the remote shared directory according to the received command. In the case that both the first electronic device and the second electronic device are non-host devices, or only one is a non-host device, the file transfer between the devices can be realized through the USB hub 70.
In other words, in actual operation, compared to the microcontroller 10 in the USB docking device 2 shown in fig. 1, the microcontroller 10 in the USB docking device 2 of the present embodiment requires a lower performance threshold specification, thereby providing a better cost advantage.
Referring to fig. 3, fig. 3 is a schematic diagram of a USB docking device according to an exemplary embodiment of the present invention, and the USB docking device 3 in the embodiment shown in fig. 3 can be implemented by the USB docking device 1 or the USB docking device 2 in the embodiments shown in fig. 1 or fig. 2.
As shown in fig. 3, the user only needs to use the electronic devices D1 and D2, such as: the notebook computer, the tablet computer …, etc. are connected to the USB docking device 3 through the first USB interface IN1 and the second USB interface IN2, and can switch on/off the screen of the display device D3 connected to the video signal output terminal OUT through a predetermined application program. In addition, no matter whether the first electronic device D1 and the second electronic device D2 are both non-host devices, only one is non-host devices, or both are host devices, the USB docking device 3 of the present embodiment can enable a user to realize file transfer between the electronic devices D1 and D2 only by a USB cable, without being limited to master-slave file transfer.
[ one embodiment of the control method ]
Referring to fig. 4A and 4B, fig. 4A and 4B are flowcharts illustrating a control method for a USB docking device according to an exemplary embodiment of the invention. The control method provided in this embodiment is suitable for the USB docking device shown in fig. 1 and fig. 2, so please refer to fig. 1 and fig. 2 at the same time.
First, as shown in fig. 4A, the control method provided in the present embodiment is implemented by the following steps. First, in step S410, a first data signal output by the first electronic device and a second data signal output by the second electronic device are received, and then a first video signal and a second video signal are respectively selected and output from the first data signal and the second data signal. Step S420 is to receive a first control signal output by the first electronic device or a second control signal output by the second electronic device, and perform signal processing on the first video signal or the second video signal according to the first control signal or the second control signal. Finally, step S430 is to convert the first video signal or the second video signal after signal processing into a video output signal and output the video output signal to the video signal output terminal for playing.
The control method provided in this embodiment may also include steps S408 and S409 to perform power control of the USB interface. In detail, step S408 is to select and output a first power signal and a second power signal from the first data signal and the second data signal, respectively, and step S409 is to perform power control on the first USB interface and the second USB interface according to the first power signal and the second power signal, respectively.
Furthermore, as described in the embodiment shown in fig. 1 and fig. 2, the USB docking device may further include a manual control interface, and the manual control interface is connected to the microcontroller for a user to switch a screen of the external display device through an actual operation interface or a button, so the control method provided in this embodiment may further include step S440, and step S440 is to receive a third control signal output by the manual control interface and perform signal processing on the first video signal or the second video signal according to the third control signal.
As shown in the embodiment illustrated in fig. 1 and 2, the preset application programs are used to send commands between the electronic devices and between the electronic device and the microcontroller, so that in order to confirm whether the preset application program is installed in the electronic device connected to the USB docking device, the control method provided in this embodiment further includes steps S401 to S403, as shown in fig. 4B.
Specifically, step S401 is to determine whether the first electronic device and the second electronic device have the predetermined application installed, and step S402 is to install the predetermined application on the first electronic device or the second electronic device if the first electronic device or the second electronic device has no predetermined application installed. Finally, in step S403, the first electronic device or the second electronic device transmits the first control signal or the second control signal to the microcontroller through the predetermined application program.
In addition, when the control method of the present embodiment is applied to the USB docking device in the embodiment shown in fig. 1, in order to implement file transmission between the electronic devices, in the present embodiment, if at least one of the first electronic device and the second electronic device is a non-host device, the control method provided in the present embodiment further includes step S404 shown in fig. 4B, and step S404 is to send an instruction to the microcontroller through a predetermined application program, and transmit a store-read instruction to the second electronic device or between the first electronic devices according to the instruction to perform file transmission. If the first electronic device and the second electronic device are both host devices, the control method provided in this embodiment further includes step S405 shown in fig. 4B, where step S405 is to send an instruction to the microcontroller through a preset application program, and the microcontroller controls the first electronic device or the second electronic device to link to the remote shared disk or the remote shared directory of the first electronic device and the second electronic device according to the instruction, so as to perform file transmission.
On the other hand, when the control method of the embodiment is applied to the USB docking device in the embodiment shown in fig. 2, since the USB docking device in the embodiment shown in fig. 2 further includes the USB hub, and the USB hub is connected to the first USB interface, the second USB interface and the microcontroller, in order to implement the file transfer between the electronic devices, in this embodiment, if at least one of the first electronic device and the second electronic device is a non-host device, the control method provided in this embodiment further includes step S406 shown in fig. 4B, and step S406 is to directly perform the file transfer between the first electronic device and the second electronic device through the USB hub by using a preset application program.
[ possible effects of the embodiment ]
In summary, the USB docking apparatus and the control method thereof according to the embodiments of the present invention can automatically switch the video output signal output by the video signal output terminal in real time. That is to say, the display device connected to the video signal output terminal can switch and display the screen of the first electronic device or the second electronic device in real time and automatically. Furthermore, the USB docking device and the control method thereof provided by the embodiments of the present invention can also perform file transfer between the first electronic device and the second electronic device, such as: and performing storage, reading and backup of the file. In addition, since the USB docking device and the control method thereof provided by the embodiment of the invention use the microcontroller as an intermediary device, even if the first electronic device and the second electronic device are both host devices, the file transfer between the two host devices can be realized only by the USB transmission line, which is very convenient.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention.

Claims (16)

1. A USB docking device having a first USB interface, a second USB interface and at least one video signal output port, the USB docking device comprising:
the microcontroller is connected with a first electronic device and a second electronic device through the first USB interface and the second USB interface respectively and receives a first control signal of the first electronic device or a second control signal of the second electronic device;
the first signal multiplexer is connected with the microcontroller and is connected with the first electronic device through the first USB interface, receives a first data signal of the first electronic device and outputs a first video signal of the first electronic device from the first data signal;
the second signal multiplexer is connected with the microcontroller and is connected with the second electronic device through the second USB interface, receives a second data signal of the second electronic device and outputs a second video signal of the second electronic device from the second data signal;
a video signal processor connected to the microcontroller, the first signal multiplexer and the second signal multiplexer for receiving and processing the first video signal or the second video signal; and
a video signal converter connected to the video signal processor for receiving the first video signal or the second video signal after signal processing, converting the first video signal or the second video signal into a video output signal and outputting the video output signal to the video signal output terminal for playing;
wherein, the microcontroller controls the video signal processor to process the first video signal or the second video signal according to the first control signal or the second control signal.
2. The USB docking device of claim 1, further comprising:
the first power controller is connected between the first signal multiplexer and the first USB interface, and the second power controller is connected between the second signal multiplexer and the second USB interface;
the first signal multiplexer outputs a first power signal from the first data signal, the second signal multiplexer outputs a second power signal from the second data signal, the first power controller performs power control on the first USB interface according to the first power signal, and the second power controller performs power control on the second USB interface according to the second power signal.
3. The USB docking device as claimed in claim 1, wherein the connector specification of the first USB interface and the second USB interface is USB Type-C, and the transmission specification of the first USB interface and the second USB interface is USB 3.1.
4. The USB docking device as claimed in claim 1, wherein the first electronic device and the second electronic device are installed with a predetermined application program, and the first electronic device or the second electronic device transmits the first control signal or the second control signal to the microcontroller through the predetermined application program.
5. The USB docking device as claimed in claim 1, further comprising a manual control interface connected to the microcontroller for a user to transmit a third control signal to the microcontroller via the manual control interface, so that the microcontroller controls the video signal processor to perform signal processing on the first video signal or the second video signal according to the third control signal.
6. The USB docking device according to claim 4, wherein if at least one of the first electronic device and the second electronic device is a non-host device, the first electronic device or the second electronic device sends a command to the microcontroller via the predetermined application program, and the microcontroller controls the second electronic device and the first electronic device to perform file transfer via a USB hub according to the command, wherein the USB hub is connected to the first USB interface and the second USB interface is connected to the microcontroller.
7. The USB docking device according to claim 4, wherein if the first electronic device and the second electronic device are both a host device, the first electronic device or the second electronic device sends a command to the microcontroller through the predetermined application program, and the microcontroller controls the first electronic device or the second electronic device to link to a remote shared disk or a remote shared directory shared by the first electronic device and the second electronic device according to the command for file transfer.
8. The USB docking device as claimed in claim 7, further comprising a USB hub connected to the first USB interface, the second USB interface and the microcontroller, wherein if at least one of the first electronic device and the second electronic device is a non-host device, the first electronic device and the second electronic device directly perform file transfer via the USB hub by the predetermined application.
9. A control method is suitable for a USB butt-joint device, the USB butt-joint device has a first USB interface, a second USB interface and at least a video signal output end, and the USB butt-joint device includes a microcontroller, a first signal multiplexer and a second signal multiplexer, a video signal processor and a video signal converter, wherein the first signal multiplexer and the second signal multiplexer connect to the microcontroller, the video signal processor connects to the microcontroller, the first signal multiplexer and the second signal multiplexer, and the video signal converter connects to the video signal processor, characterized in that, the control method includes:
receiving a first data signal output by a first electronic device at the first signal multiplexer, receiving a second data signal output by a second electronic device at the second signal multiplexer, outputting a first video signal of the first electronic device from the first data signal by the first signal multiplexer, and outputting a second video signal of the second electronic device from the second data signal by the second signal multiplexer;
receiving a first control signal output by the first electronic device or a second control signal output by the second electronic device at the microcontroller, and controlling the video signal processor to perform signal processing on the first video signal or the second video signal by the microcontroller according to the first control signal or the second control signal; and
the video signal converter converts the first video signal or the second video signal after signal processing into a video output signal and outputs the video output signal to the video signal output end for playing.
10. The control method of claim 9, further comprising:
the first signal multiplexer outputs a first power signal from the first data signal, and the second signal multiplexer outputs a second power signal from the second data signal; and
the first power controller controls the first USB interface according to the first power signal, and the second power controller controls the second USB interface according to the second power signal.
11. The method as claimed in claim 9, wherein the connector specification of the first USB interface and the second USB interface is USB Type-C, and the transmission specification of the first USB interface and the second USB interface is USB 3.1.
12. The control method of claim 9, further comprising:
judging whether a preset application program is installed on the first electronic device and the second electronic device; and
if the first electronic device or the second electronic device does not install the preset application program, installing the preset application program on the first electronic device or the second electronic device;
wherein, the first electronic device or the second electronic device transmits the first control signal or the second control signal to the microcontroller through the preset application program.
13. The control method as claimed in claim 9, wherein the USB docking device further comprises a manual control interface, and the manual control interface is connected to the microcontroller, the control method further comprising:
and receiving a third control signal output by the manual control interface, and carrying out signal processing on the first video signal or the second video signal according to the third control signal.
14. The method of claim 12, further comprising, if at least one of the first electronic device and the second electronic device is a non-host device:
and sending an instruction to the microcontroller through the preset application program, and controlling the second electronic device and the first electronic device to transmit files through a USB hub according to the instruction, wherein the USB hub is connected with the first USB interface and the second USB interface and is connected with the microcontroller.
15. The method as claimed in claim 12, further comprising, if the first electronic device and the second electronic device are both a host device:
and sending an instruction to the microcontroller through the preset application program, and controlling the first electronic device or the second electronic device to link to a remote shared disk or a remote shared directory shared by the first electronic device and the second electronic device according to the instruction so as to transmit files.
16. The method according to claim 15, wherein the USB docking device further includes a USB hub connected to the first USB interface, the second USB interface and the microcontroller, and wherein if at least one of the first electronic device and the second electronic device is a non-host device, the method further comprises:
and directly transmitting the file between the first electronic device and the second electronic device through the USB hub by the preset application program.
CN201610348089.XA 2016-05-23 2016-05-23 USB docking device and control method thereof Active CN107426607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610348089.XA CN107426607B (en) 2016-05-23 2016-05-23 USB docking device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610348089.XA CN107426607B (en) 2016-05-23 2016-05-23 USB docking device and control method thereof

Publications (2)

Publication Number Publication Date
CN107426607A CN107426607A (en) 2017-12-01
CN107426607B true CN107426607B (en) 2020-03-27

Family

ID=60422067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610348089.XA Active CN107426607B (en) 2016-05-23 2016-05-23 USB docking device and control method thereof

Country Status (1)

Country Link
CN (1) CN107426607B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI737173B (en) * 2020-02-13 2021-08-21 東碩資訊股份有限公司 Docking station and control method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276570A (en) * 2007-03-29 2008-10-01 三星电子株式会社 Display apparatus for displaying video input through various ports
CN101551707A (en) * 2008-03-31 2009-10-07 宏正自动科技股份有限公司 Switch and method capable of transmitting image signals to universal serial bus displayer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201312543A (en) * 2011-09-02 2013-03-16 Askey Technology Jiangsu Ltd Display device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101276570A (en) * 2007-03-29 2008-10-01 三星电子株式会社 Display apparatus for displaying video input through various ports
CN101551707A (en) * 2008-03-31 2009-10-07 宏正自动科技股份有限公司 Switch and method capable of transmitting image signals to universal serial bus displayer

Also Published As

Publication number Publication date
CN107426607A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
US9723358B1 (en) USB docking station and control method thereof
CN107111588B (en) Data transfer using PCIe protocol via USB port
US20070255885A1 (en) System and method for universal serial bus hub port reversal
US20090234998A1 (en) Connection system
JP2008192123A (en) Storage device automatically switching interface
JP2005339067A (en) Electronic apparatus, its control method, information processing device, and computer program
KR101416193B1 (en) Universal serial bus memory device and method for manufacuring thereof
US20120110235A1 (en) Wire control device and electronic device using the same
JP2012108884A (en) Communication control unit and control method thereof
KR20100002943A (en) Usb device and method to recognize usb mode of the same
US11797470B2 (en) Electronic device and control method thereof
KR20190043015A (en) An electronic device having a plurality of displays and control method
TWI603200B (en) Usb docking station and control method thereof
TWI545438B (en) Computer management system and method thereof
CN107426607B (en) USB docking device and control method thereof
CN103310605A (en) Remote controller, system and data sharing method based on remote controller
CN101551707A (en) Switch and method capable of transmitting image signals to universal serial bus displayer
US20080036918A1 (en) Audio Control System Applied for Television and Method Thereof
US20120036294A1 (en) Computer integrated display integrated display and control method of the same
CN209015704U (en) A kind of interface circuit and display equipment
KR101305704B1 (en) Open-user type electronic board system having embedded os capable of supporting other computing apparatus with different os
KR20030057250A (en) USB Camera System with Host Function
CN209170528U (en) A kind of signal processing apparatus
CN219039744U (en) Projector debugging tool and debugging system
TW201333703A (en) Host device display device and data transmission method thereof

Legal Events

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