WO2016106751A1 - Method and apparatus for achieving multimedia interface configuration - Google Patents

Method and apparatus for achieving multimedia interface configuration Download PDF

Info

Publication number
WO2016106751A1
WO2016106751A1 PCT/CN2014/096063 CN2014096063W WO2016106751A1 WO 2016106751 A1 WO2016106751 A1 WO 2016106751A1 CN 2014096063 W CN2014096063 W CN 2014096063W WO 2016106751 A1 WO2016106751 A1 WO 2016106751A1
Authority
WO
WIPO (PCT)
Prior art keywords
pin
multimedia
state
detecting
processing unit
Prior art date
Application number
PCT/CN2014/096063
Other languages
French (fr)
Chinese (zh)
Inventor
昝超
唐启明
周广荣
成键
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/096063 priority Critical patent/WO2016106751A1/en
Publication of WO2016106751A1 publication Critical patent/WO2016106751A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method and apparatus for implementing a multimedia interface configuration.
  • multiple input devices or multiple output devices can be connected at the same time.
  • multiple input devices such as cameras
  • the output interface connects the video conferencing terminal to multiple output devices (such as a display) simultaneously.
  • the present invention provides a method and apparatus for implementing a multimedia interface configuration, which reduces the problem of data transmission delay and interface resource waste existing in the prior art.
  • a multimedia device comprising:
  • processing unit is connected to the multimedia interface connector through the multimedia input circuit, and is connected to the multimedia interface through the multimedia output circuit Connected
  • the processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit when determining a multimedia input interface to be used by the multimedia input circuit and the multimedia interface connector
  • An output channel that is in an on state and controls connection with the multimedia interface connector through the multimedia output circuit is in an off state, and is determined to be used
  • the output channel is controlled to be in an on state
  • the input channel is controlled to be in an off state.
  • the processing unit is specifically configured to: when detecting that the device connected to the multimedia interface connector is an input device, determine to use the multimedia input circuit and the The multimedia input interface formed by the multimedia interface connector determines a multimedia output interface formed by using the multimedia output circuit and the multimedia interface connector when detecting that the device connected to the multimedia interface is an output device.
  • the multimedia device further includes a first power feeding chip;
  • the multimedia interface connector includes a feeding pin and hot plugging Detecting a pin;
  • the processing unit includes a first detecting pin and a second detecting pin;
  • a feeding pin of the multimedia interface connector is respectively connected to the first detecting pin of the processing unit and the first feeding chip
  • the hot plug detection pin of the multimedia interface connector is connected to the second detection pin of the processing unit, and is grounded through the first resistor;
  • the processing unit is specifically configured to: when the level of the feed pin is detected as being high by the first detection pin under the condition that the feed pin is controlled to be in a power-off state,
  • the device connected to the multimedia interface connector is an output device, and the level of the hot plug detection pin is detected by the second detecting pin when the feeding pin is controlled to be in a charged state.
  • the state is high, it is determined that the device connected to the multimedia interface connector is an input device.
  • the processing unit is specifically configured to:
  • Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level
  • the detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
  • the multimedia device further includes a first switch, the first switch being serially connected to the feed tube Between the foot and the first feed chip;
  • the processing unit is configured to control the feeding pin to be in a charged state, and specifically includes: the processing unit, configured to control the first switch to be closed;
  • the processing unit is configured to control the powering pin to be in a power-off state, and specifically includes: the processing unit, configured to control the first switch to be disconnected.
  • the processing unit is configured to control the feeding pin to be in a charging state, specifically: the processing a unit, configured to send an enable signal to the first feed chip, so that the first feed chip supplies power to the feed pin; and the processing unit is configured to control the feed pin to be off
  • the electrical state includes: the processing unit, configured to send a shutdown enable signal to the first feed chip, so that the first feed chip does not supply power to the feed pin.
  • the multimedia device further includes a second power feeding chip and a second switch, wherein the heat The plug detection pin is connected to the second feed chip, and the second switch is connected in series between the hot plug detection pin and the first resistor;
  • the processing unit is further configured to: when detecting a level state of the hot plug detection pin and the feed pin, control the hot plug detection pin to be in a power off state and control the second The switch is in a closed state, and when it is determined that the device connected to the multimedia interface connector is an input device, maintaining a power-off state of the hot-plug detection pin and maintaining a closed state of the second switch; When the device connected to the multimedia interface connector is an output device, the hot plug detection pin is controlled to be in a powered state and the second switch is turned off.
  • the multimedia device further includes a user operation interface unit
  • the user operation interface unit is configured to provide a configuration interface for configuring a multimedia interface, and generate a user operation instruction according to a configuration operation of the user on the configuration interface, and send the user operation instruction to the processing unit;
  • the processing unit is specifically configured to parse the user operation instruction to determine a multimedia input interface to be used by using the multimedia input circuit and the multimedia interface connector or to use the multimedia output circuit and the multimedia interface A multimedia output interface formed by a connector.
  • the processing unit is configured to control a pass with the multimedia interface connector
  • the input channel connected to the multimedia input circuit is in an on state, and controls an output channel connected to the multimedia interface connector through the multimedia output circuit to be in an off state
  • the processing unit is configured to control The multimedia input circuit is in a power supply state, and the multimedia output circuit is in a power off state
  • the processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and specifically, the processing unit is configured to control the multimedia input circuit to be in a power off state, and the multimedia The output circuit is in a power supply state.
  • the multimedia device further includes a power supply serially connected to the multimedia input circuit and the multimedia input circuit a first power switch, and a serial connection for providing the multimedia output circuit a second power switch between the electrical power source and the multimedia output circuit;
  • the processing unit is configured to control the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state, specifically, the processing unit is configured to control the first power switch to be closed and control the second power source The switch is turned off;
  • the processing unit is configured to control the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, specifically, the processing unit is configured to control the first power switch to be turned off and control the second The power switch is closed.
  • the processing unit is configured to control that the multimedia input circuit is in a power supply state, and the multimedia output circuit is in a power-off state, specifically
  • the processing unit is configured to send an enable signal to a first power source for powering the multimedia input circuit, so that the first power source supplies power to the multimedia input circuit, and is used for the multimedia a second power supply that is powered by the output circuit transmits a shutdown enable signal such that the second power supply does not supply power to the multimedia output circuit;
  • the processing unit is configured to control the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, and specifically includes: the processing unit, configured to send a shutdown enable signal to the first power source, so that The first power source does not supply power to the multimedia input circuit, and sends an enable signal to the second power source to enable the second power source to supply power to the multimedia output circuit.
  • the multimedia device further includes a first switch
  • the multimedia input circuit and the multimedia output circuit are connected to the multimedia interface connector by the first switch, wherein the first pin, the second pin, and the third pin of the first switch Connected to the multimedia input circuit, the multimedia output circuit, and the multimedia interface connector, respectively;
  • the processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and control connection with the multimedia interface connector through the multimedia output circuit
  • the output channel is in an off state, and specifically includes: the processing order
  • the element is configured to control the first switch to turn on a line between the first pin and the third pin, and disconnect a line between the second pin and the third pin ;
  • the processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and the method further includes: the processing unit is configured to control the first switch to disconnect the first tube a line between the foot and the third pin and a line between the second pin and the third pin.
  • the multimedia device further includes a second switch
  • the multimedia input circuit and the multimedia output circuit are connected to the processing unit by the second switch, wherein the first pin, the second pin, and the third pin of the second switch respectively The multimedia input circuit, the multimedia output circuit and the processing unit are connected;
  • the processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and control connection with the multimedia interface connector through the multimedia output circuit
  • the output channel is in an off state
  • the method further includes: the processing unit is configured to control the second switch to turn on a line between the first pin and the third pin, and disconnect the first a line between the two pins and the third pin;
  • the processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and specifically, the processing unit is configured to control the switch to disconnect the first pin And a line between the third pin and a line between the second pin and the third pin.
  • a second aspect provides an access device detecting apparatus, where the detecting device includes: a detecting unit and a feeding chip, wherein the detecting unit includes a first detecting pin and a second detecting pin, wherein The first detecting pin and the feeding chip of the detecting unit are connected to the feeding pin of the multimedia interface connector to be detected, and the hot plug detecting pin of the multimedia interface connector to be detected and the detecting unit
  • the second detection pin is connected and grounded through a resistor;
  • the detecting unit is configured to pass through the control unit under the condition that the feeding pin is in a power-off state
  • the first detecting pin detects that the level of the feeding pin is high
  • determining that the device connected to the multimedia interface connector is an output device, when controlling the feeding pin to be in a charged state
  • the device connected to the multimedia interface connector is determined to be an input device when the level of the hot plug detection pin is detected to be a high level by the second detecting pin.
  • the detecting unit is specifically configured to:
  • Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level
  • the detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
  • the access device detecting apparatus further includes a first switch, the first switch is connected in series Between the feed pin and the feed chip;
  • the detecting unit is configured to control the feeding pin to be in a charged state, and specifically includes: the detecting unit, configured to control the first switch to be closed;
  • the detecting unit is configured to control the feeding pin to be in a power-off state, and specifically includes: the detecting unit, configured to control the first switch to be disconnected.
  • the detecting unit is configured to control the feeding pin to be in a charging state, and specifically includes: The detecting unit is configured to send an enable signal to the power feeding chip, so that the power feeding chip supplies power to the power feeding pin;
  • the detecting unit is configured to control the feeding pin to be in a power-off state, and specifically includes: the detecting unit, configured to send a shutdown enable signal to the feeding chip, so that the feeding chip is not in use The feed pin is powered.
  • a third aspect provides a method for implementing a multimedia interface configuration, where the method is applied to a multimedia device, where the multimedia device includes: a processing unit, a multimedia input circuit, a multimedia output circuit, and a multimedia interface connector, wherein the processing The unit is connected to the multimedia interface connector through the multimedia input circuit, and is connected to the multimedia interface connector through the multimedia output circuit; the method includes:
  • the processing unit controls the input channel connected to the multimedia interface connector through the multimedia input circuit to be turned on when determining that the multimedia input interface formed by the multimedia input circuit and the multimedia interface connector is to be used a state, and controlling an output channel connected to the multimedia interface connector through the multimedia output circuit to be in an off state, when determining a multimedia output interface to be used by the multimedia output circuit and the multimedia interface connector And controlling the output channel to be in an on state and controlling the input channel to be in an off state.
  • the method further includes: when the detecting unit detects that the device connected to the multimedia interface connector is an input device, determining that the multimedia input circuit is to be used And a multimedia input interface formed by the multimedia interface connector, when detecting that the device connected to the multimedia interface is an output device, determining a multimedia output interface to be used by using the multimedia output circuit and the multimedia interface connector.
  • the multimedia device further includes a first power feeding chip, the multimedia interface connector includes a feeding pin, and the hot plug Detecting a pin;
  • the processing unit includes a first detecting pin and a second detecting pin, and the feeding pin of the multimedia interface connector is respectively connected to the first detecting pin of the processing unit and the first feed
  • the electrical chip is connected, the hot plug detection pin of the multimedia interface connector and the second check of the processing unit
  • the test pins are connected and grounded through a first resistor; the method further includes:
  • the device Determining that the multimedia interface connector is connected when it is detected that the level of the feed pin is high by the first detection pin under the condition that the feed pin is in a power-off state.
  • the device is an output device, and when the level of the hot plug detection pin is detected as being high by the second detection pin under the condition that the feed pin is controlled to be in a charged state,
  • the device to which the multimedia interface connector is connected is an input device.
  • the detecting is performed by the first detecting pin when the power feeding pin is in a power-off state When the level of the feed pin is high, determining that the device connected to the multimedia interface connector is an output device, and passing the first condition while controlling the feed pin to be in a charged state When the detection pin detects that the level of the hot plug detection pin is high, determining that the device connected to the multimedia interface connector is an input device, specifically includes:
  • Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level
  • the detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
  • the multimedia device further includes a first switch, the first switch being connected in series with the feed tube Foot And the first feed chip;
  • the processing unit controls the feeding pin to be in a charged state, and specifically includes: the processing unit controls the first switch to be closed;
  • the processing unit controls the feeding pin to be in a power-off state, and specifically includes: the processing unit controls the first switch to be disconnected.
  • the multimedia device further includes a second power feeding chip and a second switch, where the hot plug The detecting pin is connected to the second feeding chip, and the second switch is connected in series between the hot plug detecting pin and the first resistor; the method further includes:
  • the processing unit controls the hot plug detection pin to be in a power off state and control the second switch to be in a closed state when detecting a level state of the hot plug detection pin and the feed pin And determining that the device connected to the multimedia interface connector is an input device, maintaining a power-off state of the hot-plug detection pin and maintaining a closed state of the second switch; determining the multimedia interface connector When the connected device is an output device, the hot plug detection pin is controlled to be in a powered state and the second switch is turned off.
  • any one of the first to fifth possible implementation manners of the third aspect in a sixth possible implementation manner,
  • the processing unit controls to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and to control an output connected to the multimedia interface connector through the multimedia output circuit
  • the channel is in an off state
  • the method includes: the processing unit controls the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state;
  • the processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the multimedia input circuit to be in a power off state, and the multimedia output circuit is powered status.
  • the multimedia device further includes a first power switch connected in series between a power source for powering the multimedia input circuit and the multimedia input circuit, and a power source and a serial connection for powering the multimedia output circuit a second power switch between the multimedia output circuits;
  • the processing unit controls the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state, specifically: the processing unit controls the first power switch to be closed and controls the second power switch to be turned off;
  • the processing unit controls the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, and specifically includes: the processing unit controls the first power switch to be turned off and the second power switch to be closed.
  • the multimedia device further includes a first switch
  • the multimedia input circuit and the multimedia output circuit are connected to the multimedia interface connector by the first switch, wherein the first pin, the second pin, and the third pin of the first switch Connected to the multimedia input circuit, the multimedia output circuit, and the multimedia interface connector, respectively;
  • the processing unit controls to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and to control an output connected to the multimedia interface connector through the multimedia output circuit
  • the channel is in an off state
  • the method includes: the processing unit controls the first switch to turn on a line between the first pin and the third pin, and disconnect the second pin and a line between the third pins;
  • the processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the first switch to disconnect the first pin and the a line between the third pins and a line between the second pin and the third pin.
  • the multimedia device further includes a second switch
  • the multimedia input circuit and the multimedia output circuit pass the second switch and the The processing unit is connected, wherein the first pin, the second pin, and the third pin of the second switch are respectively connected to the multimedia input circuit, the multimedia output circuit, and the processing unit;
  • the processing unit controls to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and to control an output connected to the multimedia interface connector through the multimedia output circuit
  • the channel is in an off state
  • the method further includes: the processing unit controls the second switch to turn on a line between the first pin and the third pin, and disconnect the second pin And a line between the third pin;
  • the processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the switch to disconnect the first pin and the first A line between the three pins and a line between the second pin and the third pin.
  • a fourth aspect provides a method for implementing detection of an access device, where the method is applied to an access device detecting device, where the detecting device includes: a detecting unit and a feeding chip, and the detecting unit includes the first a detecting pin and a second detecting pin, wherein the first detecting pin of the detecting unit and the feeding chip are both connected to a feeding pin of the multimedia interface connector to be detected, and the multimedia interface to be detected is connected
  • the hot plug detection pin of the device is connected to the second detecting pin of the detecting unit and grounded through a resistor; the method includes:
  • the device connected to the connector is an output device, and when the control pin is in a charged state, the level of the hot plug detection pin is detected as high by the second detecting pin.
  • the device to which the multimedia interface connector is connected is an input device.
  • the detecting by the first detecting pin, detecting the power of the feeding pin when controlling the feeding pin to be in a power-off state When the flat state is high level, determining that the device connected to the multimedia interface connector is an output device, and detecting the heat through the second detecting pin when controlling the feeding pin to be in a charged state When the level of the plug detection pin is high, it is determined that the device connected to the multimedia interface connector is Input devices, including:
  • Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level
  • the detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
  • the access device detecting apparatus further includes a first switch, the first switch is connected in series Between the feed pin and the feed chip;
  • the detecting unit controls the feeding pin to be in a charged state, and specifically includes: the detecting unit controls the first switch to be closed;
  • the detecting unit controls the feeding pin to be in a power-off state, and specifically includes: the detecting unit controls the first switch to be disconnected.
  • the detecting unit is configured to control the feeding pin to be in a charging state, specifically, the detecting unit is The power feeding chip sends an enable signal to enable the power feeding chip to supply power to the power feeding pin.
  • the detecting unit controls the powering pin to be in a power-off state, and specifically includes: the detecting unit The feed chip sends a shutdown enable signal such that the feed chip does not supply power to the feed pin.
  • an interface on the multimedia device can be used as an input interface or an output interface (that is, the interface is configured as an input interface or an output interface), and therefore, in a specific usage scenario, According to specific needs, one or some interfaces of the multimedia device are used as an input interface, and another interface or some interfaces are used as an output interface, thereby avoiding the phenomenon that the interface is insufficient and the interface is excessive, and the existing one is reduced. The problem of data transmission delay and interface resource waste in technology.
  • FIG. 1 is a schematic structural diagram of a multimedia device 100 according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic structural diagram of a multimedia device 100 according to an exemplary embodiment of Embodiment A of Embodiment 1 of the present invention
  • FIG. 4 is a schematic structural diagram of a multimedia device 100 according to Embodiment B of Embodiment 1 of the present invention.
  • FIG. 5 is a schematic structural diagram of a multimedia device 100 according to an exemplary embodiment of Embodiment N of Embodiment 1 of the present invention.
  • 6-1 and 6-2 are schematic flowcharts of a method for detecting a process performed by the processing unit 110 according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic structural diagram of a multimedia device 100 according to another exemplary embodiment of Embodiment N of Embodiment 1 of the present invention.
  • FIG. 8 is a schematic structural diagram of an access device detecting apparatus 200 according to Embodiment 2 of the present invention.
  • FIG. 1 is a schematic structural diagram of a multimedia device 100 according to Embodiment 1 of the present invention.
  • the multimedia device 100 includes a processing unit 110, a multimedia input circuit 120-1, a multimedia output circuit 120-2, and a multimedia interface connector 130.
  • the processing unit 110 is connected to the multimedia interface connector 130 through the multimedia input circuit 120-1, and is connected to the multimedia interface connector 130 through the multimedia output circuit 120-2.
  • the multimedia device 100 may specifically be a video conference terminal and a mixing console.
  • the multimedia input circuit 120-1 and the multimedia interface connector 130 constitute a multimedia input interface
  • the multimedia output circuit 120-2 and the multimedia interface connector 130 constitute a multimedia output interface
  • the multimedia input interface and/or the multimedia output interface may specifically be a High Definition Multimedia Interface (HDMI), a Digital Visual Interface (DVI), a Display Interface (DP), or the like. .
  • HDMI High Definition Multimedia Interface
  • DVI Digital Visual Interface
  • DP Display Interface
  • the multimedia input circuit 120-1 may be an ADV7441 chip.
  • the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 may be an HDMI interface or a DVI interface;
  • the multimedia output circuit 120-2 may For the SIi9136 chip, correspondingly, the multimedia output circuit 120-2 and the multimedia interface connector 130 constitute a multimedia output interface which may be an HDMI interface or a DVI interface.
  • the processing unit 110 is configured to control, when determining to use the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130, the input channel connected to the multimedia interface connector 130 through the multimedia input circuit 120-1 Turning on the state, and controlling the output channel connected to the multimedia interface connector 130 through the multimedia output circuit 120-2 to be in an off state, determining the multimedia output to be used by the multimedia output circuit 120-2 and the multimedia interface connector 130 In the interface, the output channel is controlled to be in an on state, and the input channel is controlled to be in an off state.
  • the processing unit 110 may receive multimedia data (such as video data) transmitted by the device connected to the multimedia interface connector 140 through the input channel. , audio data), not through the output
  • the device transmits multimedia data to the device connected to the multimedia interface connector 140, that is, the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 is in an available state, and the multimedia output circuit 120-2 and the multimedia interface connector 130 constitute The multimedia output interface is in an unavailable state.
  • the interface is configured as a multimedia input interface.
  • the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 is in an unavailable state
  • multimedia The multimedia output interface formed by the output circuit 120-2 and the multimedia interface connector 130 is in an available state.
  • the interface is configured as a multimedia output interface.
  • the multimedia device 100 often includes a plurality of interface connectors, each of which has a multimedia input circuit and a multimedia output circuit. According to the method of Embodiment 1 of the present invention, a certain or a certain These interfaces are configured as input or output interfaces.
  • the multimedia device 100 is a video conference terminal, and includes five interfaces. In a conference, four cameras and one display need to be connected, and four interfaces can be configured as an input interface, and the other interface is configured as an output. Interface: In another conference, you need to connect two cameras and two monitors. You can configure two of them as input interfaces and configure two interfaces as output interfaces. One interface does not need to be configured.
  • the processing unit 110 may be implemented by a processor, may be implemented by a peripheral circuit of the processor, or may be implemented by a combination of a processor and a peripheral circuit. If implemented by a processor, the processor, for executing computer operation instructions stored in a memory of the processor or multimedia device 100, performs the determining operation and the control operation described above.
  • an interface on the multimedia device 100 can be used as an input interface or an output interface (that is, the interface is configured as an input interface or an output interface), and therefore, in a specific usage scenario.
  • One or some interfaces of the multimedia device 100 can be used as an input interface according to specific needs, and another interface or some interfaces can be used as an output interface, thereby avoiding the phenomenon that the interface is insufficient and the interface is excessive.
  • Embodiments A and B The specific implementation manner in which the processing unit 110 controls the input channel and the output channel to be in an on/off state is described below by Embodiments A and B, respectively.
  • Embodiment A The processing unit 110 controls the input channel to be in an on state by controlling the multimedia input circuit 120-1 to be in a power supply state, and controls the output channel to be controlled by controlling the multimedia output circuit 120-2 to be in a power off state. Disconnected state. Similarly, controlling the input channel to be in an off state by controlling the multimedia input circuit 120-1 to be in a power-off state, and controlling the output channel to be in an on state by controlling the multimedia output circuit 120-2 to be in a power supply state.
  • FIG. 1 An example embodiment of an embodiment A is shown in FIG. 1
  • the multimedia device 100 further includes a power switch 140-1 connected in series between the power supply and multimedia input circuit 120-1 for powering the multimedia input circuit 120-1, and serially connected for use in multimedia.
  • the power switch 140-2 between the power source supplied by the output circuit 120-2 and the multimedia output circuit 120-2.
  • the power source for powering the multimedia input circuit 120-1 and the power source for powering the multimedia output circuit 120-2 may be the same power source or different power sources.
  • the processing unit 110 controls the power switch 140-1 to be closed, and controls the power switch 140-2 to be turned off.
  • the control power switch 140-1 is turned off, and the power switch 140-2 is controlled to be closed.
  • the processing unit 110 when determining the multimedia input interface formed using the multimedia input circuit 120-1 and the multimedia interface connector 130, the processing unit 110 supplies the power for the multimedia input circuit 120-1. a power transmission enable signal to cause the first power source to supply power to the multimedia input circuit 120-1, and to send a shutdown enable signal to the second power source for powering the multimedia output circuit 120-2 to enable the The two power supplies do not supply power to the multimedia output circuit 120-2.
  • the processing unit 110 sends a shutdown enable signal to the first power source, so that the first power source is not multimedia.
  • the input circuit 120-1 supplies power and transmits an enable signal to the second power source to cause the second power source to supply power to the multimedia output circuit 120-2.
  • Embodiment B Switching between the input circuit and the output circuit by a switch.
  • the multimedia device 100 further includes a switch 150; the multimedia input circuit 120-1 and the multimedia output circuit 120-2 are connected to the multimedia interface connector 130 through the switch 150, wherein the first pin of the switch 150 The second pin and the third pin are respectively connected to the multimedia input circuit 120-1, the multimedia output circuit 120-2, and the multimedia interface connector 130.
  • the processing unit 110 controls the switch 150 to turn on between the first pin and the third pin. Line and disconnect the line between the second pin and the third pin. Similarly, when determining to use the multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130, the processing unit 110 controls the switch 150 to disconnect between the first pin and the third pin. And connecting the line between the second pin and the third pin.
  • the multimedia device 100 may further include a switch 160; the multimedia input circuit 120-1 and the multimedia output circuit 120-2 are connected to the processing unit 110 through the switch 160, wherein the switch 160 is first The pin, the second pin, and the third pin are respectively connected to the multimedia input circuit 120-1, the multimedia output circuit 120-2, and the processing unit 110.
  • the processing unit 110 When determining that the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 is to be used, the processing unit 110 also controls the switch 160 to turn on the line between the first pin and the third pin. And disconnecting the line between the second pin and the third pin. Similarly, when determining to use the multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130, the processing unit 110 also controls the switch to disconnect the first pin and the third pin. Between the lines and the line between the second pin and the third pin.
  • the switch 150 and the switch 160 may specifically be a relay, a multi-channel signal switching chip, or the like.
  • the processing unit 110 may be specifically divided into a circuit control subunit and a multimedia processing subunit.
  • the input channel and the output channel are the multimedia
  • the transmission channel between the body processing unit and the multimedia interface connector 130 that is, the specific connection relationship, is that the multimedia processing unit is connected to the multimedia interface connector 130 through the multimedia input circuit 120-1, and passes through the multimedia output circuit 120-2.
  • the circuit control subunit is specifically configured to control the on and off of the input channel and the output channel, such as controlling the on and off of the power switch 140-1 and the power switch 140-2, and also for controlling the input to be turned on.
  • the multimedia processing subunit After the channel is disconnected from the output channel, the multimedia processing subunit is notified to use the multimedia input interface, and after the input channel is disconnected and the output channel is turned on, the multimedia processing subunit is notified that the multimedia processing subunit can The multimedia output interface is used.
  • the circuit control sub-unit may be implemented by a processor, may be implemented by a peripheral circuit of the processor, or may be implemented by a combination of a processor and a peripheral circuit.
  • the multimedia processing sub-unit can also be implemented in the above three forms. The manner implemented by the processor, in particular, is performed by the processor to perform a corresponding operation performed by the computer operation instruction stored in the memory of the processor or the multimedia device 100.
  • the processing unit 110 may determine, in various manners, that the multimedia input interface or the multimedia output interface is to be used.
  • the two methods of determining the manual setting and the automatic detecting are respectively introduced by the embodiment M and the embodiment N.
  • Embodiment M Manual setting mode.
  • the multimedia device 100 further includes a user operation interface unit.
  • the user operation interface unit is configured to provide a configuration interface for configuring a multimedia interface, and generate a user operation instruction according to a configuration operation of the user on the configuration interface, and send the user operation instruction to the processing unit 110.
  • the processing unit 110 parses the user operation instruction to determine a multimedia input interface to be used by the multimedia input circuit 120-1 and the multimedia interface connector 130 or to use A multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130.
  • the configuration interface may present an option to the user to configure a multimedia input interface or a multimedia output interface, and generate the user operation instruction according to the user's selection.
  • Embodiment N Automatic detection method.
  • the processing unit 110 determines that the multimedia input interface to be formed by using the multimedia input circuit 120-1 and the multimedia interface connector 130 is detected.
  • the multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130 is determined.
  • FIG. 1 An example embodiment of an embodiment N is shown in FIG. 1
  • the multimedia device 100 further includes a feed chip 170-1.
  • the multimedia interface connector 130 includes a feed pin and a hot plug detection pin.
  • the processing unit 110 includes a first detection pin and a second detection tube.
  • the feed pins of the multimedia interface connector 130 are respectively connected to the first detection pin of the processing unit 110 and the feed chip 170-1, and the hot plug detection (HPD) pin of the multimedia interface connector 130 is connected. It is connected to the second detecting pin of the processing unit 110 and is grounded through the first resistor.
  • the power feeding chip 170-1 is configured to supply power to the feeding pin.
  • the resistance value of the first resistor is preferably 500 ohms or more.
  • the processing unit 110 is specifically configured to determine the multimedia when the level of the feed pin is detected to be a high level by the first detection pin under the condition that the feed pin is controlled to be in a power-off state.
  • the device connected to the interface connector 130 is an output device.
  • the control pin is in a charged state
  • the level of the hot plug detection pin is detected by the second detection pin.
  • the level is high, it is determined that the device connected to the multimedia interface connector 130 is an input device.
  • processing unit 110 may be further configured to: when the control pin is in a power-off state, detecting that the level of the feed pin is a low level by using the first detection pin. And determining, by the second detecting pin, that the level state of the hot plug detecting pin is low when the feeding pin is in a charged state, determining that the multimedia interface connector 130 is not connected device.
  • the detecting function of the processing unit 110 is implemented by a processor, the first detecting pin and the second detecting pin are two input pins of the processor; and the detecting of the processing unit 110
  • the function may also be implemented by a peripheral circuit of the processor, and correspondingly, the first detection pin and the second detection pin are two pins of the peripheral circuit.
  • a detection process performed by the processing unit 110 is as shown in FIG. 6-1, and includes:
  • the processing unit 110 controls the feeding pin to be in a charged state.
  • the processing unit 110 detects a level state of the hot plug detection pin by using the second detection pin (S102), and detects that the level state of the hot plug detection pin is high. Usually, it is determined that the device connected to the multimedia interface connector 130 is an input device (S103), and when the level state of the hot plug detection pin is detected to be a low level, the feed pin is controlled to be in a power-off state ( S104) and execute S105.
  • the processing unit 110 detects a level state of the feed pin through the first detection pin (S105), and determines a multimedia interface when detecting that the level state of the feed pin is a high level
  • the device to which the connector 130 is connected is an output device (S106), and it is determined that the multimedia interface connector 130 is not connected to the device when it is detected that the level state of the feed pin is low (S107).
  • S101 is re-executed to start the next round of detection.
  • a detection process performed by the processing unit 110 is as shown in FIG. 6-2, and includes:
  • the processing unit 110 controls the feed pin to be in a power-off state.
  • the processing unit 110 detects a level state of the feed pin by the first detection pin detection (S202), and determines a multimedia when detecting that the level state of the feed pin is a high level.
  • the device to which the interface connector 130 is connected is an output device (S203), and when the level state of the feed pin is detected to be low, the feed pin is controlled to be in a charged state (S204) and S205 is executed.
  • the processing unit 110 detects a level state of the hot plug detection pin by using the second detection pin (S205), and detects that the level of the hot plug detection pin is high. Usually, it is determined that the device connected to the multimedia interface connector 130 is an input device (S206), and is detected When the level state of the hot plug detection pin is low, it is determined that the multimedia interface connector 130 is not connected to the device (S207).
  • S201 is re-executed to start the next round of detection.
  • the above detection process may be periodic until it is detected that the multimedia interface connector 130 is connected to the device. For example, after each execution of S107, S101 is started to start the next round of detection for a certain period of time (such as 1 second); for example, the feeding pin is controlled to be charged or at a certain time interval (such as 0.5 seconds).
  • the power-off state is performed, and a corresponding detection process is performed, for example, S101 is executed at 5th second, S104 is executed at 5.5th second, and S101 is executed at 6th second to start the next round of detection.
  • the processing unit 110 can control the charging/de-energizing state of the feeding pin by different methods.
  • the multimedia device 100 further includes a switch 180-1.
  • the switch 180-1 is serially connected between the feed pin and the feed chip 170-1.
  • the manner in which the feed pin is controlled to be in a charged state is that the control switch 180-1 is closed; and the manner in which the feed pin is controlled to be in a power-off state is that the control switch 180-1 is turned off.
  • the way to control the feed pin to be in a charged state is to send an enable signal to the feed chip 170-1, so that the feed chip 170-1 is the feed tube.
  • the power supply of the pin is controlled to send a power-off state to the power feeding chip 170-1 to send a shutdown enable signal, so that the power feeding chip 170-1 does not supply power to the power feeding pin.
  • the multimedia device 100 may further include a feed chip 170-2 and a switch 180-2, wherein the hot plug detection pin is connected to the feed chip 170-2, and the switch 180-2 Connected in series between the hot plug detection pin and the first resistor.
  • the processing unit 110 When detecting the level state of the hot plug detection pin and the feed pin, the processing unit 110 preferably controls the hot plug detection pin to be in a power off state during the entire detection process.
  • the control switch 180-2 is in a closed state.
  • the power-off state of the hot-plug detection pin is maintained and the closed state of the switch 180-2 is maintained; Controlling the hot plug when the device connected to the multimedia interface connector 130 is an output device Pull the detection pin to a live state and disconnect switch 180-2.
  • a second resistor may be connected in series between the hot plug detection pin and the feed chip 170-2, and the resistance of the second resistor is preferably 1000 ⁇ 10% ohm.
  • processing unit 110 can also control the charging/de-energizing state of the hot plug detection pin by different methods.
  • the multimedia device 100 further includes a switch 180-3 connected in series between the hot plug detection pin and the feed chip 170-2.
  • the manner in which the hot plug detection pin is controlled to be in a charged state is that the control switch 180-3 is closed; and the manner in which the hot plug detection pin is controlled to be in a power off state is that the control switch 180-3 is turned off.
  • controlling the hot plug detection pin to be in a charged state is to send an enable signal to the feed chip 170-2, so that the feed chip 170-2 is the heat. Plugging and detecting the pin power supply; controlling the hot plug detection pin to be in a power-off state, sending a shutdown enable signal to the feed chip 170-2, so that the feed chip 170-2 is not the heat The plug detection pin is powered.
  • the processing unit 110 can receive the multimedia data sent by the input device connected to the multimedia interface connector 140 through the input channel, and start to periodically detect the hot plug. Pulling out the level state of the detecting pin, when detecting that the level state of the hot plug detecting pin changes from a high level to a low level, determining that the input device is pulled out of the multimedia interface connector 130, restarting The above detection process.
  • the processing unit 110 can send multimedia data to the output device connected to the multimedia interface connector 140 through the output channel, and start to periodically detect the feed tube.
  • the level state of the foot eg, detected every 1 second
  • the processing unit 110 can send multimedia data to the output device connected to the multimedia interface connector 140 through the output channel, and start to periodically detect the feed tube.
  • the level state of the foot eg, detected every 1 second
  • the processing unit 110 can send multimedia data to the output device connected to the multimedia interface connector 140 through the output channel, and start to periodically detect the feed tube.
  • the level state of the foot eg, detected every 1 second
  • the processing unit 110 can send multimedia data to the output device connected to the multimedia interface connector 140 through the output channel, and start to periodically detect the feed tube.
  • the level state of the foot eg, detected every 1 second
  • the detection result obtained by the automatic detection mode is used to determine a multimedia input interface to be used by the multimedia input circuit 120-1 and the multimedia interface connector 130 or to use the multimedia output circuit 120-2 and A multimedia output interface formed by the multimedia interface connector 130.
  • the detection result can also be used to implement other functions, such as implementing the automatic detection function in a video terminal having an existing multimedia interface, and realizing a reminder that the input/output interface is mis-inserted.
  • the second embodiment of the present invention provides an access device detecting apparatus 200.
  • the access device detecting apparatus 200 includes: a detecting unit 210 and a feeding chip 220, and the detecting unit 210 includes a first detecting tube. And a second detecting pin, wherein the first detecting pin of the detecting unit and the feeding chip 220 are connected to the feeding pin of the multimedia interface connector to be detected, and the hot plug of the multimedia interface connector to be detected is detected.
  • the HotPlug Detection (HPD) pin is connected to the second detection pin of the detecting unit 210 and grounded through a resistor.
  • the resistance value of the resistor is preferably 500 ohms or more.
  • the detecting unit 210 may be implemented by a processor, where the first detecting pin and the second detecting pin are input pins of the processor; or may be implemented by a peripheral circuit, correspondingly The first detecting pin and the second detecting pin are input pins of a chip of the peripheral circuit.
  • the detection process performed by the detection unit 210 is similar to the detection process performed by the processing unit 110 of the embodiment 1 of the present invention, and details are not described herein again. It should be noted that, if the detecting unit 210 controls the charging/de-energizing state of the feeding pin by controlling the closing or opening of the switch, as shown in FIG. 8, the access device detecting device 200 further includes a switch 230, and the switch 230 Connected between the feed chip 220 and the feed pin.
  • the access device detecting apparatus 200 of the embodiment 2 of the present invention can implement the automatic detecting function in the multimedia device 100 of Embodiment 1 of the present invention.
  • the access device detecting device 200 can also be used to implement a reminder of an input/output interface mis-insertion in a video terminal having an existing multimedia interface.
  • the specific implementation manner may be that a reminder module is implemented in the video terminal, and the reminder module is connected to the detecting unit 210, and the feeding unit of the detecting unit 210 and the multimedia interface of the video terminal is hot-swapped.
  • the detecting pins are connected, and when the detecting unit 210 detects that the device connected to the multimedia interface connector of the video terminal is an input device or When the device is sent out, the detection result is sent to the reminding module, and the reminding module determines, according to the detection result, that the device connected to the multimedia input interface connector of the video terminal is an output device or the video terminal When the device connected to the multimedia output interface connector is an input device, the user is reminded, such as playing a reminder audio.
  • the access device detecting apparatus 200 provided in Embodiment 2 of the present invention can be applied to the multimedia device 100 provided by Embodiment 1 of the present invention, and provides the access device detecting function for the multimedia device 100, so that the multimedia device 100 is based on the type of the access device.
  • the interface is used as an input interface or an output interface, so that the phenomenon that the interface is insufficient and the interface is excessive can be avoided, and the problem of data transmission delay and interface resource waste existing in the prior art is reduced. .
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

