CN107465957B - Method for rapidly connecting ARC power amplifier equipment by smart television - Google Patents

Method for rapidly connecting ARC power amplifier equipment by smart television Download PDF

Info

Publication number
CN107465957B
CN107465957B CN201710676998.0A CN201710676998A CN107465957B CN 107465957 B CN107465957 B CN 107465957B CN 201710676998 A CN201710676998 A CN 201710676998A CN 107465957 B CN107465957 B CN 107465957B
Authority
CN
China
Prior art keywords
arc
power amplifier
function
amplifier device
arc power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710676998.0A
Other languages
Chinese (zh)
Other versions
CN107465957A (en
Inventor
杜延伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201710676998.0A priority Critical patent/CN107465957B/en
Publication of CN107465957A publication Critical patent/CN107465957A/en
Application granted granted Critical
Publication of CN107465957B publication Critical patent/CN107465957B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method for quickly connecting an ARC power amplifier device by an intelligent television, which comprises the following steps: detecting whether external equipment is accessed through a 5V POWER pin; through the connection of a hardware circuit, the HDMI can be known to support the ARC power amplifier, so that the port can be recorded, and whether the HDMI is the ARC port or not can be judged; the command is detected through CEC communication to detect whether it is an ARC device and its status. The method can quickly detect the state of the ARC power amplifier equipment, can quickly transmit the sound of the television to the power amplifier, can be realized on different chip platforms, and provides better experience for users.

Description

Method for rapidly connecting ARC power amplifier equipment by smart television
Technical Field
The invention relates to a method for connecting an intelligent television and power amplifier equipment, in particular to a method for quickly connecting an ARC power amplifier equipment by the intelligent television, and belongs to the technical field of electronic products.
Background
The smart television has a plurality of HDMI ports, the current HDMI specification of more than 1.4 supports the HDMI-ARC (Audio Return channel Sound Return) function, the function is used for outputting digital Audio of the television, and the smart television can be connected with a power amplifier which also supports the ARC function and transmits the sound of the television to the power amplifier.
According to the principle of HDMI ARC and CEC functions, the interaction and control among the devices on the HDMI CEC Network can be controlled through the channel. CEC is a bus system-based protocol that assigns Physical addresses through a Physical address discovery Process mechanism, and assigns Physical addresses to devices using DDCs. One device represents one function through one logical address, the CEC bus only supports one audioSystem device, and the HDMIport of a television manufacturer only has one HDMI pin14 with an ARC function, and the other HDMI port pins 14 are NC, so that only one ARC device can be connected.
The HDMI ports have multiple paths and all support CEC equipment, and when ARC power amplifier equipment needs to be quickly found in the multiple paths of HDMI ports, the current software method is to realize a thread and circularly check the state of the CEC equipment. By the method, broadcast handshake communication commands are sent to all HDMI CEC devices, and normal communication is not performed until ARC power amplification devices respond. Therefore, a lot of time is needed for polling once, so that the user can hear the sound of the power amplifier or the television within about 20 seconds when the HDMI ARC power amplifier is connected and disconnected, and the user experience is very poor.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide a method for quickly connecting an ARC power amplifier by a smart television, which can quickly find the ARC power amplifier, reduce the time for identifying the ARC power amplifier, allow a user to quickly hear sound and enhance the experience of the user.
The invention is realized by the following steps:
a method for rapidly connecting an ARC power amplifier device by an intelligent television comprises the following steps:
step one, recording an HDMI (high-definition multimedia interface) supporting an ARC (ARC interface) function in an ini configuration file when the hardware of the smart television is typeset, and defining an HDMI port supporting an ARC power amplifier through the ini configuration file. The HDMI interfaces of the intelligent television are in multiple paths, and the whole HDMI framework can only distribute a logical address of an Audio System and can only be connected with an ARC device, so that when the hardware is typeset, which HDMI interface supports the ARC function can be known, and the HDMI ARC port is recorded in the configuration. Because only one path of HDMI pin14 of the HDMI port in the existing IC chip has an ARC function, and the other HDMI port pins 14 are NC (only one logical address of an Audio System can be allocated, namely, all the HDMI ports of a chip manufacturer support the ARC function, and only one HDMI port actually has an ARC function after being connected, the existing IC chip actually has only one path of ARC function). Therefore, the hardware connected with pin14 can determine that the interface is the HDMI ARC interface, and the portal interface supporting the ARC function can be defined in the ini configuration file.
Step two, establishing an ARC Handle linearity, and monitoring the information change of the HDMI port all the time: when the voltage change of the 5VPower pin is detected, setting m _ IsHDMI1_ Plugin as TRUE, and setting m _ IsHDMI1_ StatusChanged as TRUE;
and step three, judging whether the current port is the ARC port or not according to the step one when the HDMI port is detected to have equipment input.
Step four, after detecting that the port is the ARC port, the smart television actively sends a logic address REQUEST command REQUEST _ PHY _ ADDR to the ARC equipment;
and step five, sending a Request command < Request ARC Initiation > for initializing the ARC equipment to the equipment while sending the logic address Request command, so that the equipment is in a data receiving state.
Step six, after receiving the command, the ARC sends an < inite ARC > command to the television;
and step seven, after the television receives the (inite ARC) command and indicates that the communication is successful, under the condition that the current CEC control switch and the current ARC control switch are both on, the television mutes, sends the audio data to the ARC power amplifier through the ARC pin, sends a < Report ARC Initiated > message to the power amplifier, and the power amplifier starts to play sound.
And step eight, when the ARC control switch is pulled out or closed, the ARC Handle thread judges the control state or the 5Vpower state, the ARC control switch is set to FALSE, and then the television mute is released.
The further scheme is as follows:
in the second step, the created ARC Handle linearity comprises three function functions, which are respectively: a TVConectARC function; processsrxcmd function and arcsitespolling function.
The further scheme is as follows:
and the TVConectARC function is used for establishing communication handshake when detecting that the ARC port has equipment access, and sending a command to the ARC power amplifier equipment to enable the ARC power amplifier to be in a data receiving state.
The further scheme is as follows:
and the processSRxCmd function receives and analyzes the message sent by the ARC power amplifier, and sends the data to the ARC power amplifier.
The further scheme is as follows:
the ARCStatesPolling function is used to always detect the status of HDMI ARC.
The method can quickly detect the state of the ARC power amplifier equipment, can quickly transmit the sound of the television to the power amplifier, can be realized on different chip platforms, and provides better experience for users.
Drawings
Fig. 1 is a schematic diagram of a method for quickly connecting an ARC power amplifier device to a smart television.
Detailed Description
The invention will be further described with reference to the accompanying drawings.
The method can reduce the handshaking communication time, more quickly identify the state of the ARC power amplifier and enable the ARC power amplifier to play sound.
As shown in fig. 1, the method for fast connecting the ARC power amplifier device to the smart television includes the following steps:
s1, because the HDMI port only has one path supporting the ARC function, the path of HDMI supporting the ARC function is determined through the hardware connection condition, and the ARC function is recorded in the configuration file.
S2, creating an ARC thread, wherein the thread has three function functions: when the first function tvconectrac is used to detect that the ARC port has a device access, a communication handshake is established, and a command is sent to the ARC power amplifier device, and the steps proceed to S3, S4, and S5, so that the ARC power amplifier is in a data receiving state; a second function processsrxcmd, which receives and analyzes the message sent by the ARC power amplifier, and sends the data to the ARC power amplifier process, and the steps are S6 and S7; the third function arcstartspline function is used to detect the status of HDMI ARC all the time, for example, the processing in the case where the ARC and CEC control switches are turned off, the HDMI cable is unplugged, and the HDMI is turned off, and the steps proceed to S8 and S9;
s3, recording the state of an HDMI ARC port by using two parameters m _ IsHDMI1_ Plugin and m _ IsHDMI1_ StatusChanged in a function TVConectARC;
s4, after detecting the voltage change of the 5V Power pin in the function TVConectARC, judging whether the terminal is an ARC port through S1, if so, setting m _ IsHDMI1_ Plugin and m _ IsHDMI1_ StatusChanged as TRUE; if not, the two parameters are set to FALSE;
s5, when m _ isidmi 1_ plug in and m _ isidmi 1_ status changed are TRUE in the function tvconfigarc, the tv actively sends a logical address Request command and a Request command < Request ARC Initiation > for initializing the ARC device to the ARC device, and the power amplifier processes these two messages.
S6, receiving a message < Initate ARC > command which is returned to the television by the power amplifier in a function ProcessSrxCmd:
s7, after receiving the command of < init ARC > in the function ProcesssXCmd, it indicates that the communication is successfully established, if the current CEC and ARC control state is on, it sets the TV mute, and gives the ARC power amplifier through the ARC data line pin, at this time, it hears the power amplifier sound, and sends the command of < Report ARC initated > to the power amplifier, and then obtains the parameters of ARC power amplifier through < RequestShort Audio Descriptor >, and gives the parameters to TV display process.
S8, monitoring the HDMI ARC port all the time in a function ARCStatesPolling, judging a CEC or ARC control switch, closing an ARC data transmission line under the condition of closing, and removing silence of a television, wherein the power amplifier does not output sound at this time;
s9, the HDMI line is pulled out, no input of a 5V Power pin is detected in the function ARCSTATeSpolling, the ARC function is closed, and the television is not muted.
Although the present invention has been described herein with reference to the illustrated embodiments thereof, which are intended to be preferred embodiments of the present invention, it is to be understood that the invention is not limited thereto, and that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure.

Claims (1)

1. A method for rapidly connecting an ARC power amplifier device by an intelligent television is characterized by comprising the following steps:
step one, recording an HDMI port supporting an ARC function in an ini configuration file when the smart television is typeset, and defining the HDMI port supporting the ARC power amplifier through the ini configuration file;
step two, establishing an ARC Handle thread, and monitoring the information change of the HDMI port all the time: when the voltage change of the 5V Power pin is detected, setting m _ IsHDMI1_ Plugin as TRUE, and setting m _ IsHDMI1_ StatusChanged as TRUE; the ARC Handle thread includes three function functions, which are: a TVConectARC function; processsrxcmd function and arcsitespolling function;
the TVConectARC function is used for establishing communication handshake when detecting that an ARC power amplifier device is accessed at an ARC port, sending a command to the ARC power amplifier device and enabling the ARC power amplifier device to be in a data receiving state;
the processSRxCmd function receives and analyzes the message sent by the ARC power amplifier device, and sends the data to the ARC power amplifier device;
the ARCStatesPolling function is used for always detecting the state of HDMI ARC;
step three, judging whether the current port is the ARC port or not according to the step one when the HDMI port is detected to have the ARC power amplifier equipment input;
step four, after detecting that the port is the ARC port, the smart television actively sends a logic address REQUEST command REQUEST _ PHY _ ADDR to the ARC power amplifier equipment;
step five, while sending the Request command of the logical address, sending a Request command < Request ARC Initiation > for initializing the ARC power amplifier device to the ARC power amplifier device, and enabling the ARC power amplifier device to be in a data receiving state;
step six, after receiving the command, the ARC power amplifier device sends an < Initate ARC > command to the smart television;
step seven, after receiving the < initiate ARC > command, the smart television indicates that the communication is successful, and under the condition that the current CEC control switch and the current ARC control switch are both on, the smart television mutes first, sends the audio data to the ARC power amplifier device through an ARC pin, and sends a < Report ARC Initiated > message to the ARC power amplifier device, and the ARC power amplifier device starts to play sound;
and step eight, when the ARC control switch is closed, the ARC Handle thread judges the control state or the 5Vpower state, the ARC control switch is set to FALSE, and then the mute of the smart television is released.
CN201710676998.0A 2017-08-09 2017-08-09 Method for rapidly connecting ARC power amplifier equipment by smart television Active CN107465957B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710676998.0A CN107465957B (en) 2017-08-09 2017-08-09 Method for rapidly connecting ARC power amplifier equipment by smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710676998.0A CN107465957B (en) 2017-08-09 2017-08-09 Method for rapidly connecting ARC power amplifier equipment by smart television

Publications (2)

Publication Number Publication Date
CN107465957A CN107465957A (en) 2017-12-12
CN107465957B true CN107465957B (en) 2020-09-29

Family

ID=60548795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710676998.0A Active CN107465957B (en) 2017-08-09 2017-08-09 Method for rapidly connecting ARC power amplifier equipment by smart television

Country Status (1)

Country Link
CN (1) CN107465957B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290406B (en) * 2019-07-02 2021-01-26 四川长虹电器股份有限公司 Method for quickly connecting ARC power amplifier in starting process of liquid crystal display television
CN111131895B (en) * 2019-11-18 2022-05-27 晶晨半导体(深圳)有限公司 Method for interacting with arc power amplifier equipment through arc/arc switch related to android
CN112399217B (en) * 2020-11-05 2022-11-25 海信视像科技股份有限公司 Display device and method for establishing communication connection with power amplifier device
CN112218152B (en) * 2020-10-15 2021-06-29 四川长虹电器股份有限公司 Television ARC and eARC compatible method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202121718U (en) * 2011-06-30 2012-01-18 苏州冠捷科技有限公司 HDMI/ARC function detection tool and detection system
CN102982818A (en) * 2012-11-12 2013-03-20 广东欧珀移动通信有限公司 System and method which are capable of achieving player audio return
CN202818464U (en) * 2011-12-15 2013-03-20 北京北广科技股份有限公司 Intelligent rapid protection system of digital television repeater
CN104683865A (en) * 2015-02-16 2015-06-03 青岛海信电器股份有限公司 ARC (Audio Return Channel) setting method and equipment
WO2016202242A1 (en) * 2015-06-17 2016-12-22 华为技术有限公司 Arc control method, control unit, and display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202121718U (en) * 2011-06-30 2012-01-18 苏州冠捷科技有限公司 HDMI/ARC function detection tool and detection system
CN202818464U (en) * 2011-12-15 2013-03-20 北京北广科技股份有限公司 Intelligent rapid protection system of digital television repeater
CN102982818A (en) * 2012-11-12 2013-03-20 广东欧珀移动通信有限公司 System and method which are capable of achieving player audio return
CN104683865A (en) * 2015-02-16 2015-06-03 青岛海信电器股份有限公司 ARC (Audio Return Channel) setting method and equipment
WO2016202242A1 (en) * 2015-06-17 2016-12-22 华为技术有限公司 Arc control method, control unit, and display device

Also Published As

Publication number Publication date
CN107465957A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107465957B (en) Method for rapidly connecting ARC power amplifier equipment by smart television
US11115617B2 (en) Audio device for HDMI
US8370555B2 (en) Method and system for allowing a media player to determine if it supports the capabilities of an accessory
USRE36182E (en) Apparatus and method for switching ethernet media type
US11997731B2 (en) Electronic device, remote control device and controlling method thereof
WO2014066234A1 (en) Automatic detection of loudspeaker characteristics
WO2007074611A1 (en) Address managing method and communication device
US20190191017A1 (en) Adaptive multi-protocol control of a media device
CN107197414B (en) Method for configuring an audio rendering and/or acquisition device
CN102281482A (en) Function extension method and device thereof for earphone jack of smart phone
CN103324459A (en) Method and system for implementing USB (universal serial bus) headset devices
US20170280261A1 (en) Audio reproduction apparatus and audio reproduction system
CN105956458A (en) Interaction control method and device for terminals
US20130283333A1 (en) Information processing apparatus, information processing method, and program
WO2022105448A1 (en) Method and system for maintaining pcie signal connection by using in-place signal, device, and medium
US20170293584A1 (en) Cascaded hdmi connectors
CN105262453A (en) Method for controlling audio output and digital device using the same
JP2012199643A (en) Communication control system and sink device
CN218825507U (en) Dual-interface device and projection equipment
CN109976694B (en) Data transmission device, terminal, method and processor system
WO2022237353A1 (en) Method, apparatus, and device for configuring earphones in earphone holding case, and program product
US10439416B2 (en) Method for outputting charging current according to displayed media and power amplifier
CN108322798B (en) CEC bus monitoring equipment
JP2011082633A (en) Electronic apparatus and method of controlling the same
JP2012230627A (en) Transmitter, receiver, and transmission method

Legal Events

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