CN114546919A - Electronic equipment and multimedia data transmission method - Google Patents

Electronic equipment and multimedia data transmission method Download PDF

Info

Publication number
CN114546919A
CN114546919A CN202210146169.2A CN202210146169A CN114546919A CN 114546919 A CN114546919 A CN 114546919A CN 202210146169 A CN202210146169 A CN 202210146169A CN 114546919 A CN114546919 A CN 114546919A
Authority
CN
China
Prior art keywords
interface
type
pin
hdmi
data link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210146169.2A
Other languages
Chinese (zh)
Inventor
王发展
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Kaitian Technology Co Ltd
Original Assignee
Lenovo Kaitian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Kaitian Technology Co Ltd filed Critical Lenovo Kaitian Technology Co Ltd
Priority to CN202210146169.2A priority Critical patent/CN114546919A/en
Publication of CN114546919A publication Critical patent/CN114546919A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R27/00Coupling parts adapted for co-operation with two or more dissimilar counterparts

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses electronic equipment and a multimedia data transmission method, wherein the electronic equipment comprises a first Type-C interface, a controller, a switch module and a processing device; the switch module is configured to construct a first data link between the first Type-C interface and a processing device of the electronic equipment when the first interface is an HDMI interface; when the first interface is a DP interface, a second data link is constructed between the first Type-C interface and the processing device; the processing device is configured to: acquiring display parameters from another electronic device through the first data link or the second data link; generating multimedia data conforming to an HDMI protocol or a DP protocol based on the display parameters and the interface type of the first interface; and transmitting the multimedia data to another electronic equipment through a multimedia data link between the first Type-C interface and the processing device. The first Type-C interface of the electronic equipment can transmit multimedia data conforming to the HDMI protocol and the DP protocol, can also perform conventional data transmission, and can save a converter.

Description

