The present invention relates to a switching method and related electronic system, and more particularly, to a switching method and related electronic system capable of enhancing operating efficiency.
To enhance hardware compatibility and system flexibility, most conventional computer systems use the universal serial bus (USB) transmission technique to connect with different input devices (such as keyboard, mouse, writing pad, etc.) and storage devices. The USB transmission technique may be utilized for connections between different devices and for data transmission, such that the computer system may integrate transmission interfaces to reduce extra hardware configurations.
In addition, when a user needs to manipulate and switch among multiple computer systems, a conventional manner is using a keyboard video mouse (KVM) switch coupled to the multiple computer devices, an input device, a storage device and a display device, so as to switch the input device, the storage device and the display device to a selected computer device at a time. In such a situation, the switching operation must be performed under a condition that the USB interfaces are all idle, i.e., the storage device does not exchange data. If the storage device is exchanging data while the user wants to switch the selected computer device, the user must stop exchanging data manually or via a standard process, which may reduce operating efficiency; moreover, if the connection between the storage device and the computer device is forcedly stopped, data integrity and lifetime of the storage device may be damaged.
Therefore, there is a need to improve over the prior art.
It is therefore a primary objective of the present invention to provide a switching method and related electronic system capable of reducing system idle and enhancing operating efficiency, so as to improve the prior art.
In an aspect, the present invention provides a switching method, for a display device, wherein the display device is coupled to a first computer device, an input device and a storage device, the input device controls the first computer device via the display device, and the storage device exchanges data with the first computer device via the display device. The switching method comprises when a user instructs to switch the first computer device through an input signal generated by the input device, switching the input device from controlling the first computer device to controlling a second computer device, and determining whether the storage device is exchanging data with the first computer device; and when the storage device is not exchanging data with the first computer device, switching the storage device from connecting with the first computer device to connecting with the second computer device.
In another aspect, the present invention provides an electronic system, comprising at least a computer device, configured to perform computing operations; an input device, coupled to the at least a computer device, configured to receive operations of a user to generate an input signal for controlling the at least a computer device; a storage device, coupled to the at least a computer device, configured to exchange data with the at least a computer device; and a display device, coupled to the at least a computer device and the input device, the display device comprising a universal serial bus (USB) multiplexer, coupled to the at least a computer device, the input device and the storage device; and a processing unit, coupled to the input device and the universal serial bus multiplexer, configured to control operations of the USB multiplexer according to the input signal of the input device; wherein when the user instructs to switch a first computer device of the at least a computer device through the input signal generated by the input device, the processing unit controls the USB multiplexer to switch the input device from controlling the first computer device of the at least a computer device to controlling a second computer device of the at least a computer device, and determines whether the storage device is exchanging data with the first computer device; and when the storage device is not exchanging data with the first computer device, the processing unit controls the USB multiplexer to switch the storage device from connecting with the first computer device to connecting with the second computer device.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used in the following description and claims to refer to particular components. Those skilled in the art will appreciate, manufacturers may use different terms to refer to a component. This document does not intend to follow the difference component distinguished name as a way to differentiate components but functionally distinguished as a criterion. Mentioned in the following description and claims the terms “include” or “comprising” is an open-ended fashion, and thus should be interpreted to mean “including/include but not limited to.” Except, “coupled” are intended to mean either an indirect or direct electrical connection. Accordingly, described herein if a device is coupled to a second device, said first means represents may be directly electrically connected to said second means, or by connecting to other devices or indirectly electrically connected to said first means second means.
Please refer to
Specifically, the computer device controlled by the user through the input device 12 is identical to the computer device exchanging data with the storage device 14. In such a situation, since operations of exchanging data should be consecutive and with no interrupt, to avoid reducing efficiency or damaging the storage device 14, the embodiment of the present invention respectively switches peripheral devices corresponding to the USB 2.0 transmission standard and the USB 3.0 transmission standard, such that the input device 12 and the storage device 14 are respectively switched. For example, when the user intends to switch the selected computer device from the computer device PC1 to the computer device PC2, but the storage device 14 is exchanging data with the computer device PC1, the electronic system 1 of the embodiment may first switch the input device 12 to connect with the computer device PC2, so as to control the computer device PC2 and decrease idle time; then, after the storage device 14 finishes exchanging data with the computer device PC1, the electronic system 1 switches the storage device 14 to connect with the computer device PC2, to finish the switching operation. In other words, the electronic system 1 may separately switch the peripheral devices corresponding to USB 2.0 and USB 3.0. When the user instructs to trigger the switching operation, the electronic system 1 immediately switches the input device 12 connecting with the USB 2.0 interface, and switches the storage device 14 connecting with the USB 3.0 interface after the data exchanging operation is finished, so as to reduce waiting time, prevent incomplete data transmission and protect the storage device 14, thereby enhancing operating efficiency of the electronic system 1 and prolonging lifetime of the storage device 14.
The display device 10 includes a USB multiplexer 100, a panel 102 and a processing unit 104. The USB multiplexer 100 is coupled to the input device 12, the storage device 14 and the computer devices PC1-PCn, for switching connections among the input device 12, the storage device 14 and the computer devices PC1-PCn. The panel 102 is coupled to the processing unit 104, for displaying images of the selected computer device. The processing unit 104 is coupled to the input device 12, the storage device 14 and the computer devices PC1-PCn, for receiving the input signal Si instructed by the user, and accordingly determining whether the input device 12 instructs to switch the selected computer device. When the input signal Si indicates to switch the selected computer device, the processing unit 104 first determines whether the storage device 14 is exchanging data, and accordingly indicates the switching method of the USB multiplexer 100, such that the input device 12 can timely switch the connection, and the data exchanging operation of the storage device 14 is not affected. Moreover, the processing unit 104 is further utilized for receiving images of the computer devices PC1-PCn and selectively transmitting to the panel 102 for follow-up displaying, such that the user may manipulate the selected computer device based on the images displayed by the panel 102.
Note that, the processing unit 104 may be a microprocessor (MCU), an application-specific integrated circuit (ASIC) or a video signal scaler, for processing image signals transmitted by the computer devices, and adjusting the image signals to display on the panel 102. Moreover, the USB multiplexer 100 may include multiple USB multiplexers corresponding to different standards/specifications, and the different USB multiplexers may be serially or parallel connected and integrated as the USB multiplexer 100, such that the display device 10 may follow the USB 2.0 standard to connect the input device 12, and follow the USB 3.0 standard to connect the storage device 14. In another aspect, according to various applications or design requirements, the input device 12 may be an independent device separated from the display device 10 and operated by the user, such as a keyboard, a mouse, a remote control device, a writing pad, a motion sensing camera, a motion sensing grip, etc. Alternatively, the input device 12 may be integrated in the display device 10, such as a touch panel, control pads disposed on the display device 10, etc. As long as the user may use the input device 12 to manipulate the selected computer device without extra hardware device and connect the input device 12 and the electronic system 1 via USB 2.0 to ensure that the electronic system 1 can receive the input signal Si generated by the input device 12, the input device 12 may be implemented by various devices or circuits. In addition, as shown in
Please refer to
Step 200: Start.
Step 202: When the user instructs to switch the computer devices PC1-PCn through the input signal Si generated by the input device 12, the processing unit 104 controls the USB multiplexer 100 to switch the input device 12 from controlling the computer device PCx to controlling another computer device PCy selected by the user, and determines whether the storage device 14 is exchanging data with the computer device PCx.
Step 204: When the storage device 14 is not exchanging data with the computer device PCx, the processing unit 104 controls the USB multiplexer 100 to switch the storage device 14 from connecting with the computer device PCx to connecting with the computer device PCy.
Step 206: End.
In Step 202, the user uses the input device 12 to generate the input signal Si for controlling the computer device PCx, and exchanges data between the storage device 14 and the computer device PCx. When the user instructs to change the selected computer device to the computer device PCy though the input signal Si, the processing unit 104 accordingly instructs the USB multiplexer 100 to switch connection of the input device 12, i.e. from connecting with the computer device PCx to connecting with the computer device PCy. Next, the processing unit 104 determines whether the storage device 14 is exchanging data with the computer device PCx, to selectively switch connection between the storage device 14 and the computer device PCx. In detail, when the processing unit 104 determines that the storage device 14 is exchanging data with the computer device PCx, the processing unit 104 does not switch the connection between the storage device 14 and the computer device PCx. When the processing unit 104 determines that the storage device 14 is not exchanging data with the computer device PCx, the processing unit 104 executes Step 204, and the USB multiplexer 100 switches the storage device 14 from connecting with the computer device PCx to connecting with the computer device PCy according to indication of the processing unit 104. As a result, the display device 10 of the embodiment of the present invention switches the input device 12 and the storage device 14 to connect with the selected computer device, wherein the input device 12 is timely switched without intervention of the data exchanging operation of the storage device 14, while the data exchanging operation of the storage device 14 is kept unchanged. In short, the electronic system 1 of the embodiment uses the processing unit 104 to determine whether the storage device 14 is exchanging data, instructs the USB multiplexer 100 to switch connection, and allows the input signal Si generated by the input device 12 to timely switch to the selected computer device via the USB multiplexer 100, thereby reducing system idle, keeping data integrity and protecting the storage device 14, to enhance the operating efficiency and prolong the lifetime of the storage device 14.
Furthermore, in
In conclusion, the electronic system 1 of the embodiment may respectively switch the input device 12 applying the USB 2.0 specification and the storage device 14 applying the USB 3.0 specification, such that the input device 12 may timely switch to control the computer device selected by the user and may not be affected by data exchanging operations of the storage device 14. Therefore, the electronic system 1 of the embodiment can effectively reduce system idle, prevent breakage of the exchanged data and protect the storage device 14, so as to enhance operating efficiency and prolong lifetime of the storage device 14.
Note that, the above embodiments are utilized for illustrating the concept of the present invention, and those skilled in the art may accordingly make modifications. For example, in Step 20 of the process 20, the processing unit starts to determine whether the storage device is exchanging data after switching the input device. However, the processing sequence of the processing unit is not limited thereto. In Step 202, the processing unit 104 may first determine whether the storage device is exchanging data, and then instruct the USB multiplexer to simultaneously switch the input device and the storage device to connect with the selected computer device according to the determining result. Or, the processing unit 104 may instruct the USB multiplexer to switch the input device to connect with the selected computer device first, and switch the storage device to connect with the selected computer device after the storage device completes the data exchanging operations. As long as the processing unit switches the connection of the input device applying the USB 2.0 specification when the storage device is exchanging data, and then switches the connection of the storage device applying the USB 3.0 specification after the storage device finishes the data exchanging operations, related alternations are within the scope of the present invention.
In addition, please refer to
In the prior art, when the user switches the USB 2.0 input device, the switching operation is affected by the USB 3.0 storage device. That is, if the USB 3.0 storage device is exchanging data, the user cannot switch the input device to control the selected computer device. Therefore, the conventional electronic system must wait for the USB 3.0 storage device to complete the data exchanging operation, or the user has to forcedly stop the data exchanging operation, and then the USB 2.0 input device can be switched. If the user waits for the completion of the data exchanging operation to switch the input device, the system idle occurs and the operating efficiency is reduced. If the user forcedly stops the data exchanging operation to switch the input device and the storage device, data integrity and hardware lifetime may be damaged. In comparison, the electronic system of the present invention connects the display device to the input device, the storage device and the computer device, timely switches the input device of USB 2.0 when the user indicates to switch the computer device, and then switches the storage device of USB 3.0 when the storage device finishes the data exchanging operation. Therefore, the electronic system of the present invention can timely switch the input device to reduce system idle, keep data integrity and prevent the storage device, so as to enhance the operating efficiency and prolong the lifetime of the storage device.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
107125098 | Jul 2018 | TW | national |