Interface expansion device and electronic device

By introducing multiple HDMI connectors and an electronically controlled switching module into the docking station, the simultaneous access and seamless switching of multiple HDMI devices are achieved, solving the problem of insufficient expandability and convenience of existing docking stations and improving user experience and data transmission quality.

WO2026103237A1PCT designated stage Publication Date: 2026-05-21HISENSE VISUAL TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
HISENSE VISUAL TECH CO LTD
Filing Date
2025-08-08
Publication Date
2026-05-21

AI Technical Summary

Technical Problem

Existing docking stations can only connect to a single HDMI device, requiring users to plug and unplug devices when switching between them, resulting in poor expandability and convenience.

Method used

Design an interface expansion device comprising multiple HDMI connectors, a first switching module, a control module, and a conversion module. It enables simultaneous access of multiple HDMI devices and seamless switching of signal sources through electronic switching, and uses a Type-C connector for data transmission.

Benefits of technology

It enables simultaneous access of multiple HDMI devices and signal source switching without plugging and unplugging, improving scalability and user operation convenience, and supporting high-resolution and smooth display of multimedia data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025113547_21052026_PF_FP_ABST
    Figure CN2025113547_21052026_PF_FP_ABST
Patent Text Reader

Abstract

Some embodiments of the present application relate to an interface expansion device and an electronic device. By providing a plurality of HDMI connectors in the interface expansion device, the interface expansion device can allow for simultaneous access of a plurality of HDMI devices. In addition, a first selection instruction is transmitted to a first switching module by means of a first end of a first connector and a second end of the first connector, so that data transmission channels between second ends of different HDMI connectors and a first conversion module can be selectively connected, and HDMI signals received by different HDMI connectors can be transmitted to the first conversion module.
Need to check novelty before this filing date? Find Prior Art

Description

Interface expansion devices and electronic devices

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese patent application No. CN202411642603.1, filed on November 15, 2024; and Chinese patent application No. CN202422798814.6, filed on November 15, 2024; the entire contents of all the above Chinese patent applications are incorporated herein by reference. Technical Field

[0003] This application relates to the field of communication technology, specifically to an interface expansion device and an electronic device. Background Technology

[0004] Most docking stations on the market can only connect a single HDMI device. When users need to switch between different HDMI devices, they need to unplug the HDMI device connected to the docking station and then plug the required HDMI device into the docking station. The docking station has poor expandability and is inconvenient for users to operate. Summary of the Invention

[0005] This application discloses an interface expansion device in some embodiments, including a first connector, a second connector, a first switching module, a control module, a first conversion module, and at least two high-definition multimedia interface (HDMI) connectors; any one of the HDMI connectors is configured to receive an HDMI signal through a first end of the HDMI connector; the first connector is configured to receive and output a first selection command through a second end of the first connector; the second connector has its first end connected to the second end of the first connector, and is configured to receive interface data through its second end; the first switching module is connected to the first conversion module and the second ends of the at least two HDMI connectors respectively; the control module is connected to the first conversion module and the second ends of the at least two HDMI connectors respectively. The first switching module and the second end of the first connector are connected and configured to, when the first connector receives the first selection instruction, control the second connector to stop receiving the interface data, and according to the first selection instruction, control the first switching module to selectively connect the data transmission path between the second end of the target HDMI connector and the first conversion module; wherein the target HDMI connector is one of at least two HDMI connectors; the first conversion module is connected to the third end of the first connector and is configured to perform format conversion on the first HDMI signal received through the data transmission path to obtain first multimedia data, and send the first multimedia data to the third end of the first connector to output the first multimedia data through the first connector.

[0006] By incorporating multiple HDMI connectors in the interface expansion device, it enables the simultaneous connection of multiple HDMI devices. Furthermore, the first selection command is transmitted to the control module via the first and second ends of the first connector. This allows the first switching module to selectively activate the data transmission channels between the second ends of different HDMI connectors and the first conversion module, thereby transmitting HDMI signals received by different HDMI connectors to the first conversion module. Compared to docking stations that only include a single HDMI connector, this significantly improves the expandability of the interface expansion device. Attached Figure Description

[0007] Figure 1 is a schematic diagram of the structure of a display system disclosed in some embodiments of this application;

[0008] Figure 2 is a schematic diagram of the structure of another display system disclosed in some embodiments of this application;

[0009] Figure 3 is a schematic diagram of one of the interface expansion devices disclosed in some embodiments of this application;

[0010] Figure 4 is a second schematic diagram of the structure of an interface expansion device disclosed in some embodiments of this application;

[0011] Figure 5 is a third schematic diagram of the structure of an interface expansion device disclosed in some embodiments of this application;

[0012] Figure 6 is a fourth structural schematic diagram of an interface expansion device disclosed in some embodiments of this application;

[0013] Figure 7 is the fifth of several schematic diagrams of an interface expansion device disclosed in this application;

[0014] Figure 8 is a schematic diagram of an EDID selection interface disclosed in some embodiments of this application;

[0015] Figure 9 is a schematic diagram of the structure of an interface expansion device disclosed in some embodiments of this application;

[0016] Figure 10 is the seventh of several schematic diagrams of an interface expansion device disclosed in some embodiments of this application;

[0017] Figure 11a is a schematic diagram of the transmission link structure of a first selection instruction disclosed in some embodiments of this application;

[0018] Figure 11b is a schematic diagram of the connection between a first conversion module, a DP interface and a second switching module disclosed in some embodiments of this application;

[0019] Figure 11c is a schematic diagram of the connection between a second switching module and a Type-C connector disclosed in some embodiments of this application;

[0020] Figure 11d is a schematic diagram of the connection between a USB HUB and a USB interface disclosed in some embodiments of this application;

[0021] Figure 12 is a schematic diagram of the structure of an electronic device disclosed in some embodiments of this application. Detailed Implementation

[0022] Some embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0023] In the description of this application, it should be understood that the terms "center," "lateral," "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "axial," "radial," and "circumferential," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, features defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0024] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can also refer to indirect connections through an intermediate medium, or to the internal communication between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0025] The docking station of this technology is equipped with a Type-C (Universal Serial Bus Type-C) connector and an HDMI (High Definition Multimedia Interface) connector. The Type-C connector is used to connect a signal source device, which can be understood as a device that provides multimedia data. The HDMI connector is used to connect a receiving device, which acts as the receiving end of the multimedia data. The docking station converts the multimedia data corresponding to the DP communication protocol provided by the signal source device received through the Type-C connector into multimedia data corresponding to the HDMI communication protocol, and sends the multimedia data corresponding to the HDMI communication protocol to the receiving device through the HDMI connector, so that the receiving device can display the multimedia data corresponding to the HDMI communication protocol.

[0026] Another type of docking station related to this technology can receive multimedia data corresponding to the HDMI communication protocol, convert the multimedia data corresponding to the HDMI communication protocol into multimedia data corresponding to the DP communication protocol, and output it to the receiving device. However, this type of docking station is rarely used in the display field. This is because display devices generally use HDMI connectors as input connectors. Therefore, it is rare to use a docking station that converts the multimedia data corresponding to the HDMI communication protocol into the multimedia data corresponding to the DP communication protocol to connect to the display device.

[0027] Furthermore, most docking stations using this technology have only one HDMI connector as an input interface, meaning they can only receive HDMI data through a single input. This forces users to unplug the HDMI device connected to the docking station and plug in the desired HDMI device when switching between different HDMI devices. This results in poor flexibility and inconvenience for users. Clearly, there is a lack of docking stations on the market that can simultaneously connect multiple HDMI devices and switch between different HDMI devices as signal sources.

[0028] In this embodiment, the interface expansion device includes a first connector, a first switching module, a control module, a first conversion module, a second connector, and at least two HDMI connectors. The first switching module is connected to the second ends of the first conversion module and the at least two HDMI connectors. The first conversion module is connected to the third end of the first connector. The first end of the second connector is connected to the second end of the first connector. The control module is connected to the first switching module and the second end of the first connector. The first connector is configured to receive and output a first selection command through its first end and its second end. The HDMI connector is configured to receive HDMI signals through its first end. The second connector is configured to receive interface data through its second end and send the interface data to the second end of the first connector to output interface data. The control module is configured to control the second connector to stop receiving interface data when the first connector receives the first selection command, and selectively connect the data transmission path between the second end of the target HDMI connector and the first conversion module according to the first selection command. The first conversion module is configured to convert the format of the first HDMI signal received through the data transmission path to obtain first multimedia data and output the first multimedia data through the first connector. By incorporating multiple HDMI connectors in the interface expansion device, it is possible to simultaneously connect multiple HDMI devices. Furthermore, by transmitting a first selection command to the control module through the first and second ends of the first connector, the data transmission channels between the second ends of different HDMI connectors and the first conversion module can be selectively activated. This allows the transmission of HDMI signals received by different HDMI connectors to the first conversion module, thus improving the expandability of the interface expansion device compared to docking stations that only include a single HDMI connector.

[0029] Secondly, compared to using a mechanical switch, some embodiments of this application employ an electrically controlled first switching module. Furthermore, by multiplexing the second and first ends of the first HDMI connector used for interface data output, the first selection command is received. This ensures that the first multimedia data transmission is not affected while simultaneously reducing the size of the interface expansion device. Moreover, switching the signal source can be achieved without requiring the user to plug or unplug the HDMI device, improving user convenience.

[0030] Figure 1 shows a schematic diagram of the structure of a display system provided in some embodiments of this application. As shown in Figure 1, the display system may include a receiving device 110, an interface expansion device 120, a signal source device 130, and a second electronic device 140.

[0031] The receiving device 110 and the interface expansion device 120 can be connected via cable 150. The interface expansion device 120 can be connected to each signal source device 130 via cable (not shown in Figure 1). The signal source device 130 supports a third data communication protocol, the receiving device 110 supports a first data communication protocol and a second data communication protocol, and the second electronic device 140 supports the second data communication protocol. The signal source device 130 can be configured to output third multimedia data corresponding to the third data communication protocol, the interface expansion device 120 can be configured to convert the data corresponding to the third data communication protocol into first multimedia data corresponding to the first data communication protocol, the second electronic device 140 can be configured to provide interface data, such as USB data, etc., and the receiving device 110 can be configured to output a first selection command, process the first multimedia data, and process the interface data, etc.

