CN104902090B - Call management method and terminal - Google Patents
Call management method and terminal Download PDFInfo
- Publication number
- CN104902090B CN104902090B CN201510278464.3A CN201510278464A CN104902090B CN 104902090 B CN104902090 B CN 104902090B CN 201510278464 A CN201510278464 A CN 201510278464A CN 104902090 B CN104902090 B CN 104902090B
- Authority
- CN
- China
- Prior art keywords
- preset
- sound signal
- terminal
- time length
- call
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Telephone Function (AREA)
Abstract
本发明实施例公开了一种通话管理方法,包括:当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度;判断所述第一时间长度是否满足预设的第一条件;当所述第一时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。本发明实施例还公开了一种终端。采用本发明,实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。
The embodiment of the present invention discloses a call management method, including: when monitoring that the first sound signal of a local call user enters a first preset state, obtaining a first time length that the first sound signal is in the preset state; judging whether the first time length satisfies a preset first condition; when the first time length satisfies the preset first condition, amplifying and outputting the second sound signal of the other party of the call. The embodiment of the present invention also discloses a terminal. By adopting the present invention, the effect of intelligently adjusting the output sound signal of the other party of the call to adapt to the sound signal of the local call user is achieved, effectively improving the user experience and the call effect.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种通话管理方法及终端。The present invention relates to the field of electronic technology, in particular to a call management method and a terminal.
背景技术Background technique
随着科学技术的发展及人们生活水平的提高,手机的使用已越来越广泛。语音通话也成为人与人交流的重要方式。Along with the development of science and technology and the raising of people's living standard, the use of mobile phone has become more and more extensive. Voice calls have also become an important way for people to communicate with each other.
但是,在生活中,当身处噪声环境中的本地通话用户,或者听力不太好的本地通话用户(如长辈)与其他人进行通话时,由于本地通话用户很难听清对通话对方的声音,故而以为通话对方同样也听不清,从而在通话时声音也变得很大,这不仅可能由于声音过大给通话对方造成了不适,并且本地用户仍然是无法听清对方的声音,无法解决本地通话用户无法听清楚通话对方的声音的问题。However, in life, when a local call user in a noisy environment, or a local call user with poor hearing (such as an elder) talks with other people, it is difficult for the local call user to hear the voice of the other party. Therefore, it is thought that the other party can't hear clearly, so the voice becomes very loud during the call. This may not only cause discomfort to the other party due to the excessive sound, but also the local user still cannot hear the other party's voice clearly, and cannot solve the local problem. The problem that the calling user cannot hear the voice of the other party clearly.
发明内容Contents of the invention
本发明实施例所要解决的技术问题在于,提供一种通话管理方法及终端。可实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。The technical problem to be solved by the embodiments of the present invention is to provide a call management method and a terminal. It can achieve the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
为了解决上述技术问题,本发明实施例提供了一种通话管理方法,包括:In order to solve the above technical problems, an embodiment of the present invention provides a call management method, including:
当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度;When it is detected that the first sound signal of the local call user enters a first preset state, acquiring a first time length during which the first sound signal is in the preset state;
判断所述第一时间长度是否满足预设的第一条件;judging whether the first length of time satisfies a preset first condition;
当所述第一时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。When the first time length satisfies the preset first condition, the second sound signal of the calling party is amplified and output.
其中,所述第一预设状态为所述第一声音信号的响度值大于或等于预设的第一响度阈值。Wherein, the first preset state is that the loudness value of the first sound signal is greater than or equal to a preset first loudness threshold.
其中,所述对通话对方的第二声音信号进行放大处理并输出包括:Wherein, said amplifying and outputting the second sound signal of the other party includes:
根据预置的放大倍数对所述第二声音信号的响度进行放大处理;amplifying the loudness of the second sound signal according to a preset magnification factor;
输出所述放大后的第二声音信号;或者,outputting the amplified second sound signal; or,
将所述第二声音信号通过所述终端的声音放大器进行输出。outputting the second sound signal through the sound amplifier of the terminal.
其中,所述方法包括:Wherein, the method includes:
当监测到通话对方的第二声音信号进入第二预设状态时,获取所述第二声音信号处于所述第二预设状态的第二时间长度,其中,所述第二预设状态为所述第二声音信号的响度值大于或等于预设的第二响度阈值;When it is detected that the second sound signal of the calling party enters a second preset state, acquire a second time length during which the second sound signal is in the second preset state, wherein the second preset state is the The loudness value of the second sound signal is greater than or equal to a preset second loudness threshold;
判断所述第二时间长度是否满足预设的第二条件;judging whether the second time length satisfies a preset second condition;
当所述第二时间长度满足预设的第二条件时,输出预设的提示信息。When the second time length satisfies a preset second condition, preset prompt information is output.
其中,所述方法包括:Wherein, the method includes:
检测本地通话用户的第一声音信号是否包括预置信号;Detecting whether the first sound signal of the local call user includes a preset signal;
当检测到所述第一声音信号包括预置信号时,输出预设的提示信息。When it is detected that the first sound signal includes a preset signal, preset prompt information is output.
相应地,本发明实施例还提供了一种终端,包括:Correspondingly, an embodiment of the present invention also provides a terminal, including:
第一获取单元,用于当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度;A first acquiring unit, configured to acquire a first time length during which the first sound signal is in the preset state when it is detected that the first sound signal of the local call user enters the first preset state;
第一判断单元,用于判断所述第一时间长度是否满足预设的第一条件;a first judging unit, configured to judge whether the first time length satisfies a preset first condition;
第一输出单元,用于当所述判断单元判断时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。The first output unit is configured to amplify and output the second sound signal of the calling party when the judging unit judges that the time length satisfies the preset first condition.
其中,所述第一预设状态为所述第一声音信号的响度值大于或等于预设的第一响度阈值。Wherein, the first preset state is that the loudness value of the first sound signal is greater than or equal to a preset first loudness threshold.
其中,所述第一输出单元包括:Wherein, the first output unit includes:
放大处理子单元,用于根据预置的放大倍数对所述第二声音信号的响度进行放大处理;an amplification processing subunit, configured to amplify the loudness of the second sound signal according to a preset amplification factor;
第一输出子单元,用于输出所述放大后的第二声音信号;或者,a first output subunit, configured to output the amplified second sound signal; or,
第二输出子单元,用于将所述第二声音信号通过所述终端的声音放大器进行输出。The second output subunit is configured to output the second sound signal through the sound amplifier of the terminal.
其中,所述终端包括:Wherein, the terminal includes:
第二获取单元,用于当监测到通话对方的第二声音信号进入第二预设状态时,获取所述第二声音信号处于所述第二预设状态的第二时间长度,其中,所述第二预设状态为所述第二声音信号的响度值大于或等于预设的第二响度阈值;The second acquiring unit is configured to acquire a second time length during which the second sound signal is in the second preset state when it is detected that the second sound signal of the calling party enters a second preset state, wherein the The second preset state is that the loudness value of the second sound signal is greater than or equal to a preset second loudness threshold;
第二判断单元,用于判断所述第二时间长度是否满足预设的第二条件;a second judging unit, configured to judge whether the second time length satisfies a preset second condition;
第二输出单元,用于当所述第二判断单元判断所述第二时间长度满足预设的第二条件时,输出预设的提示信息。The second output unit is configured to output preset prompt information when the second judging unit judges that the second time length satisfies a preset second condition.
其中,所述终端包括:Wherein, the terminal includes:
检测单元,用于检测本地通话用户的第一声音信号是否包括预置信号;A detection unit, configured to detect whether the first sound signal of the local call user includes a preset signal;
第三输出单元,用于当检测到所述第一声音信号包括预置信号时,输出预设的提示信息。The third output unit is configured to output preset prompt information when it is detected that the first sound signal includes a preset signal.
实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:
在本发明实施例中,通过当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度,判断所述第一时间长度是否满足预设的第一条件,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。In the embodiment of the present invention, when it is detected that the first sound signal of the local call user enters the first preset state, the first time length during which the first sound signal is in the preset state is obtained to determine the first Whether the length of time satisfies the preset first condition, and when the length of time satisfies the first preset condition, amplify the second sound signal of the calling party and output it. It realizes the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明实施例提供一种通话管理方法的第一实施例流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of a call management method provided by an embodiment of the present invention;
图2是本发明实施例提供一种通话管理方法的第二实施例流程示意图;FIG. 2 is a schematic flowchart of a second embodiment of a call management method provided by an embodiment of the present invention;
图3是本发明实施例提供一种通话管理方法的第三实施例流程示意图;FIG. 3 is a schematic flowchart of a third embodiment of a call management method provided by an embodiment of the present invention;
图4是本发明实施例提供的一种终端的第一实施例结构图;FIG. 4 is a structural diagram of a first embodiment of a terminal provided by an embodiment of the present invention;
图5是本发明实施例提供的一种终端的第二实施例结构图。Fig. 5 is a structural diagram of a second embodiment of a terminal provided by an embodiment of the present invention.
图6是本发明实施例提供的一种终端的第三实施例结构图。FIG. 6 is a structural diagram of a third embodiment of a terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参见图1,是本发明实施例提供的一种通话管理方法的第一实施例流程示意图。本实施例中所描述的一种通话管理方法包括步骤:Referring to FIG. 1 , it is a schematic flowchart of a first embodiment of a call management method provided by an embodiment of the present invention. A call management method described in this embodiment includes steps:
S100,当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度。S100, when it is detected that a first sound signal of a local call user enters a first preset state, acquire a first time length during which the first sound signal is in the preset state.
在本发明实施例中,第一声音信号为终端通过话筒或者麦克风等声音传感器对本地通话用户的声音进行采集,获得的第一声音信号,终端可监测本地通话用户的第一声音信号是否进入第一预设状态。其中,终端可在本地通话用户接通来电时启动监测,在本地通话用户结束通话时结束监测。本发明实施例所描述的第一预设状态可以是第一声音信号的响度值大于或等于预设的第一响度阈值。终端可以从采集到的第一声音信号中,按照预置的处理时间间隔,计算第一声音信号的响度值。其中,当终端获得第一声音信号的响度值后,终端可判断第一声音信号的响度值是否大于或等于预设的第一响度阈值,其中,预设的第一响度阈值可以是70分贝或其他数值,在此不进行限定。当终端判断第一声音信号的响度值大于或等于预设的第一响度阈值时后,终端可判断终端本地终端用户的第一声音信号进入第一预设状态。在具体应用中,可例如:当本地通话用户在通话的过程中,当终端检测到本地通话用户的声音的响度值大于或等于第一响度阈值,终端可判断本地通话用户的声音进入第一预设状态。In the embodiment of the present invention, the first sound signal is the first sound signal obtained by the terminal collecting the voice of the local call user through a sound sensor such as a microphone or a microphone, and the terminal can monitor whether the first sound signal of the local call user enters the first sound signal. a default state. Wherein, the terminal can start the monitoring when the local call user connects the incoming call, and end the monitoring when the local call user ends the call. The first preset state described in this embodiment of the present invention may be that the loudness value of the first sound signal is greater than or equal to a preset first loudness threshold. The terminal may calculate the loudness value of the first sound signal from the collected first sound signal according to a preset processing time interval. Wherein, after the terminal obtains the loudness value of the first sound signal, the terminal may determine whether the loudness value of the first sound signal is greater than or equal to a preset first loudness threshold, where the preset first loudness threshold may be 70 decibels or Other values are not limited here. When the terminal determines that the loudness value of the first sound signal is greater than or equal to the preset first loudness threshold, the terminal may determine that the first sound signal of the local terminal user of the terminal enters the first preset state. In a specific application, for example: when the local call user is in a call, when the terminal detects that the loudness value of the local call user's voice is greater than or equal to the first loudness threshold, the terminal can determine that the local call user's voice enters the first preset threshold. set state.
在本发明实施例中,当第一声音信号进入第一预设状态后,终端可获取第一声音信号处于第一预设状态的第一时间长度。其中,第一时间长度可以是第一声音信号在进入第一预设状态以及退出第一预设状态之间的时长。其中,终端获取第一时间长度的实施方式可以是:当终端监测到第一声音信号进入第一预设状态时,终端可获取第一声音信号进入第一预设状态的第一时间点;当终端监测到第一声音信号退出第一预设状态时,终端可获取第一声音信号退出第一预设状态的第二时间点,从而终端可以根据第一时间点和第二时间点的差值获取第一时间长度。进一步的,终端获取第一时间长度的实施方式还可以是:当终端监测到第一声音信号进入第一预设状态时启动计时器进行计时,直至第一声音信号退出第一预设状态后,结束计时,从而终端可根据计时器的计时获得第一时间长度。其中,第一声音信号退出第一预设状态可以是:当获得第一声音信号的响度值小于预设的第一响度阈值。In the embodiment of the present invention, after the first sound signal enters the first preset state, the terminal may acquire a first time length during which the first sound signal is in the first preset state. Wherein, the first time length may be the time length between the first sound signal entering the first preset state and exiting the first preset state. Wherein, the embodiment for the terminal to obtain the first time length may be: when the terminal detects that the first sound signal enters the first preset state, the terminal may obtain the first time point when the first sound signal enters the first preset state; When the terminal monitors that the first sound signal exits the first preset state, the terminal can obtain the second time point when the first sound signal exits the first preset state, so that the terminal can Get the first time length. Further, the implementation method for the terminal to obtain the first time length may also be: when the terminal detects that the first sound signal enters the first preset state, the timer is started for timing, until the first sound signal exits the first preset state, The timing is ended, so that the terminal can obtain the first time length according to the timing of the timer. Wherein, the exit of the first sound signal from the first preset state may be: when the acquired loudness value of the first sound signal is smaller than a preset first loudness threshold.
S101,判断所述第一时间长度是否满足预设的第一条件。S101. Determine whether the first time length satisfies a preset first condition.
在本发明实施例中,终端用户可以预置第一条件,终端可根据预置的第一条件判断第一时间长度是否满足预设的第一条件。其中,第一条件可以是第一时间长度是否大于或等于预置的第一时间阈值。例如:大于或等于2s。In the embodiment of the present invention, the terminal user may preset the first condition, and the terminal may judge whether the first time length satisfies the preset first condition according to the preset first condition. Wherein, the first condition may be whether the first time length is greater than or equal to a preset first time threshold. For example: greater than or equal to 2s.
S102,当所述第一时间长度满足预设的第一条件时,对通话对方的第二声音信号的响度进行放大处理并输出。S102. When the first time length satisfies a preset first condition, amplify the loudness of the second sound signal of the calling party and output it.
在本发明实施例中,第二声音信号为终端接收到的发送端发送的通话对方的声音信号。当终端判断第一时间长度满足第一条件时,终端可对接收到的通话中的通话对方的第二声音信号进行放大处理并输出。其中,终端对第二声音信号进行放大处理并输出可以是:根据预置的放大倍数对所述第二声音信号的响度进行放大处理,并输出放大后的第二声音信号。在具体应用中,可例如:增大听筒的音量,此时本地通话用户听到的通话对方的声音的音量增大。进一步的,还可以是,终端将第二声音信号通过终端的声音放大器进行输出,其中,声音放大器可包括:扬声器或者与终端连接的喇叭等。在具体应用中,可例如:终端可将听筒模式切换为扬声器模式,将第二声音通过扬声器进行播放通话对方的第二声音信号。In the embodiment of the present invention, the second sound signal is the sound signal of the calling party received by the terminal and sent by the sending end. When the terminal judges that the first time length satisfies the first condition, the terminal may amplify and output the received second sound signal of the counterparty in the call. Wherein, amplifying and outputting the second sound signal by the terminal may be: amplifying the loudness of the second sound signal according to a preset amplification factor, and outputting the amplified second sound signal. In a specific application, for example, the volume of the earpiece may be increased, and at this time, the volume of the voice of the calling party heard by the local call user is increased. Further, it may also be that the terminal outputs the second sound signal through a sound amplifier of the terminal, where the sound amplifier may include: a loudspeaker or a speaker connected to the terminal, and the like. In a specific application, for example, the terminal may switch the handset mode to the speaker mode, and play the second sound signal of the call partner through the speaker.
在本发明实施例中,通过当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度,判断所述第一时间长度是否满足预设的第一条件,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。In the embodiment of the present invention, when it is detected that the first sound signal of the local call user enters the first preset state, the first time length during which the first sound signal is in the preset state is obtained to determine the first Whether the length of time satisfies the preset first condition, and when the length of time satisfies the first preset condition, amplify the second sound signal of the calling party and output it. It realizes the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
参见图2,是本发明实施例提供的一种通话管理方法的第二实施例流程示意图。本实施例中所描述的一种通话管理方法包括步骤:Referring to FIG. 2 , it is a schematic flowchart of a second embodiment of a call management method provided by an embodiment of the present invention. A call management method described in this embodiment includes steps:
S200,当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度。S200. When it is detected that a first sound signal of a local call user enters a first preset state, acquire a first time length during which the first sound signal is in the preset state.
S201,判断所述第一时间长度是否满足预设的第一条件。S201. Determine whether the first time length satisfies a preset first condition.
S202,当所述第一时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。S202. When the first time length satisfies a preset first condition, amplify and output the second sound signal of the calling party.
S203,当监测到通话对方的第二声音信号进入第二预设状态时,获取所述第二声音信号处于所述第二预设状态的第二时间长度,其中,所述第二预设状态为所述第二声音信号的响度值大于或等于预设的第二响度阈值;S203, when it is detected that the second sound signal of the calling party enters a second preset state, acquire a second time length during which the second sound signal is in the second preset state, wherein the second preset state The loudness value of the second sound signal is greater than or equal to a preset second loudness threshold;
在本发明实施例中,终端可监测通话对方的第二声音信号是否进入第二预设状态。其中,终端可在本地通话用户接通来电时启动监测,在本地通话用户结束通话时结束监测。本发明实施例所描述的第二预设状态可以是第二声音信号的响度值大于或等于预设的第二响度阈值。终端可以从接收到的第二声音信号中,按照预置的处理时间间隔,计算第二声音信号的响度值。其中,当终端获得第二声音信号的响度值后,终端可判断第二声音信号的响度值是否大于或等于预设的第二响度阈值,其中,预设的第二响度阈值可以是70分贝或其他数值,在此不进行限定。当终端判断第二声音信号的响度值大于或等于预设的第二响度阈值时后,终端可判断终端通话对方的第二声音信号进入第二预设状态。In the embodiment of the present invention, the terminal can monitor whether the second sound signal of the calling party enters the second preset state. Wherein, the terminal can start the monitoring when the local call user connects the incoming call, and end the monitoring when the local call user ends the call. The second preset state described in the embodiment of the present invention may be that the loudness value of the second sound signal is greater than or equal to a preset second loudness threshold. The terminal may calculate the loudness value of the second sound signal from the received second sound signal according to a preset processing time interval. Wherein, after the terminal obtains the loudness value of the second sound signal, the terminal may determine whether the loudness value of the second sound signal is greater than or equal to a preset second loudness threshold, where the preset second loudness threshold may be 70 decibels or Other values are not limited here. When the terminal determines that the loudness value of the second sound signal is greater than or equal to the preset second loudness threshold, the terminal may determine that the second sound signal of the call partner of the terminal enters the second preset state.
在本发明实施例中,当第二声音信号进入第二预设状态后,终端可获取第二声音信号处于第二预设状态的第二时间长度。其中,第二时间长度可以是第二声音信号在进入第二预设状态以及退出第二预设状态之间的时长。其中,终端获取第二时间长度的实施方式可以是:当终端监测到第二声音信号进入第二预设状态时,终端可获取第二声音信号进入第二预设状态的第三时间点;当终端监测到第二声音信号退出第而预设状态时,终端可获取第而声音信号退出第而预设状态的第四时间点,从而终端可以根据第三时间点和第四时间点的差值获取第二时间长度。进一步的,终端获取第二时间长度的实施方式还可以是:当终端监测到第二声音信号进入第二预设状态时启动计时器进行计时,直至第二声音信号退出第二预设状态后,结束计时,从而终端可根据计时器的计时获得第二时间长度。其中,第二声音信号退出第二预设状态可以是:当获得第二声音信号的响度值小于预设的第一响度阈值。In the embodiment of the present invention, after the second sound signal enters the second preset state, the terminal may acquire a second time length during which the second sound signal is in the second preset state. Wherein, the second time length may be the time length between the second sound signal entering the second preset state and exiting the second preset state. Wherein, the embodiment for the terminal to obtain the second time length may be: when the terminal monitors that the second sound signal enters the second preset state, the terminal may obtain the third time point when the second sound signal enters the second preset state; When the terminal monitors that the second sound signal exits the second preset state, the terminal can obtain the fourth time point when the second sound signal exits the second preset state, so that the terminal can Gets the second duration. Further, the implementation method for the terminal to obtain the second time length may also be: when the terminal detects that the second sound signal enters the second preset state, the timer is started for timing, until the second sound signal exits the second preset state, The timing is ended, so that the terminal can obtain the second time length according to the timing of the timer. Wherein, the exit of the second sound signal from the second preset state may be: when the obtained loudness value of the second sound signal is smaller than the preset first loudness threshold.
S204,判断所述第二时间长度是否满足预设的第二条件。S204. Determine whether the second time length satisfies a preset second condition.
在本发明实施例中,终端用户可以预置第二条件,终端可根据预置的第二条件判断第二时间长度是否满足预设的第二条件。其中,第二条件可以是第二时间长度是否大于或等于预置的第二时间阈值。例如:大于或等于2s。In the embodiment of the present invention, the terminal user can preset the second condition, and the terminal can judge whether the second time length satisfies the preset second condition according to the preset second condition. Wherein, the second condition may be whether the second time length is greater than or equal to a preset second time threshold. For example: greater than or equal to 2s.
S205,当所述第二时间长度满足预设的第二条件时,输出预设的提示信息。S205. When the second time length satisfies a preset second condition, output preset prompt information.
在本发明实施例中,当终端判断第二时间长度满足第二条件时,终端可输出预设的提示信息。其中,提示信息可用于提示终端用户说话更大声点。其中,预设的提示信息包括:图片信息、音频信息和振动信息。In the embodiment of the present invention, when the terminal judges that the second time length satisfies the second condition, the terminal may output preset prompt information. Wherein, the prompt information may be used to prompt the terminal user to speak louder. Wherein, the preset prompt information includes: picture information, audio information and vibration information.
具体的,当提示信息是图片信息时,终端可在显示屏幕上显示预设的图片信息,该图片信息可以是文字图片信息,图片上可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是音频信息时,终端可输出音频信息,音频信息可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是振动信息时,终端可产生振动,其中,振动信息可包括对提示终端用户说话更大声的振动描述。如通过预置的振动的时长、强度或间隔长短以及一定时间内的振动次数提示终端用户说话更大声。其中,可以是任两种振动类型或多种振动类型组合,在此不限定。Specifically, when the prompt information is picture information, the terminal can display preset picture information on the display screen. The picture information can be text picture information, and the picture can include a prompt prompting the terminal user to speak louder, such as "the other party I may not be able to hear you clearly, please speak loudly", "Please make a call in a quiet environment". When the prompt information is audio information, the terminal can output the audio information, and the audio information can include prompts prompting the terminal user to speak louder, such as "The other party may not be able to hear your speech clearly, please speak louder", "Please go to a quiet environment Call up". When the prompt information is vibration information, the terminal may generate vibration, wherein the vibration information may include a vibration description for prompting the terminal user to speak louder. For example, the terminal user is prompted to speak louder through the preset vibration duration, intensity or interval length and the number of vibrations within a certain period of time. Wherein, it may be any combination of two vibration types or multiple vibration types, which is not limited here.
其中,在本发明实施例中,步骤S200、步骤S201和步骤S202的具体实施方式可参见实施例一中的步骤S100、步骤S101和步骤S102的具体实施方式,在此不再进行赘述。Wherein, in the embodiment of the present invention, the specific implementation manners of step S200, step S201, and step S202 can refer to the specific implementation manners of step S100, step S101, and step S102 in Embodiment 1, which will not be repeated here.
在本发明实施例中,通过当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度,判断所述第一时间长度是否满足预设的第一条件,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。In the embodiment of the present invention, when it is detected that the first sound signal of the local call user enters the first preset state, the first time length during which the first sound signal is in the preset state is obtained to determine the first Whether the length of time satisfies the preset first condition, and when the length of time satisfies the first preset condition, amplify the second sound signal of the calling party and output it. It realizes the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
参见图3,是本发明实施例提供的一种通话管理方法的第三实施例流程示意图。本实施例中所描述的一种通话管理方法包括步骤:Referring to FIG. 3 , it is a schematic flowchart of a third embodiment of a call management method provided by an embodiment of the present invention. A call management method described in this embodiment includes steps:
S300,当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度。S300. When it is detected that a first sound signal of a local call user enters a first preset state, acquire a first time length during which the first sound signal is in the preset state.
S301,判断所述第一时间长度是否满足预设的第一条件。S301. Determine whether the first time length satisfies a preset first condition.
S302,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。S302. When the time length satisfies the preset first condition, amplify the second sound signal of the calling party and output it.
S303,检测本地通话用户的第一声音信号是否包括预置信号。S303. Detect whether the first sound signal of the local call user includes a preset signal.
在本发明实施例中,预置信号可以是预置的语音信息,如:妈妈、爸爸、爷爷等语音信息,终端可对预置信号进行自由设置,在此不进行限定。In the embodiment of the present invention, the preset signal may be preset voice information, such as voice information of mother, father, and grandpa, and the terminal may freely set the preset signal, which is not limited here.
在本发明实施中,当终端获取到本地通话用户的第一声音信号时,终端可将第一声音信号与预置信息进行比对,判断是否包括预置信号。在具体应用中,可例如:当本地通话用户通话时有称呼到“爷爷”时,终端可判断第一声音信号包括预置信息。In the implementation of the present invention, when the terminal obtains the first sound signal of the local call user, the terminal can compare the first sound signal with the preset information, and judge whether the preset signal is included. In a specific application, for example, when a local call user calls "Grandpa" during a call, the terminal may determine that the first sound signal includes preset information.
进一步的,由于称呼一般是在通话的开头,则终端可仅检测预置时间段内的第一声音信息是否包括预置信号,其中,预置时间段可以是本地通话用户接通来电之后启动计时的时间段。该时间段可以是2s,3s等,用户可自行设置,在此不进行限制。Further, since the address is generally at the beginning of a call, the terminal can only detect whether the first sound information within a preset time period includes a preset signal, wherein the preset time period can be started after the local call user connects the call time period. The time period can be 2s, 3s, etc., which can be set by the user, and there is no limitation here.
S304,当检测到所述第一声音信号包括预置信号时,输出预设的提示信息。S304. When it is detected that the first sound signal includes a preset signal, output preset prompt information.
在本发明实施例中,当终端判断第一声音信号包括预置信号时,终端可输出预设的提示信息。其中,提示信息可用于提示终端用户说话更大声点。其中,预设的提示信息包括:图片信息、音频信息和振动信息。In this embodiment of the present invention, when the terminal determines that the first sound signal includes a preset signal, the terminal may output preset prompt information. Wherein, the prompt information may be used to prompt the terminal user to speak louder. Wherein, the preset prompt information includes: picture information, audio information and vibration information.
具体的,当提示信息是图片信息时,终端可在显示屏幕上显示预设的图片信息,该图片信息可以是文字图片信息,图片上可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是音频信息时,终端可输出音频信息,音频信息可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是振动信息时,终端可产生振动,其中,振动信息可包括对提示终端用户说话更大声的振动描述。如通过预置的振动的时长、强度或间隔长短以及一定时间内的振动次数提示终端用户说话更大声。其中,可以是任两种振动类型或多种振动类型组合,在此不限定。Specifically, when the prompt information is picture information, the terminal can display preset picture information on the display screen. The picture information can be text picture information, and the picture can include a prompt prompting the terminal user to speak louder, such as "the other party I may not be able to hear you clearly, please speak loudly", "Please make a call in a quiet environment". When the prompt information is audio information, the terminal can output the audio information, and the audio information can include prompts prompting the terminal user to speak louder, such as "The other party may not be able to hear your speech clearly, please speak louder", "Please go to a quiet environment Call up". When the prompt information is vibration information, the terminal may generate vibration, wherein the vibration information may include a vibration description for prompting the terminal user to speak louder. For example, the terminal user is prompted to speak louder through the preset vibration duration, intensity or interval length and the number of vibrations within a certain period of time. Wherein, it may be any combination of two vibration types or multiple vibration types, which is not limited here.
其中,在本发明实施例中,步骤S300、步骤S301和步骤S302的具体实施方式可参见实施例一中的步骤S100、步骤S101和步骤S102的具体实施方式,在此不再进行赘述。Wherein, in the embodiment of the present invention, the specific implementation manners of step S300, step S301, and step S302 may refer to the specific implementation manners of step S100, step S101, and step S102 in Embodiment 1, which will not be repeated here.
在本发明实施例中,通过当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度,判断所述第一时间长度是否满足预设的第一条件,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。In the embodiment of the present invention, when it is detected that the first sound signal of the local call user enters the first preset state, the first time length during which the first sound signal is in the preset state is obtained to determine the first Whether the length of time satisfies the preset first condition, and when the length of time satisfies the first preset condition, amplify the second sound signal of the calling party and output it. It realizes the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
参见图4,是本发明实施例提供的一种终端的第一实施例结构图。本发明实施例中所描述的终端,包括:Referring to FIG. 4 , it is a structural diagram of a first embodiment of a terminal provided by an embodiment of the present invention. The terminal described in the embodiment of the present invention includes:
第一获取单元100,用于当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度。The first obtaining unit 100 is configured to obtain a first time length during which the first sound signal is in the preset state when it is detected that the first sound signal of the local call user enters the first preset state.
第一判断单元200,用于判断所述第一时间长度是否满足预设的第一条件。The first judging unit 200 is configured to judge whether the first time length satisfies a preset first condition.
第一输出单元300,用于当所述判断单元判断时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。The first output unit 300 is configured to amplify and output the second sound signal of the calling party when the judging unit judges that the time length satisfies the preset first condition.
其中,所述第一预设状态为所述第一声音信号的响度值大于或等于预设的第一响度阈值。Wherein, the first preset state is that the loudness value of the first sound signal is greater than or equal to a preset first loudness threshold.
其中,所述输出单元具体用于:Wherein, the output unit is specifically used for:
根据预置的放大倍数对所述第二声音信号的响度进行放大处理;amplifying the loudness of the second sound signal according to a preset magnification factor;
输出所述放大后的第二声音信号;或者,outputting the amplified second sound signal; or,
将所述第二声音信号通过所述终端的声音放大器进行输出。outputting the second sound signal through the sound amplifier of the terminal.
在本发明实施例中,第一声音信号为终端通过话筒或者麦克风等声音传感器对本地通话用户的声音进行采集,获得的第一声音信号,终端可监测本地通话用户的第一声音信号是否进入第一预设状态。其中,终端可在本地通话用户接通来电时启动监测,在本地通话用户结束通话时结束监测。本发明实施例所描述的第一预设状态可以是第一声音信号的响度值大于或等于预设的第一响度阈值。终端可以从采集到的第一声音信号中,按照预置的处理时间间隔,计算第一声音信号的响度值。其中,当终端获得第一声音信号的响度值后,终端可判断第一声音信号的响度值是否大于或等于预设的第一响度阈值,其中,预设的第一响度阈值可以是70分贝或其他数值,在此不进行限定。当终端判断第一声音信号的响度值大于或等于预设的第一响度阈值时后,终端可判断终端本地终端用户的第一声音信号进入第一预设状态。在具体应用中,可例如:当本地通话用户在通话的过程中,当终端检测到本地通话用户的声音的响度值大于或等于第一响度阈值,终端可判断本地通话用户的声音进入第一预设状态。In the embodiment of the present invention, the first sound signal is the first sound signal obtained by the terminal collecting the voice of the local call user through a sound sensor such as a microphone or a microphone, and the terminal can monitor whether the first sound signal of the local call user enters the first sound signal. a default state. Wherein, the terminal can start the monitoring when the local call user connects the incoming call, and end the monitoring when the local call user ends the call. The first preset state described in this embodiment of the present invention may be that the loudness value of the first sound signal is greater than or equal to a preset first loudness threshold. The terminal may calculate the loudness value of the first sound signal from the collected first sound signal according to a preset processing time interval. Wherein, after the terminal obtains the loudness value of the first sound signal, the terminal may determine whether the loudness value of the first sound signal is greater than or equal to a preset first loudness threshold, where the preset first loudness threshold may be 70 decibels or Other values are not limited here. When the terminal determines that the loudness value of the first sound signal is greater than or equal to the preset first loudness threshold, the terminal may determine that the first sound signal of the local terminal user of the terminal enters the first preset state. In a specific application, for example: when the local call user is in a call, when the terminal detects that the loudness value of the local call user's voice is greater than or equal to the first loudness threshold, the terminal can determine that the local call user's voice enters the first preset threshold. set state.
在本发明实施例中,当第一声音信号进入第一预设状态后,第一获取单元100可获取第一声音信号处于第一预设状态的第一时间长度。其中,第一时间长度可以是第一声音信号在进入第一预设状态以及退出第一预设状态之间的时长。其中,第一获取单元100获取第一时间长度的实施方式可以是:当终端监测到第一声音信号进入第一预设状态时,第一获取单元100可获取第一声音信号进入第一预设状态的第一时间点;当终端监测到第一声音信号退出第一预设状态时,第一获取单元100可获取第一声音信号退出第一预设状态的第二时间点,从而终端可以根据第一时间点和第二时间点的差值获取第一时间长度。进一步的,第一获取单元100获取第一时间长度的实施方式还可以是:当终端监测到第一声音信号进入第一预设状态时第一获取单元100启动计时器进行计时,直至第一声音信号退出第一预设状态后,第一获取单元100结束计时,从而第一获取单元100可根据计时器的计时获得第一时间长度。其中,第一声音信号退出第一预设状态可以是:当获得第一声音信号的响度值小于预设的第一响度阈值。In the embodiment of the present invention, after the first sound signal enters the first preset state, the first acquiring unit 100 may acquire a first time length during which the first sound signal is in the first preset state. Wherein, the first time length may be the time length between the first sound signal entering the first preset state and exiting the first preset state. Wherein, the first acquiring unit 100 can acquire the first time length in an implementation manner: when the terminal monitors that the first sound signal enters the first preset state, the first acquiring unit 100 can acquire the first sound signal and enter the first preset state. The first time point of the state; when the terminal monitors that the first sound signal exits the first preset state, the first acquisition unit 100 can obtain the second time point when the first sound signal exits the first preset state, so that the terminal can The difference between the first time point and the second time point obtains the first time length. Further, the first acquisition unit 100 may acquire the first time length in an implementation manner: when the terminal monitors that the first sound signal enters the first preset state, the first acquisition unit 100 starts a timer to count until the first sound signal enters the first preset state. After the signal exits the first preset state, the first acquisition unit 100 ends timing, so that the first acquisition unit 100 can acquire the first time length according to the timing of the timer. Wherein, the exit of the first sound signal from the first preset state may be: when the acquired loudness value of the first sound signal is smaller than a preset first loudness threshold.
在本发明实施例中,终端用户可以预置第一条件,第一判断单元200可根据预置的第一条件判断第一时间长度是否满足预设的第一条件。其中,第一条件可以是第一时间长度是否大于或等于预置的第一时间阈值。例如:大于或等于2s。In the embodiment of the present invention, the terminal user may preset a first condition, and the first judging unit 200 may judge whether the first time length satisfies the preset first condition according to the preset first condition. Wherein, the first condition may be whether the first time length is greater than or equal to a preset first time threshold. For example: greater than or equal to 2s.
在本发明实施例中,第二声音信号为终端接收到的发送端发送的通话对方的声音信号。当第一判断单元100判断第一时间长度满足第一条件时,第一输出单元可对接收到的通话中的通话对方的第二声音信号进行放大处理并输出。其中,第一输出单元对第二声音信号进行放大处理并输出可以是:第一输出单元根据预置的放大倍数对所述第二声音信号的响度进行放大处理,并输出放大后的第二声音信号。在具体应用中,可例如:第一输出单元增大听筒的音量,此时本地通话用户听到的通话对方的声音的音量增大。进一步的,还可以是,第一输出单元将第二声音信号通过终端的声音放大器进行输出,其中,声音放大器可包括:扬声器或者与终端连接的喇叭等。在具体应用中,可例如:第一输出单元可将听筒模式切换为扬声器模式,将第二声音通过扬声器进行播放通话对方的第二声音信号。In the embodiment of the present invention, the second sound signal is the sound signal of the calling party received by the terminal and sent by the sending end. When the first judging unit 100 judges that the first time length satisfies the first condition, the first output unit may amplify and output the received second sound signal of the caller in the call. Wherein, the first output unit amplifies the second sound signal and outputs it may be: the first output unit amplifies the loudness of the second sound signal according to a preset amplification factor, and outputs the amplified second sound Signal. In a specific application, for example, the first output unit increases the volume of the earpiece, and at this time, the volume of the voice of the calling party heard by the local call user increases. Further, it may also be that the first output unit outputs the second sound signal through a sound amplifier of the terminal, where the sound amplifier may include: a loudspeaker or a speaker connected to the terminal, or the like. In a specific application, for example, the first output unit may switch the earpiece mode to the speaker mode, and play the second sound signal of the call partner through the speaker.
在本发明实施例中,通过当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度,判断所述第一时间长度是否满足预设的第一条件,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。In the embodiment of the present invention, when it is detected that the first sound signal of the local call user enters the first preset state, the first time length during which the first sound signal is in the preset state is obtained to determine the first Whether the length of time satisfies the preset first condition, and when the length of time satisfies the first preset condition, amplify the second sound signal of the calling party and output it. It realizes the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
参见图5,是本发明实施例提供的一种终端的第二实施例结构图。本发明实施例中所描述的终端,包括:Referring to FIG. 5 , it is a structural diagram of a second embodiment of a terminal provided by an embodiment of the present invention. The terminal described in the embodiment of the present invention includes:
第一获取单元100、第一判断单元200和第一输出单元300。The first acquiring unit 100 , the first judging unit 200 and the first output unit 300 .
其中,所述终端还包括:Wherein, the terminal also includes:
第二获取单元400,用于当监测到通话对方的第二声音信号进入第二预设状态时,获取所述第二声音信号处于所述第二预设状态的第二时间长度,其中,所述第二预设状态为所述第二声音信号的响度值大于或等于预设的第二响度阈值。The second acquiring unit 400 is configured to acquire a second time length during which the second sound signal is in the second preset state when it is detected that the second sound signal of the calling party enters the second preset state, wherein the The second preset state is that the loudness value of the second sound signal is greater than or equal to a preset second loudness threshold.
第二判断单元500,用于判断所述第二时间长度是否满足预设的第二条件。The second judging unit 500 is configured to judge whether the second time length satisfies a preset second condition.
第二输出单元600,用于当所述第二判断单元判断所述第二时间长度满足预设的第二条件时,输出预设的提示信息。The second output unit 600 is configured to output preset prompt information when the second judging unit judges that the second time length satisfies a preset second condition.
在本发明实施例中,终端可监测通话对方的第二声音信号是否进入第二预设状态。其中,终端可在本地通话用户接通来电时启动监测,在本地通话用户结束通话时结束监测。本发明实施例所描述的第二预设状态可以是第二声音信号的响度值大于或等于预设的第二响度阈值。终端可以从接收到的第二声音信号中,按照预置的处理时间间隔,计算第二声音信号的响度值。其中,当终端获得第二声音信号的响度值后,终端可判断第二声音信号的响度值是否大于或等于预设的第二响度阈值,其中,预设的第二响度阈值可以是70分贝或其他数值,在此不进行限定。当终端判断第二声音信号的响度值大于或等于预设的第二响度阈值时后,终端可判断终端通话对方的第二声音信号进入第二预设状态。In the embodiment of the present invention, the terminal can monitor whether the second sound signal of the calling party enters the second preset state. Wherein, the terminal can start the monitoring when the local call user connects the incoming call, and end the monitoring when the local call user ends the call. The second preset state described in the embodiment of the present invention may be that the loudness value of the second sound signal is greater than or equal to a preset second loudness threshold. The terminal may calculate the loudness value of the second sound signal from the received second sound signal according to a preset processing time interval. Wherein, after the terminal obtains the loudness value of the second sound signal, the terminal may determine whether the loudness value of the second sound signal is greater than or equal to a preset second loudness threshold, where the preset second loudness threshold may be 70 decibels or Other values are not limited here. When the terminal determines that the loudness value of the second sound signal is greater than or equal to the preset second loudness threshold, the terminal may determine that the second sound signal of the call partner of the terminal enters the second preset state.
在本发明实施例中,当第二声音信号进入第二预设状态后,第二获取单元400可获取第二声音信号处于第二预设状态的第二时间长度。其中,第二时间长度可以是第二声音信号在进入第二预设状态以及退出第二预设状态之间的时长。其中,第二获取单元400获取第二时间长度的实施方式可以是:当终端监测到第二声音信号进入第二预设状态时,第二获取单元400可获取第二声音信号进入第二预设状态的第三时间点;当终端监测到第二声音信号退出第而预设状态时,第二获取单元400可获取第而声音信号退出第而预设状态的第四时间点,从而第二获取单元400可以根据第三时间点和第四时间点的差值获取第二时间长度。进一步的,第二获取单元400获取第二时间长度的实施方式还可以是:当终端监测到第二声音信号进入第二预设状态时第二获取单元400启动计时器进行计时,直至第二声音信号退出第二预设状态后,第二获取单元400结束计时,从而第二获取单元400可根据计时器的计时获得第二时间长度。其中,第二声音信号退出第二预设状态可以是:当获得第二声音信号的响度值小于预设的第一响度阈值。In the embodiment of the present invention, after the second sound signal enters the second preset state, the second acquiring unit 400 may acquire a second time length during which the second sound signal is in the second preset state. Wherein, the second time length may be the time length between the second sound signal entering the second preset state and exiting the second preset state. Wherein, the second acquiring unit 400 can acquire the second time length in an implementation manner: when the terminal monitors that the second sound signal enters the second preset state, the second acquiring unit 400 can acquire the second sound signal and enter the second preset state. The third time point of the state; when the terminal monitors that the second sound signal exits the second preset state, the second acquiring unit 400 may acquire the fourth time point when the first sound signal exits the second preset state, so that the second acquisition Unit 400 may acquire the second time length according to the difference between the third time point and the fourth time point. Further, the second acquisition unit 400 can also obtain the second time length in an implementation manner: when the terminal monitors that the second sound signal enters the second preset state, the second acquisition unit 400 starts a timer to count until the second sound signal enters the second preset state. After the signal exits the second preset state, the second acquiring unit 400 ends timing, so that the second acquiring unit 400 can acquire the second time length according to the timing of the timer. Wherein, the exit of the second sound signal from the second preset state may be: when the obtained loudness value of the second sound signal is smaller than the preset first loudness threshold.
在本发明实施例中,终端用户可以预置第二条件,第二判断单元500可根据预置的第二条件判断第二时间长度是否满足预设的第二条件。其中,第二条件可以是第二时间长度是否大于或等于预置的第二时间阈值。例如:大于或等于2s。In the embodiment of the present invention, the terminal user can preset the second condition, and the second judging unit 500 can judge whether the second time length satisfies the preset second condition according to the preset second condition. Wherein, the second condition may be whether the second time length is greater than or equal to a preset second time threshold. For example: greater than or equal to 2s.
在本发明实施例中,当第二判断单元500判断第二时间长度满足第二条件时,第二输出单元600可输出预设的提示信息。其中,提示信息可用于提示终端用户说话更大声点。其中,预设的提示信息包括:图片信息、音频信息和振动信息。In the embodiment of the present invention, when the second judging unit 500 judges that the second time length satisfies the second condition, the second output unit 600 may output preset prompt information. Wherein, the prompt information may be used to prompt the terminal user to speak louder. Wherein, the preset prompt information includes: picture information, audio information and vibration information.
具体的,当提示信息是图片信息时,第二输出单元600可在显示屏幕上显示预设的图片信息,该图片信息可以是文字图片信息,图片上可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是音频信息时,第二输出单元600可输出音频信息,音频信息可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是振动信息时,第二输出单元600可产生振动,其中,振动信息可包括对提示终端用户说话更大声的振动描述。如通过预置的振动的时长、强度或间隔长短以及一定时间内的振动次数提示终端用户说话更大声。其中,可以是任两种振动类型或多种振动类型组合,在此不限定。Specifically, when the prompt information is picture information, the second output unit 600 may display preset picture information on the display screen. The picture information may be text and picture information, and the picture may include a prompt prompting the terminal user to speak louder. , such as "The other party may not be able to hear you clearly, please speak loudly", "Please make a call in a quiet environment". When the prompt information is audio information, the second output unit 600 can output the audio information, and the audio information can include a prompt prompting the terminal user to speak louder, such as "The other party may not be able to hear your speech clearly, please speak loudly", "Please Go to a quiet place and make a phone call." When the prompt information is vibration information, the second output unit 600 may generate vibration, wherein the vibration information may include a vibration description for prompting the terminal user to speak louder. For example, the terminal user is prompted to speak louder through the preset vibration duration, intensity or interval length and the number of vibrations within a certain period of time. Wherein, it may be any combination of two vibration types or multiple vibration types, which is not limited here.
其中,可以理解的是,本实施例的各功能模块的功能还可根据参照上述实施例的相关描述,此处不再进行赘述。Wherein, it can be understood that the functions of the functional modules of this embodiment may also be based on the relevant descriptions with reference to the above embodiments, and details are not repeated here.
在本发明实施例中,通过当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度,判断所述第一时间长度是否满足预设的第一条件,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。In the embodiment of the present invention, when it is detected that the first sound signal of the local call user enters the first preset state, the first time length during which the first sound signal is in the preset state is obtained to determine the first Whether the length of time satisfies the preset first condition, and when the length of time satisfies the first preset condition, amplify the second sound signal of the calling party and output it. It realizes the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
参见图6,是本发明实施例提供的一种终端的第三实施例结构图。本发明实施例中所描述的终端,包括:Referring to FIG. 6 , it is a structural diagram of a third embodiment of a terminal provided by an embodiment of the present invention. The terminal described in the embodiment of the present invention includes:
第一获取单元100、第一判断单元200和第一输出单元300。The first acquiring unit 100 , the first judging unit 200 and the first output unit 300 .
其中,所述终端还包括:Wherein, the terminal also includes:
检测单元700,用于检测本地通话用户的第一声音信号是否包括预置信号。The detection unit 700 is configured to detect whether the first sound signal of the local call user includes a preset signal.
第三输出单元800,用于当检测到所述第一声音信号包括预置信号时,输出预设的提示信息。The third output unit 800 is configured to output preset prompt information when it is detected that the first sound signal includes a preset signal.
在本发明实施例中,预置信号可以是预置的语音信息,如:妈妈、爸爸、爷爷等语音信息,终端可对预置信号进行自由设置,在此不进行限定。In the embodiment of the present invention, the preset signal may be preset voice information, such as voice information of mother, father, and grandpa, and the terminal may freely set the preset signal, which is not limited here.
在本发明实施中,当检测单元700获取到本地通话用户的第一声音信号时,检测单元700可将第一声音信号与预置信息进行比对,判断是否包括预置信号。在具体应用中,可例如:当本地通话用户通话时有称呼到“爷爷”时,终端可判断第一声音信号包括预置信息。In the implementation of the present invention, when the detection unit 700 acquires the first sound signal of the local call user, the detection unit 700 can compare the first sound signal with preset information, and determine whether the preset signal is included. In a specific application, for example, when a local call user calls "Grandpa" during a call, the terminal may determine that the first sound signal includes preset information.
进一步的,由于称呼一般是在通话的开头,则检测单元700可仅检测预置时间段内的第一声音信息是否包括预置信号,其中,预置时间段可以是本地通话用户接通来电之后启动计时的时间段。该时间段可以是2s,3s等,用户可自行设置,在此不进行限制。Further, since the salutation is generally at the beginning of a call, the detection unit 700 can only detect whether the first sound information within a preset time period includes a preset signal, wherein the preset time period can be after the local call user connects the call The period of time to start timing. The time period can be 2s, 3s, etc., which can be set by the user, and there is no limitation here.
在本发明实施例中,当检测单元700判断第一声音信号包括预置信号时,第三输出单元800可输出预设的提示信息。其中,提示信息可用于提示终端用户说话更大声点。其中,预设的提示信息包括:图片信息、音频信息和振动信息。In the embodiment of the present invention, when the detection unit 700 determines that the first sound signal includes a preset signal, the third output unit 800 may output preset prompt information. Wherein, the prompt information may be used to prompt the terminal user to speak louder. Wherein, the preset prompt information includes: picture information, audio information and vibration information.
具体的,当提示信息是图片信息时,第三输出单元800可在显示屏幕上显示预设的图片信息,该图片信息可以是文字图片信息,图片上可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是音频信息时,第三输出单元800可输出音频信息,音频信息可包括提示终端用户说话更大声的提示语,如“对方可能听不清楚您的讲话,请大声讲话”、“请到安静的环境打电话”。当提示信息是振动信息时,第三输出单元800可产生振动,其中,振动信息可包括对提示终端用户说话更大声的振动描述。如通过预置的振动的时长、强度或间隔长短以及一定时间内的振动次数提示终端用户说话更大声。其中,可以是任两种振动类型或多种振动类型组合,在此不限定。Specifically, when the prompt information is picture information, the third output unit 800 may display preset picture information on the display screen. The picture information may be text and picture information, and the picture may include prompts to prompt the terminal user to speak louder. , such as "The other party may not be able to hear you clearly, please speak loudly", "Please make a call in a quiet environment". When the prompt information is audio information, the third output unit 800 can output the audio information, and the audio information can include a prompt prompting the terminal user to speak louder, such as "The other party may not be able to hear your speech clearly, please speak loudly", "Please Go to a quiet place and make a phone call." When the prompt information is vibration information, the third output unit 800 may generate vibration, wherein the vibration information may include a vibration description for prompting the terminal user to speak louder. For example, the terminal user is prompted to speak louder through the preset vibration duration, intensity or interval length and the number of vibrations within a certain period of time. Wherein, it may be any combination of two vibration types or multiple vibration types, which is not limited here.
其中,可以理解的是,本实施例的各功能模块的功能还可根据参照上述实施例的相关描述,此处不再进行赘述。Wherein, it can be understood that the functions of the functional modules of this embodiment may also be based on the relevant descriptions with reference to the above embodiments, and details are not repeated here.
在本发明实施例中,通过当监测到本地通话用户的第一声音信号进入第一预设状态时,获取所述第一声音信号处于所述预设状态的第一时间长度,判断所述第一时间长度是否满足预设的第一条件,当所述时间长度满足预设的第一条件时,对通话对方的第二声音信号进行放大处理并输出。实现了智能地将输出通话对方的声音信号调整为与本地通话用户的声音信号相适应的效果,有效提高用户体验度,改善通话效果。In the embodiment of the present invention, when it is detected that the first sound signal of the local call user enters the first preset state, the first time length during which the first sound signal is in the preset state is obtained to determine the first Whether the length of time satisfies the preset first condition, and when the length of time satisfies the first preset condition, amplify the second sound signal of the calling party and output it. It realizes the effect of intelligently adjusting the output voice signal of the other party to be compatible with the voice signal of the local call user, effectively improving the user experience and improving the call effect.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (8)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810022458.5A CN108307046B (en) | 2015-05-27 | 2015-05-27 | Call management method and terminal |
CN201510278464.3A CN104902090B (en) | 2015-05-27 | 2015-05-27 | Call management method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510278464.3A CN104902090B (en) | 2015-05-27 | 2015-05-27 | Call management method and terminal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810022458.5A Division CN108307046B (en) | 2015-05-27 | 2015-05-27 | Call management method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104902090A CN104902090A (en) | 2015-09-09 |
CN104902090B true CN104902090B (en) | 2018-01-19 |
Family
ID=54034481
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810022458.5A Expired - Fee Related CN108307046B (en) | 2015-05-27 | 2015-05-27 | Call management method and terminal |
CN201510278464.3A Expired - Fee Related CN104902090B (en) | 2015-05-27 | 2015-05-27 | Call management method and terminal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810022458.5A Expired - Fee Related CN108307046B (en) | 2015-05-27 | 2015-05-27 | Call management method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108307046B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116578865A (en) * | 2023-04-18 | 2023-08-11 | 珠海芯探索微电子有限公司 | Audio instruction acquisition method, system, device and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699837A (en) * | 2009-10-30 | 2010-04-28 | 深圳华为通信技术有限公司 | Telephone voice output gain adjustment method, device and communication terminal |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001046969A (en) * | 1999-08-05 | 2001-02-20 | Tokin Corp | Method for driving speaker and portable telephone |
CN101753679A (en) * | 2008-12-04 | 2010-06-23 | 深圳富泰宏精密工业有限公司 | Sound volume adjusting system and method |
JP5228932B2 (en) * | 2009-01-16 | 2013-07-03 | 沖電気工業株式会社 | SOUND SIGNAL ADJUSTMENT DEVICE, PROGRAM AND METHOD, AND TELEPHONE DEVICE |
CN103731541A (en) * | 2012-10-10 | 2014-04-16 | 北京三星通信技术研究有限公司 | Method and terminal for controlling voice frequency during telephone communication |
CN103916511B (en) * | 2013-01-08 | 2017-12-29 | 联想(北京)有限公司 | The method and electronic equipment of information processing |
CN103458113A (en) * | 2013-08-18 | 2013-12-18 | 苏州量跃信息科技有限公司 | Method and terminal for adjusting communication volume |
CN104299622A (en) * | 2014-09-23 | 2015-01-21 | 深圳市金立通信设备有限公司 | Audio processing method |
CN104378485A (en) * | 2014-11-28 | 2015-02-25 | 小米科技有限责任公司 | Volume adjustment method and volume adjustment device |
-
2015
- 2015-05-27 CN CN201810022458.5A patent/CN108307046B/en not_active Expired - Fee Related
- 2015-05-27 CN CN201510278464.3A patent/CN104902090B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699837A (en) * | 2009-10-30 | 2010-04-28 | 深圳华为通信技术有限公司 | Telephone voice output gain adjustment method, device and communication terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108307046B (en) | 2020-07-03 |
CN104902090A (en) | 2015-09-09 |
CN108307046A (en) | 2018-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8494153B2 (en) | Adaptive mute status reminder | |
CN104160443A (en) | Method, device, and system for audio data processing | |
US10121491B2 (en) | Intelligent volume control interface | |
CN106412259A (en) | Mobile terminal call control method, device and mobile terminal | |
CN105260159B (en) | An audio playback method and device | |
CN107493500A (en) | Multimedia resource player method and device | |
CN101552823A (en) | Volume management system and method | |
CN105744045A (en) | System and method of adjusting ring tone volume | |
US11449302B2 (en) | Volume adjustments based on ambient sounds and voices | |
WO2018035868A1 (en) | Method for outputting audio, electronic device, and storage medium | |
CN103853646A (en) | Called prompting system and method | |
CN106502623A (en) | Audio output device and method | |
CN104902090B (en) | Call management method and terminal | |
TW200428861A (en) | Method for managing a calling in on a cellular phone | |
CN105025149B (en) | Method and device for automatically adjusting call volume | |
CN104683576B (en) | Method for controlling playing and playing equipment | |
JP2006157611A (en) | Terminal device and method of controlling same | |
CN110333838A (en) | A volume control method, terminal and computer storage medium | |
TW201521416A (en) | Volume adjusting system and volume adjusting method, and communication device | |
CN103578512B (en) | Record method and the device thereof of quick playback | |
US9661417B2 (en) | System, method, and computer program product for voice decibel monitoring on electronic computing devices | |
CN105450859A (en) | Reminding method and apparatus for wearing earphone | |
CN113660572B (en) | Earphone call control method and device, earphone equipment and storage medium | |
TWI566233B (en) | Wireless communication method which provides clear voice content | |
CN104754711A (en) | Method and terminal for ending call |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180119 |
|
CF01 | Termination of patent right due to non-payment of annual fee |