Electronic device, switching device, signal switching method and storage medium

By introducing detection and control modules into electronic devices and directly transmitting TMDS signals, it solves the problem of portable devices being unable to connect to HDMI displays, reduces adapter costs and compatibility issues, and improves device compatibility and user experience.

CN114546918BActive Publication Date: 2024-10-01HEFEI LCFC INFORMATION TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202210116751.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-07
Publication Date
2024-10-01
Estimated Expiration
2042-02-07

AI Technical Summary

Technical Problem

In the existing technology, the lightweight design of portable devices such as laptops cannot accommodate HDMI interfaces, and a Type-C to HDMI adapter is required. However, the adapter is costly and of varying quality, and there are compatibility issues.

Method used

Design an electronic device that includes a connection port, a detection module and a control module. It directly controls the electronic device to convert to image display mode through the detection signal, and transmits the TMDS signal through the connection port, avoiding the use of additional adapters and directly establishing TYPE -C and HDMI port connections.

Benefits of technology

It reduces the cost and compatibility issues of the adapter, realizes direct transmission and switching of video signals, and improves device compatibility and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114546918B_ABST
    Figure CN114546918B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an electronic device, a switching device, a signal switching method and a storage medium, wherein the electronic device comprises: a connection port, the connection port being configured as a non-HDMI interface; a detection module, for receiving a detection signal transmitted by the connection port, and generating a first control signal to control the electronic device to switch to an image display mode when the detection signal is a first signal; and a control module, for controlling the transmission of a TMDS signal through the connection port according to the first control signal. The embodiments of the present disclosure reduce costs and can reduce compatibility issues.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to video switching equipment, in particular to an electronic device, a switching device, a signal switching method and a storage medium. Background Art

[0002] At present, with the increasing demand for lightweight portable devices such as laptops, R&D personnel have continuously regarded the thinness of devices as an important design condition, which makes the thickness of the device no longer sufficient to accommodate the HDMI interface (High Definition Multimedia Interface), so the Type-C interface is used instead of the HDMI interface for display. However, the display with the HDMI interface still has a large market share, resulting in the use of a Type-C to HDMI converter when connecting an HDMI display. On the one hand, it causes the cost of the converter, and on the other hand, the quality of the converter cannot be guaranteed. There are various converters on the market, and their quality varies. Moreover, it cannot be guaranteed that all converters have been verified, which will inevitably cause compatibility issues for some converters. Summary of the invention

[0003] In view of the above technical problems existing in the prior art, the present disclosure proposes an electronic device, a switching device, a signal switching method and a storage medium, which can avoid the cost of the adapter and reduce the incompatibility problem.

[0004] In order to solve the above technical problems, the present disclosure provides the following technical solutions:

[0005] According to a first aspect of the present disclosure, there is provided an electronic device, comprising:

[0006] A connection port, wherein the connection port is configured as a non-HDMI interface;

[0007] a detection module, configured to receive a detection signal transmitted by the connection port, and generate a first control signal to control the electronic device to switch to an image display mode when the detection signal is a first signal;

[0008] A control module is used to control the transmission of the TMDS signal through the connection port according to the first control signal.

[0009] In some possible implementations, the electronic device further includes:

[0010] A switching component, one end of which is connected to the connection port, and the other end of which is connected to an external device;

[0011] The adapter component includes a resistor unit, and the adapter component is configured to control the resistance value of the resistor unit to be a first resistance value when the external device is an HDMI device.

[0012] In some possible implementations, the electronic device further includes:

[0013] A mode switching component is connected to the detection module. When the mode switching component receives the first control signal, it switches on the first line to trigger and control the electronic device to switch to the image display mode.

[0014] In some possible implementations, the mode switching component includes: a first gating unit, a second gating unit, a third gating unit, and a fourth gating unit; wherein,

[0015] The first terminal of the first gating unit is connected to the first terminal of the second gating unit; the second terminal of the first gating unit is connected to the second terminal of the second gating unit; the third terminal of the first gating unit is connected to the third terminal of the third gating unit;

[0016] The third terminal of the second gating unit is connected to the third terminal of the fourth gating unit;

