The invention content is as follows:
the present invention provides a method and a system for transmitting data between different USB host devices, so as to solve the deficiencies of the prior art.
The invention is implemented by the following technical scheme: the first USB device and the second USB device are connected through a USB bridge chip to transmit data, and the first USB device and the second USB device are controlled by a display main control chip to display pictures on the touch display screen;
when the display main control chip receives a touch control signal through the touch display screen, the USB bridge chip switches a cursor or touch operation to the USB equipment corresponding to the touch control signal;
the display main control chip controls the touch display screen to display pictures, the first USB device sets the left side of the picture as a boundary, the second USB device sets the upper side of the picture as a boundary, when the first USB device is dragged or moved leftwards, the first USB device exceeds the left side frame, the USB host device is switched to the second USB device at the moment, and dragged icons enter the second USB device from the upper side of the second USB device; otherwise, the icon is dragged upwards from the second USB device and exceeds the upper border, and the dragged icon enters the first USB device from the left side of the first USB device.
Preferably, in the PIP mode, the main picture on the touch display screen displays a signal of the first USB device, that is, a first USB device display area; the sub-screen displays a signal of the second USB device, i.e., a second USB device display area.
Preferably, when the PIP mode is turned on, the display main control chip reports the position coordinate of the PIP to the USB bridge chip, and the USB bridge chip sets the position coordinate of the PIP as a boundary.
Preferably, when both the two pictures in the PIP mode are vertical screens, the display main control chip inverts coordinates of the PIP position and then reports the inverted coordinates to the USB bridge chip.
The invention also provides a system for transmitting data between different USB host devices, which comprises:
the display comprises a first USB device, a second USB device, a USB bridge chip, a display main control chip and a touch display screen, wherein the first USB device and the second USB device are connected with the display main control chip, the first USB device and the second USB device are connected with each other through the USB bridge chip, and the display main control chip is connected with the touch display screen.
Preferably, the first USB device and the second USB device include, but are not limited to, a desktop, a laptop, a mobile phone, and a tablet.
Preferably, the USB bridge chip is an OTI2211 chip.
Preferably, the display main control chip is an RTD2797 chip.
Preferably, the USB bridge chip is embedded in a motherboard where the display main control chip is located.
The invention has the advantages that:
according to the invention, when people use different devices, data can be mutually transmitted between different devices of different systems or different devices of the same system through the USB in a dragging and moving mode, so that the operation flow is simplified and the operation of a user is facilitated.
The specific implementation mode is as follows:
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
As shown in fig. 1 and 3, the present invention provides a method for transmitting data between different USB host devices, wherein a first USB device and a second USB device are connected to each other through a USB bridge chip for transmitting data, and the first USB device and the second USB device are controlled by a display main control chip to perform screen display on a touch display screen; when the display main control chip receives a touch signal through the touch display screen, the USB bridge chip switches the cursor or touch operation to the USB device corresponding to the touch signal.
The first USB device and the second USB device include, but are not limited to, a desktop, a laptop, a mobile phone, and a tablet. The USB bridge chip is an OTI2211 chip, USB devices are connected together through the OTI2211, and the OTI2211 can be used as a cache to move data among different devices. The display main control chip is an RTD2797 chip, and can realize multi-picture display and vertical screen display.
RTD2797 point PIP picture, support picture vertical screen mode and touch function, OTI2211 is embedded in RTD 2797's mainboard, connects two USB host computer equipment. The two host devices are installed with drivers according to different systems, such as non-windows systems, which must specify folder paths for mutual data transmission according to prompts. Two USB devices are connected by OTI2211 and are equipped with drives.
In the PIP mode, a main picture on a touch display screen displays a signal of a first USB device, namely a display area of the first USB device; the sub-screen displays a signal of the second USB device, i.e., a second USB device display area. When the PIP mode is turned on, the display main control chip RTD2797 reports the position coordinates of the PIP to the USB bridge chip OTI2211, and the USB bridge chip OTI2211 sets the position coordinates of the PIP as a boundary. If two pictures in the PIP mode are vertical screens, the display main control chip RTD2797 reverses the coordinates of the PIP position and reports the coordinates to the USB bridge chip OTI 2211.
When the touch moves across the boundary, the OTI2211 will switch the mouse or touch to the corresponding USB host device. When a user drags the mobile file to another window in a touch mode, if the USB host corresponding to the other window is a windows system, the file can be placed at the target position of the user; in the case of a non-windows system, the file-defined folder, the OTI2211, can be used for switching and touching to the corresponding USB host device and caching in the data transfer process. If the user uses a mouse or other USB control equipment, the corresponding function can be completed.
Example 2
As shown in fig. 1 and 2, the present invention provides a method for transmitting data between different USB host devices, wherein a first USB device and a second USB device are connected to each other through a USB bridge chip to transmit data therebetween, and the first USB device and the second USB device are controlled by a display main control chip to perform screen display on a touch display.
The first USB device and the second USB device include, but are not limited to, a desktop, a laptop, a mobile phone, and a tablet. The USB bridge chip is an OTI2211 chip, USB devices are connected together through the OTI2211, and the OTI2211 can be used as a cache to move data among different devices. The display main control chip is an RTD2797 chip, and can realize multi-picture display and vertical screen display.
The OTI2211 is embedded in the display device, the input signal source is a first USB device, another second USB device is connected to the OTI2211 through USB, and a corresponding driver is installed.
As shown in fig. 2, the display main control chip controls the touch display screen to display a picture, a boundary is set in the corresponding driver, the first USB device sets the left side of the picture as the boundary, the second USB device sets the upper side of the picture as the boundary, when the first USB device is dragged or moved to the left, the first USB device exceeds the left side frame, the USB host device is switched to the second USB device, and the dragged icon enters the second USB device from the upper side of the second USB device; otherwise, if the icon is dragged upwards from the second USB device and exceeds the upper border, the dragged icon enters the first USB device from the left side of the first USB device.
When a user moves or drags a file from one device to another device across boundaries, file transmission between different devices of different systems can be realized by taking a display device as a medium. For example, the first USB device may be regarded as a mobile phone, the second USB device may be regarded as a notebook, and the connection mode is: the mobile phone lights the display device with TypeC's signal, and USB in TypeC directly connects OTI2211, and the notebook is connected with OTI2211 through USB.
Example 3
As shown in fig. 1, the present invention further provides a system for transmitting data between different USB host devices, including:
first USB equipment 1, second USB equipment 2, USB bridge chip 3, display main control chip 4 and touch display screen 5, display main control chip 4 is all connected to first USB equipment 1, second USB equipment 2, and first USB equipment 1, second USB equipment 2 pass through USB bridge chip 3 interconnect, and display main control chip 4 and touch display screen 5 are connected.
The first USB device 1 and the second USB device 2 include, but are not limited to, a desktop, a laptop, a mobile phone, and a tablet.
The USB bridge chip 3 is an OTI2211 chip, USB devices are connected together through the OTI2211, and the OTI2211 can be used as a buffer to move data among different devices.
The display main control chip 4 is an RTD2797 chip, and can realize multi-picture display and vertical screen display.
USB bridge chip OTI2211 is embedded on display main control chip RTD2797 place mainboard, and RTD2797 can report the position coordinate of PIP picture to OTI2211, and OTI2211 can correspond the coordinate equipment border with the PIP picture frame under the PIP picture, and the effect on border with cross the host computer equipment that OTI2211 switched USB or touched when the border.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.