CN117075837A - Display equipment and volume adjusting method of eARC peripheral equipment - Google Patents

Display equipment and volume adjusting method of eARC peripheral equipment Download PDF

Info

Publication number
CN117075837A
CN117075837A CN202210502083.9A CN202210502083A CN117075837A CN 117075837 A CN117075837 A CN 117075837A CN 202210502083 A CN202210502083 A CN 202210502083A CN 117075837 A CN117075837 A CN 117075837A
Authority
CN
China
Prior art keywords
audio
peripheral
target
value
volume
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.)
Pending
Application number
CN202210502083.9A
Other languages
Chinese (zh)
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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202210502083.9A priority Critical patent/CN117075837A/en
Publication of CN117075837A publication Critical patent/CN117075837A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/162Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application provides a display device and a volume adjusting method of an eARC peripheral, wherein after receiving a volume adjusting instruction input by a user, the display device identifies the type of an audio peripheral currently used for playing audio data, if the currently used audio peripheral is a non-eARC peripheral, the volume value of the audio peripheral is directly adjusted to a target volume value, and the audio data is transmitted to the audio peripheral, so that the audio peripheral plays the audio data by using the target volume value. If the audio peripheral is eARC peripheral, calculating a target gain value corresponding to the target volume value, processing the audio data by using the target gain value, and transmitting the processed audio data to the audio peripheral so as to enable the audio peripheral to play the processed audio data. Therefore, the volume value of the audio data output to the eARC peripheral is adjusted by adjusting the gain value used when the audio data is processed, so that the volume value of the eARC peripheral is adjusted.

Description

