CN112218152B - Television ARC and eARC compatible method - Google Patents

Television ARC and eARC compatible method Download PDF

Info

Publication number
CN112218152B
CN112218152B CN202011103376.7A CN202011103376A CN112218152B CN 112218152 B CN112218152 B CN 112218152B CN 202011103376 A CN202011103376 A CN 202011103376A CN 112218152 B CN112218152 B CN 112218152B
Authority
CN
China
Prior art keywords
handshake
arc
earc
access
state
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
CN202011103376.7A
Other languages
Chinese (zh)
Other versions
CN112218152A (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 CN202011103376.7A priority Critical patent/CN112218152B/en
Publication of CN112218152A publication Critical patent/CN112218152A/en
Application granted granted Critical
Publication of CN112218152B publication Critical patent/CN112218152B/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43632Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages

Abstract

The invention discloses a method for realizing compatibility of television ARC and eARC, which comprises the steps of starting to monitor an eARC handshake state when an AMP device is monitored to be accessed, setting the eARC access state as eARC handshake success when the eARC handshake succeeds, setting the ARC handshake state as failure, enabling ARC handshake operation to enter a waiting state, and controlling eARC output audio to flow to the AMP device; when the eARC handshake fails, starting an ARC handshake operation, setting an ARC handshake state, and controlling an ARC output audio stream to an AMP device; when the AMP device is monitored to be unplugged, the eARC handshake information or the ARC handshake information is deleted, and the Speaker of the television is controlled to sound. The handshaking sequence of the ARC/eARC is controlled in a unified manner, the handshaking and communication between the television and the AMP equipment are ensured to be carried out in order, and the ARC and eARC are compatible.

Description

Television ARC and eARC compatible method
Technical Field
The invention relates to the technical field of televisions, in particular to a method for realizing compatibility of ARC and eARC of a television.
Background
In the prior art, an ARC (Audio Return Channel) function is used for outputting digital Audio of a television, and an AMP device which also supports the ARC function can be connected to transmit the Audio of the television to the AMP device. This function is proposed in HDMI1.4, which is to further simplify the wiring, omit the coaxial cable or optical fiber between the tv and AMP, and directly return the audio signal of the tv to the AMP device via a line in the HDMI wiring. In 2017, 1 month, HDMI Forum, inc, published HDMI version 2.1, where for an enhanced version, earrc, comprising ARC, the "e" in earrc stands for enhanced (audio return channel) aiming at providing the best audio resolution through the television. With the eARC, full resolution sound signals (including 3D surround sound formats such as Dolby Atmos and DTS: X) can be passed back and forth in television and audio systems.
Handshaking and information (e.g., SAD, etc.) acquisition between the television and the ARC AMP device is via CEC communication, as required by HDMI Spec. By the eARC, the mode is changed greatly, and the handshaking and partial information acquisition between the tv and AMP devices are completed through the eARC Data Channel without the CEC.
At present, HDMI2.1 has started to spread on television, and enarc also starts to be supported. However, most AMP devices in the market are old devices that only support ARC, and therefore, the tv needs to perform compatible processing of ARC and ARC. As described above, the handshaking scheme of ARC and eARC has changed, the handshaking process of ARC can be completed through CEC at the user layer, and the eARC needs to be completed at the hardware level, but the two are not at the same level. Therefore, when an AMP device is connected, there is a possibility that the eARC and the ARC will handshake with the AMP device at the same time, which causes confusion and failure of successful handshake.
Therefore, the patent invents a method for making ARC and ARC compatible with each other for televisions, which solves the above problems and makes ARC and ARC perfectly compatible on televisions.
Disclosure of Invention
The invention aims to provide a method for realizing compatibility between ARC and eARC of a television, which is used for solving the problem that in the prior art, the handshaking modes of ARC and eARC are different, and both of ARC and eARC are easy to handshake with AMP equipment, so that the both of ARC and eARC cannot successfully handshake.
The invention solves the problems through the following technical scheme:
a television ARC and eabrc compatible method comprising:
step S1: when the access of the AMP equipment is monitored, the access mark of the AMP equipment is updated to be that the AMP equipment is accessed, and the step S2 is carried out; when the AMP device is monitored to be removed, the updating state is that no AMP device is accessed, and the step S5 is carried out; the access state of the AMP-equipped device comprises an ARC access state and an eARC access state, wherein the ARC access state comprises an ARC handshake success and an ARC handshake failure, and the eARC access state comprises an eARC handshake success and an eARC handshake failure;
step S2: starting an eARC handshake monitoring state, when the eARC handshake is successfully monitored, setting the eARC access state as the eARC handshake is successful and acquiring eARC handshake information, and entering step S4; when the failure of the eabr handshake is monitored, setting the eabr access state as the failure of the eabr handshake and deleting the eabr handshake information, and then entering step S3;
step S3: starting an ARC handshake operation, setting an ARC handshake state, acquiring ARC handshake information after the ARC handshake state is successfully handshake, controlling Speaker silence of a television loudspeaker, and controlling an ARC output audio stream to an AMP device;
step S4: setting the ARC handshake state as failure, enabling the ARC handshake operation to enter a waiting state, updating external display equipment identification data EDID of the HDMI to control audio input of front-end equipment, controlling a television Speaker to mute, and controlling eARC to output audio to AMP equipment;
step S5: if the current eARC access is the eARC access, updating an AMP equipment access mark to be the non-AMP equipment access, deleting eARC handshake information, controlling a Speaker of the television to sound, and controlling the eARC to stop outputting the audio stream; if the current access is ARC access, updating an AMP equipment access mark to be non-AMP equipment access, deleting ARC handshake information, controlling a television Speaker to sound, and controlling ARC to stop outputting audio streams.
The scheme is that: after the AMP equipment is accessed, the hardware adaptation layer starts the handshake of the eARC firstly, the user layer monitors and waits for the handshake result of the eARC, and after the eARC finishes the handshake action, if the eARC handshake succeeds, the ARC handshake operation enters a waiting state; if the eARC handshake fails, according to the HDMI Spec requirement, a CEC command is sent, the ARC handshake is started, the ARC handshake state is set to acquire related information such as SAD and MUTE STATUS, the time sequence is guaranteed, and confusion is avoided.
The method for monitoring the access of the AMP device in step S1 is as follows: and the user layer registers a callback function to a driver and monitors the access and the removal of the HDMI port equipment.
The method for monitoring the etarc handshake state in step S2 includes: and the user layer registers the callback function callback to the driver, and the driver issues the result of successful or failed handshake to the user layer after the completion of handshake.
The method further comprises the steps that an arcHandler thread is created by the user layer, the arcHandler thread runs in a timed loop mode and is used for maintaining the ARC state, and when the eARC handshake is successful or no AMP equipment is accessed, the arcHandler thread returns that no handshake logic is executed.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the invention controls the handshaking time sequence of ARC/eARC by uniformly managing and controlling the connection state between the television and the AMP equipment, ensures the orderly handshaking and communication between the television and the AMP equipment, and even if the AMP equipment which does not support eARC is accessed, software can quickly monitor the result of eARC handshaking failure after eARC handshaking is started in advance, thereby quickly starting ARC handshaking and realizing compatibility.
Drawings
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a flow chart of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example (b):
referring to fig. 1, a method for tv ARC and eARC compatibility includes that a user layer of a tv monitors AMP insertion and extraction and an eARC handshake through HDMI CEC (Consumer Electronics Control channel), a driver layer of the tv monitors AMP insertion and the eARC handshake and controls ARC output or the eARC output, and the following specific processes are performed:
step A: and starting up the system, and establishing a data structure body on a user layer, wherein the data structure body comprises parameters such as an AMP (active object) equipment access mark, an eARC (emergency alarm handshake) state, an ARC handshake state, a SAD (sum of absolute differences) parameter, a MUTE STATUS, a POWER STATUS and the like, and is used for storing and recording the running states of eARC and ARC. The parameters are not limited to those listed, and the structure may be expanded as necessary.
And B: starting up and initializing, wherein a user layer monitors the access and the removal of the HDMI port equipment by registering a callback function callback to a drive layer or by a circulating timing query mode;
and C: starting up the device for initialization, wherein the user layer monitors the handshake result of the eARC by registering another callback function callback to the driver layer, or by circularly and regularly inquiring, and the driver issues the successful or failed handshake result to the user layer after the eARC handshake is completed;
step D: starting up and initializing, newly building an arcHandler thread on a user layer, wherein the arcHandler thread runs circularly at regular time (for example, runs once every 250 ms) and is used for maintaining an ARC state, and when eARC handshake succeeds or no AMP equipment is accessed, the thread returns to a handshake-free logic in advance;
as shown in fig. 2, the AMP device performs the following steps when accessing:
step E: after monitoring that an AMP device is accessed to an HDMI port where ARC/eARC is located, a user layer utilizes a CEC standard command to ping login devices of 0x05(audio system), if an ACK response exists, the AMP device is confirmed to be accessed, and an AMP device access mark is updated to be accessed by the AMP device;
step F: waiting for an eARC monitoring result, if the eARC handshake is successfully received, executing a step G, and if the eARC handshake is failed to be received, executing a step H;
step G: reading and storing the SAD parameter, updating EDID (Extended Display Identification Data, namely external Display equipment Identification Data) of the HDMI to control the audio input of the front-end equipment, acquiring information such as AMPMUTE STATUS and the like, controlling the Speaker of the television to mute, and controlling the eARC to output audio stream to the AMP equipment;
step H: according to the requirement of HDMI Spec, the arcHandler thread sends CEC commands, such as < Request ARC Initiation >, starts ARC handshake, sets ARC handshake state, acquires related information such as SAD and MUTE STATUS and controls a Speaker of a television to MUTE after the ARC handshake succeeds, and controls ARC output audio stream to AMP equipment. And if the handshake is unsuccessful, recovering the EDID to the original data of the television and recovering the sound of the television.
The AMP device unplugging performs the following steps:
step I: after the user layer monitors that the HDMI port AMP equipment where the ARC/eARC is located is unplugged, if the HDMI port AMP equipment is currently accessed by the eARC, executing a step J, and if the HDMI port AMP equipment is currently accessed by the ARC, executing a step K;
step J: updating an AMP equipment access mark as no AMP equipment access, deleting eARC related handshake information, controlling a Speaker to sound, and controlling eARC to stop outputting audio streams;
step K: and updating the AMP equipment access mark to be accessed without AMP equipment, deleting ARC related handshake information, controlling a Speaker of the television to sound, and controlling ARC to stop outputting the audio stream.
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. 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 (4)

1. A method for ARC and eabrc compatibility for a television, comprising:
step S1: when the access of the AMP equipment is monitored, the access mark of the AMP equipment is updated to be that the AMP equipment is accessed, and the step S2 is carried out; when the AMP device is monitored to be removed, the updating state is that no AMP device is accessed, and the step S5 is carried out; the access state of the AMP-equipped device comprises an ARC access state and an eARC access state, wherein the ARC access state comprises an ARC handshake success and an ARC handshake failure, and the eARC access state comprises an eARC handshake success and an eARC handshake failure;
step S2: starting an eARC handshake monitoring state, when the eARC handshake is successfully monitored, setting the eARC access state as the eARC handshake is successful and acquiring eARC handshake information, and entering step S4; when the failure of the eabr handshake is monitored, setting the eabr access state as the failure of the eabr handshake and deleting the eabr handshake information, and then entering step S3;
step S3: starting an ARC handshake operation, setting an ARC handshake state, acquiring ARC handshake information after the ARC handshake state is successfully handshake, controlling Speaker silence of a television loudspeaker, and controlling an ARC output audio stream to an AMP device; if the ARC handshake is unsuccessful, recovering EDID to the original data of the television and recovering the sound of the television;
step S4: setting the ARC handshake state as failure, enabling the ARC handshake operation to enter a waiting state, updating external display equipment identification data EDID of the HDMI to control audio input of front-end equipment, controlling a television Speaker to mute, and controlling eARC to output audio to AMP equipment;
step S5: if the current eARC access is the eARC access, updating an AMP equipment access mark to be the non-AMP equipment access, deleting eARC handshake information, controlling a Speaker of the television to sound, and controlling the eARC to stop outputting the audio stream; if the current access is ARC access, updating an AMP equipment access mark to be non-AMP equipment access, deleting ARC handshake information, controlling a television Speaker to sound, and controlling ARC to stop outputting audio streams.
2. The method of claim 1, wherein the method for listening to AMP device access in step S1 is as follows: and the user layer registers a callback function to a driver and monitors the access and the removal of the HDMI port equipment.
3. The method as claimed in claim 1, wherein the method for monitoring the status of the ARC handshake in step S2 comprises: and the user layer registers the callback function callback to the driver, and the driver issues the result of successful or failed handshake to the user layer after the completion of handshake.
4. The method of claim 1, further comprising the user layer creating an arcHandler thread, wherein the arcHandler thread runs periodically and cyclically to maintain the ARC state, and wherein the arcHandler thread returns to not execute handshake logic when the eARC handshake is successful or no AMP device is accessed.
CN202011103376.7A 2020-10-15 2020-10-15 Television ARC and eARC compatible method Active CN112218152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011103376.7A CN112218152B (en) 2020-10-15 2020-10-15 Television ARC and eARC compatible method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011103376.7A CN112218152B (en) 2020-10-15 2020-10-15 Television ARC and eARC compatible method

Publications (2)

Publication Number Publication Date
CN112218152A CN112218152A (en) 2021-01-12
CN112218152B true CN112218152B (en) 2021-06-29

Family

ID=74054622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011103376.7A Active CN112218152B (en) 2020-10-15 2020-10-15 Television ARC and eARC compatible method

Country Status (1)

Country Link
CN (1) CN112218152B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113055788B (en) * 2021-04-21 2022-09-30 海信视像科技股份有限公司 Switching control method of audio output channel and display equipment
WO2022222724A1 (en) * 2021-04-21 2022-10-27 海信视像科技股份有限公司 Switching control method for audio output channel, and display device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461445A (en) * 2013-09-12 2015-03-25 三星电子株式会社 Apparatus and method for processing audio, method for setting initialization mode, and computer-readable recording medium
CN105516801A (en) * 2015-12-10 2016-04-20 青岛海信电器股份有限公司 Volume adjustment method and apparatus and television
CN106162320A (en) * 2016-07-27 2016-11-23 青岛海信电器股份有限公司 Method for regulation of sound volume and device
CN106331557A (en) * 2015-06-17 2017-01-11 华为技术有限公司 ARC control method, control unit and display device
CN107465957A (en) * 2017-08-09 2017-12-12 四川长虹电器股份有限公司 The method that intelligent television quickly connects ARC power amplifying devices

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6985811B2 (en) * 2001-10-30 2006-01-10 Sirf Technology, Inc. Method and apparatus for real time clock (RTC) brownout detection
CN111492648B (en) * 2017-12-21 2023-03-21 杜比实验室特许公司 Audio device for HDMI
CN109803170A (en) * 2018-12-29 2019-05-24 深圳市通立威科技有限公司 Attachment device
CN110661991A (en) * 2019-03-12 2020-01-07 飞昂创新科技南通有限公司 Target powered optical data interconnect system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461445A (en) * 2013-09-12 2015-03-25 三星电子株式会社 Apparatus and method for processing audio, method for setting initialization mode, and computer-readable recording medium
CN106331557A (en) * 2015-06-17 2017-01-11 华为技术有限公司 ARC control method, control unit and display device
CN105516801A (en) * 2015-12-10 2016-04-20 青岛海信电器股份有限公司 Volume adjustment method and apparatus and television
CN106162320A (en) * 2016-07-27 2016-11-23 青岛海信电器股份有限公司 Method for regulation of sound volume and device
CN107465957A (en) * 2017-08-09 2017-12-12 四川长虹电器股份有限公司 The method that intelligent television quickly connects ARC power amplifying devices

Also Published As

Publication number Publication date
CN112218152A (en) 2021-01-12

Similar Documents

Publication Publication Date Title
CN112218152B (en) Television ARC and eARC compatible method
US8970789B2 (en) Receiving apparatus and control method thereof
US7893998B2 (en) Audio over a standard video cable
US8260977B2 (en) CEC communications device, audio and visual device using thereof, and CEC communications method
JP2006135959A (en) Consumer electronics control (cec) protocol correspondence apparatus, cec instruction management method, cec correspondence system, and acoustic/video entertainment system
US20100023145A1 (en) Content outputting device, content outputting method, and program
US20120133829A1 (en) Video display apparatus and video display method, audio reproduction apparatus and audio reproduction method, and video/audio synchronous control system
JP2009141720A (en) Video display device, display panel and video processor
US7626954B2 (en) Communication apparatus and control method thereof
JP4496267B1 (en) Wireless communication device and method for controlling wireless communication device
US20190286404A1 (en) Image display device, connection method of image display device, and multi-display system
KR20210092079A (en) Electronic device and operating method for the same
JP2012147356A (en) Telecommunication device
KR20130026322A (en) Source terminal for displaying audio and video data in display device without delay and method for connecting a/v display device
US20080140223A1 (en) Control apparatus and control method, network system, program for control apparatus, and information recording medium
CN115802096B (en) Multi-channel HDMI cooperative control method and system
CN110290406B (en) Method for quickly connecting ARC power amplifier in starting process of liquid crystal display television
KR20200140576A (en) Power Synchronization Automatic Setting Method And System Of TV And Set-top Box
KR20210068892A (en) Image processing apparatus and method thereof
US9307176B2 (en) Display apparatus, upgrade apparatus, display system and control method of the same
JP6884199B2 (en) Electronic devices and display methods
CN113194341A (en) Method and device for automatically controlling television through set top box
US20120257118A1 (en) Image processing apparatus and method, recording medium, and program
EP1271939A1 (en) A plurality of devices control system
CN112752139B (en) Method for adjusting television picture definition and smart television

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