[0032] In some embodiments, the receiving device 110 includes a Type-C connector, and the interface expansion device 120 includes a Type-C connector. Both the Type-C connectors of the receiving device 110 and the interface expansion device 120 are female. The receiving device 110 and the interface expansion device 120 can be connected via a Type-C cable, where one end of the Type-C cable is a male Type-C connector, and the other end is also a male Type-C connector. In this embodiment, the connection between the receiving device 110 and the interface expansion device 120 can be achieved via a Type-C cable.

[0033] In some embodiments, the signal source device 130 includes an HDMI connector, and the interface expansion device 120 includes an HDMI connector. Both the HDMI connectors of the signal source device 130 and the interface expansion device 120 are female. The interface expansion device 120 can be connected to each signal source device 130 via an HDMI cable, wherein one end of the HDMI cable is a male HDMI connector, and the other end is also a male HDMI connector. In this embodiment, the connection between the signal source device 130 and the interface expansion device 120 can be achieved via an HDMI cable.

[0034] In some embodiments, the signal source device 130 and the receiving device 110 may include, but are not limited to, televisions, game consoles, computers, portable multimedia players, cameras, etc. The interface expansion device 120 may be a docking station. The second electronic device may include a USB (Universal Serial Bus) device, and may include, but are not limited to, a keyboard, mouse, printer, USB flash drive, external hard drive, etc.

[0035] Figure 2 illustrates a schematic diagram of another display system provided in some embodiments of this application. As shown in Figure 2, the signal source device 210 may include a fifth connector 211, which is configured to transmit data based on a third data communication protocol. The signal source device 210 can be used to provide multimedia data corresponding to the third data communication protocol.

[0036] In some embodiments, a third data communication protocol can be used to transmit audio data and / or video data. The interface expansion device 220 may include multiple sixth connectors 221 for connecting to the signal source device 210 and transmitting data with it based on the third data communication protocol. That is, the interface expansion device 220 can receive multimedia data provided by the signal source device 210 connected to the sixth connector 221. The interface expansion device 220 and the signal source device 210 can reliably receive multimedia data provided by the signal source device 210 based on the third data communication protocol.

[0037] In some embodiments, the interface expansion device 220 includes a number of sixth connectors 221 greater than or equal to 2. In some embodiments, the number of sixth connectors 221 may be 2, 3, 4, or 5, etc.

[0038] The interface expansion device 220 may further include a first connector 222, which is used to connect to the receiving device 230 and transmit data with the receiving device 230 based on a first data communication protocol and a second data communication protocol. That is, the interface expansion device 220 can provide the receiving device 230 with the first multimedia data corresponding to the first data communication protocol and the interface data corresponding to the second data communication protocol through the first connector 222.

[0039] In some embodiments, the first data communication protocol can be used to transmit multimedia data such as audio data and / or video data, and the second data communication protocol can be used to transmit multimedia data, file content, HID (Human Interface Device) data, etc. The first, second, and third data communication protocols are all different. The receiving device 230 may include a fourth connector 231, which is used to connect to the first connector 222 via a cable and to transmit data with the first connector 222 based on the first and second data communication protocols, to receive first multimedia data corresponding to the first data communication protocol and interface data corresponding to the second data communication protocol, and to send a first selection command.

[0040] In some embodiments, the first and third data communication protocols include, but are not limited to, HDMI communication protocol, DP (Display Port) communication protocol, VGA (Video Graphics Array) communication protocol, DVI (Digital Visual Interface) communication protocol, RTP (Real-time Transport Protocol), etc. The second data communication protocol may include, for example, the USB communication protocol.

[0041] In some embodiments, the receiving device 230 may further include a display screen, which receives first multimedia data transmitted by the first connector 222 through the fourth connector 231 and displays the first multimedia data through the display screen.

[0042] In some embodiments, the second electronic device 240 includes a seventh connector 241, and the interface expansion device includes a second connector 223. The seventh connector 241 is used to output interface data to the second connector 223 to send interface data to the interface expansion device 220. The second connector 223 can send interface data to the first connector 222.

[0043] Figure 3 shows one of the structural schematic diagrams of an interface expansion device provided in some embodiments of this application. In this embodiment, the fifth connector 211 and the sixth connector 221 are HDMI connectors, and the signal source device is an HDMI device, as an example for illustration. In the following embodiments, the receiving device is referred to as the first electronic device, and the signal source device is referred to as the HDMI device. Here, an HDMI device refers to an electronic device including an HDMI connector, which can transmit HDMI signals through the HDMI connector.

[0044] As shown in Figure 3, the interface expansion device 300 may include a first connector 310, a first switching module 320, a first conversion module 330, a second connector 340, a control module 360, and at least two HDMI connectors 350. The first switching module 320 is connected to the second ends of both the first conversion module 330 and the at least two HDMI connectors 350. The first conversion module 330 is connected to the third end of the first connector 310. The first end of the second connector 340 is connected to the second end of the first connector 310. The control module is connected to both the first switching module and the second end of the first connector. The interface expansion device 300 may include one or more second connectors 340.

[0045] The first connector 310 is configured to receive a first selection instruction through its first end, transmit the first selection instruction to its second end, output the first selection instruction through its second end, transmit the interface data through the first end of the second connector 340 to the second end of the first connector 310, and output the interface data through the first end of the first connector 310. The first conversion module 330 is configured to convert multimedia data corresponding to the HDMI communication protocol into multimedia data corresponding to the first data communication protocol. Any HDMI connector 350 is configured to receive HDMI signals through its first end, and the second connector 340 is configured to receive interface data through its second end. The control module is configured to control the second end of the second connector 340 to stop receiving interface data when the first end of the first connector 310 receives a first selection instruction, and according to the first selection instruction, control the first switching module 320 to selectively open the data transmission path between the second end of the target HDMI connector 350 and the first conversion module 330. The first conversion module 330 is configured to receive the first HDMI signal through the data transmission path, convert the received first HDMI signal into a format to obtain first multimedia data, and send the first multimedia data to the third end of the first connector 310 so as to output the first multimedia data through the first end of the first connector 310.

[0046] The target HDMI connector is one of the HDMI connectors 350 included in the interface expansion device 300. Understandably, the target HDMI connector 350 should be connected to an HDMI device so that the first connector 310 can receive HDMI signals, so that the first electronic device can display the first multimedia data corresponding to the HDMI data. The first multimedia data corresponds to a first data communication protocol. The first electronic device supports the first data communication protocol and a second data communication protocol. Therefore, the first electronic device connected to the first connector 310 can process the first multimedia data and the interface data.

[0047] It should be noted that the first data communication protocol is different from the HDMI communication protocol. By setting the first conversion module 330, the multimedia data corresponding to the HDMI communication protocol is converted into the multimedia data corresponding to the first data communication protocol, so that the HDMI device provided by the HDMI device can be processed by the first electronic device.

[0048] In some embodiments, the first selection instruction is generated by the first electronic device in response to a first interface switching operation, which instructs the selection of a target HDMI device connected to the target HDMI connector as the signal source. As shown in FIG3, the first HDMI connector is the target HDMI connector. The target HDMI connector can be any one of a plurality of HDMI connectors 350.

[0049] For example, the first electronic device may be equipped with a first button, and the first interface switching operation includes triggering the first button. Upon detecting the triggering operation of the first button, the first electronic device generates a first selection command in response to the triggering operation of the first button.

[0050] It should be noted that by setting the first conversion module 330, the first HDMI data is converted into first multimedia data corresponding to the first communication protocol, so that the first multimedia data can be sent to the first electronic device through the first connector 310 and recognized and output by the first electronic device. For example, the control module 360 ​​is configured to control the first connector 310 to stop receiving interface data when the second connector 340 receives interface data.

[0051] In this embodiment, compared to the solution of switching signal sources via a button or mechanical switch, the user can select the HDMI device connected to the desired HDMI connector 350 as the signal source by performing a first interface switching operation, thus improving the convenience of switching signal sources. Furthermore, since electronic switches do not require manual operation components such as buttons, they are often smaller than mechanical switches, resulting in a smaller size for the interface expansion device 300 while still achieving signal source switching.

[0052] In some embodiments, the control module 360 ​​is configured to selectively control the first switching module 320 to connect the default HDMI connector and the first connector 310 when powered on. The default HDMI connector can be any pre-set HDMI connector 350, such as the first HDMI connector, or it can be the HDMI connector that the first switching module 320 connected before the most recent power failure.

[0053] In this embodiment, by providing multiple HDMI connectors 350 in the interface expansion device 300, the interface expansion device 300 can simultaneously connect multiple HDMI devices. Simultaneously, the first selection command is transmitted to the control module 360 ​​via the first and second ends of the first connector 310. This allows the first switching module 320 to selectively open the data transmission channels between the second ends of different HDMI connectors 350 and the first conversion module 330, thereby enabling the transmission of HDMI signals received by different HDMI connectors 350 to the first conversion module 330. Compared to a docking station that only includes a single HDMI connector 350, this improves the expandability of the interface expansion device 300.

[0054] Secondly, compared to using a mechanical switch, this embodiment employs an electrically controlled first switching module 320, and by multiplexing the second and first ends of the first HDMI connector 350 for interface data output, it receives the first selection command. This ensures that the first multimedia transmission is not affected while keeping the interface expansion device 300 relatively small. Furthermore, switching the signal source can be achieved without the user having to plug or unplug the HDMI device, improving the convenience of user operation.

[0055] In some embodiments, the first connector 310 may include a Type-C connector, and the first conversion module 330 is further configured to perform format conversion on the first HDMI signal received through the data transmission path to obtain first multimedia data corresponding to the DP communication protocol. It should be noted that the first conversion module 330 can convert data corresponding to the HDMI communication protocol into data corresponding to the DP communication protocol, and the interface expansion device 300 can switch between multiple HDMI signal sources.

