Intelligent USB control system based on IO multiplexing

By adopting IO multiplexing technology in the intelligent USB control system, an intelligent USB control system that multiplexes I/O ports is designed, which solves the problems of excessive I/O resource usage and poor synchronization in the existing technology, and achieves more efficient I/O resource utilization and more stable USB bus switching.

CN222914200UActive Publication Date: 2025-05-27XIAN JIXIANG TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421797331.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2025-05-27
Estimated Expiration
2034-07-26

AI Technical Summary

Technical Problem

The existing intelligent USB control system has problems such as excessive I/O resource usage, poor anti-interference ability, poor synchronization and high risk of misidentification in multi-system devices.

Method used

Using an intelligent USB control system based on IO multiplexing, the first USB switch and the second USB switch are designed to connect to the main control module through the multiplexing I/O port. Only one I/O interface is required to realize the switching of the USB bus between two different main control modules, reducing the I/O resource requirements.

Benefits of technology

It has achieved the reduction of I/O resource requirements, improved the system's anti-interference ability, reduced risks such as false triggering, non-identification and false recognition, and ensured the synchronization of USB bus signal switching and improved transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222914200U_ABST
    Figure CN222914200U_ABST
Patent Text Reader

Abstract

The utility model provides an intelligent USB control system based on IO multiplexing. The intelligent USB control system comprises a first USB switch, a second USB switch, a first main control module and a second main control module. The first USB switch and the second USB switch are respectively connected with the first main control module and the second main control module; the first main control module comprises an I / O-1 interface; and the I / O-1 interface is respectively connected with the first USB switch and the second USB switch. According to the utility model, the switching function can be realized by occupying at most two I / O ports, the anti-interference capability of the system is improved by reducing the occupation of I / O resources of the system, and the risks of false triggering and false identification are reduced; and meanwhile, the synchronism during the switching of the USB2.0 bus and the USB3.0 bus can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of USB, in particular to an intelligent USB control system based on IO multiplexing. Background Art

[0002] For multi-system devices (such as an integrated device that includes both the Andriod system and the windows system, or other domestic systems), the USB ports on such devices need to be intelligently designed. The so-called intelligent USB design means that when a USB peripheral is plugged into this USB interface, when the user switches the operating system, the USB peripheral can automatically switch to the current operating system. That is to say, this USB port is not a single-function interface that is only valid under a certain system and invalid when switched to another system.

[0003] Based on the above requirements, when designing the intelligent USB interface of a multi-system integrated device, how to ensure that the USB peripheral can be successfully loaded after switching the system is the key to the design. Because if the design is improper, it will cause the USB peripheral not to be recognized or the USB peripheral not to work in the best bus mode (for example, a USB3.0 device only works in the USB2.0 mode, resulting in a decrease in transmission efficiency) after the user switches the system.

[0004] Currently, most intelligent USB solutions in the industry adopt the design of a USB2.0 bus switch (Switch chip) + a USB3.x bus switch (Switch chip). That is, when the user switches the system, the channel switching of the Switch chip is controlled by multiple different I / O ports of the main control chip of the whole machine to achieve synchronous switching of the Switch chip. As Figure 1 shown, taking the intelligent USB switching system of a 1-to-4 switch Switch as an example for illustration, it uses 4 independent I / O ports (I / O-1, I / O-2, I / O-3, and I / O-4) to jointly control the switch chip: when the user's current operating system is System 1, the SOC controls the level states of I / O-1, I / O-2, I / O-3, and I / O-4 to switch the USB2.0 and USB3.0 buses to the corresponding system. For example, when the four I / O outputs are all low level 0, the data channels of both the USB2.0 Switch and the USB3.0 Switch are switched to System 1; when the 4 independent I / O ports output other different combined states, the USB2.0 and USB3.0 buses will be switched to the corresponding System 2, External Device 1, or External Device n respectively.

[0005] The above-mentioned common design method in the current industry has obvious defects. It not only wastes I / O resources, but also the multi-channel control lines are more vulnerable to electromagnetic interference and other influences, resulting in low system working stability.