Electronic equipment and multimedia data transmission method
Technical Field
The present disclosure relates to electronic devices, and particularly to an electronic device and a multimedia data transmission method.
Background
In the trend that electronic devices are getting thinner and integrated, more and more electronic devices are provided with only a general data transmission interface such as Type-C in order to save space and save rotating multimedia data transmission interfaces such as HDMI interface and DP interface.
Then, the display device adopting the HDMI interface or the DP interface still has a high occupancy, and when the electronic device is connected to such a display device, a converter needs to be arranged between the electronic device and the display device, which not only causes the complexity of the connection relationship between the electronic device and the display device, but also causes the transmission delay of multimedia data, which affects the user experience.
Disclosure of Invention
The application provides an electronic device and a multimedia data transmission method, and the technical scheme adopted by the embodiment of the application is as follows:
an electronic device, comprising:
a first Type-C interface configured to be connectable with a first interface of another electronic device through a connection line;
a controller configured to determine an interface type of the first interface;
a switch module configured to construct a first data link between the first Type-C interface and a processing device of the electronic device when the first interface is an HDMI interface; when the first interface is a DP interface, constructing a second data link between the first Type-C interface and the processing device; the first data link is matched with an HDMI (high-definition multimedia interface), and the second data link is matched with a DP (data processing) interface;
a processing device configured to:
obtaining display parameters from the other electronic device through the first data link or the second data link; generating multimedia data conforming to an HDMI protocol or a DP protocol based on the display parameters and the interface type of the first interface; and transmitting the multimedia data to the other electronic equipment through a multimedia data link between the first Type-C interface and the processing device so as to enable the other electronic equipment to output the multimedia data.
In some embodiments, the switch module includes a first switch unit and a second switch unit, two sides of the first switch unit are respectively connected with the first Type-C interface and the processing device, and the second switch unit is connected in parallel with the first switch unit; the controller is specifically configured to:
if the first interface is an HDMI interface, turning on the first switch unit to construct the first data link between the processing device and the first Type-C interface;
and when the first interface is a DP interface, turning on the second switch unit to construct the second data link between the processing device and the first Type-C interface.
In some embodiments, the first switching unit comprises a first switching tube and a second switching tube connected in series; the second switching unit comprises a third switching tube, a capacitor and a fourth switching tube which are connected in series; the controller is specifically configured to:
under the condition that the first interface is an HDMI (high-definition multimedia interface), starting the first switch tube and the second switch tube;
and under the condition that the first interface is a DP interface, opening the third switching tube and the fourth switching tube.
In some embodiments, the processing apparatus includes a processor, an RX pin of the processor is connected with an SSRX _ P/N pin of the first Type-C interface, a TX pin of the processor is connected with an SSTX _ P/N pin of the first Type-C interface, and an AUX/DDC pin of the processor is connected with an SBU pin of the first Type-C interface through the switch module;
the processor is configured to: and constructing a multimedia data link conforming to an HDMI protocol or a DP protocol by using a data path formed by the RX pin and the SSRX _ P/N pin and a data path formed by the TX pin and the SSTX _ P/N pin based on the interface type of the first interface.
In some embodiments, the processing device includes a data selector and a processor, one side of the data selector is connected to the switch module and the first Type-C interface, respectively, and the other side of the data selector is connected to the processor through a second Type-C interface, a first HDMI interface, and a first DP interface, respectively; the data selector is configured to:
and under the condition that the first interface is an HDMI interface or a DP interface, selecting an interface of the same Type as the first interface to be connected with the processor so as to construct a multimedia data link conforming to an HDMI protocol or a DP protocol between the first Type-C interface and the processor.
In some embodiments, the RX pin of the data selector is connected to the SSRX _ P/N pin of the first Type-C interface, the TX pin of the data selector is connected to the SSTX _ P/N pin of the first Type-C interface, and the AUX/DDC pin of the data selector is connected to the SBU pin of the first Type-C interface through the switch module.
In some embodiments, the controller is specifically configured to:
acquiring identification information through the CC pin of the first Type-C interface;
sending the identification information to the processing device to determine, by the processing device, an interface type of the first interface.
In some embodiments, the connection line has a third Type-C interface and a second HDMI interface or a second DP interface, and a CC pin of the third Type-C interface is connected to the second HDMI interface or the second DP interface through a third switching unit;
the third switching unit is configured to: generating the identification information in a case where the second HDMI interface or the second DP interface is connected to the first interface of the other electronic device.
A method of multimedia data transmission, comprising:
responding to a first Type-C interface of electronic equipment to be connected with a first interface of another electronic equipment through a connecting line, and determining the interface Type of the first interface; the first Type-C interface is a USB first Type-C interface;
under the condition that the first interface is an HDMI interface or a DP interface, a first data link or a second data link is constructed between a processing device of the electronic equipment and the first Type-C interface by using a switch module; the first data link is matched with an HDMI (high-definition multimedia interface), and the second data link is matched with a DP (data processing) interface;
acquiring, by the processing device, display parameters of the other electronic device based on the interaction with the other electronic device through the first data link or the second data link;
generating, by the processing device, multimedia data conforming to an HDMI protocol or a DP protocol based on the display parameters and the interface Type of the first interface, and transmitting the multimedia data to the other electronic device through a multimedia data link between the first Type-C interface and the processing device, so that the other electronic device outputs the multimedia data.
In some embodiments, the switch module includes a first switch unit and a second switch unit, two sides of the first switch unit are respectively connected with the first Type-C interface and the processing device, and the second switch unit is connected in parallel with the first switch unit; the constructing a first data link or a second data link between a processing device of the electronic device and the first Type-C interface by using a switch module under the condition that the first interface is an HDMI interface or a DP interface includes:
if the first interface is an HDMI interface, turning on the first switch unit to construct the first data link between the processing device and the first Type-C interface;
and when the first interface is a DP interface, turning on the second switch unit to construct the second data link between the processing device and the first Type-C interface.
In the electronic device of the embodiment of the application, the first Type-C interface directly outputs multimedia data conforming to the HDMI protocol or the DP protocol, so that the first Type-C interface can be used as a universal data transmission interface and can also transmit multimedia data conforming to the HDMI protocol or the DP protocol, and the function of the first Type-C interface is enriched, so that the electronic device can meet the conventional data transmission requirement and the multimedia data conforming to the HDMI protocol or the DP protocol only by setting the Type-C interface, and when multimedia data conforming to the HDMI protocol or the DP protocol is transmitted, the electronic device can transmit multimedia data conforming to the HDMI protocol or the DP protocol to another electronic device, such as a display device, only by connecting a connecting line without setting a converter, and can output such multimedia data to the other electronic device, the connection relation between the devices is simplified, and the improvement of user experience is facilitated.
Drawings
Fig. 1 is a schematic diagram illustrating an electronic device according to an embodiment of the present application being connected to another electronic device through a connection line;
FIG. 2 is a block diagram of an interface of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an embodiment of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another embodiment of an electronic device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a connecting wire;
fig. 6 is a flowchart of a multimedia data transmission method according to an embodiment of the present application.
Description of reference numerals:
100-an electronic device;
110-a first Type-C interface;
120-a controller;
130-a switch module;
140-a processing device; 141-a processor; 142-a data selector; 143-a second Type-C interface; 144-a first HDMI interface; 145-first DP interface;
200-connecting lines; 201-a third Type-C interface; 202-a second HDMI interface; 203-a third switching unit;
300-another electronic device; 310 — first interface.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
Referring to fig. 1 and 2, an embodiment of the present application provides an electronic device 100, which includes a first Type-C interface 110, a controller 120, a switch module 130, and a processing apparatus 140. The electronic device 100 includes, but is not limited to, a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart car, and the like, and the type of the electronic device 100 is not limited herein.
The first Type-C interface 110 is configured to be able to connect with a first interface 310 of another electronic device 300 through the connection line 200.
The controller 120 is configured to determine an interface type of the first interface 310. Alternatively, the interface type of the first interface 310 may be determined by the controller 120 alone, for example, the controller 120 may detect the power information of the first interface 310 and determine the interface type of the first interface 310 based on the acquired power information alone. Optionally, the controller 120 may also cooperate with, for example, the processing device 140 to determine the interface type of the first interface 310. Such as by the controller 120, obtaining information characterizing the interface type of the first interface 310 and sending the information to the processing device 140, by the processing device 140 determining the interface type of the first interface 310 based on the information, and informing the controller 120 of the interface type of the first interface 310.
The switch module 130 is configured to, when the first interface 310 is an HDMI interface, construct a first data link between the first Type-C interface 110 and the processing device 140 of the electronic device 100, where the first data link matches the HDMI interface; when the first interface 310 is a DP interface, the switch module 130 constructs a second data link between the first Type-C interface 110 and the processing device 140, and the second data link matches with the DP interface.
The processing means 140 obtains the display parameters from said another electronic device 300 via said first data link or said second data link. Optionally, the display parameters may include display information such as a size, a resolution, and a refresh frequency of a display unit of the other electronic device 300. Alternatively, the display data may include, for example, Extended Display Identification Data (EDID).
The processing device 140 generates multimedia data conforming to the HDMI protocol or the DP protocol based on the acquired display parameters and the interface Type of the first interface 310, and transmits the multimedia data to the other electronic device 300 through the multimedia data link between the first Type-C interface 110 and the processing device 140, so that the other electronic device 300 outputs the multimedia data.
For example, when the first interface 310 is an HDMI interface, the switch module 130 constructs a first data link matching the HDMI interface, so that the processing apparatus 140 can interact with the other electronic device 300 based on, for example, an I2C protocol by using the first data link, obtain display parameters from the other electronic device 300, and directly generate multimedia data conforming to the HDMI protocol based on the display parameters, and directly output the multimedia data conforming to the HDMI protocol to the other electronic device 300 through the first Type-C interface 110. When the first interface 310 is the DP interface, the switch module 130 constructs a second data link matching the DP interface, so that the processing device 140 can obtain the display parameters from the other electronic device 300 based on, for example, the AUX protocol by using the second data link, and can directly generate the multimedia data conforming to the DP protocol based on the display parameters, and directly output the multimedia data conforming to the DP protocol to the other electronic device 300 through the first Type-C interface 110.
In the electronic device 100 according to the embodiment of the present application, the first Type-C interface 110 directly outputs multimedia data conforming to the HDMI protocol or the DP protocol, so that the first Type-C interface 110 can serve as a general data transmission interface and can also transmit multimedia data conforming to the HDMI protocol or the DP protocol, and the functions of the first Type-C interface 110 are enriched, so that the electronic device 100 can satisfy conventional data transmission requirements and multimedia data conforming to the HDMI protocol or the DP protocol only by setting the Type-C interface, and when multimedia data conforming to the HDMI protocol or the DP protocol is transmitted, the electronic device 100 only needs to be connected to another electronic device 300, such as a display device, through the connection line 200, and can transmit multimedia data conforming to the HDMI protocol or the DP protocol to another electronic device 300 without setting a converter, and output such multimedia data through the other electronic device 300, the connection relation between the devices is simplified, and the improvement of user experience is facilitated.
In some embodiments, the switching module 130 may include a first switching unit having both sides connected to the first Type-C interface 110 and the processing device 140, respectively, and a second switching unit connected in parallel to the first switching unit. The controller 120 is specifically configured to: in the case that the first interface 310 is an HDMI interface, turning on the first switching unit to construct the first data link between the processing device 140 and the first Type-C interface 110; in the case that the first interface 310 is a DP interface, the second switching unit is turned on to construct the second data link between the processing device 140 and the first Type-C interface 110. Optionally, the controller 120 may send a signal to the first switch unit to turn on the first switch unit when determining that the first interface 310 is the HDMI interface, and the controller 120 may send a signal to the second switch unit to turn on the second switch unit when determining that the first interface 310 is the DP interface.
As shown in fig. 3, in some embodiments, the first switching unit includes a first switching tube and a second switching tube connected in series; the second switch unit comprises a third switch tube, a capacitor and a fourth switch tube which are connected in series. The controller 120 is specifically configured to: when the first interface 310 is an HDMI interface, turning on the first switch tube and the second switch tube; and when the first interface 310 is a DP interface, turning on the third switching tube and the fourth switching tube. Optionally, two sides of the switch module 130 may be respectively connected to the SBU pin of the first Type-C interface 110 and the AUX/DDC pin of the processing device 140, the first switch tube, the second switch tube, the third switch tube and the fourth switch tube may be switch tubes with parasitic diodes, the controller 120 may be respectively connected to gates of the switch tubes, a drain of the first switch tube may be connected to the SBU pin of the first Type-C interface 110, a source of the first switch tube may be connected to a source of the second switch tube, and a drain of the second switch tube may be connected to the AUX/DDC pin of the processing device 140. Two sides of the capacitor may be respectively connected to a drain of the third switching tube and a drain of the fourth switching tube, a source of the third switching tube may be connected to the SBU pin of the first Type-C interface 110, and a source of the fourth switching tube may be connected to the AUX/DDC pin of the processing device 140. Thus, leakage current between the Type-C interface and the processing device 140 can be avoided.
Continuing with fig. 3, in some embodiments, the processing device 140 includes a processor 141, an RX pin of the processor 141 is connected to an SSRX _ P/N pin of the first Type-C interface 110, a TX pin of the processor 141 is connected to an SSTX _ P/N pin of the first Type-C interface 110, and an AUX/DDC pin of the processor 141 is connected to an SBU pin of the first Type-C interface 110 through the switch module 130. The processor 141 is configured to: and constructing a multimedia data link conforming to an HDMI protocol or a DP protocol by using a data path formed by the RX pin and the SSRX _ P/N pin and a data path formed by the TX pin and the SSTX _ P/N pin based on the interface type of the first interface 310.
Alternatively, when the first interface 310 is an HDMI interface, the processor 141 may be connected to the RX pin and the TX pin by adjusting internal circuits so that a logic circuit capable of outputting multimedia data conforming to an HDMI protocol is connected to the RX pin and the TX pin. When the first interface 310 is a DP interface, the processor 141 may be connected to the RX pin and the TX pin by adjusting internal circuits so that a logic circuit capable of outputting multimedia data conforming to a DP protocol is connected. Since the Type-C interface is provided with four SSRX _ P/N pins and four SSTX _ P/N pins, the SSRX _ P/N pin and the SSTX _ P/N pin form a multimedia data link, the multi-channel multimedia data transmission requirements of an HDMI protocol and a DP protocol can be met, and a high data transmission rate is kept.
As shown in fig. 4, in some embodiments, the processing device 140 includes a data selector 142 and a processor 141, one side of the data selector 142 is connected to the switch module 130 and the first Type-C interface 110, and the other side of the data selector 142 is connected to the processor 141 through a second Type-C interface 143, a first HDMI interface 144, and a first DP interface 145. The data selector 142 is configured to: in the case that the first interface 310 is an HDMI interface or a DP interface, selecting an interface of the same Type as the first interface 310 to connect with the processor 141, so as to construct a multimedia data link conforming to an HDMI protocol or a DP protocol between the first Type-C interface 110 and the processor 141. That is, when the processor 141 has a plurality of pin groups of fixed combinations for outputting multimedia data of the HDMI protocol, multimedia data of the DP protocol, and data of the Type-C protocol, respectively, the data selector 142 may be provided between the processor 141 and the first Type-C interface 110, and the connection relationship between the first Type-C interface 110 and the processor 141 may be adjusted by the data selector 142.
Optionally, the RX pin of the data selector 142 is connected to the SSRX _ P/N pin of the first Type-C interface 110, the TX pin of the data selector 142 is connected to the SSTX _ P/N pin of the first Type-C interface 110, and the AUX/DDC pin of the data selector 142 is connected to the SBU pin of the first Type-C interface 110 through the switch module 130. The other side of the data selector 142 may be connected to the USB _ RX pin and the USB _ TX pin of the second Type-C, respectively, the other side of the data selector 142 may be further connected to the TDMS _ CLK pin, the TDMS _ D2 pin, the TDMS _ D1 pin, the TDMS _ D0 pin, and the DDC pin of the first HDMI interface 144, and the other side of the data selector 142 is further connected to the DP pin and the AUX pin of the DP interface, respectively.
In some embodiments, the controller 120 is specifically configured to: acquiring identification information through the CC pin of the first Type-C interface 110; sending the identification information to the processing device 140 to determine an interface type of the first interface 310 through the processing device 140. That is, the controller 120 may cooperate with the processing device 140 to determine the interface Type of the first interface 310, and the controller 120 is responsible for acquiring the identification information through the CC pin of the first Type-C interface 110, and then sending the identification information to the processing device 140, and the processing device 140 determines the interface Type of the first interface 310 based on the identification information, which is beneficial to simplifying the internal logic of the controller 120. Optionally, the identification information may be current information, voltage information, or impedance information of the CC pin.
As shown in fig. 5, in some embodiments, the connection line 200 has a third Type-C interface 201 and a second HDMI interface 202 or a second DP interface, and a CC pin of the third Type-C interface 201 is connected to the second HDMI interface 202 or the second DP interface through a third switching unit 203; the third switching unit 203 is configured to: the identification information is generated in a case where the second HDMI interface 202 or the second DP interface is connected to the first interface 310 of the other electronic device 300.
Optionally, the third switching unit 203 may include a first resistor, a second resistor, and a fifth switching tube, the CC pin may be grounded through the first resistor, the CC pin is further connected to a drain of the fifth switching tube through the second resistor, a source of the fifth switching tube is grounded, and a gate of the fifth switching tube may be connected to an HPD pin of the second HDMI interface 202.
When the second HDMI interface 202 is not connected to another electronic device 300, the HPD pin is at a low potential, the fifth switch tube is not turned on, and the CC pin is grounded only through the first resistor, at this time, the impedance of the CC pin is relatively large. When the second HDMI interface 202 is connected to the first interface 310 of another electronic device 300, the HPD pin is switched from a low potential to a high potential, the fifth switch is turned on, the CC pin is grounded through the first resistor and the second resistor, and at this time, the impedance of the CC pin is reduced.
Therefore, a simple and easy identification information generation mode is provided. It should be noted that the DP interface may also generate the corresponding identification information in a similar manner, or may also generate the identification information in other manners.
Referring to fig. 6, an embodiment of the present application further provides a multimedia data transmission method, which may be applied to an electronic device 100 with a Type-C interface, such as a desktop computer, a laptop computer, a tablet computer, a smart phone, or a smart car. The multimedia data transmission method of the embodiment of the application may specifically include the following steps.
S401, in response to the first Type-C interface 110 of the electronic device 100 being connected with the first interface 310 of another electronic device 300 through the connection line 200, determining an interface Type of the first interface 310; wherein, the first Type-C interface 110 is a USB first Type-C interface 110.
S402, in a case that the first interface 310 is an HDMI interface or a DP interface, constructing a first data link or a second data link between the processing device 140 of the electronic device 100 and the first Type-C interface 110 by using the switch module 130; the first data link is matched with an HDMI interface, and the second data link is matched with a DP interface.
S403, acquiring, by the processing device 140, a display parameter of the other electronic device 300 based on the interaction between the first data link and the other electronic device 300 through the second data link.
S404, generating, by the processing device 140, multimedia data conforming to an HDMI protocol or a DP protocol based on the display parameters and the interface Type of the first interface 310, and transmitting the multimedia data to the other electronic device 300 through a multimedia data link between the first Type-C interface 110 and the processing device 140, so that the other electronic device 300 outputs the multimedia data.
In some embodiments, the switch module 130 includes a first switch unit and a second switch unit, two sides of the first switch unit are respectively connected with the first Type-C interface 110 and the processing device 140, and the second switch unit is connected in parallel with the first switch unit; in the case that the first interface 310 is an HDMI interface or a DP interface, constructing a first data link or a second data link between the processing device 140 of the electronic device 100 and the first Type-C interface 110 by using the switch module 130 includes:
in the case that the first interface 310 is an HDMI interface, turning on the first switching unit to construct the first data link between the processing device 140 and the first Type-C interface 110;
in the case that the first interface 310 is a DP interface, the second switching unit is turned on to construct the second data link between the processing device 140 and the first Type-C interface 110.
In some embodiments, the first switching unit comprises a first switching tube and a second switching tube connected in series; the second switching unit comprises a third switching tube, a capacitor and a fourth switching tube which are connected in series;
the turning on the first switch unit when the first interface 310 is an HDMI interface includes:
when the first interface 310 is an HDMI interface, turning on the first switch tube and the second switch tube;
the turning on the second switch unit when the first interface 310 is a DP interface includes:
and when the first interface 310 is a DP interface, turning on the third switching tube and the fourth switching tube.
In some embodiments, the processing device 140 includes a processor 141, an RX pin of the processor 141 is connected to an SSRX _ P/N pin of the first Type-C interface 110, a TX pin of the processor 141 is connected to an SSTX _ P/N pin of the first Type-C interface 110, and an AUX/DDC pin of the processor 141 is connected to an SBU pin of the first Type-C interface 110 through the switch module 130; the method further comprises the following steps:
constructing, by the processor 141, a multimedia data link conforming to an HDMI protocol or a DP protocol based on the interface type of the first interface 310, using a data path formed by the RX pin and the SSRX _ P/N pin, and a data path formed by the TX pin and the SSTX _ P/N pin.
In some embodiments, the processing device 140 includes a data selector 142 and a processor 141, one side of the data selector 142 is connected to the switch module 130 and the first Type-C interface 110, respectively, and the other side of the data selector 142 is connected to the processor 141 through a second Type-C interface 143, a first HDMI interface 144, and a first DP interface 145, respectively; the method further comprises the following steps:
in the case that the first interface 310 is an HDMI interface or a DP interface, an interface of the same Type as the first interface 310 is selected by the data selector 142 to be connected to the processor 141, so as to construct a multimedia data link conforming to the HDMI protocol or the DP protocol between the first Type-C interface 110 and the processor 141.
In some embodiments, the RX pin of the data selector 142 is connected to the SSRX _ P/N pin of the first Type-C interface 110, the TX pin of the data selector 142 is connected to the SSTX _ P/N pin of the first Type-C interface 110, and the AUX/DDC pin of the data selector 142 is connected to the SBU pin of the first Type-C interface 110 through the switch module 130.
In some embodiments, the determining the interface type of the first interface 310 includes:
acquiring identification information through the CC pin of the first Type-C interface 110;
sending the identification information to the processing device 140 to determine the interface type of the first interface 310 through the processing device 140.
In some embodiments, the connection line 200 has a third Type-C interface 201, and a second HDMI interface 202 or a second DP interface, and a CC pin of the third Type-C interface 201 is connected to the second HDMI interface 202 or the second DP interface through a third switching unit 203; the method further comprises the following steps:
in a case where the second HDMI interface 202 or the second DP interface is connected to the first interface 310 of the other electronic device 300, the identification information is generated by the third switching unit 203.
The above embodiments are only exemplary embodiments of the present application, and are not intended to limit the present application, and the protection scope of the present application is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present application and such modifications and equivalents should also be considered to be within the scope of the present application.

