[go: up one dir, main page]

CN106453951A - Voice control method for call, and mobile terminal - Google Patents

Voice control method for call, and mobile terminal Download PDF

Info

Publication number
CN106453951A
CN106453951A CN201611051479.7A CN201611051479A CN106453951A CN 106453951 A CN106453951 A CN 106453951A CN 201611051479 A CN201611051479 A CN 201611051479A CN 106453951 A CN106453951 A CN 106453951A
Authority
CN
China
Prior art keywords
mobile terminal
transmitter
event
volume
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.)
Granted
Application number
CN201611051479.7A
Other languages
Chinese (zh)
Other versions
CN106453951B (en
Inventor
阎伟豪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611051479.7A priority Critical patent/CN106453951B/en
Publication of CN106453951A publication Critical patent/CN106453951A/en
Application granted granted Critical
Publication of CN106453951B publication Critical patent/CN106453951B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种通话的语音控制方法及移动终端。该方法包括:检测所述移动终端是否采用VoLTE语音通话拨号;若是,则检测从触发所述VoLTE语音通话拨号的拨号事件到被叫端接通VoLTE语音通话之间的等待时长,如果所述等待时长小于预设时间阈值,则在接通所述VoLTE语音通话后关闭所述移动终端的送话器;在所述送话器的关闭期间内,若检测到预设事件,则开启所述送话器。本发明通过在等待时长较短时,及时关闭送话器,在检测到预设事件时,及时开启送话器,从而在避免呼叫端用户隐私泄露的同时还能及时拨打电话。

Embodiments of the present invention provide a voice control method for a call and a mobile terminal. The method includes: detecting whether the mobile terminal adopts VoLTE voice call dialing; if so, detecting the waiting time between the dialing event triggering the VoLTE voice call dialing and the called terminal connecting the VoLTE voice call, if the waiting If the duration is less than the preset time threshold, the microphone of the mobile terminal is turned off after the VoLTE voice call is connected; during the shutdown period of the microphone, if a preset event is detected, the microphone of the mobile terminal is turned on phone. In the present invention, the microphone is turned off in time when the waiting time is short, and the microphone is turned on in time when a preset event is detected, thereby avoiding privacy leakage of the calling end user and making a call in time.

Description

一种通话的语音控制方法及移动终端Voice control method for calling and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种通话的语音控制方法及移动终端。The present invention relates to the technical field of communication, in particular to a voice control method for calling and a mobile terminal.

背景技术Background technique

VoLTE,即Voice over LTE,是基于IMS(IP Multimedia Subsystem,IP多媒体子系统)的语音业务。VoLTE是一种IP数据传输技术,无需2G/3G网络,全部业务承载于4G网络上,可实现数据与语音业务在同一网络下的统一。换言之,4G网络下不仅仅提供高速率的数据业务,同时还提供高质量的音视频通话,后者便需要VoLTE技术来实现。VoLTE, namely Voice over LTE, is a voice service based on IMS (IP Multimedia Subsystem, IP Multimedia Subsystem). VoLTE is an IP data transmission technology that does not require a 2G/3G network. All services are carried on the 4G network, which can realize the unification of data and voice services under the same network. In other words, the 4G network not only provides high-speed data services, but also provides high-quality audio and video calls, which require VoLTE technology to achieve.

VoLTE技术带给4G用户最直接的感受就是拨通等待时间更短,以及更高质量、更自然的语音视频通话效果。VoLTE与2G、3G语音通话有着本质的不同。VoLTE是架构在4G网络上全IP条件下的端到端语音方案。VoLTE相较2G、3G语音通话,语音质量能提高40%左右,因为它采用高分辨率编解码技术。VoLTE为用户带来更低的接入时延(即,用户点击拨号按键后到电话拨通(听到嘟~嘟~嘟的声音时)前的等待时间),比3G降50%,大概在2秒左右,而2G时代在6-7秒。The most direct experience that VoLTE technology brings to 4G users is shorter dial-up waiting time, and higher-quality, more natural voice and video call effects. VoLTE is fundamentally different from 2G and 3G voice calls. VoLTE is an end-to-end voice solution based on all-IP conditions on the 4G network. Compared with 2G and 3G voice calls, VoLTE can improve the voice quality by about 40%, because it uses high-resolution codec technology. VoLTE brings users lower access delay (that is, the waiting time after the user clicks the dial button until the call is dialed (when the beep-beep-beep sound is heard)), which is 50% lower than that of 3G, about About 2 seconds, and 6-7 seconds in the 2G era.

随着技术的发展,VoLTE的呼叫接入时长大幅缩短,业界测试表明VoLTE呼叫接续时间可减低至0.25~2.5s,而3G语音平均连接时间为5s。呼叫时间的缩短同时也带来了一些负面的影响。由于接入时长大幅缩短,用户仍旧习惯于较长的接入时长,而对较短接入时长的VoLTE语音通话拨号使用不习惯。即,由于VoLTE的通话接入速度太快,使用户缺少反应时间,这就造成用户的意识还停留过去2G、3G通话中的在拨号后好几秒(例如3G语音连接时间5s)才能拨通的认知上。这就造成在电话被对方接听后,拨号方还在说与通话无关的话,从而使得所述说的话语被对方听到,导致不必要的尴尬。With the development of technology, the call access time of VoLTE has been greatly shortened. Industry tests show that the call connection time of VoLTE can be reduced to 0.25-2.5s, while the average connection time of 3G voice is 5s. The reduction in call time has also brought some negative effects. Since the access time is greatly shortened, users are still accustomed to a longer access time, but are not used to dialing VoLTE voice calls with a shorter access time. That is, because the call access speed of VoLTE is too fast, the user lacks reaction time, which causes the user's consciousness to stay in the past in 2G and 3G calls, which can only be dialed after several seconds after dialing (for example, the 3G voice connection time is 5s). Cognitively. This just causes after the call is answered by the other party, the dialing party is still saying something irrelevant to the call, so that the said words are heard by the other party, causing unnecessary embarrassment.

由此可见,现有技术中在面对移动终端采用VoLTE语音通话的场景时,存在着电话拨打方用户所说出的与电话接听方无关的话语被其听到,造成用户隐私泄露,降低了用户体验的问题。It can be seen that in the prior art, when a mobile terminal adopts a VoLTE voice call scenario, there are words that the caller user speaks that have nothing to do with the call receiver to be heard by the caller, resulting in leakage of user privacy and reducing User experience issues.

发明内容Contents of the invention

本发明实施例提供一种通话的语音控制方法及移动终端,以解决现有技术中在面对移动终端采用VoLTE语音通话的场景时,存在着电话拨打方用户所说出的与电话接听方无关的话语被其听到,造成用户隐私泄露,降低了用户体验的问题。Embodiments of the present invention provide a voice control method for a call and a mobile terminal to solve the problem in the prior art that when a mobile terminal adopts a VoLTE voice call, what the caller user says has nothing to do with the call receiver His words were heard by him, resulting in the leakage of user privacy and reducing the problem of user experience.

第一方面,本发明实施例提供了一种通话的语音控制方法,应用于移动终端,所述方法包括:In a first aspect, an embodiment of the present invention provides a voice control method for a call, which is applied to a mobile terminal, and the method includes:

检测所述移动终端是否采用VoLTE语音通话拨号;Detecting whether the mobile terminal uses VoLTE voice call dialing;

若是,则检测从触发所述VoLTE语音通话拨号的拨号事件到被叫端接通VoLTE语音通话之间的等待时长,如果所述等待时长小于预设时间阈值,则在接通所述VoLTE语音通话后关闭所述移动终端的送话器;If so, then detect the waiting time between the dialing event that triggers the VoLTE voice call dialing and the called end connecting the VoLTE voice call, if the waiting time is less than the preset time threshold, then the VoLTE voice call is connected Then close the microphone of the mobile terminal;

在所述送话器的关闭期间内,若检测到预设事件,则开启所述送话器。During the off period of the microphone, if a predetermined event is detected, the microphone is turned on.

第二方面,本发明实施例还提供了一种移动终端,所述移动终端包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, the mobile terminal includes:

拨号检测模块,用于检测所述移动终端是否采用VoLTE语音通话拨号;Dialing detection module, used to detect whether the mobile terminal adopts VoLTE voice call dialing;

时间检测模块,用于若是,则检测从触发所述VoLTE语音通话拨号的拨号事件到被叫端接通VoLTE语音通话之间的等待时长,如果所述等待时长小于预设时间阈值,则在接通所述VoLTE语音通话后关闭所述移动终端的送话器;The time detection module is used to detect the waiting time between the dialing event that triggers the VoLTE voice call dialing and the called end connecting the VoLTE voice call, if the waiting time is less than the preset time threshold, then when receiving Turn off the microphone of the mobile terminal after the VoLTE voice call;

事件检测模块,用于在所述送话器的关闭期间内,若检测到预设事件,则开启所述送话器。The event detection module is configured to turn on the microphone if a preset event is detected during the off period of the microphone.

这样,本发明实施例通过在确定移动终端采用的是VoLTE语音通话拨号的情况下,如果检测到触发拨号事件到被叫端接通电话之间的等待时长小于预设时间阈值,则可以确定电话接通的时间过短,容易使用户还没做好接听准备,从而说出与通话无关的话语而被被叫端听到,造成隐私泄露。而本发明实施例在确定接通前的等待时长过短时,则可以及时关闭送话器,避免用户隐私泄露;而在检测到预设事件后,再重新开启送话器。从而为呼叫端用户提供了充足的通话准备时间,避免呼叫端用户隐私泄露,提升了用户对VoLTE的语音通话体验。In this way, in the embodiment of the present invention, when it is determined that the mobile terminal is using VoLTE voice call dialing, if the waiting time between the time when the dialing event is detected and the called end is connected to the call is less than the preset time threshold, then the call can be determined If the connection time is too short, it is easy for the user to be unprepared to answer the call, so that the called party hears words that have nothing to do with the call, resulting in a privacy leak. However, in the embodiment of the present invention, when it is determined that the waiting time before being connected is too short, the microphone can be turned off in time to avoid leakage of user privacy; and the microphone can be turned on again after a preset event is detected. In this way, sufficient call preparation time is provided for the calling end user, the privacy leakage of the calling end user is avoided, and the user's voice call experience of VoLTE is improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是本发明一个实施例的通话的语音控制方法的流程图;Fig. 1 is the flow chart of the speech control method of the conversation of an embodiment of the present invention;

图2是本发明一个实施例的移动终端的框图;Fig. 2 is a block diagram of a mobile terminal according to an embodiment of the present invention;

图3是本发明依据图2所示的另一个实施例的移动终端的框图;FIG. 3 is a block diagram of a mobile terminal according to another embodiment of the present invention shown in FIG. 2;

图4是本发明又一个实施例的移动终端的框图;Fig. 4 is a block diagram of a mobile terminal according to yet another embodiment of the present invention;

图5是本发明一个实施例的移动终端的结构示意图。Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 some of the embodiments of the present invention, but not all of them. 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 shows a flowchart of a voice control method for a call according to an embodiment of the present invention, which is applied to a mobile terminal. The method may specifically include the following steps:

步骤101,检测所述移动终端是否采用VoLTE语音通话拨号;Step 101, detecting whether the mobile terminal uses a VoLTE voice call to dial;

其中,由于本发明实施例是针对VoLTE语音通话的通话接入速度过快所导致的电话拨打方用户所说出的与电话接听方无关的话语被其听到,造成用户隐私泄露,降低了用户体验的问题而提出的,因此首先需要检查该移动终端是否采用VoLTE语音通话拨号。Among them, because the embodiment of the present invention is aimed at the too fast call access speed of the VoLTE voice call, the caller user's words that have nothing to do with the call receiver are heard by the caller, causing the user's privacy to leak and reducing the user's privacy. Therefore, it is first necessary to check whether the mobile terminal uses VoLTE voice call dialing.

步骤102,若是,则检测从触发所述VoLTE语音通话拨号的拨号事件到被叫端接通VoLTE语音通话之间的等待时长,如果所述等待时长小于预设时间阈值,则在接通所述VoLTE语音通话后关闭所述移动终端的送话器;Step 102, if yes, then detect the waiting time between the dialing event that triggers the VoLTE voice call dialing and the called end connecting the VoLTE voice call, if the waiting time is less than the preset time threshold, then connect the Turn off the microphone of the mobile terminal after the VoLTE voice call;

其中,如果确实采用的是VoLTE语音通话拨号,那么用户在拨打电话的流程应该是:点击手机的数字按键,构成对方的电话号码,然后点击拨打按钮,而点击拨打按钮就会触发所述VoLTE语音通话拨号的拨号事件(检测到触发的拨号事件时为时间点A),在触发拨号事件后,经过短暂的时延就可以使呼叫端和被叫端连接(连接时间点为时间点B),连接后就是等待一段时间直到被叫端接听电话(电话接听时的时间点为时间点C)。Among them, if VoLTE voice call dialing is indeed used, the process for the user to make a call should be: click the number button on the mobile phone to form the phone number of the other party, and then click the dial button, and clicking the dial button will trigger the VoLTE voice call. The dialing event of call dialing (when the triggered dialing event is detected is time point A), after the dialing event is triggered, the calling end and the called end can be connected after a short delay (the connection time point is time point B), After connecting, it is to wait for a period of time until the called end answers the call (the time point when the call is answered is time point C).

这里,需要检测从时间点A到时间点C之间的等待时长,判断该等待时长是否小于预设时间阈值,如果小于,则说明电话很快就被接通了,容易存在电话接通后呼叫端用户还在说与通话无关的话语的问题。因此为了避免该问题,需要在判断等待时长小于预设时间阈值时,在电话接通后关闭手机的送话器(即麦克风)。Here, it is necessary to detect the waiting time between time point A and time point C, and judge whether the waiting time is less than the preset time threshold. If it is less than, it means that the call will be connected soon, and it is easy to call after the call is connected. End users are still having issues with speaking non-conversational utterances. Therefore, in order to avoid this problem, it is necessary to turn off the microphone (that is, the microphone) of the mobile phone after the call is connected when it is judged that the waiting time is less than the preset time threshold.

步骤103,在所述送话器的关闭期间内,若检测到预设事件,则开启所述麦克风。Step 103, during the off period of the microphone, if a preset event is detected, turn on the microphone.

其中,在麦克风关闭的时间段内,如果检测到预设事件(即说明呼叫端用户已经做好了接通电话的准备),此时,可以开启麦克风。Wherein, during the time period when the microphone is turned off, if a preset event is detected (that is, it means that the calling end user is ready to connect the phone), at this time, the microphone can be turned on.

这样,本发明实施例通过在确定移动终端采用的是VoLTE语音通话拨号的情况下,如果检测到触发拨号事件到被叫端接通电话之间的等待时长小于预设时间阈值,则可以确定电话接通的时间过短,容易使用户还没做好接听准备,从而说出与通话无关的话语而被被叫端听到,造成隐私泄露。而本发明实施例在确定接通前的等待时长过短时,则可以及时关闭送话器,避免用户隐私泄露;而在检测到预设事件后,再重新开启送话器。从而为呼叫端用户提供了充足的通话准备时间,避免呼叫端用户隐私泄露,提升了用户对VoLTE的语音通话体验。In this way, in the embodiment of the present invention, when it is determined that the mobile terminal is using VoLTE voice call dialing, if the waiting time between the time when the dialing event is detected and the called end is connected to the call is less than the preset time threshold, then the call can be determined If the connection time is too short, it is easy for the user to be unprepared to answer the call, so that the called party hears words that have nothing to do with the call, resulting in a privacy leak. However, in the embodiment of the present invention, when it is determined that the waiting time before being connected is too short, the microphone can be turned off in time to avoid leakage of user privacy; and the microphone can be turned on again after a preset event is detected. In this way, sufficient call preparation time is provided for the calling end user, the privacy leakage of the calling end user is avoided, and the user's voice call experience of VoLTE is improved.

下面在上述实施例的基础上,结合几个可选地实施例来对本发明实施例的上述技术方案进行详细阐述。The above technical solutions of the embodiments of the present invention will be described in detail below in combination with several optional embodiments on the basis of the above embodiments.

可选地,在一个实施例中,从步骤102中的检测到触发的所述拨号事件之后,且在被叫端接通所述VoLTE语音通话之前,根据本发明实施例的方法还包括:Optionally, in one embodiment, after detecting the triggered dialing event in step 102 and before the called end connects to the VoLTE voice call, the method according to the embodiment of the present invention further includes:

检测环境噪声的音量;Detect the volume of ambient noise;

根据所述音量与预设音量阈值之间的比较结果,确定当检测到预设事件时,开启所述送话器的方式。According to the comparison result between the volume and the preset volume threshold, it is determined how to turn on the microphone when a preset event is detected.

也就是说,从检测到触发的所述拨号事件之后至被叫端接通所述VoLTE语音通话之前的这段等待时间期间,移动终端的送话器必然还是处于开启状态的,因此这段期间可以采用开启的送话器(麦克风)来检测移动终端的周围环境的噪声的音量;并将该音量与预设音量阈值作比较,根据比较结果来确定当检测到预设事件时,开启所述送话器的方式。That is to say, during the waiting period from after the triggered dialing event is detected to before the called party connects to the VoLTE voice call, the microphone of the mobile terminal must still be in the open state, so during this period A microphone (microphone) that can be turned on can be used to detect the volume of noise in the surrounding environment of the mobile terminal; and the volume is compared with a preset volume threshold, and it is determined according to the comparison result that when a preset event is detected, the mode of the transmitter.

其中,在一个实施例中,在你根据所述音量与预设音量阈值之间的比较结果,确定当检测到预设事件时,开启所述送话器的方式时,可以通过如下步骤来实现:Among them, in one embodiment, when you determine the way to turn on the microphone when a preset event is detected according to the comparison result between the volume and the preset volume threshold, it can be realized through the following steps :

若所述音量大于或等于预设音量阈值,且所述移动终端连接有耳机或开启扬声器,则通过所述耳机或所述扬声器发出提示音,并从检测到环境噪声的音量的时间点开始至预定时间长度之后,开启所述送话器。If the volume is greater than or equal to the preset volume threshold, and the mobile terminal is connected with an earphone or a speaker is turned on, a prompt tone will be issued through the earphone or the speaker, and the volume of the ambient noise will be detected from the time point to After a predetermined length of time, the microphone is turned on.

其中,如果该噪声的音量大于或等于预设音量阈值,则说明用户在电话接通前正在说话或者处于比较嘈杂的环境,那么如果检测到手机连接着耳机或者开启了扬声器(即免提)的这种预设事件,则可以向所述耳机或所述扬声器发送提示音(提示用户电话即将接听,这样用户就可以不再继续说与通话无关的话语或者换个安静的环境),并在检测到环境噪声的音量的时间点开始至预定时间长度(0.5s~1s)之后,开启所述麦克风,即延迟0.5s~1s再开启麦克风。从而给用户一个缓冲时间。Wherein, if the volume of the noise is greater than or equal to the preset volume threshold, it means that the user is talking or is in a relatively noisy environment before the call is connected. This preset event can then send a prompt tone to the earphone or the speaker (reminding the user that the phone is about to be answered, so that the user can no longer continue to speak irrelevant words or change to a quiet environment), and when detected The microphone is turned on after a predetermined time period (0.5s˜1s) from the volume of the ambient noise, that is, the microphone is turned on after a delay of 0.5s˜1s. Thus giving the user a buffer time.

另外,可选地,在一个实施例中,在执行步骤103时,可以通过以下方式来实现:In addition, optionally, in an embodiment, when step 103 is performed, it may be implemented in the following manner:

在所述送话器的关闭期间内,检测所述移动终端是否连接耳机或开启扬声器;During the closing period of the microphone, detect whether the mobile terminal is connected to an earphone or turns on a speaker;

若是(则说明检测到预设事件),则开启所述送话器;If so (then indicating that a preset event has been detected), then turn on the microphone;

若否,则说明用户没有使用耳机或者免提来拨打电话,因此可以检测所述移动终端的距离传感器是否接收到触发信号(即,当用户的手机面板贴近用户的面部时,距离过近会使距离传感器接收到触发信号,具体而言,若人脸和手机屏幕之间的距离S小于预设距离阈值S0,则会使距离传感器接收到触发信号,同时表示,用户已经将手机握持到耳朵附近准备接听,那么用户也不会说与通话无关的话语,因此,这时可以开启所述麦克风);If not, it means that the user does not use an earphone or hands-free to make a call, so it can be detected whether the distance sensor of the mobile terminal receives a trigger signal (that is, when the user's mobile phone panel is close to the user's face, the distance is too close to cause The distance sensor receives the trigger signal, specifically, if the distance S between the face and the mobile phone screen is less than the preset distance threshold S0, the distance sensor will receive the trigger signal, and at the same time indicate that the user has held the mobile phone to the ear ready to answer nearby, then the user will not say anything irrelevant to the call, so the microphone can be turned on at this time);

若接收到所述触发信号(则说明检测到预设事件),则开启送话器。If the trigger signal is received (indicating that a preset event has been detected), the microphone is turned on.

也就是说,在本发明实施例中,预设事件包括但不限于:移动终端连接耳机或开启扬声器或距离传感器接收到触发信号。That is to say, in the embodiment of the present invention, the preset event includes but is not limited to: the mobile terminal connects the earphone or turns on the speaker, or the distance sensor receives the trigger signal.

其中,预设事件表示着用户已经做好了接听电话的准备,因此,在检测到预设事件后可以开启手机的麦克风。Wherein, the preset event indicates that the user is ready to answer the call, therefore, the microphone of the mobile phone can be turned on after the preset event is detected.

本发明实施例通过在等待时长较短时,及时关闭送话器,在检测到预设事件时,及时开启送话器,从而在避免呼叫端用户隐私泄露的同时还能及时拨打电话。In the embodiment of the present invention, when the waiting time is short, the microphone is turned off in time, and when a preset event is detected, the microphone is turned on in time, thereby avoiding privacy leakage of the calling end user and making a call in time.

可选地,在一个实施例中,所述检测所述移动终端的距离传感器是否接收到触发信号的步骤之后,所述方法还包括:Optionally, in one embodiment, after the step of detecting whether the distance sensor of the mobile terminal receives a trigger signal, the method further includes:

若没有接收到所述触发信号,则重新检测所述移动终端是否连接耳机或开启扬声器;If the trigger signal is not received, re-detect whether the mobile terminal is connected to an earphone or turns on a speaker;

若是,则开启所述送话器。If so, turn on the microphone.

具体而言,如果没有接收到触发信号,则说明用户没有做好接听准备,而用户可能在准备佩戴耳机或者开启扬声器,因此可以重新检测所述移动终端是否连接耳机或开启扬声器;如果是,则继续重新开启麦克风。Specifically, if the trigger signal is not received, it means that the user is not ready to answer, and the user may be preparing to wear the earphone or turn on the speaker, so it is possible to re-detect whether the mobile terminal is connected to the earphone or turn on the speaker; if so, then Go ahead and turn the microphone back on.

参照图2,示出了本发明一个实施例的移动终端的框图。图2所示移动终端包括:Referring to FIG. 2, a block diagram of a mobile terminal according to an embodiment of the present invention is shown. The mobile terminal shown in Figure 2 includes:

拨号检测模块201,用于检测所述移动终端是否采用VoLTE语音通话拨号;Dialing detection module 201, for detecting whether the mobile terminal adopts VoLTE voice call dialing;

时间检测模块202,用于若是,则检测从触发所述VoLTE语音通话拨号的拨号事件到被叫端接通VoLTE语音通话之间的等待时长,如果所述等待时长小于预设时间阈值,则在接通所述VoLTE语音通话后关闭所述移动终端的送话器;The time detection module 202 is used to detect, if so, the waiting time between the dialing event that triggers the VoLTE voice call dialing and the called end connecting the VoLTE voice call, if the waiting time is less than the preset time threshold, then in Turn off the microphone of the mobile terminal after connecting the VoLTE voice call;

事件检测模块203,用于在所述送话器的关闭期间内,若检测到预设事件,则开启所述送话器。The event detection module 203 is configured to turn on the microphone if a preset event is detected during the off period of the microphone.

参照图3,在图2的基础上,可选地,事件检测模块203包括:Referring to FIG. 3, on the basis of FIG. 2, optionally, the event detection module 203 includes:

第一事件检测子模块213,用于在所述送话器的关闭期间内,检测所述移动终端是否连接耳机或开启扬声器;The first event detection submodule 213 is used to detect whether the mobile terminal is connected to an earphone or turns on a speaker during the off period of the microphone;

第一开启子模块223,用于若第一事件检测子模块213检测所述移动终端连接耳机或开启扬声器,则开启所述送话器;The first opening submodule 223 is used to open the microphone if the first event detection submodule 213 detects that the mobile terminal is connected to an earphone or the speaker is turned on;

第二事件检测子模块233,用于若第一事件检测子模块213未检测所述移动终端是否连接耳机或开启扬声器,则检测所述移动终端的距离传感器是否接收到触发信号;The second event detection submodule 233 is used to detect whether the distance sensor of the mobile terminal receives a trigger signal if the first event detection submodule 213 does not detect whether the mobile terminal is connected to an earphone or turns on a speaker;

第二开启子模块243,用于若接收到所述触发信号,则开启送话器。The second opening sub-module 243 is configured to open the microphone if the trigger signal is received.

所述移动终端还包括:The mobile terminal also includes:

音量检测模块204,用于检测环境噪声的音量;Volume detection module 204, for detecting the volume of ambient noise;

方式确定模块205,用于根据所述音量与预设音量阈值之间的比较结果,确定当检测到预设事件时,开启所述送话器的方式。The mode determination module 205 is configured to determine a mode for turning on the microphone when a preset event is detected according to a comparison result between the volume and a preset volume threshold.

所述方式确定模块205包括:The mode determination module 205 includes:

提示音发出子模块215,用于若所述音量大于或等于预设音量阈值,且所述移动终端连接有耳机或开启扬声器,则通过所述耳机或所述扬声器发出提示音;Prompt sound emitting sub-module 215, configured to emit a prompt sound through the earphone or the speaker if the volume is greater than or equal to a preset volume threshold, and the mobile terminal is connected to an earphone or a speaker is turned on;

第三开启子模块225,用于从检测到环境噪声的音量的时间点开始至预定时间长度之后,开启所述送话器。The third opening sub-module 225 is configured to open the microphone after a predetermined time period from the time when the volume of the ambient noise is detected.

所述移动终端还包括:The mobile terminal also includes:

重新检测子模块206,用于若没有接收到所述触发信号,则重新检测所述移动终端是否连接耳机或开启扬声器;A re-detection submodule 206, configured to re-detect whether the mobile terminal is connected to an earphone or turns on a speaker if the trigger signal is not received;

送话器开启模块207,用于若接收到所述触发信号,则开启所述送话器。The microphone opening module 207 is configured to open the microphone if the trigger signal is received.

移动终端能够实现上述方法实施例中移动终端实现的只要用户不触发预设事件都可以自由的说与通话无关的话语,而不必担心被对方听到,而只有在其触发了预设事件,即做好接听准备后,才会开启麦克风,而不会存在在电话接听后,用户所说出的与电话接听方无关的话语被其听到,造成用户隐私泄露,降低了用户体验的效果,为避免重复,这里不再赘述。The mobile terminal can realize what the mobile terminal realizes in the above-mentioned method embodiments, as long as the user does not trigger a preset event, he can freely speak words that have nothing to do with the call, without worrying about being heard by the other party. The microphone will only be turned on after the answer is ready, and there will be no possibility that after the call is answered, the words spoken by the user that have nothing to do with the call receiver will be heard by him, causing the user's privacy to leak and reducing the effect of the user experience. Repeat, no more details here.

图4是本发明又一个实施例的移动终端的框图。图4所示的移动终端400包括:至少一个处理器401、存储器402、至少一个网络接口404和用户接口403。移动终端400中的各个组件通过总线系统405耦合在一起。可理解,总线系统405用于实现这些组件之间的连接通信。总线系统405除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图4中将各种总线都标为总线系统405。Fig. 4 is a block diagram of a mobile terminal according to yet another embodiment of the present invention. The mobile terminal 400 shown in FIG. 4 includes: at least one processor 401 , a memory 402 , at least one network interface 404 and a user interface 403 . Various components in the mobile terminal 400 are coupled together through the bus system 405 . It can be understood that the bus system 405 is used to realize connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 405 in FIG. 4 .

其中,用户接口403可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 403 may include a display, a keyboard or a pointing device (for example, a mouse, a trackball (trackball), a touch panel or a touch screen, and the like.

可以理解,本发明实施例中的存储器402可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本发明实施例描述的系统和方法的存储器402旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 402 in the embodiment of the present invention may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). The memory 402 of the systems and methods described in embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

在一些实施方式中,存储器402存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统4021和应用程序4022。In some implementations, the memory 402 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 4021 and an application program 4022 .

其中,操作系统4021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序4022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序4022中。Among them, the operating system 4021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 4022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 4022 .

在本发明实施例中,通过调用存储器402存储的程序或指令,具体的,可以是应用程序4022中存储的程序或指令,处理器401用于检测所述移动终端是否采用VoLTE语音通话拨号;若是,则检测从触发所述VoLTE语音通话拨号的拨号事件到被叫端接通VoLTE语音通话之间的等待时长,如果所述等待时长小于预设时间阈值,则在接通所述VoLTE语音通话后关闭所述移动终端的送话器;在所述送话器的关闭期间内,若检测到预设事件,则开启所述送话器。In the embodiment of the present invention, by calling the program or instruction stored in the memory 402, specifically, the program or instruction stored in the application program 4022, the processor 401 is used to detect whether the mobile terminal uses VoLTE voice call dialing; if , then detect the waiting time between the dialing event that triggers the VoLTE voice call dialing and the called end connecting the VoLTE voice call, if the waiting time is less than the preset time threshold, after the VoLTE voice call is connected Turn off the microphone of the mobile terminal; during the shutdown period of the microphone, if a preset event is detected, turn on the microphone.

上述本发明实施例揭示的方法可以应用于处理器401中,或者由处理器401实现。处理器401可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器401中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器401可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器402,处理器401读取存储器402中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 401 or implemented by the processor 401 . The processor 401 may be an integrated circuit chip and has signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 401 or instructions in the form of software. The above-mentioned processor 401 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402, and completes the steps of the above method in combination with its hardware.

可以理解的是,本发明实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital SignalProcessing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(ProgrammableLogic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that the embodiments described in the embodiments of the present invention may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.

对于软件实现,可通过执行本发明实施例所述功能的模块(例如过程、函数等)来实现本发明实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For software implementation, the techniques described in the embodiments of the present invention may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present invention. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.

可选地,处理器401还用于:在所述送话器的关闭期间内,检测所述移动终端是否连接耳机或开启扬声器;若是,则开启所述送话器;若否,则检测所述移动终端的距离传感器是否接收到触发信号;若接收到所述触发信号,则开启送话器。Optionally, the processor 401 is further configured to: during the off period of the microphone, detect whether the mobile terminal is connected to an earphone or turns on the speaker; if yes, turn on the microphone; if not, detect whether the mobile terminal Whether the distance sensor of the mobile terminal receives the trigger signal; if the trigger signal is received, the microphone is turned on.

可选地,处理器401还用于:检测环境噪声的音量;根据所述音量与预设音量阈值之间的比较结果,确定当检测到预设事件时,开启所述送话器的方式。Optionally, the processor 401 is further configured to: detect the volume of the ambient noise; and determine, according to a comparison result between the volume and a preset volume threshold, how to turn on the microphone when a preset event is detected.

可选地,处理器401还用于:若所述音量大于或等于预设音量阈值,且所述移动终端连接有耳机或开启扬声器,则通过所述耳机或所述扬声器发出提示音,并从检测到环境噪声的音量的时间点开始至预定时间长度之后,开启所述送话器。Optionally, the processor 401 is further configured to: if the volume is greater than or equal to a preset volume threshold, and the mobile terminal is connected to an earphone or a speaker is turned on, send a prompt tone through the earphone or the speaker, and send The microphone is turned on after a predetermined time period from the time point when the volume of the ambient noise is detected.

可选地,处理器401还用于:若没有接收到所述触发信号,则重新检测所述移动终端是否连接耳机或开启扬声器;若是,则开启所述送话器。Optionally, the processor 401 is further configured to: if the trigger signal is not received, re-detect whether the mobile terminal is connected to an earphone or turn on a speaker; if so, turn on the microphone.

移动终端400能够实现前述实施例中移动终端实现的只要用户不触发预设事件都可以自由的说与通话无关的话语,而不必担心被对方听到,而只有在其触发了预设事件,即做好接听准备后,才会开启麦克风,而不会存在在电话接听后,用户所说出的与电话接听方无关的话语被其听到,造成用户隐私泄露,降低了用户体验的效果,为避免重复,这里不再赘述。The mobile terminal 400 can realize what the mobile terminal in the foregoing embodiments realizes, as long as the user does not trigger a preset event, he can freely speak words that are not related to the call without worrying about being heard by the other party. The microphone will only be turned on after the answer is ready, and there will be no possibility that after the call is answered, the words spoken by the user that have nothing to do with the call receiver will be heard by him, causing the user's privacy to leak and reducing the effect of the user experience. Repeat, no more details here.

图5是本发明另一个实施例的移动终端的结构示意图。具体地,图5中的移动终端500可以为手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、或车载电脑等。Fig. 5 is a schematic structural diagram of a mobile terminal according to another embodiment of the present invention. Specifically, the mobile terminal 500 in FIG. 5 may be a mobile phone, a tablet computer, a personal digital assistant (Personal Digital Assistant, PDA), or a vehicle-mounted computer.

图5中的移动终端500包括射频(Radio Frequency,RF)电路510、存储器520、输入单元530、显示单元540、处理器560、音频电路570、WiFi(Wireless Fidelity)模块580和电源590。Mobile terminal 500 in FIG.

其中,输入单元530可用于接收移动终端用户输入的数字或字符信息,以及产生与移动终端500的移动终端用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元530可以包括触控面板531。触控面板531,也称为触摸屏,可收集移动终端用户在其上或附近的触摸操作(比如移动终端用户使用手指、触笔等任何适合的物体或附件在触控面板531上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板531可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测移动终端用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器560,并能接收处理器560发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板531。除了触控面板531,输入单元530还可以包括其他输入设备532,其他输入设备532可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 530 can be used to receive digital or character information input by the mobile terminal user, and generate signal input related to the mobile terminal user setting and function control of the mobile terminal 500 . Specifically, in the embodiment of the present invention, the input unit 530 may include a touch panel 531 . The touch panel 531, also referred to as a touch screen, can collect touch operations of the mobile terminal user on or near it (such as the operation of the mobile terminal user on the touch panel 531 using any suitable object or accessory such as a finger or a stylus), And drive the corresponding connection device according to the preset program. Optionally, the touch panel 531 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the touch orientation of the mobile terminal user, and 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, and converts it into contact coordinates , and then sent to the processor 560, and can receive the command sent by the processor 560 and execute it. In addition, the touch panel 531 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 531, the input unit 530 may also include other input devices 532, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.

其中,显示单元540可用于显示由移动终端用户输入的信息或提供给移动终端用户的信息以及移动终端500的各种菜单界面。显示单元540可包括显示面板541,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板541。Wherein, the display unit 540 can be used to display information input by the mobile terminal user or information provided to the mobile terminal user and various menu interfaces of the mobile terminal 500 . The display unit 540 may include a display panel 541, and optionally, the display panel 541 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).

应注意,触控面板531可以覆盖显示面板541,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器560以确定触摸事件的类型,随后处理器560根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 531 can cover the display panel 541 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 560 to determine the type of the touch event, and then the processor The 560 provides corresponding visual output on the touch display screen according to the type of the touch event.

触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as vertical arrangement, left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.

其中处理器560是移动终端500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器521内的软件程序和/或模块,以及调用存储在第二存储器522内的数据,执行移动终端500的各种功能和处理数据,从而对移动终端500进行整体监控。可选的,处理器560可包括一个或多个处理单元。Wherein the processor 560 is the control center of the mobile terminal 500, utilizes various interfaces and lines to connect the various parts of the whole mobile phone, runs or executes the software programs and/or modules stored in the first memory 521, and calls the software programs and/or modules stored in the second memory 521. The data in the memory 522 executes various functions of the mobile terminal 500 and processes data, so as to monitor the mobile terminal 500 as a whole. Optionally, the processor 560 may include one or more processing units.

在本发明实施例中,通过调用存储该第一存储器521内的软件程序和/或模块和/或该第二存储器522内的数据,处理器560用于检测所述移动终端是否采用VoLTE语音通话拨号;若是,则检测从触发所述VoLTE语音通话拨号的拨号事件到被叫端接通VoLTE语音通话之间的等待时长,如果所述等待时长小于预设时间阈值,则在接通所述VoLTE语音通话后关闭所述移动终端的送话器;在所述送话器的关闭期间内,若检测到预设事件,则开启所述送话器。In the embodiment of the present invention, the processor 560 is used to detect whether the mobile terminal uses VoLTE voice calls by calling the software programs and/or modules stored in the first memory 521 and/or the data in the second memory 522 Dial; if so, then detect the waiting time between the dialing event that triggers the VoLTE voice call dialing and the called end connecting the VoLTE voice call, if the waiting time is less than the preset time threshold, then connect the VoLTE After the voice call, the microphone of the mobile terminal is turned off; during the shutdown period of the microphone, if a preset event is detected, the microphone is turned on.

可选地,处理器560还用于:在所述送话器的关闭期间内,检测所述移动终端是否连接耳机或开启扬声器;若是,则开启所述送话器;若否,则检测所述移动终端的距离传感器是否接收到触发信号;若接收到所述触发信号,则开启送话器。Optionally, the processor 560 is further configured to: during the off period of the microphone, detect whether the mobile terminal is connected to an earphone or turns on the speaker; if so, turn on the microphone; if not, detect whether the mobile terminal Whether the distance sensor of the mobile terminal receives the trigger signal; if the trigger signal is received, the microphone is turned on.

可选地,处理器560还用于:检测环境噪声的音量;根据所述音量与预设音量阈值之间的比较结果,确定当检测到预设事件时,开启所述送话器的方式。Optionally, the processor 560 is further configured to: detect the volume of the ambient noise; and determine, according to a comparison result between the volume and a preset volume threshold, how to turn on the microphone when a preset event is detected.

可选地,处理器560还用于:若所述音量大于或等于预设音量阈值,且所述移动终端连接有耳机或开启扬声器,则通过所述耳机或所述扬声器发出提示音,并从检测到环境噪声的音量的时间点开始至预定时间长度之后,开启所述送话器。Optionally, the processor 560 is further configured to: if the volume is greater than or equal to a preset volume threshold, and the mobile terminal is connected to an earphone or a speaker is turned on, then emit a prompt sound through the earphone or the speaker, and send The microphone is turned on after a predetermined time period from the time point when the volume of the ambient noise is detected.

可选地,处理器560还用于:若没有接收到所述触发信号,则重新检测所述移动终端是否连接耳机或开启扬声器;若是,则开启所述送话器。Optionally, the processor 560 is further configured to: if the trigger signal is not received, re-detect whether the mobile terminal is connected to an earphone or turn on a speaker; if so, turn on the microphone.

可见,本发明实施例能够实现只要用户不触发预设事件都可以自由的说与通话无关的话语,而不必担心被对方听到,而只有在其触发了预设事件,即做好接听准备后,才会开启麦克风,而不会存在在电话接听后,用户所说出的与电话接听方无关的话语被其听到,造成用户隐私泄露,降低了用户体验的效果,为避免重复,这里不再赘述。It can be seen that the embodiment of the present invention can realize that as long as the user does not trigger the preset event, he can freely speak words that have nothing to do with the call without worrying about being heard by the other party. , the microphone will be turned on, and it will not exist that after the call is answered, the words spoken by the user that have nothing to do with the call recipient will be heard by the user, causing the user's privacy to be leaked and reducing the effect of the user experience. To avoid repetition, here is no Let me repeat.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

1. a kind of sound control method of call, is applied to mobile terminal it is characterised in that methods described includes:
Detect described mobile terminal whether using VoLTE voice call dialing;
If so, then detect that the dialer event from triggering described VoLTE voice call dialing connects VoLTE voice call to called end Between waiting time, if described waiting time be less than preset time threshold, connect described VoLTE voice call after close Close the transmitter of described mobile terminal;
Within the down periods of described transmitter, if predeterminable event is detected, open described transmitter.
2. method according to claim 1 is it is characterised in that in the described down periods in described transmitter, if detection To predeterminable event, then the step opening described transmitter, including:
Within the down periods of described transmitter, detect whether described mobile terminal connects earphone or open speaker;
If so, then open described transmitter;
If it is not, then detecting whether the range sensor of described mobile terminal receives trigger;
If receiving described trigger, open transmitter.
3. method according to claim 1 is it is characterised in that after described dialer event triggering is detected, and Before called end connects described VoLTE voice call, methods described also includes:
The volume of detection environment noise;
According to the comparative result between described volume and default volume threshold, determine when predeterminable event is detected, open described The mode of transmitter.
4. method according to claim 3 it is characterised in that described according between described volume and default volume threshold Comparative result, the step determining the mode opening described transmitter when predeterminable event is detected, including:
If described volume is more than or equal to default volume threshold, and described mobile terminal is connected with earphone or opens speaker, then Prompt tone is sent by described earphone or described speaker, and starts to predetermined from the time point of volume environment noise is detected After time span, open described transmitter.
5. method according to claim 2 it is characterised in that the range sensor of the described mobile terminal of described detection whether After receiving the step of trigger, methods described also includes:
If being not received by described trigger, again detect whether described mobile terminal connects earphone or open speaker;
If so, then open described transmitter.
6. a kind of mobile terminal is it is characterised in that described mobile terminal includes:
Whether dialing detection module, for detecting described mobile terminal using VoLTE voice call dialing;
Time detecting module, when being affirmative for the testing result in the detection module that dials, then detects from the described VoLTE language of triggering The dialer event of sound call dialing connects the waiting time between VoLTE voice call to called end, if described waiting time Less than preset time threshold, then close the transmitter of described mobile terminal after connecting described VoLTE voice call;
Event checking module, within the down periods of described transmitter, if predeterminable event is detected, send words described in unlatching Device.
7. mobile terminal according to claim 6 is it is characterised in that described event checking module includes:
First event detection submodule, for, within the down periods of described transmitter, detecting whether described mobile terminal connects Earphone or unlatching speaker;
First unlatching submodule, detects described mobile terminal connection earphone for the first event detection submodule or unlatching is raised one's voice During device, open described transmitter;
Second event detection sub-module, is not detected by described mobile terminal connection earphone for the first event detection submodule or opens When opening speaker, detect whether the range sensor of described mobile terminal receives trigger;
Second unlatching submodule, if for receiving described trigger, open transmitter.
8. mobile terminal according to claim 6 is it is characterised in that described mobile terminal also includes:
Volume detection module, for detecting the volume of environment noise;
Mode determining module, pre- when detecting for according to the comparative result between described volume and default volume threshold, determining If during event, open the mode of described transmitter.
9. mobile terminal according to claim 8 is it is characterised in that described mode determining module includes:
Prompt tone sends submodule, if being more than or equal to default volume threshold for described volume, and described mobile terminal connects There is earphone or open speaker, then prompt tone is sent by described earphone or described speaker;
3rd unlatching submodule, starts to after scheduled time length for the time point from volume environment noise is detected, Open described transmitter.
10. mobile terminal according to claim 7 is it is characterised in that described mobile terminal also includes:
Again detection sub-module, if for being not received by described trigger, detects whether described mobile terminal connects again Lug machine or unlatching speaker;
Transmitter opening module, if for receiving described trigger, open described transmitter.
CN201611051479.7A 2016-11-22 2016-11-22 A kind of sound control method and mobile terminal of call Active CN106453951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611051479.7A CN106453951B (en) 2016-11-22 2016-11-22 A kind of sound control method and mobile terminal of call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611051479.7A CN106453951B (en) 2016-11-22 2016-11-22 A kind of sound control method and mobile terminal of call

Publications (2)

Publication Number Publication Date
CN106453951A true CN106453951A (en) 2017-02-22
CN106453951B CN106453951B (en) 2019-06-07

Family

ID=58219841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611051479.7A Active CN106453951B (en) 2016-11-22 2016-11-22 A kind of sound control method and mobile terminal of call

Country Status (1)

Country Link
CN (1) CN106453951B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973167A (en) * 2017-04-28 2017-07-21 维沃移动通信有限公司 A kind of income prompting method and mobile terminal
CN107197098A (en) * 2017-06-12 2017-09-22 联想(北京)有限公司 A kind of call control method and electronic equipment
CN108063871A (en) * 2017-12-19 2018-05-22 厦门美图移动科技有限公司 call processing method and device
CN114245368A (en) * 2021-12-15 2022-03-25 珠海格力电器股份有限公司 VoLTE voice call method, module, terminal and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546647A (en) * 2013-10-31 2014-01-29 宇龙计算机通信科技(深圳)有限公司 Method and device for communication through mobile phone
CN105554297A (en) * 2015-12-29 2016-05-04 小米科技有限责任公司 Information reminding method and apparatus and terminal
US9337744B1 (en) * 2015-04-30 2016-05-10 Ixys Corporation Efficient inrush current control in power factor corrected AC-to-DC converter
JP2016088182A (en) * 2014-10-31 2016-05-23 株式会社ユーシン Electric steering lock device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546647A (en) * 2013-10-31 2014-01-29 宇龙计算机通信科技(深圳)有限公司 Method and device for communication through mobile phone
JP2016088182A (en) * 2014-10-31 2016-05-23 株式会社ユーシン Electric steering lock device
US9337744B1 (en) * 2015-04-30 2016-05-10 Ixys Corporation Efficient inrush current control in power factor corrected AC-to-DC converter
CN105554297A (en) * 2015-12-29 2016-05-04 小米科技有限责任公司 Information reminding method and apparatus and terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973167A (en) * 2017-04-28 2017-07-21 维沃移动通信有限公司 A kind of income prompting method and mobile terminal
CN106973167B (en) * 2017-04-28 2019-08-16 维沃移动通信有限公司 A kind of income prompting method and mobile terminal
CN107197098A (en) * 2017-06-12 2017-09-22 联想(北京)有限公司 A kind of call control method and electronic equipment
CN108063871A (en) * 2017-12-19 2018-05-22 厦门美图移动科技有限公司 call processing method and device
CN114245368A (en) * 2021-12-15 2022-03-25 珠海格力电器股份有限公司 VoLTE voice call method, module, terminal and readable storage medium

Also Published As

Publication number Publication date
CN106453951B (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN107124352B (en) A voice information processing method and mobile terminal
CN107071119B (en) A sound cancellation method and mobile terminal
CN106357871A (en) Voice amplifying method and mobile terminal
CN106255000A (en) A kind of audio signal sample method and mobile terminal
CN106254640B (en) A method for starting a task based on an alarm clock and a mobile terminal
CN106686238A (en) Method for setting terminal antenna transmit power and terminal
CN103873676B (en) Handheld electronic device and its incoming call processing method
CN107197096A (en) A kind of method of adjustment of incoming ring tone, device and mobile terminal
CN107648844A (en) A kind of game mode method to set up and mobile terminal
CN106453951A (en) Voice control method for call, and mobile terminal
CN105872271A (en) Calling method for third party contact of teleconference and mobile terminal
CN107690032B (en) Call control method and mobile terminal
CN105827823A (en) Conversation control method and mobile terminal
CN106603801B (en) Call recording method and device
CN106254694A (en) A kind of method of incoming call blocking, mobile terminal and core net
CN104735227A (en) Method and communication terminal for fast recording of calls
CN107332963B (en) Number setting method and terminal
CN106713592B (en) A kind of way of recording and mobile terminal of mobile terminal
CN106453931B (en) The method and mobile terminal of dialing are accidentally touched in a kind of prompting
CN106210344A (en) A kind of call mode method to set up and mobile terminal
CN106686249A (en) A voice call method and mobile terminal
CN106888330A (en) The call method and mobile terminal of a kind of mobile terminal
CN107087069B (en) A kind of voice calling method and mobile terminal
CN106101411A (en) Based reminding method that a kind of incoming call is missed and mobile terminal
CN106412197A (en) Method for prompting storage of phone number and mobile terminal

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