WO2021098698A1 - Audio playback method and terminal device - Google Patents

Audio playback method and terminal device Download PDF

Info

Publication number
WO2021098698A1
WO2021098698A1 PCT/CN2020/129628 CN2020129628W WO2021098698A1 WO 2021098698 A1 WO2021098698 A1 WO 2021098698A1 CN 2020129628 W CN2020129628 W CN 2020129628W WO 2021098698 A1 WO2021098698 A1 WO 2021098698A1
Authority
WO
WIPO (PCT)
Prior art keywords
energy
value
volume
audio
time period
Prior art date
Application number
PCT/CN2020/129628
Other languages
French (fr)
Chinese (zh)
Inventor
贾杰
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021098698A1 publication Critical patent/WO2021098698A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/605Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

An audio playback method and a terminal device. The method comprises: determining a volume state of the current playback content; where the volume state is an abnormal volume state, if a volume component of a terminal device has been adjusted to the maximum volume, receiving a first input from a user; in response to the first input, amplifying the audio energy of a sound signal corresponding to the playback content; and outputting a sound signal with the audio energy amplified to a loudspeaker for playing.

Description

音频播放方法及终端设备Audio playing method and terminal equipment
相关申请的交叉引用Cross-references to related applications
本公开主张在2019年11月20日在中国提交的中国专利申请号201911144547.8的优先权,其全部内容通过引用包含于此。This disclosure claims the priority of Chinese Patent Application No. 201911144547.8 filed in China on November 20, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本公开涉及终端设备技术领域,尤其涉及一种音频播放方法及终端设备。The present disclosure relates to the technical field of terminal equipment, and in particular to an audio playback method and terminal equipment.
背景技术Background technique
终端设备播放音频文件时,如果用户觉得音量低,则通过终端设备的音量增按键,增加终端设备的音量。When the terminal device plays an audio file, if the user feels that the volume is low, the volume increase button of the terminal device is used to increase the volume of the terminal device.
在相关技术中,终端设备音量增按键是基于视频文件、音频文件等携带的音频信号,输出到扬声器,终端设备基于该音频信号以及用户设置的音量级别,控制输入到扬声器的功率,从而对播放的音量进行调节。In related technologies, the volume increase button of the terminal device is based on the audio signal carried by the video file, audio file, etc., and is output to the speaker. Based on the audio signal and the volume level set by the user, the terminal device controls the power input to the speaker, thereby controlling the playback To adjust the volume.
但是,发明人在研究过程中发现,对于一些声音异常的文件,比如一些老旧的视频文件、音频文件,其声音数据可能异常,终端设备的音量组件即使调到最大值后,其声音可能还是比较小,可能使用户无法听清。However, the inventor found in the process of research that for some files with abnormal sound, such as some old video files and audio files, the sound data may be abnormal. Even after the volume component of the terminal device is adjusted to the maximum value, the sound may still be It is relatively small, which may make the user unable to hear clearly.
发明内容Summary of the invention
本公开实施例提供一种音频播放方法及终端设备,以解决在先技术中终端设备在播放异常音频文件时,即使将音量调到最大值时,播放文件声音还是过小,可能使用户无法听清的问题。The embodiments of the present disclosure provide an audio playback method and terminal device to solve the problem that when the terminal device is playing an abnormal audio file in the prior art, even when the volume is adjusted to the maximum value, the sound of the played file is still too small, which may make the user unable to listen. The problem of clearing.
为了解决上述技术问题,本公开是这样实现的:In order to solve the above technical problems, the present disclosure is implemented as follows:
第一方面,本公开实施例还提供一种音频播放方法,应用于终端设备,所述方法包括:In the first aspect, embodiments of the present disclosure also provide an audio playback method, which is applied to a terminal device, and the method includes:
确定当前的播放内容的音量状态;Determine the volume status of the current playback content;
在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音 量,则接收用户的第一输入;In the case that the volume state is the abnormal volume state, if the volume component of the terminal device has been adjusted to the maximum volume, receiving the user's first input;
响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;In response to the first input, amplify the audio energy of the sound signal corresponding to the playback content;
将放大音频能量的声音信号输出至扬声器以进行播放。The sound signal that amplifies the audio energy is output to the speaker for playback.
第二方面,本公开实施例还提供了一种终端设备,所述终端设备包括:In the second aspect, the embodiments of the present disclosure also provide a terminal device, the terminal device including:
确定模块,用于确定当前的播放内容的音量状态;The determination module is used to determine the current volume status of the content being played;
接收模块,用于在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;A receiving module, configured to receive a user's first input if the volume component of the terminal device has been adjusted to the maximum volume when the volume state is an abnormal volume state;
调节模块,用于响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;An adjustment module, configured to amplify the audio energy of the sound signal corresponding to the playback content in response to the first input;
播放模块,用于将放大音频能量的声音信号输出至扬声器以进行播放。The playback module is used to output the sound signal of the amplified audio energy to the speaker for playback.
第三方面,本公开实施例还提供了一种终端设备,该终端设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现本公开所述的音频播放方法的步骤。In a third aspect, the embodiments of the present disclosure also provide a terminal device. The terminal device includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is The steps of the audio playback method described in the present disclosure are realized when the processor is executed.
第四方面,本公开实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,述计算机程序被处理器执行时实现上述的音频播放方法的步骤。In a fourth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned audio playback method are implemented.
在本公开实施例中,确定当前的播放内容的音量状态;在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;将放大音频能量的声音信号输出至扬声器以进行播放,通过在确定当前的播放内容的音量状态处于音量异常状态且音量组件已调节至最大音量时,能够对音频内容异常的文件,将其声音信号的音频能量进行放大后再输入到扬声器中,使输入扬声器的声音信号强度变大,从而使扬声器播放的声音也变大,使用户听到的声音也变大,其能够根据用户的第一输入对输入扬声器的音频能量进行增益,从而进一步提高了终端设备的输出音量,满足了用户对于终端设备更大输出音量的需求。In the embodiment of the present disclosure, the volume state of the current playback content is determined; in the case that the volume state is the abnormal volume state, if the volume component of the terminal device has been adjusted to the maximum volume, the user's first input is received In response to the first input, the audio energy of the sound signal corresponding to the playback content is amplified; the sound signal of the amplified audio energy is output to the speaker for playback, and the volume state of the current playback content is determined to be at the volume In abnormal state and the volume component has been adjusted to the maximum volume, it can amplify the audio energy of the sound signal of the file with abnormal audio content and then input it into the speaker to increase the intensity of the sound signal input to the speaker, so that the speaker can play The sound becomes louder, which makes the user hear louder. It can gain the audio energy input to the speaker according to the user’s first input, thereby further increasing the output volume of the terminal device and satisfying the user’s need for the terminal device. Need for large output volume.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例, 对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present disclosure. Obviously, the drawings in the following description are only some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1表示本公开实施例提供的一种音频播放方法的步骤流程图;Figure 1 shows a flow chart of the steps of an audio playback method provided by an embodiment of the present disclosure;
图2表示本公开实施例提供的另一种音频播放方法的步骤流程图;Figure 2 shows a flowchart of another audio playback method provided by an embodiment of the present disclosure;
图3表示本公开实施例提供的一种终端设备的音量模式显示界面示意图;FIG. 3 shows a schematic diagram of a volume mode display interface of a terminal device according to an embodiment of the present disclosure;
图4表示本公开实施例提供的一种退出智能多级模式的显示界面示意图;FIG. 4 shows a schematic diagram of a display interface for exiting the intelligent multi-level mode provided by an embodiment of the present disclosure;
图5表示本公开实施例提供的一种等间隔上调模式的显示界面示意图;FIG. 5 shows a schematic diagram of a display interface of an equal interval upward adjustment mode provided by an embodiment of the present disclosure;
图6表示本公开实施例提供的一种终端设备的结构示意图;FIG. 6 shows a schematic structural diagram of a terminal device provided by an embodiment of the present disclosure;
图7表示本公开实施例提供的一种确定第二放大系数方法的步骤流程图;FIG. 7 shows a flowchart of steps of a method for determining a second amplification factor provided by an embodiment of the present disclosure;
图8表示本公开实施例提供的一种自适应上调模式的显示界面示意图;FIG. 8 shows a schematic diagram of a display interface of an adaptive up-regulation mode provided by an embodiment of the present disclosure;
图9表示本公开实施例提供的一种终端设备的结构框图;FIG. 9 shows a structural block diagram of a terminal device provided by an embodiment of the present disclosure;
图10表示本公开实施例提供的一种终端设备的硬件结构示意图。FIG. 10 shows a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本公开的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。It should be understood that “one embodiment” or “an embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present disclosure. Therefore, the appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
在本公开的各种实施例中,应理解,下述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。In the various embodiments of the present disclosure, it should be understood that the size of the sequence number of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not be implemented in the present disclosure. The implementation process of the example constitutes any limitation.
参见图1,本公开实施例提供了一种音频播放方法,应用于终端设备,所述方法包括:Referring to FIG. 1, an embodiment of the present disclosure provides an audio playback method, which is applied to a terminal device, and the method includes:
步骤101,确定当前的播放内容的音量状态。Step 101: Determine the current volume state of the content being played.
在本公开实施例中,由于播放内容的文件老旧,导致终端设备播放音视频数据时及时, 即使将播放组件的音量调节至最大,终端设备中扬声器所输出的音量仍然无法满足用户的实际需求。具体的,所述音量状态用于描述终端设备所播放的音频文件的实际播放效果是否达到预期效果,具体可以通过根据所述终端设备在播放正常音频文件时的扬声器输入音频能量以及在播放目标音频文件时的扬声器输入音频能量确定当前终端设备的实际播放效果是否达到预期效果,当所述实际播放效果达到预期效果时,则确定当前的播放内容的音量状态为音量正常状态,当所述实际播放效果未达到预期效果时,则确定当前的播放内容发的音量状态为音量异常状态。音量状态可以为终端设备播放音频内容时,扬声器输出的声音的能量。需要说明的是,在确定所述实际播放效果是否达到预期效果时,还可以进一步综合麦克风所采集的环境噪音的音频能量,从而使得所确定的音量状态可以考虑到终端设备所处的环境因素。In the embodiments of the present disclosure, due to the old file of the content to be played, the terminal device plays the audio and video data in a timely manner. Even if the volume of the playback component is adjusted to the maximum, the volume output by the speaker in the terminal device still cannot meet the actual needs of the user. . Specifically, the volume state is used to describe whether the actual playback effect of the audio file played by the terminal device achieves the expected effect. Specifically, the audio energy can be input according to the speaker input of the terminal device when the normal audio file is played and the target audio is played. The speaker input audio energy in the file determines whether the actual playback effect of the current terminal device reaches the expected effect. When the actual playback effect reaches the expected effect, it is determined that the volume state of the current playback content is the normal volume state. When the effect does not reach the expected effect, it is determined that the volume status of the current playback content is an abnormal volume status. The volume state can be the energy of the sound output by the speaker when the terminal device is playing audio content. It should be noted that when determining whether the actual playback effect achieves the expected effect, the audio energy of the ambient noise collected by the microphone can be further integrated, so that the determined volume state can take into account the environmental factors of the terminal device.
需要说明的是,当前的播放内容,可以是对音频文件进行播放后的播放内容,也可以是对视频文件进行播放后的内容,还可以是其他具有音频数据的文件被播放后的内容。It should be noted that the current playback content may be the playback content after the audio file is played, it may also be the content after the video file is played, or the content after other files with audio data are played.
步骤102,在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入。Step 102: When the volume state is the abnormal volume state, if the volume component of the terminal device has been adjusted to the maximum volume, receive a first input from the user.
在本公开实施例中,通常终端设备的在播放音视频数据时,扬声器输出效果未达到满足用户需求时,可能由于音视频数据的文件过久,使得播放器在读取后输出音频能量低于预期,从而导致扬声器的输入过小。因此在判断所述音量终端时,可以通过根据播放正常音频文件时的扬声器输入音频能量与在播放目标音频文件时的扬声器输入音频能量进行比对,确定播放目标音频文件的播放状态是否为音量异常状态,或者可以通过根据播放目标音频文件时的扬声器输入音频能量与终端设备上麦克风所采集到的环境噪音的音频能量进行比对,确定播放目标音频文件的播放状态是否为音量异常状态。In the embodiments of the present disclosure, when the audio and video data of the terminal device is generally played, the speaker output effect does not meet the needs of the user. It may be that the audio and video data files are too long, so that the player's output audio energy after reading is lower than Expected, resulting in too small speaker input. Therefore, when judging the volume terminal, it is possible to compare the speaker input audio energy when playing a normal audio file with the speaker input audio energy when playing the target audio file to determine whether the playback status of the target audio file is abnormal in volume. Or it can be determined whether the playback status of the target audio file is an abnormal volume state by comparing the audio energy input from the speaker when the target audio file is played with the audio energy of the ambient noise collected by the microphone on the terminal device.
在实际应用中,若用户认为终端设备的播放音量未满足自身需求时,会通过调节终端设备的音量组件对音量进行调节,但若在将音量组件调节到最大时,仍未满足自身需求,则可通过终端设备接收用户的第一输入,以激活终端设备中用于音量补偿的智能多级功能。具体的,所述智能多级功能具体可包括等间隔上调模式以及自适应上调模式。用户在进行等间隔上调模式下的第一输入时,可进一步对终端设备的音量组件进行固定增量的上调,直至满足自身需求。用户在进行自适应上调模式下的第一输入时,可进一步对终端设备的 音量组件,依据周围环境噪音的音频能量进行动态增量的上调。可以理解,所述第一输入可以是在等间隔上调模式下,也可以是在自适应上调模式下的,适应于不同的上调模式,所述第一输入的实际调整的音量值可能存在差异,所述等间隔上调模式适用于环境噪音较小的情况下供用户调节音量,而自适应上调模式适用于环境噪音较大的情况下,供用户快速将音量调节至适应环境噪音的音量。In practical applications, if the user thinks that the playback volume of the terminal device does not meet their own needs, they will adjust the volume by adjusting the volume component of the terminal device. However, if the volume component is adjusted to the maximum, the user's needs are still not met. The first input of the user can be received through the terminal device to activate the intelligent multi-level function for volume compensation in the terminal device. Specifically, the intelligent multi-level function may specifically include an equal interval upward adjustment mode and an adaptive upward adjustment mode. When the user performs the first input in the equal-interval up-regulation mode, the volume component of the terminal device can be further increased by a fixed increment until it meets its own needs. When the user performs the first input in the adaptive up-regulation mode, the volume component of the terminal device can be further adjusted dynamically and incrementally according to the audio energy of the ambient noise. It can be understood that the first input may be in an equal interval up-regulation mode or an adaptive up-regulation mode, which is adapted to different up-regulation modes, and the actual adjusted volume value of the first input may be different. The equal-interval up-regulation mode is suitable for users to adjust the volume when the environmental noise is small, and the adaptive up-regulation mode is suitable for the environmental noises and allows the user to quickly adjust the volume to a volume that adapts to the environmental noise.
需要说明的,在所述音量状态为音量正常状态的情况下,则接收用户的正常的音量增或音量减的输入,控制终端设备的扬声器的功率相应变大或者变小。It should be noted that when the volume state is the normal volume state, the user's normal volume increase or volume decrease input is received, and the power of the speaker of the control terminal device is correspondingly increased or decreased.
步骤103,响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大。Step 103: In response to the first input, amplify the audio energy of the sound signal corresponding to the playback content.
在本公开实施例中,用户可通过对音量组件进行预设操作,从而生成第一输入,终端设备会根据用户的第一输入,对播放内容对应的声音信号的添加与该第一输入对应的增益,以使得输入到扬声器的声音信息的音频能量值在音量组件原有最大音量值的基础上进一步增大。In the embodiment of the present disclosure, the user can generate a first input by performing a preset operation on the volume component, and the terminal device will add a sound signal corresponding to the playback content corresponding to the first input according to the first input of the user. Gain, so that the audio energy value of the sound information input to the speaker is further increased on the basis of the original maximum volume value of the volume component.
步骤104,将放大音频能量的声音信号输出至扬声器以进行播放。Step 104: Output the sound signal of the amplified audio energy to the speaker for playback.
在本公开实施例中,终端设备根据用户的第一输入,针对所述播放内容,按照放大音频能量的声音信号向扬声器输入音频能量,从而使得扬声器输出更大音量的声音,以满足用户的音量需求。In the embodiment of the present disclosure, the terminal device inputs audio energy to the speaker according to the sound signal that amplifies the audio energy for the playback content according to the first input of the user, so that the speaker outputs a larger volume of sound to meet the user's volume. demand.
在本公开实施例中,通过在确定当前的播放内容的音量状态处于音量异常状态且音量组件已调节至最大音量时,能够对音频内容异常的文件,将其声音信号的音频能量进行放大后再输入到扬声器中,使输入扬声器的声音信号强度变大,从而使扬声器播放的声音也变大,使用户听到的声音也变大,满足了用户对于终端设备更大输出音量的需求。In the embodiments of the present disclosure, when it is determined that the volume state of the current playback content is in the abnormal volume state and the volume component has been adjusted to the maximum volume, it is possible to amplify the audio energy of the sound signal of the file with abnormal audio content. Input to the speaker increases the strength of the sound signal input to the speaker, thereby increasing the sound played by the speaker, and the sound heard by the user, which meets the user's demand for a larger output volume of the terminal device.
参照图2,本公开实施例提供了另一种音频播放方法,应用于终端设备,所述方法包括:2, an embodiment of the present disclosure provides another audio playback method, which is applied to a terminal device, and the method includes:
步骤201,通过所述终端设备的麦克风获取环境噪声的第一能量值。Step 201: Obtain a first energy value of environmental noise through the microphone of the terminal device.
在本公开实施例中,若所述终端设备配备了麦克风,则可通过麦克风对终端设备的周围环境的环境噪音进行预设时间段的采集,比如1s或其他时间长度的采集,从而从采集到的声音中,分析所采集到的噪音音频的音频能量均值,以获取所述噪音音频的第一能量 值E1。In the embodiment of the present disclosure, if the terminal device is equipped with a microphone, the environmental noise of the surrounding environment of the terminal device can be collected through the microphone for a preset period of time, such as 1s or other time length collection, so as to start from the collection to the Analyze the average value of the audio energy of the collected noise audio to obtain the first energy value E1 of the noise audio.
步骤202,获取输入到扬声器的声音信号的第二能量值。Step 202: Obtain a second energy value of the sound signal input to the speaker.
在本公开实施例中,在终端设备采集环境噪音的同时,获取输入终端设备的扬声器的声音信息的音频能量均值,从而获取第二能量值E2,需要说明的是,所述噪音音频与所述声音信号是同时采集,且采集时间段相同,从而保证后续处理的准确性。In the embodiment of the present disclosure, while the terminal device collects environmental noise, the mean value of the audio energy input to the speaker of the terminal device is obtained, thereby obtaining the second energy value E2. It should be noted that the noise audio is different from the The sound signals are collected at the same time, and the collection time period is the same, so as to ensure the accuracy of subsequent processing.
步骤203,在所述第一能量值与所述第二能量值的比值大于预设的第一阈值的情况下,确定所述播放内容的音量状态为音量异常状态。Step 203: In a case where the ratio of the first energy value to the second energy value is greater than a preset first threshold, determine that the volume state of the playback content is an abnormal volume state.
在本公开实施例中,所述第一阈值T1可以通过实验获得,比如利用终端设备在不同的噪音音频能量环境下,按照不同的输入音频能量,播放样本音频文件,通过用户根据实际听觉效果确定可清晰识别样本音频文件的音频内容时的输入音频能量,从而根据所处环境的当前的噪音音频能量与当前的输入音频能量的比值确定该T1。若终端设备在当前环境下的第一能量值E1与所述第二能量值E2的比值大于所述第一阈值T1,则确定当前噪音环境下用户无法清晰识别所述播放内容的音频,则确定所述播放内容的音量状态为音量异常状态。若终端设备在当前环境下的第一能量值E1与所述第二能量值E2的比值小于或等于所述第一阈值T1,则确定当前噪音环境下用户可以清晰识别所述播放内容的音频,则确定所述播放内容的音量状态为音量正常状态,无需进行音量增益。In the embodiment of the present disclosure, the first threshold T1 can be obtained through experiments, such as using a terminal device to play sample audio files according to different input audio energy under different noise audio energy environments, and the user determines it according to the actual auditory effect. The input audio energy when the audio content of the sample audio file can be clearly identified, so that the T1 is determined according to the ratio of the current noise audio energy in the environment to the current input audio energy. If the ratio of the first energy value E1 to the second energy value E2 of the terminal device in the current environment is greater than the first threshold T1, it is determined that the user cannot clearly recognize the audio of the playback content in the current noisy environment, then it is determined The volume state of the playback content is an abnormal volume state. If the ratio of the first energy value E1 to the second energy value E2 of the terminal device in the current environment is less than or equal to the first threshold T1, it is determined that the user can clearly recognize the audio of the playback content in the current noisy environment, Then, it is determined that the volume state of the playback content is a normal volume state, and no volume gain is required.
其中,样本音频文件可以为正常音量音频文件,该正常音量音频文件为在设定场景下被播放时,终端设备音量调至最大时,扬声器输出的声音满足用户的需求的文件。The sample audio file may be a normal volume audio file, and the normal volume audio file is a file that meets the needs of the user when the volume of the terminal device is adjusted to the maximum when being played in a set scene.
需要说明的是,步骤201至203为本公开实施例的一种确定音量异常状态的方式,其可以通过终端设备的麦克风采集的环境噪音和输入到扬声器的声音的能量之比,与预设第一阈值的比较结果,确定当前播放内容的音量状态是音量异常状态还是音量异常状态。It should be noted that steps 201 to 203 are a method of determining the abnormal volume state according to the embodiments of the present disclosure. The ratio of the environmental noise collected by the microphone of the terminal device and the energy of the sound input to the speaker can be compared with the preset first. The comparison result of a threshold determines whether the volume state of the currently played content is an abnormal volume state or an abnormal volume state.
步骤204,获取第一预设时间段内的声音信号的第一能量均值。Step 204: Obtain a first energy average value of the sound signal in a first preset time period.
步骤205,获取第二预设时间段内的声音信号的第二能量均值,所述第二预设时间段的结束时刻为当前时刻,所述第二预设时间段为所述第一预设时间段之后的时间段,且所述第二预设时间段与所述第一预设时间段为相邻的时间段。Step 205: Obtain a second energy mean value of the sound signal in a second preset time period, where the end time of the second preset time period is the current time, and the second preset time period is the first preset time period. A time period after the time period, and the second preset time period and the first preset time period are adjacent time periods.
步骤206,若所述第二能量均值与目标值的比值大于预设的第二阈值,则确定所述播放内容的音量状态为音量异常状态;其中,所述目标值为所述第一能量值与所述第二能量 值之和。Step 206: If the ratio of the second energy average value to the target value is greater than a preset second threshold, determine that the volume state of the playback content is an abnormal volume state; wherein the target value is the first energy value And the second energy value.
在本公开实施例中,第一预设时间段t1和第二预设时间段t2的长度可以根据实际需求设置,比如2s或者其他时间长度。第二时间段t2为t1之后的第一个时间段,比如第一时间段为0-2s,第二时间段为2s-4s。In the embodiment of the present disclosure, the lengths of the first preset time period t1 and the second preset time period t2 can be set according to actual needs, such as 2s or other time lengths. The second time period t2 is the first time period after t1, for example, the first time period is 0-2s, and the second time period is 2s-4s.
需要说明的是,在本公开实施例中,在文件播放的第一个时间段,由于该时间段之前并不存在一个时间段,因此可以在文件播放时的第一预设时间段设置为空,第二时间段为上述第一个预设时间段。比如文件的播放时长为5分钟,时间段的长度为2s,那么第0-2s的播放进度这个时间段作为前述第二预设时间段,对应0-2s的第一预设时间段设置为空。第二预设时间段0-2s内采集输入到扬声器的音频能量的能量均值Eb,对应0-2s的第一预设时间段的第一能量均值为初始能量值B0,该初始能量值B0为预先对不同音频格式的正常音量音频文件在不同场景下进行播放,然后统计得到的。It should be noted that, in the embodiment of the present disclosure, in the first time period of file playback, since there is no time period before this time period, the first preset time period when the file is played can be set to be empty. , The second time period is the first preset time period mentioned above. For example, the playing time of the file is 5 minutes and the time period is 2s, then the time period of the 0-2s playback progress is regarded as the aforementioned second preset time period, and the first preset time period corresponding to 0-2s is set to empty . The energy average value Eb of the audio energy input to the speaker is collected in the second preset time period 0-2s, and the first energy average value of the first preset time period corresponding to 0-2s is the initial energy value B0, and the initial energy value B0 is It is obtained by pre-playing normal volume audio files of different audio formats in different scenes, and then statistics.
在播放进度到达第二个时间段后,比如2-4s,第二预设时间段为2-4s,第一预设时间段则为0-2s。那么此时可以获取2-4s内的声音信号的第二能量均值,还可以获取第一预设时间段内的声音信号的第一能量均值。需要说明的是,第一能量均值可以根据预置的初始能量值B0确定,从而保证音量状态确定过程更准确。After the playback progress reaches the second time period, such as 2-4s, the second preset time period is 2-4s, and the first preset time period is 0-2s. Then, at this time, the second energy average value of the sound signal within 2-4 s can be obtained, and the first energy average value of the sound signal within the first preset time period can also be obtained. It should be noted that the first energy average value can be determined according to the preset initial energy value B0, so as to ensure that the volume state determination process is more accurate.
在本公开实施例中,所述预设的第二阈值T2可以是利用实验获得,比如T2可以通过在不同输入音频能量的情况下播放样本音频文件,根据用户的实际听觉能够识别样本音频文件的音频能量以及该样本音频文件的第一能量均值之间的比值确定的。若所述第二能量均值与目标值之间的比值大于预设的第二阈值,则确定该播放内容的为老旧文件,其播放效果达不到用户的听觉需求,则确定所述播放内容的音量状态为音量异常状态。若所述第二能量均值与目标值之间的比值小于或等于预设的第二阈值,则确定该播放内容的播放效果可以达到用户的听觉需求,则确定所述播放内容的音量状态为音量正常状态,无需进行音量增益。In the embodiment of the present disclosure, the preset second threshold T2 can be obtained through experiments. For example, T2 can be used to play sample audio files under different input audio energies, and the sample audio files can be identified according to the user's actual hearing sense. Determined by the ratio between the audio energy and the first energy mean of the sample audio file. If the ratio between the second energy average value and the target value is greater than the preset second threshold, it is determined that the playback content is an old file, and its playback effect does not meet the user's hearing needs, then the playback content is determined The volume status of is an abnormal volume status. If the ratio between the second energy mean value and the target value is less than or equal to the preset second threshold, it is determined that the playback effect of the playback content can meet the user's hearing needs, and then it is determined that the volume state of the playback content is volume Normal state, no need for volume gain.
其中,所述第二能量均值与目标值之间的比值可以采用如下公式(1)计算获得:Wherein, the ratio between the second energy average value and the target value can be calculated by using the following formula (1):
B1=Eb/(B0+Eb)                            (1)B1=Eb/(B0+Eb) (1)
其中,B1为上述第二能量均值与目标值之间的比值,目标值为(B0+Eb)。Wherein, B1 is the ratio between the second energy average value and the target value, and the target value is (B0+Eb).
若B1大于T2,则上述音量状态为音量异常状态,若B1小于或等于T2,则上述音量状 态为音量正常状态。If B1 is greater than T2, the aforementioned volume state is an abnormal volume state, and if B1 is less than or equal to T2, the aforementioned volume state is a normal volume state.
步骤207,若所述第二能量均值与目标值的比值小于或等于预设的第二阈值的情况下,根据所述第一能量均值和所述第二能量均值,确定第三能量均值,并在所述第二预设时间段变更为第三预设时间段的情况下,将所述第三能量均值作为所述第三预设时间段的目标能量均值,所述第三预设时间段为所述第二预设时间段之后的时间段,且所述第三预设时间段与所述第二预设时间段为相邻的时间段。Step 207: If the ratio of the second energy average value to the target value is less than or equal to the preset second threshold value, determine a third energy average value according to the first energy average value and the second energy average value, and In the case that the second preset time period is changed to a third preset time period, the third energy average value is used as the target energy average value of the third preset time period, and the third preset time period Is a time period after the second preset time period, and the third preset time period and the second preset time period are adjacent time periods.
在本公开实施例中,所述第一能量均值也可在终端设备使用的过程中进行动态更新,以适应播放内容的变更。具体的,当所述第二能量均值与目标值之间的比值小于或等于预设的第二阈值时,具体可参照下列公式(2)对所述第一能量均值进行更新:In the embodiment of the present disclosure, the first energy average value may also be dynamically updated during the use of the terminal device, so as to adapt to the change of the playing content. Specifically, when the ratio between the second average energy value and the target value is less than or equal to the preset second threshold, the first average energy value may be updated with reference to the following formula (2):
B0_new=c*B0_old+(1-c)*Eb,其中0<c<1            (2)B0_new=c*B0_old+(1-c)*Eb, where 0<c<1 (2)
所述B0_old是指第一时间段的第一能量均值,所述Eb是指第二能量均值,所述B0_new是指更新后的第一能量均值,所述c是音频能量调整参数,可根据实际需求设定。The B0_old refers to the first average value of energy in the first time period, the Eb refers to the second average value of energy, the B0_new refers to the updated first average value of energy, and the c is an audio energy adjustment parameter, which can be adjusted according to actual conditions. Demand setting.
比如第二预设时间段为0-2s,其第二能量均值为Eb,对应0-2s的第一预设时间段的第一能量均值为初始能量值B0。那么若0-2s内,计算上述B1小于或等于T2,表示播放内容的音频音量正常,则需要按照公式(2)更新B0,即获得上述B0_new,然后将B0_new作为0-2s的B0。在第二预设时间段变为2-4s后,得到一个2-4s内的Eb,其对应的第一预设时间段的第一能量均值为上述更新后0-2s的B0,继续进行上述公式(1)的计算,如果计算得到的B1小于或等于T2,继续按照公式(2)更新B0。For example, the second preset time period is 0-2s, the second energy average value thereof is Eb, and the first energy average value of the first preset time period corresponding to 0-2s is the initial energy value B0. Then, if B1 is calculated to be less than or equal to T2 in 0-2s, it means that the audio volume of the playback content is normal, and B0 needs to be updated according to formula (2) to obtain the above B0_new, and then use B0_new as B0 for 0-2s. After the second preset time period is changed to 2-4s, an Eb within 2-4s is obtained, and the corresponding first energy average value of the first preset time period is B0 of 0-2s after the above-mentioned update, continue the above In the calculation of formula (1), if the calculated B1 is less than or equal to T2, continue to update B0 according to formula (2).
在所述第二能量均值与目标值之比大于预设的第二阈值的情况下,将第一预设时间段内的所述第一能量均值继续作为所述第二预设时间段内的所述第一能量均值。In the case where the ratio of the second energy average value to the target value is greater than the preset second threshold value, the first energy average value in the first preset time period is continued to be used as the second energy value in the second preset time period. The first average value of energy.
如前述例子,对于0-2s的第二预设时间段,如果计算得到的B1大于T2,则不更新B0,初始能量值B0继续作为0-2s的第一能量均值。对于2-4s的第二预设时间段,如果计算得到的B1大于T2,则不更新B0,0-2s的第一预设时间段对应的第一能量均值B0继续作为2-4s对应的第一能量均值。其他情况以此类推。As in the foregoing example, for the second preset time period of 0-2s, if the calculated B1 is greater than T2, B0 is not updated, and the initial energy value B0 continues to be the first energy average value of 0-2s. For the second preset time period of 2-4s, if the calculated B1 is greater than T2, then B0 is not updated, and the first energy mean value B0 corresponding to the first preset time period of 0-2s continues to be the first energy value B0 corresponding to 2-4s A mean value of energy. Other situations can be deduced by analogy.
可以发现,所述第一能量均值并不一定是固定不变的,其可以根据用户所播放的不同播放内容进行实时的动态更新。所述第二能量均值也并不一定是固定不变的,其可以根据用户所播放的不同播放内容进行实时的动态更新。那么对于一个具有音频数据的文件,其 可能部分音频段的音频音量正常,而部分音频段的音频音量异常,那么可以对该部分音频音量异常的音频段的声音信号进行补偿,使其调整可以更精确的针对音频内容中的异常音频段进行。It can be found that the first energy average value is not necessarily fixed, and it can be dynamically updated in real time according to different playback contents played by the user. The second energy mean value is not necessarily fixed, and it can be dynamically updated in real time according to different playback contents played by the user. Then for a file with audio data, the audio volume of some audio segments may be normal, while the audio volume of some audio segments is abnormal. Then the sound signal of the audio segment with abnormal audio volume can be compensated to make the adjustment more convenient. Accurately target abnormal audio segments in audio content.
步骤208,在所述音量状态为音量异常状态,且所述终端设备的音量组件已调至最大音量的情况下,若接收到用户对音量增按键的触发操作,则显示两种上调模式,其中,所述两种上调模式包括第一上调模式和第二上调模式,并在接收到对所述两种上调模式中的任一上调模式的选择操作的情况下,每接收到一次对音量增按键的触发操作,则确定接收到所述第一输入。Step 208: In the case that the volume state is the abnormal volume state and the volume component of the terminal device has been adjusted to the maximum volume, if the user triggers the volume up button, two up-regulation modes are displayed, where , The two up-regulation modes include a first up-regulation mode and a second up-regulation mode, and in the case of receiving a selection operation for any one of the two up-regulation modes, each time a volume increase button is received If the trigger operation is performed, it is determined that the first input is received.
在本公开实施例中,参照图3,示出的一种终端设备的音量模式显示界面示意图,当用户通过点击终端设备外侧的音量组件至最大后,可通过对所述音量组件的增大音量按键进行预设时间段的长按操作,从而启动针对音量调节的智能多级模式,终端设备的显示界面将会显示包含等间隔上调模式以及自适应上调模式的上调模式选取选项供用户选取。用户在选取其中任一上调模式后,可通过再次点击终端设备的音量组件进行第一输入,所述第一输入可以是用户的单次点击操作,也可以是用户的长按操作。当然,也可仅存在一种上调模式,此时无需用户进行针对上调模式的选取操作,直接确定第一输入。In an embodiment of the present disclosure, referring to FIG. 3, a schematic diagram of a volume mode display interface of a terminal device is shown. When the user clicks the volume component on the outside of the terminal device to the maximum, the volume can be increased by increasing the volume of the volume component. Long press the button for a preset period of time to activate the intelligent multi-level mode for volume adjustment. The display interface of the terminal device will display the upward mode selection options including equal interval upward mode and adaptive upward mode for users to choose. After selecting any one of the up-regulation modes, the user may click the volume component of the terminal device again to perform a first input, and the first input may be a single click operation of the user or a long press operation of the user. Of course, there may be only one up-regulation mode. At this time, the user does not need to perform a selection operation for the up-regulation mode to directly determine the first input.
进一步的,参照图4,若用户想要退出所述智能多级模式,可通过点击音量组件的减小音量按键,从而所述显示界面中的智能多级功能的选取选项渐变退出,以退出所述智能多级功能,此时将终端设备的扬声器输入音频音量调整回所述音频组件的原有最大音量,当用户继续点击音量组件的减小音量按键,则减小扬声器的功率,以降低扬声器播放的音量。Further, referring to FIG. 4, if the user wants to exit the smart multi-level mode, he can click the volume down button of the volume component, so that the selection options of the smart multi-level function in the display interface are gradually exited to exit the smart multi-level mode. The intelligent multi-level function, at this time, adjust the speaker input audio volume of the terminal device back to the original maximum volume of the audio component. When the user continues to click the volume down button of the volume component, the power of the speaker is reduced to lower the speaker The volume of the playback.
步骤209,在接收到对所述第一上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,按照预设幅度增大所述音频能量。Step 209: In a case where the selection operation for the first up-regulation mode is received, and a trigger operation for the volume increase button is received, the audio energy is increased according to a preset amplitude.
在本公开实施例中,所述第一上调模式为等间隔上调模式,参照图5,用户在选取所述等间隔上调模式后,每次点击音量组件中的音量增按键,即可对扬声器的输入音频能量进行固定数量的增加,例如每次点击音量增按键即可增加3db(分贝)或6db的音量。需要说明的是,在该种情况下,每次接收到用户对音量增按键的点击操作,可以对待输入扬声器的声音信号进行增益,该增益的幅度以增加3db或者6db的幅度为准。In the embodiment of the present disclosure, the first upward adjustment mode is an equal interval upward adjustment mode. Referring to FIG. 5, after the user selects the equal interval upward adjustment mode, each time the user clicks the volume increase button in the volume component, the speaker can be The input audio energy is increased by a fixed amount. For example, each time you click the volume increase button, you can increase the volume by 3db (decibel) or 6db. It should be noted that, in this case, every time a user clicks on the volume increase button is received, the sound signal to be input to the speaker can be gained, and the amplitude of the gain is subject to an increase of 3db or 6db.
本公开实施例的等间隔上调模式,调整策略简单,在避免终端设备计算量大的情况下,即可完成对音频数据的声音信号的强度的调整。The equal interval upward adjustment mode of the embodiment of the present disclosure has a simple adjustment strategy, and can complete the adjustment of the intensity of the sound signal of the audio data under the condition that the terminal device avoids a large amount of calculation.
步骤210,若所述终端设备包括第一麦克风和第二麦克风,在接收到对第二上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,通过所述第一麦克风获取环境噪声的第一能量值,以及通过所述第二麦克风获取环境噪声的第二能量值,以及声音信号的音频能量值。Step 210: If the terminal device includes a first microphone and a second microphone, in the case of receiving a selection operation for the second up-regulation mode and receiving a trigger operation for a volume increase button, pass the first microphone The first energy value of the environmental noise is acquired, and the second energy value of the environmental noise and the audio energy value of the sound signal are acquired through the second microphone.
在本公开实施例中,参照图6,示出一种终端设备的结构示意图,该终端设备的右下侧设置有麦克风mic1,左上侧设置有麦克风mic2,左下侧设置有扬声器。若用户选取的时第二上调模式,即自适应上调模式,则通过mic1采集周围环境噪声的第一能量值,通过mic2采集周围环境噪声的第二能量值,以及采集输入扬声器的声音信号的音频能量。In the embodiment of the present disclosure, referring to FIG. 6, a schematic structural diagram of a terminal device is shown. The lower right side of the terminal device is provided with a microphone mic1, the upper left side is provided with a microphone mic2, and the lower left side is provided with a speaker. If the user selects the second up-regulation mode, that is, the adaptive up-regulation mode, collect the first energy value of the ambient noise through mic1, collect the second energy value of the ambient noise through mic2, and collect the audio of the sound signal input to the speaker energy.
步骤211,根据所述第一能量值、第二能量值、音频能量值以及预设的第一放大系数,确定第二放大系数。其中,所述第一放大系数为所述终端设备的音量组件从最小音量到最大音量的放大系数。Step 211: Determine a second amplification factor according to the first energy value, the second energy value, the audio energy value, and the preset first amplification factor. Wherein, the first amplification factor is an amplification factor of a volume component of the terminal device from a minimum volume to a maximum volume.
在本公开实施例中,具体可通过下述公式(3)获取对播放内容的输入音频能量进行增益的第二放大系数h:In the embodiment of the present disclosure, the second amplification factor h for gaining the input audio energy of the playback content can be specifically obtained by the following formula (3):
h=An*E1/E2                                      (3)h=An*E1/E2 (3)
所述An是指所述终端设备从最小开始上调至最大的第一放大系数,所述E1是指mic1的第一能量值,所述E2是指mic2的第二能量值,所述h是指更新后的第二放大系数。根据用户的每次第一输入,通过上述确定的放大系数对播放内容的声音信号进行增益。The An refers to the first amplification factor that the terminal device is adjusted up from the smallest to the largest, the E1 refers to the first energy value of mic1, the E2 refers to the second energy value of mic2, and the h refers to The updated second magnification factor. According to each first input of the user, the sound signal of the playback content is gained through the above-determined amplification coefficient.
可选地,参照图7,所述步骤211,包括:Optionally, referring to FIG. 7, the step 211 includes:
步骤2111,根据所述第一能量值、第一放大系数、音频能量值,确定对应所述第一麦克风的第一值。Step 2111: Determine a first value corresponding to the first microphone according to the first energy value, the first amplification factor, and the audio energy value.
步骤2112,根据所述第二能量值、第一放大系数、音频能量值、预设能量衰减因子,确定对应所述第二麦克风的第二值,其中,所述预设能量衰减因子为所述扬声器播放的声音信号到达所述第二麦克风时,相对于所述扬声器播放的声音信号到达第一麦克风时的能量衰减因子。Step 2112: Determine a second value corresponding to the second microphone according to the second energy value, the first amplification factor, the audio energy value, and the preset energy attenuation factor, where the preset energy attenuation factor is the When the sound signal played by the loudspeaker reaches the second microphone, it is relative to the energy attenuation factor when the sound signal played by the loudspeaker reaches the first microphone.
步骤2113,根据所述第一值、第二值、所述第一放大系数,确定所述第二放大系数。Step 2113: Determine the second amplification factor according to the first value, the second value, and the first amplification factor.
在本公开实施例中,考虑到终端设备中扬声器在播放音频是会对所述第一麦克风与所述第二麦克风所采集到的实际环境噪声的音频能量产生干扰,因此需要对所述第一能量值与所述第二能量值进行修正,具体的,可通过下述公式(4)对所述第一能量值进行修正得到第一值,通过下述公式(5)对所述第二能量值进行修正得到第二值:In the embodiment of the present disclosure, considering that the speaker in the terminal device is playing audio, it will interfere with the audio energy of the actual environmental noise collected by the first microphone and the second microphone, so it is necessary to interfere with the first microphone and the second microphone. The energy value is corrected with the second energy value. Specifically, the first energy value can be corrected by the following formula (4) to obtain the first value, and the second energy can be corrected by the following formula (5). The value is corrected to get the second value:
e1=N+An*E                                           (4)e1=N+An*E (4)
e2=N+An*E*(1–a),0<a<1                         (5)e2=N+An*E*(1--a),0<a<1 (5)
所述e1是指第一值,所述e2是指第二值,所述N是指采集到环境噪声的音频能量值,所述An是第一放大系数,所述E是指输入到扬声器的输入音频能量值,所述a是指扬声器播放声音到达mic2相对于到达mic1的能量衰减因子。The e1 refers to the first value, the e2 refers to the second value, the N refers to the audio energy value collected from environmental noise, the An is the first amplification factor, and the E refers to the input to the speaker Enter the audio energy value. The a refers to the energy attenuation factor of the sound played by the speaker reaching mic2 relative to the energy reaching mic1.
由于采用了两个麦克风,利用了扬声器播放的声音信号到达两个麦克风的能量衰减规律,对音频放大系数进行计算,能够更快捷的有效的对后续播放的声音调整,以符合用户需求的程度。Due to the use of two microphones, the energy attenuation law of the sound signal played by the loudspeaker reaching the two microphones is utilized, and the audio amplification coefficient is calculated, which can more quickly and effectively adjust the subsequent sound to meet the needs of the user.
步骤212,根据所述第二放大系数,对所述音频能量值对应的音频能量进行放大。Step 212: Amplify the audio energy corresponding to the audio energy value according to the second amplification factor.
在本公开实施例中,用户的每次点击音量增按键时,记为第一输入,并通过上述公式(2)确定的第二放大系数对播放内容的声音信号进行动态增益。具体的,参照图8,示出一种终端设备的自适应上调模式示意图,用户每次通过点击终端设备侧边的音量组件中的音量增按键所增加的音量,会随当前音量大小以递归的形式增大音量,从而使得用户可以快速将音量调节至所需的音量。In the embodiment of the present disclosure, each time the user clicks the volume increase button, it is recorded as the first input, and the second amplification factor determined by the above formula (2) is used to dynamically gain the sound signal of the playback content. Specifically, referring to Figure 8, a schematic diagram of an adaptive up-regulation mode of a terminal device is shown. Each time the user clicks the volume up button in the volume component on the side of the terminal device, the volume increased by the user will recursively follow the current volume level. The form increases the volume, so that the user can quickly adjust the volume to the desired volume.
步骤213,将放大音频能量的声音信号输出至扬声器以进行播放。Step 213: Output the sound signal of the amplified audio energy to the speaker for playback.
该步骤可参照步骤104的详细描述,此处不再赘述。For this step, please refer to the detailed description of step 104, which will not be repeated here.
在本公开实施例中的一种音频播放方法,在用户将终端设备的音量组件已调节至最大音量时,根据用户对音量组件的音量增按键的点击操作,供用户选取等间隔上调模式或自适应上调模式,从而根据用户对于上调模式的选取操作,依据环境噪声对输入扬声器的声音信号进行进一步的增大,从而满足了用户对于更大音量的需求。另外,本公开实施例还可以在播放具有音频数据的文件时,对该文件中的存在音量异常的部分进行本公开实施例的调整过程,调整更加准确。In an audio playback method in an embodiment of the present disclosure, when the user has adjusted the volume component of the terminal device to the maximum volume, according to the user's click operation on the volume increase button of the volume component, the user can select the equal interval upward adjustment mode or self-adjustment. Adapt to the up-regulation mode, so as to further increase the sound signal input to the speaker according to the environmental noise according to the user's selection operation of the up-regulation mode, thereby satisfying the user's demand for greater volume. In addition, when playing a file with audio data, the embodiment of the present disclosure may perform the adjustment process of the embodiment of the present disclosure on the part of the file with abnormal volume, and the adjustment is more accurate.
以上介绍了本公开实施例提供的音频播放方法,下面将结合附图介绍本公开实施例提 供的终端设备。The audio playback method provided by the embodiments of the present disclosure has been introduced above, and the terminal equipment provided by the embodiments of the present disclosure will be described below with reference to the accompanying drawings.
参见图9,本公开实施例还提供了一种终端设备30,所述终端设备包括:Referring to FIG. 9, an embodiment of the present disclosure also provides a terminal device 30, the terminal device including:
确定模块301,用于确定当前的播放内容的音量状态。The determining module 301 is used to determine the current volume state of the content being played.
可选地,所述确定模块301,包括:Optionally, the determining module 301 includes:
第一获取子模块3011,用于通过所述终端设备的麦克风获取环境噪声的第一能量值。The first obtaining submodule 3011 is configured to obtain the first energy value of the environmental noise through the microphone of the terminal device.
第二获取子模块3012,用于获取输入到扬声器的声音信号的第二能量值。The second acquiring sub-module 3012 is used to acquire the second energy value of the sound signal input to the speaker.
第一确定子模块3013,用于在所述第一能量值与所述第二能量值的比值大于预设的第一阈值的情况下,确定所述播放内容的音量状态为音量异常状态。The first determining submodule 3013 is configured to determine that the volume state of the playback content is an abnormal volume state when the ratio of the first energy value to the second energy value is greater than a preset first threshold.
可选地,所述确定模块301,包括:Optionally, the determining module 301 includes:
第三获取子模块3014,用于获取第一预设时间段内的声音信号的第一能量均值。The third acquiring submodule 3014 is configured to acquire the first energy average value of the sound signal in the first preset time period.
第四获取子模块3015,用于获取第二预设时间段内的声音信号的第二能量均值。所述第二预设时间段的结束时刻为当前时刻,所述第二预设时间段为所述第一预设时间段之后的时间段,且所述第二预设时间段与所述第一预设时间段为相邻的时间段。The fourth acquiring sub-module 3015 is configured to acquire the second energy average value of the sound signal in the second preset time period. The end time of the second preset time period is the current time, the second preset time period is the time period after the first preset time period, and the second preset time period is the same as the first preset time period. A preset time period is an adjacent time period.
第二确定子模块3016,用于若所述第二能量均值与目标值的比值大于预设的第二阈值,则确定所述播放内容的音量状态为音量异常状态。其中,所述目标值为所述第一能量值与所述第二能量值之和。The second determining sub-module 3016 is configured to determine that the volume state of the playback content is an abnormal volume state if the ratio of the second energy average value to the target value is greater than a preset second threshold value. Wherein, the target value is the sum of the first energy value and the second energy value.
可选地,所述确定模块301,还包括:Optionally, the determining module 301 further includes:
更新子模块3017,用于在所述第二能量均值与目标值的比值小于或等于预设的第二阈值的情况下,根据所述第一能量均值和所述第二能量均值,确定第三能量均值,并在所述第二预设时间段变更为第三预设时间段的情况下,将所述第三能量均值作为所述第三预设时间段的目标能量均值,所述第三预设时间段为所述第二预设时间段之后的时间段,且所述第三预设时间段与所述第二预设时间段为相邻的时间段。The update sub-module 3017 is configured to determine a third average energy value based on the first average energy value and the second average energy value when the ratio of the second average energy value to the target value is less than or equal to a preset second threshold value. Energy average value, and when the second preset time period is changed to a third preset time period, the third energy average value is used as the target energy average value of the third preset time period, and the third The preset time period is a time period after the second preset time period, and the third preset time period and the second preset time period are adjacent time periods.
可选地,所述终端设备30,还包括:Optionally, the terminal device 30 further includes:
显示模块305,用于在所述音量状态为音量异常状态,且所述终端设备的音量组件已调至最大音量的情况下,若接收到用户对音量增按键的触发操作,则显示两种上调模式,其中,所述两种上调模包括第一上调模式和第二上调模式。The display module 305 is configured to display two kinds of up-regulation if the user's trigger operation on the volume up button is received when the volume state is the abnormal volume state and the volume component of the terminal device has been adjusted to the maximum volume Mode, wherein the two up-regulation modes include a first up-regulation mode and a second up-regulation mode.
接收模块302,用于在所述音量状态为音量异常状态的情况下,若所述终端设备的音 量组件已调至最大音量,则接收用户的第一输入。The receiving module 302 is configured to receive the user's first input if the volume component of the terminal device has been adjusted to the maximum volume when the volume state is an abnormal volume state.
所述接收模块302,包括:The receiving module 302 includes:
接收子模块3021,用于在接收到对所述两种上调模式中的任一上调模式的选择操作的情况下,每接收到一次对音量增按键的触发操作,则确定接收到所述第一输入。The receiving sub-module 3021 is configured to, in the case of receiving a selection operation for any one of the two up-regulation modes, each time a trigger operation on the volume up button is received, it is determined that the first enter.
调节模块303,用于响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大。The adjustment module 303 is configured to amplify the audio energy of the sound signal corresponding to the playback content in response to the first input.
可选地,所述调节模块303,包括:Optionally, the adjustment module 303 includes:
第一调节子模块3031,用于在接收到对所述第一上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,按照预设幅度增大所述音频能量。The first adjustment sub-module 3031 is configured to increase the audio energy according to a preset amplitude when a selection operation on the first up-regulation mode is received and a trigger operation on the volume increase button is received.
可选地,所述终端设备包括第一麦克风和第二麦克风,所述调节模块303,包括:Optionally, the terminal device includes a first microphone and a second microphone, and the adjustment module 303 includes:
获取子模块3032,用于在接收到对所述第二上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,通过所述第一麦克风获取环境噪声的第一能量值,以及通过所述第二麦克风获取环境噪声的第二能量值,以及声音信号的音频能量值。The obtaining sub-module 3032 is configured to obtain the first energy value of the environmental noise through the first microphone in the case that the selection operation of the second up-regulation mode is received, and a trigger operation of the volume increase button is received , And obtaining the second energy value of the environmental noise and the audio energy value of the sound signal through the second microphone.
计算子模块3033,用于根据所述第一能量值、第二能量值、音频能量值以及预设的第一放大系数,确定第二放大系数。其中,所述第一放大系数为所述终端设备的音量组件从最小音量到最大音量的放大系数。The calculation sub-module 3033 is configured to determine the second amplification factor according to the first energy value, the second energy value, the audio energy value and the preset first amplification factor. Wherein, the first amplification factor is an amplification factor of a volume component of the terminal device from a minimum volume to a maximum volume.
第二调节子模块3034,用于根据所述第二放大系数,对所述音频能量值对应的音频能量进行放大。The second adjustment sub-module 3034 is configured to amplify the audio energy corresponding to the audio energy value according to the second amplification coefficient.
可选地,所述计算子模块3033,包括:Optionally, the calculation sub-module 3033 includes:
第一计算单元30331,用于根据所述第一能量值、第一放大系数、音频能量值,确定对应所述第一麦克风的第一值。The first calculation unit 30331 is configured to determine the first value corresponding to the first microphone according to the first energy value, the first amplification factor, and the audio energy value.
第二计算单元30332,用于根据所述第二能量值、第一放大系数、音频能量值、预设能量衰减因子,确定对应所述第二麦克风的第二值,其中,所述预设能量衰减因子为所述扬声器播放的声音信号到达所述第二麦克风时,相对于所述扬声器播放的声音信号到达第一麦克风时的能量衰减因子。The second calculation unit 30332 is configured to determine a second value corresponding to the second microphone according to the second energy value, the first amplification factor, the audio energy value, and the preset energy attenuation factor, wherein the preset energy The attenuation factor is the energy attenuation factor when the sound signal played by the loudspeaker reaches the second microphone, relative to the energy attenuation factor when the sound signal played by the loudspeaker reaches the first microphone.
第三计算单元30333,用于根据所述第一值、第二值、所述第一放大系数,确定所述第二放大系数。The third calculation unit 30333 is configured to determine the second amplification factor according to the first value, the second value, and the first amplification factor.
播放模块304,用于将放大音频能量的声音信号输出至扬声器以进行播放。The playing module 304 is used for outputting the sound signal of the amplified audio energy to the speaker for playing.
本公开实施例提供的终端设备30能够实现图1至图8的方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device 30 provided by the embodiment of the present disclosure can implement the various processes implemented by the terminal device in the method embodiments of FIG. 1 to FIG. 8. In order to avoid repetition, details are not described herein again.
本公开的实施例中,提供一种终端设备,所述终端设备包括:确定模块,用于确定当前的播放内容的音量状态;接收模块,用于在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;调节模块,用于响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;播放模块,用于将放大音频能量的声音信号输出至扬声器以进行播放。通过在确定当前的播放内容的音量状态处于音量异常状态且音量组件已调节至最大音量时,能够对音频内容异常的文件,将其声音信号的音频能量进行放大后再输入到扬声器中,使输入扬声器的声音信号强度变大,从而使扬声器播放的声音也变大,使用户听到的声音也变大,满足了用户对于终端设备更大输出音量的需求。In an embodiment of the present disclosure, a terminal device is provided. The terminal device includes: a determining module for determining the volume state of the current content to be played; a receiving module for determining the volume state of an abnormal volume state If the volume component of the terminal device has been adjusted to the maximum volume, receiving a first input from the user; an adjustment module for amplifying the audio energy of the sound signal corresponding to the playback content in response to the first input ; The playback module is used to output the sound signal of the amplified audio energy to the speaker for playback. By confirming that the volume status of the current playback content is in the abnormal volume state and the volume component has been adjusted to the maximum volume, it is possible to amplify the audio energy of the sound signal of the file with abnormal audio content and then input it into the speaker to make the input The sound signal strength of the loudspeaker increases, so that the sound played by the loudspeaker becomes louder, and the sound heard by the user becomes louder, which meets the user's demand for a larger output volume of the terminal device.
图10为实现本公开各个实施例的一种终端设备的硬件结构示意图;FIG. 10 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure;
该终端设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图10中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The terminal device 400 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 10 does not constitute a limitation on the terminal device, and the terminal device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
其中,处理器410,用于确定当前的播放内容的音量状态;在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;将放大音频能量的声音信号输出至扬声器以进行播放。Wherein, the processor 410 is configured to determine the volume status of the current content to be played; if the volume status is the abnormal volume status, if the volume component of the terminal device has been adjusted to the maximum volume, then the user’s first volume status is received. Input; in response to the first input, amplify the audio energy of the sound signal corresponding to the playback content; output the sound signal of the amplified audio energy to the speaker for playback.
本公开实施例中,通过在确定当前的播放内容的音量状态处于音量异常状态且音量组件已调节至最大音量时,能够对音频内容异常的文件,将其声音信号的音频能量进行放大后再输入到扬声器中,使输入扬声器的声音信号强度变大,从而使扬声器播放的声音也变大,使用户听到的声音也变大,满足了用户对于终端设备更大输出音量的需求。In the embodiments of the present disclosure, when it is determined that the volume state of the current playback content is in the abnormal volume state and the volume component has been adjusted to the maximum volume, it is possible to amplify the audio energy of the sound signal of the file with abnormal audio content before inputting it. In the speaker, the strength of the sound signal input to the speaker is increased, so that the sound played by the speaker is also increased, and the sound heard by the user is also increased, which meets the user's demand for a larger output volume of the terminal device.
应理解的是,本公开实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与终端设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal device 400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
终端设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在终端设备400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light. The proximity sensor can close the display panel 4061 and the display panel 4061 when the terminal device 400 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括 显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 606 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图10中,触控面板4071与显示面板4061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can be overlaid on the display panel 4061. When the touch panel 6071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 4061. Although in FIG. 10, the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元408为外部装置与终端设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备400内的一个或多个元件或者可以用于在终端设备400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device with the terminal device 400. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 408 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 400 or may be used to connect to the terminal device 400 and an external device. Transfer data between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声 音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器410是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes software programs and/or modules stored in the memory 409, and calls data stored in the memory 409 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc., the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
终端设备400还可以包括给各个部件供电的电源411(比如电池),优选的,电源611可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 400 may also include a power source 411 (such as a battery) for supplying power to various components. Preferably, the power source 611 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,终端设备400包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 400 includes some functional modules not shown, which will not be repeated here.
优选的,本公开实施例还提供一种终端设备,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述音频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present disclosure further provides a terminal device, including a processor 410, a memory 409, and a computer program stored on the memory 409 and running on the processor 410. When the computer program is executed by the processor 410, Each process of the foregoing audio playback method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述音频播放方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned audio playback method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, without departing from the purpose of the present disclosure and the scope of protection of the claims, many forms can be made, all of which fall within the protection of the present disclosure.