Provided are a method and apparatus for achieving multimedia interface configuration. The apparatus comprises: a processing unit, a multimedia input circuit, a multimedia output circuit and a multimedia interface connector. When it is determined that the multimedia input interface needs to be used, the processing unit controls an input channel connected to the multimedia interface connector via the multimedia input circuit to be in a switched-on state, and controls an output channel connected to the multimedia interface connector via the multimedia output circuit to be in a switched-off state. When it is determined that the multimedia output interface needs to be used, the processing unit controls the output channel to be in a switched-on state and controls the input channel to be in a switched-off state. Therefore, a certain interface can be used as an input interface or an output interface as needed, such that the phenomenon of co-existence of interface insufficiency and interface excess is avoided, thereby reducing the problems of data transmission delay and interface resource wastage in the prior art.

Description

一种实现多媒体接口配置的方法和装置Method and device for realizing multimedia interface configuration 技术领域Technical field
本发明涉及计算机技术领域,特别涉及一种实现多媒体接口配置的方法和装置。The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for implementing a multimedia interface configuration.
背景技术Background technique
目前,各种多媒体设备的性能越来越强大,在不同的场景下,可以同时接多个输入设备或多个输出设备。如视频会议终端,在较大的会场中,有时会存在需要将多个输入设备(如摄像头)通过视频会议终端的输入接口输入到视频会议终端的场景,有时也会存在需要通过视频会议终端的输出接口将视频会议终端同时接到多个输出设备(如显示器)的场景。At present, the performance of various multimedia devices is becoming more and more powerful. In different scenarios, multiple input devices or multiple output devices can be connected at the same time. For example, in a large conference site, there are occasions where multiple input devices (such as cameras) need to be input to the video conference terminal through the input interface of the video conference terminal, and sometimes there is a need to pass the video conference terminal. The output interface connects the video conferencing terminal to multiple output devices (such as a display) simultaneously.
受接口面板大小的限制,输入接口和输出接口的数量是有限的。在前面两种场景下,往往存在输入(或输出)接口不足、输出(或输入)接口过剩两种情况并存的现象。对于接口不足的情况,一般是利用视音频矩阵等方式实现多个设备共用有限的接口,存在共用接口导致的数据传输延时的问题;而对于接口过剩的情况,则存在接口资源浪费的问题。Due to the size of the interface panel, the number of input and output interfaces is limited. In the previous two scenarios, there are often two cases where the input (or output) interface is insufficient and the output (or input) interface is excessive. In the case of insufficient interfaces, it is generally possible to use a video and audio matrix to implement a limited interface for multiple devices, and there is a problem of data transmission delay caused by a shared interface. However, for an interface with excess interface, there is a problem of wasted interface resources.
发明内容Summary of the invention
本发明提供了一种实现多媒体接口配置的方法和装置,减少了现有技术中存在的数据传输延时和接口资源浪费的问题。The present invention provides a method and apparatus for implementing a multimedia interface configuration, which reduces the problem of data transmission delay and interface resource waste existing in the prior art.
第一方面,提供了一种多媒体设备,所述多媒体设备包括:In a first aspect, a multimedia device is provided, the multimedia device comprising:
处理单元、多媒体输入电路、多媒体输出电路和多媒体接口连接器,其中,所述处理单元通过所述多媒体输入电路与所述多媒体接口连接器相连,并通过所述多媒体输出电路与所述多媒体接口连接器相连;a processing unit, a multimedia input circuit, a multimedia output circuit, and a multimedia interface connector, wherein the processing unit is connected to the multimedia interface connector through the multimedia input circuit, and is connected to the multimedia interface through the multimedia output circuit Connected
所述处理单元,用于在确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口时,控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,在确定要使用 所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口时,控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态。The processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit when determining a multimedia input interface to be used by the multimedia input circuit and the multimedia interface connector An output channel that is in an on state and controls connection with the multimedia interface connector through the multimedia output circuit is in an off state, and is determined to be used When the multimedia output circuit and the multimedia interface connector form a multimedia output interface, the output channel is controlled to be in an on state, and the input channel is controlled to be in an off state.
在第一方面的第一种可能的实现方式中,所述处理单元,具体用于在检测到所述多媒体接口连接器所连接的设备为输入设备时,确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口,在检测到所述多媒体接口连接的设备为输出设备时,确定要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口。In a first possible implementation manner of the first aspect, the processing unit is specifically configured to: when detecting that the device connected to the multimedia interface connector is an input device, determine to use the multimedia input circuit and the The multimedia input interface formed by the multimedia interface connector determines a multimedia output interface formed by using the multimedia output circuit and the multimedia interface connector when detecting that the device connected to the multimedia interface is an output device.
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述多媒体设备还包括第一馈电芯片;所述多媒体接口连接器包括馈电管脚、热插拔检测管脚;所述处理单元包括第一检测管脚和第二检测管脚;With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the multimedia device further includes a first power feeding chip; the multimedia interface connector includes a feeding pin and hot plugging Detecting a pin; the processing unit includes a first detecting pin and a second detecting pin;
所述多媒体接口连接器的馈电管脚分别与所述处理单元的第一检测管脚和所述第一馈电芯片相连,a feeding pin of the multimedia interface connector is respectively connected to the first detecting pin of the processing unit and the first feeding chip,
所述多媒体接口连接器的热插拔检测管脚与所述处理单元的第二检测管脚相连,并且通过第一电阻接地;The hot plug detection pin of the multimedia interface connector is connected to the second detection pin of the processing unit, and is grounded through the first resistor;
所述处理单元具体用于,当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。The processing unit is specifically configured to: when the level of the feed pin is detected as being high by the first detection pin under the condition that the feed pin is controlled to be in a power-off state, The device connected to the multimedia interface connector is an output device, and the level of the hot plug detection pin is detected by the second detecting pin when the feeding pin is controlled to be in a charged state. When the state is high, it is determined that the device connected to the multimedia interface connector is an input device.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述处理单元具体用于:In conjunction with the second possible implementation of the first aspect, in a third possible implementation, the processing unit is specifically configured to:
控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔 检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is When the level is high, determining that the device connected to the multimedia interface connector is an input device, and detecting the hot plugging Controlling that the feed pin is turned off when the level state of the pin is low, and detecting the level state of the feed pin by the first detection pin, when the feed is detected Determining that the device connected to the multimedia interface connector is an output device when the level of the power pin is high; or
控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
结合第一方面的第二种或第三种可能的实现方式,在第四种可能的实现方式中,所述多媒体设备还包括第一开关,所述第一开关串接在所述馈电管脚和所述第一馈电芯片之间;In conjunction with the second or third possible implementation of the first aspect, in a fourth possible implementation, the multimedia device further includes a first switch, the first switch being serially connected to the feed tube Between the foot and the first feed chip;
所述处理单元用于控制所述馈电管脚处于带电状态,具体包括:所述处理单元,用于控制所述第一开关闭合;The processing unit is configured to control the feeding pin to be in a charged state, and specifically includes: the processing unit, configured to control the first switch to be closed;
所述处理单元用于控制所述馈电管脚处于断电状态,具体包括:所述处理单元,用于控制所述第一开关断开。The processing unit is configured to control the powering pin to be in a power-off state, and specifically includes: the processing unit, configured to control the first switch to be disconnected.
结合第一方面的第二种或第三种可能的实现方式,在第五种可能的实现方式中,所述处理单元用于控制所述馈电管脚处于带电状态,具体包括:所述处理单元,用于向所述第一馈电芯片发送使能信号,以使所述第一馈电芯片为所述馈电管脚供电;所述处理单元用于控制所述馈电管脚处于断电状态,具体包括:所述处理单元,用于向所述第一馈电芯片发送关闭使能信号,以使所述第一馈电芯片不为所述馈电管脚供电。With reference to the second or third possible implementation manner of the first aspect, in a fifth possible implementation, the processing unit is configured to control the feeding pin to be in a charging state, specifically: the processing a unit, configured to send an enable signal to the first feed chip, so that the first feed chip supplies power to the feed pin; and the processing unit is configured to control the feed pin to be off The electrical state includes: the processing unit, configured to send a shutdown enable signal to the first feed chip, so that the first feed chip does not supply power to the feed pin.
结合第一方面的第二种至第五种任一可能的实现方式,在第六种可能的实现方式中,所述多媒体设备还包括第二馈电芯片和第二开关,其中,所述热插拔检测管脚与所述第二馈电芯片相连,所述第二开关串接在所述热插拔检测管脚和所述第一电阻之间; With reference to any one of the second to fifth possible implementations of the first aspect, in a sixth possible implementation, the multimedia device further includes a second power feeding chip and a second switch, wherein the heat The plug detection pin is connected to the second feed chip, and the second switch is connected in series between the hot plug detection pin and the first resistor;
所述处理单元,还用于在检测所述热插拔检测管脚和所述馈电管脚的电平状态时,控制所述热插拔检测管脚处于断电状态并控制所述第二开关处于闭合状态,在确定所述多媒体接口连接器所连接的设备为输入设备时,保持所述热插拔检测管脚的断电状态并保持所述第二开关的闭合状态;在确定所述多媒体接口连接器所连接的设备为输出设备时,控制所述热插拔检测管脚处于带电状态并断开所述第二开关。The processing unit is further configured to: when detecting a level state of the hot plug detection pin and the feed pin, control the hot plug detection pin to be in a power off state and control the second The switch is in a closed state, and when it is determined that the device connected to the multimedia interface connector is an input device, maintaining a power-off state of the hot-plug detection pin and maintaining a closed state of the second switch; When the device connected to the multimedia interface connector is an output device, the hot plug detection pin is controlled to be in a powered state and the second switch is turned off.
在第一方面的第七种可能的实现方式中,所述多媒体设备还包括用户操作接口单元;In a seventh possible implementation manner of the first aspect, the multimedia device further includes a user operation interface unit;
所述用户操作接口单元,用于提供用于配置多媒体接口的配置界面,并根据用户在所述配置界面上的配置操作生成用户操作指令,并将所述用户操作指令发送给所述处理单元;The user operation interface unit is configured to provide a configuration interface for configuring a multimedia interface, and generate a user operation instruction according to a configuration operation of the user on the configuration interface, and send the user operation instruction to the processing unit;
所述处理单元,具体用于对所述用户操作指令进行解析以确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口或要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口。The processing unit is specifically configured to parse the user operation instruction to determine a multimedia input interface to be used by using the multimedia input circuit and the multimedia interface connector or to use the multimedia output circuit and the multimedia interface A multimedia output interface formed by a connector.
结合第一方面、第一方面的第一种至第七种任一可能的实现方式,在第八种可能的实现方式中,所述处理单元用于控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单元用于控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态;With reference to the first aspect, any one of the first to seventh possible implementations of the first aspect, in an eighth possible implementation, the processing unit is configured to control a pass with the multimedia interface connector The input channel connected to the multimedia input circuit is in an on state, and controls an output channel connected to the multimedia interface connector through the multimedia output circuit to be in an off state, and specifically includes: the processing unit is configured to control The multimedia input circuit is in a power supply state, and the multimedia output circuit is in a power off state;
所述处理单元用于控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元用于控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态。The processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and specifically, the processing unit is configured to control the multimedia input circuit to be in a power off state, and the multimedia The output circuit is in a power supply state.
结合第一方面的第八种可能的实现方式,在第九种可能的实现方式中,所述多媒体设备还包括串接在用于为所述多媒体输入电路供电的电源和所述多媒体输入电路之间的第一电源开关、以及串接在用于为所述多媒体输出电路供 电的电源和所述多媒体输出电路之间的第二电源开关;In conjunction with the eighth possible implementation of the first aspect, in a ninth possible implementation, the multimedia device further includes a power supply serially connected to the multimedia input circuit and the multimedia input circuit a first power switch, and a serial connection for providing the multimedia output circuit a second power switch between the electrical power source and the multimedia output circuit;
所述处理单元用于控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态,具体包括:所述处理单元用于控制所述第一电源开关闭合且控制所述第二电源开关断开;The processing unit is configured to control the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state, specifically, the processing unit is configured to control the first power switch to be closed and control the second power source The switch is turned off;
所述处理单元用于控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态,具体包括:所述处理单元用于控制所述第一电源开关断开且控制所述第二电源开关闭合。The processing unit is configured to control the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, specifically, the processing unit is configured to control the first power switch to be turned off and control the second The power switch is closed.
结合第一方面的第八种可能的实现方式,在第十种可能的实现方式中,所述处理单元用于控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态,具体包括:所述处理单元,用于向用于为所述多媒体输入电路供电的第一电源发送使能信号,以使所述第一电源为所述多媒体输入电路供电,向用于为所述多媒体输出电路供电的第二电源发送关闭使能信号,以使所述第二电源不为所述多媒体输出电路供电;With reference to the eighth possible implementation manner of the first aspect, in a tenth possible implementation, the processing unit is configured to control that the multimedia input circuit is in a power supply state, and the multimedia output circuit is in a power-off state, specifically The processing unit is configured to send an enable signal to a first power source for powering the multimedia input circuit, so that the first power source supplies power to the multimedia input circuit, and is used for the multimedia a second power supply that is powered by the output circuit transmits a shutdown enable signal such that the second power supply does not supply power to the multimedia output circuit;
所述处理单元用于控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态,具体包括:所述处理单元,用于向所述第一电源发送关闭使能信号,以使所述第一电源不为所述多媒体输入电路供电,向所述第二电源发送使能信号,以使所述第二电源为所述多媒体输出电路供电。The processing unit is configured to control the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, and specifically includes: the processing unit, configured to send a shutdown enable signal to the first power source, so that The first power source does not supply power to the multimedia input circuit, and sends an enable signal to the second power source to enable the second power source to supply power to the multimedia output circuit.
结合第一方面、第一方面的第一种至第七种任一可能的实现方式,在第十一种可能的实现方式中,所述多媒体设备还包括第一切换器;With reference to the first aspect, any one of the first to seventh possible implementations of the first aspect, in the eleventh possible implementation, the multimedia device further includes a first switch;
所述多媒体输入电路和所述多媒体输出电路通过所述第一切换器与所述多媒体接口连接器相连,其中,所述第一切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述多媒体接口连接器相连;The multimedia input circuit and the multimedia output circuit are connected to the multimedia interface connector by the first switch, wherein the first pin, the second pin, and the third pin of the first switch Connected to the multimedia input circuit, the multimedia output circuit, and the multimedia interface connector, respectively;
所述处理单元用于控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单 元用于控制所述第一切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and control connection with the multimedia interface connector through the multimedia output circuit The output channel is in an off state, and specifically includes: the processing order The element is configured to control the first switch to turn on a line between the first pin and the third pin, and disconnect a line between the second pin and the third pin ;
所述处理单元用于控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元用于控制所述第一切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and the method further includes: the processing unit is configured to control the first switch to disconnect the first tube a line between the foot and the third pin and a line between the second pin and the third pin.
结合第一方面的第十一种可能的实现方式,在第十二种可能的实现方式中,所述多媒体设备还包括第二切换器;With reference to the eleventh possible implementation of the first aspect, in a twelfth possible implementation, the multimedia device further includes a second switch;
所述多媒体输入电路和所述多媒体输出电路通过所述第二切换器与所述处理单元相连,其中,所述第二切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述处理单元相连;The multimedia input circuit and the multimedia output circuit are connected to the processing unit by the second switch, wherein the first pin, the second pin, and the third pin of the second switch respectively The multimedia input circuit, the multimedia output circuit and the processing unit are connected;
所述处理单元用于控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体还包括:所述处理单元用于控制所述第二切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and control connection with the multimedia interface connector through the multimedia output circuit The output channel is in an off state, and the method further includes: the processing unit is configured to control the second switch to turn on a line between the first pin and the third pin, and disconnect the first a line between the two pins and the third pin;
所述处理单元用于控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体还包括:所述处理单元用于控制所述切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and specifically, the processing unit is configured to control the switch to disconnect the first pin And a line between the third pin and a line between the second pin and the third pin.
第二方面,提供了一种接入设备检测装置,所述接入设备检测装置包括:检测单元和馈电芯片,所述检测单元包括第一检测管脚和第二检测管脚,其中,所述检测单元的第一检测管脚和所述馈电芯片均与待检测多媒体接口连接器的馈电管脚相连,所述待检测多媒体接口连接器的热插拔检测管脚与所述检测单元的第二检测管脚相连并通过电阻接地;A second aspect provides an access device detecting apparatus, where the detecting device includes: a detecting unit and a feeding chip, wherein the detecting unit includes a first detecting pin and a second detecting pin, wherein The first detecting pin and the feeding chip of the detecting unit are connected to the feeding pin of the multimedia interface connector to be detected, and the hot plug detecting pin of the multimedia interface connector to be detected and the detecting unit The second detection pin is connected and grounded through a resistor;
所述检测单元,用于当在控制所述馈电管脚处于断电状态的条件下通过所 述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。The detecting unit is configured to pass through the control unit under the condition that the feeding pin is in a power-off state When the first detecting pin detects that the level of the feeding pin is high, determining that the device connected to the multimedia interface connector is an output device, when controlling the feeding pin to be in a charged state The device connected to the multimedia interface connector is determined to be an input device when the level of the hot plug detection pin is detected to be a high level by the second detecting pin.
在第二方面的第一种可能的实现方式中,所述检测单元具体用于:In a first possible implementation manner of the second aspect, the detecting unit is specifically configured to:
控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is Determining, when the level is high, determining that the device connected to the multimedia interface connector is an input device, and controlling the feed pin to be powered off when detecting that the level state of the hot plug detection pin is low And detecting, by the first detecting pin, a level state of the feeding pin, and determining that the device connected to the multimedia interface connector is when detecting that the level state of the feeding pin is a high level Output device; or,
控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述接入设备检测装置还包括第一开关,所述第一开关串接在所述馈电管脚和所述馈电芯片之间;With the second aspect or the first possible implementation of the second aspect, in a second possible implementation, the access device detecting apparatus further includes a first switch, the first switch is connected in series Between the feed pin and the feed chip;
所述检测单元用于控制所述馈电管脚处于带电状态,具体包括:所述检测单元,用于控制所述第一开关闭合;The detecting unit is configured to control the feeding pin to be in a charged state, and specifically includes: the detecting unit, configured to control the first switch to be closed;
所述检测单元用于控制所述馈电管脚处于断电状态,具体包括:所述检测单元,用于控制所述第一开关断开。The detecting unit is configured to control the feeding pin to be in a power-off state, and specifically includes: the detecting unit, configured to control the first switch to be disconnected.
结合第二方面或第二方面的第一种可能的实现方式,在第三种可能的实现方式中,所述检测单元用于控制所述馈电管脚处于带电状态,具体包括:所 述检测单元,用于向所述馈电芯片发送使能信号,以使所述馈电芯片为所述馈电管脚供电;With reference to the second aspect, or the first possible implementation manner of the second aspect, in a third possible implementation, the detecting unit is configured to control the feeding pin to be in a charging state, and specifically includes: The detecting unit is configured to send an enable signal to the power feeding chip, so that the power feeding chip supplies power to the power feeding pin;
所述检测单元用于控制所述馈电管脚处于断电状态,具体包括:所述检测单元,用于向所述馈电芯片发送关闭使能信号,以使所述馈电芯片不为所述馈电管脚供电。The detecting unit is configured to control the feeding pin to be in a power-off state, and specifically includes: the detecting unit, configured to send a shutdown enable signal to the feeding chip, so that the feeding chip is not in use The feed pin is powered.
第三方面,提供了一种实现多媒体接口配置的方法,所述方法应用于多媒体设备,所述多媒体设备包括:处理单元、多媒体输入电路、多媒体输出电路和多媒体接口连接器,其中,所述处理单元通过所述多媒体输入电路与所述多媒体接口连接器相连,并通过所述多媒体输出电路与所述多媒体接口连接器相连;所述方法包括:A third aspect provides a method for implementing a multimedia interface configuration, where the method is applied to a multimedia device, where the multimedia device includes: a processing unit, a multimedia input circuit, a multimedia output circuit, and a multimedia interface connector, wherein the processing The unit is connected to the multimedia interface connector through the multimedia input circuit, and is connected to the multimedia interface connector through the multimedia output circuit; the method includes:
所述处理单元在确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口时,控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,在确定要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口时,控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态。The processing unit controls the input channel connected to the multimedia interface connector through the multimedia input circuit to be turned on when determining that the multimedia input interface formed by the multimedia input circuit and the multimedia interface connector is to be used a state, and controlling an output channel connected to the multimedia interface connector through the multimedia output circuit to be in an off state, when determining a multimedia output interface to be used by the multimedia output circuit and the multimedia interface connector And controlling the output channel to be in an on state and controlling the input channel to be in an off state.
在第三方面的第一种可能的实现方式中,所述方法还包括,所述处理单元在检测到所述多媒体接口连接器所连接的设备为输入设备时,确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口,在检测到所述多媒体接口连接的设备为输出设备时,确定要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口。In a first possible implementation manner of the third aspect, the method further includes: when the detecting unit detects that the device connected to the multimedia interface connector is an input device, determining that the multimedia input circuit is to be used And a multimedia input interface formed by the multimedia interface connector, when detecting that the device connected to the multimedia interface is an output device, determining a multimedia output interface to be used by using the multimedia output circuit and the multimedia interface connector.
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述多媒体设备还包括第一馈电芯片,所述多媒体接口连接器包括馈电管脚、热插拔检测管脚;所述处理单元包括第一检测管脚和第二检测管脚,所述多媒体接口连接器的馈电管脚分别与所述处理单元的第一检测管脚和所述第一馈电芯片相连,所述多媒体接口连接器的热插拔检测管脚与所述处理单元的第二检 测管脚相连,并且通过第一电阻接地;所述方法还包括:With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the multimedia device further includes a first power feeding chip, the multimedia interface connector includes a feeding pin, and the hot plug Detecting a pin; the processing unit includes a first detecting pin and a second detecting pin, and the feeding pin of the multimedia interface connector is respectively connected to the first detecting pin of the processing unit and the first feed The electrical chip is connected, the hot plug detection pin of the multimedia interface connector and the second check of the processing unit The test pins are connected and grounded through a first resistor; the method further includes:
当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。Determining that the multimedia interface connector is connected when it is detected that the level of the feed pin is high by the first detection pin under the condition that the feed pin is in a power-off state. The device is an output device, and when the level of the hot plug detection pin is detected as being high by the second detection pin under the condition that the feed pin is controlled to be in a charged state, The device to which the multimedia interface connector is connected is an input device.
结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,所述当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备,具体包括:In conjunction with the second possible implementation of the third aspect, in a third possible implementation, the detecting is performed by the first detecting pin when the power feeding pin is in a power-off state When the level of the feed pin is high, determining that the device connected to the multimedia interface connector is an output device, and passing the first condition while controlling the feed pin to be in a charged state When the detection pin detects that the level of the hot plug detection pin is high, determining that the device connected to the multimedia interface connector is an input device, specifically includes:
控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is Determining, when the level is high, determining that the device connected to the multimedia interface connector is an input device, and controlling the feed pin to be powered off when detecting that the level state of the hot plug detection pin is low And detecting, by the first detecting pin, a level state of the feeding pin, and determining that the device connected to the multimedia interface connector is when detecting that the level state of the feeding pin is a high level Output device; or,
控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
结合第三方面的第二种或第三种可能的实现方式,在第四种可能的实现方式中,所述多媒体设备还包括第一开关,所述第一开关串接在所述馈电管脚 和所述第一馈电芯片之间;In conjunction with the second or third possible implementation of the third aspect, in a fourth possible implementation, the multimedia device further includes a first switch, the first switch being connected in series with the feed tube Foot And the first feed chip;
所述处理单元控制所述馈电管脚处于带电状态,具体包括:所述处理单元控制所述第一开关闭合;The processing unit controls the feeding pin to be in a charged state, and specifically includes: the processing unit controls the first switch to be closed;
所述处理单元控制所述馈电管脚处于断电状态,具体包括:所述处理单元控制所述第一开关断开。The processing unit controls the feeding pin to be in a power-off state, and specifically includes: the processing unit controls the first switch to be disconnected.
结合第三方面的第二种或第三种可能的实现方式,在第五种可能的实现方式中,所述多媒体设备还包括第二馈电芯片和第二开关,其中,所述热插拔检测管脚与所述第二馈电芯片相连,所述第二开关串接在所述热插拔检测管脚和所述第一电阻之间;所述方法还包括:In conjunction with the second or third possible implementation of the third aspect, in a fifth possible implementation, the multimedia device further includes a second power feeding chip and a second switch, where the hot plug The detecting pin is connected to the second feeding chip, and the second switch is connected in series between the hot plug detecting pin and the first resistor; the method further includes:
所述处理单元在检测所述热插拔检测管脚和所述馈电管脚的电平状态时,控制所述热插拔检测管脚处于断电状态并控制所述第二开关处于闭合状态,在确定所述多媒体接口连接器所连接的设备为输入设备时,保持所述热插拔检测管脚的断电状态并保持所述第二开关的闭合状态;在确定所述多媒体接口连接器所连接的设备为输出设备时,控制所述热插拔检测管脚处于带电状态并断开所述第二开关。The processing unit controls the hot plug detection pin to be in a power off state and control the second switch to be in a closed state when detecting a level state of the hot plug detection pin and the feed pin And determining that the device connected to the multimedia interface connector is an input device, maintaining a power-off state of the hot-plug detection pin and maintaining a closed state of the second switch; determining the multimedia interface connector When the connected device is an output device, the hot plug detection pin is controlled to be in a powered state and the second switch is turned off.
结合第三方面、第三方面的第一种至第五种任一可能的实现方式,在第六种可能的实现方式中,With reference to the third aspect, any one of the first to fifth possible implementation manners of the third aspect, in a sixth possible implementation manner,
所述处理单元控制控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单元控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态;The processing unit controls to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and to control an output connected to the multimedia interface connector through the multimedia output circuit The channel is in an off state, and the method includes: the processing unit controls the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state;
所述处理单元控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态。The processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the multimedia input circuit to be in a power off state, and the multimedia output circuit is powered status.
结合第三方面的第六种可能的实现方式,在第七种可能的实现方式中,所 述多媒体设备还包括串接在用于为所述多媒体输入电路供电的电源和所述多媒体输入电路之间的第一电源开关、以及串接在用于为所述多媒体输出电路供电的电源和所述多媒体输出电路之间的第二电源开关;In conjunction with the sixth possible implementation of the third aspect, in a seventh possible implementation, The multimedia device further includes a first power switch connected in series between a power source for powering the multimedia input circuit and the multimedia input circuit, and a power source and a serial connection for powering the multimedia output circuit a second power switch between the multimedia output circuits;
所述处理单元控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态,具体包括:所述处理单元控制所述第一电源开关闭合且控制所述第二电源开关断开;The processing unit controls the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state, specifically: the processing unit controls the first power switch to be closed and controls the second power switch to be turned off;
所述处理单元控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态,具体包括:所述处理单元控制所述第一电源开关断开且控制所述第二电源开关闭合。The processing unit controls the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, and specifically includes: the processing unit controls the first power switch to be turned off and the second power switch to be closed.
结合第三方面、第三方面的第一种至第五种任一可能的实现方式,在第八种可能的实现方式中,所述多媒体设备还包括第一切换器;With reference to the third aspect, any one of the first to fifth possible implementation manners of the third aspect, in the eighth possible implementation, the multimedia device further includes a first switch;
所述多媒体输入电路和所述多媒体输出电路通过所述第一切换器与所述多媒体接口连接器相连,其中,所述第一切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述多媒体接口连接器相连;The multimedia input circuit and the multimedia output circuit are connected to the multimedia interface connector by the first switch, wherein the first pin, the second pin, and the third pin of the first switch Connected to the multimedia input circuit, the multimedia output circuit, and the multimedia interface connector, respectively;
所述处理单元控制控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单元控制所述第一切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit controls to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and to control an output connected to the multimedia interface connector through the multimedia output circuit The channel is in an off state, and the method includes: the processing unit controls the first switch to turn on a line between the first pin and the third pin, and disconnect the second pin and a line between the third pins;
所述处理单元控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元控制所述第一切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the first switch to disconnect the first pin and the a line between the third pins and a line between the second pin and the third pin.
结合第三方面的第八种可能的实现方式,在第九种可能的实现方式中,所述多媒体设备还包括第二切换器;In conjunction with the eighth possible implementation of the third aspect, in a ninth possible implementation, the multimedia device further includes a second switch;
所述多媒体输入电路和所述多媒体输出电路通过所述第二切换器与所述 处理单元相连,其中,所述第二切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述处理单元相连;The multimedia input circuit and the multimedia output circuit pass the second switch and the The processing unit is connected, wherein the first pin, the second pin, and the third pin of the second switch are respectively connected to the multimedia input circuit, the multimedia output circuit, and the processing unit;
所述处理单元控制控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体还包括:所述处理单元控制所述第二切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit controls to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and to control an output connected to the multimedia interface connector through the multimedia output circuit The channel is in an off state, and the method further includes: the processing unit controls the second switch to turn on a line between the first pin and the third pin, and disconnect the second pin And a line between the third pin;
所述处理单元控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体还包括:所述处理单元控制所述切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the switch to disconnect the first pin and the first A line between the three pins and a line between the second pin and the third pin.
第四方面,提供了一种实现接入设备检测的方法,所述方法应用于接入设备检测装置,所述接入设备检测装置包括:检测单元和馈电芯片,所述检测单元包括第一检测管脚和第二检测管脚,其中,所述检测单元的第一检测管脚和所述馈电芯片均与待检测多媒体接口连接器的馈电管脚相连,所述待检测多媒体接口连接器的热插拔检测管脚与所述检测单元的第二检测管脚相连并通过电阻接地;所述方法包括:A fourth aspect provides a method for implementing detection of an access device, where the method is applied to an access device detecting device, where the detecting device includes: a detecting unit and a feeding chip, and the detecting unit includes the first a detecting pin and a second detecting pin, wherein the first detecting pin of the detecting unit and the feeding chip are both connected to a feeding pin of the multimedia interface connector to be detected, and the multimedia interface to be detected is connected The hot plug detection pin of the device is connected to the second detecting pin of the detecting unit and grounded through a resistor; the method includes:
所述检测单元当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。Determining, by the detecting unit, when the level of the feeding pin is high by the first detecting pin under the condition that the feeding pin is in a power-off state, determining the multimedia interface The device connected to the connector is an output device, and when the control pin is in a charged state, the level of the hot plug detection pin is detected as high by the second detecting pin. Usually, it is determined that the device to which the multimedia interface connector is connected is an input device.
在第四方面的第一种可能的实现方式中,所述当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为 输入设备,具体包括:In a first possible implementation manner of the fourth aspect, the detecting, by the first detecting pin, detecting the power of the feeding pin when controlling the feeding pin to be in a power-off state When the flat state is high level, determining that the device connected to the multimedia interface connector is an output device, and detecting the heat through the second detecting pin when controlling the feeding pin to be in a charged state When the level of the plug detection pin is high, it is determined that the device connected to the multimedia interface connector is Input devices, including:
控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is Determining, when the level is high, determining that the device connected to the multimedia interface connector is an input device, and controlling the feed pin to be powered off when detecting that the level state of the hot plug detection pin is low And detecting, by the first detecting pin, a level state of the feeding pin, and determining that the device connected to the multimedia interface connector is when detecting that the level state of the feeding pin is a high level Output device; or,
控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述接入设备检测装置还包括第一开关,所述第一开关串接在所述馈电管脚和所述馈电芯片之间;With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation, the access device detecting apparatus further includes a first switch, the first switch is connected in series Between the feed pin and the feed chip;
所述检测单元控制所述馈电管脚处于带电状态,具体包括:所述检测单元控制所述第一开关闭合;The detecting unit controls the feeding pin to be in a charged state, and specifically includes: the detecting unit controls the first switch to be closed;
所述检测单元控制所述馈电管脚处于断电状态,具体包括:所述检测单元控制所述第一开关断开。The detecting unit controls the feeding pin to be in a power-off state, and specifically includes: the detecting unit controls the first switch to be disconnected.
结合第四方面或第四方面的第一种可能的实现方式,在第三种可能的实现方式中,所述检测单元控制所述馈电管脚处于带电状态,具体包括:所述检测单元向所述馈电芯片发送使能信号,以使所述馈电芯片为所述馈电管脚供电;所述检测单元控制所述馈电管脚处于断电状态,具体包括:所述检测单元向所述馈电芯片发送关闭使能信号,以使所述馈电芯片不为所述馈电管脚供电。 With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a third possible implementation, the detecting unit is configured to control the feeding pin to be in a charging state, specifically, the detecting unit is The power feeding chip sends an enable signal to enable the power feeding chip to supply power to the power feeding pin. The detecting unit controls the powering pin to be in a power-off state, and specifically includes: the detecting unit The feed chip sends a shutdown enable signal such that the feed chip does not supply power to the feed pin.
根据本发明实施例,可以根据需要将多媒体设备上的某一接口用作输入接口或输出接口(即相当于将该接口配置为输入接口或输出接口),因此,在具体的使用场景中,可以根据具体需要将多媒体设备的某个或某些接口用作输入接口,将另外某个或某些接口用作输出接口,从而可以避免接口不足和接口过剩两种情况并存的现象,减少了现有技术中存在的数据传输延时和接口资源浪费的问题。According to the embodiment of the present invention, an interface on the multimedia device can be used as an input interface or an output interface (that is, the interface is configured as an input interface or an output interface), and therefore, in a specific usage scenario, According to specific needs, one or some interfaces of the multimedia device are used as an input interface, and another interface or some interfaces are used as an output interface, thereby avoiding the phenomenon that the interface is insufficient and the interface is excessive, and the existing one is reduced. The problem of data transmission delay and interface resource waste in technology.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例1提供的多媒体设备100的一种结构示意图;FIG. 1 is a schematic structural diagram of a multimedia device 100 according to Embodiment 1 of the present invention;
图2为本发明实施例1的实施方式A的一种示例实施方式提供的多媒体设备100的一种结构示意图;FIG. 2 is a schematic structural diagram of a multimedia device 100 according to an exemplary embodiment of Embodiment A of Embodiment 1 of the present invention;
图3-图4为本发明实施例1的实施方式B提供的多媒体设备100的结构示意图;FIG. 4 is a schematic structural diagram of a multimedia device 100 according to Embodiment B of Embodiment 1 of the present invention;
图5为本发明实施例1的实施方式N的一种示例实施方式提供的多媒体设备100的一种结构示意图;FIG. 5 is a schematic structural diagram of a multimedia device 100 according to an exemplary embodiment of Embodiment N of Embodiment 1 of the present invention;
图6-1和6-2为本发明实施例1提供的处理单元110执行的检测过程的方法流程示意图;6-1 and 6-2 are schematic flowcharts of a method for detecting a process performed by the processing unit 110 according to Embodiment 1 of the present invention;
图7为本发明实施例1的实施方式N的另一种示例实施方式提供的多媒体设备100的一种结构示意图;FIG. 7 is a schematic structural diagram of a multimedia device 100 according to another exemplary embodiment of Embodiment N of Embodiment 1 of the present invention;
图8为本发明实施例2提供的接入设备检测装置200的一种结构示意图。FIG. 8 is a schematic structural diagram of an access device detecting apparatus 200 according to Embodiment 2 of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明 实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present invention more clear, the present invention will be described below with reference to the accompanying drawings. The embodiments are described in further detail.
图1为本发明实施例1提供的多媒体设备100的一种结构示意图。多媒体设备100包括:处理单元110、多媒体输入电路120-1、多媒体输出电路120-2、以及多媒体接口连接器130。其中,处理单元110通过多媒体输入电路120-1与多媒体接口连接器130相连,并通过多媒体输出电路120-2与多媒体接口连接器130相连。FIG. 1 is a schematic structural diagram of a multimedia device 100 according to Embodiment 1 of the present invention. The multimedia device 100 includes a processing unit 110, a multimedia input circuit 120-1, a multimedia output circuit 120-2, and a multimedia interface connector 130. The processing unit 110 is connected to the multimedia interface connector 130 through the multimedia input circuit 120-1, and is connected to the multimedia interface connector 130 through the multimedia output circuit 120-2.
多媒体设备100具体可以为视频会议终端、调音台。The multimedia device 100 may specifically be a video conference terminal and a mixing console.
在本发明实施例1中,多媒体输入电路120-1和多媒体接口连接器130构成多媒体输入接口,多媒体输出电路120-2和多媒体接口连接器130构成多媒体输出接口。In the first embodiment of the present invention, the multimedia input circuit 120-1 and the multimedia interface connector 130 constitute a multimedia input interface, and the multimedia output circuit 120-2 and the multimedia interface connector 130 constitute a multimedia output interface.
所述多媒体输入接口和/或所述多媒体输出接口,具体可以为高清晰度多媒体接口(High Definition Multimedia Interface,HDMI)、数字视频接口(Digital Visual Interface,DVI)、显示接口(DisplayPort,DP)等。The multimedia input interface and/or the multimedia output interface may specifically be a High Definition Multimedia Interface (HDMI), a Digital Visual Interface (DVI), a Display Interface (DP), or the like. .
示例性地,多媒体输入电路120-1可以为ADV7441芯片,相应地,多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口可以为HDMI接口或DVI接口;多媒体输出电路120-2可以为SIi9136芯片,相应地,多媒体输出电路120-2和多媒体接口连接器130构成多媒体输出接口可以为HDMI接口或DVI接口。For example, the multimedia input circuit 120-1 may be an ADV7441 chip. Accordingly, the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 may be an HDMI interface or a DVI interface; the multimedia output circuit 120-2 may For the SIi9136 chip, correspondingly, the multimedia output circuit 120-2 and the multimedia interface connector 130 constitute a multimedia output interface which may be an HDMI interface or a DVI interface.
处理单元110,用于在确定要使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口时,控制与多媒体接口连接器130之间通过多媒体输入电路120-1连接的输入通道处于接通状态、并控制与多媒体接口连接器130之间通过多媒体输出电路120-2连接的输出通道处于断开状态,在确定要使用多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口时,控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态。The processing unit 110 is configured to control, when determining to use the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130, the input channel connected to the multimedia interface connector 130 through the multimedia input circuit 120-1 Turning on the state, and controlling the output channel connected to the multimedia interface connector 130 through the multimedia output circuit 120-2 to be in an off state, determining the multimedia output to be used by the multimedia output circuit 120-2 and the multimedia interface connector 130 In the interface, the output channel is controlled to be in an on state, and the input channel is controlled to be in an off state.
在控制所述输入通道处于接通状态且控制所述输出通道处于断开状态的情况下,处理单元110可通过所述输入通道接收多媒体接口连接器140连接的设备发送的多媒体数据(如视频数据、音频数据),而不可以通过所述输出通 道向多媒体接口连接器140连接的设备发送多媒体数据,即,多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口处于可用状态,多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口处于不可用状态,此时,相当于将接口配置为多媒体输入接口。In a case where the input channel is controlled to be in an on state and the output channel is controlled to be in an off state, the processing unit 110 may receive multimedia data (such as video data) transmitted by the device connected to the multimedia interface connector 140 through the input channel. , audio data), not through the output The device transmits multimedia data to the device connected to the multimedia interface connector 140, that is, the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 is in an available state, and the multimedia output circuit 120-2 and the multimedia interface connector 130 constitute The multimedia output interface is in an unavailable state. In this case, the interface is configured as a multimedia input interface.
类似地,在控制所述输入通道处于断开状态且控制所述输出通道处于接通状态的情况下,多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口处于不可用状态,多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口处于可用状态,此时,相当于将接口配置为多媒体输出接口。Similarly, in the case of controlling the input channel to be in an off state and controlling the output channel to be in an on state, the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 is in an unavailable state, multimedia The multimedia output interface formed by the output circuit 120-2 and the multimedia interface connector 130 is in an available state. In this case, the interface is configured as a multimedia output interface.
需要说明的是,多媒体设备100往往包括多个接口连接器,每个接口连接器均对应有多媒体输入电路和多媒体输出电路,通过本发明实施例1的方法,可以根据具体需要将某个或某些接口配置为输入接口或输出接口。如,多媒体设备100为视频会议终端,包括5个接口,在某次会议中需要连接4个摄像头和1个显示器,则可以将其中4个接口配置为输入接口,将另外1个接口配置为输出接口,在另一次会议中需要连接2个摄像头和2个显示器,则可以将其中2个接口配置为输入接口,将2个接口配置为输出接口,1个接口不用配置。It should be noted that the multimedia device 100 often includes a plurality of interface connectors, each of which has a multimedia input circuit and a multimedia output circuit. According to the method of Embodiment 1 of the present invention, a certain or a certain These interfaces are configured as input or output interfaces. For example, the multimedia device 100 is a video conference terminal, and includes five interfaces. In a conference, four cameras and one display need to be connected, and four interfaces can be configured as an input interface, and the other interface is configured as an output. Interface: In another conference, you need to connect two cameras and two monitors. You can configure two of them as input interfaces and configure two interfaces as output interfaces. One interface does not need to be configured.
在具体实现时,处理单元110可以是通过处理器实现,可以通过处理器的外围电路实现,也可以是通过处理器和外围电路的结合来实现。如果是通过处理器实现,所述处理器,用于执行所述处理器或多媒体设备100的存储器中存放的计算机操作指令执行上述确定操作和控制操作。In a specific implementation, the processing unit 110 may be implemented by a processor, may be implemented by a peripheral circuit of the processor, or may be implemented by a combination of a processor and a peripheral circuit. If implemented by a processor, the processor, for executing computer operation instructions stored in a memory of the processor or multimedia device 100, performs the determining operation and the control operation described above.
根据本发明实施例1,可以根据需要将多媒体设备100上的某一接口用作输入接口或输出接口(即相当于将该接口配置为输入接口或输出接口),因此,在具体的使用场景中,可以根据具体需要将多媒体设备100的某个或某些接口用作输入接口,将另外某个或某些接口用作输出接口,从而可以避免接口不足和接口过剩两种情况并存的现象,减少了现有技术中存在的数据传输延时和接口资源浪费的问题。 According to the embodiment 1 of the present invention, an interface on the multimedia device 100 can be used as an input interface or an output interface (that is, the interface is configured as an input interface or an output interface), and therefore, in a specific usage scenario. One or some interfaces of the multimedia device 100 can be used as an input interface according to specific needs, and another interface or some interfaces can be used as an output interface, thereby avoiding the phenomenon that the interface is insufficient and the interface is excessive. The problem of data transmission delay and interface resource waste existing in the prior art.
下面分别通过实施方式A和B介绍处理单元110控制所述输入通道和所述输出通道处于接通/断开状态的具体实现方式。The specific implementation manner in which the processing unit 110 controls the input channel and the output channel to be in an on/off state is described below by Embodiments A and B, respectively.
实施方式A:处理单元110通过控制多媒体输入电路120-1处于供电状态来实现控制所述输入通道处于接通状态,通过控制多媒体输出电路120-2处于断电状态来实现控制所述输出通道处于断开状态。类似地,通过控制多媒体输入电路120-1处于断电状态来实现控制所述输入通道处于断开状态,通过控制多媒体输出电路120-2处于供电状态来实现控制所述输出通道处于接通状态。Embodiment A: The processing unit 110 controls the input channel to be in an on state by controlling the multimedia input circuit 120-1 to be in a power supply state, and controls the output channel to be controlled by controlling the multimedia output circuit 120-2 to be in a power off state. Disconnected state. Similarly, controlling the input channel to be in an off state by controlling the multimedia input circuit 120-1 to be in a power-off state, and controlling the output channel to be in an on state by controlling the multimedia output circuit 120-2 to be in a power supply state.
实施方式A的一种示例实施方式如图2所示。An example embodiment of an embodiment A is shown in FIG.
如图2所示,多媒体设备100还包括串接在用于为多媒体输入电路120-1供电的电源和多媒体输入电路120-1之间的电源开关140-1、以及串接在用于为多媒体输出电路120-2供电的电源和多媒体输出电路120-2之间的电源开关140-2。为多媒体输入电路120-1供电的电源和为多媒体输出电路120-2供电的电源可以为同一电源也可以为不同的电源。As shown in FIG. 2, the multimedia device 100 further includes a power switch 140-1 connected in series between the power supply and multimedia input circuit 120-1 for powering the multimedia input circuit 120-1, and serially connected for use in multimedia. The power switch 140-2 between the power source supplied by the output circuit 120-2 and the multimedia output circuit 120-2. The power source for powering the multimedia input circuit 120-1 and the power source for powering the multimedia output circuit 120-2 may be the same power source or different power sources.
在这种示例实施方式中,在确定要使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口时,处理单元110控制电源开关140-1闭合,并控制电源开关140-2断开;类似地,在确定要使用多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口时,控制电源开关140-1断开,并控制电源开关140-2闭合。In this example embodiment, when it is determined that the multimedia input interface composed of the multimedia input circuit 120-1 and the multimedia interface connector 130 is to be used, the processing unit 110 controls the power switch 140-1 to be closed, and controls the power switch 140-2 to be turned off. Similarly; when it is determined that the multimedia output interface composed of the multimedia output circuit 120-2 and the multimedia interface connector 130 is to be used, the control power switch 140-1 is turned off, and the power switch 140-2 is controlled to be closed.
在实施方式A的另一种示例实施方式,在确定使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口时,处理单元110向用于为多媒体输入电路120-1供电的第一电源发送使能信号,以使所述第一电源为多媒体输入电路120-1供电,并向用于为多媒体输出电路120-2供电的第二电源发送关闭使能信号,以使所述第二电源不为多媒体输出电路120-2供电。类似地,在确定使用多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口时,处理单元110向所述第一电源发送关闭使能信号,以使所述第一电源不为多媒体输入电路120-1供电,并向所述第二电源发送使能信号,以使所述第二电源为多媒体输出电路120-2供电。 In another example embodiment of the embodiment A, when determining the multimedia input interface formed using the multimedia input circuit 120-1 and the multimedia interface connector 130, the processing unit 110 supplies the power for the multimedia input circuit 120-1. a power transmission enable signal to cause the first power source to supply power to the multimedia input circuit 120-1, and to send a shutdown enable signal to the second power source for powering the multimedia output circuit 120-2 to enable the The two power supplies do not supply power to the multimedia output circuit 120-2. Similarly, when determining the multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130, the processing unit 110 sends a shutdown enable signal to the first power source, so that the first power source is not multimedia. The input circuit 120-1 supplies power and transmits an enable signal to the second power source to cause the second power source to supply power to the multimedia output circuit 120-2.
实施方式B:通过切换器在所述输入电路和所述输出电路之间进行切换。Embodiment B: Switching between the input circuit and the output circuit by a switch.
如图3所示,多媒体设备100还包括切换器150;多媒体输入电路120-1和多媒体输出电路120-2通过切换器150与多媒体接口连接器130相连,其中,切换器150的第一管脚、第二管脚、第三管脚分别与多媒体输入电路120-1、多媒体输出电路120-2和多媒体接口连接器130相连。As shown in FIG. 3, the multimedia device 100 further includes a switch 150; the multimedia input circuit 120-1 and the multimedia output circuit 120-2 are connected to the multimedia interface connector 130 through the switch 150, wherein the first pin of the switch 150 The second pin and the third pin are respectively connected to the multimedia input circuit 120-1, the multimedia output circuit 120-2, and the multimedia interface connector 130.
所述在确定要使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口时,处理单元110控制切换器150接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路。类似地,在确定要使用多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口时,处理单元110控制切换器150断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。When determining that the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 is to be used, the processing unit 110 controls the switch 150 to turn on between the first pin and the third pin. Line and disconnect the line between the second pin and the third pin. Similarly, when determining to use the multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130, the processing unit 110 controls the switch 150 to disconnect between the first pin and the third pin. And connecting the line between the second pin and the third pin.
进一步地,如图4所示,多媒体设备100还可以包括切换器160;多媒体输入电路120-1和多媒体输出电路120-2通过切换器160与处理单元110相连,其中,切换器160的第一管脚、第二管脚、第三管脚分别与多媒体输入电路120-1、多媒体输出电路120-2和处理单元110相连。Further, as shown in FIG. 4, the multimedia device 100 may further include a switch 160; the multimedia input circuit 120-1 and the multimedia output circuit 120-2 are connected to the processing unit 110 through the switch 160, wherein the switch 160 is first The pin, the second pin, and the third pin are respectively connected to the multimedia input circuit 120-1, the multimedia output circuit 120-2, and the processing unit 110.
在确定要使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口时,处理单元110还控制切换器160接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路。类似地,在确定要使用多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口时,处理单元110还控制所述切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。When determining that the multimedia input interface formed by the multimedia input circuit 120-1 and the multimedia interface connector 130 is to be used, the processing unit 110 also controls the switch 160 to turn on the line between the first pin and the third pin. And disconnecting the line between the second pin and the third pin. Similarly, when determining to use the multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130, the processing unit 110 also controls the switch to disconnect the first pin and the third pin. Between the lines and the line between the second pin and the third pin.
在具体实现时,切换器150和切换器160具体可以为继电器、多通道信号切换芯片等。In a specific implementation, the switch 150 and the switch 160 may specifically be a relay, a multi-channel signal switching chip, or the like.
需要说明的是,在具体实现时,处理单元110具体可以划分为电路控制子单元和多媒体处理子单元。相应地,所述输入通道和所述输出通道是所述多媒 体处理单元和多媒体接口连接器130之间的传输通道,即,具体连接关系为,所述多媒体处理单元通过多媒体输入电路120-1与多媒体接口连接器130相连,并通过多媒体输出电路120-2与多媒体接口连接器130相连。所述电路控制子单元具体用于控制所述输入通道和输出通道的通断,如控制电源开关140-1和电源开关140-2的通断,并且还用于,在控制接通所述输入通道并断开所述输出通道后,通知所述多媒体处理子单元可以使用所述多媒体输入接口,并在断开所述输入通道并接通所述输出通道后,通知所述多媒体处理子单元可以使用所述多媒体输出接口。所述多媒体处理子单元收到可以使用所述多媒体输入接口的通知后,准备通过所述输入通道接收多媒体接口连接器140连接的设备发送的多媒体数据并进行处理;所述多媒体处理子单元收到可以使用所述多媒体输出接口的通知后,准备通过所述输出通道向多媒体接口连接器140连接的设备发送多媒体数据。It should be noted that, in a specific implementation, the processing unit 110 may be specifically divided into a circuit control subunit and a multimedia processing subunit. Correspondingly, the input channel and the output channel are the multimedia The transmission channel between the body processing unit and the multimedia interface connector 130, that is, the specific connection relationship, is that the multimedia processing unit is connected to the multimedia interface connector 130 through the multimedia input circuit 120-1, and passes through the multimedia output circuit 120-2. Connected to the multimedia interface connector 130. The circuit control subunit is specifically configured to control the on and off of the input channel and the output channel, such as controlling the on and off of the power switch 140-1 and the power switch 140-2, and also for controlling the input to be turned on. After the channel is disconnected from the output channel, the multimedia processing subunit is notified to use the multimedia input interface, and after the input channel is disconnected and the output channel is turned on, the multimedia processing subunit is notified that the multimedia processing subunit can The multimedia output interface is used. Receiving, by the multimedia processing subunit, the multimedia data sent by the device connected to the multimedia interface connector 140 through the input channel after receiving the notification that the multimedia input interface is available; the multimedia processing subunit receives After the notification of the multimedia output interface is used, the multimedia data is prepared to be transmitted to the device connected to the multimedia interface connector 140 through the output channel.
在具体实现时,所述电路控制子单元可以是通过处理器实现,可以通过处理器的外围电路实现,也可以是通过处理器和外围电路的结合来实现。多媒体处理子单元也可以采用上述三种形式来实现。其中,通过处理器实现的方式,具体是通过处理器执行所述处理器或多媒体设备100的存储器中存放的计算机操作指令执行的相应操作。In a specific implementation, the circuit control sub-unit may be implemented by a processor, may be implemented by a peripheral circuit of the processor, or may be implemented by a combination of a processor and a peripheral circuit. The multimedia processing sub-unit can also be implemented in the above three forms. The manner implemented by the processor, in particular, is performed by the processor to perform a corresponding operation performed by the computer operation instruction stored in the memory of the processor or the multimedia device 100.
在本发明实施例1中,处理单元110可以通过多种方式确定要要使用所述多媒体输入接口或所述多媒体输出接口。下面分别通过实施方式M和实施方式N分别介绍手动设置和自动检测两种确定方式。In Embodiment 1 of the present invention, the processing unit 110 may determine, in various manners, that the multimedia input interface or the multimedia output interface is to be used. In the following, the two methods of determining the manual setting and the automatic detecting are respectively introduced by the embodiment M and the embodiment N.
实施方式M:手动设置方式。Embodiment M: Manual setting mode.
在实施方式M中,多媒体设备100还包括用户操作接口单元。所述用户操作接口单元,用于提供用于配置多媒体接口的配置界面,并根据用户在所述配置界面上的配置操作生成用户操作指令,并将所述用户操作指令发送给处理单元110。相应地,处理单元110对所述用户操作指令进行解析以确定要使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口或要使用 多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口。在具体实现时,所述配置界面上向用户呈现的可以是配置多媒体输入接口或多媒体输出接口的选项,并根据用户的选择生成所述用户操作指令。In Embodiment M, the multimedia device 100 further includes a user operation interface unit. The user operation interface unit is configured to provide a configuration interface for configuring a multimedia interface, and generate a user operation instruction according to a configuration operation of the user on the configuration interface, and send the user operation instruction to the processing unit 110. Correspondingly, the processing unit 110 parses the user operation instruction to determine a multimedia input interface to be used by the multimedia input circuit 120-1 and the multimedia interface connector 130 or to use A multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130. In a specific implementation, the configuration interface may present an option to the user to configure a multimedia input interface or a multimedia output interface, and generate the user operation instruction according to the user's selection.
实施方式N:自动检测方式。Embodiment N: Automatic detection method.
在实施方式N中,处理单元110在检测到多媒体接口连接器130所连接的设备为输入设备时,确定要使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口,在检测到所述多媒体接口连接的设备为输出设备时,确定要使用多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口。In the embodiment N, when detecting that the device connected to the multimedia interface connector 130 is an input device, the processing unit 110 determines that the multimedia input interface to be formed by using the multimedia input circuit 120-1 and the multimedia interface connector 130 is detected. When the device connected to the multimedia interface is an output device, the multimedia output interface formed by the multimedia output circuit 120-2 and the multimedia interface connector 130 is determined.
实施方式N的一种示例实施方式如图5所示。An example embodiment of an embodiment N is shown in FIG.
如图5所示,多媒体设备100还包括馈电芯片170-1,多媒体接口连接器130包括馈电管脚、热插拔检测管脚;处理单元110包括第一检测管脚和第二检测管脚,多媒体接口连接器130的馈电管脚分别与处理单元110的第一检测管脚和馈电芯片170-1相连,多媒体接口连接器130的热插拔检测(HotPlug Detection,HPD)管脚与处理单元110的第二检测管脚相连,并且通过第一电阻接地。其中,馈电芯片170-1用于为所述馈电管脚供电。所述第一电阻的电阻值优选大于等于500欧姆。As shown in FIG. 5, the multimedia device 100 further includes a feed chip 170-1. The multimedia interface connector 130 includes a feed pin and a hot plug detection pin. The processing unit 110 includes a first detection pin and a second detection tube. The feed pins of the multimedia interface connector 130 are respectively connected to the first detection pin of the processing unit 110 and the feed chip 170-1, and the hot plug detection (HPD) pin of the multimedia interface connector 130 is connected. It is connected to the second detecting pin of the processing unit 110 and is grounded through the first resistor. The power feeding chip 170-1 is configured to supply power to the feeding pin. The resistance value of the first resistor is preferably 500 ohms or more.
处理单元110具体用于,当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定多媒体接口连接器130所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定多媒体接口连接器130所连接的设备为输入设备。The processing unit 110 is specifically configured to determine the multimedia when the level of the feed pin is detected to be a high level by the first detection pin under the condition that the feed pin is controlled to be in a power-off state. The device connected to the interface connector 130 is an output device. When the control pin is in a charged state, the level of the hot plug detection pin is detected by the second detection pin. When the level is high, it is determined that the device connected to the multimedia interface connector 130 is an input device.
另外,处理单元110还可以用于,当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为低电平并且在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为低电平时,确定多媒体接口连接器130未连接 设备。In addition, the processing unit 110 may be further configured to: when the control pin is in a power-off state, detecting that the level of the feed pin is a low level by using the first detection pin. And determining, by the second detecting pin, that the level state of the hot plug detecting pin is low when the feeding pin is in a charged state, determining that the multimedia interface connector 130 is not connected device.
在具体实现时,如果处理单元110的检测功能通过处理器实现,则所述第一检测管脚和所述第二检测管脚为所述处理器的两个输入管脚;处理单元110的检测功能也可以是通过处理器的外围电路实现,相应地,所述第一检测管脚和所述第二检测管脚为所述外围电路的两个管脚。In a specific implementation, if the detecting function of the processing unit 110 is implemented by a processor, the first detecting pin and the second detecting pin are two input pins of the processor; and the detecting of the processing unit 110 The function may also be implemented by a peripheral circuit of the processor, and correspondingly, the first detection pin and the second detection pin are two pins of the peripheral circuit.
处理单元110执行的一种检测过程如图6-1所示,包括:A detection process performed by the processing unit 110 is as shown in FIG. 6-1, and includes:
S101:处理单元110控制所述馈电管脚处于带电状态。S101: The processing unit 110 controls the feeding pin to be in a charged state.
S102-S104:处理单元110通过所述第二检测管脚检测所述热插拔检测管脚的电平状态(S102),在检测到所述热插拔检测管脚的电平状态为高电平时确定多媒体接口连接器130所连接的设备为输入设备(S103),在检测到所述热插拔检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态(S104)并执行S105。S102-S104: The processing unit 110 detects a level state of the hot plug detection pin by using the second detection pin (S102), and detects that the level state of the hot plug detection pin is high. Usually, it is determined that the device connected to the multimedia interface connector 130 is an input device (S103), and when the level state of the hot plug detection pin is detected to be a low level, the feed pin is controlled to be in a power-off state ( S104) and execute S105.
S105-S107:处理单元110通过所述第一检测管脚检测所述馈电管脚的电平状态(S105),在检测到所述馈电管脚的电平状态为高电平时确定多媒体接口连接器130所连接的设备为输出设备(S106),并在检测到所述馈电管脚的电平状态为低电平时确定多媒体接口连接器130未连接设备(S107)。S105-S107: The processing unit 110 detects a level state of the feed pin through the first detection pin (S105), and determines a multimedia interface when detecting that the level state of the feed pin is a high level The device to which the connector 130 is connected is an output device (S106), and it is determined that the multimedia interface connector 130 is not connected to the device when it is detected that the level state of the feed pin is low (S107).
S107后重新执行S101以启动下一轮检测。After S107, S101 is re-executed to start the next round of detection.
处理单元110执行的一种检测过程如图6-2所示,包括:A detection process performed by the processing unit 110 is as shown in FIG. 6-2, and includes:
S201:处理单元110控制所述馈电管脚处于断电状态。S201: The processing unit 110 controls the feed pin to be in a power-off state.
S202-S204:处理单元110通过所述第一检测管脚检测检测所述馈电管脚的电平状态(S202),在检测到所述馈电管脚的电平状态为高电平时确定多媒体接口连接器130所连接的设备为输出设备(S203),在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态(S204)并执行S205。S202-S204: The processing unit 110 detects a level state of the feed pin by the first detection pin detection (S202), and determines a multimedia when detecting that the level state of the feed pin is a high level. The device to which the interface connector 130 is connected is an output device (S203), and when the level state of the feed pin is detected to be low, the feed pin is controlled to be in a charged state (S204) and S205 is executed.
S205-S207:处理单元110通过所述第二检测管脚检测所述热插拔检测管脚的电平状态(S205),在检测到所述热插拔检测管脚的电平状态为高电平时确定多媒体接口连接器130所连接的设备为输入设备(S206),并在检测到所 述热插拔检测管脚的电平状态为低电平时确定多媒体接口连接器130未连接设备(S207)。S205-S207: The processing unit 110 detects a level state of the hot plug detection pin by using the second detection pin (S205), and detects that the level of the hot plug detection pin is high. Usually, it is determined that the device connected to the multimedia interface connector 130 is an input device (S206), and is detected When the level state of the hot plug detection pin is low, it is determined that the multimedia interface connector 130 is not connected to the device (S207).
S207后重新执行S201以启动下一轮检测。After S207, S201 is re-executed to start the next round of detection.
在检测到多媒体接口连接器130连接有设备之前,上述检测过程可以是周期性的。如,每次执行S107后,间隔一定的时长(如1秒)开始执行S101以启动下一轮检测;又如,以一定的时间间隔(如0.5秒)控制所述馈电管脚处于带电或断电状态,并执行相应的检测过程,如,在第5秒执行S101,在第5.5秒执行S104,并在第6秒执行S101以启动下一轮检测。The above detection process may be periodic until it is detected that the multimedia interface connector 130 is connected to the device. For example, after each execution of S107, S101 is started to start the next round of detection for a certain period of time (such as 1 second); for example, the feeding pin is controlled to be charged or at a certain time interval (such as 0.5 seconds). The power-off state is performed, and a corresponding detection process is performed, for example, S101 is executed at 5th second, S104 is executed at 5.5th second, and S101 is executed at 6th second to start the next round of detection.
处理单元110可以通过不同的方法控制所述馈电管脚的带电/断电状态。The processing unit 110 can control the charging/de-energizing state of the feeding pin by different methods.
一种可选实现方式如图5所示,多媒体设备100还包括开关180-1,所述开关180-1串接在所述馈电管脚和馈电芯片170-1之间。相应地,控制所述馈电管脚处于带电状态的方式为,控制开关180-1闭合;控制所述馈电管脚处于断电状态的方式为控制开关180-1断开。An optional implementation manner is shown in FIG. 5. The multimedia device 100 further includes a switch 180-1. The switch 180-1 is serially connected between the feed pin and the feed chip 170-1. Correspondingly, the manner in which the feed pin is controlled to be in a charged state is that the control switch 180-1 is closed; and the manner in which the feed pin is controlled to be in a power-off state is that the control switch 180-1 is turned off.
在另一种可选实现方式中,控制所述馈电管脚处于带电状态的方式为,向馈电芯片170-1发送使能信号,以使馈电芯片170-1为所述馈电管脚供电;控制所述馈电管脚处于断电状态的方式为,向馈电芯片170-1发送关闭使能信号,以使馈电芯片170-1不为所述馈电管脚供电。In another optional implementation manner, the way to control the feed pin to be in a charged state is to send an enable signal to the feed chip 170-1, so that the feed chip 170-1 is the feed tube. The power supply of the pin is controlled to send a power-off state to the power feeding chip 170-1 to send a shutdown enable signal, so that the power feeding chip 170-1 does not supply power to the power feeding pin.
进一步地,如图7所示,多媒体设备100还可以包括馈电芯片170-2和开关180-2,其中,所述热插拔检测管脚与馈电芯片170-2相连,开关180-2串接在所述热插拔检测管脚和所述第一电阻之间。Further, as shown in FIG. 7, the multimedia device 100 may further include a feed chip 170-2 and a switch 180-2, wherein the hot plug detection pin is connected to the feed chip 170-2, and the switch 180-2 Connected in series between the hot plug detection pin and the first resistor.
处理单元110在检测所述热插拔检测管脚和所述馈电管脚的电平状态时,优选地,在整个上述检测过程中,控制所述热插拔检测管脚处于断电状态并控制开关180-2处于闭合状态,在确定多媒体接口连接器130所连接的设备为输入设备时,保持所述热插拔检测管脚的断电状态并保持开关180-2的闭合状态;在确定多媒体接口连接器130所连接的设备为输出设备时,控制所述热插 拔检测管脚处于带电状态并断开开关180-2。在具体实现时,所述热插拔检测管脚和馈电芯片170-2之间还可以串接第二电阻,所述第二电阻的电阻值优选为1000±10%欧姆。When detecting the level state of the hot plug detection pin and the feed pin, the processing unit 110 preferably controls the hot plug detection pin to be in a power off state during the entire detection process. The control switch 180-2 is in a closed state. When it is determined that the device connected to the multimedia interface connector 130 is an input device, the power-off state of the hot-plug detection pin is maintained and the closed state of the switch 180-2 is maintained; Controlling the hot plug when the device connected to the multimedia interface connector 130 is an output device Pull the detection pin to a live state and disconnect switch 180-2. In a specific implementation, a second resistor may be connected in series between the hot plug detection pin and the feed chip 170-2, and the resistance of the second resistor is preferably 1000±10% ohm.
类似地,处理单元110也可以通过不同的方法控制所述热插拔检测管脚的带电/断电状态。Similarly, the processing unit 110 can also control the charging/de-energizing state of the hot plug detection pin by different methods.
一种可选实现方式如图7所示,多媒体设备100还包括开关180-3,开关180-3串接在所述热插拔检测管脚和馈电芯片170-2之间。An optional implementation manner is shown in FIG. 7. The multimedia device 100 further includes a switch 180-3 connected in series between the hot plug detection pin and the feed chip 170-2.
相应地,控制所述热插拔检测管脚处于带电状态的方式为,控制开关180-3闭合;控制所述热插拔检测管脚处于断电状态的方式为控制开关180-3断开。Correspondingly, the manner in which the hot plug detection pin is controlled to be in a charged state is that the control switch 180-3 is closed; and the manner in which the hot plug detection pin is controlled to be in a power off state is that the control switch 180-3 is turned off.
在另一种可选实现方式中,控制所述热插拔检测管脚处于带电状态的方式为,向馈电芯片170-2发送使能信号,以使馈电芯片170-2为所述热插拔检测管脚供电;控制所述热插拔检测管脚处于断电状态的方式为,向馈电芯片170-2发送关闭使能信号,以使馈电芯片170-2不为所述热插拔检测管脚供电。In another optional implementation manner, controlling the hot plug detection pin to be in a charged state is to send an enable signal to the feed chip 170-2, so that the feed chip 170-2 is the heat. Plugging and detecting the pin power supply; controlling the hot plug detection pin to be in a power-off state, sending a shutdown enable signal to the feed chip 170-2, so that the feed chip 170-2 is not the heat The plug detection pin is powered.
如果检测出多媒体接口连接器130所连接的设备为输入设备,处理单元110可通过所述输入通道接收多媒体接口连接器140连接的输入设备发送的多媒体数据,并开始周期性地检测所述热插拔检测管脚的电平状态,当检测到所述热插拔检测管脚的电平状态由高电平变为低电平时,确定所述输入设备被拔出多媒体接口连接器130,重新启动上述检测过程。If it is detected that the device connected to the multimedia interface connector 130 is an input device, the processing unit 110 can receive the multimedia data sent by the input device connected to the multimedia interface connector 140 through the input channel, and start to periodically detect the hot plug. Pulling out the level state of the detecting pin, when detecting that the level state of the hot plug detecting pin changes from a high level to a low level, determining that the input device is pulled out of the multimedia interface connector 130, restarting The above detection process.
如果检测出多媒体接口连接器130所连接的设备为输出设备,处理单元110可通过所述输出通道向多媒体接口连接器140连接的输出设备发送多媒体数据,并开始周期性地检测所述馈电管脚的电平状态(如每隔1秒检测一次),当检测到所述馈电管脚的电平状态由高电平变为低电平时,确定所述输出设备被拔出多媒体接口连接器130,重新启动上述如图6所示的检测过程。 If it is detected that the device connected to the multimedia interface connector 130 is an output device, the processing unit 110 can send multimedia data to the output device connected to the multimedia interface connector 140 through the output channel, and start to periodically detect the feed tube. The level state of the foot (eg, detected every 1 second), when it is detected that the level state of the feed pin changes from a high level to a low level, determining that the output device is pulled out of the multimedia interface connector 130. Restart the above detection process as shown in FIG. 6.
需要说明的是,在上述方案中,通过该自动检测方式得到的检测结果用于确定要使用多媒体输入电路120-1和多媒体接口连接器130构成的多媒体输入接口或使用多媒体输出电路120-2和多媒体接口连接器130构成的多媒体输出接口。另外,该检测结果还可以用于实现其它功能,如,在具备现有的多媒体接口的视频终端中实现该自动检测功能,可以实现输入/输出接口误插的提醒。It should be noted that, in the above solution, the detection result obtained by the automatic detection mode is used to determine a multimedia input interface to be used by the multimedia input circuit 120-1 and the multimedia interface connector 130 or to use the multimedia output circuit 120-2 and A multimedia output interface formed by the multimedia interface connector 130. In addition, the detection result can also be used to implement other functions, such as implementing the automatic detection function in a video terminal having an existing multimedia interface, and realizing a reminder that the input/output interface is mis-inserted.
相应地,本发明实施例2提供了一种接入设备检测装置200,如图8所示,接入设备检测装置200包括:检测单元210和馈电芯片220,检测单元210包括第一检测管脚和第二检测管脚,其中,所述检测单元的第一检测管脚和馈电芯片220均与待检测多媒体接口连接器的馈电管脚相连,待检测多媒体接口连接器的热插拔检测(HotPlug Detection,HPD)管脚与检测单元210的第二检测管脚相连,并且通过电阻接地。所述电阻的电阻值优选大于等于500欧姆。Correspondingly, the second embodiment of the present invention provides an access device detecting apparatus 200. As shown in FIG. 8, the access device detecting apparatus 200 includes: a detecting unit 210 and a feeding chip 220, and the detecting unit 210 includes a first detecting tube. And a second detecting pin, wherein the first detecting pin of the detecting unit and the feeding chip 220 are connected to the feeding pin of the multimedia interface connector to be detected, and the hot plug of the multimedia interface connector to be detected is detected The HotPlug Detection (HPD) pin is connected to the second detection pin of the detecting unit 210 and grounded through a resistor. The resistance value of the resistor is preferably 500 ohms or more.
在具体实现时,检测单元210可以是通过处理器实现,则所述第一检测管脚和所述第二检测管脚为所述处理器的输入管脚;也可以是通过外围电路实现,相应地,所述第一检测管脚和所述第二检测管脚为所述外围电路的芯片的输入管脚。In a specific implementation, the detecting unit 210 may be implemented by a processor, where the first detecting pin and the second detecting pin are input pins of the processor; or may be implemented by a peripheral circuit, correspondingly The first detecting pin and the second detecting pin are input pins of a chip of the peripheral circuit.
检测单元210执行的检测过程和本发明实施例1的处理单元110执行的检测过程类似,不再赘述。需要说明的是,如果检测单元210通过控制闭合或打开开关的方式控制馈电管脚的带电/断电状态,则如图8所示,接入设备检测装置200还包括开关230,开关230串接在馈电芯片220和所述馈电管脚之间。The detection process performed by the detection unit 210 is similar to the detection process performed by the processing unit 110 of the embodiment 1 of the present invention, and details are not described herein again. It should be noted that, if the detecting unit 210 controls the charging/de-energizing state of the feeding pin by controlling the closing or opening of the switch, as shown in FIG. 8, the access device detecting device 200 further includes a switch 230, and the switch 230 Connected between the feed chip 220 and the feed pin.
具体实现时,可以用本发明实施例2的接入设备检测装置200实现本发明实施例1的多媒体设备100中的自动检测功能。In the specific implementation, the access device detecting apparatus 200 of the embodiment 2 of the present invention can implement the automatic detecting function in the multimedia device 100 of Embodiment 1 of the present invention.
接入设备检测装置200还可以用在具备现有的多媒体接口的视频终端中实现输入/输出接口误插的提醒。具体实现方式可以是,在所述视频终端中实现一个提醒模块,将所述提醒模块和检测单元210相连,并将检测单元210与所述视频终端的多媒体接口的馈电管脚和热插拔检测管脚相连,当检测单元210检测到所述视频终端的多媒体接口连接器所连接的设备为输入设备或输 出设备时,将检测结果发送给所述提醒模块,所述提醒模块在根据所述检测结果确定所述视频终端的多媒体输入接口连接器上所连接的设备为输出设备、或所述视频终端的多媒体输出接口连接器上所连接的设备为输入设备时,对用户进行提醒,如播放提醒音频。The access device detecting device 200 can also be used to implement a reminder of an input/output interface mis-insertion in a video terminal having an existing multimedia interface. The specific implementation manner may be that a reminder module is implemented in the video terminal, and the reminder module is connected to the detecting unit 210, and the feeding unit of the detecting unit 210 and the multimedia interface of the video terminal is hot-swapped. The detecting pins are connected, and when the detecting unit 210 detects that the device connected to the multimedia interface connector of the video terminal is an input device or When the device is sent out, the detection result is sent to the reminding module, and the reminding module determines, according to the detection result, that the device connected to the multimedia input interface connector of the video terminal is an output device or the video terminal When the device connected to the multimedia output interface connector is an input device, the user is reminded, such as playing a reminder audio.
另外,本发明实施例2提供的接入设备检测装置200可以应用于本发明实施例1提供的多媒体设备100,为多媒体设备100提供接入设备检测功能,使得多媒体设备100根据接入设备的类型(输入设备或输出设备)将接口用作输入接口或输出接口,从而可以避免接口不足和接口过剩两种情况并存的现象,减少了现有技术中存在的数据传输延时和接口资源浪费的问题。In addition, the access device detecting apparatus 200 provided in Embodiment 2 of the present invention can be applied to the multimedia device 100 provided by Embodiment 1 of the present invention, and provides the access device detecting function for the multimedia device 100, so that the multimedia device 100 is based on the type of the access device. (Input device or output device) The interface is used as an input interface or an output interface, so that the phenomenon that the interface is insufficient and the interface is excessive can be avoided, and the problem of data transmission delay and interface resource waste existing in the prior art is reduced. .
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (31)

  1. 一种多媒体设备,其特征在于,所述多媒体设备包括:A multimedia device, characterized in that the multimedia device comprises:
    处理单元、多媒体输入电路、多媒体输出电路和多媒体接口连接器,其中,所述处理单元通过所述多媒体输入电路与所述多媒体接口连接器相连,并通过所述多媒体输出电路与所述多媒体接口连接器相连;a processing unit, a multimedia input circuit, a multimedia output circuit, and a multimedia interface connector, wherein the processing unit is connected to the multimedia interface connector through the multimedia input circuit, and is connected to the multimedia interface through the multimedia output circuit Connected
    所述处理单元,用于在确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口时,控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,在确定要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口时,控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态。The processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit when determining a multimedia input interface to be used by the multimedia input circuit and the multimedia interface connector An output channel in an on state and controlling connection with the multimedia interface connector through the multimedia output circuit is in an off state, and determining to use the multimedia output circuit and the multimedia interface connector to form a multimedia When the interface is output, the output channel is controlled to be in an on state, and the input channel is controlled to be in an off state.
  2. 根据权利要求1所述的多媒体设备,其特征在于,所述处理单元,具体用于在检测到所述多媒体接口连接器所连接的设备为输入设备时,确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口,在检测到所述多媒体接口连接的设备为输出设备时,确定要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口。The multimedia device according to claim 1, wherein the processing unit is configured to determine to use the multimedia input circuit and the device when detecting that the device connected to the multimedia interface connector is an input device The multimedia input interface formed by the multimedia interface connector determines a multimedia output interface formed by using the multimedia output circuit and the multimedia interface connector when detecting that the device connected to the multimedia interface is an output device.
  3. 根据权利要求2所述的多媒体设备,其特征在于,所述多媒体设备还包括第一馈电芯片;所述多媒体接口连接器包括馈电管脚、热插拔检测管脚;所述处理单元包括第一检测管脚和第二检测管脚;The multimedia device according to claim 2, wherein the multimedia device further comprises a first power feeding chip; the multimedia interface connector comprises a feeding pin and a hot plug detecting pin; and the processing unit comprises a first detection pin and a second detection pin;
    所述多媒体接口连接器的馈电管脚分别与所述处理单元的第一检测管脚和所述第一馈电芯片相连,a feeding pin of the multimedia interface connector is respectively connected to the first detecting pin of the processing unit and the first feeding chip,
    所述多媒体接口连接器的热插拔检测管脚与所述处理单元的第二检测管脚相连,并且通过第一电阻接地;The hot plug detection pin of the multimedia interface connector is connected to the second detection pin of the processing unit, and is grounded through the first resistor;
    所述处理单元具体用于,当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状 态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。The processing unit is specifically configured to: when the level of the feed pin is detected as being high by the first detection pin under the condition that the feed pin is controlled to be in a power-off state, The device connected to the multimedia interface connector is an output device, and when the feeding pin is controlled to be charged When the level of the hot plug detection pin is detected to be a high level by the second detecting pin, the device connected to the multimedia interface connector is determined to be an input device.
  4. 根据权利要求3所述的多媒体设备,其特征在于,所述处理单元具体用于:The multimedia device according to claim 3, wherein the processing unit is specifically configured to:
    控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is Determining, when the level is high, determining that the device connected to the multimedia interface connector is an input device, and controlling the feed pin to be powered off when detecting that the level state of the hot plug detection pin is low And detecting, by the first detecting pin, a level state of the feeding pin, and determining that the device connected to the multimedia interface connector is when detecting that the level state of the feeding pin is a high level Output device; or,
    控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
  5. 根据权利要求3或4所述的多媒体设备,其特征在于,所述多媒体设备还包括第一开关,所述第一开关串接在所述馈电管脚和所述第一馈电芯片之间;The multimedia device according to claim 3 or 4, wherein the multimedia device further comprises a first switch, the first switch being serially connected between the feed pin and the first feed chip ;
    所述处理单元用于控制所述馈电管脚处于带电状态,具体包括:所述处理单元,用于控制所述第一开关闭合;The processing unit is configured to control the feeding pin to be in a charged state, and specifically includes: the processing unit, configured to control the first switch to be closed;
    所述处理单元用于控制所述馈电管脚处于断电状态,具体包括:所述处理单元,用于控制所述第一开关断开。The processing unit is configured to control the powering pin to be in a power-off state, and specifically includes: the processing unit, configured to control the first switch to be disconnected.
  6. 根据权利要求3或4所述的多媒体设备,其特征在于,A multimedia device according to claim 3 or 4, wherein
    所述处理单元用于控制所述馈电管脚处于带电状态,具体包括:所述处理单元,用于向所述第一馈电芯片发送使能信号,以使所述第一馈电芯片为所述 馈电管脚供电;The processing unit is configured to control the feed pin to be in a charged state, and specifically includes: the processing unit, configured to send an enable signal to the first feed chip, so that the first feed chip is Said Feed pin power supply;
    所述处理单元用于控制所述馈电管脚处于断电状态,具体包括:所述处理单元,用于向所述第一馈电芯片发送关闭使能信号,以使所述第一馈电芯片不为所述馈电管脚供电。The processing unit is configured to control the feeding pin to be in a power-off state, and specifically includes: the processing unit, configured to send a shutdown enable signal to the first feeding chip, so that the first feeding The chip does not supply power to the feed pin.
  7. 根据权利要求3-6任一所述的多媒体设备,其特征在于,所述多媒体设备还包括第二馈电芯片和第二开关,其中,所述热插拔检测管脚与所述第二馈电芯片相连,所述第二开关串接在所述热插拔检测管脚和所述第一电阻之间;The multimedia device according to any one of claims 3-6, wherein the multimedia device further comprises a second feed chip and a second switch, wherein the hot plug detection pin and the second feed An electric chip is connected, and the second switch is connected in series between the hot plug detecting pin and the first resistor;
    所述处理单元,还用于在检测所述热插拔检测管脚和所述馈电管脚的电平状态时,控制所述热插拔检测管脚处于断电状态并控制所述第二开关处于闭合状态,在确定所述多媒体接口连接器所连接的设备为输入设备时,保持所述热插拔检测管脚的断电状态并保持所述第二开关的闭合状态;在确定所述多媒体接口连接器所连接的设备为输出设备时,控制所述热插拔检测管脚处于带电状态并断开所述第二开关。The processing unit is further configured to: when detecting a level state of the hot plug detection pin and the feed pin, control the hot plug detection pin to be in a power off state and control the second The switch is in a closed state, and when it is determined that the device connected to the multimedia interface connector is an input device, maintaining a power-off state of the hot-plug detection pin and maintaining a closed state of the second switch; When the device connected to the multimedia interface connector is an output device, the hot plug detection pin is controlled to be in a powered state and the second switch is turned off.
  8. 根据权利要求1所述的多媒体设备,其特征在于,所述多媒体设备还包括用户操作接口单元;The multimedia device according to claim 1, wherein the multimedia device further comprises a user operation interface unit;
    所述用户操作接口单元,用于提供用于配置多媒体接口的配置界面,并根据用户在所述配置界面上的配置操作生成用户操作指令,并将所述用户操作指令发送给所述处理单元;The user operation interface unit is configured to provide a configuration interface for configuring a multimedia interface, and generate a user operation instruction according to a configuration operation of the user on the configuration interface, and send the user operation instruction to the processing unit;
    所述处理单元,具体用于对所述用户操作指令进行解析以确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口或要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口。The processing unit is specifically configured to parse the user operation instruction to determine a multimedia input interface to be used by using the multimedia input circuit and the multimedia interface connector or to use the multimedia output circuit and the multimedia interface A multimedia output interface formed by a connector.
  9. 根据权利要求1-8任一所述的多媒体设备,其特征在于,A multimedia device according to any of claims 1-8, characterized in that
    所述处理单元用于控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单 元用于控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态;The processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and control connection with the multimedia interface connector through the multimedia output circuit The output channel is in an off state, and specifically includes: the processing order The element is configured to control the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state;
    所述处理单元用于控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元用于控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态。The processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and specifically, the processing unit is configured to control the multimedia input circuit to be in a power off state, and the multimedia The output circuit is in a power supply state.
  10. 根据权利要求9所述的多媒体设备,其特征在于,所述多媒体设备还包括串接在用于为所述多媒体输入电路供电的电源和所述多媒体输入电路之间的第一电源开关、以及串接在用于为所述多媒体输出电路供电的电源和所述多媒体输出电路之间的第二电源开关;The multimedia device according to claim 9, wherein said multimedia device further comprises a first power switch and a string connected in series between a power source for supplying power to said multimedia input circuit and said multimedia input circuit a second power switch connected between the power source for powering the multimedia output circuit and the multimedia output circuit;
    所述处理单元用于控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态,具体包括:所述处理单元用于控制所述第一电源开关闭合且控制所述第二电源开关断开;The processing unit is configured to control the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state, specifically, the processing unit is configured to control the first power switch to be closed and control the second power source The switch is turned off;
    所述处理单元用于控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态,具体包括:所述处理单元用于控制所述第一电源开关断开且控制所述第二电源开关闭合。The processing unit is configured to control the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, specifically, the processing unit is configured to control the first power switch to be turned off and control the second The power switch is closed.
  11. 根据权利要求9所述的多媒体设备,其特征在于,The multimedia device according to claim 9, wherein
    所述处理单元用于控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态,具体包括:所述处理单元,用于向用于为所述多媒体输入电路供电的第一电源发送使能信号,以使所述第一电源为所述多媒体输入电路供电,向用于为所述多媒体输出电路供电的第二电源发送关闭使能信号,以使所述第二电源不为所述多媒体输出电路供电;The processing unit is configured to control the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state, and specifically includes: the processing unit, configured to send a first power source for powering the multimedia input circuit Transmitting an enable signal to cause the first power source to supply power to the multimedia input circuit, and send a shutdown enable signal to a second power source for powering the multimedia output circuit, so that the second power source is not Said multimedia output circuit power supply;
    所述处理单元用于控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态,具体包括:所述处理单元,用于向所述第一电源发送关闭使能信号,以使所述第一电源不为所述多媒体输入电路供电,向所述第二电源发送使能信号,以使所述第二电源为所述多媒体输出电路供电。The processing unit is configured to control the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, and specifically includes: the processing unit, configured to send a shutdown enable signal to the first power source, so that The first power source does not supply power to the multimedia input circuit, and sends an enable signal to the second power source to enable the second power source to supply power to the multimedia output circuit.
  12. 根据权利要求1-8任一所述的多媒体设备,其特征在于,所述多媒体 设备还包括第一切换器;The multimedia device according to any one of claims 1-8, wherein said multimedia The device also includes a first switcher;
    所述多媒体输入电路和所述多媒体输出电路通过所述第一切换器与所述多媒体接口连接器相连,其中,所述第一切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述多媒体接口连接器相连;The multimedia input circuit and the multimedia output circuit are connected to the multimedia interface connector by the first switch, wherein the first pin, the second pin, and the third pin of the first switch Connected to the multimedia input circuit, the multimedia output circuit, and the multimedia interface connector, respectively;
    所述处理单元用于控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单元用于控制所述第一切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and control connection with the multimedia interface connector through the multimedia output circuit The output channel is in an off state, and the method includes: the processing unit is configured to control the first switch to turn on a line between the first pin and the third pin, and disconnect the second a line between the pin and the third pin;
    所述处理单元用于控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元用于控制所述第一切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and the method further includes: the processing unit is configured to control the first switch to disconnect the first tube a line between the foot and the third pin and a line between the second pin and the third pin.
  13. 根据权利要求12所述的多媒体设备,其特征在于,所述多媒体设备还包括第二切换器;The multimedia device according to claim 12, wherein the multimedia device further comprises a second switch;
    所述多媒体输入电路和所述多媒体输出电路通过所述第二切换器与所述处理单元相连,其中,所述第二切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述处理单元相连;The multimedia input circuit and the multimedia output circuit are connected to the processing unit by the second switch, wherein the first pin, the second pin, and the third pin of the second switch respectively The multimedia input circuit, the multimedia output circuit and the processing unit are connected;
    所述处理单元用于控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体还包括:所述处理单元用于控制所述第二切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit is configured to control an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and control connection with the multimedia interface connector through the multimedia output circuit The output channel is in an off state, and the method further includes: the processing unit is configured to control the second switch to turn on a line between the first pin and the third pin, and disconnect the first a line between the two pins and the third pin;
    所述处理单元用于控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体还包括:所述处理单元用于控制所述切换器断开所述第一 管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit is configured to control the output channel to be in an on state and control the input channel to be in an off state, and specifically, the processing unit is configured to control the switch to disconnect the first A line between the pin and the third pin, and turns on a line between the second pin and the third pin.
  14. 一种接入设备检测装置,其特征在于,所述接入设备检测装置包括:检测单元和馈电芯片,所述检测单元包括第一检测管脚和第二检测管脚,其中,所述检测单元的第一检测管脚和所述馈电芯片均与待检测多媒体接口连接器的馈电管脚相连,所述待检测多媒体接口连接器的热插拔检测管脚与所述检测单元的第二检测管脚相连并通过电阻接地;An access device detecting device, comprising: a detecting unit and a feeding chip, wherein the detecting unit comprises a first detecting pin and a second detecting pin, wherein the detecting The first detecting pin of the unit and the feeding chip are both connected to the feeding pin of the multimedia interface connector to be detected, and the hot plug detecting pin of the multimedia interface connector to be detected and the detecting unit are The second detection pin is connected and grounded through a resistor;
    所述检测单元,用于当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。The detecting unit is configured to determine, when the level of the feeding pin is high by detecting the feeding pin by the first detecting pin under the condition that the feeding pin is in a power-off state, The device connected to the multimedia interface connector is an output device, and the level state of the hot plug detection pin is detected by the second detecting pin when the feeding pin is controlled to be in a charged state. When it is high, it is determined that the device connected to the multimedia interface connector is an input device.
  15. 根据权利要求14所述的接入设备检测装置,其特征在于,所述检测单元具体用于:The access device detecting device according to claim 14, wherein the detecting unit is specifically configured to:
    控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is Determining, when the level is high, determining that the device connected to the multimedia interface connector is an input device, and controlling the feed pin to be powered off when detecting that the level state of the hot plug detection pin is low And detecting, by the first detecting pin, a level state of the feeding pin, and determining that the device connected to the multimedia interface connector is when detecting that the level state of the feeding pin is a high level Output device; or,
    控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高 电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detection pin detects a level state of the hot plug detection pin, and detects that the level of the hot plug detection pin is high When the level is determined, the device connected to the multimedia interface connector is an input device.
  16. 根据权利要求14或15所述的接入设备检测装置,其特征在于,所述接入设备检测装置还包括第一开关,所述第一开关串接在所述馈电管脚和所述馈电芯片之间;The access device detecting apparatus according to claim 14 or 15, wherein the access device detecting device further comprises a first switch, the first switch is connected in series to the feeding pin and the feeding Between electric chips;
    所述检测单元用于控制所述馈电管脚处于带电状态,具体包括:所述检测单元,用于控制所述第一开关闭合;The detecting unit is configured to control the feeding pin to be in a charged state, and specifically includes: the detecting unit, configured to control the first switch to be closed;
    所述检测单元用于控制所述馈电管脚处于断电状态,具体包括:所述检测单元,用于控制所述第一开关断开。The detecting unit is configured to control the feeding pin to be in a power-off state, and specifically includes: the detecting unit, configured to control the first switch to be disconnected.
  17. 根据权利要求14或15所述的接入设备检测装置,其特征在于,The access device detecting apparatus according to claim 14 or 15, wherein
    所述检测单元用于控制所述馈电管脚处于带电状态,具体包括:所述检测单元,用于向所述馈电芯片发送使能信号,以使所述馈电芯片为所述馈电管脚供电;The detecting unit is configured to control the feeding pin to be in a charging state, and specifically includes: the detecting unit, configured to send an enable signal to the feeding chip, so that the feeding chip is the feeding Pin power supply;
    所述检测单元用于控制所述馈电管脚处于断电状态,具体包括:所述检测单元,用于向所述馈电芯片发送关闭使能信号,以使所述馈电芯片不为所述馈电管脚供电。The detecting unit is configured to control the feeding pin to be in a power-off state, and specifically includes: the detecting unit, configured to send a shutdown enable signal to the feeding chip, so that the feeding chip is not in use The feed pin is powered.
  18. 一种实现多媒体接口配置的方法,其特征在于,所述方法应用于多媒体设备,所述多媒体设备包括:处理单元、多媒体输入电路、多媒体输出电路和多媒体接口连接器,其中,所述处理单元通过所述多媒体输入电路与所述多媒体接口连接器相连,并通过所述多媒体输出电路与所述多媒体接口连接器相连;所述方法包括:A method for implementing a multimedia interface, wherein the method is applied to a multimedia device, the multimedia device comprising: a processing unit, a multimedia input circuit, a multimedia output circuit, and a multimedia interface connector, wherein the processing unit passes The multimedia input circuit is connected to the multimedia interface connector, and is connected to the multimedia interface connector through the multimedia output circuit; the method includes:
    所述处理单元在确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口时,控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,在确定要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口时,控制所述 输出通道处于接通状态、并控制所述输入通道处于断开状态。The processing unit controls the input channel connected to the multimedia interface connector through the multimedia input circuit to be turned on when determining that the multimedia input interface formed by the multimedia input circuit and the multimedia interface connector is to be used a state, and controlling an output channel connected to the multimedia interface connector through the multimedia output circuit to be in an off state, when determining a multimedia output interface to be used by the multimedia output circuit and the multimedia interface connector Control the The output channel is in an on state and controls the input channel to be in an open state.
  19. 根据权利要求18所述的方法,其特征在于,所述方法还包括,所述处理单元在检测到所述多媒体接口连接器所连接的设备为输入设备时,确定要使用所述多媒体输入电路和所述多媒体接口连接器构成的多媒体输入接口,在检测到所述多媒体接口连接的设备为输出设备时,确定要使用所述多媒体输出电路和所述多媒体接口连接器构成的多媒体输出接口。The method according to claim 18, wherein the method further comprises: when the detecting unit detects that the device connected to the multimedia interface connector is an input device, determining that the multimedia input circuit is to be used and The multimedia input interface formed by the multimedia interface connector determines a multimedia output interface formed by using the multimedia output circuit and the multimedia interface connector when detecting that the device connected to the multimedia interface is an output device.
  20. 根据权利要求19所述的方法,其特征在于,所述多媒体设备还包括第一馈电芯片,所述多媒体接口连接器包括馈电管脚、热插拔检测管脚;所述处理单元包括第一检测管脚和第二检测管脚,所述多媒体接口连接器的馈电管脚分别与所述处理单元的第一检测管脚和所述第一馈电芯片相连,所述多媒体接口连接器的热插拔检测管脚与所述处理单元的第二检测管脚相连,并且通过第一电阻接地;所述方法还包括:The method according to claim 19, wherein the multimedia device further comprises a first feed chip, the multimedia interface connector comprises a feed pin, a hot plug detection pin; and the processing unit comprises a detecting pin and a second detecting pin, wherein the feeding pin of the multimedia interface connector is respectively connected to the first detecting pin of the processing unit and the first feeding chip, and the multimedia interface connector The hot plug detection pin is connected to the second detection pin of the processing unit, and is grounded through the first resistor; the method further includes:
    当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。Determining that the multimedia interface connector is connected when it is detected that the level of the feed pin is high by the first detection pin under the condition that the feed pin is in a power-off state. The device is an output device, and when the level of the hot plug detection pin is detected as being high by the second detection pin under the condition that the feed pin is controlled to be in a charged state, The device to which the multimedia interface connector is connected is an input device.
  21. 根据权利要求20所述的方法,其特征在于,所述当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备,具体包括:The method according to claim 20, wherein said detecting a level of said feed pin is detected by said first detecting pin under control of said feed pin being in a power-off state When the state is high, determining that the device connected to the multimedia interface connector is an output device, and detecting the hot plug by using the second detecting pin when controlling the feeding pin to be in a charged state. When the level of the detection pin is high, it is determined that the device connected to the multimedia interface connector is an input device, and specifically includes:
    控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔 检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is When the level is high, determining that the device connected to the multimedia interface connector is an input device, and detecting the hot plugging Controlling that the feed pin is turned off when the level state of the pin is low, and detecting the level state of the feed pin by the first detection pin, when the feed is detected Determining that the device connected to the multimedia interface connector is an output device when the level of the power pin is high; or
    控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
  22. 根据权利要求20或21所述的方法,其特征在于,所述多媒体设备还包括第一开关,所述第一开关串接在所述馈电管脚和所述第一馈电芯片之间;The method according to claim 20 or 21, wherein the multimedia device further comprises a first switch, the first switch being connected in series between the feed pin and the first feed chip;
    所述处理单元控制所述馈电管脚处于带电状态,具体包括:所述处理单元控制所述第一开关闭合;The processing unit controls the feeding pin to be in a charged state, and specifically includes: the processing unit controls the first switch to be closed;
    所述处理单元控制所述馈电管脚处于断电状态,具体包括:所述处理单元控制所述第一开关断开。The processing unit controls the feeding pin to be in a power-off state, and specifically includes: the processing unit controls the first switch to be disconnected.
  23. 根据权利要求20或21所述的方法,其特征在于,所述多媒体设备还包括第二馈电芯片和第二开关,其中,所述热插拔检测管脚与所述第二馈电芯片相连,所述第二开关串接在所述热插拔检测管脚和所述第一电阻之间;所述方法还包括:The method according to claim 20 or 21, wherein the multimedia device further comprises a second feed chip and a second switch, wherein the hot plug detection pin is connected to the second feed chip The second switch is connected in series between the hot plug detection pin and the first resistor; the method further includes:
    所述处理单元在检测所述热插拔检测管脚和所述馈电管脚的电平状态时,控制所述热插拔检测管脚处于断电状态并控制所述第二开关处于闭合状态,在确定所述多媒体接口连接器所连接的设备为输入设备时,保持所述热插拔检测管脚的断电状态并保持所述第二开关的闭合状态;在确定所述多媒体接口连接器所连接的设备为输出设备时,控制所述热插拔检测管脚处于带电状态并断开所述第二开关。The processing unit controls the hot plug detection pin to be in a power off state and control the second switch to be in a closed state when detecting a level state of the hot plug detection pin and the feed pin And determining that the device connected to the multimedia interface connector is an input device, maintaining a power-off state of the hot-plug detection pin and maintaining a closed state of the second switch; determining the multimedia interface connector When the connected device is an output device, the hot plug detection pin is controlled to be in a powered state and the second switch is turned off.
  24. 根据权利要求18-23任一所述的方法,其特征在于, A method according to any one of claims 18-23, wherein
    所述处理单元控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单元控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态;The processing unit controls an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and controls an output channel connected to the multimedia interface connector through the multimedia output circuit In the disconnected state, the method further includes: the processing unit controls the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state;
    所述处理单元控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态。The processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the multimedia input circuit to be in a power off state, and the multimedia output circuit is powered status.
  25. 根据权利要求24所述的方法,其特征在于,所述多媒体设备还包括串接在用于为所述多媒体输入电路供电的电源和所述多媒体输入电路之间的第一电源开关、以及串接在用于为所述多媒体输出电路供电的电源和所述多媒体输出电路之间的第二电源开关;The method of claim 24, wherein said multimedia device further comprises a first power switch connected in series between a power source for powering said multimedia input circuit and said multimedia input circuit, and a serial connection a second power switch between the power source for powering the multimedia output circuit and the multimedia output circuit;
    所述处理单元控制所述多媒体输入电路处于供电状态、所述多媒体输出电路处于断电状态,具体包括:所述处理单元控制所述第一电源开关闭合且控制所述第二电源开关断开;The processing unit controls the multimedia input circuit to be in a power supply state, and the multimedia output circuit is in a power-off state, specifically: the processing unit controls the first power switch to be closed and controls the second power switch to be turned off;
    所述处理单元控制所述多媒体输入电路处于断电状态、所述多媒体输出电路处于供电状态,具体包括:所述处理单元控制所述第一电源开关断开且控制所述第二电源开关闭合。The processing unit controls the multimedia input circuit to be in a power-off state, and the multimedia output circuit is in a power supply state, and specifically includes: the processing unit controls the first power switch to be turned off and the second power switch to be closed.
  26. 根据权利要求18-23任一所述的方法,其特征在于,所述多媒体设备还包括第一切换器;The method according to any one of claims 18-23, wherein the multimedia device further comprises a first switcher;
    所述多媒体输入电路和所述多媒体输出电路通过所述第一切换器与所述多媒体接口连接器相连,其中,所述第一切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述多媒体接口连接器相连;The multimedia input circuit and the multimedia output circuit are connected to the multimedia interface connector by the first switch, wherein the first pin, the second pin, and the third pin of the first switch Connected to the multimedia input circuit, the multimedia output circuit, and the multimedia interface connector, respectively;
    所述处理单元控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体包括:所述处理单元控 制所述第一切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit controls an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and controls an output channel connected to the multimedia interface connector through the multimedia output circuit In the disconnected state, specifically: the processing unit control The first switch turns on a line between the first pin and the third pin, and disconnects a line between the second pin and the third pin;
    所述处理单元控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体包括:所述处理单元控制所述第一切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the first switch to disconnect the first pin and the a line between the third pins and a line between the second pin and the third pin.
  27. 根据权利要求26所述的方法,其特征在于,所述多媒体设备还包括第二切换器;The method of claim 26, wherein the multimedia device further comprises a second switch;
    所述多媒体输入电路和所述多媒体输出电路通过所述第二切换器与所述处理单元相连,其中,所述第二切换器的第一管脚、第二管脚、第三管脚分别与所述多媒体输入电路、所述多媒体输出电路和所述处理单元相连;The multimedia input circuit and the multimedia output circuit are connected to the processing unit by the second switch, wherein the first pin, the second pin, and the third pin of the second switch respectively The multimedia input circuit, the multimedia output circuit and the processing unit are connected;
    所述处理单元控制与所述多媒体接口连接器之间通过所述多媒体输入电路连接的输入通道处于接通状态、并控制与所述多媒体接口连接器之间通过所述多媒体输出电路连接的输出通道处于断开状态,具体还包括:所述处理单元控制所述第二切换器接通所述第一管脚和所述第三管脚之间的线路,并断开所述第二管脚和所述第三管脚之间的线路;The processing unit controls an input channel connected to the multimedia interface connector through the multimedia input circuit to be in an on state, and controls an output channel connected to the multimedia interface connector through the multimedia output circuit In the disconnected state, the method further includes: the processing unit controls the second switch to turn on a line between the first pin and the third pin, and disconnect the second pin and a line between the third pins;
    所述处理单元控制所述输出通道处于接通状态、并控制所述输入通道处于断开状态,具体还包括:所述处理单元控制所述切换器断开所述第一管脚和所述第三管脚之间的线路,并接通所述第二管脚和所述第三管脚之间的线路。The processing unit controls the output channel to be in an on state and control the input channel to be in an off state, and specifically includes: the processing unit controls the switch to disconnect the first pin and the first A line between the three pins and a line between the second pin and the third pin.
  28. 一种实现接入设备检测的方法,其特征在于,所述方法应用于接入设备检测装置,所述接入设备检测装置包括:检测单元和馈电芯片,所述检测单元包括第一检测管脚和第二检测管脚,其中,所述检测单元的第一检测管脚和所述馈电芯片均与待检测多媒体接口连接器的馈电管脚相连,所述待检测多媒体接口连接器的热插拔检测管脚与所述检测单元的第二检测管脚相连并通过电阻接地;所述方法包括:A method for implementing detection of an access device, wherein the method is applied to an access device detecting device, the access device detecting device comprising: a detecting unit and a feeding chip, wherein the detecting unit comprises a first detecting tube And a second detecting pin, wherein the first detecting pin of the detecting unit and the feeding chip are both connected to a feeding pin of the multimedia interface connector to be detected, and the multimedia interface connector to be detected is The hot plug detection pin is connected to the second detection pin of the detecting unit and grounded through a resistor; the method includes:
    所述检测单元当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口 连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备。Determining, by the detecting unit, when the level of the feeding pin is high by the first detecting pin under the condition that the feeding pin is in a power-off state, determining the multimedia interface The device connected to the connector is an output device, and when the control pin is in a charged state, the level of the hot plug detection pin is detected as high by the second detecting pin. Usually, it is determined that the device to which the multimedia interface connector is connected is an input device.
  29. 根据权利要求28所述的接入设备检测装置,其特征在于,所述当在控制所述馈电管脚处于断电状态的条件下通过所述第一检测管脚检测到所述馈电管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输出设备,当在控制所述馈电管脚处于带电状态的条件下通过所述第二检测管脚检测到所述热插拔检测管脚的电平状态为高电平时,确定所述多媒体接口连接器所连接的设备为输入设备,具体包括:The access device detecting apparatus according to claim 28, wherein said feeding tube is detected by said first detecting pin while controlling said feeding pin to be in a power-off state When the level state of the pin is a high level, determining that the device connected to the multimedia interface connector is an output device, and detecting by the second detecting pin when controlling the feeding pin to be in a charged state When the level state of the hot plug detection pin is a high level, determining that the device connected to the multimedia interface connector is an input device, specifically includes:
    控制所述馈电管脚处于带电状态,并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备,并在检测到所述热插拔检测管脚的电平状态为低电平时控制所述馈电管脚转为断电状态并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备;或者,Controlling that the feed pin is in a charged state, and detecting a level state of the hot plug detection pin through the second detection pin, and detecting that a level state of the hot plug detection pin is Determining, when the level is high, determining that the device connected to the multimedia interface connector is an input device, and controlling the feed pin to be powered off when detecting that the level state of the hot plug detection pin is low And detecting, by the first detecting pin, a level state of the feeding pin, and determining that the device connected to the multimedia interface connector is when detecting that the level state of the feeding pin is a high level Output device; or,
    控制所述馈电管脚处于断电状态,并通过所述第一检测管脚检测所述馈电管脚的电平状态,在检测到所述馈电管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输出设备,并在检测到所述馈电管脚的电平状态为低电平时控制所述馈电管脚转为带电状态并通过所述第二检测管脚检测所述热插拔检测管脚的电平状态,在检测到所述热插拔检测管脚的电平状态为高电平时确定所述多媒体接口连接器所连接的设备为输入设备。Controlling that the feed pin is in a power-off state, and detecting a level state of the feed pin through the first detection pin, and detecting that a level state of the feed pin is a high level Determining that the device connected to the multimedia interface connector is an output device, and controlling the feeding pin to be in a charged state and passing the second when detecting that a level state of the feeding pin is a low level The detecting pin detects a level state of the hot plug detecting pin, and determines that the device connected to the multimedia interface connector is an input device when detecting that the level state of the hot plug detecting pin is a high level .
  30. 根据权利要求28或29所述的接入设备检测装置,其特征在于,所述接入设备检测装置还包括第一开关,所述第一开关串接在所述馈电管脚和所述馈电芯片之间;The access device detecting apparatus according to claim 28 or 29, wherein said access device detecting means further comprises a first switch, said first switch being serially connected to said feed pin and said feed Between electric chips;
    所述检测单元控制所述馈电管脚处于带电状态,具体包括:所述检测单元控制所述第一开关闭合; The detecting unit controls the feeding pin to be in a charged state, and specifically includes: the detecting unit controls the first switch to be closed;
    所述检测单元控制所述馈电管脚处于断电状态,具体包括:所述检测单元控制所述第一开关断开。The detecting unit controls the feeding pin to be in a power-off state, and specifically includes: the detecting unit controls the first switch to be disconnected.
  31. 根据权利要求28或29所述的方法,其特征在于,Method according to claim 28 or 29, characterized in that
    所述检测单元控制所述馈电管脚处于带电状态,具体包括:所述检测单元向所述馈电芯片发送使能信号,以使所述馈电芯片为所述馈电管脚供电;The detecting unit controls the feeding pin to be in a charging state, and specifically includes: the detecting unit sends an enabling signal to the feeding chip, so that the feeding chip supplies power to the feeding pin;
    所述检测单元控制所述馈电管脚处于断电状态,具体包括:所述检测单元向所述馈电芯片发送关闭使能信号,以使所述馈电芯片不为所述馈电管脚供电。 The detecting unit controls the feeding pin to be in a power-off state, and specifically includes: the detecting unit sends a shutdown enable signal to the feeding chip, so that the feeding chip is not the feeding pin powered by.