Claims (10)

1. An electronic device, comprising:
a first Type-C interface configured to be connectable with a first interface of another electronic device through a connection line;
a controller configured to determine an interface type of the first interface;
a switch module configured to construct a first data link between the first Type-C interface and a processing device of the electronic device when the first interface is an HDMI interface; when the first interface is a DP interface, constructing a second data link between the first Type-C interface and the processing device; the first data link is matched with an HDMI (high-definition multimedia interface), and the second data link is matched with a DP (data processing) interface;
a processing device configured to:
obtaining display parameters from the other electronic device through the first data link or the second data link; generating multimedia data conforming to an HDMI protocol or a DP protocol based on the display parameters and the interface type of the first interface; and transmitting the multimedia data to the other electronic equipment through a multimedia data link between the first Type-C interface and the processing device so as to enable the other electronic equipment to output the multimedia data.
2. The electronic device according to claim 1, wherein the switch module includes a first switch unit and a second switch unit, both sides of the first switch unit are respectively connected with the first Type-C interface and the processing apparatus, and the second switch unit is connected in parallel with the first switch unit; the controller is specifically configured to:
if the first interface is an HDMI interface, turning on the first switch unit to construct the first data link between the processing device and the first Type-C interface;
and when the first interface is a DP interface, turning on the second switch unit to construct the second data link between the processing device and the first Type-C interface.
3. The electronic device of claim 2, wherein the first switching unit comprises a first switching tube and a second switching tube connected in series; the second switching unit comprises a third switching tube, a capacitor and a fourth switching tube which are connected in series; the controller is specifically configured to:
under the condition that the first interface is an HDMI (high-definition multimedia interface), starting the first switch tube and the second switch tube;
and under the condition that the first interface is a DP interface, opening the third switching tube and the fourth switching tube.
4. The electronic device of claim 1, wherein the processing apparatus comprises a processor, an RX pin of the processor is connected with an SSRX _ P/N pin of the first Type-C interface, a TX pin of the processor is connected with an SSTX _ P/N pin of the first Type-C interface, and an AUX/DDC pin of the processor is connected with an SBU pin of the first Type-C interface through the switch module;
the processor is configured to: and constructing a multimedia data link conforming to an HDMI protocol or a DP protocol by using a data path formed by the RX pin and the SSRX _ P/N pin and a data path formed by the TX pin and the SSTX _ P/N pin based on the interface type of the first interface.
5. The electronic device of claim 1, wherein the processing apparatus comprises a data selector and a processor, one side of the data selector is connected to the switch module and the first Type-C interface, respectively, and the other side of the data selector is connected to the processor through a second Type-C interface, a first HDMI interface, and a first DP interface, respectively; the data selector is configured to:
and under the condition that the first interface is an HDMI interface or a DP interface, selecting an interface of the same Type as the first interface to be connected with the processor so as to construct a multimedia data link conforming to an HDMI protocol or a DP protocol between the first Type-C interface and the processor.
6. The electronic device of claim 5, wherein the RX pin of the data selector is connected with an SSRX _ P/N pin of the first Type-C interface, the TX pin of the data selector is connected with an SSTX _ P/N pin of the first Type-C interface, and the AUX/DDC pin of the data selector is connected with an SBU pin of the first Type-C interface through the switch module.
7. The electronic device of claim 1, wherein the controller is specifically configured to:
acquiring identification information through the CC pin of the first Type-C interface;
sending the identification information to the processing device to determine, by the processing device, an interface type of the first interface.
8. The electronic device of claim 7, wherein the connection line has a third Type-C interface and a second HDMI interface or a second DP interface, and a CC pin of the third Type-C interface is connected to the second HDMI interface or the second DP interface through a third switching unit;
the third switching unit is configured to: generating the identification information in a case where the second HDMI interface or the second DP interface is connected to the first interface of the other electronic device.
9. A method of multimedia data transmission, comprising:
responding to a first Type-C interface of electronic equipment to be connected with a first interface of another electronic equipment through a connecting line, and determining the interface Type of the first interface; the first Type-C interface is a USB first Type-C interface;
under the condition that the first interface is an HDMI interface or a DP interface, a first data link or a second data link is constructed between a processing device of the electronic equipment and the first Type-C interface by using a switch module; the first data link is matched with an HDMI (high-definition multimedia interface), and the second data link is matched with a DP (data processing) interface;
acquiring, by the processing device, display parameters of the other electronic device based on the interaction with the other electronic device through the first data link or the second data link;
generating, by the processing device, multimedia data conforming to an HDMI protocol or a DP protocol based on the display parameters and the interface Type of the first interface, and transmitting the multimedia data to the other electronic device through a multimedia data link between the first Type-C interface and the processing device, so that the other electronic device outputs the multimedia data.
10. The multimedia data transmission method according to claim 9, wherein the switch module includes a first switch unit and a second switch unit, two sides of the first switch unit are respectively connected with the first Type-C interface and the processing device, and the second switch unit is connected in parallel with the first switch unit; the constructing a first data link or a second data link between a processing device of the electronic device and the first Type-C interface by using a switch module under the condition that the first interface is an HDMI interface or a DP interface includes:
if the first interface is an HDMI interface, turning on the first switch unit to construct the first data link between the processing device and the first Type-C interface;
and when the first interface is a DP interface, turning on the second switch unit to construct the second data link between the processing device and the first Type-C interface.
CN202210146169.2A 2022-02-17 2022-02-17 Electronic equipment and multimedia data transmission method Pending CN114546919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210146169.2A CN114546919A (en) 2022-02-17 2022-02-17 Electronic equipment and multimedia data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210146169.2A CN114546919A (en) 2022-02-17 2022-02-17 Electronic equipment and multimedia data transmission method