[0017] The first terminal of the third gating unit is connected to the first terminal of the fourth gating unit through a capacitor, and the second terminal of the third gating unit is connected to the second terminal of the fourth gating unit;

[0018] The first output end of the detection module is connected to a connection node between the second terminal of the first gating unit and the second terminal of the second gating unit, and the second output end of the detection module is connected to a connection node between the second terminal of the third gating unit and the second terminal of the fourth gating unit;

[0019] A connection node between the first gating unit and the third gating unit is connected to an SBU pin of a connection port, and a connection node between the second gating unit and the fourth gating unit is connected to an AUX / DDC pin of a control module.

[0020] In some possible implementations, when the control module detects that the AUX / DDC pin is at the second level and receives the first control signal, the control module controls the transmission of the TMDS signal through the connection port.

[0021] In some possible implementations, the signal levels output by the first output terminal and the signal levels output by the second output terminal are opposite.

[0022] According to a second aspect of the present disclosure, a switching device is provided, including:

[0023] The first connection end is configured as an HDMI interface;

[0024] The second connection end is configured as a non-HDMI interface;

[0025] a signal transmission module, connected to the first connection end and the second connection end respectively, for transmitting data;

[0026] The detection module is connected to the first connection end and the second connection end respectively, and is configured to transmit a first signal to the second connection end when the first connection end is connected to an HDMI device.

[0027] In some possible implementations, the signal transmission module includes a matching resistor, and the matching resistor is used to adapt the levels of the first connection end and the second connection end.

[0028] According to a third aspect of the present disclosure, a signal switching method is provided, comprising:

[0029] receiving a detection signal transmitted by a connection port, wherein the connection port is configured as a non-HDMI interface;

[0030] In the case where the detection signal is the first signal, generating a first control signal to control the electronic device to switch to an image display mode;

[0031] The transmission of the TMDS signal through the connection port is controlled according to the first control signal.

[0032] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method described in the third aspect is implemented.

[0033] Based on the embodiments of the present disclosure, the present disclosure directly detects the connection status of the HDMI interface through the connection port, and when it is detected that the connection is established with the HDMI connection interface, the output of the direct control signal is a TMDS signal to perform video display. The embodiments of the present disclosure do not require the use of an additional adapter, reducing cost waste, and can directly establish a connection between the TYPE-C port and the HDMI port, reducing compatibility issues. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A schematic diagram showing the structure of an electronic device according to an embodiment of the present disclosure is shown;

[0035] Figure 2 A schematic diagram showing the structure of the connection between an electronic device and an HDMI device in an example of the present disclosure;

[0036] Figure 3 A structural diagram of another electronic device according to an embodiment of the present disclosure is shown;

[0037] Figure 4 A block diagram of an electronic device 800 according to an embodiment of the present disclosure is shown;

[0038] Figure 5 A block diagram of another electronic device 1900 according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0039] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0040] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0041] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0042] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0043] The present disclosure provides an electronic device, which can be any electronic device that can be connected to a display device, such as a laptop computer, a handheld device, etc., but is not specifically limited to the present disclosure. The electronic device can include a USB port, such as a Type-C connection port, but is not specifically limited to the present disclosure.

[0044] Figure 1 A schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure is shown, wherein the electronic device includes:

[0045] A connection port 10, the connection port is configured as a non-HDMI interface;

[0046] The detection module 20 is used to receive the detection signal transmitted by the connection port, and generate a first control signal to control the electronic device to switch to an image display mode when the detection signal is a first signal;

[0047] The control module 30 is used to control the transmission of a Time Minimized Differential Signal (TMDS) through the connection port according to the first control signal.

[0048] In some possible implementations, the connection port 10 may be a USB port, or other non-HDMI ports capable of performing data transmission, such as the connection port in the embodiment of the present disclosure may be a Type-C port. Through the embodiment of the present disclosure, it is possible to directly connect to an external HDMI device through the connection port 10 to generate a detection signal for the HDMI interface, such as a high level indicating an HDMI port of the external device, and a low level indicating that the external device is a non-HDMI interface, but this is not a specific limitation of the present disclosure.