Display equipment and volume adjusting method of eARC peripheral equipment
Technical Field
The application relates to the technical field of intelligent display equipment, in particular to display equipment and an eARC peripheral volume adjusting method.
Background
The display device refers to a terminal device capable of outputting a specific display screen, and may be a terminal device such as a smart television, a mobile terminal, a smart advertisement screen, and a projector. Taking intelligent electricity as an example, the intelligent television is based on the Internet application technology, has an open operating system and a chip, has an open application platform, can realize a bidirectional man-machine interaction function, and is a television product integrating multiple functions of video, entertainment, data and the like, and the intelligent television is used for meeting the diversified and personalized requirements of users.
The enhanced audio feedback channel (Enhanced Audio Return Channel, eARC) may provide optimal volume resolution through the display device, and the audio device connected to the display device through eARC is called eARC external device, abbreviated as eARC peripheral. Through eARC, full resolution audio signal can pass between display device and eARC peripheral hardware, has solved the problem of display device output compression surround sound, stereophonic, improves the audio play quality of eARC peripheral hardware to improve user's hearing effect.
The communication mode of the eARC peripheral is based on a high-definition multimedia interface (High Definition Multimedia Interface, HDMI) 2.1 protocol, and is limited by hardware connection, the HDMI2.1 protocol cannot be compatible with functions in the HDMI 1.4 protocol, wherein the HDMI2.1 protocol cannot be compatible with a Volume adjusting function in the HDMI 1.4 protocol, namely, a function of directly adjusting a Volume value (Volume) of an audio device in response to a Volume adjusting instruction. Thus, when the display device plays audio through the eARC peripheral, if the display device receives a volume adjustment instruction, the volume value of the eARC peripheral cannot be adjusted in response to the volume adjustment instruction.
Disclosure of Invention
The application provides a display device and a volume adjusting method of an eARC peripheral, wherein the volume value of audio output to the eARC peripheral is adjusted by adjusting a gain value output to the eARC peripheral by the display device, so that the volume value of the eARC peripheral is adjusted.
In a first aspect, the present application provides a display apparatus comprising:
a display configured to display a user interface;
a controller configured to:
receiving a volume adjustment instruction input by a user, wherein the volume adjustment instruction is used for indicating a target volume value;
identifying a device type of an audio peripheral currently used for playing audio data in response to the volume adjustment instruction;
when the audio peripheral is eARC peripheral, calculating a target gain value corresponding to the target volume value;
and processing the audio data by using the target gain value, and transmitting the processed audio data to the audio peripheral equipment so as to enable the audio peripheral equipment to play the processed audio data.
In some embodiments of the application, the controller is configured to:
identifying a device type of an audio peripheral currently being used to play audio data in response to the volume adjustment instruction, comprising:
Detecting whether the HDMI is connected to an audio peripheral or not;
identifying a connection mode type of the audio peripheral when the HDMI accesses the audio peripheral, wherein the connection mode type comprises an eARC mode and an ARC mode;
if the connection mode type of the audio peripheral is the eARC mode, the equipment type of the audio peripheral is eARC peripheral;
and if the connection mode type of the audio peripheral is the ARC mode, the equipment type of the audio peripheral is ARC.
In some embodiments of the application, the controller is configured to:
processing the audio data using the target gain value and transmitting the processed audio data to the audio peripheral, further comprising:
and encoding the processed audio data according to a specified format so that the audio peripheral plays the processed audio data with the specified audio format.
In some embodiments of the application, the controller is further configured to:
receiving a setting instruction input by a user, wherein the setting instruction is used for indicating a target audio mode, and the target audio mode corresponds to an audio format output to the audio peripheral;
Setting an audio mode of the audio peripheral to the target audio mode in response to the setting instruction;
encoding the processed audio data in a specified audio format, comprising:
identifying an audio format corresponding to the target audio mode;
if the audio format corresponding to the target audio mode is a preset audio format, the processed audio data is encoded according to the preset audio format;
if the audio format corresponding to the target audio mode is an optional audio format, decoding information of the audio peripheral is obtained, wherein the decoding information comprises the audio format which is supported to be decoded by the audio peripheral;
and encoding the processed audio data according to a target audio format in audio formats which are supported to be decoded by the audio peripheral, wherein the target audio format refers to an audio format with optimal audio quality.
In some embodiments of the application, the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
and determining a target gain value corresponding to the target volume value based on the corresponding relation between the volume value and the gain value.
In some embodiments of the application, the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
acquiring a current sound value of the display equipment and a current gain value of the audio peripheral;
calculating a target volume change amount of the current volume value and the target volume value;
determining a target gain variation corresponding to the target volume variation based on the corresponding relation between the unit volume variation and the gain variation;
and calculating the sum value of the target gain variation and the current gain value to obtain the target gain value.
In some embodiments of the application, the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
identifying a play state of the audio peripheral;
if the playing state of the audio peripheral is a non-mute state, calculating a target gain value corresponding to the target volume value;
and if the playing state of the audio peripheral is a mute state, not responding to the target volume value to adjust the corresponding gain value of the audio peripheral.
In some embodiments of the application, the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
identifying a play state of the audio peripheral;
if the playing state of the audio peripheral is a non-mute state, calculating a target gain value corresponding to the target volume value;
and if the playing state of the audio peripheral is in a mute state, calculating a target gain value corresponding to the target volume value, and storing the target gain value so as to process the audio data by using the target gain value when the playing state of the audio peripheral is detected to be in a non-mute state.
In some embodiments of the application, the controller is configured to:
when the audio peripheral is eARC peripheral, receiving a switching instruction input by a user, wherein the switching instruction is used for indicating to switch the connection mode type of the audio peripheral to ARC mode so as to change the equipment type of the audio peripheral to ARC peripheral;
and responding to the switching instruction, directly transmitting the audio data to the audio peripheral so that the audio peripheral plays the audio data by using the current volume value.
In a second aspect, the present application provides a method for adjusting volume of an eerc peripheral, which is applied to a display device, and the method includes:
receiving a volume adjustment instruction input by a user, wherein the volume adjustment instruction is used for indicating a target volume value;
identifying a device type of an audio peripheral currently used for playing audio data in response to the volume adjustment instruction;
when the audio peripheral is eARC peripheral, calculating a target gain value corresponding to the target volume value;
and processing the audio data by using the target gain value, and transmitting the processed audio data to the audio peripheral equipment so as to enable the audio peripheral equipment to play the processed audio data.
After receiving a volume adjustment instruction input by a user, the display device identifies the type of an audio peripheral currently used for playing audio data, wherein if the currently used audio peripheral is a non-eARC peripheral, the volume value of the audio peripheral is directly adjusted to a target volume value, and the audio data is transmitted to the audio peripheral, so that the audio peripheral plays the audio data by using the target volume value. If the audio peripheral is eARC peripheral, calculating a target gain value corresponding to the target volume value, processing the audio data by using the target gain value, and transmitting the processed audio data to the audio peripheral so as to enable the audio peripheral to play the processed audio data. Therefore, the volume value of the audio data output to the eARC peripheral is adjusted by adjusting the gain value used when the audio data is processed, so that the volume value of the eARC peripheral is adjusted.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a usage scenario of a display device according to an embodiment of the present application;
fig. 2 is a block diagram of a configuration of a control device in an embodiment of the present application;
fig. 3 is a configuration diagram of a display device in an embodiment of the present application;
FIG. 4 is a diagram illustrating an operating system configuration of a display device according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a method for adjusting the volume of an audio peripheral according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an underlying framework associated with an audio peripheral in accordance with an embodiment of the present application;
FIG. 7 is a flowchart illustrating a method for identifying a device type of an audio peripheral according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a prompt box according to an embodiment of the present application;
fig. 9 is a schematic diagram of an HDMI mode setting interface according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an underlying framework associated with an audio peripheral in accordance with an embodiment of the present application;
FIG. 11 is a schematic diagram illustrating a transmission process of audio data between a display device and an audio peripheral according to an embodiment of the present application;
FIG. 12 is a schematic diagram of an audio data streaming process when using an eARC peripheral device according to an embodiment of the present application;
fig. 13 is a flow chart illustrating adjusting volume based on a play status in an embodiment of the application;
fig. 14 is a flowchart illustrating a process of determining a target gain value corresponding to a target volume value according to an embodiment of the present application;
FIG. 15 is a diagram showing a comparison table of the volume values and the gain values according to an embodiment of the present application;
FIG. 16 is a flowchart illustrating an audio mode setting of an audio peripheral according to an embodiment of the present application;
FIG. 17 is a schematic diagram of an audio output mode menu according to an embodiment of the present application;
fig. 18 is a schematic flow chart of audio data after coding gain processing according to an embodiment of the present application;
fig. 19 is a flowchart illustrating switching of audio peripherals according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the examples below do not represent all embodiments consistent with the application. Merely exemplary of systems and methods consistent with aspects of the application as set forth in the claims.
It should be noted that the brief description of the terminology in the present application is for the purpose of facilitating understanding of the embodiments described below only and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms first, second, third and the like in the description and in the claims and in the above-described figures are used for distinguishing between similar or similar objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements explicitly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The display device provided by the embodiment of the application can have various implementation forms, for example, can be an intelligent television, a laser projection device, a display (monitor), an electronic whiteboard (electronic bulletin board), an electronic desktop (electronic table) and the like, and can also be a device with a display screen, such as a mobile phone, a tablet personal computer, an intelligent watch and the like. Fig. 1 and 2 are specific embodiments of a display device of the present application.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment. As shown in fig. 1, a user may operate the display device 200 through the smart device 300 or the control device 100.
In some embodiments, the control device 100 may be a remote control, and the communication between the remote control and the display device may include at least one of infrared protocol communication or bluetooth protocol communication, and other short-range communication methods, and the display device 200 may be controlled by a wireless or wired method. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on the smart device 300.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
The server 400 may be a server providing various services, such as a background server providing support for audio data collected by the display device 200. The background server can analyze and the like the received audio data and the like and feed back the processing result to the terminal equipment.
Fig. 3 shows a block diagram of a configuration of the display device 200 in accordance with an exemplary embodiment.
The display apparatus 200 includes at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280.
In some embodiments, the modem 210 receives broadcast television signals via wired or wireless reception and demodulates audio video signals, and EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wi-Fi module, a bluetooth module, a wired ethernet module, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control apparatus 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector, such as a camera, that can be used to collect external environmental scenes, user attributes, or user interaction gestures; still alternatively, the detector 230 includes a sound collector, such as a microphone or the like, for receiving external sound.
The sound collector may be a microphone, also called "microphone", which may be used to receive the sound of a user and to convert the sound signal into an electrical signal. The display device 200 may be provided with at least one microphone. In other embodiments, the display device 200 may be provided with two microphones, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the display device 200 may also be provided with three, four, or more microphones to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
Further, the microphone may be built in the display device 200, or connected to the display device 200 by a wired or wireless manner. Of course, the position of the microphone on the display device 200 is not limited in the embodiment of the present application. Alternatively, the display device 200 may not include a microphone, i.e., the microphone is not provided in the display device 200. The display device 200 may be coupled to a microphone (also referred to as a microphone) via an interface such as the USB interface 130. The external microphone may be secured to the display device 200 by external fasteners such as a camera mount with clips.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, or the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the controller 250 includes at least one of a central processing unit (Central Processing Unit, CPU), a video processor, an audio processor, a graphics processor (Graphics Processing Unit, GPU), RAM (Random Access Memory), a ROM (Read-Only Memory), a first to nth interface for input/output, a communication Bus (Bus), and the like.
In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, a component for receiving an image signal output from the controller 250, displaying video content, image content, and a menu manipulation interface, and a user manipulation UI interface.
The display 260 may be a liquid crystal display, an OLED display, a projection device, or a projection screen.
In some embodiments, a user may input a user command through a graphical user interface (Graphic User Interface, GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface recognizes the sound or gesture through the sensor to receive the user input command.
In some embodiments, a "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of a user interface is a Graphical User Interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include at least one of a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
Referring to FIG. 4, in some embodiments, the system is divided into four layers, from top to bottom, an application layer (referred to as an "application layer"), an application framework layer (Application Framework layer) (referred to as a "framework layer"), a An Zhuoyun row (Android run) and a system library layer (referred to as a "system runtime layer"), and a kernel layer, respectively.
In some embodiments, at least one application program is running in the application program layer, and these application programs may be a Window (Window) program of an operating system, a system setting program, a clock program, or the like; or may be an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. The application framework layer corresponds to a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system operation library layer and acquire the service of the system in the execution process through the API interface, and call the corresponding driver in the kernel layer to drive the corresponding module to execute the corresponding service by using the corresponding resources.
The audio feedback channel (Audio Return Channel, ARC) makes the digital home appliance wire An Zhuangshang simpler, and the function of ARC is to transmit audio signals, specifically, on the high-definition multimedia interface (High Definition Multimedia Interface, HDMI) supporting ARC, the display device can transmit the audio signals back to the power amplifier audio device or other audio devices with HDMI ARC function through the ARC line, so as to save separate digital output wires. The enhanced audio return channel (Enhanced Audio Return Channel, eARC) after ARC update has a more powerful function, eARC is based on the new standard HDMI2.1, and can provide the best audio resolution through the display device. Through the eARC port, full resolution audio signals, such as Dolby panoramic sound (Dolby Atmos), DTS: the 3D surround sound formats such as X and the like can be directly transmitted back and forth between the display device and the eARC peripheral without being compressed, so that a user can hear more real immersive sound effects. The HDMI 1.4 protocol includes a consumer electronics control (Consumer Electronics Control, CEC) protocol, and Volume adjustment of the audio device can be achieved based on the CEC protocol, that is, the display device directly adjusts a Volume value (Volume) of the audio device in response to a Volume adjustment instruction, so that the audio device plays audio data output by the display device using the adjusted Volume value, thereby achieving an effect of adjusting output Volume of the audio data. Because the HDMI2.1 protocol cannot be compatible with the functions in the HDMI 1.4 protocol, when the display device plays audio through the eARC peripheral, if the display device receives the volume adjustment command, the volume value of the eARC peripheral cannot be directly adjusted in response to the volume adjustment command based on the CEC protocol, and thus the effect of adjusting the output volume of audio data cannot be achieved.
In order to solve the problem that the volume of the eerc peripheral cannot be adjusted, the embodiment of the application provides a display device and a method for adjusting the volume of the eerc peripheral, which can refer to the flow shown in fig. 5 and the bottom frame schematic diagram related to the audio peripheral shown in fig. 6, and specifically includes the following steps:
s501, receiving a volume adjustment instruction input by a user, wherein the volume adjustment instruction is used for indicating a target volume value.
The user inputs a volume adjustment instruction to the display device 200 through the control apparatus 100, the smart device 300, or voice control to instruct the display device 200 to adjust the volume to a target volume value.
In an example one, the volume adjustment command carries a volume key value, and the volume key value corresponds to a preset volume change amount. The target volume value (V) is the current volume value (V) of the display device 200 0 ) The sum of the preset volume change amount (a), namely the target volume value meets the following formula:
V=V 0 +a
if the volume key value is 'reduced', the preset volume change amount is a negative value; if the volume key value is "up", the preset volume change amount is a positive value. For example, the user sends a volume adjustment command to the display device 200 by pressing a "+" button on the remote controller, where the volume adjustment command carries a volume key value "+", and "+" corresponds to increasing the volume and to a preset volume change of +1 based on the communication protocol. If the current volume value of the display apparatus 200 is 10, the target volume value is 11. For example, the user sends a volume adjustment command to the display device 200 by pressing a "-" button on the remote controller, where the volume adjustment command carries a volume key "-", based on the communication protocol, "-" corresponds to a decrease in volume, and corresponds to a preset volume change of-1. If the current volume value of the display apparatus 200 is 10, the target volume value is 9.
Further, the user may input a volume adjustment instruction to the display apparatus 200 a plurality of times according to the above-described procedure to adjust the volume value of the display apparatus 200 to a desired volume value. For example, the user inputs 3 volume adjustment commands to the display device 200 through the remote controller in turn, and carries volume key values "+", "-", respectively, and assuming that the current volume value of the display device 200 is 10, after the adjustment of the 3 volume adjustment commands, the volume value of the display device 200 is 11.
In example two, the volume adjustment command directly carries the target volume value. Illustratively, the user directly inputs the target volume value to be adjusted to through the smart device 300, or by transmitting voice information to the display device 200 to directly indicate the target volume value within the voice information. For example, the user inputs a numerical value in an input box corresponding to the volume value on the mobile phone, where the numerical value is a target volume value, for example, inputs "11", and the target volume value is 11. By way of example, the user "adjusts the volume to 11" by inputting voice information to the display apparatus 200, the target volume value is 11. Thus, the user may adjust the volume value to the desired target volume value by only one interaction with the display device 200.
The sound volume values in the above two examples do not refer to actual db values, but rather index values of db values, and the display device 200 stores index lists of sound volume values and db values in advance, so that, based on the sound volume values, corresponding db values, that is, corresponding sound volumes when audio data is output, can be determined.
S502, responding to the volume adjustment instruction, and identifying the device type of the audio peripheral currently used for playing audio data, wherein the device type comprises an eARC peripheral and a non-eARC peripheral.
The volume adjustment instruction input in S501 is a communication instruction based on the HDMI 1.4 protocol, and as can be seen from the above, the volume value of the eerc peripheral cannot be adjusted based on the volume adjustment instruction executed by the HDMI 1.4 protocol. Thus, when the display device 200 responds to the volume adjustment command to adjust the volume value of the audio device, it is first required to identify the device type of the audio peripheral currently used for playing audio data, and to use different volume adjustment modes for the audio peripherals of different device types, so as to ensure the effectiveness of volume adjustment.
In this embodiment, the device type of the audio peripheral may be identified with reference to the flow shown in fig. 7, and the specific steps are as follows:
S701, detecting whether the HDMI is connected to the audio peripheral.
And detecting whether an audio peripheral accessed through the HDMI exists or not by identifying the connection state of the HDMI. When the audio device is connected to the display device 200 supporting the eARC peripheral (including the HDMI eARC interface), the audio device first performs a hardware handshake with the display device 200 through a hot plug (hotplug) pin and an ARC pin of the HDMI, and after the handshake is successful, the audio device is connected with the display device 200 through the HDMI. The display device 200 may detect whether HDMI accesses an audio peripheral by monitoring a handshake state of an ARC peripheral, where HDMI accesses the audio peripheral when it monitors that the handshake of the ARC peripheral is successful, and HDMI does not access the audio peripheral when it monitors that the handshake of the ARC peripheral is failed.
In some embodiments, if the display device 200 does not detect an HDMI access audio peripheral, it is directly determined that the audio peripheral currently used by the display device 200 is a non-earcon peripheral, such as a speaker of the display device 200, an audio device connected through a network, an audio device connected through bluetooth, an audio device connected through ethernet, or the like.
S702, identifying a connection mode type of the audio peripheral when the HDMI accesses the audio peripheral, wherein the connection mode type comprises an eARC mode and an ARC mode.
The audio peripheral accessed through HDMI includes two connection modes, namely, an eARC mode and an ARC mode, wherein the ARC mode supports HDMI 1.4 protocol and the eARC mode supports HDMI 2.1 protocol.
In some embodiments, when the display device 200 detects that HDMI accesses to the audio peripheral, the eARC handshake is automatically started, and if the eARC handshake is monitored to be successful, the eARC mode is automatically started, i.e. a high-quality audio format is automatically provided for the user, so as to improve the playing quality of the audio. If the eARC handshake failure is monitored, the ARC mode continues to be used.
In some embodiments, when the display device 200 detects that HDMI has accessed an audio peripheral, an eARC handshake is automatically initiated, and if the eARC handshake is monitored to be successful, a prompt box as shown in fig. 8 is displayed, where the prompt box includes a prompt "whether to open eARC mode? ", to prompt the user that both the current display device 200 and the audio peripheral support earcon. The prompt box also includes an "open" option and a "cancel" option, wherein if the user selects the "open" option, the display device 200 opens the eARC mode, and if the user selects the "cancel" option, the display device 200 continues to use the ARC mode. Therefore, the user can set the connection mode of the audio peripheral by himself based on the playing requirement of the audio data.
In some embodiments, the display device 200 defaults to the ARC mode. The user inputs a control instruction to the display device 200 by manipulating the control apparatus 100 or the smart device 300 or the like to instruct the display device 200 to display the HDMI mode setting interface, may refer to the HDMI mode setting interface shown in fig. 9, including an ARC mode option and an eARC mode option, wherein an indication flag (filled circle) indicating that the type of connection mode currently used is an ARC mode is displayed on the left side of the ARC mode option. The user inputs a mode switching instruction to the display apparatus 200 by selecting the eARC mode option to instruct the display apparatus 200 to use the eARC mode. In response to the mode switching instruction, the display device 200 starts an eARC handshake, and if the eARC handshake is successful, uses the eARC mode; if the eARC handshake fails, the ARC mode continues to be used and a prompt is displayed to indicate that the eARC mode is not available.
Based on the above embodiments, the connection mode type between the audio peripheral and the display apparatus 200 can be accurately identified.
S703, when the connection mode type of the audio peripheral is the eARC mode, the equipment type of the audio peripheral is eARC peripheral.
S704, when the connection mode type of the audio peripheral is the ARC mode, the equipment type of the audio peripheral is ARC peripheral.
The connection mode type of the audio peripheral corresponds to the equipment type of the audio peripheral, wherein when the connection mode type is eARC mode, the equipment type of the audio peripheral is eARC peripheral, and when the connection mode type is ARC mode, the equipment type of the audio peripheral is ARC peripheral.
The device type of the audio peripheral that can be used currently by the display device 200 can be accurately identified based on S701 to S704, that is, if the display device 200 does not detect that the HDMI is currently connected to the audio peripheral, the audio peripheral that can be used currently is a non-earcon peripheral, and the specific device type can refer to the disclosure in S701 and is not repeated herein. If the display device 200 detects that the HDMI is currently connected to the audio peripheral, the type of connection mode used by the audio peripheral may be determined to further determine the device type to which the audio peripheral corresponds.
The user inputs a device selection instruction to the display device 200 to instruct the display device 200 to be an audio device currently used for playing audio data, the audio device belonging to an audio peripheral currently available to the display device 200, and the device type of the audio device currently used for playing audio data can be accurately identified based on the device type of each currently available audio peripheral determined by the above procedure. Based on the volume adjusting method in the embodiment of the application, only the eARC peripheral and the non-eARC peripheral are distinguished for each equipment type, and the specific equipment type in the non-eARC peripheral is not distinguished.
The access procedure of the eerc peripheral is described in connection with the underlying framework schematic associated with the audio peripheral shown in fig. 10. As shown in fig. 10, the eARC peripheral (i.e., the audio peripheral supporting eARC) performs an ARC handshake with the display device 200 through the hotplug pin and the ARC pin of the HDMI, after the ARC handshake is successful, the HDMI driver layer recognizes the access to the ARC peripheral, the eARC peripheral further performs the eARC handshake, if the eARC handshake is successful, the HDMI driver layer determines that the connection mode type of the audio peripheral is eARC mode, and generates device connection status information, such as a new connection eARC peripheral and a device name of the eARC peripheral, the HDMI driver layer reports the device connection status information to the HDMI hardware interface layer, and the HDMI hardware interface layer reports the device connection status information to the HDMI device service layer after receiving the device connection status information and reporting the same to the audio peripheral service. The audio peripheral service records the device connection status information and updates an audio peripheral list based on the device connection status information, for example, adding the device name of the eARC peripheral to the audio peripheral list. The audio peripheral service reports the device state connection information to the audio policy service, so that the audio policy service updates an audio policy based on the device state connection information, wherein the audio policy service notifies the display device 200 of the currently used audio player, obtains an updated audio peripheral list (i.e., including the device name of the earcon peripheral) from the current player, and generates a corresponding option list based on the updated audio peripheral list, where the option list includes an option corresponding to each audio peripheral in the updated audio peripheral list, so that when a device selection instruction input by a user is received, the option list is displayed, so that the user can select an audio peripheral to be used from the option list. If the user selects the eARC peripheral, a corresponding audio output path is created by the audio policy service to output audio data to the eARC peripheral via the audio output path.
And S503, when the audio peripheral is a non eARC peripheral, adjusting the volume value of the audio peripheral to the target volume value, and transmitting the audio data to the audio peripheral so that the audio peripheral plays the audio data by using the target volume value.
When it is recognized that the currently used audio peripheral is a non-earcon peripheral, such as a speaker of the display apparatus 200, an ARC peripheral, etc., the volume value of the audio peripheral may be directly adjusted to the target volume value based on the original communication protocol, such as CEC protocol, HDMI 1.4 protocol, etc. At this time, the display apparatus 200 directly transmits the audio data to the audio peripheral, processes the audio data by the audio peripheral using the adjusted volume value (i.e., the target volume value), and plays the processed audio data, thereby realizing the volume adjustment of the audio peripheral.
Illustratively, as shown in fig. 11, the audio peripherals currently connected to the display apparatus 200 include an audio peripheral a and an audio peripheral B, wherein the audio peripheral a is an ARC peripheral and the audio peripheral B is an eacrc peripheral. The audio peripheral currently used by the display apparatus 200 is the audio peripheral a, the display apparatus 200 receives a volume adjustment instruction input by the user, the volume adjustment instruction indicating that the target volume value is 10, and the display apparatus 200 directly adjusts the volume value of the audio peripheral a to 10 and outputs the audio data M to the audio peripheral a. After receiving the audio data M, the audio peripheral a plays the audio data M using the decibel value corresponding to the volume value 10.
S504, when the audio peripheral is eARC peripheral, calculating a target gain value corresponding to the target volume value.
When it is recognized that the currently used audio peripheral is an eARC peripheral, the audio data may be processed through the display device 200 to have the same effect as adjusting the volume value of the eARC peripheral.
The process of streaming Audio data when using the eARC peripheral as shown in fig. 12 is illustrated by taking the display device 200 as a television, where the Audio data may be provided by a network media application, a local media application, an HDMI signal, an Audio-Video (AV) signal, a digital television (Digital Television, DTV)/an antenna television (Antenna Television, ATV) signal. For the Audio data provided by the network media application and the body media application, the television adopts a standard playing mode, and the Audio data is written into the Audio driving end by the player through an interface of an Audio hardware interface layer called by an Audio manager (Audio player) of the Audio framework layer. For HDMI signals, AV signals, DTV/ATV signals, decoding processing is performed by the TV terminal, and then decoded audio data is written into the audio driving terminal. The audio driver performs processing on the audio data according to the audio format of the input audio data, for example, if the audio data is in a pulse code modulation (Pulse Code Modulation, PCM) format, the audio data is directly subjected to post-processing and gain processing. If the audio data is in a non-PCM format, firstly decoding the audio data to obtain the audio data in the PCM format, and then performing post-processing and gain processing on the decoded audio data. The Gain processing refers to adjusting a Gain value (Gain) of the audio data, wherein the Gain value and the volume value have a direct proportional relationship, i.e., the larger the Gain value is, the larger the volume value corresponding to the audio data is, the smaller the Gain value is, and the smaller the volume value corresponding to the audio data is.
Based on the above-mentioned streaming process of audio data when using the eerc peripheral, the effect of adjusting the volume value of the output audio data can be achieved through gain processing, and the audio data after gain processing can be played through the eerc peripheral, so that the volume adjusting effect identical to the volume value of the eerc peripheral can be achieved.
When the display device 200 adjusts the volume of the audio data based on the gain value, it is first required to determine the current audio playing state of the eerc peripheral to determine whether the volume value of eerc needs to be adjusted, and the specific steps are as follows:
s1301, identifying the playing state of the audio peripheral.
The play states of the audio peripheral (i.e., eARC peripheral) include a Mute (Mute) state and an unmuted state, wherein the unmuted state refers to a state in which the audio peripheral changes the output volume of audio data in response to a volume adjustment instruction, i.e., a state in which a volume value is effectively adjustable. The mute state refers to a state in which the audio peripheral does not change the output volume value of the audio data in response to the volume adjustment instruction, when the output volume value of the audio data is 0dB.
As shown in fig. 10, after the eerc peripheral device is connected to the display device 200, the eerc peripheral device reports a playing state, i.e. a mute state or an unmuted state, wherein when the eerc is in the unmuted state, the eerc peripheral device directly reports a volume gain state, i.e. a current gain value. The eARC peripheral device reports the playing state to the HDMI device service through the HDMI hardware interface layer, the HDMI device service reports the playing state to the audio peripheral device service after receiving the playing state, the audio peripheral device service records the playing state after receiving the playing state, and reports the playing state to the audio strategy service, and the audio strategy service reports the playing state to the audio hardware interface layer. The audio hardware interface layer reports the gain value corresponding to the playing state to the audio driving layer, wherein if the playing state is a mute state, the gain value is the gain value corresponding to the mute state (namely, the sound volume value 0), and if the playing state is a non-mute state, the gain value is the current gain value reported by the eARC peripheral equipment. The audio driving layer processes the audio data based on the obtained gain value, wherein if the gain value is a gain value corresponding to a mute state (i.e., a volume value of 0), the volume value corresponding to the processed audio data is 0, i.e., no sound is played. If the gain value is the current gain value, the processed audio data has a corresponding volume value, and the volume value is not 0, namely, sound is played.
And S1302, calculating a target gain value corresponding to the target volume value when the playing state of the audio peripheral is a non-mute state.
If the playing state of the audio peripheral is in a non-mute state, the gain value used for gain processing is adjusted based on the target volume value indicated by the volume adjustment instruction, namely, the corresponding gain value is calculated based on the target volume value, and the gain value is the target gain value used for gain processing of the audio data.
And S1303, when the playing state of the audio peripheral is a mute state, not responding to the target volume value to adjust the corresponding gain value of the audio peripheral.
If the playing state of the audio peripheral is in a mute state, the gain value corresponding to the audio peripheral is not adjusted in response to the target volume value, namely the received target volume value is discarded, the corresponding target volume value is not calculated, and the gain value corresponding to the volume value 0 is continuously used for processing the audio data so as to keep the volume value of the played audio data to be 0.
In some embodiments, if the playing state of the audio peripheral is a mute state, a corresponding target gain value is calculated based on the target volume value and stored, but the audio data is still processed using the gain value corresponding to the volume value 0 to keep the volume value of the played audio data at 0. If the display device 200 detects that the play state of the eARC peripheral is adjusted from the mute state to the non-mute state, the stored target gain value is directly obtained, and the audio data is processed using the target gain value.
When the audio peripheral is in a non-mute state, or a mute state, but the state of adjusting the gain value in response to the target sound volume value silence, the display apparatus 200 calculates a corresponding target gain value based on the acquired target sound volume value. As shown in fig. 6, the display apparatus 200 transmits a target volume value to the audio peripheral service, records the target volume value by the audio peripheral service, and calculates a target gain value.
In some embodiments, the correspondence relationship of the unit volume change amount and the gain change amount is stored in the display apparatus 200 in advance, and in order to facilitate distinguishing the correspondence relationship of the unit volume change amount and the gain change amount as a first correspondence relationship, a target gain value corresponding to a target volume value may be determined based on the first correspondence relationship.
Reference may be made to the flow shown in fig. 14, which is specifically as follows:
s1401, acquiring a current sound value of the display device and a current gain value of the audio peripheral.
The current volume value of the display device 200 is the volume value currently used by the display device 200, and the current gain value of the audio peripheral is the gain value reported after the audio peripheral is connected to the display device 200.
S1402, calculating the target volume change quantity of the current volume value and the target volume value.
Based on the target volume value (V) the current volume value (V) 0 ) And the current volume value (V 0 ) Calculating a target volume change amount V B Target volume change V B The following formula is satisfied:
V B =V-V 0
for example, the volume adjustment command may be a volume key value, where the volume key value corresponds to a unit volume change amount, and the target volume change amount is the unit volume change amount. The target volume change amount has a positive value and a negative value, wherein the positive value is the corresponding unit volume change amount of the volume key value for indicating the volume increase, the positive value is the target volume change amount, the negative value is the corresponding unit volume change amount of the volume key value for indicating the volume decrease, and the negative value is the target volume change amount.
In connection with example two, each volume adjustment instruction directly indicates a target volume value, which is a value flexibly input by the user, that is, the target volume value is not adjusted in multiple units of volume change based on the current volume value, and thus, the target volume change includes N units of volume change, where N may be an integer or a fraction. For example, the target volume value is 22.5, the current volume value is 20, and the unit volume change amount is 1, N is 2.5, and for another example, the target volume value is 22, the current volume value is 20, and the unit volume change amount is 1, N is 2. The target volume change amount has a positive value, wherein if the difference between the target volume value and the current volume value is a positive value, the target volume change amount is a positive value, i.e., the volume is increased. If the difference between the target volume value and the current volume value is a negative value, the target volume change amount is a negative value, i.e. the volume is reduced.
The unit volume change amounts corresponding to the different types of volume adjustment instructions may be different or the same, for example, the unit volume change amount corresponding to the volume key value may be set to an integer so as to calculate the gain value. The unit volume change amount corresponding to the target volume value to be directly set may be set to a fraction so as to better accommodate the volume value adjusted based on fine granularity, thereby facilitating calculation of the gain value. When the unit volume change amounts are different, it is necessary to prestore the gain change amount corresponding to each unit volume change amount.
S1403, determining a target gain variation corresponding to the target volume variation based on a correspondence between the unit volume variation and the gain variation.
Based on the unit volume change amount (V n ) And gain variation (G) n ) Calculates a target gain variation (G) B ) The target gain variation satisfies the following formula:
G B =V B /V n ·G n
for example, the current volume value is 20, the user inputs a volume adjustment command through the remote controller, the volume adjustment command carries a volume key value "+", the display device 200 adjusts the volume value by a unit volume change amount, such as 1, in response to the volume key value "+", and the adjusted volume value is 21. Thus, the target volume change amount is 1, and if the gain change amount corresponding to the unit volume change amount is 1, the target gain change amount is 1.
As another example, the current volume value is 20 and the user inputs a volume adjustment command via the phone that directly indicates the target volume value, such as 18. Thus, the target volume change amount is-2, and if the unit volume change amount is 1 and the gain change amount corresponding to the unit volume change amount is 1, the target gain change amount is-2.
S1404, calculating the sum of the target gain variation and the current gain value to obtain the target gain value.
Based on the target gain variation and the current gain value (G 0 ) Calculating a target gain value (G) which satisfies the following formula:
G=G 0 +G B
for example, when the current gain value is 20 and the target gain variation amount is 1, the target gain value is 25.
As another example, if the current gain value is 20 and the target gain variation is-2, the target gain value is 18.
In some embodiments, the correspondence between the volume value and the gain value is stored in the display apparatus 200 in advance, and in order to facilitate distinguishing what is referred to as a second correspondence, the target gain value corresponding to the target volume value may be directly determined based on the second correspondence.
In order to facilitate the display apparatus 200 to manage the second correspondence, to improve the determination efficiency and accuracy of the target gain value, the volume value and the gain value may be stored using a comparison table of volume values and gain values, as shown in fig. 15 (the values in the comparison table are only examples, without limitation), the left column of the comparison table is the volume value, and the right column is the gain value, wherein the volume value and the gain value of each row are a set, the volume value in each set is an index, and the corresponding gain value may be determined.
For example, the user inputs a volume adjustment instruction carrying a volume key "+" through the remote controller, and the display apparatus 200 increases the volume value by a unit volume change amount, such as 1, in response to the volume key "+", and the adjusted target volume value is 21 assuming that the current volume value is 20. The display apparatus 200 acquires a lookup table such as that shown in fig. 15, and locates the sound value 21 from the lookup table, and determines the corresponding gain value 21, i.e., the target gain value 21, with 21 as an index.
As another example, the user inputs a volume adjustment command via the handset that directly indicates a target volume value, such as 18. The display apparatus 200 acquires a lookup table such as that shown in fig. 15, and locates the sound volume value 18 from the lookup table, and determines the corresponding gain value 18, i.e., the target gain value 18, with 18 as an index.
Thus, the target gain value can be quickly determined based on the lookup table.
In some embodiments, different eerc peripherals have different playing performances, such as noise reduction capability, and different comparison tables are established based on different eerc peripherals, so that the corresponding relationship between the sound volume value and the gain value is matched with the playing performance of the corresponding eerc peripheral, and the problems of excessive noise, vertical bamboo flute and the like are avoided. The correspondence between the eARC peripheral and the lookup table, for example, the correspondence between the device name of the eARC peripheral and the list name of the lookup table, such as "device 1-table 1", is stored in the display device 200 in advance, and thus, the display device 200 determines that the lookup table is table 1 by identifying the identifier of the accessed eARC peripheral, such as "device 1", and based on the correspondence between the device name of the eARC peripheral and the list name of the lookup table. The reference table of each eARC peripheral may refer to fig. 15, and the process of determining the target gain value based on the reference table corresponding to the current eARC peripheral may refer to a portion corresponding to fig. 15, which is not described herein.
S505, processing the audio data by using the target gain value, and transmitting the processed audio data to the audio peripheral, so that the audio peripheral plays the processed audio data.
As shown in fig. 6, the audio peripheral service reports the target gain value and the target volume value to the audio policy service, the audio policy service reports the target gain value and the target volume value to the audio hardware interface layer, and the audio hardware interface layer processes audio data based on the target gain value. The display device 200 performs gain processing on the audio data using the target gain value, the volume value of the processed audio data has corresponding adjustment, the display device 200 outputs the processed audio data to the eerc peripheral, at this time, the volume value of the audio data played by the eerc peripheral changes, the playing effect of the eerc peripheral changes in volume value, and the same effect as adjusting the volume value of the eerc peripheral is achieved.
For example, as shown in fig. 11, the audio peripheral currently used by the display apparatus 200 is the audio peripheral B, the display apparatus 200 receives a volume adjustment instruction input by the user, the volume adjustment instruction indicates that the target volume value is 18, the display apparatus 200 calculates a corresponding target gain value to be 18 based on the target volume value, and performs gain processing on the audio data M using the target gain value 18, so as to obtain processed audio data M ', and outputs the processed audio data M' to the audio peripheral a. After receiving the processed audio data M ', the audio peripheral a plays the processed audio data M'.
In some embodiments, the eerc peripheral may support a richer audio format, and in particular, support an audio format with a high code rate, so that the eerc peripheral may play audio data with higher quality, in order to better meet the requirements of users on sound quality and ensure higher audio playing quality, after gain processing the audio data, the display device 200 encodes the processed audio data according to the audio format specified by the users, and then transmits the encoded audio data to the eerc peripheral, so that the eerc peripheral plays the audio data with the specified audio format, so as to meet the requirements of the users on audio quality.
The audio mode of the audio peripheral is set with reference to the flow shown in fig. 16, and the specific steps are as follows:
s1601, receiving a setting instruction input by a user, where the setting instruction is used to indicate a target audio mode, and the target audio mode corresponds to an audio format output to the audio peripheral.
The user inputs a setting instruction to the display device 200 through the control apparatus 100 or the smart device 300 to instruct the display device 200 to set the selected target audio mode to the audio mode to be used by the eARC peripheral. Taking the case where the user sets through the remote controller as an example, the user controls the display device 200 to display an audio output mode menu of the eerc peripheral by manipulating the remote controller. In some embodiments, based on the above S701 to S704, after the display apparatus 200 receives a selection instruction input by the user, an audio output mode menu is displayed in response to the selection instruction to prompt the user to select a target audio mode used by the eARC peripheral. In some embodiments, the user may control the display device 200 to display an audio output mode menu at any time and adjust the target audio mode used by the eARC peripheral based on the audio output mode menu.
Reference may be made to the audio output mode menu shown in fig. 17, which includes options for audio modes, such as Auto mode, pass Through mode, PCM mode, dolby Digital + (Dolby Digital Plus) mode. The audio mode corresponds to an audio format output to the audio peripheral, wherein the auto mode refers to a mode in which a specific audio mode is set by the display apparatus 200, and a process in which the display apparatus 200 sets the specific audio mode in the auto mode is described later. The pass-through mode refers to directly transmitting audio data in a current audio format to an audio peripheral without changing the audio format. The PCM mode refers to transmitting audio data in PCM format of the audio decoding layer to the audio peripheral after gain processing. The dolby digital mode is to encode the audio data after gain processing into a dolby digital format and output the audio data to the audio peripheral. The dolby digital + mode is a mode of encoding the audio data after gain processing into dolby digital + format, and then outputting to the audio peripheral. Thus, other modes than the automatic mode have fixed corresponding audio formats, and if one of the audio modes is specified, the mode corresponds to the specified audio format to be used.
In some embodiments, the indication identifier is displayed in the audio output mode menu, and the indication identifier is displayed on an option of the audio mode and is used for indicating that the audio mode is the audio mode currently used by the audio peripheral, and the audio mode can be a default audio mode or an audio mode selected by the user last time. For example, as shown in fig. 17, an indication flag (solid circle) is displayed on the automatic mode to indicate that the automatic mode is the audio mode currently used by the audio peripheral.
The user moves the focus to an option of a target audio mode to be selected, for example, to a PCM mode by manipulating the remote controller, and transmits a setting instruction to the display device 200 by pressing a "ok" key of the remote controller.
S1602, responding to the setting instruction, and setting the audio mode of the audio peripheral as the target audio mode.
The display apparatus 200 recognizes an option of an audio mode in which a focus is located (i.e., a target audio mode) in response to a setting instruction, to set an audio mode corresponding to the option as an audio peripheral of the audio peripheral. Accordingly, the display device 200 encodes the gain-processed audio data using the audio format corresponding to the target audio mode (i.e., the designated audio format), and transmits the encoded audio data to the audio peripheral for playing.
Referring to the audio data after the process coding gain processing shown in fig. 18, the specific steps are as follows:
s1801, identifying an audio format corresponding to the target audio mode.
And identifying the audio format corresponding to the target audio mode currently used by the audio peripheral, referring to the explanation of each audio mode in S1601, wherein the audio format corresponding to the automatic mode is not fixed, and can be considered as the optional audio format, and the audio formats corresponding to the other audio modes are all fixed and can be considered as the preset audio formats.
S1802, when the audio format corresponding to the target audio mode is a preset audio format, the processed audio data is encoded according to the preset audio format.
Illustratively, the target audio mode is a pass-through mode, and the display device 200 directly subjects the audio data to gain processing without changing the current audio format of the audio data.
If the target audio mode is the PCM mode, the corresponding audio format is the PCM format, and the display apparatus 200 performs gain processing on the audio data in the PCM format of the audio decoding layer, where the obtained audio data has the PCM format.
The target audio mode is dolby digital mode, and the corresponding audio format is dolby digital format, the display apparatus 200 subjects the audio data to gain processing, and encodes the gain-processed audio data using the dolby digital format.
The target audio mode is dolby digital + mode, and the corresponding audio format is dolby digital + format, the display apparatus 200 subjects the audio data to gain processing, and encodes the gain-processed audio data using the dolby digital + format.
S1803, when the audio format corresponding to the target audio mode is an optional audio format, obtaining decoding information of the audio peripheral, wherein the decoding information comprises the audio format supported by the audio peripheral.
If the target audio mode is an auto mode, the display apparatus 200 determines an audio format to be used based on the audio formats supported by the audio peripheral for decoding, wherein an audio format having the optimal audio quality is selected in order to secure the audio play quality. In this embodiment, the audio format supported by the audio peripheral matches the maximum decoding capability of the audio peripheral, i.e. the decoding capability corresponding to the audio format supported by the audio peripheral does not exceed the maximum decoding capability of the audio peripheral.
As shown in fig. 10, after the audio peripheral is connected to the display apparatus 200, decoding information such as maximum decoding capability, supported audio coding type, etc. is reported. The audio peripheral transmits decoding information to the HDMI driving layer, the HDMI driving layer reports the decoding information to the HDMI hardware interface layer after receiving the decoding information, the HDMI hardware interface layer reports the decoding information to the HDMI service after receiving the decoding information, the HDMI service reports the decoding information to the audio peripheral service after receiving the decoding information, the audio peripheral service reports the decoding information to the audio hardware interface layer after receiving the decoding information, the audio hardware interface layer determines an audio format matched with the maximum decoding capability indicated in the decoding information after recognizing that the decoding information is currently in an automatic mode, and the audio format is used as a target audio format of encoded audio data. Therefore, the optimal audio format can be selected on the basis of matching with the decoding capability of the audio peripheral, so that the playing quality of the audio is improved.
S1804, encoding the processed audio data according to a target audio format in audio formats supported by the audio peripheral, wherein the target audio format refers to an audio format with optimal audio quality.
The gain-processed audio data is encoded using the target audio format determined in S1803, and the encoded audio data is transmitted to an audio peripheral for playback.
In some embodiments, a user may switch the connection mode type to the ARC mode at any time during the process of playing audio data using the eARC peripheral, and referring to the connection mode type switching flow shown in fig. 19, specific steps are as follows:
and S1901, when the audio peripheral is eARC peripheral, receiving a switching instruction input by a user, wherein the switching instruction is used for indicating to switch the connection mode type of the audio peripheral to ARC mode so as to change the equipment type of the audio peripheral to ARC peripheral.
The user inputs a control instruction to the display device 200 through the control apparatus 100 or the smart device 300 to instruct the display device 200 to display the HDMI mode setting interface (refer to fig. 9), and since the current connection mode type of the audio peripheral is eARC mode, the option of eARC mode has a corresponding instruction identifier. The user manipulates the control apparatus 100 or the smart device 300 to move the focus to the option of the ARC mode and inputs a selection of the option to transmit a switching instruction to the display device 200, instructing the display device 200 to switch the connection mode type of the audio peripheral to the ARC mode.
And S1902, responding to the switching instruction, and directly transmitting the audio data to the audio peripheral so that the audio peripheral plays the audio data by using the current volume value.
The audio peripheral after the connection mode type is switched is the ARC peripheral, at this time, the display device 200 may execute the volume adjustment instruction based on the HDMI1.4 protocol, that is, directly adjust the volume value of the ARC peripheral, so, when the display device 200 receives the volume adjustment instruction, the audio data may be directly transmitted to the ARC peripheral without performing gain processing on the audio data, and the volume value of the ARC peripheral may be directly adjusted to the volume value indicated by the volume adjustment instruction, and the ARC peripheral may play the audio data using the adjusted volume value.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the above discussion in some examples is not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the disclosure and to enable others skilled in the art to best utilize the embodiments.