[0006] However, there are the following deficiencies in doing so:

[0007] 1. It occupies a relatively large number of I / O port resources;

[0008] 2. When multiple different I / Os are switched, the anti-interference ability is poor and the reliability is relatively low;

[0009] 3. The USB2.0 and USB3.x bus signals rely on different I / O controls, resulting in relatively poor synchronization and a risk of bus loading errors. For example, since the USB3.x channel switching response is slow and the USB2.0 channel switching is fast, the system will identify the USB device as a USB2.0 device by mistake, resulting in misidentification and reduced transmission efficiency. Utility Model Content

[0010] The technical problem to be solved by this utility model is to provide an intelligent USB control system based on I / O multiplexing, which can reduce the I / O resource requirements, reduce the interference risk and risks such as mis-triggering and misidentification by multiplexing I / O ports; at the same time, it can also ensure the synchronization of USB bus switching.

[0011] To solve the above technical problem, the technical solution adopted by this utility model is:

[0012] An intelligent USB control system based on I / O multiplexing, comprising a first USB switch, a second USB switch, a first main control module and a second main control module; the first USB switch and the second USB switch are respectively connected to the first main control module and the second main control module;

[0013] The first main control module includes an I / O-1 interface; the I / O-1 interface is respectively connected to the first USB switch and the second USB switch.

[0014] Optionally, the first USB switch includes a SEL-11 pin; the second USB switch includes a SEL-21 pin; the I / O-1 interface is respectively connected to the SEL-11 pin and the SEL-21 pin.

[0015] Optionally, the system further includes a third main control module; the third main control module is respectively connected to the first USB switch and the second USB switch;

[0016] The first main control module further includes an I / O-2 port; the I / O-2 port is respectively connected to the first USB switch and the second USB switch.

[0017] Optionally, the system further includes a fourth main control module; the fourth main control module is respectively connected to the first USB switch and the second USB switch.

[0018] Optionally, the first USB switch further includes a SEL-12 pin; the second USB switch further includes a SEL-22 pin; the I / O-1 interface is respectively connected to the SEL-11 pin and the SEL-21 pin; the I / O-2 interface is respectively connected to the SEL-21 pin and the SEL-22 pin.

[0019] Optionally, the first USB switch is a USB2.0 switch; the second USB switch is a USB3.0 switch.

[0020] Optionally, the USB2.0 switch is a USB2.0 Switch chip; the USB3.0 switch is a USB3.0Switch chip.

[0021] Optionally, the first main control module is the main control module in the first operating system; the second main control module is the main control module in the second operating system other than the first operating system.

[0022] Optionally, the first main control module is the main control module in the Windows system; the second main control module is the main control module in the scalar dot screen board.

[0023] Optionally, the third main control module is the main control module in the first external device; the fourth main control module is the main control module in the second external device.

[0024] The beneficial effects of the present utility model are as follows: Compared with the prior art that requires 4 I / O interface resources to realize the switching of the USB bus to different systems. By multiplexing the I / O interface, the present utility model can achieve that at least only one I / O interface is required to realize the switching of the USB bus between two different main control modules; only two I / O interfaces are required to realize the switching of the UBS bus between at most four main control modules. Thus, by reducing the I / O resource requirements, not only can the anti-interference ability of the system be effectively improved, and the risks of mis-triggering, non-recognition, and mis-recognition be reduced; but also the synchronization of different USB bus signal switching can be ensured, and the risk of reduced transmission efficiency caused by bus recognition errors can be further reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is the structural block diagram of the intelligent USB control system of the prior art;

[0026] Figure 2 It is the structural block diagram of the intelligent USB control system based on IO multiplexing provided in Embodiment 1 of the present utility model;

[0027] Figure 3It is the structural block diagram of the intelligent USB control system based on IO multiplexing provided by the second embodiment of the present utility model;

[0028] Figure 4 It is the structural block diagram of the intelligent USB control system based on IO multiplexing provided by the third embodiment of the present utility model;

[0029] Figure 5 It is the switching switch schematic diagram and its corresponding truth table of the USB2.0 switch described in the specific implementation manner of the third embodiment of the present utility model;