[0049] The detection module 20 and the connection port 10 can detect the detection signal generated by the connection port 10 in real time. When the detection signal is a first signal, the HDMI interface of the electronic device connected to the external electronic device is determined. At this time, the transmission of the video signal with the external device can be established through the connection port. The first signal can be a high-level signal. Correspondingly, when the detection signal is a second signal, it can be determined that the connected device interface is a non-HDMI interface. At this time, data transmission under the power and USB protocol can be performed.

[0050] In some possible implementations, when the detection module 20 detects the first signal, it can generate a first control signal and send the first control signal to the control module 30. When receiving the first control signal, the control module 30 switches the electronic device to DDC (Display Data Channel) mode, turns on the DDC channel, and transmits the TMDS signal through the data sending and receiving lines to realize the transmission of the video signal.

[0051] Based on the above configuration, the embodiment of the present disclosure does not require an additional connection adapter, and directly monitors the HDMI interface of the external device to achieve the switching and transmission of the video signal, thereby reducing the cost waste of the adapter, and at the same time, the device structure is fixed, reducing the problem of adapter incompatibility.

[0052] Further, in the embodiment of the present disclosure, the connection port 10 can be connected to the port of the external device through the adapter component 40. Specifically, one end of the adapter component is connected to the connection port 10, and the other end of the adapter component 40 is connected to the external device 100, which can be connected to the HDMI interface of the connection device 100. Figure 2 As shown, it is a structural schematic diagram of the connection between the electronic device and the HDMI device in the example of the present disclosure, wherein the adapter component can be connected to the first port 100 of the external device. The adapter component includes a resistance unit, and the adapter component is configured to control the resistance value of the resistance unit to be a first resistance value when the external device is an HDMI device. Among them, the adapter component includes resistors R2 and R3, the connection node of R2 and R3 is connected to the CC pin of the connection port, the other end of R3 is grounded, the other end of R2 is connected to the MOS tube Q1, and the gate of Q1 is connected to the HPD pin of the HDMI interface of the external device 100. When connected to 100, the HPD pin generates a high level and turns on the MOS tube Q1. Specifically, when the HDMI interface is not connected, the HPD signal is low, CC is connected to GND through R3, and VBUS outputs 5V; when connected to the HDMI interface, the HPD signal is high, and the MOS tube Q1 is turned on, and CC is connected to the ground line GND through R2 and R3. With this structure, it is possible to determine whether the connection to the HDMI interface is made by detecting the level value (detection signal) of the CC pin, thereby determining whether an external HDMI device is connected.

[0053] When the detection signal is determined to be the first level indicating an external HDMI interface, the detection module 20 can implement the switching of the DDC mode through the mode switching component 50. Figure 1 As shown, the mode switching component 50 is connected to the detection module. When receiving the first control signal, the mode switching component connects the first line to trigger and control the electronic device to switch to the image display mode.

[0054] In some embodiments, the mode switching component 50 may include: a first gating unit Q1, a second gating unit Q2, a third gating unit Q3, and a fourth gating unit Q4; wherein the first terminal of the first gating unit is connected to the first terminal of the second gating unit; the second terminal of the first gating unit is connected to the second terminal of the second gating unit; the third terminal of the first gating unit is connected to the third terminal of the third gating unit; the third terminal of the second gating unit is connected to the third terminal of the fourth gating unit; the first terminal of the third gating unit is connected to the first terminal of the fourth gating unit through a capacitor, and the second terminal of the third gating unit is connected to the second terminal of the fourth gating unit;

[0055] The first output end of the detection module is connected to the second terminal of the first gating unit and the second terminal connection node of the second gating unit; the second output end of the detection module is connected to the connection node of the second terminal of the third gating unit and the second terminal of the fourth gating unit, the third terminal of the first gating unit and the connection node of the third terminal of the third gating unit are connected to the SBU pin of the connection port, and the third terminal of the second gating unit and the connection node of the third terminal of the fourth gating unit are connected to the AUX / DDC pin of the control module. Among them, the first gating unit, the second gating unit, the third gating unit and the fourth gating unit are at least one of a crystal oscillator transistor, a MOS tube, and a triode, the first terminal is a drain, the second terminal is a gate, and the third terminal is a source. In addition, the SBU pin is a sideband use signal pin, and the CC pin is a configuration channel. The first control signal includes two opposite signals, outputting a high level through the first output end to turn on the first gating unit and the second gating unit, and outputting a low level through the second output end to turn off the third gating unit and the fourth gating unit. By turning on the first gating unit and the second gating unit, the AUX / DDC pin of the control module is connected to the DDC channel.