[0056] In related technologies, especially in the display field, most docking stations convert data corresponding to the DisplayPort (DP) communication protocol to the HDMI communication protocol to meet the needs of most users. However, Type-C connectors support DP ALT (DisplayPort Alternate) mode, adding video signal input functionality to their support for external storage media such as USB flash drives (Universal Serial Bus). Currently, most primary electronic devices (such as televisions) use HDMI connectors to receive multimedia data. These devices do not have Type-C connectors, and even if they do, they do not support receiving multimedia data via Type-C. In other words, the Type-C functionality supported by these devices is limited to basic functions such as supporting external USB flash drives and charging. With the development of primary electronic devices, they can now convert data corresponding to the DP communication protocol into displayable data for display.

[0057] In some embodiments, the first electronic device may include a fourth connector, a display screen, and a processor. The fourth connector is connected to the first connector 310 of the interface expansion device 300 via a cable. The fourth connector is configured to receive first multimedia data output from the first end of the first connector 310 through its first end. The processor of the first electronic device can convert the first multimedia data corresponding to the DP communication protocol into data that can be displayed on the display screen; that is, the processor can directly identify and process the data corresponding to the DP communication protocol. In some embodiments, the processor may include a SoC (System on a Chip).

[0058] In other embodiments, the first electronic device may further include a DP conversion chip connected to a processor. The DP conversion chip is configured to convert the first multimedia data corresponding to the DP communication protocol into data corresponding to a data communication protocol that the processor can recognize, so that the first electronic device can control the display screen to display the first multimedia data.

[0059] In this embodiment, the interface expansion device includes a first conversion module 330, a first switching module 320, multiple HDMI connectors 350, and a Type-C connector. Using the Type-C connector as an output connector (a connector for outputting multimedia data) allows for the output of multiple signal types (interface data and first multimedia data) compared to using the HDMI connector 350 as the output connector, thus improving the expandability of the interface expansion device 300. The first conversion module 330 can convert received HDMI data into first multimedia data corresponding to the DP communication protocol. The first multimedia data corresponding to the DP communication protocol supports higher resolution and refresh rate than the multimedia data corresponding to the HDMI communication protocol, enabling the first multimedia data to display finer image details and smoother picture performance, improving the user experience. Furthermore, since the Type-C cable is smaller than the HDMI cable, by using a Type-C connector on the first electronic device to transmit multimedia data with the interface expansion device 300, the volume required for inserting the cable can be reduced, minimizing the limitations of the first electronic device's deployment, especially for embedded first electronic devices (such as those embedded in a wall).

[0060] In some embodiments, the second connector 340 includes a USB connector, and the first selection command received at the first end of the first connector 310 is a differential signal. Exemplarily, the first connector 310 may include a first D+ (Data Positive) pin and a first D- (Data Negative) pin. The first end of the first connector 310 includes the first end of the first D+ pin and the first end of the first D- pin. The control module 360 ​​is connected to the second ends of the first D+ pin and the first D- pin, and the control module 360 ​​is further configured to receive the first selection command output by the first D+ pin and the first D- pin. Exemplarily, the control module 360 ​​is further configured to determine the first selection command based on the voltage difference between the first D+ pin and the first D- pin. It should be noted that the second data communication protocol includes the USB communication protocol. USB is designed to use differential signal transmission to achieve higher anti-interference and more stable transmission. The first D+ pin and the first D- pin form a differential pair to realize the transmission of the first selection command. The control module 360 ​​can detect the voltage difference between the first D+ pin and the first D- pin to obtain a first selection command. Since external noise interference usually affects both D+ and D- simultaneously, while the signal difference remains unaffected, the accuracy of the first selection command received by the control module 360 ​​can be guaranteed. For example, the first end of the first connector 310 includes a first end connected to the first D+ pin and a first end connected to the first D- pin. For example, when the first data transmission protocol is the DP communication protocol, the first end of the first connector 310 also includes a first end of the TX+ (Transmit Positive) pin and a first end of the TX- (Transmit Negative) pin. The third end of the first connector 310 includes a second end of the TX+ pin and a second end of the TX- pin. The TX+ pin and the TX- pin form a differential signal pair for transmitting data.

[0061] In this embodiment, the transmission of the first selection command is achieved using the second end of the first connector 310 corresponding to the USB port, ensuring the accuracy of the first selection command received by the first switching module 320. Furthermore, since the transmission of the first selection command and the first multimedia data utilizes different ends of the first connector 310, the reliability of the first multimedia data transmission is guaranteed while enabling the first switching module 320 to switch between different HDMI signal sources.

[0062] Please refer to Figure 4, which shows a second structural schematic diagram of an interface expansion device provided in some embodiments of this application. As shown in Figure 4, the interface expansion device 400 includes multiple HDMI connectors 350, a first connector 310, a first conversion module 330, a first switching module 320, a second connector 340, a control module 360, and a second conversion module 410. The second conversion module 410 is connected to the second end of the first connector 310 and the control module 360, respectively.

[0063] Specifically, the control module 360 ​​supports a first serial communication protocol, and the first selection command corresponds to a second serial communication protocol. The second serial communication protocol differs from the first serial communication protocol. The first connector 310 is configured to receive the first selection command from its first end and send it to the second conversion module 410 through its second end. The second conversion module 410 is configured to convert the received first selection command corresponding to the second serial communication protocol into a serial communication signal corresponding to the first serial communication protocol, and then send this serial communication signal to the control module 360. It should be noted that the first connector 310 also supports the second serial communication protocol and is also used to receive the first selection command based on the second serial communication protocol. For descriptions of the HDMI connector 350, the first connector 310, the first conversion module 330, the second connector 340, the control module 360, and the first switching module 320, please refer to the relevant descriptions in the above embodiments; they will not be repeated here.

[0064] In some embodiments, the first serial port communication protocol and the second serial port communication protocol may include, but are not limited to, I2C (Inter-Integrated Circuit) communication protocol, UART (Universal Synchronous / Asynchronous Receiver / Transmitter) communication protocol, USB communication protocol, CAN (Controller Area Network) communication protocol, etc.

[0065] In some embodiments, the first electronic device may generate a first selection instruction corresponding to the second serial communication protocol in response to the first interface switching operation, and send the first selection instruction corresponding to the second serial communication protocol to the first connector 310 through the fourth connector.

[0066] In some embodiments, the first connector 310 may include a Type-C connector, the first serial communication protocol is the UART communication protocol, and the second serial communication protocol is the USB communication protocol. That is, the second conversion module 410 can convert the data corresponding to the USB communication protocol into the data corresponding to the UART communication protocol.

[0067] In this embodiment, by setting a second conversion module 410, it is enabled to utilize existing standard protocols (such as Modbus) to achieve communication between the control module 360 ​​and the first electronic device, thereby enabling the control module 360 ​​to control the first switching module 320 to perform switching. This design significantly reduces the complexity and risk of software development because using standardized communication protocols reduces the need for customized protocols, thereby improving system compatibility and development efficiency. Furthermore, the use of standard protocols simplifies data transmission and device interaction, improving system stability and reliability.

[0068] In other embodiments, the control module 360 ​​supports a first serial communication protocol, and the first connector 310 is further configured to receive a first selection command based on the first serial communication protocol and transmit the first selection command to the control module 360. That is, the control module 360, the first connector 310, and the first electronic device all support a second serial communication protocol. It should be noted that, compared to the interface expansion device shown in FIG4, the control module 360 ​​in this embodiment can be directly connected to the first connector 310. The control module 360 ​​can directly receive the first selection command through the first connector 310 without data conversion, thus improving the switching speed of the signal source.

[0069] In some embodiments, the first electronic device may generate a first selection instruction corresponding to a first serial communication protocol in response to a first interface switching operation.

[0070] In some embodiments, the first serial communication protocol is the USB communication protocol, and the first connector 310 includes a Type-C connector. In this embodiment, a first connector 310 that supports the same serial communication protocol as the first electronic device is selected. The first selection command corresponding to the first serial communication protocol is received through the first connector 310, so that the first switching module 320 can directly receive the first selection command transmitted by the first connector 310 and parse the first selection command. This eliminates the need for the interface expansion device to perform data format conversion processing on the first selection command, and the first switching module 320 can still realize HDMI signal source switching, thereby improving the signal source switching efficiency of the interface expansion device.

[0071] In some embodiments, the first connector 310 is further configured to receive a first selection instruction through its first end in a first time slot, and the second connector 340 is further configured to receive interface data through its second end in a second time slot. It should be noted that the first selection instruction is transmitted to the control module 360 ​​through the first end and the second end of the first connector 310, and the interface data is output through the second end, the first end, the second end, and the first end of the second connector 340, such as to a first electronic device connected to the first connector 310. Therefore, the first and second ends of the first connector 310 need to transmit the first selection instruction and interface data. By enabling the first connector 310 to transmit the first selection instruction and interface data in different time slots—that is, by enabling the first and second ends of the first connector 310 to transmit the first selection instruction and interface data in different time slots—the occupation of other hardware resources is avoided, resource utilization efficiency is improved, and the reliability of the transmission of the first selection instruction and interface data is ensured.

[0072] In some embodiments, a first electronic device is configured to send a first selection command to a first end of a first connector 310 via a first end of a fourth connector in a first time slot, so that the first connector 310 receives the first selection command via its first end in the first time slot. A second electronic device is configured to send interface data to a second end of a second connector 340 in a second time slot, so that the second connector 340 receives the interface data via its second end in the second time slot. It should be noted that different time slots are allocated alternately to the first electronic device and the second electronic device to enable the first connector 310 to transmit the first selection command and interface data in turn, thereby ensuring that the first connector 310 receives the corresponding data in different time slots.

[0073] Figure 5 shows a third structural schematic diagram of an interface expansion device provided in an embodiment of this application. As shown in Figure 5, the interface expansion device 500 adds a forwarding module 510 compared to the interface expansion device 300 shown in Figure 3. The forwarding module 510 is connected to the second end of the first connector 310, the first end of the second connector 340, and the control module 360, respectively.