Publications (1)

Publication Number Publication Date
CN114546919A true CN114546919A (en) 2022-05-27

Family

ID=81675844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210146169.2A Pending CN114546919A (en) 2022-02-17 2022-02-17 Electronic equipment and multimedia data transmission method

Country Status (1)

Country Link
CN (1) CN114546919A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636096A (en) * 2013-11-07 2015-05-20 辉达公司 Graphic card and electronic device
CN205142391U (en) * 2015-08-05 2016-04-06 东莞铭基电子科技集团有限公司 Take HDMI signal converter of connecting wire
CN112702553A (en) * 2019-10-23 2021-04-23 青岛海尔多媒体有限公司 Display system, data transmission method thereof and data transmission device
CN114036007A (en) * 2021-10-20 2022-02-11 深圳市火乐科技发展有限公司 Data interface circuit and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636096A (en) * 2013-11-07 2015-05-20 辉达公司 Graphic card and electronic device
CN205142391U (en) * 2015-08-05 2016-04-06 东莞铭基电子科技集团有限公司 Take HDMI signal converter of connecting wire
CN112702553A (en) * 2019-10-23 2021-04-23 青岛海尔多媒体有限公司 Display system, data transmission method thereof and data transmission device
CN114036007A (en) * 2021-10-20 2022-02-11 深圳市火乐科技发展有限公司 Data interface circuit and electronic equipment