PCT/CN2014/096063 2014-12-31 2014-12-31 Method and apparatus for achieving multimedia interface configuration WO2016106751A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/096063 WO2016106751A1 (en) 2014-12-31 2014-12-31 Method and apparatus for achieving multimedia interface configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/096063 WO2016106751A1 (en) 2014-12-31 2014-12-31 Method and apparatus for achieving multimedia interface configuration

Publications (1)

Publication Number Publication Date
WO2016106751A1 true WO2016106751A1 (en) 2016-07-07

Family

ID=56284021

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/096063 WO2016106751A1 (en) 2014-12-31 2014-12-31 Method and apparatus for achieving multimedia interface configuration

Country Status (1)

Country Link
WO (1) WO2016106751A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515668A (en) * 2019-08-27 2019-11-29 合肥惠科金扬科技有限公司 A kind of display starting method and display
CN111522766A (en) * 2020-04-27 2020-08-11 浙江大华技术股份有限公司 Communication system, method, device, equipment and storage medium thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393732A (en) * 2007-09-18 2009-03-25 中强光电股份有限公司 Interface device and method for writing spreading display recognition data
CN101477501A (en) * 2008-01-02 2009-07-08 环隆电气股份有限公司 Data transmission system and method
US20120159032A1 (en) * 2010-12-21 2012-06-21 Nikon Corporation Electronic device and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101393732A (en) * 2007-09-18 2009-03-25 中强光电股份有限公司 Interface device and method for writing spreading display recognition data
CN101477501A (en) * 2008-01-02 2009-07-08 环隆电气股份有限公司 Data transmission system and method
US20120159032A1 (en) * 2010-12-21 2012-06-21 Nikon Corporation Electronic device and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515668A (en) * 2019-08-27 2019-11-29 合肥惠科金扬科技有限公司 A kind of display starting method and display
CN110515668B (en) * 2019-08-27 2023-01-17 重庆惠科金扬科技有限公司 Display starting method and display
CN111522766A (en) * 2020-04-27 2020-08-11 浙江大华技术股份有限公司 Communication system, method, device, equipment and storage medium thereof
CN111522766B (en) * 2020-04-27 2022-03-01 浙江大华技术股份有限公司 Communication system, method, device, equipment and storage medium thereof