[0074] Specifically, the control module 360 ​​is further configured to determine a first time slot for the first electronic device to transmit the first selection instruction and a second time slot for the second electronic device to transmit interface data when the first connector 310 is connected to the first electronic device and the second connector 340 is connected to the second electronic device. The forwarding module 510 is configured to send the first selection instruction to the control module 360 ​​when it receives the first selection instruction from the second end of the first connector 310 in the first time slot, and to send the interface data to the second end of the first connector 310 when it receives the interface data in the second time slot. It should be noted that the control module can allocate reasonable time slots for the first and second electronic devices to enable them to transmit in different time slots, achieving time-division multiplexing. It is understood that when the first time slot arrives, the first electronic device may or may not transmit the first selection instruction. If the first electronic device does not need to transmit the first selection instruction, it may not transmit it in that first time slot. Similarly, when the second time slot arrives, the second electronic device may or may not transmit the interface data.

[0075] In some embodiments, the forwarding module 510 is configured to acquire transmission information corresponding to the first electronic device when the first connector 310 is connected to the first electronic device, and to acquire transmission information corresponding to the second electronic device when the second connector 340 is connected to the second electronic device. The control module 360 ​​is further configured to determine a first time slice for the first electronic device to transmit a first selection command and a second time slice for the second electronic device to transmit interface data based on the transmission information corresponding to the first and second electronic devices. It should be noted that the transmission information corresponding to the first electronic device may characterize the transmission requirement of the first electronic device to transmit the first selection command, and the transmission information corresponding to the second electronic device may characterize the transmission requirement of the second electronic device to transmit interface data. The transmission information may include, but is not limited to, the data length and data flow requirements of the transmitted data. The control module 360 ​​may allocate reasonable time slices for the first and second electronic devices based on their transmission requirements.

[0076] In some embodiments, the second connector 340 may include a USB connector, and the forwarding module 510 may include a USB hub. The interface expansion device may include at least one USB connector. The first connector 310 also supports the USB communication protocol, wherein the USB connector can be used to connect USB devices. USB devices may include, but are not limited to, keyboards, mice, printers, USB flash drives, external hard drives, etc. In some embodiments, the USB connector may include USB-A sockets, USB-B sockets, USB-C sockets, etc.

[0077] In this embodiment, the USB HUB enables the control module 360 ​​and each USB connector to be connected to the second end of the first connector 310, allowing the interface expansion device 500 to transmit the first selection command based on the USB communication protocol. At the same time, it enables data interaction with USB devices connected to the USB connector, thus improving the expandability of the interface expansion device 500.

[0078] In some embodiments, the format of the first selection instruction is a custom USB data packet format. By setting a private protocol, the first selection instruction can interact between the first electronic device and the control module 360, eliminating the need for a conversion module and reducing the size of the interface expansion device 500 and the complexity of its circuit design.

[0079] In this embodiment, a forwarding module 510 is provided in the extended interface device, and different time slices are allocated to the first electronic device and the second electronic device through the first conversion module 330. Multiple second connectors can also be provided to ensure the reliability of time-division multiplexing and improve the scalability of the interface extension device. By using time-division multiplexing, the first selection command and interface data can be transmitted using both the second and first ends of the first connector 310. Compared to using different hardware resources to transmit the first selection command and interface data, this improves the utilization efficiency of the hardware resources of the interface extension device, reduces its size, and lowers its cost.

[0080] In some embodiments, the first electronic device is further configured to output a first interrupt command to the first end of the first connector 310 when a first selection command needs to be output, and the second electronic device is further configured to output a second interrupt command to the second end of the second connector 340 when interface data needs to be output. The control module 360 ​​can control the first electronic device to output the first selection command or the second electronic device to output interface data according to the first interrupt command and the second interrupt command.

[0081] For example, the first electronic device has a higher priority than the second electronic device. Upon receiving a first interrupt command, the control module 360 ​​controls the first electronic device to output a first selection command. Upon receiving a second interrupt command, if the first electronic device does not output the first selection command, the control module 360 ​​controls the second electronic device to output interface data; if the first electronic device outputs the first selection command, the control module 360 ​​controls the second electronic device to output interface data after the first selection command transmission is complete. For example, when the first electronic device generates the first selection command, it outputs a first interrupt command to the first end of the first connector 310. In this embodiment, the transmission of the first selection command is prioritized, improving the switching speed of the HDMI signal source and enhancing the user experience.

[0082] In this embodiment, the control module 360 ​​flexibly controls the first electronic device to output the first selection instruction and the second electronic device to output interface data according to the first interrupt instruction and the second interrupt instruction, thereby optimizing time utilization.

[0083] In some embodiments, the first switching module supports a first serial communication protocol, the first connector is further configured to receive a first selection instruction based on the first data communication protocol, and the first conversion module is further configured to convert the first selection instruction into a serial communication signal corresponding to the first serial communication protocol and send the serial communication signal to the control module.

[0084] For example, the communication protocols supported by the control module and the first electronic device may be different. The communication protocols supported by the first conversion module and the control module may partially overlap, as may also partially overlap. Therefore, the first conversion module converts the first selection command corresponding to the first data communication protocol supported by the first electronic device into a serial communication signal corresponding to the first serial communication protocol supported by the control module. This enables the control module to control the first switching module to connect the first conversion module to the target HDMI connector based on the serial communication signal.

[0085] In some embodiments, the first electronic device generates a first selection instruction corresponding to a first data communication protocol in response to a first interface switching operation. For example, the first interface switching operation is used to instruct the selection of a target HDMI device connected to a target HDMI connector as a signal source. In this embodiment, by executing the first interface switching operation, the user can cause the first electronic device to send a first selection instruction to the first connector, thereby selecting the desired first electronic device as a signal source and improving the convenience of switching signal sources for the user.

[0086] In some embodiments, the first connector includes a Type-C connector. The Type-C connector supports the DP communication protocol, and the AUX (Auxiliary) channel is a channel in the DP protocol responsible for transmitting auxiliary information of the first electronic device. This auxiliary information may include EDID (Extended Display Identification Data) information, DP configuration information, etc. For example, the first connector is also configured to receive a first selection command via the AUX channel. In a working cycle, the AUX channel is only occupied for a portion of the time to transmit auxiliary information. When the AUX channel is idle, the first electronic device can occupy the AUX channel to send the first selection command to the first connector. This allows the transmission of the first selection command without affecting the original function of the AUX channel. By reusing the Type-C connector, the size of the docking station can be reduced. In this embodiment, using the AUX channel to receive the first selection command avoids conflicts between the transmission of the first selection command and the transmission of the first multimedia data, ensuring the reliability of HDMI signal source switching.

[0087] In this embodiment, the first conversion module is used to convert the first selection instruction corresponding to the first data communication protocol into a serial communication signal corresponding to the first serial communication protocol, so that the control module can parse and determine the target HDMI device selected by the user and connected to the target HDMI connector, and then switch the signal source. At the same time, the data format conversion can be realized by using the first conversion module without the need for an additional data conversion chip, which makes the interface expansion device smaller in size.

[0088] In related technologies, only devices using HDMI connectors for data transmission can utilize CEC (Consumer Electronics Control) functionality. For interface expansion devices, since it's rare to directly connect HDMI connectors (i.e., using one HDMI connector as an input and another as an output), there are no commercially available interface expansion devices capable of implementing CEC functionality. In some embodiments, the third ends of multiple HDMI connectors are connected to the same control path. The first conversion module is also connected to the fourth end of the first connector. The first connector is further configured to receive first control information through its first end, wherein the first control information encapsulates a first CEC command. The first conversion module is further configured to receive the first control information transmitted from the fourth end of the first connector, parse the received first control information to obtain the first CEC command encapsulated in the first control information, and send the first CEC command to the third ends of each HDMI connector through the control path.

[0089] It should be noted that the first control information is used to instruct the HDMI device connected to the HDMI connector 221 to perform a first control operation in response to a first CEC command. In some embodiments, the first control operation includes, but is not limited to, turning the first electronic device on or off, adjusting the volume of the first electronic device, and controlling the first electronic device to play multimedia data. For example, the third end of the HDMI connector includes a CEC pin of the HDMI connector, which enables the transmission of CEC commands.

[0090] In this embodiment, multiple HDMI connectors are connected to the same control path, so that when the control path receives the first control information, all HDMI devices connected to the HDMI connectors will perform the corresponding first control operation, reducing the complexity of manual operation by the user.

[0091] In some embodiments, the first electronic device is further configured to generate first control information corresponding to a first data communication protocol in response to a first trigger operation corresponding to a first control operation, and send the first control information to the first connector via a fourth connector. It should be noted that the first trigger operation corresponds to the first control operation. For example, when the first electronic device detects a first trigger operation, and the first trigger operation is used to instruct the first electronic device to turn off, the first control information generated by the first electronic device is also used to instruct the HDMI device to turn off. In this embodiment, by controlling the first electronic device, control of the HDMI device connected to the interface expansion device can be achieved, reducing the complexity of manual operation by the user and improving the user experience.

[0092] In some embodiments, the first control information encapsulates a first CEC instruction. The first conversion module is further configured to parse the first control information to obtain the first CEC instruction encapsulated in the first control information, and send the first CEC instruction to the third end of the HDMI connector.

[0093] In some embodiments, the HDMI connector includes a CEC pin. Multiple HDMI connectors have their CEC pins connected to the same control path, enabling multiple HDMI connectors to be connected to the same control path. This allows a user to perform an operation, and a first electronic device sends a first control message once, thus controlling multiple first electronic devices connected to the HDMI connector to shut down. The first electronic device can directly encapsulate the first CEC instruction in the first control information, and a first conversion module can parse the first CEC instruction from the first control information and directly send the first CEC instruction to the HDMI connector. The HDMI connector then directly sends the instruction to an HDMI device that supports the HDMI communication protocol. This allows the interface expansion device to transmit CEC instructions, improving its practicality.