[0030] Figure 6 It is the switching switch schematic diagram and its corresponding truth table of the USB3.0 switch described in the specific implementation manner of the third embodiment of the present utility model;

[0031] Figure 7 It is the structural block diagram of the single-system whole machine device provided by the fourth embodiment of the present utility model.

[0032] Label description:

[0033] 10. First USB switch; 20. Second USB switch;

[0034] 100. First main control module; 200. Second main control module; 300. Third main control module; 400. Fourth main control module;

[0035] 101. First operating system; 201. Second operating system; 301 Third operating system / external device; 401. External device n. Specific implementation manner

[0036] To describe in detail the technical content, achieved purpose and effect of the present utility model, the following is described in conjunction with the embodiments and with reference to the accompanying drawings.

[0037] Please refer to Figure 2 , the first embodiment of the present utility model is:

[0038] As Figure 2 shown, the intelligent USB control system based on IO multiplexing provided in this embodiment includes a first USB switch 10, a second USB switch 20, a first main control module 100 and a second main control module 200. Among them, the first USB switch 10 is respectively connected to the first main control module 100 and the second main control module 200; the second USB switch 20 is respectively connected to the first main control module 100 and the second main control module 200;

[0039] The first main control module 100 includes an I / O-1 interface; the I / O-1 interface is respectively connected to the first USB switch 10 and the second USB switch 20.

[0040] In some specific embodiments, the first USB switch includes a SEL-11 pin; the second USB switch includes a SEL-21 pin; the I / O-1 interface is respectively connected to the SEL-11 pin and the SEL-21 pin. Here, the SEL pin of the USB switch is a status selection pin.

[0041] In some specific embodiments, the first USB switch is a USB2.0 switch; the second USB switch is a USB3.0 switch.

[0042] Next, as Figure 3 shown, taking the first main control module 100 corresponding to the first operating system 101; the second main control module 200 corresponding to the second operating system 201; the first USB switch 10 being a USB2.0 Switch; and the second USB switch 20 being a USB3.0 Switch as an example, the intelligent USB control implementation process of the intelligent USB control system based on IO multiplexing according to this embodiment will be described in detail:

[0043] An I / O control truth table is pre-configured as shown in Table 1 below:

[0044] I / O-1 USB channel 0 First operating system 1 Second operating system

[0045] Table 1

[0046] When the user's current operating system is the first operating system 101, when the first main control module 100 of the first operating system 101 controls the I / O-1 interface to output a low level 0, the bus channels (DM / DP input signals) of the USB2.0 switch and the bus channels (TX / RX input signals) of the USB3.0 switch are connected to the first operating system 101;

[0047] When the user's current operating system is switched from the first operating system 101 to the second operating system 201, the first main control module 100 of the first operating system 101 controls the I / O-1 interface to output a low level 0, thereby controlling the bus channels of the USB2.0 switch and the USB3.0 switch to be synchronously switched from the first operating system 101 to the second operating system 201. At this time, the USB peripherals connected to the USB interface are naturally synchronously switched to the second operating system 201 for loading, thereby realizing the intelligent USB function.

[0048] This embodiment is applicable to the application scenario of 1-to-2 (i.e., one input and two outputs). Only one I / O interface needs to be occupied to control the first USB switch and the second USB switch to synchronously switch their respective USB bus channels to another main control module. Since the I / O resources are saved, the anti-interference ability of the system can be improved, and the risks of mis-triggering, non-recognition, and mis-recognition can be reduced. Moreover, since the synchronism of different USB bus signal switching can be ensured, the risk of reduced transmission efficiency caused by incorrect bus recognition can be further reduced.

[0049] Please refer to Figure 3 , Embodiment 2 of the present utility model is as follows:

[0050] This embodiment further expands on the basis of Figure 2 the embodiment and provides a corresponding intelligent USB control system for the application scenario of 1-to-3 (i.e., one input and three outputs).