Claims (10)

1. A display device, characterized by comprising:
a display configured to display a user interface;
a controller configured to:
receiving a volume adjustment instruction input by a user, wherein the volume adjustment instruction is used for indicating a target volume value;
identifying a device type of an audio peripheral currently used for playing audio data in response to the volume adjustment instruction;
when the audio peripheral is eARC peripheral, calculating a target gain value corresponding to the target volume value;
and processing the audio data by using the target gain value, and transmitting the processed audio data to the audio peripheral equipment so as to enable the audio peripheral equipment to play the processed audio data.
2. The display device of claim 1, wherein the controller is configured to:
identifying a device type of an audio peripheral currently being used to play audio data in response to the volume adjustment instruction, comprising:
detecting whether the HDMI is connected to an audio peripheral or not;
identifying a connection mode type of the audio peripheral when the HDMI accesses the audio peripheral, wherein the connection mode type comprises an eARC mode and an ARC mode;
if the connection mode type of the audio peripheral is the eARC mode, the equipment type of the audio peripheral is eARC peripheral;
And if the connection mode type of the audio peripheral is the ARC mode, the equipment type of the audio peripheral is ARC.
3. The display device of claim 1, wherein the controller is configured to:
processing the audio data using the target gain value and transmitting the processed audio data to the audio peripheral, further comprising:
and encoding the processed audio data according to a specified format so that the audio peripheral plays the processed audio data with the specified audio format.
4. The display device of claim 3, wherein the controller is further configured to:
receiving a setting instruction input by a user, wherein the setting instruction is used for indicating a target audio mode, and the target audio mode corresponds to an audio format output to the audio peripheral;
setting an audio mode of the audio peripheral to the target audio mode in response to the setting instruction;
encoding the processed audio data in a specified audio format, comprising:
identifying an audio format corresponding to the target audio mode;
if the audio format corresponding to the target audio mode is a preset audio format, the processed audio data is encoded according to the preset audio format;
If the audio format corresponding to the target audio mode is an optional audio format, decoding information of the audio peripheral is obtained, wherein the decoding information comprises the audio format which is supported to be decoded by the audio peripheral;
and encoding the processed audio data according to a target audio format in audio formats which are supported to be decoded by the audio peripheral, wherein the target audio format refers to an audio format with optimal audio quality.
5. The display device of claim 1, wherein the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
and determining a target gain value corresponding to the target volume value based on the corresponding relation between the volume value and the gain value.
6. The display device of claim 1, wherein the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
acquiring a current sound value of the display equipment and a current gain value of the audio peripheral;
calculating a target volume change amount of the current volume value and the target volume value;
Determining a target gain variation corresponding to the target volume variation based on the corresponding relation between the unit volume variation and the gain variation;
and calculating the sum value of the target gain variation and the current gain value to obtain the target gain value.
7. The display device of claim 1, wherein the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
identifying a play state of the audio peripheral;
if the playing state of the audio peripheral is a non-mute state, calculating a target gain value corresponding to the target volume value;
and if the playing state of the audio peripheral is a mute state, not responding to the target volume value to adjust the corresponding gain value of the audio peripheral.
8. The display device of claim 1, wherein the controller is configured to:
when the audio peripheral is an eARC peripheral, calculating a target gain value corresponding to the target volume value, including:
identifying a play state of the audio peripheral;
if the playing state of the audio peripheral is a non-mute state, calculating a target gain value corresponding to the target volume value;
And if the playing state of the audio peripheral is in a mute state, calculating a target gain value corresponding to the target volume value, and storing the target gain value so as to process the audio data by using the target gain value when the playing state of the audio peripheral is detected to be in a non-mute state.
9. The display device of claim 1, wherein the controller is configured to:
when the audio peripheral is eARC peripheral, receiving a switching instruction input by a user, wherein the switching instruction is used for indicating to switch the connection mode type of the audio peripheral to ARC mode so as to change the equipment type of the audio peripheral to ARC peripheral;
and responding to the switching instruction, directly transmitting the audio data to the audio peripheral so that the audio peripheral plays the audio data by using the current volume value.
10. A method for adjusting the volume of an eARC peripheral device, applied to a display device, the method comprising:
receiving a volume adjustment instruction input by a user, wherein the volume adjustment instruction is used for indicating a target volume value;
identifying a device type of an audio peripheral currently used for playing audio data in response to the volume adjustment instruction;
When the audio peripheral is eARC peripheral, calculating a target gain value corresponding to the target volume value;
and processing the audio data by using the target gain value, and transmitting the processed audio data to the audio peripheral equipment so as to enable the audio peripheral equipment to play the processed audio data.
CN202210502083.9A 2022-05-09 2022-05-09 Display equipment and volume adjusting method of eARC peripheral equipment Pending CN117075837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210502083.9A CN117075837A (en) 2022-05-09 2022-05-09 Display equipment and volume adjusting method of eARC peripheral equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210502083.9A CN117075837A (en) 2022-05-09 2022-05-09 Display equipment and volume adjusting method of eARC peripheral equipment

