Port switching circuit, port switching method, and display device
Patent Information
- Application Number
- CN202510516570.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-23
- Publication Date
- 2026-10-23
AI Technical Summary
[0003]然而,这种人为手动进行切换的方式,需要人为操作,降低了端口切换的效率以及增加了端口切换的错误风险
[0015]本申请提供的端口切换电路、端口切换方法及显示设备,通过根据第一端口连接外部设备的检测结果生成第一控制信号,根据第一控制信号和外部设备的识别码中的至少一个生成第二控制信号,根据第二控制信号控制第一扩展模块连接至控制模块或者第二选通模块,可以实现同一端口自动切换连接至控制模块或者第二选通模块,从而避免了人为手动进行切换导致端口切换的效率较低以及错误风险较高的情况,提高了端口切换的效率以及降低了端口切换的错误风险。
Smart Images

Figure CN122970201A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, specifically to a port switching circuit, a port switching method, and a display device. Background Technology
[0002] For a given port, communication with different targets usually requires manual switching. This manual switching can be done by selecting a specific target to communicate with through the settings interface.
[0003] However, this manual switching method requires human intervention, which reduces the efficiency of port switching and increases the risk of errors. Summary of the Invention
[0004] This application provides a port switching circuit, a port switching method, and a display device to alleviate the technical problems of low efficiency and high error risk in port switching.
[0005] In a first aspect, this application provides a port switching circuit, which includes a first expansion module and a first gating module. The first expansion module is connected to a control module and a first port for connecting to an external device. The first expansion module is used to generate a first control signal based on the detection result of the external device being connected to the first port. The control module is used to generate a second control signal based on at least one of the first control signal and the identification code of the external device. The first gating module is connected to the first expansion module and the control module. The first gating module is used to control the first expansion module to connect to the control module or the second gating module based on the second control signal. The second gating module is used to select either the control module or the control device.
[0006] Optionally, when an external device is connected to the first port, the control module is used to obtain the identification code of the external device according to the first control signal, and generate a second control signal according to the comparison result of the identification code and the preset code set.
[0007] Optionally, the comparison result indicates that the identification code is the same as one in the preset code set, and the second control signal controls the first extension module to be connected to the control module through the first gating module.
[0008] Optionally, the comparison result indicates that the identification code is different from any one in the preset code set, and the second control signal controls the first extension module to connect to the second selection module through the first selection module.
[0009] Optionally, if no external device is connected to the first port, the control module is used to generate a second control signal based on the first control signal, and the first gating module is used to control the first expansion module to connect to the control module based on the second control signal.
[0010] Optionally, the port switching circuit further includes a second gating module, which includes a second hub and a second switch. The second hub is connected to the first gating module and at least one second port for connecting external devices. The second switch is connected to the second hub and is used to control the second hub to connect to either the control module or the control device.
[0011] Optionally, the control module is also configured to generate a third control signal based on the received switching instruction and output it to the second switcher, so that the second switcher can select either the control module or the control device based on the third control signal.
[0012] Optionally, the first port and the second port are both Universal Serial Bus (USB) ports; the first gating module includes a first switch for selecting different channels; the first expansion module and the second hub are both USB hubs; the control module includes a system-on-a-chip (SoC); and the control device includes at least one of a laptop computer and an OPS module.
[0013] Secondly, this application provides a port switching method, which includes: generating a first control signal based on the detection result of a first port connecting to an external device; generating a second control signal based on at least one of the first control signal and the identification code of the external device; and controlling a first expansion module to connect to a control module or a second gating module based on the second control signal.
[0014] Thirdly, this application provides a display device, which includes the above-mentioned control module and the above-mentioned port switching circuit.
[0015] The port switching circuit, port switching method, and display device provided in this application generate a first control signal based on the detection result of the first port connecting to an external device, and generate a second control signal based on at least one of the first control signal and the identification code of the external device. The second control signal controls the first expansion module to connect to the control module or the second gating module, which can realize automatic switching of the same port to the control module or the second gating module. This avoids the situation where the port switching efficiency is low and the error risk is high due to manual switching, thereby improving the efficiency of port switching and reducing the error risk of port switching. Attached Figure Description
[0016] The technical solution and other beneficial effects of this application will become apparent from the following detailed description of specific embodiments in conjunction with the accompanying drawings.
[0017] Figure 1 This is a block diagram illustrating the principle of an interactive smart whiteboard in related technologies.
[0018] Figure 2This is another principle block diagram of interactive smart flat panels in related technologies.
[0019] Figure 3 This is a schematic block diagram of the port switching circuit provided in the embodiments of this application.
[0020] Figure 4 This is a schematic diagram illustrating the working process of the port switching circuit provided in an embodiment of this application.
[0021] Figure 5 This is a schematic diagram of the structure of a display device provided in an embodiment of this application. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.
[0023] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Features thus defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more unless otherwise explicitly specified.
[0024] Figure 1 This is a block diagram illustrating the principle of an interactive smart whiteboard in related technologies. Figure 2 This is another block diagram illustrating the principle of an interactive smart flat panel in related technologies. USB0, USB1, and USB2 are all Universal Serial Bus (USB) ports. A USB 2.0 hub is a Universal Serial Bus 2.0 hub, and a USB 3.0 hub is a Universal Serial Bus 3.0 hub; both are devices used to expand USB interfaces, extending a single USB 2.0 / USB 3.0 port into multiple independently working interfaces, supporting simultaneous connection of various peripherals. A USB 2.0 switch is a USB switcher that can switch one input to four outputs (1:4). An OPS Module, or Open Pluggable Specification (OPS) module, is a component of the interactive smart flat panel. A SOC (System on Chip) is a system-on-a-chip. Touch out refers to a device that supports touch functionality, such as a laptop computer.
[0025] Among them, the SOC, OPS Module, and Touch Out are all display control hosts that users can choose from. The SOC can be configured with an Android system for the interactive smart tablet. The OPS Module can be configured with a Windows system for the interactive smart tablet.
[0026] These display control hosts can be used individually to control the display of the interactive smart board. Therefore, switching the connected display control host is also switching the display channel. Under any channel, the interface of the interactive smart board, such as the USB interface, needs to switch according to the corresponding display interface / display control host to achieve channel switching.
[0027] for Figure 1 The interactive smart tablet shown here will switch all USB ports, such as USB0, USB1, and USB2, to the signal source port when the USB port switching is performed.
[0028] For example, when the SOC acts as a display control host to drive the screen display, at least one of USB0, USB1, and USB2 can be connected to the SOC via a USB2.0 HUB, USB3.0 HUB, and USB2.0 SW, so that these USB interfaces can switch according to the display channel switching between the SOC and the screen.
[0029] Alternatively, when the OPS Module acts as a display control host to drive the screen display, at least one of USB0, USB1, and USB2 can be connected to the OPS Module via a USB2.0 HUB, USB3.0 HUB, and USB2.0 SW, so that these USB interfaces switch with the display channel between the OPS Module and the screen.
[0030] Alternatively, when Touch Out acts as a display control host to drive the screen display, at least one of USB0, USB1, and USB2 can be connected to Touch Out via USB2.0 HUB, USB3.0 HUB, and USB2.0 SW, so that these USB interfaces switch with the display channel between Touch Out and the screen.
[0031] for Figure 2 The interactive smart tablet shown typically only allows one fixed USB port, such as USB0, to be connected to the SOC when a fixed USB port needs to be configured for the SOC due to the limited number of USB ports.
[0032] In this way, when switching USB ports, USB0 does not switch and remains connected to the SOC.
[0033] For example, when the SOC acts as a display control host to drive the screen display, at least one of USB1 and USB2 can be connected to the SOC via a USB 3.0 HUB and a USB 2.0 SW, so that USB1 and / or USB2 can switch according to the display channel switching between the SOC and the screen.
[0034] Alternatively, when the OPS Module acts as a display control host to drive the screen display, at least one of USB1 and USB2 can be connected to the OPS Module via a USB 3.0 hub and a USB 2.0 switch, so that USB1 and / or USB2 can switch according to the display channel switching between the OPS Module and the screen.
[0035] Alternatively, when Touch Out acts as a display control host to drive the screen display, at least one of USB1 and USB2 can be connected to Touch Out via USB 3.0 Hub and USB 2.0 Switch, so that USB1 and / or USB2 switch according to the display channel switching between Touch Out and the screen.
[0036] In summary, when the number of USB ports on an interactive smart flat panel is limited, if the SOC is always connected to a single USB port, for example... Figure 2 If USB0 is used, the number of other (as-negotiated) USB ports available for use by other signal sources will decrease, which reduces the utilization rate of USB ports.
[0037] Furthermore, communication between a given port and different targets typically requires manual switching. This manual switching can be done through the settings interface by selecting a specific target to communicate with.
[0038] However, this manual switching method requires human intervention, which reduces the efficiency of port switching and increases the risk of errors.
[0039] In summary, please refer to Figure 3 and Figure 4 This embodiment provides a port switching circuit 100, which can provide a pre-stored ID according to its own needs. If the identification code of the connected external device matches the pre-stored ID, it can intelligently connect to the control module 30; otherwise, it can intelligently connect to the second gating module 60. This allows for automatic switching between the control module 30 and the second gating module 60 on the same port, thus avoiding the low efficiency and high error risk of manual switching, improving port switching efficiency and reducing the error risk.
[0040] Based on this, this embodiment provides a port switching circuit 100, such as... Figure 3 and Figure 4 As shown, the port switching circuit 100 includes a first expansion module 20 and a first gating module 40. The first expansion module 20 is connected to the control module 30 and a first port 10 for connecting to an external device. The first expansion module 20 is used to generate a first control signal CS1 based on the detection result of the external device connected to the first port 10. The control module 30 is used to generate a second control signal CS2 based on at least one of the first control signal CS1 and the identification code of the external device. The first gating module 40 is connected to the first expansion module 20 and the control module 30. The first gating module 40 is used to control the first expansion module 20 to connect to the control module 30 or the second gating module 60 based on the second control signal CS2. The second gating module 60 is used to select either the control module 30 or the control device 70.
[0041] It is understood that the port switching circuit 100 provided in this embodiment generates a first control signal CS1 based on the detection result of the external device connected to the first port 10, generates a second control signal CS2 based on at least one of the first control signal CS1 and the identification code of the external device, and controls the first expansion module 20 to connect to the control module 30 or the second gating module 60 based on the second control signal CS2. This can realize automatic switching of the same port to the control module 30 or the second gating module 60, thereby avoiding the situation of low efficiency and high error risk of port switching caused by manual switching, improving the efficiency of port switching and reducing the error risk of port switching.
[0042] It should be noted that the first control signal CS1 generated by the first expansion module 20 can be transmitted to the control module 30 via a general purpose input / output (GPIO) interface. The GPIO pins can be configured as input or output modes via software to control and detect the level state. External devices of the same type can have the same identifier (ID), or each external device can have its own ID.
[0043] In some embodiments, when an external device is connected to the first port 10, the control module 30 is used to obtain the identification code of the external device according to the first control signal CS1, and generate a second control signal CS2 according to the comparison result of the identification code and the preset code set.
[0044] It should be noted that the preset code set may include one or more preset codes pre-set in the control module 30. These preset codes may be discrete or a range of one or more consecutive preset codes, such as (0b95:1790).
[0045] The control module 30 can determine whether to acquire the identification code based on the level of the first control signal CS1. For example, when an external device is connected to the first port 10, the first control signal CS1 switches to a high level, and the control module 30 reads the identification code of the external device through the first gating module 40, the first expansion module 20, and the first port 10; or, when an external device is connected to the first port 10, the first control signal CS1 switches to a low level, and the control module 30 reads the identification code of the external device through the first gating module 40, the first expansion module 20, and the first port 10.
[0046] In some embodiments, the comparison result indicates that the identification code is the same as one in the preset code set, and the second control signal CS2 controls the first extension module 20 to be connected to the control module 30 through the first gating module 40.
[0047] It should be noted that if the comparison result indicates that the identification code matches one of the preset codes, it means that the external device currently connected to the first port 10 can be connected to the control module 30. In this case, the second control signal CS2 switches to a high level, and the first gating module 40 controls the first expansion module 20 to connect to the control module 30. Alternatively, if the comparison result indicates that the identification code matches one of the preset codes, it means that the external device currently connected to the first port 10 can be connected to the control module 30. In this case, the second control signal CS2 switches to a low level, and the first gating module 40 controls the first expansion module 20 to connect to the control module 30. This allows for automatic switching of the communication target of the first port 10 based on whether an external device is connected to the first port 10 and the identification code of that external device.
[0048] In some embodiments, the comparison result indicates that the identification code is different from any one in the preset code set, and the second control signal CS2 controls the first extension module 20 to be connected to the second gating module 60 through the first gating module 40.
[0049] It should be noted that if the comparison result indicates that the identification code differs from any of the preset codes, it means that the external device currently connected to the first port 10 can be switched to any control device 70 without being fixedly connected to the control module 30. In this case, the second control signal CS2 switches to a high level, and the first gating module 40 controls the first expansion module 20 to connect to the second gating module 60. Alternatively, if the comparison result indicates that the identification code differs from any of the preset codes, it means that the external device currently connected to the first port 10 can be switched to any control device 70 without being fixedly connected to the control module 30. In this case, the second control signal CS2 switches to a low level, and the first gating module 40 controls the first expansion module 20 to connect to the second gating module 60. This allows for automatic switching of the communication target of the first port 10 based on whether the first port 10 is connected to an external device and the identification code of that external device.
[0050] In some embodiments, when no external device is connected to the first port 10, the control module 30 is used to generate a second control signal CS2 based on the first control signal CS1. The second control signal CS2 controls the first expansion module 20 to be connected to the control module 30 through the first gating module 40.
[0051] It should be noted that the level of the first control signal CS1 generated by the first expansion module 20 is different in the two cases: when the first port 10 is not connected to an external device and when the first port 10 is connected to an external device. Correspondingly, the second control signal CS2 controls the state of the first gating module 40 through different levels, so as to enable the first expansion module 20 to be connected to different objects.
[0052] For example, when no external device is connected to the first port 10, the first control signal CS1 is high and the second control signal CS2 is high. The second control signal CS2 controls the first expansion module 20 to connect to the second hub 61 through the first gating module 40. Alternatively, when no external device is connected to the first port 10, the first control signal CS1 is low and the second control signal CS2 is high. The second control signal CS2 controls the first expansion module 20 to connect to the second hub 61 through the first gating module 40. Alternatively, when no external device is connected to the first port 10, the first control signal CS1 is high and the second control signal CS2 is low. The second control signal CS2 controls the first expansion module 20 to connect to the second hub 61 through the first gating module 40. Alternatively, when no external device is connected to the first port 10, the first control signal CS1 is low and the second control signal CS2 is low. The second control signal CS2 controls the first expansion module 20 to connect to the second hub 61 through the first gating module 40.
[0053] In some embodiments, the external device is a wireless communication module or a wireless microphone module.
[0054] It should be noted that when the external device is a wireless communication module, the control module 30 pre-stores a preset code corresponding to the identification code of the wireless communication module. When the first port 10 is connected to the wireless communication module, it can intelligently and permanently connect to the control module 30, and the network of the control module 30 can maintain a continuous connection. If the first port 10 is connected to another device, that other device can be switched to the second hub 61, thereby realizing different channels (e.g., Figure 3 The automatic switching between CH1 and CH2 in the network is achieved. The wireless communication module can be exemplarily a portable wireless network device (WiFiDangle), thus realizing an intelligent wireless network.
[0055] When the external device is a wireless microphone module, the control module 30 has a preset code corresponding to the identification code of the wireless microphone module. When the first port 10 is connected to the wireless microphone module, it can intelligently connect to the wireless microphone module. The data from the wireless microphone module can be transmitted to the control module 30 in a fixed manner. The control module 30 processes the data and then outputs it through the speaker of the interactive smart board. If the first port 10 is connected to another device, that other device can be switched to the second hub 61, thereby realizing different channels (e.g., Figure 3 The automatic switching between CH1 and CH2 in the system also enables local intelligent amplification.
[0056] In some embodiments, the port switching circuit 100 further includes a second gating module 60, which includes a second hub 61 and a second switch 62. The second hub 61 is connected to the first gating module 40 and at least one second port 50 for connecting external devices. The second switch 62 is connected to the second hub 61 and is used to control the second hub 61 to be connected to at least one of the control module 30 and the control device 70.
[0057] It should be noted that at least one second port 50 may include at least one of the first USB port USB1 and the second USB port USB2, or it may include more than one number of USB ports.
[0058] In some embodiments, the control module 30 is further configured to generate a third control signal according to the received switching instruction and output it to the second switch 62, so that the second switch 62 is selected to either the control module 30 or the control device 70 according to the third control signal.
[0059] In some embodiments, the first port 10 and the second port 50 are both Universal Serial Bus (USB) ports, but can also be other applicable communication ports. Correspondingly, the first expansion module 20 and the second hub 61 are both USB hubs, or can also be hubs applicable to other communication ports. The first gating module 40 includes a first switch for selecting different channels. Correspondingly, the first gating module 40 and the second switch 62 can both be switches applicable to USB, or can both be switches applicable to other buses.
[0060] The control module 30 includes one or more of a system-on-a-chip, a central processing unit (CPU), a programmable logic controller (PLC), and a digital signal processor (DSP).
[0061] The control device 70 includes at least one of a laptop computer 72 and an OPS module 71. In some embodiments, the second switch 62 has at least three output ports. The second switch 62 can be connected to the control module 30 via a first output port, such as a USB port, to the OPS module 71 via a second output port, such as a USB port, and to the laptop computer 72 via a third output port, such as a USB port.
[0062] Figure 4 This is a schematic diagram illustrating the operation of the port switching circuit 100 provided in this embodiment. The details are as follows:
[0063] S1 (First Gating Module 40) defaults to switching the SOC channel: The first gating module 40 defaults to controlling the connection between the first expansion module 20 and the control module 30.
[0064] USB0 (first port 10) connected device (external device): When an external device is connected to the first port 10.
[0065] U1 (first expansion module 20) detects a device mounted: the first expansion module 20 detects that the first port 10 has been connected to an external device.
[0066] GPIO level change: The level of the first control signal CS1 changes to notify the control module 30 that "the first port 10 has been connected to an external device".
[0067] The SOC (control module 30) confirms whether the mounted device is a special device: When an external device is connected to the first port 10, the SOC obtains the identification code of the mounted external device and determines whether the identification code is the same as one of the preset codes. If the identification code is the same as one of the preset codes, it means that the currently mounted external device is a special device; if the identification code is different from any of the preset codes, it means that the currently mounted external device is not a special device.
[0068] SOC control S1 remains in the SOC channel ( Figure 3 CH1): The currently mounted external device is a special device. The second control signal CS2 output by the SOC controls S1 (first gating module 40) to connect the first expansion module 20 to the control module 30.
[0069] SOC control S1 switches to the follow-up channel ( Figure 3 CH2): The currently mounted external device is not a special device. The second control signal CS2 output by the SOC controls S1 (first gating module 40) to connect the first expansion module 20 to the second hub 61.
[0070] USB0 is unplugged: When an external device connected to USB0 is unplugged, the SOC is notified by a first control signal CS1 with a different level that "the external device connected to USB0 has been unplugged".
[0071] U1 detects no device mounted: The first expansion module 20 detects that the external device connected to USB0 has been unplugged.
[0072] SOC control S1 switches to the SOC channel: The SOC outputs a second control signal CS2 of different levels, controlling the first gating module 40 to connect the first port 10 to the SOC. This achieves the default switching of S1 (first gating module 40) to the SOC channel.
[0073] Therefore, this application can enable a single port to not only switch to Android automatically or be fixed, but also to automatically determine whether the external device should switch to Android automatically or be fixed based on the customer's pre-stored ID and the actual external device connected, thus avoiding manual switching, improving switching efficiency and reducing the risk of errors.
[0074] In addition, users can pre-store the IDs of external devices according to their usage habits and interests, so that the corresponding channel can be automatically selected based on the ID, which is more in line with the user's usage habits and more convenient to use.
[0075] In some embodiments, this embodiment provides a port switching method, which includes the following steps:
[0076] Based on the detection result of the external device connected to the first port 10, the first control signal CS1 is generated.
[0077] The second control signal CS2 is generated based on at least one of the first control signal CS1 and the identification code of the external device.
[0078] The first expansion module 20 is connected to the control module 30 or the second gating module 60 according to the second control signal CS2.
[0079] It is understood that the port switching method provided in this embodiment generates a first control signal CS1 based on the detection result of the first port 10 connecting to an external device, generates a second control signal CS2 based on at least one of the first control signal CS1 and the identification code of the external device, and controls the first expansion module 20 to connect to the control module 30 or the second gating module 60 based on the second control signal CS2. This can realize automatic switching of the same port to the control module 30 or the second gating module 60, thereby avoiding the situation of low efficiency and high error risk of port switching caused by manual switching, improving the efficiency of port switching and reducing the error risk of port switching.
[0080] In some embodiments, this embodiment provides a display device 200, such as... Figure 3 and Figure 5 As shown, the display device 200 includes the port switching circuit 100 described above.
[0081] It is understood that since the display device 200 provided in this embodiment includes the aforementioned port switching circuit 100, it can also generate a first control signal CS1 based on the detection result of the first port 10 connecting to an external device, and generate a second control signal CS2 based on at least one of the first control signal CS1 and the identification code of the external device. Based on the second control signal CS2, it controls the first expansion module 20 to connect to the control module 30 or the second gating module 60, thereby realizing automatic switching of the same port to the control module 30 or the second gating module 60. This avoids the situation where manual switching leads to low efficiency and high error risk in port switching, improves the efficiency of port switching, and reduces the error risk of port switching.
[0082] It should be noted that the aforementioned display device 200 may be, but is not limited to, a tablet computer, such as an interactive smart tablet, or other applicable electronic products such as mobile phones, desktop computers, and industrial equipment.
[0083] In some of these embodiments, please continue to refer to Figure 3 The display device 200 also includes a control module 30. In some embodiments, the display device 200 further includes at least one of a first port 10, a first USB port USB1, and a second USB port USB2.
[0084] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0085] The port switching circuit 100, port switching method, and display device 200 provided in the embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of this application. Those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A port switching circuit, characterized in that, The port switching circuit includes: A first expansion module is connected to a control module and a first port for connecting to an external device, and is used to generate a first control signal based on the detection result of the external device being connected to the first port. The control module is used to generate a second control signal based on at least one of the first control signal and the identification code of the external device. The first gating module is connected to the first expansion module and the control module, and is used to control the first expansion module to connect to the control module or the second gating module according to the second control signal. The second gating module is used to select to either the control module or the control device.
2. The port switching circuit according to claim 1, characterized in that, When an external device is connected to the first port, the control module is used to obtain the identification code of the external device according to the first control signal, and generate the second control signal according to the comparison result of the identification code and the preset code set.
3. The port switching circuit according to claim 2, characterized in that, The comparison result indicates that the identification code is the same as one of the preset codes, and the second control signal controls the first extension module to be connected to the control module through the first gating module.
4. The port switching circuit according to claim 2, characterized in that, The comparison result indicates that the identification code is different from any one of the preset codes, and the second control signal controls the first extension module to connect to the second selection module through the first selection module.
5. The port switching circuit according to claim 1, characterized in that, When no external device is connected to the first port, the control module is used to generate the second control signal based on the first control signal, and the first gating module is used to connect the first expansion module to the control module based on the second control signal.
6. The port switching circuit according to any one of claims 1-5, characterized in that, The port switching circuit further includes a second gating module, the second gating module comprising: The second hub is connected to the first gating module and at least one second port for connecting external devices; The second switch, connected to the second hub, is used to control the connection of the second hub to either the control module or the control device.
7. The port switching circuit according to claim 6, characterized in that, The control module is further configured to generate a third control signal based on the received switching instruction and output it to the second switcher, so that the second switcher selects either the control module or the control device based on the third control signal.
8. The port switching circuit according to claim 6, characterized in that, Both the first port and the second port are Universal Serial Bus ports; The first gating module includes a first switcher for selecting different channels; Both the first expansion module and the second hub are Universal Serial Bus hubs; The control module includes a system-on-a-chip; The control device includes at least one of a laptop computer and an OPS module.
9. A port switching method, characterized in that, The port switching method includes: Based on the detection result of the external device connected to the first port, a first control signal is generated; A second control signal is generated based on at least one of the first control signal and the identification code of the external device; The first expansion module is connected to the control module or the second selection module according to the second control signal.
10. A display device, characterized in that, The display device includes the port switching circuit as described in any one of claims 1-8 and the control module.