[0051] The intelligent USB control system of this embodiment further includes a third main control module 300; the third main control module 300 corresponds to a third operating system / external device 301. The third main control module 300 is respectively connected to the first USB switch 10 and the second USB switch 20;

[0052] Correspondingly, the first main control module 100 further includes an I / O-2 port; the I / O-2 port is respectively connected to the first USB switch 10 and the second USB switch 20.

[0053] In some specific embodiments, the first USB switch 10 includes SEL-11 pins and SEL-12 pins; the second USB switch 20 includes SEL-21 pins and SEL-22 pins; the I / O-1 interface is respectively connected to the SEL-11 pins and the SEL-21 pins; the I / O-2 interface is respectively connected to the SEL-21 pins and the SEL-22 pins.

[0054] In some specific embodiments, the first USB switch 10 is a USB2.0 switch; the second USB switch 20 is a USB3.0 switch.

[0055] Next, taking the first main control module 100 corresponding to the first operating system 101; the second main control module 200 corresponding to the second operating system 201; the third control module 300 corresponding to the third operating system / external device 301; the first USB switch 10 being a USB2.0 switch; and the second USB switch 20 being a USB3.0 switch as an example, the intelligent USB control implementation process of the intelligent USB control system based on IO multiplexing according to this embodiment will be described in detail:

[0056] It is pre-configured with an I / O control truth table as shown in Table 2 below:

[0057] I / O-1 I / O-2 USB channel 0 0 First operating system 0 1 Second operating system 1 0 External device 1

[0058] Table 2

[0059] When the user's current operating system is the first operating system, the first main control module of the first operating system controls the I / O-1 interface to output a low level 0, the I / O-2 interface to output a low level 0, and the bus channels (DM / DP input signals) of the USB2.0 switch and the bus channels (TX / RX input signals) of the USB3.0 switch are connected to the first operating system;

[0060] When the user's current operating system switches from the first operating system to the second operating system, the first main control module of the first operating system controls the I / O-1 interface to output a low level 0 and the I / O-2 interface to output a high level 1, so as to control the bus channels of the USB2.0 switch and the USB3.0 switch to be synchronously switched from the first operating system to the second operating system. At this time, the USB peripherals connected to the USB interface are naturally synchronously switched to the second operating system for loading, so as to realize the intelligent USB function.

[0061] When the user currently switches to operate the external device 1, the first main control module of the first operating system controls the I / O-1 interface to output a high level 1 and the I / O-2 interface to output a low level 0, so as to control the bus channels of the USB2.0 switch and the USB3.0 switch to be synchronously switched from other operating systems to the external device 1. At this time, the USB peripherals connected to the USB interface are naturally synchronously switched to the external device 1 for loading, so as to realize the intelligent USB function.

[0062] In this embodiment for the application scenario of 1 to 3, only two I / O interfaces need to be occupied to control the first USB switch and the second USB switch to synchronously switch and connect their respective USB bus channels under at most three main control modules. Since the I / O resources are saved and there are only 2 control lines, the anti-interference ability of the system can be improved, and the risks of mis-triggering, non-recognition and mis-recognition can be reduced; and because the synchronism of different USB bus signal switching can be guaranteed, the risk of reducing the transmission efficiency due to bus recognition errors can be further reduced.

[0063] Please refer to Figures 4 to 6 , Embodiment 3 of the present utility model is:

[0064] This embodiment is based on Figure 2 or Figure 3 embodiment, and provides an intelligent USB control system applicable to the application scenario of 1 to 4 (i.e., one-way input and four-way output).

[0065] The intelligent USB control system of this embodiment is as follows Figure 4 shown, including a first USB switch 10, a second USB switch 20, a first main control module 100, a second main control module 200, a third main control module 300, and a fourth main control module 400; the first USB switch 10 and the second USB switch 20 are respectively connected to the first main control module 100, the second main control module 200, the third main control module 300, and the fourth main control module 400;

[0066] The first main control module 100 includes an I / O-1 interface and an I / O-2 port; the I / O-1 interface is respectively connected to the first USB switch 10 and the second USB switch 20; the I / O-2 port is respectively connected to the first USB switch 10 and the second USB switch 20.