Claims (13)

  1. 一种音频播放方法,应用于终端设备,所述方法包括:An audio playback method, applied to a terminal device, the method including:
    确定当前的播放内容的音量状态;Determine the volume status of the current playback content;
    在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;In the case that the volume state is the abnormal volume state, if the volume component of the terminal device has been adjusted to the maximum volume, receiving the first input of the user;
    响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;In response to the first input, amplify the audio energy of the sound signal corresponding to the playback content;
    将放大音频能量的声音信号输出至扬声器以进行播放。The sound signal that amplifies the audio energy is output to the speaker for playback.
  2. 根据权利要求1所述的方法,其中,所述确定当前的播放内容的音量状态,包括:The method according to claim 1, wherein said determining the current volume state of the content being played comprises:
    通过所述终端设备的麦克风获取环境噪声的第一能量值;Acquiring the first energy value of the environmental noise through the microphone of the terminal device;
    获取输入到扬声器的声音信号的第二能量值;Acquiring the second energy value of the sound signal input to the speaker;
    在所述第一能量值与所述第二能量值的比值大于预设的第一阈值的情况下,确定所述播放内容的音量状态为音量异常状态。In a case where the ratio of the first energy value to the second energy value is greater than the preset first threshold, it is determined that the volume state of the playback content is an abnormal volume state.
  3. 根据权利要求1所述的方法,其中,所述确定当前的播放内容的音量状态,包括:The method according to claim 1, wherein said determining the current volume state of the content being played comprises:
    获取第一预设时间段内的声音信号的第一能量均值;Acquiring the first energy average value of the sound signal in the first preset time period;
    获取第二预设时间段内的声音信号的第二能量均值;所述第二预设时间段的结束时刻为当前时刻,所述第二预设时间段为所述第一预设时间段之后的时间段,且所述第二预设时间段与所述第一预设时间段为相邻的时间段;Acquire the second energy mean value of the sound signal in the second preset time period; the end time of the second preset time period is the current moment, and the second preset time period is after the first preset time period The second preset time period and the first preset time period are adjacent time periods;
    若所述第二能量均值与目标值的比值大于预设的第二阈值,则确定所述播放内容的音量状态为音量异常状态;其中,所述目标值为所述第一能量值与所述第二能量值之和。If the ratio of the second energy average value to the target value is greater than the preset second threshold value, it is determined that the volume state of the playback content is an abnormal volume state; wherein the target value is the first energy value and the The sum of the second energy value.
  4. 根据权利要求3所述的方法,其中,还包括:The method according to claim 3, further comprising:
    在所述第二能量均值与目标值的比值小于或等于预设的第二阈值的情况下,根据所述第一能量均值和所述第二能量均值,确定第三能量均值,并在所述第二预设时间段变更为第三预设时间段的情况下,将所述第三能量均值作为所述第三预设时间段的目标能量均值,所述第三预设时间段为所述第二预设时间段之后的时间段,且所述第三预设时间段与所述第二预设时间段为相邻的时间段。In the case where the ratio of the second energy average value to the target value is less than or equal to the preset second threshold value, a third energy average value is determined according to the first energy average value and the second energy average value, and the third energy average value is determined in the When the second preset time period is changed to the third preset time period, the third energy average value is used as the target energy average value of the third preset time period, and the third preset time period is the A time period after the second preset time period, and the third preset time period and the second preset time period are adjacent time periods.
  5. 根据权利要求1所述的方法,其中,所述接收用户的第一输入之前,还包括:The method according to claim 1, wherein before the receiving the first input from the user, the method further comprises:
    在所述音量状态为音量异常状态,且所述终端设备的音量组件已调至最大音量的情况 下,若接收到用户对音量增按键的触发操作,则显示两种上调模式,其中,所述两种上调模式包括第一上调模式和第二上调模式;In the case that the volume state is the abnormal volume state and the volume component of the terminal device has been adjusted to the maximum volume, if a user's trigger operation on the volume increase button is received, two upward adjustment modes are displayed, wherein the The two up-regulation modes include the first up-regulation mode and the second up-regulation mode;
    所述接收用户的第一输入,包括:The receiving the first input of the user includes:
    在接收到对所述两种上调模式中的任一上调模式的选择操作的情况下,每接收到一次对音量增按键的触发操作,则确定接收到所述第一输入。In the case of receiving a selection operation for any one of the two up-regulation modes, it is determined that the first input is received every time a trigger operation on the volume up button is received.
  6. 根据权利要求5所述的方法,其中,所述将所述播放内容对应的声音信号的音频能量进行放大,包括:The method according to claim 5, wherein the amplifying the audio energy of the sound signal corresponding to the playback content comprises:
    在接收到对所述第一上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,按照预设幅度增大所述音频能量。In a case where a selection operation for the first up-regulation mode is received, and a trigger operation for a volume increase button is received, the audio energy is increased according to a preset amplitude.
  7. 根据权利要求5所述的方法,其中,所述终端设备包括第一麦克风和第二麦克风,所述将所述播放内容对应的声音信号的音频能量进行放大,包括:The method according to claim 5, wherein the terminal device comprises a first microphone and a second microphone, and said amplifying the audio energy of the sound signal corresponding to the playback content comprises:
    在接收到对所述第二上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,通过所述第一麦克风获取环境噪声的第一能量值,以及通过所述第二麦克风获取环境噪声的第二能量值,以及声音信号的音频能量值;In the case that the selection operation of the second up-regulation mode is received, and a trigger operation of the volume up button is received, the first energy value of the environmental noise is obtained through the first microphone, and the second energy value is obtained through the second The microphone acquires the second energy value of the environmental noise and the audio energy value of the sound signal;
    根据所述第一能量值、第二能量值、音频能量值以及预设的第一放大系数,确定第二放大系数;其中,所述第一放大系数为所述终端设备的音量组件从最小音量到最大音量的放大系数;According to the first energy value, the second energy value, the audio energy value and the preset first amplification factor, the second amplification factor is determined; wherein, the first amplification factor is the minimum volume of the volume component of the terminal device. Amplification factor to the maximum volume;
    根据所述第二放大系数,对所述音频能量值对应的音频能量进行放大。According to the second amplification factor, the audio energy corresponding to the audio energy value is amplified.
  8. 根据权利要求7所述的方法,其中,所述根据所述第一能量值、第二能量值、音频能量值以及预设的第一放大系数,确定第二放大系数,包括:The method according to claim 7, wherein the determining the second amplification factor according to the first energy value, the second energy value, the audio energy value, and a preset first amplification factor comprises:
    根据所述第一能量值、第一放大系数、音频能量值,确定对应所述第一麦克风的第一值;Determine the first value corresponding to the first microphone according to the first energy value, the first amplification factor, and the audio energy value;
    根据所述第二能量值、第一放大系数、音频能量值、预设能量衰减因子,确定对应所述第二麦克风的第二值,其中,所述预设能量衰减因子为所述扬声器播放的声音信号到达所述第二麦克风时,相对于所述扬声器播放的声音信号到达第一麦克风时的能量衰减因子;According to the second energy value, the first amplification factor, the audio energy value, and the preset energy attenuation factor, the second value corresponding to the second microphone is determined, wherein the preset energy attenuation factor is played by the speaker When the sound signal reaches the second microphone, it is relative to the energy attenuation factor when the sound signal played by the speaker reaches the first microphone;
    根据所述第一值、第二值、所述第一放大系数,确定所述第二放大系数。The second amplification factor is determined according to the first value, the second value, and the first amplification factor.
  9. 一种终端设备,所述终端设备包括:A terminal device, the terminal device includes:
    确定模块,用于确定当前的播放内容的音量状态;The determination module is used to determine the current volume status of the content being played;
    接收模块,用于在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;A receiving module, configured to receive a user's first input if the volume component of the terminal device has been adjusted to the maximum volume when the volume state is an abnormal volume state;
    调节模块,用于响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;An adjustment module, configured to amplify the audio energy of the sound signal corresponding to the playback content in response to the first input;
    播放模块,用于将放大音频能量的声音信号输出至扬声器以进行播放。The playback module is used to output the sound signal of the amplified audio energy to the speaker for playback.
  10. 根据权利要求9所述的终端设备,其中,所述确定模块,包括:The terminal device according to claim 9, wherein the determining module comprises:
    第一获取子模块,用于通过所述终端设备的麦克风获取环境噪声的第一能量值;The first obtaining submodule is configured to obtain the first energy value of the environmental noise through the microphone of the terminal device;
    第二获取子模块,用于获取输入到扬声器的声音信号的第二能量值;The second acquisition sub-module is used to acquire the second energy value of the sound signal input to the speaker;
    第一确定子模块,用于在所述第一能量值与所述第二能量值的比值大于预设的第一阈值的情况下,确定所述播放内容的音量状态为音量异常状态。The first determining sub-module is configured to determine that the volume state of the playback content is an abnormal volume state when the ratio of the first energy value to the second energy value is greater than a preset first threshold value.
  11. 根据权利要求9所述的终端设备,其中,所述确定模块,包括:The terminal device according to claim 9, wherein the determining module comprises:
    第三获取子模块,用于获取第一预设时间段内的声音信号的第一能量均值;The third acquisition sub-module is configured to acquire the first energy average value of the sound signal in the first preset time period;
    第四获取子模块,用于获取第二预设时间段内的声音信号的第二能量均值;所述第二预设时间段的结束时刻为当前时刻,所述第二预设时间段为所述第一预设时间段之后的时间段,且所述第二预设时间段与所述第一预设时间段为相邻的时间段;The fourth acquisition sub-module is configured to acquire the second energy mean value of the sound signal in the second preset time period; the end time of the second preset time period is the current time, and the second preset time period is the current time. A time period after the first preset time period, and the second preset time period and the first preset time period are adjacent time periods;
    第二确定子模块,用于若所述第二能量均值与目标值的比值大于预设的第二阈值,则确定所述播放内容的音量状态为音量异常状态;其中,所述目标值为所述第一能量值与所述第二能量值之和。The second determining sub-module is configured to determine that the volume state of the playback content is an abnormal volume state if the ratio of the second energy average value to the target value is greater than the preset second threshold; wherein, the target value is The sum of the first energy value and the second energy value.
  12. 一种终端设备,所述终端设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1-8中任一项所述的音频播放方法的步骤。A terminal device, the terminal device comprising a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor to achieve as claimed in claim 1. -8 steps of the audio playback method described in any one of them.
  13. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1-8中任一项所述的音频播放方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the audio playback method according to any one of claims 1-8 are realized.