[0056] The detection module also transmits the first control signal to the control module. When the control module determines that the connection port is connected to the HDMI interface, it controls the establishment of video communication with the external HDMI interface, converts the transmitted information into a TMDS signal, and transmits the TMDS signal through the RX and TX pins and SSRX and SSTX. When the control module detects that the AUX / DDC pin is at the second level and receives the first control signal, it controls the transmission of the TMDS signal through the connection port.

[0057] In addition, in the embodiment of the present disclosure, when the electronic device can directly and dynamically switch the HDMI / USB / DP interface, the control module can directly execute the switching of the HDMI scene of the video signal through the CPU. For the electronic device that cannot directly and dynamically switch the HDMI / USB / DP interface, a MUX (data selection) module may also be included. Figure 3 A structural diagram of another electronic device according to an embodiment of the present disclosure is shown, wherein the detection module 30 can send a first control signal to the MUX module 60, select HDMI data as the input source according to the first control signal, switch the AUX signal to a DDC signal, output a TMDS signal, and display video with the HDMI device.

[0058] In the disclosed embodiment, the SSRX_P / N pin is an ultra-high-speed receiver, and its function is to transmit data if a USB device is inserted, and to display transmission if a display is inserted, and the overall function is data transmission. The SSTX_P / N pin is an ultra-high-speed transmitter, and its function is to transmit data if a USB device is inserted, and to display transmission if a display is inserted, and the overall function is data transmission. The CC pin is a configuration channel, and its function is to detect the device / detect the forward and reverse insertion. The SBU pin is a sideband use signal, and its function is to make the USB device useless. The display device is inserted for the display device DPCD / EDID information transmission. DP / N is a USB2.0 universal serial bus 2.0 signal, and its function is to be used for USB 2.0 signal transmission. PD is a detection module, which is constructed as a power communication chip, including CC pin, and its function is: used for external device detection. GPIO is a general input and output, and its function is to notify the CPU of different states through high / low. I2C is an integrated circuit bus, and its function is to communicate between PD and CPU for data transmission. DDC_CLK is a display data channel clock, and its function is to be used for HDMI display EDID information transmission. DDC_DA is the display data channel data, and its function is to transmit EDID information of HDMI display. AUX is the auxiliary transmission channel, and its function is to transmit DPCD / EDID information of DP display. DP[3:0] is the Displayport / display interface data channel, and its function is to transmit DP display data. RX is the receiver, and its function is to receive data when USB is used, and to transmit display when display is used. TX is the transmitter, and its function is to send data when USB is used, and to transmit display when display is used. MUX is the data selector, and is used to select different data paths. USB_RX is the receiver, and its function is to receive data when USB is used. USB_TX is the transmitter, and its function is to send data when USB is used. TMDS_CLK is the minimized differential signal clock, and is used for HDMI signal clock transmission. TMDS_D0 / 1 / 2 is the minimized differential signal data, and is used for HDMI signal data transmission.

[0059] Based on the above configuration, the disclosed embodiment does not need to use HDMI and TYPE-C adapters separately, and can directly perform data transmission by identifying the connection of the HDMI interface, thereby reducing the cost of the adapter. It is easy to use and has good device compatibility. In addition, when displaying videos on HDMI devices through adapters, there is a problem of slow display mode switching. Different adapters usually require 4 to 10 seconds of switching time. However, the disclosed embodiment does not need to switch the display mode. The electronic device directly outputs the video signal, thereby achieving the effect of fast signal output and better user experience.

[0060] In addition, a switching device may be provided in the embodiment of the present disclosure, such as Figure 2 As shown, the adapter device may include: a first connection end 100, configured as an HDMI interface; a second connection end 10, configured as a non-HDMI interface; a signal transmission module 200, which is respectively connected to the first connection end and the second connection end for transmitting data; a detection module 40, which is respectively connected to the first connection end and the second connection end, and is constructed to transmit a first signal to the second connection end when the first connection end is connected to an HDMI device.