[0067] In some specific embodiments, the first USB switch 10 is a USB2.0 switch; the second USB switch 20 is a USB3.0 switch.

[0068] Next, taking the first main control module 100 corresponding to the first operating system 101; the second main control module 200 corresponding to the second operating system 201; the third control module 300 corresponding to the third operating system / external device; the fourth control module 400 corresponding to the external device n; the first USB switch 10 being a USB2.0 switch; and the second USB switch 20 being a USB3.0 switch as an example, the intelligent USB control implementation process of the intelligent USB control system based on IO multiplexing according to this embodiment will be described in detail:

[0069] An I / O control truth table is pre-configured as shown in Table 3 below:

[0070] I / O-1 I / O-2 USB channel 0 0 First operating system 0 1 Second operating system 1 0 External device 1 1 1 External device n

[0071] Table 3

[0072] When the user's current operating system is the first operating system, the first main control module of the first operating system controls the I / O-1 interface to output a low level 0, the I / O-2 interface to output a low level 0, and the bus channels (DM / DP input signals) of the USB2.0 switch and the bus channels (TX / RX input signals) of the USB3.0 switch are connected to the first operating system;

[0073] When the user's current operating system is switched from the first operating system to the second operating system, the first main control module of the first operating system controls the I / O-1 interface to output a low level of 0 and the I / O-2 interface to output a high level of 1, so as to control the bus channels of the USB2.0 switch and the USB3.0 switch to be synchronously switched from the first operating system to the second operating system. At this time, the USB peripherals connected to the USB interface are naturally synchronously switched to the second operating system for loading;

[0074] When the user switches to the third operating system / external device for operation, the first main control module of the first operating system controls the I / O-1 interface to output a high level of 1 and the I / O-2 interface to output a low level of 0, so as to control the bus channels of the USB2.0 switch and the USB3.0 switch to be synchronously switched from other operating systems to external device 1. At this time, the USB peripherals connected to the USB interface are naturally synchronously switched to external device 1 for loading;

[0075] When the user switches to external device n for operation, the first main control module of the first operating system controls the I / O-1 interface to output a high level of 1 and the I / O-2 interface to output a low level of 1, so as to control the bus channels of the USB2.0 switch and the USB3.0 switch to be synchronously switched from other operating systems to external device n. At this time, the USB peripherals connected to the USB interface are naturally synchronously switched to external device n for loading. In this way, the intelligent USB function is realized.

[0076] In this embodiment, for the application scenario of 1 to 4, only two I / O interfaces need to be occupied to control the first USB switch and the second USB switch to synchronously switch and connect their respective USB bus channels under four main control modules. Since the I / O resources are saved and there are only 2 control lines, the anti-interference performance of the system can be improved, and the risks of mis-triggering, non-identification and mis-identification can be reduced; moreover, since the synchronization of different USB bus signal switching can be ensured, the risk of reduced transmission efficiency caused by bus identification errors can be further reduced.

[0077] In some specific embodiments, the first USB switch includes SEL-11 pins and SEL-12 pins; the second USB switch includes SEL-21 pins and SEL-22 pins; the I / O-1 interface is respectively connected to the SEL-11 pins and the SEL-21 pins; the I / O-2 interface is respectively connected to the SEL-12 pins and the SEL-22 pins.

[0078] In the above specific embodiments, the schematic diagrams of the switching switches and the corresponding truth tables of the USB2.0 switch and the USB3.0 switch are respectively Figure 5 and Figure 6 。

[0079] Please refer to Figure 7 , Embodiment 4 of the present utility model is as follows:

[0080] This embodiment is based on Figure 2 the intelligent USB control system based on IO multiplexing provided in the embodiment. In addition to being applicable to dual-system devices, Figure 2 this embodiment is also applicable to some single-system devices.

[0081] Next, Figure 2 taking the application of this embodiment in a single-system whole-machine device with Windows system + Scalar touch screen panel as an example for illustration.

[0082] As Figure 7 shown, the USB switching switch circuit is an integration of a first USB switch and a second USB switch; the first main control module is the main control module of the Windows system; the second main control module is the main control module of the Scalar touch screen panel.