PCT/CN2020/129628 2019-11-20 2020-11-18 Audio playback method and terminal device WO2021098698A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911144547.8 2019-11-20
CN201911144547.8A CN111049972B (en) 2019-11-20 2019-11-20 Audio playing method and terminal equipment

Publications (1)

Publication Number Publication Date
WO2021098698A1 true WO2021098698A1 (en) 2021-05-27

Family

ID=70232718

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/129628 WO2021098698A1 (en) 2019-11-20 2020-11-18 Audio playback method and terminal device

Country Status (2)

Country Link
CN (1) CN111049972B (en)
WO (1) WO2021098698A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554278A (en) * 2022-01-28 2022-05-27 青岛海尔科技有限公司 Play control method and device, storage medium and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049972B (en) * 2019-11-20 2021-04-27 维沃移动通信有限公司 Audio playing method and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516899A (en) * 2013-09-13 2014-01-15 广东欧珀移动通信有限公司 Method increasing volume through combination key and mobile terminal
US20140302799A1 (en) * 2013-04-09 2014-10-09 Samsung Electronics Co., Ltd. Method for connecting with external device and electronic device thereof
CN107124149A (en) * 2017-05-05 2017-09-01 北京小鱼在家科技有限公司 A kind of method for regulation of sound volume, device and equipment
CN111049972A (en) * 2019-11-20 2020-04-21 维沃移动通信有限公司 Audio playing method and terminal equipment

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9459209B2 (en) * 2012-06-04 2016-10-04 Shimadzu Corporation Gas analysis device
US9549060B2 (en) * 2013-10-29 2017-01-17 At&T Intellectual Property I, L.P. Method and system for managing multimedia accessiblity
JP6439261B2 (en) * 2014-03-19 2018-12-19 ヤマハ株式会社 Audio signal processing device
CN204119309U (en) * 2014-09-24 2015-01-21 西安邮电大学 A kind of mobile phone estimating adjustment In Call automatically based on noise
CN105898555A (en) * 2015-12-28 2016-08-24 乐视致新电子科技(天津)有限公司 Audio abnormity positioning method and device
CN106101923B (en) * 2016-05-27 2020-06-09 亳州鼎源科技信息有限公司 Audio data processing method and device
CN106453838B (en) * 2016-09-12 2019-11-08 北京小米移动软件有限公司 Volume adjusting method and device
CN106775563A (en) * 2016-12-13 2017-05-31 珠海市魅族科技有限公司 The method and device of volume adjusting
CN106507245A (en) * 2016-12-26 2017-03-15 深圳Tcl数字技术有限公司 Method for regulating audio signal and device
CN106878866B (en) * 2017-03-03 2020-01-10 Oppo广东移动通信有限公司 Audio signal processing method and device and terminal
US10483933B2 (en) * 2017-03-30 2019-11-19 Sorenson Ip Holdings, Llc Amplification adjustment in communication devices
CN107086039B (en) * 2017-05-25 2021-02-09 北京小鱼在家科技有限公司 Audio signal processing method and device
CN107566618B (en) * 2017-08-18 2021-01-22 Oppo广东移动通信有限公司 Volume adjusting method and device, terminal equipment and storage medium
CN107613128B (en) * 2017-09-26 2020-06-26 努比亚技术有限公司 Volume adjusting method, terminal and computer readable storage medium
CN207706378U (en) * 2017-10-11 2018-08-07 深圳传音制造有限公司 A kind of earpiece volume regulating system based on intelligent terminal
CN109358999A (en) * 2018-10-15 2019-02-19 广东小天才科技有限公司 Water inlet detection method, intelligent terminal and the storage medium of intelligent terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140302799A1 (en) * 2013-04-09 2014-10-09 Samsung Electronics Co., Ltd. Method for connecting with external device and electronic device thereof
CN103516899A (en) * 2013-09-13 2014-01-15 广东欧珀移动通信有限公司 Method increasing volume through combination key and mobile terminal
CN107124149A (en) * 2017-05-05 2017-09-01 北京小鱼在家科技有限公司 A kind of method for regulation of sound volume, device and equipment
CN111049972A (en) * 2019-11-20 2020-04-21 维沃移动通信有限公司 Audio playing method and terminal equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554278A (en) * 2022-01-28 2022-05-27 青岛海尔科技有限公司 Play control method and device, storage medium and electronic device
CN114554278B (en) * 2022-01-28 2023-12-19 青岛海尔科技有限公司 Playing control method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN111049972B (en) 2021-04-27
CN111049972A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN107231473B (en) Audio output regulation and control method, equipment and computer readable storage medium
CN109461117B (en) Image processing method and mobile terminal
CN109918039B (en) Volume adjusting method and mobile terminal
CN107562406B (en) Volume adjusting method, mobile terminal and computer readable storage medium
CN111370018B (en) Audio data processing method, electronic device and medium
WO2019062364A1 (en) Display method and mobile terminal
CN108319442B (en) Audio playing control method and mobile terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
WO2020220990A1 (en) Receiver control method and terminal
CN109639863B (en) Voice processing method and device
CN111147919A (en) Play adjustment method, electronic equipment and computer readable storage medium
WO2021078096A1 (en) Receiver control method, apparatus, and electronic device
CN109981904B (en) Volume control method and terminal equipment
WO2021129835A1 (en) Volume control method and device, and computer-readable storage medium
WO2021169869A1 (en) Audio-playing apparatus, audio-playing method, and electronic device
WO2021098698A1 (en) Audio playback method and terminal device
WO2021238844A1 (en) Audio output method and electronic device
CN111614329B (en) Power amplifier, electronic equipment, voltage control method and device
CN111078186A (en) Playing method and electronic equipment
US20220174146A1 (en) Incoming call processing method and electronic device
CN109873894B (en) Volume adjusting method and mobile terminal
WO2021098708A1 (en) Calling method, and terminal apparatus
CN111459447B (en) Volume adjustment display method and electronic equipment
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal
CN108900942B (en) Play control method and electronic equipment

Legal Events

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

Ref document number: 20889839

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20889839

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20889839

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.07.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20889839

Country of ref document: EP

Kind code of ref document: A1