[0094] In some embodiments, the first connector includes a Type-C connector. The fourth end of the first connector includes a second end with a Sideband Used (SBU) pin, and the first end of the first connector includes a first end with an SBU pin, thus enabling the transmission of first control information via the SBU pin. The Type-C connector supports the DP communication protocol. The AUX channel is a channel in the DP communication protocol responsible for transmitting auxiliary information of the first electronic device. This auxiliary information may include EDID (Extended Display Identification Data) information, DP configuration information, etc. For example, the first connector is also used to receive first control information sent by the first electronic device via the AUX channel. In a working cycle, the AUX channel is only occupied for a portion of the time to transmit auxiliary information. When the AUX channel is idle, the first electronic device can occupy the AUX channel to send the first control information to the first connector, enabling the transmission of first control information without affecting the original function of the AUX channel. By reusing the first and fourth ends of the Type-C connector, i.e., the SBU pin, the size of the docking station can be reduced. The interface expansion device receives the first selection command through the SBU pin of the first connector, or in other words, the interface expansion device receives the AUX data packet containing the first CEC command through the SBU pin of the first connector. By designing a proprietary protocol, the Type-C connector can support the CEC command, thus improving the practicality of the interface expansion device.

[0095] In some embodiments, the HDMI connector is further configured to receive a second CEC command through a first end of the HDMI connector, and the first conversion module is further configured to receive the second CEC command output from a third end of any HDMI connector through a control path, encapsulate the second CEC command to generate second control information corresponding to a first data communication protocol, and send the second control information to a fourth end of the first connector to output the second control information through the first connector. It should be noted that the second CEC command can be a CEC command output by an HDMI device connected to any HDMI connector, and the second control information can be used to instruct a first electronic device connected to the first connector to perform a second control operation according to the second CEC command. The second control operation corresponds to the second CEC command, allowing the user to control the first electronic device to perform corresponding operations by controlling any HDMI device. For example, if the user controls the HDMI device to turn off, the first electronic device can be turned off simultaneously, reducing the complexity of user operation. In some embodiments, the second control operation includes, but is not limited to, turning the first electronic device on / off, adjusting the volume of the first electronic device, and controlling the first electronic device to play multimedia data.

[0096] In some embodiments, the HDMI device may generate a second CEC instruction in response to a second trigger operation corresponding to the second CEC instruction. It should be noted that the second trigger operation corresponds to a second control operation. For example, when the HDMI device detects the second trigger operation, and the second trigger operation is used to instruct the HDMI device to increase the playback volume, the second control information encapsulating the second CEC instruction is also used to instruct the first electronic device to increase the playback volume.

[0097] In some embodiments, the first connector includes a Type-C connector, and the first connector sends second control information to the first electronic device via an AUX channel. In some embodiments, the first conversion module may encapsulate the second CEC instruction into an AUX data packet based on the AUX data format in the DP communication protocol and send it to the fourth end of the first connector.

[0098] In some embodiments, the fourth connector includes a Type-C connector, through which the controller of the first electronic device can receive the AUX data packet and parse the AUX data packet to obtain the second CEC instruction.

[0099] In this embodiment, the first conversion module can encapsulate the second CEC command to generate second control information corresponding to the first communication protocol, enabling the first electronic device to receive and recognize the second control information and execute the second control operation corresponding to the second CEC command. By controlling the HDMI device connected to the interface expansion device, the first electronic device connected to the first connector can be controlled.

[0100] In some embodiments, the first conversion module is further configured to parse the received first control information to obtain the first CEC instruction encapsulated in the first control information, and send the first CEC instruction to the third end of each HDMI connector through a control path. The first conversion module is also configured to receive a second CEC instruction output from the third end of any HDMI connector through a control path, encapsulate the second CEC instruction to generate second control information, and output the second control information through the first connector. In this embodiment, the interface expansion device can implement bidirectional CEC functionality, further improving the practicality of the interface expansion device.

[0101] Figure 6 shows a fourth structural schematic diagram of an interface expansion device 600 provided in some embodiments of this application. As shown in Figure 6, the interface expansion device 600 further includes a first register 610. The first conversion module 330 is also connected to the fourth end of the first connector 310. The first conversion module 330 is further configured to receive first EDID information sent by the first electronic device through the fourth end of the first connector 310 when the first connector 310 is connected to the first electronic device and receives power provided by the first electronic device, and to store the first EDID information in the first register 610. For example, when the first conversion module 330 receives power provided by the first electronic device, it can send a first EDID request to the first electronic device. In response to the first EDID request, the first electronic device sends a first EDID signal to the first conversion module 330 through the first end and the fourth end of the first connector 310.

[0102] In some embodiments, the first electronic device may include a memory for storing the first EDID information. Upon receiving the first EDID request, the first electronic device reads the first EDID information stored in the memory and sends the first EDID signal to the first conversion module 330 via the first connector 310.

[0103] In some embodiments, the first connector 310 may include a Type-C connector, and the first electronic device may send first EDID information to the first conversion module 330 through the AUX channel of the first connector 310. The fourth end of the first connector 310 includes the second end of the SBU pin. It should be noted that the first connector 310 includes a Type-C connector, the fourth connector includes a Type-C connector, and the first conversion module 330 receives power from the first electronic device through the VBUS (Voltage Bus) pin of the first connector 310 and the VBUS pin of the fourth connector.

[0104] In some embodiments, the first EDID stored in the first register 610 disappears after the current is turned off. The first conversion module 330 rereads the first EDID information and writes it back into the first register 610 each time it is powered on.

[0105] In some embodiments, the first conversion module 330 is further configured to, when the first switching module 320 selectively connects the data transmission path between the second end of the target HDMI connector and the first conversion module 330, acquire the first EDID information in the first register 610 and send the first EDID information to the fourth end of the target HDMI connector, so that the target HDMI device connected to the target HDMI connector sends a first HDMI signal to the first end of the target HDMI connector based on the first EDID information. Here, the target HDMI device is an HDMI device connected to the target HDMI connector, and the parameters of the first HDMI signal match the first EDID information, enabling the first electronic device to display the format-converted first HDMI signal at its highest resolution, ensuring that the first electronic device can display the first multimedia data with high quality.

[0106] For example, the fourth end of the HDMI connector includes the second end of the DDC (Display Data Channel) pin, and the first end of the HDMI connector includes the first end of the DDC pin, that is, the transmission of the first EDID information is realized through the DDC pin.

[0107] For example, when the first switching module 320 selectively connects the data transmission path between the second end of the target HDMI connector and the first conversion module 330, the target HDMI device sends a second EDID request to the first conversion module 330. The first conversion module 330 is configured to retrieve the first EDID information from the first register 610 in response to the second EDID request, and send the first EDID information to the target HDMI device through the fourth end of the target HDMI connector.

[0108] In this embodiment, since the first conversion module 330 stores the first EDID information corresponding to the first electronic device in the first register 610 upon receiving power from the first electronic device, when the first switching module 320 selectively connects the data transmission path between the second end of the target HDMI connector and the first conversion module 330, the first conversion module 330 can directly send the first EDID information stored in the first register 610 to the target HDMI device without communicating with the first electronic device. This reduces the acquisition time of the first EDID information, thereby reducing the time for the target HDMI device to output the first HDMI signal, and further reducing the black screen duration caused by switching signal sources, thus improving the user experience. Simultaneously, since the first EDID information is obtained from the first electronic device, meaning the first EDID information matches the first electronic device, the display effect of the first electronic device displaying the first multimedia data can be guaranteed.

[0109] The above embodiments provide a method for the first conversion module 330 to obtain the first EDID stored in the first electronic device when it is powered on, so as to reduce the black screen time during the signal source switching process. The following embodiments will provide another method to reduce the black screen time during the signal source switching process.

[0110] Figure 7 shows a fifth schematic diagram of an interface expansion device provided in an embodiment of this application. As shown in Figure 7, the interface expansion device 700 may further include a non-volatile memory 710 and a first register 720. The first conversion module 330 is also connected to the fourth end of the first connector 310. The first conversion module 330 is further configured to acquire the second EDID information stored in the non-volatile memory 710 when the first conversion module 330 is powered on, and store the second EDID information in the first register 720. It is understood that the non-volatile memory 710 refers to a memory whose stored data will not disappear after the current is turned off, ensuring that the second EDID is reliably stored in the non-volatile memory 710.

[0111] For example, when the first connector is connected to the first electronic device, the first conversion module 330 can receive power from the first electronic device to power on. For example, the first connector 310 includes a Type-C connector, and the fourth connector includes a Type-C connector. The first conversion module 330 receives power from the first electronic device through the VBUS pins of the first connector 310 and the fourth connector to power on.

[0112] In some embodiments, the first conversion module 330 is further configured to, when the first switching module 320 selectively connects the data transmission path between the second end of the target HDMI connector and the first conversion module 330, acquire the second EDID information in the first register 720 and send the second EDID information to the fourth end of the target HDMI connector, so as to send the second EDID information to the target HDMI device through the target HDMI connector, so that the target HDMI device connected to the target HDMI connector sends the first HDMI signal to the first end of the target HDMI connector based on the second EDID information. Exemplarily, the second EDID information is matched with the performance of the first electronic device. In this embodiment, the second EDID stored in the non-volatile memory 710 is matched with the performance of the first electronic device to ensure the display effect of the first electronic device displaying the second multimedia data.

[0113] In this embodiment, by storing the second EDID information in the non-volatile memory 710, the first conversion module 330 can store the second EDID information stored in the non-volatile memory 710 into the first register 720 upon power-up. When the first switching module 320 selectively connects the data transmission path between the second end of the target HDMI connector and the first conversion module 330, the interface expansion device 700 can directly send the second EDID information stored in the first register 720 to the target HDMI device without communicating with the first electronic device. This reduces the acquisition time of the second EDID information, thereby reducing the time the target HDMI device provides the first HDMI signal, and consequently reducing the black screen duration caused by switching signal sources, thus improving the user experience. Furthermore, since the second EDID information is stored in the non-volatile memory 710, the acquisition time of the EDID can be significantly shortened.

[0114] In some embodiments, the interface expansion device 700 may, in response to an EDID selection operation performed by a user, determine the EDID acquisition strategy to be executed when the first connector 310 is connected to the first electronic device and receives power from the first electronic device. The EDID acquisition strategy includes receiving first EDID information sent by the first electronic device through the first connector 310 and storing the first EDID information in the first register 720, and acquiring second EDID information stored in the non-volatile memory 710 and storing the second EDID information in the first register 720.

[0115] It should be noted that the second EDID information stored in the non-volatile memory 710 is fixed. When the first electronic device connected to the expansion interface device does not match the second EDID information, data transmission based on the second EDID information may result in poor display performance of the first electronic device, or even failure to display the first multimedia data. In the case of a mismatch between the second EDID information stored in the non-volatile memory 710 and the first EDID information stored in the first electronic device, the first conversion module 330 can receive the first EDID information sent by the first electronic device through the first connector 310 and store the first EDID information in the first register 720 to ensure the display performance of the first electronic device. Conversely, when the second EDID information stored in the non-volatile memory 710 matches the first EDID information stored in the first electronic device, the first conversion module 330 can obtain the second EDID information stored in the non-volatile memory 710 and store it in the first register 720 to further shorten the EDID information acquisition time and reduce the black screen duration of the first electronic device.

[0116] Figure 8 shows a schematic diagram of an EDID selection interface provided in some embodiments of this application. The EDID selection interface 800 includes multiple first EDID information stored in a first electronic device. As shown in Figure 8, the first electronic device stores three first EDID information, namely EDID information 1, EDID information 2, and EDID information 3. In some embodiments, the display screen of the first electronic device may be a touch screen. The user can click on the position corresponding to the desired first EDID information, and the first electronic device sends the first EDID information to the interface expansion device 700, so that the interface expansion device 700 can obtain the first EDID information selected by the user and update the EDID information stored in the first register 720.

[0117] In some embodiments, the first electronic device may receive an auxiliary selection signal sent by a remote controller, determine the first EDID information selected by the user based on the auxiliary selection signal, and send the first EDID information selected by the user to the interface expansion device 700 so that the interface expansion device 700 can obtain the first EDID information selected by the user and update the EDID information stored in the first register 720.

[0118] In some embodiments, when the EDID information stored in the first register 720 is updated, the interface expansion device 700 acquires the first EDID information in the first register and sends the first EDID information to the target HDMI device through the fourth terminal of the target HDMI connector. This enables the HDMI device connected to the target HDMI connector to transmit first multimedia data to the target HDMI connector based on the updated first EDID information. In this embodiment, upon acquiring the first EDID information, the interface expansion device 700 updates the EDID information stored in the first register 720, allowing the HDMI device connected to the target HDMI connector to provide the first HDMI signal to the target HDMI connector in real time based on the updated first EDID information, thus ensuring the display effect of the first electronic device.

[0119] In this embodiment, the interface expansion device 700 provides two EDID information acquisition methods and executes the corresponding EDID acquisition strategy according to the EDID selection operation performed by the user, so as to ensure the display effect of the first electronic device while minimizing the black screen time caused by the first electronic device establishing a connection with the new HDMI device.

[0120] The above embodiments reduce the black screen duration by decreasing the time it takes for the target HDMI device to acquire EDID information. The following embodiments will provide a solution to reduce the time required to detect link integrity, thereby reducing the black screen duration. It should be noted that during the establishment of a communication connection between two devices, hardware link detection is a crucial step to ensure normal communication between them. Data transmission between the two devices is only possible if the hardware link meets integrity requirements. Therefore, the hardware link detection time affects the black screen duration of the first electronic device during signal source switching.

[0121] In some embodiments, the first conversion module is further configured to, when the first conversion module is powered on, if at least two HDMI connectors are connected to an HDMI device for the first time, detect the link integrity corresponding to the data transmission path between the first connected HDMI device and the first electronic device connected to the first connector in accordance with a first detection rule.

[0122] The first HDMI device connected refers to the HDMI device that acts as a signal source for the first time when the interface expansion device is powered on. In cases where multiple HDMI connectors are connected to an HDMI device for the first time, since no link integrity test has been performed after the interface expansion device is powered on, it is necessary to test the link integrity of the data transmission path between the first HDMI device and the first electronic device according to complete testing rules to ensure reliable communication between the first electronic device and the HDMI device.

[0123] For example, the first detection rule includes detecting a first hardware link, detecting a second hardware link, and detecting a third hardware link. The first hardware link includes the hardware link between the HDMI device connected to the HDMI connector and the HDMI connector; the second hardware link includes the hardware link between the HDMI connector and the first connector; and the third hardware link includes the hardware link between the first connector and the first electronic device.

[0124] For example, the first detection rule also includes the number of detections corresponding to the first hardware link, the number of detections corresponding to the second hardware link, and the number of detections corresponding to the third hardware link. It should be noted that performing multiple detections on the hardware links ensures the reliability of the detection results.

[0125] In some embodiments, the first conversion module is further configured to, when the first switching module connects the HDMI connector of another HDMI device to the first conversion module, detect the link integrity corresponding to the data transmission path between the other HDMI device and the first electronic device according to the second detection rule. It should be noted that the other HDMI devices are different from the HDMI devices connected for the first time; the detection complexity of the first detection rule is higher than that of the second detection rule; and / or the detection duration of the first detection rule is longer than that of the second detection rule; and / or the detection steps of the first detection rule are more numerous than those of the second detection rule.

[0126] For example, the number of hardware links to be detected in the second detection rule is less than the number of hardware links to be detected in the first detection rule. It should be noted that the hardware links to be detected in the second detection rule include the first hardware link. Since the second and third hardware links used during data transmission between other HDMI devices and the first electronic device are the same as those used during the data transmission between the first connected HDMI device and the first electronic device, and since the integrity of the link corresponding to the data transmission path between the first connected HDMI device and the first electronic device has already been detected, when the first switching module connects the HDMI connector of other HDMI devices to the first conversion module, only the integrity of the first hardware link needs to be detected, without detecting the integrity of the second and third hardware links. This shortens the black screen time of the first electronic device when switching signal sources.

[0127] In other examples, the number of times the target hardware link in the second detection rule is detected may be less than the number of times the target hardware link in the first detection rule is detected. In some embodiments, the target hardware link may include at least one of a second hardware link and a third hardware link. For example, if the first detection rule specifies that the second hardware link is considered complete if all 10 detection results are complete, then the second detection rule could specify that the second hardware link is considered complete if both of its detection results are complete. Reducing the number of detections for the second hardware link from 10 to 2 can reduce the hardware link detection time, thereby reducing the black screen time during signal source switching.

[0128] Figure 9 shows a sixth schematic diagram of an interface expansion device according to some embodiments of this application. The interface expansion device 900 may further include a second switching module 910 and a third connector 920. The second switching module 910 is connected to the first conversion module 330, the second end of the third connector 920, and the third end of the first connector 310, respectively. The control module 360 ​​is also connected to the second switching module 910. The third connector 920 is configured to receive second multimedia data corresponding to a first data communication protocol through its first end. The first connector 310 is further configured to receive a second selection command or a third selection command through its first end. The control module 360 ​​is configured to control the second switching module 910 to conduct the data transmission path between the first conversion module 330 and the third end of the first connector 310 according to the second selection instruction transmitted from the second end of the first connector 310, and / or, the control module 360 ​​is configured to control the second switching module 910 to conduct the data transmission path between the third end of the first connector 310 and the second end of the third connector 920 according to the third selection instruction transmitted from the second end of the first connector 310.

[0129] For example, the third connector 920 can be connected to a third electronic device. The third connector 920 supports a first data communication protocol, and the third connector 920 interacts with the third electronic device based on the first data communication protocol. It should be noted that the third electronic device may refer to a device that supports the first data communication protocol. In some embodiments, the third electronic device may include, but is not limited to, a computer, a laptop computer, etc.

[0130] For example, the third connector 920 may include a DP connector, and the first data communication protocol may be the DP communication protocol. In this embodiment, the interface expansion device 900 can receive the first HDMI signal corresponding to the HDMI communication protocol provided by the HDMI device, convert the format of the first HDMI signal to obtain the first multimedia data corresponding to the first communication protocol, and transmit it to the first electronic device through the first connector 310. The interface expansion device 900 can also receive the second multimedia data corresponding to the DP communication protocol provided by the third electronic device and transmit it directly to the first electronic device through the first connector 310. That is, the interface expansion device 900 can enable the first electronic device to interact with both the HDMI device and the third electronic device, thereby improving the practicality of the interface expansion device.

[0131] In some embodiments, the first electronic device may generate a second selection instruction in response to a first interface switching operation and transmit it to the control module 360 ​​via the first connector 310. The second selection instruction is generated by the first electronic device in response to the first interface switching operation. It should be noted that the generation and transmission methods of the second selection instruction are similar to those of the first selection instruction, and will not be repeated here.

[0132] It should be noted that the first electronic device generates a first selection command and a second selection command in response to the first interface switching, and sends them to the interface expansion device through the first connector 310. According to the first selection command, the control module 360 ​​controls the first switching module 320 to selectively conduct the data transmission path between the second end of the target HDMI connector and the first conversion module 330. According to the second selection command transmitted by the first connector 310, the control module 360 ​​controls the second switching module 910 to selectively conduct the data transmission path between the first conversion module 330 and the third end of the first connector 310, so that the first electronic device can receive the second multimedia data.

[0133] In this embodiment, in response to the first interface switching, the first electronic device can generate a first selection instruction and a second selection instruction to make the second end of the target HDMI connector connected to the first conversion module 330, and to make the first conversion module 330 connected to the third end of the first connector 310, so that the first electronic device can display the first HDMI signal provided by the target HDMI device connected to the target HDMI connector, thereby meeting the user requirements.

[0134] In some embodiments, the third selection instruction is generated by the first electronic device in response to a second interface switching operation, which instructs the selection of a third electronic device as the signal source. It should be noted that the generation and transmission of the third selection instruction can be referenced to the description of the generation and transmission of the first selection instruction, and will not be repeated here.

[0135] It should be noted that by setting the second switching module 910, the multimedia data transmitted by the first connector 310 is the multimedia data transmitted by the third connector 920, so that the first electronic device can also display the multimedia data provided by the third electronic device, thereby improving the practicality of the interface expansion device 900.

[0136] In some embodiments, the first electronic device may generate a fourth selection instruction in response to a second interface switching operation. The control module 360 ​​is also configured to, according to the fourth selection instruction, control the first switching module 320 to prevent the data transmission path between either HDMI connector 350 and the first connector 310 from being activated. It should be noted that the generation and transmission of the fourth selection instruction can be referred to the description of the generation and transmission of the first selection instruction, and will not be repeated here.

[0137] Figure 10 shows a seventh schematic diagram of the structure of an interface expansion device provided in some embodiments of this application. As shown in Figure 10, the interface expansion device 1000 may further include a CC (Configuration Channel) logic chip 1010, a first connector including a Type-C connector 1020, and the CC logic chip 1010 connected to the third end of the third connector 920 and the second switching module 910.

[0138] It should be noted that the CC logic chip 1010 can be used to detect whether the third connector 920 is connected to a third electronic device, and send the detection result to the first electronic device through the CC pin of the Type-C connector 1020, so that the first electronic device can know the connection status of the third connector 920. This connection status may include, but is not limited to, whether a third electronic device is connected, the correct insertion / reverse insertion status of the connected third electronic device, and the serial number of the connected third electronic device. For example, the CC logic chip 1010 can determine whether the third connector 920 is connected to a third electronic device by determining the level signal corresponding to the third terminal of the third connector 920. The level signal includes a high-level signal and a low-level signal.

[0139] In some embodiments, the first electronic device may control the display screen to show connection information of the third electronic device based on the detection results. This connection information indicates whether a third electronic device is connected. It should be noted that the first electronic device can display the connection information of the third electronic device to allow the user to determine whether a third electronic device is connected to the third connector 920. In this embodiment, by providing a CC logic chip 1010 in the interface expansion device 1000, the first electronic device can obtain information about the connection status of the third connector 920.

[0140] In some embodiments, the CC logic chip 1010 is also connected to the second end of the third connector 920, and the CC logic chip 1010 is also used to send the second multimedia data received by the third connector to the second switching module 910, so as to send it to the third end of the Type-C connector 1020 through the second switching module 910.

[0141] In some embodiments, the CC logic chip 1010 may send first access information to the first conversion module 330 upon detecting that the third connector 920 is connected to a third electronic device. It should be noted that the first access information indicates that a third electronic device is connected to the third connector 920.

[0142] In some embodiments, the first conversion module 330 further includes a GPIO (General-purpose input / output) port, which is connected to the CC logic chip 1010 and is used to receive first access information sent by the CC logic chip 1010.

[0143] In some embodiments, the first conversion module 330 may enter a sleep state upon receiving the first access information to reduce the power consumption of the interface expansion device 1000. It should be noted that if it is assumed that the user will not select an HDMI device as the signal source when a third electronic device is connected to the third connector 920, then allowing the first conversion module 330 to enter a sleep state upon receiving the first access information can reduce the power consumption of the interface expansion device 1000.

[0144] In some embodiments, the first conversion module 330 may send second access information to the CC logic chip 1010 in response to a first interrupt signal sent by the control module 360. The first interrupt signal is generated by the control module 360 ​​when it detects that an HDMI connector 350 is connected to an HDMI device.

[0145] In some embodiments, the first conversion module 330 further includes a UART port through which the first conversion module 330 can receive a first interrupt signal sent by the control module 360.

[0146] In some embodiments, the CC logic chip 1010 may enter a sleep state upon receiving the second access information to reduce the power consumption of the interface expansion device 1000. It should be noted that if it is assumed that the user will not select a third electronic device as the signal source when an HDMI device is connected to the HDMI connector 350, the CC logic chip 1010 may enter a sleep state upon receiving the second access information, thereby reducing the power consumption of the interface expansion device 1000.

[0147] In this embodiment, the interface expansion device 1000 can convert multimedia data from different signal sources into multimedia data corresponding to the first data communication protocol, and transmit it to the first electronic device through the first connector 310. Compared with the interface expansion device 1000 that can only receive multimedia data corresponding to a single communication protocol, the interface expansion device 1000 provided in this embodiment is highly practical.

[0148] In some embodiments, the interface expansion device has current limiting protection and electrostatic discharge (ESD) protection functions. For example, the interface expansion device includes an overcurrent protection module, which disconnects the power supply path between the interface expansion device and the access device when the detected current of the interface expansion device is greater than or equal to a preset current. The access device may include an HDMI device connected to an HDMI connector, a second electronic device connected to a second connector, and a third electronic device connected to a third connector, etc.

[0149] In some embodiments, when the current of the interface expansion device is detected to be greater than or equal to a preset current, the power supply path between the interface expansion circuit and the access device is disconnected, then the power supply path between the interface expansion device and the access device is turned on and maintained for a second preset duration, then the power supply path between the interface expansion device and the access device is disconnected, then the operation of turning on the power supply path between the interface expansion device and the access device and maintaining for a second preset duration is continued, and then the operation of turning off the power supply path between the interface expansion device and the access device is continued until the operation duration reaches a first preset duration. The current of the interface expansion circuit is detected. If the current of the interface expansion device is greater than or equal to a preset current, the power supply path between the interface expansion circuit and the access device is disconnected. If the current of the interface expansion device is less than a preset current, the power supply path between the interface expansion circuit and the access device is maintained on.

[0150] In some embodiments, the first preset duration may range from 350ms to 450ms. In some embodiments, the first preset duration may be 350ms, 400ms, or 450ms.

[0151] The second preset duration is shorter than the first preset duration. By reasonably selecting the second preset duration, the capacitor can be charged when the access device has a capacitor. At the same time, in the case of a short circuit in the access device, the short conduction time means that even if the current is large, the energy is small, which can avoid damage to the access device and the interface expansion device.

[0152] In this embodiment, to avoid false protection caused by charging of a large capacitor inside the access device, the interface expansion device cyclically performs the operation of turning on and off the power supply path between the interface expansion circuit and the access device within a first preset time period. After the first preset time period, it re-detects whether the current of the interface expansion device is greater than or equal to a preset current, i.e., whether there is a short circuit in the access device. If no short circuit is detected, the interface expansion circuit supplies power to the access device. This embodiment ensures the safety of both the access device and the interface expansion device while avoiding unnecessary power interruptions (interrupting the power supply to access devices with large capacitors).

[0153] In some embodiments, the first conversion module supports HDCP (High-bandwidth Digital Content Protection). When the first HDMI signal is HDCP encrypted data, the first conversion module can decrypt the first HDMI signal to obtain a decrypted first HDMI signal, and then convert and encrypt the decrypted first HDMI signal to obtain the first multimedia data. This ensures the security of the transmission process between the target HDMI device and the first electronic device, improving transmission reliability.

[0154] In some embodiments, referring to Figures 11a to 11d, the interface expansion device may include multiple HDMI connectors 1101, a first switching module 1102, a first conversion module 1103, a USB to serial port module 1104, a USB HUB 1105, a second switching module 1106, a Type-C connector 1107, a DP connector 1108, a CC logic chip 1109, at least one USB connector 1110, and a control module 1111.

[0155] Among them, HDMI connector 1101 is configured to connect to HDMI device, Type-C connector 1107 is configured to connect to first electronic device, DP connector 1108 is configured to connect to third electronic device, and USB to serial port module 1104 is configured to convert data corresponding to USB communication protocol into data corresponding to serial port communication protocol.

[0156] In some embodiments, please refer to FIG11a. The control module 1111 includes a first logic control unit, the first logic control unit includes a UART port, the USB to serial port module 1104 is configured to convert data corresponding to the USB communication protocol into data corresponding to the UART communication protocol, and the data communication protocol corresponding to the first selection instruction sent by the first electronic device is the USB data communication protocol.

[0157] In some embodiments, please continue to refer to FIG11a, the control module 1111 further includes a timing control and compensation module. After the first HDMI signal passes through the first switching module 1102, its signal quality will deteriorate. The timing control and compensation module performs compensation processing on the first HDMI signal so that the compensated first HDMI signal is approximately the same as the first HDMI signal before the input switching unit.

[0158] In some embodiments, the first logic control unit is configured to control the first switching module 1102 to selectively enable the data transmission path between the second end of the target HDMI connector and the first conversion module 1103 according to a first selection command received by the Type-C connector 1107. For example, the first switching module 1102 may include a multiplexer.

[0159] In some embodiments, referring to FIG11b, the first conversion module 1103 further includes an I2C port, through which the first conversion module 1103 can send the HDID information (first EDID information or second EDID information) in the first register to the HDMI device.

[0160] In some embodiments, please continue to refer to FIG11b, the first conversion module 1103 further includes a TMDS (Transition-Minimized Differential Signaling) signal processing module and an Alignment & De-skew TMDSDecoder & De-scrambler module. HDMI uses TMDS (Transition-Minimized Differential Signaling) as a signal transmission method, and the TMDS signal processing module and the Alignment & De-skew TMDSDecoder & De-scrambler module decode the TMDS data stream in the HDMI signal.

[0161] In some embodiments, please continue to refer to FIG11b, the first conversion module 1103 further includes a signal conversion protocol module, which is configured to convert the output data of the TMDS signal processing module to obtain data corresponding to the DP communication protocol, and send it to the first electronic device through the DP physical layer (PHY).

[0162] In some embodiments, referring to Figures 11b and 11c, the second switching module 1106 is connected to the first conversion module 1130, the CC logic chip 1109, and the Type-C connector 1107, respectively. The second switching module 1106 can transmit multimedia data output by the first conversion module 1130 or the CC logic chip 1109 to the Type-C connector 1107. The CC logic chip 1109 is connected to the DP connector 1108.