Similar Documents

Publication Publication Date Title
TWI552562B (en) Method, apparatus and system for transitioning an audio/video device between a source mode and a sink mode
US10986318B2 (en) Electronic apparatus
US20160085280A1 (en) Adaptive power configuration for a mhl and hdmi combination multimedia device
WO2016169140A1 (en) Circuit, method and apparatus for usb interface sharing
WO2018103417A1 (en) Terminal apparatus, read-write apparatus, data transmission system and hardware initialization method
TWI757646B (en) Usb device and operation method thereof
US9287706B2 (en) Intelligent power strip connecting master and slave peripheral device(s) wherein the master can be detected when connected to any outlet of the power strip
US10963027B2 (en) Methods and apparatus for safe negotiation of high current for active cable assemblies
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
WO2018116399A1 (en) Image display device, connection method of image display device, and multi-display system
JP6661342B2 (en) Port connection circuit, port connection control method, electronic equipment
WO2014049686A1 (en) Hdmi device, communication system, and hot-plug control method
WO2019128330A1 (en) Processing method and handheld device
US11054880B2 (en) Display apparatus for supplying power to external apparatus, method thereof, and computer-readable medium
CN109478176A (en) A kind of methods, devices and systems of USB Type-C port device identification opposite equip.
KR20210006476A (en) Connector and charging control method using connector
CN111246199B (en) Control method and device for camera test, terminal equipment and storage medium
WO2016106751A1 (en) Method and apparatus for achieving multimedia interface configuration
EP3208720B1 (en) Display device and method for implementing new-connection notification function for mhl signal source
US10918261B2 (en) Power supply control system and power supply control method
US20180314317A1 (en) Electronic device and method
US11322970B2 (en) Device with power-off charging capability
JP2014002448A (en) Information processing device, information processing method and information processing program
TWI731701B (en) Electronic display system and screen brightness adjusting method thereof
WO2022226849A1 (en) Plug/unplug-type display system and power-on method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14909557

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14909557

Country of ref document: EP

Kind code of ref document: A1