Similar Documents

Publication Publication Date Title
US10204068B2 (en) Serial bus electrical termination control
US10152447B2 (en) Universal serial bus converter circuit and related method
US9274994B2 (en) Method and system for using a standard connector to deliver combined display, data and power signals
US8886846B2 (en) Flexible implementation of serial bus support over display interface
US20110087806A1 (en) Dual-Mode Data Transfer of Uncompressed Multimedia Contents or Data Communications
US8766956B2 (en) Automatic activity detection in a display controller
EP1942486A2 (en) Display apparatus for displaying video input through various connectors
US20080303785A1 (en) Display apparatus and method for notifying user of state of external device
WO2021196958A1 (en) Capacitive isolation circuit, interface module, chip, and system
TW201525854A (en) Display system and method of operation optimization
US20170300441A1 (en) Hdmi and dp compatible interface circuit
JP5107205B2 (en) Display connection adapter and display connection system
US11343466B2 (en) Video signal conversion device
CN107391410B (en) Bridge connector
CN114546919A (en) Electronic equipment and multimedia data transmission method
CN211181609U (en) Intelligent terminal dual-mode L CD drive board circuit
TWI403089B (en) Dongle
JP2018147123A (en) Electronic apparatus and control method thereof
CN215268511U (en) Novel interface supporting 100W charging
JP2005091795A (en) Display device
TW201509182A (en) Signal relaying circuit, signal receiving circuit, signal relaying method and signal receiving method
US20170220069A1 (en) Docking apparatus and control method thereof
US11636826B1 (en) Electronic device with connector supporting multiple connection standards and update method thereof
US11809247B2 (en) Electronic device with connector supporting multiple connection standards and signal switching method and power supply method thereof
TWI709076B (en) Motherboard outputting image data and operation system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination