WO2017050151A1 - Function switching circuit and gateway type set top box - Google Patents

Function switching circuit and gateway type set top box Download PDF

Info

Publication number
WO2017050151A1
WO2017050151A1 PCT/CN2016/098821 CN2016098821W WO2017050151A1 WO 2017050151 A1 WO2017050151 A1 WO 2017050151A1 CN 2016098821 W CN2016098821 W CN 2016098821W WO 2017050151 A1 WO2017050151 A1 WO 2017050151A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
trigger
top box
set top
channel enhancement
Prior art date
Application number
PCT/CN2016/098821
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 深圳市九洲电器有限公司
Publication of WO2017050151A1 publication Critical patent/WO2017050151A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43632Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wired protocol, e.g. IEEE 1394
    • H04N21/43635HDMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4436Power management, e.g. shutting down unused components of the receiver

Definitions

  • the present invention relates to the field of digital home technology, and in particular, to an automatic switching circuit for a high-definition home gateway type set top box function.
  • the present invention aims to overcome the defect that the TV function and the Internet access function cannot be automatically switched in the gateway type set top box of the prior art, and provides an automatic switching circuit for the high-definition home gateway type set top box function.
  • the present invention provides a function switching circuit for a gateway type set top box, comprising: a network interface, connected between a modem of a set top box and a PC, for transmitting a network cable insertion state of the PC to the first The trigger circuit; the HDMI interface is connected between the set top box and the television, and is configured to send the state of the television to the second trigger circuit; the first trigger circuit, the input end is connected to the green power pin of the network interface, and the output terminal is connected to the judgment circuit.
  • An input terminal is configured to output a modem trigger signal to the determining circuit according to the network cable insertion state of the PC; the second trigger circuit, the input end is connected to the hot plug detection pin of the HDMI interface, and the second input end of the output terminal connection judging circuit is used for
  • the television trigger signal is output to the judging circuit according to the state of the television; the judging circuit is connected to the switching circuit for determining whether the set top box enters the switching state according to the trigger signal of the television and the trigger signal of the modem; Control whether the set-top box performs function according to the judgment result of the judgment circuit Change.
  • the first trigger circuit may include an N-channel enhancement type MOS transistor Q01, a diode D01, and a resistor R01, and a gate of the N-channel enhancement type MOS transistor Q01 serves as a first trigger circuit.
  • the input terminal is connected to the green power supply pin of the network interface, the drain connection diode D01 cathode, and the source is grounded.
  • the anode of the diode D01 is used as the output end of the first trigger circuit to connect the first input end of the judging circuit, and the end of the resistor R0 1 is connected.
  • the anode of the diode D01 is connected to the power supply at the other end.
  • the second trigger circuit may include a P-channel enhancement type MOS transistor Q02, a diode D 02, and a resistor R03, and a gate of the P-channel enhancement type MOS transistor Q02 serves as a second trigger circuit.
  • the input end is connected to the hot plug detection pin of the HDMI interface, the cathode of the drain connection diode D02, and the source is grounded.
  • the anode of the diode D02 is connected as the output end of the first trigger circuit to the first input end of the judging circuit, and the resistor R0 3 -
  • the terminal is connected to the anode of the diode D02, and the other end is connected to the power supply.
  • the determining circuit may be an AND circuit of two series-connected N-channel enhancement type MOS tubes and two parallel P-channel enhancement type MOS tubes, and two inputs of the AND gate circuit.
  • the terminals are respectively connected to the output ends of the first trigger circuit and the second trigger circuit, and the output terminals are connected to the switching circuit.
  • the switching circuit includes a transistor Q21, an N-channel enhancement MOS transistor Q20, and an inductor L1.
  • the base of the transistor Q21 is connected to the output terminal, the emitter is grounded, and the source is connected to the N-channel.
  • the gate of the channel enhancement type MOS transistor, the source of the N-channel enhancement type MOS transistor Q20 is connected to the DC/DC module, and the drain is connected to the modem through the inductor L1.
  • the present invention provides a gateway type set top box, the gateway type set top box including the function switching circuit of the present invention.
  • the present invention has the following advantages: the first trigger circuit detects the network cable insertion state, and the standby trigger signal is issued, and the second trigger circuit detects the state of the television.
  • the standby trigger signal is sent out, and the detection process is simple, convenient and effective.
  • the judgment circuit determines whether the set-top box is switched by the two trigger signals, and realizes the automatic switching of the TV function and the Internet function of the home gateway type set-top box.
  • DRAWINGS 1 is a schematic structural diagram of a function switching circuit according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a network interface status light in a function switching circuit according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an HDMI interface in a function switching circuit according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a first trigger circuit in a function switching circuit according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a second trigger circuit in a function switching circuit according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a determination circuit in a function switching circuit according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a switching circuit in a function switching circuit according to an embodiment of the present invention.
  • the high-definition home gateway type set top box function automatic switching circuit of the present invention includes
  • a network interface connected between the set-top box (cable modem) and the PC, the same as the first trigger circuit, for transmitting the network cable insertion state of the PC to the first trigger circuit;
  • an HDMI interface connected between the set top box and the television, and connected to the second trigger circuit for transmitting the state of the television to the second trigger circuit
  • the first trigger circuit the input end is connected to the green power pin of the network interface, and the first input end of the output connection determining circuit is configured to output different trigger signals of the modem to the determining circuit according to the network cable insertion state of the PC;
  • a second trigger circuit the input end is connected to the hot plug detection pin of the HDMI interface, and the second end of the output end connection judging circuit; and is configured to output different trigger signals of the television to the judging circuit according to the state of the television;
  • a determining circuit the output end is connected to the switching circuit, and configured to determine, according to the trigger signal of the television and the trigger signal of the modem, whether the set top box enters a switching state;
  • the switching circuit is connected to the modem of the set top box, and is configured to control whether the set top box performs function switching according to the judgment result of the determining circuit.
  • FIG. 2 is a schematic diagram of a network interface status light
  • the 13-pin is a green light power supply
  • the 14-pin is a green light control.
  • Signal 15 feet for orange light power
  • the network interface phy When the PC network cable is plugged into the network interface, the network interface phy will have two lights: one is an orange light and the other is a green light.
  • the green light is the indicator of the connection status, that is, the link light.
  • the status indicator In the normal state, when the network cable is connected, the status indicator is green and steady; the orange light is the signal transmission indicator, and the normal is non-stop. Blinking, indicating a signal transmission.
  • the present invention detects the green light status to determine whether the user uses the network function.
  • the 19th pin is a hot plug detection pin, and the present invention determines the state of the television set by detecting the level of the hot plug pin (working state or Standby/off state) to determine whether to enable the automatic switching function.
  • the STB (set-top box) device After the STB (set-top box) device is powered on, it will detect whether the HPD pin (hot plug detection pin) is pulled up to 2V or more (the main judgment basis). If yes, the set-top box device reads the EDID through DDC (Display data channel). The information determines the resolution that the TV can support; the same set-top box device detects whether the TMDS signal is pulled up to 3.3V, and then outputs the pull-up TMDS signal, and the set-top box device outputs the currently set resolution signal to the television.
  • DDC Display data channel
  • the first flip-flop circuit includes an N-channel enhancement type MOS transistor Q01, a diode D01, and a resistor R0 1, and the gate of the N-channel enhancement type MOS transistor Q01 serves as an input of the first flip-flop circuit.
  • the green power supply pin of the end connection network interface, the cathode of the drain connection diode D01, and the source are grounded, and the anode of the diode D01 is connected as the output end of the first trigger circuit to the first input end of the judging circuit, and the resistor R01 is connected to the diode. Connect the anode to the other end.
  • a resistor Rl l is further disposed between the gate of the N-channel enhancement type MOS transistor Q01 and the green signal signal pin connected to the network interface, and a resistor is disposed between the drain of the N-channel enhancement type MOS transistor Q01 and the cathode of the diode D01. R02, the drain of the N-channel enhancement type MOS transistor Q01 is also connected to the power source through the resistor R20.
  • the working principle of the first trigger circuit is: When the network cable with the PC is pulled out, the green power pin of the network interface, that is, the GREEN_LED pin is pulled to a low level, and the N connected to the green power pin is The channel enhancement type MOS transistor Q01 will be turned off, the A1 point is pulled to the high level, and the diode D01 is turned off, so that the output terminal CHECK_GREEN_LED of the first trigger circuit outputs a high level; otherwise, when the network cable of the PC is inserted, the GREE N_LED pin is High level, N-channel enhancement MOS transistor Q01 is turned on, diode D01 is also turned on, CHECK The _GREEN_LED terminal maintains a low level output. CHECK_GREEN_LED terminal low output ⁇ description ca ble
  • the modem module works normally, waiting for the trigger signal.
  • the CHECK_GREEN_LED terminal changes from low level to high level, indicating that the network function is automatically turned off, that is, the high level is equivalent to the trigger signal of the network function being turned off. .
  • the second flip-flop circuit includes a P-channel enhancement type MOS transistor Q02, a diode D02, and a resistor R0 3, and the gate of the P-channel enhancement type MOS transistor Q02 serves as an input of the second trigger circuit.
  • the hot plug detection pin connected to the HDMI interface, the drain connection diode D02 cathode, and the source ground, the diode anode as the output end of the first trigger circuit is connected to the first input end of the judging circuit, and the resistor R03 is connected to the diode D02 anode, the other end is connected to the power supply.
  • a resistor R05 is further disposed between the gate of the P-channel enhancement type MOS transistor Q02 and the green signal signal pin connected to the network interface, and a resistor is provided between the drain of the P-channel enhancement type MOS transistor Q02 and the cathode of the diode D 02. R04, the drain of P-channel enhancement MOS transistor Q02 is also connected to the power supply through resistor R06.
  • the working principle of the second trigger circuit is: When the television enters the standby or power-off state, the hot plug detection pin of the HDMI interface, that is, the HDMI_TX_HOTPLUG pin is pulled to a low level, and the P connected to the hot plug detection pin The channel enhancement type MOS transistor Q02 will be turned on, the B1 point is pulled to a low level, and the diode D02 is turned on, so that the second trigger circuit output terminal CHECK_HDMI outputs a low level; otherwise, when the television is in a working state, heat The plug detection pin is high, the P-channel enhancement MOS transistor Q02 is turned off, the diode D02 is also turned off, and the CHECK_HDMI terminal is kept high output.
  • CHECK_HDMI high-level output ⁇ indicates that the TV is working normally, waiting for the trigger signal, when a certain CHECK_HDMI terminal turns from high level to low level, it means the TV enters standby state or shuts down, that is, the low The level is equivalent to the trigger signal that the TV enters standby or is turned off.
  • the judging circuit is an AND gate circuit composed of two N-channel enhancement type MOS transistors Q11 and Q10 connected in series and two parallel P-channel enhancement type MOS transistors Q13 and Q12. The two input ends are respectively connected to the output ends of the first trigger circuit and the second trigger circuit, and the output terminal is connected to the switching circuit.
  • the gates of two parallel P-channel enhancement type MOS transistors Q13 and Q12 are respectively connected to the output ends of the first trigger circuit and the second trigger circuit, the input terminal of the drain connection modem, and the source ground, and the two series connection
  • the gates of the N-channel enhancement type MOS transistors Q11 and Q10 are respectively connected to the input of the first trigger circuit and the second trigger circuit
  • the source of the N-channel enhancement type MOS transistor Q10 is connected to the power supply
  • the drain is connected to the source of the N-channel enhancement type MOS transistor Q11
  • the drain of the N-channel enhancement type MOS transistor Q11 is connected to the switching circuit.
  • Outputting a high level or low level will cause the cable modem function module to be in a working state or in a standby state, thereby enabling the state of the function module to be switched. That is, the circuit is judged to enter the function switching state only when the television is operating and the network cable is pulled out to switch to the standby state.
  • MODEM_TURNOFF is 1 for the cable modem to switch to the standby state, and 0 for the switch to the working state;
  • FIG. 7 is a schematic diagram of a switching circuit, including a transistor Q21, an N-channel enhancement type MOS transistor Q20, and an inductor L1.
  • the base of the transistor Q21 is connected to the output terminal of the judgment circuit through the resistor R42, and the emitter is grounded.
  • the source is connected to the gate of the N-channel enhancement type MOS transistor
  • the source of the N-channel enhancement type MOS transistor Q20 is connected to the DC/DC module
  • the drain is connected to the modem through the inductor L1, and the two ends of the inductor L1 are respectively grounded.
  • Capacitor C35 and capacitor C36, a resistor R24 is provided between the source and the drain of the N-channel enhancement type MOS transistor, and a resistor R9 is provided between the source and the gate of the N-channel enhancement type MOS transistor.
  • the three-stage tube Q21 When the MODEM_TURNOFF terminal is high level, the three-stage tube Q21 is turned on, the N-channel enhancement type MOS tube Q20 is turned off, the cable modem module network is cut off and enters the standby state; when the MODEM_TURNOFF is low level, the three-stage tube Q21 is cut off. The N-channel enhancement type MOS transistor Q20 is turned on, and the cable modem module enters a working state.
  • the MODE M_TURNOFF is used to control the conduction and disconnection of +3.3V_CM and +3.3V_CABLEMODEM, thereby controlling the cable.
  • the modem module is in a working or standby state.
  • +3.3V_CM is the external DC/DC power supply
  • +3.3V_C ABLEMODEM is the power supply network for the cable modem.
  • the function module enters standby only when the TV is working and no network cable is plugged in.
  • the cable modem After the PC and the cable modem module on the set top box are disconnected, the cable modem automatically enters the standby state and turns off the network function; when the network cable is inserted, the cable modem module works normally, waiting for the trigger signal; the television enters After the standby state or shutdown, the Internet access module can be automatically activated. When the TV is working normally, the network function is automatically turned off. The circuit is in the ready state, waiting for the trigger signal.
  • the circuit primarily determines the state of the television by hot plugging the level of the detected foot to determine whether to initiate the automatic switching function.
  • the first trigger circuit detects the insertion condition (insertion or break) of the PC cable through the level of the green power pin, and outputs a different signal, and outputs a standby signal (low level/trigger signal) to the judgment.
  • the circuit is inserted into the output signal (high level) to the decision circuit.
  • the second trigger circuit detects the state of the television (working or standby) through the level of the HPD pin, outputs different signals, and standbys the output standby signal (low level/trigger signal) to the judgment circuit, and works ⁇ Output the working signal (high level) to the judgment circuit.
  • the judging circuit jointly judges the state that the cable modem module should be in accordance with the received two input signals indicating the operation of the network module and the standby state (ie, standby or working):
  • the switching circuit controls the power-on and power-off state of the cable modem according to the determination result, thereby causing the gateway module to automatically switch the state.
  • the first trigger circuit is used to detect the insertion state of the network cable, and the standby trigger signal is issued, and the state of the television is detected by the second trigger circuit, and the standby trigger is issued.
  • the detection process is simple, convenient and effective.
  • the judging circuit judges whether the set-top box enters and switches between the two trigger signals, thereby realizing automatic switching of the TV function and the Internet access function of the home gateway type set-top box, without manual operation by the user, and saving resources.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Electronic Switches (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed are a function switching circuit for a gateway type set top box and a gateway type set top box. The function switching circuit comprises: a network interface for sending a network cable insertion state of a PC machine to a first trigger circuit; an HDMI interface for sending the state of a television to a second trigger circuit; the first trigger circuit for outputting different trigger signals of a modem to a judgement circuit according to the network cable insertion state of the PC machine; the second trigger circuit for outputting different trigger signals of the television to the judgement circuit according to the state of the television; the judgement circuit for judging whether the set top box enters a switching state according to a trigger signal of the television and a trigger signal of the modem; and a switching circuit for controlling the set top box whether to perform function switching according to a judgement result of the judgement circuit. The automatic switching between a television watching function and an Internet access function of the gateway type set top box can be realized, and the implementation is convenient, simple and effective.

Description

说明书 发明名称:功能切换电路及网关式机顶盒 技术领域  Title: Invention Name: Function Switching Circuit and Gateway Type Set Top Box
[0001] 本发明涉及数字家庭技术领域, 具体涉及一种高清家庭网关式机顶盒功能自动 切换电路。  [0001] The present invention relates to the field of digital home technology, and in particular, to an automatic switching circuit for a high-definition home gateway type set top box function.
背景技术  Background technique
[0002] 高清家庭网关式机顶盒在使用过程中, 通常看电视功能和上网功能不会同吋使 用。 然而, 现有技术的机顶盒的电视功能和上网功能往往是同吋持续工作的, 这造成了资源的巨大浪费。  [0002] In the process of using the HD home gateway type set-top box, the TV function and the Internet access function are usually not used together. However, the TV function and the Internet access function of the set-top box of the prior art often continue to work at the same time, which causes a huge waste of resources.
[0003] 也可以通过手动操作, 在不需要或不使用吋关闭机顶盒的电视功能或上网功能[0003] It is also possible to manually turn off the TV function or the Internet function of the set-top box without or without using 吋
, 然而这又会给用户造成不便。 However, this will cause inconvenience to the user.
技术问题  technical problem
[0004] 本发明旨在克服现有技术的网关式机顶盒中电视功能和上网功能不能自动切换 的缺陷, 提供一种高清家庭网关式机顶盒功能自动切换电路。  [0004] The present invention aims to overcome the defect that the TV function and the Internet access function cannot be automatically switched in the gateway type set top box of the prior art, and provides an automatic switching circuit for the high-definition home gateway type set top box function.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0005] 为解决上述技术问题, 本发明提供以下技术方案: [0005] In order to solve the above technical problem, the present invention provides the following technical solutions:
[0006] 一方面, 本发明提供一种用于网关式机顶盒的功能切换电路, 包括: 网络接口 , 连接在机顶盒的调制解调器与 PC机之间, 用于将 PC机的网线插入状态发送至 第一触发电路; HDMI接口, 连接在机顶盒与电视之间, 用于将电视机的状态发 送至第二触发电路; 第一触发电路, 输入端连接网络接口的绿灯电源管脚、 输 出端连接判断电路第一输入端, 用于根据 PC机的网线插入状态向判断电路输出 调制解调器触发信号; 第二触发电路, 输入端连接 HDMI接口的热插拔检测脚、 输出端连接判断电路第二输入端, 用于根据电视机的状态向判断电路输出电视 机触发信号; 判断电路, 其输出端连接切换电路, 用于根据电视机的触发信号 和调制解调器的触发信号判断是机顶盒否进入切换状态; 切换电路, 用于根据 判断电路的判断结果控制机顶盒是否进行功能切换。 [0007] 一些实施例中, 所述第一触发电路可以包括 N沟道增强型 MOS管 Q01、 二极管 D01和电阻 R01, 所述 N沟道增强型 MOS管 Q01的栅极作为第一触发电路的输入 端连接网络接口的绿灯电源管脚、 漏极连接二极管 D01阴极、 源极接地, 所述二 极管 D01阳极作为第一触发电路的输出端连接判断电路第一出入端, 所述电阻 R0 1一端连接二极管 D01阳极、 另一端连接电源。 [0006] In one aspect, the present invention provides a function switching circuit for a gateway type set top box, comprising: a network interface, connected between a modem of a set top box and a PC, for transmitting a network cable insertion state of the PC to the first The trigger circuit; the HDMI interface is connected between the set top box and the television, and is configured to send the state of the television to the second trigger circuit; the first trigger circuit, the input end is connected to the green power pin of the network interface, and the output terminal is connected to the judgment circuit. An input terminal is configured to output a modem trigger signal to the determining circuit according to the network cable insertion state of the PC; the second trigger circuit, the input end is connected to the hot plug detection pin of the HDMI interface, and the second input end of the output terminal connection judging circuit is used for The television trigger signal is output to the judging circuit according to the state of the television; the judging circuit is connected to the switching circuit for determining whether the set top box enters the switching state according to the trigger signal of the television and the trigger signal of the modem; Control whether the set-top box performs function according to the judgment result of the judgment circuit Change. In some embodiments, the first trigger circuit may include an N-channel enhancement type MOS transistor Q01, a diode D01, and a resistor R01, and a gate of the N-channel enhancement type MOS transistor Q01 serves as a first trigger circuit. The input terminal is connected to the green power supply pin of the network interface, the drain connection diode D01 cathode, and the source is grounded. The anode of the diode D01 is used as the output end of the first trigger circuit to connect the first input end of the judging circuit, and the end of the resistor R0 1 is connected. The anode of the diode D01 is connected to the power supply at the other end.
[0008] 一些实施例中, 所述第二触发电路可以包括 P沟道增强型 MOS管 Q02、 二极管 D 02和电阻 R03, 所述 P沟道增强型 MOS管 Q02的栅极作为第二触发电路的输入端 连接 HDMI接口的热插拔检测脚、 漏极连接二极管 D02阴极、 源极接地, 所述二 极管 D02阳极作为第一触发电路的输出端连接判断电路第一出入端, 所述电阻 R0 3—端连接二极管 D02阳极、 另一端连接电源。  In some embodiments, the second trigger circuit may include a P-channel enhancement type MOS transistor Q02, a diode D 02, and a resistor R03, and a gate of the P-channel enhancement type MOS transistor Q02 serves as a second trigger circuit. The input end is connected to the hot plug detection pin of the HDMI interface, the cathode of the drain connection diode D02, and the source is grounded. The anode of the diode D02 is connected as the output end of the first trigger circuit to the first input end of the judging circuit, and the resistor R0 3 - The terminal is connected to the anode of the diode D02, and the other end is connected to the power supply.
[0009] 一些实施例中, 所述判断电路可以为两个串联的 N沟道增强型 MOS管和两个并 联的 P沟道增强型 MOS管组成的与门电路, 与门电路的两个输入端分别连接第一 触发电路和第二触发电路的输出端、 输出端连接切换电路。  In some embodiments, the determining circuit may be an AND circuit of two series-connected N-channel enhancement type MOS tubes and two parallel P-channel enhancement type MOS tubes, and two inputs of the AND gate circuit. The terminals are respectively connected to the output ends of the first trigger circuit and the second trigger circuit, and the output terminals are connected to the switching circuit.
[0010] 一些实施例中, 所述切换电路包括三极管 Q21、 N沟道增强型 MOS管 Q20和电 感 Ll, 所述三极管 Q21的基极连接判断电路输出端、 发射极接地、 源极连接 N沟 道增强型 MOS管的栅极, 所述 N沟道增强型 MOS管 Q20的源极连接 DC/DC模块、 漏极通过电感 L1连接调制解调器。  [0010] In some embodiments, the switching circuit includes a transistor Q21, an N-channel enhancement MOS transistor Q20, and an inductor L1. The base of the transistor Q21 is connected to the output terminal, the emitter is grounded, and the source is connected to the N-channel. The gate of the channel enhancement type MOS transistor, the source of the N-channel enhancement type MOS transistor Q20 is connected to the DC/DC module, and the drain is connected to the modem through the inductor L1.
[0011] 另一方面, 本发明提供一种网关式机顶盒, 所述网关式机顶盒包括本发明所述 的功能切换电路。  In another aspect, the present invention provides a gateway type set top box, the gateway type set top box including the function switching circuit of the present invention.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0012] 与现有技术相比, 本发明的有益效果在于: 通过第一触发电路对网线插入状态 进行检测, 随吋发出待机的触发信号, 通过第二触发电路对电视机状态进行检 测, 随吋发出待机的触发信号, 检测过程简单方便、 有效, 通过判断电路对两 个触发信号进行判断机顶盒否进入切换, 实现了家庭网关式机顶盒看电视功能 和上网功能的自动切换。  [0012] Compared with the prior art, the present invention has the following advantages: the first trigger circuit detects the network cable insertion state, and the standby trigger signal is issued, and the second trigger circuit detects the state of the television. The standby trigger signal is sent out, and the detection process is simple, convenient and effective. The judgment circuit determines whether the set-top box is switched by the two trigger signals, and realizes the automatic switching of the TV function and the Internet function of the home gateway type set-top box.
对附图的简要说明  Brief description of the drawing
附图说明 [0013] 图 1为本发明实施例的功能切换电路的结构示意图。 DRAWINGS 1 is a schematic structural diagram of a function switching circuit according to an embodiment of the present invention.
[0014] 图 2为本发明实施例的功能切换电路中网络接口状态灯的示意图。  2 is a schematic diagram of a network interface status light in a function switching circuit according to an embodiment of the present invention.
[0015] 图 3为本发明实施例的功能切换电路中 HDMI接口的示意图。  3 is a schematic diagram of an HDMI interface in a function switching circuit according to an embodiment of the present invention.
[0016] 图 4为本发明实施例的功能切换电路中第一触发电路的示意图。  4 is a schematic diagram of a first trigger circuit in a function switching circuit according to an embodiment of the present invention.
[0017] 图 5为本发明实施例的功能切换电路中第二触发电路的示意图。  5 is a schematic diagram of a second trigger circuit in a function switching circuit according to an embodiment of the present invention.
[0018] 图 6为本发明实施例的功能切换电路中判断电路的示意图。  6 is a schematic diagram of a determination circuit in a function switching circuit according to an embodiment of the present invention.
[0019] 图 7为本发明实施例的功能切换电路中切换电路的示意图。  7 is a schematic diagram of a switching circuit in a function switching circuit according to an embodiment of the present invention.
[0020] 图 8为本发明实施例的功能切换电路的工作流程图。  8 is a flowchart of the operation of the function switching circuit according to an embodiment of the present invention.
本发明的实施方式 Embodiments of the invention
[0021] 为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图及实施例 [0021] In order to make the objects, technical solutions and advantages of the present invention more clear, the following is in conjunction with the accompanying drawings and embodiments.
, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实施例仅用以 解释本发明, 并不用于限定本发明。 The present invention will be further described in detail. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0022] 如图 1所示, 本发明高清家庭网关式机顶盒功能自动切换电路包括 [0022] As shown in FIG. 1, the high-definition home gateway type set top box function automatic switching circuit of the present invention includes
[0023] 网络接口, 连接在机顶盒的调制解调器 (cable modem) 与 PC机之间, 同吋与 第一触发电路连接, 用于将 PC机的网线插入状态发送至第一触发电路; [0023] a network interface, connected between the set-top box (cable modem) and the PC, the same as the first trigger circuit, for transmitting the network cable insertion state of the PC to the first trigger circuit;
[0024] HDMI接口, 连接在机顶盒与电视之间, 同吋与第二触发电路连接, 用于将电 视机的状态发送至第二触发电路; [0024] an HDMI interface, connected between the set top box and the television, and connected to the second trigger circuit for transmitting the state of the television to the second trigger circuit;
[0025] 第一触发电路, 输入端连接网络接口的绿灯电源管脚、 输出端连接判断电路第 一输入端, 用于根据 PC机的网线插入状态向判断电路输出调制解调器的不同触 发信号; [0025] The first trigger circuit, the input end is connected to the green power pin of the network interface, and the first input end of the output connection determining circuit is configured to output different trigger signals of the modem to the determining circuit according to the network cable insertion state of the PC;
[0026] 第二触发电路, 输入端连接 HDMI接口的热插拔检测脚、 输出端连接判断电路 第二输入端; 用于根据电视机的状态向判断电路输出电视机的不同触发信号; [0026] a second trigger circuit, the input end is connected to the hot plug detection pin of the HDMI interface, and the second end of the output end connection judging circuit; and is configured to output different trigger signals of the television to the judging circuit according to the state of the television;
[0027] 判断电路, 输出端连接切换电路, 用于根据电视机的触发信号和调制解调器的 触发信号判断是机顶盒否进入切换状态; [0027] a determining circuit, the output end is connected to the switching circuit, and configured to determine, according to the trigger signal of the television and the trigger signal of the modem, whether the set top box enters a switching state;
[0028] 切换电路, 输出端连接机顶盒的调制解调器, 用于根据判断电路的判断结果控 制机顶盒是否进行功能切换。  [0028] The switching circuit is connected to the modem of the set top box, and is configured to control whether the set top box performs function switching according to the judgment result of the determining circuit.
[0029] 如图 2所示, 为网络接口状态灯的示意图, 其 13脚为绿灯电源, 14脚为绿灯控 制信号, 15脚为橙色灯电源, 16脚为橙色灯橙色灯控制信号。 [0029] As shown in FIG. 2, which is a schematic diagram of a network interface status light, the 13-pin is a green light power supply, and the 14-pin is a green light control. Signal, 15 feet for orange light power, 16 feet for orange light orange light control signal.
[0030] 当 PC机网线插入网络接口吋, 网络接口 phy会有两个灯亮: 一个是橙黄色的灯 , 一个是绿色的灯。 绿色的灯为连接状态的指示灯, 即 link灯, 正常状态下, 当 有网线接入吋, 此状态指示灯呈现绿色且常亮; 橙黄色的灯为信号传输指示灯 , 正常为不停的闪烁, 表示有信号传输。 本发明通检测绿灯状态来判断用户是 否使用网络功能。 [0030] When the PC network cable is plugged into the network interface, the network interface phy will have two lights: one is an orange light and the other is a green light. The green light is the indicator of the connection status, that is, the link light. In the normal state, when the network cable is connected, the status indicator is green and steady; the orange light is the signal transmission indicator, and the normal is non-stop. Blinking, indicating a signal transmission. The present invention detects the green light status to determine whether the user uses the network function.
[0031] 如图 3所示, 为 HDMI (数字高清多媒体) 接口的示意图, 其 19脚为热插拔检测 脚, 本发明通过检测热插拔脚的电平来确定电视机的状态 (工作状态或待机 /关 机状态) , 从而确定是否启动自动切换的功能。  [0031] As shown in FIG. 3, which is a schematic diagram of an HDMI (Digital High Definition Multimedia) interface, the 19th pin is a hot plug detection pin, and the present invention determines the state of the television set by detecting the level of the hot plug pin (working state or Standby/off state) to determine whether to enable the automatic switching function.
[0032] 机顶盒与电视机间 HDMI接口的协商过程如下:  [0032] The negotiation process of the HDMI interface between the set-top box and the TV is as follows:
[0033] STB (机顶盒) 设备上电后会检测 HPD脚 (热插拔检测脚) 是否被上拉到 2V以 上 (主要的判断依据) , 若是则机顶盒设备通过 DDC (Display data channel) 读 取 EDID信息以确定电视机能支持的分辨率; 同吋机顶盒设备检测 TMDS信号是 否被上拉到 3.3V, 是则输出该上拉的 TMDS信号, 机顶盒设备输出目前设置的分 辨率的信号到电视机。  [0033] After the STB (set-top box) device is powered on, it will detect whether the HPD pin (hot plug detection pin) is pulled up to 2V or more (the main judgment basis). If yes, the set-top box device reads the EDID through DDC (Display data channel). The information determines the resolution that the TV can support; the same set-top box device detects whether the TMDS signal is pulled up to 3.3V, and then outputs the pull-up TMDS signal, and the set-top box device outputs the currently set resolution signal to the television.
[0034] 如图 4所示, 第一触发电路包括 N沟道增强型 MOS管 Q01、 二极管 D01和电阻 R0 1, 所述 N沟道增强型 MOS管 Q01的栅极作为第一触发电路的输入端连接网络接 口的绿灯电源管脚、 漏极连接二极管 D01阴极、 源极接地, 所述二极管 D01阳极 作为第一触发电路的输出端连接判断电路第一出入端, 所述电阻 R01—端连接二 极管阳极、 另一端连接电源。 在 N沟道增强型 MOS管 Q01的栅极与连接网络接口 的绿灯信号管脚之间还设有电阻 Rl l, N沟道增强型 MOS管 Q01的漏极与二极管 D01阴极之间设有电阻 R02, N沟道增强型 MOS管 Q01的漏极还通过电阻 R20连接 至电源。  As shown in FIG. 4, the first flip-flop circuit includes an N-channel enhancement type MOS transistor Q01, a diode D01, and a resistor R0 1, and the gate of the N-channel enhancement type MOS transistor Q01 serves as an input of the first flip-flop circuit. The green power supply pin of the end connection network interface, the cathode of the drain connection diode D01, and the source are grounded, and the anode of the diode D01 is connected as the output end of the first trigger circuit to the first input end of the judging circuit, and the resistor R01 is connected to the diode. Connect the anode to the other end. A resistor Rl l is further disposed between the gate of the N-channel enhancement type MOS transistor Q01 and the green signal signal pin connected to the network interface, and a resistor is disposed between the drain of the N-channel enhancement type MOS transistor Q01 and the cathode of the diode D01. R02, the drain of the N-channel enhancement type MOS transistor Q01 is also connected to the power source through the resistor R20.
[0035] 第一触发电路的工作原理为: 当带有 PC机的网线拔出吋, 网络接口的绿灯电源 管脚即 GREEN_LED脚被拉至低电平, 此吋与绿灯电源管脚连接的 N沟道增强型 MOS管 Q01将会截止, A1点被拉至高电平, 二极管 D01截止, 使得第一触发电路 的输出端 CHECK_GREEN_LED输出高电平; 反之当 PC机的网线插入吋, GREE N_LED脚为高电平, N沟道增强型 MOS管 Q01导通, 二极管 D01也导通, CHECK _GREEN_LED端保持低电平输出。 CHECK_GREEN_LED端低电平输出吋说明 ca ble [0035] The working principle of the first trigger circuit is: When the network cable with the PC is pulled out, the green power pin of the network interface, that is, the GREEN_LED pin is pulled to a low level, and the N connected to the green power pin is The channel enhancement type MOS transistor Q01 will be turned off, the A1 point is pulled to the high level, and the diode D01 is turned off, so that the output terminal CHECK_GREEN_LED of the first trigger circuit outputs a high level; otherwise, when the network cable of the PC is inserted, the GREE N_LED pin is High level, N-channel enhancement MOS transistor Q01 is turned on, diode D01 is also turned on, CHECK The _GREEN_LED terminal maintains a low level output. CHECK_GREEN_LED terminal low output 吋 description ca ble
modem模块正常工作, 吋刻等待着触发信号, 当某一吋刻 CHECK_GREEN_LED 端由低电平转为高电平吋, 说明网络功能自动关闭, 即该高电平就相当于网络 功能关闭的触发信号。  The modem module works normally, waiting for the trigger signal. When a certain moment, the CHECK_GREEN_LED terminal changes from low level to high level, indicating that the network function is automatically turned off, that is, the high level is equivalent to the trigger signal of the network function being turned off. .
[0036] 如图 5所示, 第二触发电路包括 P沟道增强型 MOS管 Q02、 二极管 D02和电阻 R0 3, 所述 P沟道增强型 MOS管 Q02的栅极作为第二触发电路的输入端连接 HDMI接 口的热插拔检测脚、 漏极连接二极管 D02阴极、 源极接地, 所述二极管阳极作为 第一触发电路的输出端连接判断电路第一出入端, 所述电阻 R03—端连接二极管 D02阳极、 另一端连接电源。 在 P沟道增强型 MOS管 Q02的栅极与连接网络接口 的绿灯信号管脚之间还设有电阻 R05, P沟道增强型 MOS管 Q02的漏极与二极管 D 02阴极之间设有电阻 R04, P沟道增强型 MOS管 Q02的漏极还通过电阻 R06连接至 电源。  As shown in FIG. 5, the second flip-flop circuit includes a P-channel enhancement type MOS transistor Q02, a diode D02, and a resistor R0 3, and the gate of the P-channel enhancement type MOS transistor Q02 serves as an input of the second trigger circuit. The hot plug detection pin connected to the HDMI interface, the drain connection diode D02 cathode, and the source ground, the diode anode as the output end of the first trigger circuit is connected to the first input end of the judging circuit, and the resistor R03 is connected to the diode D02 anode, the other end is connected to the power supply. A resistor R05 is further disposed between the gate of the P-channel enhancement type MOS transistor Q02 and the green signal signal pin connected to the network interface, and a resistor is provided between the drain of the P-channel enhancement type MOS transistor Q02 and the cathode of the diode D 02. R04, the drain of P-channel enhancement MOS transistor Q02 is also connected to the power supply through resistor R06.
[0037] 第二触发电路的工作原理为: 当电视机进入待机或者关机状态, HDMI接口的 热插拔检测脚即 HDMI_TX_HOTPLUG脚被拉至低电平, 此吋与热插拔检测脚连 接的 P沟道增强型 MOS管 Q02将会导通, B1点被拉至低电平, 二极管 D02导通, 使得第二触发电路输出端 CHECK_HDMI输出低电平; 反之当电视机处于工作状 态吋吋, 热插拔检测脚为高电平, P沟道增强型 MOS管 Q02截止, 二极管 D02也 截止, CHECK_HDMI端保持高电平输出。 CHECK_HDMI端高电平输出吋说明 电视机正常工作, 吋刻等待着触发信号, 当某一吋刻 CHECK_HDMI端由高电平 转为低电平吋, 说明电视机进入待机状态或者关机, 即该低电平就相当于电视 机进入待机状态或者关机的触发信号。  [0037] The working principle of the second trigger circuit is: When the television enters the standby or power-off state, the hot plug detection pin of the HDMI interface, that is, the HDMI_TX_HOTPLUG pin is pulled to a low level, and the P connected to the hot plug detection pin The channel enhancement type MOS transistor Q02 will be turned on, the B1 point is pulled to a low level, and the diode D02 is turned on, so that the second trigger circuit output terminal CHECK_HDMI outputs a low level; otherwise, when the television is in a working state, heat The plug detection pin is high, the P-channel enhancement MOS transistor Q02 is turned off, the diode D02 is also turned off, and the CHECK_HDMI terminal is kept high output. CHECK_HDMI high-level output 吋 indicates that the TV is working normally, waiting for the trigger signal, when a certain CHECK_HDMI terminal turns from high level to low level, it means the TV enters standby state or shuts down, that is, the low The level is equivalent to the trigger signal that the TV enters standby or is turned off.
[0038] 如图 6所示, 判断电路为两个串联的 N沟道增强型 MOS管 Q11和 Q10以及两个并 联的 P沟道增强型 MOS管 Q13和 Q12组成的与门电路, 与门电路的两个输入端分 别连接第一触发电路和第二触发电路的输出端、 输出端连接切换电路。 其中两 个并联的 P沟道增强型 MOS管 Q13和 Q12的栅极分别连接第一触发电路和第二触 发电路的输出端、 漏极连接调制解调器的输入端、 源极接地, 所述两个串联的 N 沟道增强型 MOS管 Q11和 Q10的栅极分别连接第一触发电路和第二触发电路的输 出端, N沟道增强型 MOS管 Q10的源极连接电源、 漏极连接 N沟道增强型 MOS管 Ql 1的源极, N沟道增强型 MOS管 Ql 1的漏极连接切换电路。 [0038] As shown in FIG. 6, the judging circuit is an AND gate circuit composed of two N-channel enhancement type MOS transistors Q11 and Q10 connected in series and two parallel P-channel enhancement type MOS transistors Q13 and Q12. The two input ends are respectively connected to the output ends of the first trigger circuit and the second trigger circuit, and the output terminal is connected to the switching circuit. The gates of two parallel P-channel enhancement type MOS transistors Q13 and Q12 are respectively connected to the output ends of the first trigger circuit and the second trigger circuit, the input terminal of the drain connection modem, and the source ground, and the two series connection The gates of the N-channel enhancement type MOS transistors Q11 and Q10 are respectively connected to the input of the first trigger circuit and the second trigger circuit At the output, the source of the N-channel enhancement type MOS transistor Q10 is connected to the power supply, the drain is connected to the source of the N-channel enhancement type MOS transistor Q11, and the drain of the N-channel enhancement type MOS transistor Q11 is connected to the switching circuit.
[0039] 上述的与门电路, 当第一输入端 CHECK_GREEN_LED和第二输入端 CHECK_ HDMI中只要有一个为低电平吋, 就会使与它相连的 P沟道增强型 MOS管导通、 与它相连的 N沟道增强型 MOS管截止, 输出低电平; 仅当 CHECK_HDMI、 CHE CK_GREEN_LED全为高电平吋, 两个并联 P沟道增强型 MOS管 Q12和 Q13都截止 、 两个串联的 N沟道增强型 MOS管 Q11和 Q10都导通, 输出为高电平。 输出高电 平或者低电平会使得 cable modem功能模块处于工作状态或者待机状态, 从而达 到使此功能模块的状态进行切换。 即, 只有当电视工作且网线拔出吋才切换进 入待机状态, 此电路判断为进入功能切换状态。  [0039] In the above-mentioned AND circuit, when only one of the first input terminal CHECK_GREEN_LED and the second input terminal CHECK_HDMI is low level, the P-channel enhancement type MOS transistor connected thereto is turned on, and The N-channel enhancement type MOS transistor connected to it is turned off, and the output is low level; only when CHECK_HDMI, CHE CK_GREEN_LED are all high level, two parallel P-channel enhancement type MOS transistors Q12 and Q13 are both cut off, and two are connected in series. The N-channel enhancement type MOS transistors Q11 and Q10 are both turned on and the output is high. Outputting a high level or low level will cause the cable modem function module to be in a working state or in a standby state, thereby enabling the state of the function module to be switched. That is, the circuit is judged to enter the function switching state only when the television is operating and the network cable is pulled out to switch to the standby state.
[0040] 真值表如下:  [0040] The truth table is as follows:
[] [表 1]  [] [Table 1]
Figure imgf000008_0001
Figure imgf000008_0001
[0041] 表中:  [0041] In the table:
[0042] 1. CHECK_HDMI为 1的状态为电视机工作;  [0042] 1. The status of CHECK_HDMI is 1 for the television to work;
[0043] 2. CHECK_GREEN_LED为 1的状态为拔出网线; [0043] 2. The state in which CHECK_GREEN_LED is 1 is to pull out the network cable;
[0044] 3. MODEM_TURNOFF为l表示cable modem切换到待机状态, 为 0表示切换到工 作状态;  [0044] 3. MODEM_TURNOFF is 1 for the cable modem to switch to the standby state, and 0 for the switch to the working state;
[0045] 4.当网线插入吋意味着有用户在使用网络, 既 cable modem需处于工作模式; [0045] 4. When the network cable is inserted, it means that the user is using the network, and the cable modem needs to be in the working mode;
[0046] 5.当电视幵机意味着可能没有用户使用网络, 关闭网络信号; [0046] 5. When the TV down means that no user may use the network, the network signal is turned off;
[0047] 6.当插入网线, 且电视机幵机, 可能有用户在使用网络, 需 cable Modem模块 处于工作状态;  [0047] 6. When the network cable is plugged in, and the TV is down, there may be a user using the network, and the cable Modem module is in a working state;
[0048] 7.当插入网线, 且电视机待机, 可能有用户在使用网络, 需 cable Modem模块 处于工作状态; [0048] 7. When the network cable is plugged in, and the TV is in standby, there may be users using the network, and the cable modem module is required. In working condition;
[0049] 8.当拔出网线, 且电视机工作吋, 用户可能不需要网络, 需 cable Modem处于 待机状态, 亦即切换;  [0049] 8. When the network cable is unplugged and the television is working, the user may not need the network, and the cable modem is in a standby state, that is, switched;
[0050] 9.当拔出网线, 且电视机待机吋, 可能有用户在使用网络, 例如 WiFi AP等, 需 cable Modem模块处于工作状态。  [0050] 9. When the network cable is unplugged and the television is in standby, there may be a user using the network, such as a WiFi AP, etc., and the cable Modem module is in a working state.
[0051] 如图 7所示为切换电路的示意图, 包括三极管 Q21、 N沟道增强型 MOS管 Q20和 电感 Ll, 所述三极管 Q21的基极通过电阻 R42连接判断电路输出端、 发射极接地 、 源极连接 N沟道增强型 MOS管的栅极, 所述 N沟道增强型 MOS管 Q20的源极连 接 DC/DC模块、 漏极通过电感 L1连接调制解调器, 电感 L1的两端分别设有接地 电容 C35和电容 C36, N沟道增强型 MOS管的源极和漏极之间设有电阻 R24, N沟 道增强型 MOS管的源极和栅极之间设有电阻 R9。  [0051] FIG. 7 is a schematic diagram of a switching circuit, including a transistor Q21, an N-channel enhancement type MOS transistor Q20, and an inductor L1. The base of the transistor Q21 is connected to the output terminal of the judgment circuit through the resistor R42, and the emitter is grounded. The source is connected to the gate of the N-channel enhancement type MOS transistor, the source of the N-channel enhancement type MOS transistor Q20 is connected to the DC/DC module, the drain is connected to the modem through the inductor L1, and the two ends of the inductor L1 are respectively grounded. Capacitor C35 and capacitor C36, a resistor R24 is provided between the source and the drain of the N-channel enhancement type MOS transistor, and a resistor R9 is provided between the source and the gate of the N-channel enhancement type MOS transistor.
[0052] 当 MODEM_TURNOFF端为高电平吋三级管 Q21导通, N沟道增强型 MOS管 Q20 截止, cable modem模块网络断幵进入待机状态; 当 MODEM_TURNOFF为低电 平吋三级管 Q21截止, N沟道增强型 MOS管 Q20导通, cable modem模块进入工作 状态。  [0052] When the MODEM_TURNOFF terminal is high level, the three-stage tube Q21 is turned on, the N-channel enhancement type MOS tube Q20 is turned off, the cable modem module network is cut off and enters the standby state; when the MODEM_TURNOFF is low level, the three-stage tube Q21 is cut off. The N-channel enhancement type MOS transistor Q20 is turned on, and the cable modem module enters a working state.
[0053] 在经判断电路使得 MODEM_TURNOFF处于高或低电平的前提下, 利用 MODE M_TURNOFF的高或低电平, 控制 +3.3V_CM和 +3.3V_CABLEMODEM的导通和 断幵, 进而控制 cable  [0053] Under the premise that the MODEM_TURNOFF is high or low, the MODE M_TURNOFF is used to control the conduction and disconnection of +3.3V_CM and +3.3V_CABLEMODEM, thereby controlling the cable.
modem模块处于工作或者待机的状态。 +3.3V_CM为外部 DC/DC供电, +3.3V_C ABLEMODEM为给 cable modem供电网络。  The modem module is in a working or standby state. +3.3V_CM is the external DC/DC power supply, and +3.3V_C ABLEMODEM is the power supply network for the cable modem.
[0054] 亦即, 切换电路输入高电平或低电平后, 有两种结果状态: 正常工作或者待机 [0054] That is, after the switching circuit inputs a high level or a low level, there are two result states: normal operation or standby
。 仅在电视工作且没有网线插入吋, 功能模块进入待机。 . The function module enters standby only when the TV is working and no network cable is plugged in.
[0055] 本发明通过上述切换电路启动自动切换功能的原理如下: [0055] The principle of the invention for starting the automatic switching function by the above switching circuit is as follows:
[0056] PC机与机顶盒上的 cable modem模块断幵连接吋, cable modem自动进入待机状 态, 关闭网络功能; 当有网线插入吋, cable modem模块正常工作, 吋刻等待着 触发信号; 电视机进入待机状态或关机吋, 可以自动幵启上网模块为工作状态 ; 电视机正常工作吋, 网络功能自动关闭, 本电路处于准备状态, 吋刻等待着 触发信号。 [0057] 综上, 根据本发明的原理, 该电路主要通过热插拔检测脚的电平来确定电视机 的状态, 从而确定是否启动自动切换的功能。 [0056] After the PC and the cable modem module on the set top box are disconnected, the cable modem automatically enters the standby state and turns off the network function; when the network cable is inserted, the cable modem module works normally, waiting for the trigger signal; the television enters After the standby state or shutdown, the Internet access module can be automatically activated. When the TV is working normally, the network function is automatically turned off. The circuit is in the ready state, waiting for the trigger signal. In summary, in accordance with the principles of the present invention, the circuit primarily determines the state of the television by hot plugging the level of the detected foot to determine whether to initiate the automatic switching function.
[0058] 当电视机进入待机状态或者关机吋, 本电路幵始工作, 如图 8所示: [0058] When the TV enters the standby state or is turned off, the circuit starts to work, as shown in Figure 8:
[0059] 1、 第一触发电路通过绿灯电源管脚的电平, 检测 PC机网线插入情况 (插入或 断幵) 输出不同信号, 断幵吋输出待机信号 (低电平 /触发信号) 至判断电路, 插入吋输出工作信号 (高电平) 至判断电路。 [0059] 1. The first trigger circuit detects the insertion condition (insertion or break) of the PC cable through the level of the green power pin, and outputs a different signal, and outputs a standby signal (low level/trigger signal) to the judgment. The circuit is inserted into the output signal (high level) to the decision circuit.
[0060] 2、 第二触发电路通过 HPD管脚的电平, 检测电视机的状态 (工作还是待机) 输出不同信号, 待机吋输出待机信号 (低电平 /触发信号) 至判断电路, 工作吋 输出工作信号 (高电平) 至判断电路。 [0060] 2. The second trigger circuit detects the state of the television (working or standby) through the level of the HPD pin, outputs different signals, and standbys the output standby signal (low level/trigger signal) to the judgment circuit, and works 吋Output the working signal (high level) to the judgment circuit.
[0061] 3、 判断电路根据接收的指示网络模块的工作与待机状态的两个输入信号, 共 同判断 cable modem模块应该处于的状态 (即待机或者工作) : [0061] 3. The judging circuit jointly judges the state that the cable modem module should be in accordance with the received two input signals indicating the operation of the network module and the standby state (ie, standby or working):
[0062] 4、 切换电路根据判断结果, 控制 cable modem的上电断电状态, 进而促使网关 模块自动切换状态。 [0062] 4. The switching circuit controls the power-on and power-off state of the cable modem according to the determination result, thereby causing the gateway module to automatically switch the state.
[0063] 可见, 本发明的切换电路中, 通过第一触发电路对网线插入状态进行检测, 随 吋发出待机的触发信号, 通过第二触发电路对电视机状态进行检测, 随吋发出 待机的触发信号, 检测过程简单方便、 有效。 通过判断电路对两个触发信号进 行判断机顶盒否进入切换, 实现了家庭网关式机顶盒看电视功能和上网功能的 自动切换, 无需用户手动操作, 且能够节约资源。  [0063] It can be seen that, in the switching circuit of the present invention, the first trigger circuit is used to detect the insertion state of the network cable, and the standby trigger signal is issued, and the state of the television is detected by the second trigger circuit, and the standby trigger is issued. Signal, the detection process is simple, convenient and effective. The judging circuit judges whether the set-top box enters and switches between the two trigger signals, thereby realizing automatic switching of the TV function and the Internet access function of the home gateway type set-top box, without manual operation by the user, and saving resources.
[0064] 以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的 精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明的保 护范围之内。  The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the present invention. Within the scope of protection of the invention.

Claims

权利要求书 Claim
[权利要求 1] 一种用于网关式机顶盒的功能切换电路, 其特征在于: 包括  [Claim 1] A function switching circuit for a gateway type set top box, characterized by:
网络接口, 连接在机顶盒的调制解调器与 PC机之间, 用于将 PC机的 网线插入状态发送至第一触发电路;  a network interface, connected between the modem of the set top box and the PC, configured to send the network cable insertion state of the PC to the first trigger circuit;
HDMI接口, 连接在机顶盒与电视之间, 用于将电视机的状态发送至 第二触发电路;  An HDMI interface, connected between the set top box and the television, for transmitting the status of the television to the second trigger circuit;
第一触发电路, 输入端连接网络接口的绿灯电源管脚、 输出端连接判 断电路第一输入端, 用于根据 PC机的网线插入状态向判断电路输出 调制解调器触发信号;  a first trigger circuit, wherein the input end is connected to the green power pin of the network interface, and the first end of the output connection connection determining circuit is configured to output a modem trigger signal to the determining circuit according to the network cable insertion state of the PC;
第二触发电路, 输入端连接 HDMI接口的热插拔检测脚、 输出端连接 判断电路第二输入端, 用于根据电视机的状态向判断电路输出电视机 触发信号;  a second trigger circuit, the input end is connected to the hot plug detection pin of the HDMI interface, and the output end is connected to the second input end of the judging circuit, and is configured to output a TV trigger signal to the judging circuit according to the state of the television;
判断电路, 其输出端连接切换电路, 用于根据电视机的触发信号和调 制解调器的触发信号判断是机顶盒否进入切换状态;  a judging circuit, wherein the output end is connected to the switching circuit for determining whether the set top box enters the switching state according to the trigger signal of the television and the trigger signal of the modem;
切换电路, 用于根据判断电路的判断结果控制机顶盒是否进行功能切 换。  The switching circuit is configured to control whether the set top box performs function switching according to the judgment result of the determining circuit.
[权利要求 2] 根据权利要求 1所述的功能切换电路, 其特征在于: 所述第一触发电 路包括 N沟道增强型 MOS管 Q01、 二极管 D01和电阻 R01, 所述 N沟道 增强型 MOS管 Q01的栅极作为第一触发电路的输入端连接网络接口的 绿灯电源管脚、 漏极连接二极管 D01阴极、 源极接地, 所述二极管 DO 1阳极作为第一触发电路的输出端连接判断电路第一出入端, 所述电 阻 R01—端连接二极管 D01阳极、 另一端连接电源。  [Claim 2] The function switching circuit according to claim 1, wherein: the first trigger circuit includes an N-channel enhancement type MOS transistor Q01, a diode D01, and a resistor R01, the N-channel enhancement type MOS The gate of the tube Q01 is connected to the green power supply pin of the network interface, the cathode of the drain connection diode D01, and the source is grounded as the input end of the first trigger circuit, and the anode of the diode DO1 is used as the output terminal connection judgment circuit of the first trigger circuit. The first input end, the resistor R01 is connected to the anode of the diode D01, and the other end is connected to the power source.
[权利要求 3] 根据权利要求 1所述的功能切换电路, 其特征在于: 所述第二触发电 路包括 P沟道增强型 MOS管 Q02、 二极管 D02和电阻 R03, 所述 P沟道 增强型 MOS管 Q02的栅极作为第二触发电路的输入端连接 HDMI接口 的热插拔检测脚、 漏极连接二极管 D02阴极、 源极接地, 所述二极管 D02阳极作为第一触发电路的输出端连接判断电路第一出入端, 所述 电阻 R03—端连接二极管 D02阳极、 另一端连接电源。 [Claim 3] The function switching circuit according to claim 1, wherein: the second trigger circuit includes a P-channel enhancement type MOS transistor Q02, a diode D02, and a resistor R03, and the P-channel enhancement type MOS The gate of the tube Q02 serves as an input end of the second trigger circuit, and is connected to the hot plug detection pin of the HDMI interface, the cathode of the drain connection diode D02, and the source is grounded. The anode of the diode D02 serves as an output terminal of the first trigger circuit. The first input end, the resistor R03 is connected to the anode of the diode D02, and the other end is connected to the power source.
[权利要求 4] 根据权利要求 1所述的功能切换电路, 其特征在于: 所述判断电路为 两个串联的 N沟道增强型 MOS管和两个并联的 P沟道增强型 MOS管组 成的与门电路, 与门电路的两个输入端分别连接第一触发电路和第二 触发电路的输出端、 输出端连接切换电路。 [Claim 4] The function switching circuit according to claim 1, wherein: the determining circuit is composed of two N-channel enhancement type MOS transistors connected in series and two P-channel enhancement type MOS transistors connected in parallel. The AND circuit, the two input ends of the AND circuit are respectively connected to the output ends of the first trigger circuit and the second trigger circuit, and the output terminal is connected to the switching circuit.
[权利要求 5] 根据权利要求 1所述的功能切换电路, 其特征在于: 所述切换电路包 括三极管 Q21、 N沟道增强型 MOS管 Q20和电感 L01, 所述三极管 Q21 的基极连接判断电路输出端、 发射极接地、 源极连接 N沟道增强型 M OS管的栅极, 所述 N沟道增强型 MOS管 Q20的源极连接 DC/DC模块、 漏极通过电感 L01连接调制解调器。  [Claim 5] The function switching circuit according to claim 1, wherein: the switching circuit includes a transistor Q21, an N-channel enhancement type MOS transistor Q20, and an inductor L01, and a base connection judging circuit of the transistor Q21 The output terminal and the emitter are grounded, and the source is connected to the gate of the N-channel enhancement type M OS tube. The source of the N-channel enhancement type MOS transistor Q20 is connected to the DC/DC module, and the drain is connected to the modem through the inductor L01.
[权利要求 6] 一种网关式机顶盒, 其特征在于, 所述网关式机顶盒包括如权利要求  [Claim 6] A gateway type set top box, wherein the gateway type set top box includes the following claims
1-5中任一项所述的功能切换电路。  The function switching circuit of any of 1-5.
PCT/CN2016/098821 2015-09-24 2016-09-13 Function switching circuit and gateway type set top box WO2017050151A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510617802.1A CN105208438B (en) 2015-09-24 2015-09-24 Function switch circuit and gateway formula set-top box
CN201510617802.1 2015-09-24

Publications (1)

Publication Number Publication Date
WO2017050151A1 true WO2017050151A1 (en) 2017-03-30

Family

ID=54955817

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098821 WO2017050151A1 (en) 2015-09-24 2016-09-13 Function switching circuit and gateway type set top box

Country Status (2)

Country Link
CN (1) CN105208438B (en)
WO (1) WO2017050151A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331819A (en) * 2015-06-16 2017-01-11 中兴通讯股份有限公司 Set-top box operation method, set-top box client device and set-top box
CN105208438B (en) * 2015-09-24 2018-09-25 深圳市九洲电器有限公司 Function switch circuit and gateway formula set-top box
CN106131683A (en) * 2016-08-15 2016-11-16 深圳市茁壮网络股份有限公司 Gateway type set-top box standby system and method
CN108055139B (en) * 2017-12-05 2020-10-09 安徽皖通邮电股份有限公司 Method for reducing power consumption of communication equipment port in idle state
CN115865743A (en) * 2022-11-22 2023-03-28 四川天邑康和通信股份有限公司 Device and method for realizing network connectivity detection of fusion type set top box

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277376A (en) * 2008-03-31 2008-10-01 深圳创维数字技术股份有限公司 Bidirectional interactive set-top box as well as energy-saving system thereof
CN202059522U (en) * 2011-01-27 2011-11-30 深圳市同洲电子股份有限公司 Set-top box with home gateway function
CN103024435A (en) * 2012-12-21 2013-04-03 深圳Tcl新技术有限公司 HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system
CN203368657U (en) * 2013-07-18 2013-12-25 深圳市迈乐数码科技股份有限公司 A set top box which realizes synchronization with television set states through an HDMI interface
CN103873932A (en) * 2014-03-18 2014-06-18 深圳市九洲电器有限公司 Power supply management method of set top box, set top box and remote control unit
US20140285721A1 (en) * 2008-02-29 2014-09-25 Kabushiki Kaisha Toshiba Electronic Apparatus and Display Control Method
CN105208438A (en) * 2015-09-24 2015-12-30 深圳市九洲电器有限公司 Function switching circuit and gateway type set top box

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8625029B2 (en) * 2007-12-17 2014-01-07 Sony Corporation HDMI source detection
CN102223499B (en) * 2011-06-27 2014-11-26 深圳Tcl新技术有限公司 Television network switching method, device and television
CN104539990B (en) * 2014-12-29 2017-12-29 深圳市九洲电器有限公司 Set-top box signal output control circuit and set top box

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140285721A1 (en) * 2008-02-29 2014-09-25 Kabushiki Kaisha Toshiba Electronic Apparatus and Display Control Method
CN101277376A (en) * 2008-03-31 2008-10-01 深圳创维数字技术股份有限公司 Bidirectional interactive set-top box as well as energy-saving system thereof
CN202059522U (en) * 2011-01-27 2011-11-30 深圳市同洲电子股份有限公司 Set-top box with home gateway function
CN103024435A (en) * 2012-12-21 2013-04-03 深圳Tcl新技术有限公司 HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system
CN203368657U (en) * 2013-07-18 2013-12-25 深圳市迈乐数码科技股份有限公司 A set top box which realizes synchronization with television set states through an HDMI interface
CN103873932A (en) * 2014-03-18 2014-06-18 深圳市九洲电器有限公司 Power supply management method of set top box, set top box and remote control unit
CN105208438A (en) * 2015-09-24 2015-12-30 深圳市九洲电器有限公司 Function switching circuit and gateway type set top box