[0061] The signal transmission module includes a terminal matching resistor, which is used to adapt the level of the first connection end and the second connection end so that the level of the first connection end and the level of the second connection end meet the same voltage level. The terminal matching resistor may include a circuit composed of multiple resistors, which is not specifically limited in the present disclosure.

[0062] The switching device may be a component of the electronic device in the above disclosed embodiment, and the disclosed embodiment does not specifically limit this.

[0063] In addition, the embodiment of the present disclosure further provides a signal switching method, which is applied to an electronic device or a switching device, and the method includes:

[0064] receiving a detection signal transmitted by a connection port, wherein the connection port is configured as a non-HDMI interface;

[0065] In the case where the detection signal is the first signal, generating a first control signal to control the electronic device to switch to an image display mode;

[0066] The transmission of the TMDS signal through the connection port is controlled according to the first control signal.

[0067] In addition, the present disclosure also provides computer-readable storage media and programs, which can be used to implement any signal switching method provided by the present disclosure. The corresponding technical solutions and descriptions are referred to the corresponding records in the device part and will not be repeated here.

[0068] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0069] The embodiment of the present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented. The computer-readable storage medium may be a non-volatile computer-readable storage medium.

[0070] An embodiment of the present disclosure further proposes an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the above method.

[0071] The electronic device may be provided as a terminal, a server, or a device in other forms.

[0072] Figure 4 A block diagram of an electronic device 800 according to an embodiment of the present disclosure is shown. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.

[0073] Reference Figure 4 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0074] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0075] The memory 804 is configured to store various types of data to support operations on the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0076] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.

[0077] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0078] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0079] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0080] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0081] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0082] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0083] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above method.

[0084] Figure 5 1 is a block diagram of another electronic device 1900 according to an embodiment of the present disclosure. For example, the electronic device 1900 may be provided as a server. Figure 5 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0085] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.

[0086] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to perform the above method.

[0087] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.

[0088] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof. More specific examples (non-exhaustive list) of computer readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination thereof. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (for example, a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0089] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0090] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0091] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0092] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0093] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0094] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0095] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. An electronic device, characterized in that: include: A second connection port, wherein the second connection port is configured as a non-HDMI interface; a detection module, configured to receive a detection signal transmitted by the second connection port, and generate a first control signal to control the electronic device to switch to an image display mode when the detection signal is a first signal; A control module, configured to control the transmission of a TMDS signal through the second connection port according to the first control signal; The electronic device further comprises: A switching component, one end of which is connected to the second connection port, and the other end of which is connected to an external device; The adapter component includes a resistance unit, and the adapter component is configured to control the resistance value of the resistance unit to be a first resistance value when the external device is an HDMI device. The resistance unit includes resistors R2 and R3, and the connection node of the resistors R2 and R3 is connected to the CC pin of the second connection port, the other end of R3 is grounded, and the other end of R2 is connected to the MOS tube Q1, and the gate of Q1 is connected to the HPD pin of the HDMI interface of the external device. When the first connection port is connected to the external device, the HPD pin generates a high level and turns on the MOS tube Q1; when the HDMI interface of the external device is not connected, the HPD signal is low, the CC pin is grounded through R3, and the power supply end of the electronic device outputs 5V; when the first connection port is connected to the HDMI interface of the external device, the HPD signal is high, the high-pass MOS tube Q1, and the CC pin is grounded through R2 and R3; The electronic device also includes a data selection module, which is used to select HDMI data as an input source according to the first control signal sent by the detection module when the first control signal is obtained, and switch the AUX signal to a DDC signal, while outputting a TMDS signal to display video with an external HDMI device.

2. The electronic device according to claim 1, characterized in that: The electronic device further comprises: A mode switching component is connected to the detection module. When the mode switching component receives the first control signal, it switches on the first line to trigger and control the electronic device to switch to the image display mode.

