The present disclosure relates to communications technologies, and in particular, to a high-definition multimedia interface (HDMI) unit and a multimedia terminal.
On a conventional multimedia terminal, there are generally two or even more HDMI interfaces; some HDMI interfaces can only be used to connect to a source device, for example, a set top box (STB), and some HDMI interfaces can only be used to connect to a sink device, for example, a television (TV).
An HDMI interface, connected to a source device, of a multimedia terminal and an interface, connected to a sink device, of the multimedia terminal are structurally the same; and if a type of a connected device does not match a port type, a connection between the multimedia terminal and the source device or the sink device cannot be established, bringing inconvenience to a user.
The present disclosure provides a HDMI unit and a multimedia terminal, to resolve a problem that a multimedia terminal cannot establish a connection to a source device or a sink device when a type of a device connected to the multimedia terminal does not match a port type.
According to a first aspect, the present disclosure provides a high-definition multimedia HDMI unit, including a source interface module, a sink interface module, an interface circuit module, a processing module, and a switching circuit module, where the source interface module is configured to communicate with a sink device, the sink interface module is configured to communicate with a source device, the interface circuit module is configured to connect to an HDMI interface of an external device, the processing module is configured to identify a device type of the external device connected to the interface circuit module, and control the switching circuit module according to the identified device type, and the switching circuit module is configured to: under control of the processing module, establish a connection between the HDMI interface of the external device connected to the interface circuit module and the source interface module, or establish a connection between the HDMI interface of the external device connected to the interface circuit module and the sink interface module.
In a first possible implementation manner of the first aspect, the interface circuit module includes a power supply submodule configured to connect to a power port on the HDMI interface of the external device, to provide a constant voltage for the HDMI interface of the external device, and a detection submodule configured to separately connect to an hot plug detection (HPD) pin on the HDMI interface of the external device and the processing module, to output a level signal that is from the HPD pin of the external device to the processing module.
According to the first possible implementation manner of the first aspect, in a second possible implementation manner, the processing module is configured to: acquire the level signal that is from the HPD pin by using the detection submodule; and if a level of the level signal is less than or equal to a first preset threshold, identify the external device as being of a source device type, and control the switching circuit module to connect a data port of the HDMI interface of the device to the sink interface module, or if a level of the level signal is greater than or equal to a second preset threshold, identify the external device as being of a sink device type.
According to the first possible implementation manner of the first aspect and the second possible implementation manner of the first aspect, in a third possible implementation manner, the processing module is further configured to: if the external device is identified as being of the source device type, control the switching circuit module to establish a connection between the data port of the HDMI interface of the external device and the sink interface module, or if the level of the level signal is greater than or equal to the second preset threshold, identify the external device as being of the sink device type, and control the switching circuit module to establish a connection between the data port of the HDMI interface of the external device and the source interface module.
With reference to the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, and the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the power supply submodule includes a power supply component configured to generate the constant voltage, or connect to a board power supply of a multimedia terminal on which the HDMI unit is located, a resistor component configured to separately connect to the power supply component and a ground end, and a first switch component configured to configured to under control of the processing module, disconnect or connect the power supply component from or to the power port on the HDMI interface of the external device.
With reference to the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, and the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner, the detection submodule includes a level signal input end configured to receive the level signal input by using the HPD pin on the HDMI interface of the external device, an HPD detection end configured to detect the level signal, an HPD output end configured to output the level signal, and a second switch component configured to under control of the processing module, establish a connection between the level signal input end and the HPD detection end, or a connection between the level signal input end and the HPD output end.
With reference to the first possible implementation manner of the first aspect, the second possible implementation manner of the first aspect, the third possible implementation manner of the first aspect, the fourth possible implementation manner of the first aspect, and the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner, the switching circuit module includes a third switch component configured to under control of the processing module, establish the connection between the HDMI interface of the external device and the source interface module, or establish the connection between the HDMI interface of the external device and the sink interface module.
According to a second aspect, the present disclosure provides a multimedia terminal, including at least one HDMI unit provided by any embodiment of the present disclosure, where the HDMI unit is configured to connect to an HDMI interface of an external device of a source device type, or connect to an HDMI interface of an external device of a sink device type.
In a first possible implementation manner of the second aspect, the processing module in the HDMI unit is a central processing unit (CPU) of the multimedia terminal.
According to the HDMI unit and the multimedia terminal that are provided by the present disclosure, a processing module detects a device type of a connected external device, and controls, according to the identified device type, a switching circuit module to establish a connection between an HDMI interface of the external device and a source interface module, or establish a connection between an HDMI interface of the external device and a sink interface module, thereby implementing that a multimedia terminal identifies a device type of a connected external device, and establishes a connection between an HDMI interface of the external device and a source interface module or a sink interface module, and implementing that when a different type of a device connected to the multimedia terminal matches a port, it is ensured that the multimedia terminal establishes a connection to a source device or a sink device.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. The accompanying drawings in the following description show some embodiments of the present disclosure, and persons of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the following clearly describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure. The described embodiments are a part rather than all of the embodiments of the present disclosure. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
The source interface module 14 is configured to communicate with an external device of a sink device type; the sink interface module 15 is configured to communicate with an external device of a source device type; the interface circuit module 11 is configured to connect to an HDMI interface of an external device; the processing module 12 is configured to identify a device type of the external device connected to the interface circuit module 11, and control the switching circuit module 13 according to the identified device type; and the switching circuit module 13 is configured to: under control of the processing module 12, establish a connection between the HDMI interface of the external device connected to the interface circuit module 11 and the source interface module 14, to implement communication between the external device of the sink type device and the source interface module 14, or establish a connection between the HDMI interface of the external device connected to the interface circuit module 11 and the sink interface module 15, to implement communication between the external device of the source type device and the sink interface module 15.
The HDMI interface of the external device is generally a plug, and the plug is electrically connected to the external device by using a cable. The interface circuit module 11 may match the HDMI interface of the external device in order to facilitate plugging of the HDMI interface of the external device into the interface circuit module 11. In a state in which the interface circuit module 11 is connected to the HDMI interface of the external device, the processing module 12 may identify the device type of the external device connected to the interface circuit module 11 as the sink device type or the source device type, thereby controlling, according to the identified device type, the switching circuit module 13. The switching circuit module 13 may, under control of the processing module 12, establish the connection between the switching circuit module 13 and the source interface module 14, or establish the connection between the switching circuit module 13 and the sink interface module 15. If the processing module 12 identifies the external device connected to the interface circuit module 11 as a sink device, the processing module 12 may control the interface circuit module 11 to establish a connection between the interface circuit module 11 and the source interface module 14, thereby implementing the connection between the HDMI interface of the external device and the source interface module 14; if the processing module 12 identifies the external device connected to the interface circuit module 11 as a source device, the processing module 12 may control the interface circuit module 11 to establish a connection between the interface circuit module 11 and the sink interface module 15, thereby implementing the connection between the HDMI interface of the external device and the sink interface module 15.
According to the HDMI unit provided by the embodiment of the present disclosure, a processing module detects a device type of a connected external device, and controls, according to the identified device type, a switching circuit module to establish a connection between an HDMI interface of the external device and a source interface module, or establish a connection between an HDMI interface of the external device and a sink interface module, thereby implementing that a multimedia terminal identifies a device type of a connected device, and establishes a connection between an HDMI interface of the external device and a source interface module or a sink interface module, and implementing that when a different type of a device connected to the multimedia terminal matches a port, it is ensured that the multimedia terminal establishes a connection to a source device or a sink device.
The power supply submodule 21 is configured to connect to a power port on the HDMI interface of the external device, to provide a constant voltage for the HDMI interface of the external device; and the detection submodule 22 is configured to separately connect to an HPD pin on the HDMI interface of the external device and the processing module 12, to output a detected level signal that is from the HPD pin of the external device to the processing module 12.
Preferably, the power supply submodule 21 may be formed by a power supply component, a resistor component, and a first switch component. The power supply component is connected to the power port on the HDMI interface of the external device, and is configured to generate the constant voltage, or is connected to a board power supply of a multimedia terminal on which the HDMI unit 10 is located; the resistor component is configured to separately connect to the power supply component and a ground end; and the first switch component is configured to: under control of the processing module 12, disconnect or connect the power supply component from or to the power port on the HDMI interface of the external device.
After a system is powered, the switch SWITCH1 is in a closed state, that is, the power supply pin 5V-HDMI of the HDMI unit 10 is connected to a 5V power supply on a board of the multimedia terminal on which the HDMI unit 10 is located. When the HDMI interface of the external device is not connected, the level signal that is from the HPD pin is provided by the board of the multimedia terminal on which the HDMI unit 10 is located. Due to existence of the resistor component, the level signal that is from the HPD pin and detected by the detection submodule 22 is approximately 2.5V in this case, a value range of a resistance value of the resistor component may be 10 kilohms (kΩ) to 50 kΩ, and in this embodiment, the resistance value of the resistor component is set to 27 kΩ.
Preferably, the detection submodule 22 may include: a level signal input end, an HPD detection end, an HPD output end, and a second switch component. As shown in
A CPU in
Optionally, the processing module 12 may be configured to: acquire the level signal that is from the HPD pin by using the detection submodule 22; and if a level of the level signal is less than or equal to a first preset threshold, identify the external device as being of the source device type; or if a level of the level signal is greater than or equal to a second preset threshold, identify the external device as being of the sink device type.
After the system is powered, the switch SWITCH1 is in the closed state, that is, the 5V power supply on the HDMI interface is provided by the board of the multimedia terminal on which the HDMI unit 10 is located; and the SWITCH2 initially connects the HPD pin HPD-IN on the HDMI interface to the HPD-DET.
If the device type of the external device connected to the interface circuit module 11 is the source device, because inside the source device, the level signal is pulled down to the ground end by using a resistor, it can be learnt according to a circuit principle that the level of the level signal that is from the HPD pin of the HDMI interface of the source device may be reduced from 2.5V in an initial state to a value less than or equal to the first preset threshold, that is, the level of the level signal may be less than or equal to 2.2V (which is determined by a resistance value of the selected resistor); and if the device type of the external device connected to the interface circuit module 11 is the sink device, because inside the sink device, the level signal is pulled up to 5V by using a resistor, it can be learnt according to the circuit principle that the level of the level signal that is from the HPD pin of the HDMI interface of the sink device may rise from 2.5V in an initial state to a value greater than or equal to the second preset threshold, that is, the level of the level signal may be greater than or equal to 3.9V (which is determined by a resistance value of the selected resistor).
After the processing module 12 identifies the type of the external device connected to the interface circuit module 11, the SWITCH1 and the SWITCH2 need to be further controlled. If the external device is identified as the source device, the processing module 12 needs to control the switch SWITCH1 to open, and control the SWITCH2 to connect to the HPD-OUT, and to hand over the level signal that is from the HPD pin to an HDMI chip for processing, that is, the level signal that is from the HPD pin is switched to the sink interface module 15 by using the switching circuit module 13; and if the external device is the sink device, the processing module 12 continues to keep the switch SWITCH1 closed and the SWITCH2 connected to the HPD-OUT, so that the level signal that is from the HPD pin is switched to the source interface module 14 by using the switching circuit module 13.
Further, the processing module 12 may be further configured to: if the external device is identified as being of the source device type, control the switching circuit module 13 to establish a connection between a data port of the HDMI interface of the external device and the sink interface module 15; or if the level of the level signal is greater than or equal to the second preset threshold, identify the external device as being of the sink device type, and control the switching circuit module 13 to establish a connection between a data port of the HDMI interface of the external device and the source interface module 14.
Optionally, the switching circuit module 13 may include a third switch component configured to, under control of the processing module 12, establish the connection between the HDMI interface of the external device and the source interface module 14, or establish the connection between the HDMI interface of the external device and the sink interface module 15.
The third switch component may be a switch SWITCH3 in
After the interface circuit module 11 is connected to the HDMI interface of the external device, the pin HPD-DET may detect the level of the level signal that is from the HPD pin of the HDMI interface of the external device; if the level of the level signal is less than or equal to 2.2V (which is determined by the resistance value of the selected resistor), the device type of the external device is identified as the source device, and the processing module 12 controls the switch SWITCH3 to connect the HDMI interface of the external device to the HDMI-sink.
If the level of the level signal detected by the pin HPD-DET is greater than or equal to 3.9V (which is determined by the resistance value of the selected resistor), the device type of the external device is identified as the sink device, and the processing module 12 controls the switch SWITCH3 to connect the HDMI interface of the external device to the HDMI-source.
According to the HDMI unit provided by the embodiment of the present disclosure, a device type of an external device is identified by detecting a change in a level of a level signal that is from an HPD pin of an HDMI interface of the external device, and a processing module controls corresponding actions of a first switch component, a second switch component, and a third switch component, thereby implementing that when a different type of a device connected to a multimedia terminal matches a port, it is ensured that the multimedia terminal establishes a connection to a source device or a sink device.
Another embodiment of the present disclosure provides a multimedia terminal, including the HDMI unit 10 provided by any one of foregoing embodiments, where the HDMI unit 10 is configured to connect to an HDMI interface of an external device of a source device type, or connect to an HDMI interface of an external device of a sink device type.
A processing module 12 in the HDMI unit 10 may be a CPU of the multimedia terminal.
The multimedia terminal provided by the embodiment may include a HDMI unit, resolving a problem that a multimedia device cannot establish a connection to a source device or a sink device when a type of an external device connected to a multimedia terminal does not match a port type.
Persons of ordinary skill in the art may understand that all or a part of the steps of the method embodiments may be implemented by a program instruction relevant hardware. The foregoing program may be stored in a computer readable storage medium. When the program runs, the steps of the method embodiments are performed. The foregoing storage medium includes: any medium that can store program code, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc.
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of the present disclosure, but not for limiting the present disclosure. Although the present disclosure is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof, without departing from the scope of the technical solutions of the embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2013 1 0112980 | Apr 2013 | CN | national |
This application is a continuation of International Application No. PCT/CN2014/074295, filed on Mar. 28, 2014, which claims priority to Chinese Patent Application No. 201310112980.X, filed on Apr. 2, 2013, both of which are hereby incorporated by reference in their entireties.
Number | Name | Date | Kind |
---|---|---|---|
8042145 | Vergoossen | Oct 2011 | B2 |
8242803 | Wu | Aug 2012 | B2 |
8286210 | Boyden | Oct 2012 | B2 |
8429713 | Candelore | Apr 2013 | B2 |
8510798 | Candelore | Aug 2013 | B2 |
8654767 | Shao | Feb 2014 | B2 |
8810732 | Bozarth | Aug 2014 | B1 |
8832844 | Yu | Sep 2014 | B2 |
20090015723 | Doumuki | Jan 2009 | A1 |
20100329339 | Kanagawa | Dec 2010 | A1 |
20110084685 | Zhong | Apr 2011 | A1 |
20110316962 | Doi et al. | Dec 2011 | A1 |
20120036284 | Tao et al. | Feb 2012 | A1 |
Number | Date | Country |
---|---|---|
201349268 | Nov 2009 | CN |
101682746 | Mar 2010 | CN |
201927859 | Aug 2011 | CN |
102422638 | Apr 2012 | CN |
102572352 | Jul 2012 | CN |
2385517 | Nov 2011 | EP |
2009060204 | Mar 2009 | JP |
2012105011 | May 2012 | JP |
2012199643 | Oct 2012 | JP |
2012135626 | Oct 2012 | WO |
Entry |
---|
Partial English Translation and Abstract of Japanese Patent Application No. JPA2009060204, Jan. 16, 2017, 19 pages. |
Partial English Translation and Abstract of Japanese Patent Application No. JPA2012105011, Jan. 16, 2017, 25 pages. |
Foreign Communication From a Counterpart Application, Chinese Application No. 2016-503532, Chinese Office Action dated Nov. 22, 2016, 5 pages. |
Foreign Communication From a Counterpart Application, Chinese Application No. 2016-503532, English Translation of Chinese Office Action dated Nov. 22, 2016, 5 pages. |
Partial English Translation and Abstract of Chinese Patent Application No. CN201927859, Jan. 13, 2016, 4 pages. |
Foreign Communication From a Counterpart Application, Chinese Application No. 201310112980.X, Chinese Office Action dated Nov. 30, 2015, 8 pages. |
Foreign Communication From a Counterpart Application, European Application No. 14778968.9, Extended European Search Report dated Nov. 17, 2015, 7 pages. |
Foreign Communication From a Counterpart Application, PCT Application No. PCT/CN2014/074295, English Translation of International Search Report dated Jun. 30, 2014, 2 pages. |
Foreign Communication From a Counterpart Application, PCT Application No. PCT/CN2014/074295, English of Written Opinion dated Jun. 30, 2014, 9 pages. |
Number | Date | Country | |
---|---|---|---|
20150358675 A1 | Dec 2015 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2014/074295 | Mar 2014 | US |
Child | 14828822 | US |