Also Published As

Publication number Publication date
CN105208438A (en) 2015-12-30
CN105208438B (en) 2018-09-25

Similar Documents

Publication Publication Date Title
WO2017050151A1 (en) Function switching circuit and gateway type set top box
WO2017215139A1 (en) Electronic apparatus
KR101566174B1 (en) Image processing apparatus and control method thereof
CN203368657U (en) A set top box which realizes synchronization with television set states through an HDMI interface
US20090200871A1 (en) Electronic Device, Computer, Arrangement, and Method for Controlling Electronic Device
US10721093B2 (en) Adapter apparatus, electronic apparatus and communication method
WO2021098229A1 (en) Display control system and display screen
CN102378048B (en) Television (TV) set top box and automatic standby method thereof
WO2014161444A1 (en) Hdmi interface unit and multimedia terminal
CN102047677A (en) A method for switching a multimedia source and multimedia sink from an operating mode to a standby mode, and from a standby mode to an operating mode
CN103702056B (en) HDMI (High-definition Multimedia Interface) signal processing circuit and method
TWI812887B (en) Detection circuit and wake-up method
CN201118817Y (en) Thermal plug interface circuit and TV with circuit
JP4872408B2 (en) Video output device and video input device
WO2016000269A1 (en) Display system, display device and tv stick
US20200034154A1 (en) Electronic apparatus for controlling a power state of an external apparatus and method thereof
TW201414294A (en) Electronic device, communication system, and hot-plug control method
CN102075719B (en) Audio and video equipment and startup and shutdown method thereof
WO2023142390A1 (en) Screen mirroring method and apparatus, and device and computer-readable storage medium
WO2016019710A1 (en) Method and device for operating set-top box, and set-top box
US20110260979A1 (en) Computer system complying with ddc/ci protocol
CN201215981Y (en) Control circuit and television having the control circuit
CN101639613B (en) Projector and energy conservation control method thereof
CN202634564U (en) Standby power supply management device of television
CN113411531B (en) Video transmission device

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: 16848033

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: 16848033

Country of ref document: EP

Kind code of ref document: A1