[0163] In some embodiments, referring to Figures 11a and 11d, the USB HUB 1105 is connected to each of the USB connectors 1110, the USB to serial port module 1104, and the Type-C connector 1107, respectively, so that the interface expansion device can support the transmission of the first selection command of the USB data format, and at the same time support at least one USB connector 1110.

[0164] Figure 12 shows a schematic diagram of the structure of an electronic device provided in some embodiments of this application. As shown in Figure 12, the electronic device 1200 may include a fourth connector 1240, a display screen 1220, and a processor 1230. The processor 1230 is connected to the second end of the fourth connector 1240. For ease of description, this electronic device will be referred to as a first electronic device in the following embodiments.

[0165] In some embodiments, the fourth connector 1240 is configured to connect to the first connector of the interface expansion device via a cable, and the fourth connector 1240 is configured to receive interface data output from the first end of the first connector via the first end of the fourth connector 1240. The display screen 1220 is configured to display a signal source selection interface. The processor 1230 is configured to receive interface data transmitted from the second end of the fourth connector 1240 and process the interface data. The processor 1230 is also configured to generate a first selection instruction in response to a first interface switching operation for the signal source selection interface, and send the first selection instruction to the second end of the fourth connector 1240, so as to transmit the first selection instruction to the first end of the first connector via the first end of the fourth connector 1240. The fourth connector 1240 supports a first data communication protocol and a second data communication protocol, the signal source selection interface includes at least two HDMI connectors of the interface expansion device, and the first interface switching operation is used to indicate the selection of a target HDMI device as the signal source.

[0166] This application provides a device identification method in some embodiments, applied to a display system. The display system may include an interface expansion device and a first electronic device. The software architecture of the first electronic device, from top to bottom, may include an application layer, a middleware layer, and a driver layer. The application layer responds to user input and requests; the middleware layer is the software layer between the operating system and applications; and the driver layer includes hardware drivers that communicate directly with the hardware, providing the application layer with an interface to access the hardware. For example, the interface expansion device may include a docking station, and the first electronic device may include a television. The method includes steps 1602 to 1616.

[0167] Step 1602: When the middleware layer detects that an interface expansion device has been connected to the fourth connector, it notifies the application layer.

[0168] For example, if no interface expansion device is connected to the fourth connector, the middleware layer blocks and waits for the interface status device to connect. The middleware layer continuously monitors whether an interface expansion device has been connected to the fourth connector so that it can respond immediately after the interface expansion device is connected. For example, the middleware layer can use a polling mechanism to detect whether an interface expansion device is connected to the fourth connector. When the application receives a notification from the middleware layer, it can determine that an interface expansion device has been connected.

[0169] Step 1604: When the interface expansion device detects that an HDMI device is connected to the HDMI connector, it sends an insertion message to the middleware layer through the first connector.

[0170] Step 1606: The middleware layer sends the insertion message to the application layer.

[0171] In some embodiments, when the first switching module detects that an HDMI device is connected to an HDMI connector, it updates the interface status data corresponding to the multiple HDMI connectors in the second register and sends an insertion message to the middleware layer. The middleware layer then sends the insertion message to the application layer, causing the application layer to update the display interface, such as updating the highlight status of each HDMI connector. The insertion message may include the updated interface status data corresponding to the multiple HDMI connectors in the second register.

[0172] Step 1608: The application layer sends a first selection instruction to the middleware layer.

[0173] Step 1610: The middleware layer sends a first selection command to the interface extension device.

[0174] Step 1612: The interface expansion device connects the data transmission path between the second end of the target HDMI connector and the first conversion module.

[0175] It should be noted that when the application layer determines the target HDMI connector selected by the user, it generates a first selection command and sends it to the interface expansion device through the intermediate layer. The first switch of the interface expansion device selectively turns on the data transmission path between the second end of the target HDMI connector and the first conversion module, so that the first HDMI signal received by the target HDMI connector is transmitted to the first conversion module through the data transmission path, and the first conversion module performs format conversion on the first HDMI signal to obtain first multimedia data. The first multimedia data is then sent to the fourth connector of the first electronic device through the first connector and displayed on the display screen.

[0176] Step 1614: When the docking station detects that an HDMI device has been unplugged from the HDMI connector, it sends a unplugging message to the middleware layer through the first connector.

[0177] Step 1616: The middleware layer sends a pull-out message to the application layer.

[0178] In some embodiments, when the first switching module detects that an HDMI device has unplugged its HDMI connector, it updates the interface status data corresponding to the multiple HDMI connectors in the second register and sends a unplug message to the middleware layer. The middleware layer then sends this unplug message to the application layer to update the application layer's display interface, specifically updating the highlight status of each HDMI connector. This unplug message may include the updated interface status data corresponding to the multiple HDMI connectors in the second register.

[0179] Step 1616: When the middleware layer detects that the interface expansion device has unplugged the fourth connector, it notifies the application layer.

[0180] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. Those skilled in the art should also recognize that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to this application.

[0181] In the various embodiments of this application, it should be understood that the sequence number of each process does not necessarily imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

Claims

1. An interface expansion device, comprising a first connector, a second connector, a first switching module, a control module, a first conversion module, and at least two high-definition multimedia interface (HDMI) connectors; Each of the HDMI connectors is configured to receive an HDMI signal through a first end of the HDMI connector; The first connector is configured to receive a first selection command through a first end of the first connector and to output a first selection command through a second end of the first connector; The second connector, wherein a first end of the second connector is connected to a second end of the first connector, and the second connector is configured to receive interface data through the second end of the second connector; The first switching module is connected to the first conversion module and the second end of at least two of the HDMI connectors; The control module is connected to the first switching module and the second end of the first connector, respectively. It is configured to control the second connector to stop receiving the interface data when the first connector receives the first selection instruction, and to control the first switching module to selectively open the data transmission path between the second end of the target HDMI connector and the first conversion module according to the first selection instruction; wherein the target HDMI connector is one of at least two HDMI connectors. The first conversion module is connected to the third end of the first connector. The first conversion module is configured to convert the format of the first HDMI signal received through the data transmission path to obtain first multimedia data, and send the first multimedia data to the third end of the first connector to output the first multimedia data through the first connector.

2. The interface expansion device according to claim 1, wherein the first connector comprises a Type-C universal serial bus connector; The first conversion module is further configured to perform format conversion on the first HDMI signal received through the data transmission path to obtain the first multimedia data corresponding to the Display Interface DP communication protocol.

3. The interface extension device of claim 1 or 2, wherein, The second connector includes a Universal Serial Bus (USB) connector, and the first selection command received through the first end of the first connector is a differential signal.

4. The interface expansion device according to claim 1, wherein the interface expansion device further comprises a forwarding module; The control module is further configured to determine a first time slice in which the first electronic device transmits the first selection instruction and a second time slice in which the second electronic device transmits the interface data when the first connector is connected to the first electronic device and the second connector is connected to the second electronic device; The forwarding module is connected to the second end of the first connector, the first end of the second connector, and the control module. The forwarding module is also configured to send the first selection instruction to the control module when it receives the first selection instruction sent by the second end of the first connector in the first time slice, and to send the interface data to the second end of the first connector when it receives interface data in the second time slice.

5. The interface expansion device according to claim 1, wherein the control module supports a first serial port communication protocol, the first selection instruction corresponds to a second serial port communication protocol, and the interface expansion device further includes a second conversion module; The second conversion module is connected to the second end of the first connector and the control module respectively. The second conversion module is configured to convert the received first selection instruction into a serial communication signal corresponding to the first serial communication protocol, and send the serial communication signal to the control module.

6. The interface expansion device according to claim 1, wherein the third ends of the at least two HDMI connectors are connected to the same control path; The first connector is also configured to receive first control information through a first end of the first connector; the first control information encapsulates a first consumer electronics control (CEC) instruction. The first conversion module is connected to the fourth end of the first connector. The first conversion module is also configured to parse the received first control information to obtain the first CEC instruction encapsulated in the first control information, and send the first CEC instruction to the third end of each of the HDMI connectors through the control path.

7. The interface expansion device according to claim 6, wherein the first connector includes a Type-C interface, and the fourth end of the first connector includes a sideband using an SBU pin.

8. The interface expansion device according to claim 1, wherein the third ends of the at least two HDMI connectors are connected to the same control path; The HDMI connector is also configured to receive a second CEC command through a first end of the HDMI connector; The first conversion module is connected to the fourth end of the first connector. The first conversion module is also configured to receive a second CEC command output from the third end of any HDMI connector through the control path, encapsulate the second CEC command to generate second control information, and output the second control information through the first connector.

9. The interface expansion device according to claim 1, wherein the interface expansion device further comprises a first register; The first conversion module is connected to the fourth end of the first connector. The first conversion module is also configured to receive the first extended display identification data EDID information sent by the first electronic device through the first connector when the first connector is connected to the first electronic device and receives power provided by the first electronic device, and store the first EDID information in the first register. The first conversion module is further configured to, when the first switching module selectively connects the data transmission path between the second end of the target HDMI connector and the first conversion module, obtain the first EDID information in the first register and send the first EDID information to the fourth end of the target HDMI connector, so that the target HDMI device connected to the target HDMI connector sends a first HDMI signal to the target HDMI connector based on the first EDID information.

10. The interface expansion device according to claim 1, wherein the interface expansion device further comprises a non-volatile memory and a first register; The first conversion module is further configured to, when the first conversion module is powered on, acquire the second EDID information stored in the non-volatile memory, and store the second EDID information in the first register; The first conversion module is connected to the fourth end of the first connector. The first conversion module is further configured to, when the first switching module selectively connects the data transmission path between the second end of the target HDMI connector and the first conversion module, obtain the second EDID information in the first register and send the second EDID information to the fourth end of the target HDMI connector, so that the target HDMI device connected to the target HDMI connector sends a first HDMI signal to the target HDMI connector based on the second EDID information.

11. An electronic device comprising the interface expansion device as described in any one of claims 1-10.