3. The electronic device according to claim 2, characterized in that: The mode switching component package The invention comprises: a first gating unit, a second gating unit, a third gating unit, and a fourth gating unit; wherein, The first terminal of the first gating unit is connected to the first terminal of the second gating unit; the second terminal of the first gating unit is connected to the second terminal of the second gating unit; the third terminal of the first gating unit is connected to the third terminal of the third gating unit; The third terminal of the second gating unit is connected to the third terminal of the fourth gating unit; The first terminal of the third gating unit is connected to the first terminal of the fourth gating unit through a capacitor, and the second terminal of the third gating unit is connected to the second terminal of the fourth gating unit; The first output end of the detection module is connected to a connection node between the second terminal of the first gating unit and the second terminal of the second gating unit, and the second output end of the detection module is connected to a connection node between the second terminal of the third gating unit and the second terminal of the fourth gating unit; A connection node between the first gating unit and the third gating unit is connected to an SBU pin of a connection port, and a connection node between the second gating unit and the fourth gating unit is connected to an AUX / DDC pin of a control module.

4. The electronic device according to claim 3, characterized in that: When the control module detects that the AUX / DDC pin is at the second level and receives the first control signal, the control module controls the transmission of the TMDS signal through the first connection port.

5. The electronic device according to claim 3 or 4, characterized in that: The first output terminal and the second output terminal output signals with opposite levels.

6. A switching device, characterized in that: include: The first connection end is configured as an HDMI interface; The second connection end is configured as a non-HDMI interface; a signal transmission module, connected to the first connection end and the second connection end respectively, for transmitting data; a detection module, connected to the first connection end and the second connection end respectively, and configured to transmit a first signal to the second connection end when the first connection end is connected to an HDMI device; The signal transmission module includes a matching resistor, and the matching resistor is used to adapt the level of the first connection end and the second connection end; In the case where the external device is an HDMI device, the resistance value of the matching resistor is a first resistance value, and the matching resistor includes resistors R2 and R3, a connection node of the resistors R2 and R3 is connected to the CC pin of the second connection end, the other end of R3 is grounded, the other end of R2 is connected to the MOS tube Q1, and the gate of Q1 is connected to the HPD pin of the HDMI interface of the external device. When the first connection end is connected to the external device, the HPD pin generates a high level and turns on the MOS tube Q1; when the HDMI interface of the external device is not connected, the HPD signal is low, the CC pin is grounded through R3, and the power supply end of the electronic device outputs 5V; when the first connection end is connected to the HDMI interface of the external device, the HPD signal is high, the high-pass MOS tube Q1, and the CC pin is grounded through R2 and R3.

7. A signal switching method, characterized in that: include: receiving a detection signal transmitted by a connection port, wherein the connection port is configured as a non-HDMI interface; In the case where the external device is an HDMI device, the resistance value of the resistor unit is controlled to be a first resistance value based on the adapter component, so that the detection signal forms a first signal; In the case where the detection signal is the first signal, generating a first control signal to control the electronic device to switch to an image display mode; Controlling the transmission of the TMDS signal through the first connection port according to the first control signal; Wherein, in the case where the external device is an HDMI device, the resistance value of the control resistance unit is a first resistance value, the resistance unit includes resistors R2 and R3, the connection node of the resistors R2 and R3 is connected to the CC pin of the second connection port, the other end of R3 is grounded, the other end of R2 is connected to the MOS tube Q1, the gate of Q1 is connected to the HPD pin of the HDMI interface of the external device, when the first connection port is connected to the external device, the HPD pin generates a high level and turns on the MOS tube Q1; when the HDMI interface of the external device is not connected, the HPD signal is low, the CC pin is grounded through R3, and the power supply end is controlled to output 5V; when the first connection port is connected to the HDMI interface of the external device, the HPD signal is high, the high-pass MOS tube Q1, and the CC pin is grounded through R2 and R3; When the first control signal is obtained, HDMI data is selected as the input source according to the first control signal, and the AUX signal is switched to a DDC signal, and a TMDS signal is outputted at the same time, so as to display the video with an external HDMI device.

8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method of claim 7 is implemented.

Citation Information

Cited By

  • Method and apparatus for switching storage interface compatibility based on signal detection

    CN122903350A