[0083] In this embodiment, the Windows system transmits audio and video signals through the HDMI channel and lights up the screen after being processed by the touch screen panel card. However, when the whole machine is in the default state of the touch screen panel card (since the scalar board card has no operating system, usually there is no signal displayed on the whole machine at this time), the USB peripherals connected to the intelligent USB interface are switched to the default touch screen panel card channel through the USB switching switch circuit (that is: the USB peripherals can be read on the scalar board card); when the signal source is switched to the Windows system (that is: select the HDMI signal source of the whole machine to enter Windows), at this time, the second main control module scalar controls the USB switching switch through IO, so that the USB peripherals are switched to the Windows system.

[0084] For the intelligent USB control system based on IO multiplexing provided in each of the above embodiments, the systems corresponding to the main control modules include but are not limited to operating systems such as android, windows, Linux, Kirin, and Tongxin; the first USB switch and the second USB switch are preferably USB2.0 Switch chips and USB3.0 Switch chips.

[0085] In summary, the intelligent USB control system based on IO multiplexing provided by the present utility model occupies at most two I / O ports to achieve the same switching function in the prior art. By reducing the occupation of system I / O resources, the anti-interference ability of the system is improved, and the risks of false triggering and false recognition are reduced; at the same time, the synchronization during the switching of the USB2.0 and USB3.0 buses can also be ensured.

[0086] The above are only embodiments of the present utility model, and thus do not limit the patent scope of the present utility model. Any equivalent transformation made by using the content of the specification and drawings of the present utility model, or directly or indirectly applied in related technical fields, shall be equally included in the patent protection scope of the present utility model.

Claims

1. Intelligent USB control system based on IO multiplexing, characterized in that: It includes a first USB switch, a second USB switch, a first main control module and a second main control module; the first USB switch and the second USB switch are connected to the first main control module and the second main control module respectively; The first main control module includes an I / O-1 interface; the I / O-1 interface is connected to the first USB switch and the second USB switch respectively.

2. The intelligent USB control system based on IO multiplexing as claimed in claim 1, characterized in that: The first USB switch includes a SEL-11 pin; the second USB switch includes a SEL-21 pin; and the I / O-1 interface is connected to the SEL-11 pin and the SEL-21 pin respectively.

3. The intelligent USB control system based on IO multiplexing as claimed in claim 1, characterized in that: The system further comprises a third main control module; the third main control module is connected to the first USB switch and the second USB switch respectively; The first main control module also includes an I / O-2 port; the I / O-2 port is connected to the first USB switch and the second USB switch respectively.

4. The intelligent USB control system based on IO multiplexing as claimed in claim 3, characterized in that: The system further includes a fourth main control module; the fourth main control module is connected to the first USB switch and the second USB switch respectively.

5. The intelligent USB control system based on IO multiplexing as claimed in claim 3 or 4, characterized in that: The first USB switch includes a SEL-12 pin; the second USB switch includes a SEL-22 pin; and the I / O-2 interface is connected to the SEL-12 pin and the SEL-22 pin respectively.

6. The intelligent USB control system based on IO multiplexing as claimed in claim 1, characterized in that: The first USB switch is a USB 2.0 switch; the second USB switch is a USB 3.0 switch.

7. The intelligent USB control system based on IO multiplexing as claimed in claim 6, characterized in that: The USB2.0 switch is a USB2.0 Switch chip; the USB3.0 switch is a USB3.0 Switch chip.

8. The intelligent USB control system based on IO multiplexing as claimed in claim 1, characterized in that: The first main control module is a main control module in a first operating system; the second main control module is a main control module in a second operating system other than the first operating system.

9. The intelligent USB control system based on IO multiplexing as claimed in claim 1, characterized in that: The first main control module is a main control module in the Windows system; the second main control module is a main control module in the scalar point screen board.

10. The intelligent USB control system based on IO multiplexing as claimed in claim 4, characterized in that: The third main control module is a main control module in the first external device; the fourth main control module is a main control module in the second external device.