Publications (1)

Publication Number Publication Date
CN117075837A true CN117075837A (en) 2023-11-17

Family

ID=88702991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210502083.9A Pending CN117075837A (en) 2022-05-09 2022-05-09 Display equipment and volume adjusting method of eARC peripheral equipment

Country Status (1)

Country Link
CN (1) CN117075837A (en)

Similar Documents

Publication Publication Date Title
CN111757171A (en) Display device and audio playing method
US20180077461A1 (en) Electronic device, interractive mehotd therefor, user terminal and server
WO2021042655A1 (en) Sound and picture synchronization processing method and display device
US8872765B2 (en) Electronic device, portable terminal, computer program product, and device operation control method
CN112995551A (en) Sound control method and display device
US20120078619A1 (en) Control apparatus and control method
WO2021253895A1 (en) Media resource playing method and display device
CN114327199A (en) Display device and multi-window parameter setting method
US20130308055A1 (en) Information processor, information processing method, and computer program product
CN112612443A (en) Audio playing method, display device and server
WO2022078065A1 (en) Display device resource playing method and display device
KR101372904B1 (en) smart IPTV settop box system having an internet telephone function and controlling method
CN112104950B (en) Volume control method and display device
US20140362166A1 (en) Incoming call display method, electronic device, and incoming call display system
CN110602540B (en) Volume control method of display equipment and display equipment
US20230262286A1 (en) Display device and audio data processing method
CN111263223A (en) Media volume adjusting method and display device
CN114615536B (en) Display device and sound effect processing method
WO2022088899A1 (en) Display device, communication method between display device and external loudspeaker, and audio output method for external loudspeaker
CN115550825A (en) Display device, hearing aid and volume adjustment method
CN117075837A (en) Display equipment and volume adjusting method of eARC peripheral equipment
CN113542829A (en) Split screen display method, display terminal and readable storage medium
WO2023193643A1 (en) Display device, and processing method for display device
CN112702549B (en) Sound output method and display device
CN113115105B (en) Display device and prompt method for configuring WISA speaker

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