WO2014154077A1 - Call ending method, device and mobile terminal - Google Patents

Call ending method, device and mobile terminal Download PDF

Info

Publication number
WO2014154077A1
WO2014154077A1 PCT/CN2014/072588 CN2014072588W WO2014154077A1 WO 2014154077 A1 WO2014154077 A1 WO 2014154077A1 CN 2014072588 W CN2014072588 W CN 2014072588W WO 2014154077 A1 WO2014154077 A1 WO 2014154077A1
Authority
WO
WIPO (PCT)
Prior art keywords
call
mobile terminal
input volume
terminal currently
sound data
Prior art date
Application number
PCT/CN2014/072588
Other languages
French (fr)
Chinese (zh)
Inventor
项功宏
董淑芳
彭文斌
凌军
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014154077A1 publication Critical patent/WO2014154077A1/en

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/82Line monitoring circuits for call progress or status discrimination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/50Aspects of automatic or semi-automatic exchanges related to audio conference
    • H04M2203/509Microphone arrays

Definitions

  • the present invention relates to detection technologies in the field of communications, and in particular, to a method, device and mobile terminal for ending a call. Background technique
  • the embodiments of the present invention provide a method, an apparatus, and a mobile terminal for ending a call.
  • An embodiment of the present invention provides a method for ending a call, including:
  • the mobile terminal After the call is connected, according to the collected sound data of the two or more microphones, it is determined whether the mobile terminal currently has the local input volume of the call, and according to the collected sound data of the earpiece, it is determined whether the mobile terminal currently has the input volume of the call;
  • the determining, according to the sound data of the two or more microphones collected, whether the mobile terminal currently has a local input volume of the call includes:
  • Determining the acoustic sound value of the two or more microphones collected during the first preset time period Determining, in the set of the average acoustic sound value difference between the primary microphone and each of the secondary microphones, whether at least one average sound intensity value is greater than or equal to the first threshold, determining at least one average sound level of each of the combinations in the first preset time period When the value difference is greater than or equal to the first threshold, it is considered that there is a local input volume of the call, and it is determined that when the average acoustic sound value difference in the set is less than the first threshold in the first preset time period, then no call is considered Local input volume.
  • the determining, according to the collected sound data of the earpiece, whether the mobile terminal currently has a volume input by the other party including:
  • the method before the call is connected, the method further includes:
  • the method before the ending the call, the method further includes:
  • the call is terminated by receiving the end call command input by the user or not receiving any instruction input by the user within the third preset time period.
  • the manner of prompting the user to end the call includes one or any combination of the following modes: an audible prompt, a vibrating alert, and a text prompt.
  • the embodiment of the present invention further provides an apparatus for ending a call, including: a determining unit and an executing unit;
  • the determining unit configured to call the call, determines whether the mobile terminal currently has a local input volume of the call according to the collected sound data of the two or more microphones, and determines whether the mobile terminal currently has a call according to the collected sound data of the earpiece The input volume of the other party;
  • the executing unit is configured to determine that the mobile terminal does not currently have a local input volume of the call, and determines that the mobile terminal does not currently input the volume of the call, and then ends the call.
  • the device further includes: a switch, configured to be turned on, triggering the determining unit;
  • the determining unit is configured to receive the trigger of the switch, and after the call is connected, determine, according to the collected sound data of the two or more microphones, whether the mobile terminal currently has a local input volume of the call, and according to the collected sound data of the earpiece, It is judged whether the mobile terminal currently has a volume input by the other party of the call.
  • the device further includes: a prompting unit, configured to prompt the user whether to end the call;
  • the execution unit is configured to receive the end call command input by the user or not receive any instruction input by the user within the third preset time period, and end the call.
  • the embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the foregoing apparatus for ending a call.
  • Embodiments of the present invention also provide a readable computer storage medium, the computer storage medium comprising a set of instructions that, when executed, cause at least one processor to perform the method of ending the call.
  • the method, device and mobile terminal for ending a call provided by the embodiment of the present invention, after the call is connected, determining, according to the collected sound data of two or more microphones, whether the mobile terminal currently has a local input volume of the call, and according to the collected earpiece Sound data, determining whether the mobile terminal currently has a call input volume of the call; determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal does not currently input the volume of the call, ending the call, and thus,
  • the call can be ended effectively and accurately, thereby avoiding unnecessary loss to the user and improving the user experience.
  • FIG. 1 is a schematic flowchart of a method for ending a call according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for ending a call according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic flowchart of a method for ending a call according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic flowchart of a method for ending a call according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 7 of the present invention.
  • FIG. 8 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 8 of the present invention. detailed description
  • the mobile terminal after the call is connected, determining, according to the collected sound data of the two or more microphones, whether the mobile terminal currently has a local input volume of the call, and determining the mobile terminal according to the collected sound data of the earpiece Whether there is a current input volume of the call; determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal does not currently input the volume of the call, and then ending the call.
  • the method for ending a call includes the following steps: Step 101: After the call is connected, according to the collected sound data of two or more microphones, it is determined whether the mobile terminal currently has a local input volume of the call. And determining, according to the collected sound data of the earpiece, whether the mobile terminal currently has a volume input by the other party of the call;
  • the determining, according to the sound data of the two or more microphones collected, the mobile terminal Whether there is a local input volume of the call before including:
  • the difference between the average acoustic sound value of the primary microphone and the secondary microphone is used to determine whether the local input volume of the call is based on:
  • the main microphone refers to: the received input volume is mainly the microphone and background noise of the input volume of the party holding the mobile terminal, and the main microphone is generally located at the bottom of the body of the mobile terminal; the auxiliary microphone refers to: The input volume received is mainly background noise, which is generally located beside the headphone jack on the top of the mobile terminal body.
  • the input volume of the main microphone during the call is mainly the input volume of the party holding the mobile terminal, and the auxiliary microphone is The input volume is mainly background noise, and the difference between the acoustic sound value of the main microphone and the acoustic sound value of the auxiliary microphone can be regarded as the input volume of the mobile terminal by the party holding the mobile terminal. Therefore, the main input can be utilized.
  • the distance between the microphone and the auxiliary microphone and the sound source during the call is to open the input volume of the two microphones, so that the local input volume of the call can be judged according to the difference between the average sound level values of the main microphone and the auxiliary microphone.
  • the first preset time period can be set as needed, such as: 1 minute, and the like.
  • the sound and sound values of the three or more microphones can be collected in one minute, and the acoustic sound value of each of the collected main microphones and each auxiliary microphone is taken. Value, and average the difference between the sound and the sound of the main microphone and each of the auxiliary microphones obtained three times, thereby obtaining the difference between the average sound and the sound value of the main microphone and each of the auxiliary microphones, for example,
  • the 4 ⁇ has three microphones, which are the main microphone 1, the first auxiliary microphone 2 and the second auxiliary microphone 3, respectively. Taking the difference between the sound and sound values collected by the main microphone 1 and the first auxiliary microphone 2, respectively, and obtaining the first sound sound difference value, the second sound sound level difference, and the third sound sound difference value respectively; The difference value, the second sound level difference, and the third sound level difference are averaged, that is, the average sound level difference between the main microphone 1 and the first auxiliary microphone 2 is obtained; for the same reason, the main microphone 1 and the second are The acoustic sound value collected by the auxiliary microphone 3 takes a difference, and respectively obtains a fourth sound sound difference value, a fifth sound sound level difference, and a sixth sound sound degree difference; the fourth sound sound difference value and the fifth sound sound degree difference are respectively obtained.
  • the value and the sixth acoustic sound difference are averaged, that is, the average acoustic sound value difference between the primary microphone 1 and the second secondary microphone 3 is obtained.
  • the specific processing procedure of collecting the sound data of the microphone is a technical means conventionally used by those skilled in the art, and details are not described herein again.
  • the first threshold may also be set as needed; in addition, after the setting, the first threshold may be adjusted according to the collected sound data of the microphone.
  • the set includes an average acoustic sound value difference between the primary microphone and each secondary microphone. For example, if there is a primary microphone, a first secondary microphone, a second secondary microphone, and a third secondary microphone, the set includes: a difference between the average acoustic sound value of the primary microphone and the first secondary microphone, and a primary microphone and The difference between the average acoustic sound value of the second auxiliary microphone and the average acoustic sound value of the primary microphone and the third secondary microphone.
  • the local input volume of the call refers to: a call volume of a person input by the mobile terminal in a direction of the mobile terminal.
  • the determining, according to the sound data of the collected earpiece, whether the mobile terminal currently has a voice input volume of the call specifically:
  • the second preset time period can be set as needed, for example: 1 minute, and the like.
  • the second threshold may be set as needed, for example, the background noise of the handset may be set to be up to a third threshold, wherein the third threshold may be set according to requirements, for example, set to five decibels;
  • the background noise of the earpiece refers to the noise of the earpiece itself, in other words, the noise generated by the earpiece itself after being activated.
  • the acoustic sound value of the earpiece is collected three times in the second time period, the acoustic soundness values of the three acquired earpieces are averaged, that is, the second preset time period is obtained.
  • the average sound level of the earpiece collected within.
  • the specific processing procedure for collecting the sound data of the earpiece is a technical means conventionally used by those skilled in the art, and details are not described herein again.
  • the input volume of the other party of the call refers to: a call volume of a person input by the mobile terminal that does not hold the mobile terminal in the direction of the mobile terminal.
  • the location of the two or more microphones at the mobile terminal can be determined according to the needs of the mobile terminal itself and in combination with acoustic principles. For example, when there are two microphones, one microphone can be placed at the bottom of the mobile terminal body as a main microphone, and another microphone can be placed at the headphone jack on the top of the mobile terminal body. Next to or behind the screen of the mobile terminal, as a secondary microphone.
  • Step 102 Determine that the mobile terminal does not currently have a local input volume of the call, and determine that the mobile terminal does not currently have a call input volume, and then ends the call.
  • determining that the mobile terminal does not currently have a local input volume of the call and determining that the mobile terminal currently has a participant input volume of the call, or determining that the mobile terminal currently has a local input volume of the call, and determining the mobile
  • the method for ending the call in the second embodiment of the present invention is as shown in FIG. 2, before the call is connected, that is, before the step 101, the method may further include:
  • Step 100 Set a switch to implement the end call; after the switch is turned on, the call is connected. After the switch is turned on, steps 101 to 102 can be performed. In other words, a switch for ending the call is set. After the switch is turned on, the call is connected, and then according to the collected sound data of two or more microphones. Whether the mobile terminal currently has the local input volume of the call, and according to the collected sound data of the earpiece, it is determined whether the mobile terminal currently has the input volume of the call, which can further enhance the user experience.
  • the method for ending the call in the third embodiment and the fourth embodiment of the present invention is as shown in FIG. 3 and FIG. 4.
  • the method may further include:
  • Step 103 Prompt the user whether to end the call
  • the third preset time period can be set as needed, for example: 1 minute, and the like.
  • the method may be implemented by starting a timer. Specifically, determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal does not currently input the volume of the call, immediately starts the timer, and the timer expires. If the end call command input by the user is received or any command input by the user is not received, the call is terminated. After the timer expires, after receiving the hold call command input by the user, the call is held.
  • the manner of prompting the user to end the call may include, but is not limited to, one or any combination of the following: an audible prompt, a vibrating alert, a text prompt, and the like.
  • the method for ending a call provided by the embodiment of the present invention prompts the user to end the call before ending the call, and ends the call termination command input by the user or does not receive any instruction input by the user within the third preset time period, and then ends.
  • the call in this way, can effectively prevent false positives, and can further effectively and accurately end the call, thereby further enhancing the user experience.
  • the device of the fifth embodiment of the present invention ends the call, as shown in FIG. 5, the device includes: a determining unit 51 and an executing unit 52;
  • the determining unit 51 is configured to determine, according to the collected sound data of the two or more microphones, whether the mobile terminal currently has a local input volume of the call, and determine whether the mobile terminal currently has a call according to the collected sound data of the handset.
  • the executing unit 52 is configured to determine that the mobile terminal does not currently have a local input volume of the call, and determines that the mobile terminal does not currently input the volume of the call, and then ends the call.
  • the device for ending the call in the sixth embodiment of the present invention may include: a switch 50, configured to be turned on, triggering the determining unit 51 ;
  • the determining unit 51 is configured to receive the trigger of the switch 50, and after the call is turned on, according to the collected sound data of the two or more microphones, determine whether the mobile terminal currently has a local input volume of the call, and according to the collected earphone sound Data, determine whether the mobile terminal currently has a call input volume.
  • the device of the seventh embodiment and the eighth embodiment of the present invention terminates the call, as shown in FIG. 7 and FIG.
  • the method may include: a prompting unit 53, configured to prompt the user to end the call;
  • the executing unit 52 is configured to receive the end call instruction input by the user or not receive any instruction input by the user within the third preset time period, and end the call.
  • the executing unit 52 is further configured to: after receiving the hold call command input by the user within the third preset time period, hold the call.
  • the determining unit and the executing unit may be a central processing unit (CPU), a digital signal processor (DSP), or a programmable signal processor in the device that ends the call.
  • CPU central processing unit
  • DSP digital signal processor
  • 1 J FPGA, Field - Programmable Gate Array
  • the prompting unit can be implemented by the CPU, DSP or FPGA in the device that ends the call using the screen of the mobile terminal.
  • the apparatus of the embodiment of the present invention can also be understood as a device for managing a call.
  • the embodiment of the present invention further provides a mobile terminal, including the basic structure of the device for ending a call according to the embodiment of the present invention, and various modifications and equivalents thereof, which are not described.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the invention can take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

Disclosed is a call ending method, comprising: after a call is connected, and according to the collected voice data of more than two microphones, determining whether a mobile terminal currently has locally inputted volume for the call; according to the collected voice data of a receiver, determining whether the mobile terminal currently has volume inputted by the other party for the call; and ending the call after determining that the mobile terminal does not currently have locally inputted volume for the call, and the mobile terminal does not currently have volume inputted by the other party of the call. Also disclosed are a call ending device, mobile terminal, and readable computer storage medium.

Description

一种结束通话的方法、 装置及移动终端 技术领域  Method, device and mobile terminal for ending call
本发明涉及通信领域的检测技术, 尤其涉及一种结束通话的方法、 装 置及移动终端。 背景技术  The present invention relates to detection technologies in the field of communications, and in particular, to a method, device and mobile terminal for ending a call. Background technique
随着通信技术的迅猛发展, 手机已成为人们日常生活不可或缺的通讯 工具。  With the rapid development of communication technology, mobile phones have become an indispensable communication tool for people's daily lives.
在手机使用过程中, 经常出现手机误拨、 或者通话结束后, 没有及时 挂断的问题, 导致电话一直处于无效的接通状态, 造成资源的浪费, 从而 给用户造成不必要的损失。 发明内容  During the use of the mobile phone, there is often a problem that the mobile phone mis-dial, or the call is not hanged in time after the call ends, resulting in the phone being in an inactive state, causing waste of resources, thereby causing unnecessary loss to the user. Summary of the invention
为解决现有存在的技术问题, 本发明实施例提供一种结束通话的方法、 装置及移动终端。  In order to solve the existing technical problems, the embodiments of the present invention provide a method, an apparatus, and a mobile terminal for ending a call.
本发明实施例提供了一种结束通话的方法, 包括:  An embodiment of the present invention provides a method for ending a call, including:
呼叫接通后, 依据采集的两个以上麦克风的声音数据, 判断移动终端 当前是否有通话的本地输入音量, 并依据采集的听筒的声音数据, 判断移 动终端当前是否有通话的对方输入音量;  After the call is connected, according to the collected sound data of the two or more microphones, it is determined whether the mobile terminal currently has the local input volume of the call, and according to the collected sound data of the earpiece, it is determined whether the mobile terminal currently has the input volume of the call;
确定所述移动终端当前没有通话的本地输入音量, 且确定所述移动终 端当前没有通话的对方输入音量后, 结束通话。  Determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal does not currently input the volume of the call, and ends the call.
上述方案中, 所述依据采集的两个以上麦克风的声音数据, 判断移动 终端当前是否有通话的本地输入音量, 包括:  In the above solution, the determining, according to the sound data of the two or more microphones collected, whether the mobile terminal currently has a local input volume of the call, includes:
判断在第一预设时间段内, 采集的所述两个以上麦克风的声音响度值 中, 主麦克风与各辅麦克风的平均声音响度值差值的集合中是否至少一个 平均声音响度值大于等于第一阈值, 确定在第一预设时间段内各所述结合 中至少一个平均声音响度值差值大于等于第一阈值时, 则认为有通话的本 地输入音量, 确定在第一预设时间段内所述集合中的平均声音响度值差值 均小于第一阈值时, 则认为没有通话的本地输入音量。 Determining the acoustic sound value of the two or more microphones collected during the first preset time period Determining, in the set of the average acoustic sound value difference between the primary microphone and each of the secondary microphones, whether at least one average sound intensity value is greater than or equal to the first threshold, determining at least one average sound level of each of the combinations in the first preset time period When the value difference is greater than or equal to the first threshold, it is considered that there is a local input volume of the call, and it is determined that when the average acoustic sound value difference in the set is less than the first threshold in the first preset time period, then no call is considered Local input volume.
上述方案中, 所述依据采集的听筒的声音数据, 判断移动终端当前是 否有通话的对方输入音量, 包括:  In the above solution, the determining, according to the collected sound data of the earpiece, whether the mobile terminal currently has a volume input by the other party, including:
判断在第二预设时间段内, 采集的所述听筒的声音响度平均值是否大 于等于第二阈值, 确定在第二预设时间段内所述听筒的声音响度平均值大 于等于第二阈值时, 则认为移动终端当前有通话的对方输入音量, 确定在 第二预设时间段内所述听筒的声音响度平均值小于第二阈值时, 则认为移 动终端当前没有通话的对方输入音量。  Determining whether the average sound level of the collected earpiece is greater than or equal to a second threshold value during the second preset time period, and determining that the average sound level of the earpiece is greater than or equal to the second threshold value during the second preset time period If the mobile terminal currently has the input volume of the call, and determines that the average sound level of the handset is less than the second threshold during the second preset time period, it is considered that the mobile terminal does not currently input the volume of the call.
上述方案中, 所述呼叫接通之前, 所述方法还包括:  In the above solution, before the call is connected, the method further includes:
设置实现结束通话的开关; 将所述开关开启后, 接通呼叫, 并依据采 集的两个以上麦克风的声音数据, 判断移动终端当前是否有通话的本地输 入音量, 并依据采集的听筒的声音数据, 判断移动终端当前是否有通话的 对方输入音量。  Setting a switch for ending the call; after the switch is turned on, the call is connected, and according to the collected sound data of two or more microphones, it is determined whether the mobile terminal currently has a local input volume of the call, and according to the collected sound data of the earpiece , to determine whether the mobile terminal currently has a call input volume.
上述方案中, 所述结束通话之前, 所述方法还包括:  In the foregoing solution, before the ending the call, the method further includes:
提示用户是否结束通话;  Prompt the user whether to end the call;
在第三预设时间段内收到所述用户输入的结束通话指令或未收到所述 用户输入的任何指令, 结束通话。  The call is terminated by receiving the end call command input by the user or not receiving any instruction input by the user within the third preset time period.
上述方案中, 提示所述用户是否结束通话的方式包括以下方式之一或 任意组合: 声音提示、 震动提示以及文字提示。  In the above solution, the manner of prompting the user to end the call includes one or any combination of the following modes: an audible prompt, a vibrating alert, and a text prompt.
本发明实施例还提供了一种结束通话的装置, 包括: 判断单元及执行 单元; 其中, 判断单元, 配置为呼叫接通后, 依据采集的两个以上麦克风的声音数 据, 判断移动终端当前是否有通话的本地输入音量, 并依据采集的听筒的 声音数据, 判断移动终端当前是否有通话的对方输入音量; The embodiment of the present invention further provides an apparatus for ending a call, including: a determining unit and an executing unit; The determining unit, configured to call the call, determines whether the mobile terminal currently has a local input volume of the call according to the collected sound data of the two or more microphones, and determines whether the mobile terminal currently has a call according to the collected sound data of the earpiece The input volume of the other party;
执行单元, 配置为确定所述移动终端当前没有通话的本地输入音量, 且确定所述移动终端当前没有通话的对方输入音量后, 结束通话。  The executing unit is configured to determine that the mobile terminal does not currently have a local input volume of the call, and determines that the mobile terminal does not currently input the volume of the call, and then ends the call.
上述方案中, 所述装置还包括: 开关, 配置为开启后, 触发所述判断 单元;  In the above solution, the device further includes: a switch, configured to be turned on, triggering the determining unit;
判断单元, 配置为收到开关的触发, 并在呼叫接通后, 依据采集的两 个以上麦克风的声音数据, 判断移动终端当前是否有通话的本地输入音量, 并依据采集的听筒的声音数据, 判断移动终端当前是否有通话的对方输入 音量。  The determining unit is configured to receive the trigger of the switch, and after the call is connected, determine, according to the collected sound data of the two or more microphones, whether the mobile terminal currently has a local input volume of the call, and according to the collected sound data of the earpiece, It is judged whether the mobile terminal currently has a volume input by the other party of the call.
上述方案中, 所述装置还包括: 提示单元, 配置为提示用户是否结束 通话;  In the foregoing solution, the device further includes: a prompting unit, configured to prompt the user whether to end the call;
相应地, 执行单元, 配置为在第三预设时间段内收到用户输入的结束 通话指令或未收到用户输入的任何指令, 结束通话。  Correspondingly, the execution unit is configured to receive the end call command input by the user or not receive any instruction input by the user within the third preset time period, and end the call.
本发明实施例又提供了一种移动终端, 所述移动终端包括上述的结束 通话的装置。  The embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes the foregoing apparatus for ending a call.
本发明实施例还提供了一种可读计算机存储介质, 所述计算机存储介 质包括一组指令, 当执行所述指令时, 引起至少一个处理器执行上述的结 束通话的方法。  Embodiments of the present invention also provide a readable computer storage medium, the computer storage medium comprising a set of instructions that, when executed, cause at least one processor to perform the method of ending the call.
本发明实施例提供的结束通话的方法、 装置及移动终端, 呼叫接通后, 依据采集的两个以上麦克风的声音数据, 判断移动终端当前是否有通话的 本地输入音量, 并依据采集的听筒的声音数据, 判断移动终端当前是否有 通话的对方输入音量; 确定所述移动终端当前没有通话的本地输入音量, 且确定所述移动终端当前没有通话的对方输入音量后, 结束通话, 如此, 能有效、 准确地结束通话, 从而避免给用户造成不必要的损失, 提升了用 户体验。 附图说明 The method, device and mobile terminal for ending a call provided by the embodiment of the present invention, after the call is connected, determining, according to the collected sound data of two or more microphones, whether the mobile terminal currently has a local input volume of the call, and according to the collected earpiece Sound data, determining whether the mobile terminal currently has a call input volume of the call; determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal does not currently input the volume of the call, ending the call, and thus, The call can be ended effectively and accurately, thereby avoiding unnecessary loss to the user and improving the user experience. DRAWINGS
图 1为本发明实施例一结束通话的方法流程示意图;  1 is a schematic flowchart of a method for ending a call according to an embodiment of the present invention;
图 2为本发明实施例二结束通话的方法流程示意图;  2 is a schematic flowchart of a method for ending a call according to Embodiment 2 of the present invention;
图 3为本发明实施例三结束通话的方法流程示意图;  3 is a schematic flowchart of a method for ending a call according to Embodiment 3 of the present invention;
图 4为本发明实施例四结束通话的方法流程示意图;  4 is a schematic flowchart of a method for ending a call according to Embodiment 4 of the present invention;
图 5为本发明实施例五结束通话的装置结构示意图;  FIG. 5 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 5 of the present invention; FIG.
图 6为本发明实施例六结束通话的装置结构示意图;  6 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 6 of the present invention;
图 7为本发明实施例七结束通话的装置结构示意图;  7 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 7 of the present invention;
图 8为本发明实施例八结束通话的装置结构示意图。 具体实施方式  FIG. 8 is a schematic structural diagram of an apparatus for ending a call according to Embodiment 8 of the present invention. detailed description
在本发明的各种实施例中: 呼叫接通后, 依据采集的两个以上麦克风 的声音数据, 判断移动终端当前是否有通话的本地输入音量, 并依据采集 的听筒的声音数据, 判断移动终端当前是否有通话的对方输入音量; 确定 所述移动终端当前没有通话的本地输入音量, 且确定所述移动终端当前没 有通话的对方输入音量后, 结束通话。  In various embodiments of the present invention: after the call is connected, determining, according to the collected sound data of the two or more microphones, whether the mobile terminal currently has a local input volume of the call, and determining the mobile terminal according to the collected sound data of the earpiece Whether there is a current input volume of the call; determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal does not currently input the volume of the call, and then ending the call.
下面结合附图及具体实施例对本发明作进一步详细的描述。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
实施例一  Embodiment 1
本发明实施例一结束通话的方法, 如图 1所示, 包括以下步骤: 步骤 101 : 呼叫接通后, 依据采集的两个以上麦克风的声音数据, 判断 移动终端当前是否有通话的本地输入音量, 并依据采集的听筒的声音数据, 判断移动终端当前是否有通话的对方输入音量;  As shown in FIG. 1 , the method for ending a call includes the following steps: Step 101: After the call is connected, according to the collected sound data of two or more microphones, it is determined whether the mobile terminal currently has a local input volume of the call. And determining, according to the collected sound data of the earpiece, whether the mobile terminal currently has a volume input by the other party of the call;
这里, 所述依据采集的两个以上麦克风的声音数据, 判断移动终端当 前是否有通话的本地输入音量, 具体包括: Here, the determining, according to the sound data of the two or more microphones collected, the mobile terminal Whether there is a local input volume of the call before, including:
判断在第一预设时间段内, 采集的所述两个以上麦克风的声音响度值 中, 主麦克风与各辅麦克风的平均声音响度值差值的集合中是否至少一个 平均声音响度值大于等于第一阈值, 确定在第一预设时间段内各所述结合 中至少一个平均声音响度值差值大于等于第一阈值时, 则认为有通话的本 地输入音量, 确定在第一预设时间段内所述集合中的平均声音响度值差值 均小于第一阈值时, 则认为没有通话的本地输入音量。  Determining, in the first preset time period, whether the at least one average sound level value of the set of the difference between the average sound level values of the main microphone and each of the auxiliary microphones is greater than or equal to the first one of the collected sound loudness values of the two or more microphones a threshold, determining that the local input volume of the call is determined to be within the first preset time period when the difference in the average acoustic sound value of each of the combinations is greater than or equal to the first threshold in the first preset time period When the difference in the average acoustic sound value in the set is less than the first threshold, the local input volume of the call is considered to be absent.
其中, 采用主麦克风与辅麦克风的平均声音响度值差值来判断是否有 通话的本地输入音量的依据为:  Wherein, the difference between the average acoustic sound value of the primary microphone and the secondary microphone is used to determine whether the local input volume of the call is based on:
主麦克风是指: 接收到的输入音量主要是通话双方中持所述移动终端 的一方的输入音量的麦克风和背景噪音, 主麦克风一般位于所述移动终端 的机身的底部; 辅麦克风是指: 接收到的输入音量主要是背景噪音, 一般 位于所述移动终端机身顶部的耳机插孔旁, 通话时由于主麦克风的输入音 量主要为持所述移动终端的一方的输入音量, 而辅麦克风的输入音量则主 要是背景噪音, 则主麦克风的声音响度值与辅麦克风的声音响度值的差值 就可以认为是持所述移动终端的一方输入所述移动终端的输入音量, 因此, 可以利用主麦克风和辅麦克风在通话时与声源的距离来拉开两个麦克的输 入音量, 从而可以根据主麦克风与辅麦克风的平均声音响度值差值, 来判 断是否有通话的本地输入音量。  The main microphone refers to: the received input volume is mainly the microphone and background noise of the input volume of the party holding the mobile terminal, and the main microphone is generally located at the bottom of the body of the mobile terminal; the auxiliary microphone refers to: The input volume received is mainly background noise, which is generally located beside the headphone jack on the top of the mobile terminal body. The input volume of the main microphone during the call is mainly the input volume of the party holding the mobile terminal, and the auxiliary microphone is The input volume is mainly background noise, and the difference between the acoustic sound value of the main microphone and the acoustic sound value of the auxiliary microphone can be regarded as the input volume of the mobile terminal by the party holding the mobile terminal. Therefore, the main input can be utilized. The distance between the microphone and the auxiliary microphone and the sound source during the call is to open the input volume of the two microphones, so that the local input volume of the call can be judged according to the difference between the average sound level values of the main microphone and the auxiliary microphone.
所述第一预设时间段可以根据需要进行设置, 比如: 1分钟等。 在实际 应用时, 假设第一预设时间为 1分钟, 可以在 1分钟内采集三所述两个以上 麦克风的声音响度值, 将每次采集的主麦克风与各辅麦克风的声音响度值 取差值, 并将三次得到的主麦克风与各辅麦克风的声音响度差值求平均值, 从而得到主麦克风与各辅麦克风的平均声音响度值差值, 举个例子来说, The first preset time period can be set as needed, such as: 1 minute, and the like. In practical applications, assuming that the first preset time is 1 minute, the sound and sound values of the three or more microphones can be collected in one minute, and the acoustic sound value of each of the collected main microphones and each auxiliary microphone is taken. Value, and average the difference between the sound and the sound of the main microphone and each of the auxiliary microphones obtained three times, thereby obtaining the difference between the average sound and the sound value of the main microphone and each of the auxiliary microphones, for example,
4叚设有三个麦克风, 分别为主麦克风 1、 第一辅麦克风 2及第二辅麦克风 3, 将主麦克风 1和第一辅麦克风 2每次采集的声音响度值取差值, 分别得到第 一声音响度差值、 第二声音响度差值及第三声音响度差值; 将第一声音响 度差值、 第二声音响度差值及第三声音响度差值求平均值, 即得到主麦克 风 1和第一辅麦克风 2的平均声音响度值差值; 同理, 将主麦克风 1和第二辅 麦克风 3每次采集的声音响度值取差值, 分别得到第四声音响度差值、 第五 声音响度差值及第六声音响度差值; 将第四声音响度差值、 第五声音响度 差值及第六声音响度差值求平均值, 即得到主麦克风 1和第二辅麦克风 3的 平均声音响度值差值。 这里, 采集麦克风的声音数据的具体处理过程为本 领域技术人员惯用技术手段, 这里不再赘述。 4叚 has three microphones, which are the main microphone 1, the first auxiliary microphone 2 and the second auxiliary microphone 3, respectively. Taking the difference between the sound and sound values collected by the main microphone 1 and the first auxiliary microphone 2, respectively, and obtaining the first sound sound difference value, the second sound sound level difference, and the third sound sound difference value respectively; The difference value, the second sound level difference, and the third sound level difference are averaged, that is, the average sound level difference between the main microphone 1 and the first auxiliary microphone 2 is obtained; for the same reason, the main microphone 1 and the second are The acoustic sound value collected by the auxiliary microphone 3 takes a difference, and respectively obtains a fourth sound sound difference value, a fifth sound sound level difference, and a sixth sound sound degree difference; the fourth sound sound difference value and the fifth sound sound degree difference are respectively obtained. The value and the sixth acoustic sound difference are averaged, that is, the average acoustic sound value difference between the primary microphone 1 and the second secondary microphone 3 is obtained. Here, the specific processing procedure of collecting the sound data of the microphone is a technical means conventionally used by those skilled in the art, and details are not described herein again.
所述第一阈值也可以根据需要进行设置; 另外, 还可以在设置后, 根 据采集的麦克风的声音数据对所述第一阈值进行调整。  The first threshold may also be set as needed; in addition, after the setting, the first threshold may be adjusted according to the collected sound data of the microphone.
所述集合包含主麦克风与各辅麦克风的平均声音响度值差值。 举个例 子来说, 假设有主麦克风、 第一辅麦克风、 第二辅麦克风及第三辅麦克风, 则所述集合包含: 主麦克风与第一辅麦克风的平均声音响度值差值、 主麦 克风与第二辅麦克风的平均声音响度值差值、 以及主麦克风与第三辅麦克 风的平均声音响度值差值。  The set includes an average acoustic sound value difference between the primary microphone and each secondary microphone. For example, if there is a primary microphone, a first secondary microphone, a second secondary microphone, and a third secondary microphone, the set includes: a difference between the average acoustic sound value of the primary microphone and the first secondary microphone, and a primary microphone and The difference between the average acoustic sound value of the second auxiliary microphone and the average acoustic sound value of the primary microphone and the third secondary microphone.
所述通话的本地输入音量是指: 通话双方中持所述移动终端的一方向 所述移动终端输入的人的通话音量。  The local input volume of the call refers to: a call volume of a person input by the mobile terminal in a direction of the mobile terminal.
所述依据采集的听筒的声音数据, 判断移动终端当前是否有通话的对 方输入音量, 具体包括:  The determining, according to the sound data of the collected earpiece, whether the mobile terminal currently has a voice input volume of the call, specifically:
判断在第二预设时间段内, 采集的所述听筒的声音响度平均值是否大 于等于第二阈值, 确定在第二预设时间段内所述听筒的声音响度平均值大 于等于第二阈值时, 则认为移动终端当前有通话的对方输入音量, 确定在 第二预设时间段内所述听筒的声音响度平均值小于第二阈值时, 则认为移 动终端当前没有通话的对方输入音量。 其中, 所述第二预设时间段可以根据需要进行设置, 比如: 1分钟等。 所述第二阈值可以根据需要进行设置, 比如: 可以设置为所述听筒的背景 噪声向上浮动第三阈值, 其中, 第三阈值可以依据需要进行设置, 比如: 设置为五分贝等; 这里, 所述听筒的背景噪声是指所述听筒的自身所具有 的噪声, 换句话说, 是指所述听筒启动后自身所产生的噪声。 Determining whether the average sound level of the collected earpiece is greater than or equal to a second threshold value during the second preset time period, and determining that the average sound level of the earpiece is greater than or equal to the second threshold value during the second preset time period If the mobile terminal currently has the input volume of the call, and determines that the average sound level of the handset is less than the second threshold during the second preset time period, it is considered that the mobile terminal does not currently input the volume of the call. The second preset time period can be set as needed, for example: 1 minute, and the like. The second threshold may be set as needed, for example, the background noise of the handset may be set to be up to a third threshold, wherein the third threshold may be set according to requirements, for example, set to five decibels; The background noise of the earpiece refers to the noise of the earpiece itself, in other words, the noise generated by the earpiece itself after being activated.
在实际应用时, 假设在所述第二时间段内采集三次所述听筒的声音响 度值, 则将三次采集的所述听筒的声音响度值求平均值, 即得到所述第二 预设时间段内采集的所述听筒的声音响度平均值。 这里, 采集所述听筒的 声音数据的具体处理过程为本领域技术人员惯用技术手段, 这里不再赘述。  In practical application, if the acoustic sound value of the earpiece is collected three times in the second time period, the acoustic soundness values of the three acquired earpieces are averaged, that is, the second preset time period is obtained. The average sound level of the earpiece collected within. Here, the specific processing procedure for collecting the sound data of the earpiece is a technical means conventionally used by those skilled in the art, and details are not described herein again.
相应地, 所述通话的对方输入音量是指: 通话双方中未持所述移动终 端的一方向所述移动终端输入的人的通话音量。  Correspondingly, the input volume of the other party of the call refers to: a call volume of a person input by the mobile terminal that does not hold the mobile terminal in the direction of the mobile terminal.
实际应用时, 所述两个以上麦克风在所述移动终端的位置可依据所述 移动终端自身设计的需要并结合声学原理来确定。 举个例子来说, 当有两 个麦克风时, 可以将一个麦克风设置在所述移动终端机身的底部, 作为主 麦克风, 而将另一个麦克风设置在所述移动终端机身顶部的耳机插孔旁边 或所述移动终端的屏幕的背面, 作为辅麦克风。  In practical applications, the location of the two or more microphones at the mobile terminal can be determined according to the needs of the mobile terminal itself and in combination with acoustic principles. For example, when there are two microphones, one microphone can be placed at the bottom of the mobile terminal body as a main microphone, and another microphone can be placed at the headphone jack on the top of the mobile terminal body. Next to or behind the screen of the mobile terminal, as a secondary microphone.
步骤 102: 确定所述移动终端当前没有通话的本地输入音量, 且确定所 述移动终端当前没有通话的对方输入音量后, 结束通话。  Step 102: Determine that the mobile terminal does not currently have a local input volume of the call, and determine that the mobile terminal does not currently have a call input volume, and then ends the call.
这里, 确定所述移动终端当前没有通话的本地输入音量, 且确定所述 移动终端当前有通话的对方输入音量时, 或者, 确定所述移动终端当前有 通话的本地输入音量, 且确定所述移动终端当前没有通话的对方输入音量 时, 说明双方正在通话, 此时需要保持通话。  Here, determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal currently has a participant input volume of the call, or determining that the mobile terminal currently has a local input volume of the call, and determining the mobile When the terminal does not currently have a call input volume, it means that both parties are talking, and you need to keep the call.
在实施例一的基础上, 本发明实施例二结束通话的方法如图 2 所示, 在呼叫接通之前, 即: 在步骤 101之前, 该方法还可以包括:  On the basis of the first embodiment, the method for ending the call in the second embodiment of the present invention is as shown in FIG. 2, before the call is connected, that is, before the step 101, the method may further include:
步骤 100: 设置实现结束通话的开关; 将所述开关开启后, 接通呼叫。 其中, 所述开关开启后, 才能执行步骤 101~102, 换句话说, 设置实现 结束通话的开关; 将所述开关开启后, 接通呼叫, 再依据采集的两个以上 麦克风的声音数据, 判断移动终端当前是否有通话的本地输入音量, 并依 据采集的听筒的声音数据, 判断移动终端当前是否有通话的对方输入音量 如此, 能进一步提升用户体验。 Step 100: Set a switch to implement the end call; after the switch is turned on, the call is connected. After the switch is turned on, steps 101 to 102 can be performed. In other words, a switch for ending the call is set. After the switch is turned on, the call is connected, and then according to the collected sound data of two or more microphones. Whether the mobile terminal currently has the local input volume of the call, and according to the collected sound data of the earpiece, it is determined whether the mobile terminal currently has the input volume of the call, which can further enhance the user experience.
在实施例一及实施例二的基础上, 本发明实施例三及实施例四结束通 话的方法如图 3和图 4所示, 在步骤 102的结束通话之前, 该方法还可以 包括:  On the basis of the first embodiment and the second embodiment, the method for ending the call in the third embodiment and the fourth embodiment of the present invention is as shown in FIG. 3 and FIG. 4. Before the end of the call in step 102, the method may further include:
步骤 103: 提示用户是否结束通话;  Step 103: Prompt the user whether to end the call;
在第三预设时间段内收到用户输入的结束通话指令或未收到用户输入 的任何指令, 则结束通话; 在第三预设时间段内收到用户输入的保持通话 指令后, 则保持通话。  Receiving the end call command input by the user or not receiving any instruction input by the user in the third preset time period, ending the call; after receiving the hold call command input by the user in the third preset time period, call.
其中, 所述第三预设时间段可以根据需要进行设置, 比如: 1分钟等。 可以通过启动定时器的方式来实现, 具体地, 确定所述移动终端当前没有 通话的本地输入音量, 且确定所述移动终端当前没有通话的对方输入音量 后, 即刻启动定时器, 定时器超时后, 如果收到用户输入的结束通话指令 或未收到用户输入的任何指令, 则结束通话, 定时器超时后, 收到用户输 入的保持通话指令后, 则保持通话。  The third preset time period can be set as needed, for example: 1 minute, and the like. The method may be implemented by starting a timer. Specifically, determining that the mobile terminal does not currently have a local input volume of the call, and determining that the mobile terminal does not currently input the volume of the call, immediately starts the timer, and the timer expires. If the end call command input by the user is received or any command input by the user is not received, the call is terminated. After the timer expires, after receiving the hold call command input by the user, the call is held.
提示用户是否结束通话的方式可以包括但不限于如下方式之一或任意 组合: 声音提示、 震动提示以及文字提示等等。  The manner of prompting the user to end the call may include, but is not limited to, one or any combination of the following: an audible prompt, a vibrating alert, a text prompt, and the like.
本发明实施例提供的结束通话的方法, 在结束通话之前, 提示用户是 否结束通话, 在第三预设时间段内收到用户输入的结束通话指令或未收到 用户输入的任何指令, 则结束通话, 如此, 能有效地防止误判, 能进一步 有效、 准确地结束通话, 从而进一步提升用户体验。  The method for ending a call provided by the embodiment of the present invention prompts the user to end the call before ending the call, and ends the call termination command input by the user or does not receive any instruction input by the user within the third preset time period, and then ends. The call, in this way, can effectively prevent false positives, and can further effectively and accurately end the call, thereby further enhancing the user experience.
从实施例一至四提供的结束通话的方法可以看出, 本发明实施例的方 法还可以理解为一种管理通话的方法。 It can be seen from the method of ending the call provided in Embodiments 1 to 4 that the party of the embodiment of the present invention The law can also be understood as a way to manage calls.
为实现图 1所示的方法, 本发明实施例五结束通话的装置, 如图 5所 示, 该装置包括: 判断单元 51及执行单元 52; 其中,  In order to implement the method shown in FIG. 1, the device of the fifth embodiment of the present invention ends the call, as shown in FIG. 5, the device includes: a determining unit 51 and an executing unit 52;
判断单元 51, 配置为呼叫接通后, 依据采集的两个以上麦克风的声音 数据, 判断移动终端当前是否有通话的本地输入音量, 并依据采集的听筒 的声音数据, 判断移动终端当前是否有通话的对方输入音量;  The determining unit 51 is configured to determine, according to the collected sound data of the two or more microphones, whether the mobile terminal currently has a local input volume of the call, and determine whether the mobile terminal currently has a call according to the collected sound data of the handset. The input volume of the other party;
执行单元 52,配置为确定所述移动终端当前没有通话的本地输入音量, 且确定所述移动终端当前没有通话的对方输入音量后, 结束通话。  The executing unit 52 is configured to determine that the mobile terminal does not currently have a local input volume of the call, and determines that the mobile terminal does not currently input the volume of the call, and then ends the call.
为实现图 2所示的方法, 并在实施例五的基础上, 本发明实施例六结 束通话的装置, 如图 6所示, 该可以包括: 开关 50, 配置为开启后, 触发 判断单元 51 ;  In order to implement the method shown in FIG. 2, and based on the fifth embodiment, the device for ending the call in the sixth embodiment of the present invention, as shown in FIG. 6, may include: a switch 50, configured to be turned on, triggering the determining unit 51 ;
判断单元 51, 配置为收到开关 50的触发, 并在呼叫接通后, 依据采集 的两个以上麦克风的声音数据, 判断移动终端当前是否有通话的本地输入 音量, 并依据采集的听筒的声音数据, 判断移动终端当前是否有通话的对 方输入音量。  The determining unit 51 is configured to receive the trigger of the switch 50, and after the call is turned on, according to the collected sound data of the two or more microphones, determine whether the mobile terminal currently has a local input volume of the call, and according to the collected earphone sound Data, determine whether the mobile terminal currently has a call input volume.
为实现图 3和图 4所示的方法, 并在实施例五和实施例六的基础上, 本发明实施例七和实施例八结束通话的装置, 如图 7和图 8所示, 该装置 可以包括: 提示单元 53, 配置为提示用户是否结束通话;  In order to realize the method shown in FIG. 3 and FIG. 4, and based on the fifth embodiment and the sixth embodiment, the device of the seventh embodiment and the eighth embodiment of the present invention terminates the call, as shown in FIG. 7 and FIG. The method may include: a prompting unit 53, configured to prompt the user to end the call;
相应地, 执行单元 52, 配置为在第三预设时间段内收到用户输入的结 束通话指令或未收到用户输入的任何指令, 结束通话。  Correspondingly, the executing unit 52 is configured to receive the end call instruction input by the user or not receive any instruction input by the user within the third preset time period, and end the call.
执行单元 52, 还配置为收到在第三预设时间段内收到用户输入的保持 通话指令后, 则保持通话。  The executing unit 52 is further configured to: after receiving the hold call command input by the user within the third preset time period, hold the call.
需要说明的是: 实际应用中, 判断单元及执行单元可由结束通话的装 置中的中央处理器( CPU, Central Processing Unit )、数字信号处理器( DSP, Digital Signal Processor )或可编程遝辑阵歹1 J ( FPGA, Field - Programmable Gate Array ) 实现; 提示单元可由结束通话的装置中的 CPU、 DSP或 FPGA 利用移动终端的屏幕来实现。 It should be noted that: In practical applications, the determining unit and the executing unit may be a central processing unit (CPU), a digital signal processor (DSP), or a programmable signal processor in the device that ends the call. 1 J (FPGA, Field - Programmable Gate Array ) The prompting unit can be implemented by the CPU, DSP or FPGA in the device that ends the call using the screen of the mobile terminal.
本发明实施例所述结束通话的装置中的判断单元及执行单元的具体处 理过程已在上文详述, 不再赘述。  The specific processing procedures of the determining unit and the executing unit in the device for ending the call according to the embodiment of the present invention have been described in detail above, and are not described again.
从实施例五至八提供的结束通话的装置可以看出, 本发明实施例的装 置还可以理解为一种管理通话的装置。  As can be seen from the apparatus for ending a call provided in the fifth to eighth embodiments, the apparatus of the embodiment of the present invention can also be understood as a device for managing a call.
本发明实施例还提供了一种移动终端, 包括本发明实施例的结束通话 的装置的基本结构及其各种变形和等同替换, 不做赞述。  The embodiment of the present invention further provides a mobile terminal, including the basic structure of the device for ending a call according to the embodiment of the present invention, and various modifications and equivalents thereof, which are not described.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可采用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等 )上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the invention can take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 现在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagrams, and combinations of flow and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device to produce a machine such that the flow chart is now a flow or a flow and/or block diagram of a block or A device that has multiple functions specified in the box.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步骤。 The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart. These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 claims
1、 一种结束通话的方法, 所述方法包括: 1. A method of ending a call. The method includes:
呼叫接通后, 依据采集的两个以上麦克风的声音数据, 判断移动终端 当前是否有通话的本地输入音量, 并依据采集的听筒的声音数据, 判断移 动终端当前是否有通话的对方输入音量; After the call is connected, based on the collected sound data of more than two microphones, it is determined whether the mobile terminal currently has a local input volume for the call, and based on the collected sound data of the earpiece, it is determined whether the mobile terminal currently has a local input volume for the call;
确定所述移动终端当前没有通话的本地输入音量, 且确定所述移动终 端当前没有通话的对方输入音量后, 结束通话。 After it is determined that the mobile terminal currently does not have a local input volume for the call, and it is determined that the mobile terminal currently does not have a local input volume for the call, the call is ended.
2、 根据权利要求 1所述的方法, 其中, 所述依据采集的两个以上麦克 风的声音数据, 判断移动终端当前是否有通话的本地输入音量, 包括: 判断在第一预设时间段内, 采集的所述两个以上麦克风的声音响度值 中, 主麦克风与各辅麦克风的平均声音响度值差值的集合中是否至少一个 平均声音响度值大于等于第一阈值, 确定在第一预设时间段内各所述结合 中至少一个平均声音响度值差值大于等于第一阈值时, 则认为有通话的本 地输入音量, 确定在第一预设时间段内所述集合中的平均声音响度值差值 均小于第一阈值时, 则认为没有通话的本地输入音量。 2. The method according to claim 1, wherein the determining whether the mobile terminal currently has a local input volume for a call based on the collected sound data of more than two microphones includes: determining whether within the first preset time period, Among the collected sound loudness values of the two or more microphones, whether at least one average sound loudness value in the set of average sound loudness value differences between the main microphone and each auxiliary microphone is greater than or equal to the first threshold is determined at the first preset time When at least one average sound loudness value difference in each of the combinations within the segment is greater than or equal to the first threshold, it is considered that there is a local input volume for the call, and the average sound loudness value difference in the set within the first preset time period is determined When the values are both smaller than the first threshold, it is considered that there is no local input volume for the call.
3、 根据权利要求 1所述的方法, 其中, 所述依据采集的听筒的声音数 据, 判断移动终端当前是否有通话的对方输入音量, 包括: 3. The method according to claim 1, wherein the step of determining whether the mobile terminal currently has a call input volume based on the collected sound data of the earpiece includes:
判断在第二预设时间段内, 采集的所述听筒的声音响度平均值是否大 于等于第二阈值, 确定在第二预设时间段内所述听筒的声音响度平均值大 于等于第二阈值时, 则认为移动终端当前有通话的对方输入音量, 确定在 第二预设时间段内所述听筒的声音响度平均值小于第二阈值时, 则认为移 动终端当前没有通话的对方输入音量。 Determine whether the collected average loudness of the earpiece during the second preset time period is greater than or equal to the second threshold, and determine whether the average loudness of the earpiece collected during the second preset time period is greater than or equal to the second threshold. , it is considered that the mobile terminal currently has an input volume from the other party on the call. When it is determined that the average loudness of the earpiece within the second preset time period is less than the second threshold, it is considered that the mobile terminal currently has no input volume from the other party during the call.
4、 根据权利要求 1、 2或 3所述的方法, 其中, 所述呼叫接通之前, 所述方法还包括: 4. The method according to claim 1, 2 or 3, wherein before the call is connected, the method further includes:
设置实现结束通话的开关; 将所述开关开启后, 接通呼叫, 并依据采 集的两个以上麦克风的声音数据, 判断移动终端当前是否有通话的本地输 入音量, 并依据采集的听筒的声音数据, 判断移动终端当前是否有通话的 对方输入音量。 Set a switch to end the call; after turning on the switch, connect the call, and The collected sound data of more than two microphones are used to determine whether the mobile terminal currently has a local input volume for the call, and based on the collected sound data of the earpiece, it is determined whether the mobile terminal currently has a call input volume for the other party.
5、 根据权利要求 1、 2或 3所述的方法, 其中, 所述结束通话之前, 所述方法还包括: 5. The method according to claim 1, 2 or 3, wherein before ending the call, the method further includes:
提示用户是否结束通话; Prompts the user whether to end the call;
在第三预设时间段内收到所述用户输入的结束通话指令或未收到所述 用户输入的任何指令, 结束通话。 If an instruction to end the call input by the user is received within the third preset time period or no instruction input by the user is received, the call is ended.
6、 根据权利要求 5所述的方法, 其中, 提示所述用户是否结束通话的 方式包括以下方式之一或任意组合: 声音提示、 震动提示以及文字提示。 6. The method according to claim 5, wherein the method for prompting the user whether to end the call includes one or any combination of the following methods: sound prompt, vibration prompt and text prompt.
7、一种结束通话的装置, 所述装置包括: 判断单元及执行单元; 其中, 判断单元, 配置为呼叫接通后, 依据采集的两个以上麦克风的声音数 据, 判断移动终端当前是否有通话的本地输入音量, 并依据采集的听筒的 声音数据, 判断移动终端当前是否有通话的对方输入音量; 7. A device for ending a call, the device includes: a judgment unit and an execution unit; wherein the judgment unit is configured to determine whether there is currently a call on the mobile terminal based on the collected sound data of more than two microphones after the call is connected local input volume, and based on the collected sound data of the earpiece, determine whether the mobile terminal currently has an input volume from the other party;
执行单元, 配置为确定所述移动终端当前没有通话的本地输入音量, 且确定所述移动终端当前没有通话的对方输入音量后, 结束通话。 The execution unit is configured to determine that the mobile terminal currently has no local input volume for the call, and after determining that the mobile terminal currently has no local input volume for the call, end the call.
8、 根据权利要求 7所述的装置, 其中, 所述装置还包括: 开关, 配置 为开启后, 触发所述判断单元; 8. The device according to claim 7, wherein the device further includes: a switch configured to trigger the judgment unit when turned on;
判断单元, 配置为收到开关的触发, 并在呼叫接通后, 依据采集的两 个以上麦克风的声音数据, 判断移动终端当前是否有通话的本地输入音量, 并依据采集的听筒的声音数据, 判断移动终端当前是否有通话的对方输入 音量。 The determination unit is configured to receive the trigger of the switch, and after the call is connected, determine whether the mobile terminal currently has a local input volume for the call based on the collected sound data of more than two microphones, and based on the collected sound data of the earpiece, Determine whether the mobile terminal currently has input volume from the other party in the call.
9、 根据权利要求 7或 8所述的装置, 其中, 所述装置还包括: 提示单 元, 配置为提示用户是否结束通话; 9. The device according to claim 7 or 8, wherein the device further includes: a prompting unit configured to prompt the user whether to end the call;
相应地, 执行单元, 配置为在第三预设时间段内收到用户输入的结束 通话指令或未收到用户输入的任何指令, 结束通话。 Correspondingly, the execution unit is configured to receive the end of the user input within the third preset time period. The call is terminated if the call instruction is not received or any instruction input by the user is not received.
10、 根据权利要求 9所述的装置, 其中, 提示所述用户是否结束通话 的方式包括以下方式之一或任意组合: 声音提示、 震动提示以及文字提示。 10. The device according to claim 9, wherein the method of prompting the user whether to end the call includes one or any combination of the following methods: sound prompt, vibration prompt and text prompt.
11、 一种移动终端, 所述移动终端包括如权利要求 7至 10任一项所述 的结束通话的装置。 11. A mobile terminal, the mobile terminal comprising the device for ending a call according to any one of claims 7 to 10.
12、 一种可读计算机存储介质, 所述计算机存储介质包括一组指令, 当执行所述指令时, 引起至少一个处理器执行如权利要求 1至 6任一项所 述的结束通话的方法。 12. A readable computer storage medium, the computer storage medium includes a set of instructions that, when executed, cause at least one processor to execute the method of ending a call according to any one of claims 1 to 6.
PCT/CN2014/072588 2013-10-21 2014-02-26 Call ending method, device and mobile terminal WO2014154077A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310495806.8A CN104580668A (en) 2013-10-21 2013-10-21 Method, device and mobile terminal for ending call
CN201310495806.8 2013-10-21

Publications (1)

Publication Number Publication Date
WO2014154077A1 true WO2014154077A1 (en) 2014-10-02

Family

ID=51622451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/072588 WO2014154077A1 (en) 2013-10-21 2014-02-26 Call ending method, device and mobile terminal

Country Status (2)

Country Link
CN (1) CN104580668A (en)
WO (1) WO2014154077A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754711A (en) * 2015-03-04 2015-07-01 广东欧珀移动通信有限公司 Call ending method and terminal
CN105187612A (en) * 2015-03-23 2015-12-23 小米科技有限责任公司 Conversation state prompting method and device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812579B (en) * 2016-05-11 2019-04-16 北京小米移动软件有限公司 Treating method and apparatus when mobile terminal call is noiseless
CN105827863A (en) * 2016-05-13 2016-08-03 上海青橙实业有限公司 Call control method and mobile terminal
CN107786723A (en) * 2016-08-30 2018-03-09 南京中兴软件有限责任公司 Terminate the method, apparatus and terminal of call
CN106534510B (en) * 2016-11-02 2020-11-13 惠州Tcl移动通信有限公司 Microphone call control method based on mobile terminal and mobile terminal
CN107580106B (en) * 2017-07-26 2020-06-09 南京白下高新技术产业园区投资发展有限责任公司 Call control method, mobile terminal and computer readable storage medium
CN109561214B (en) * 2018-11-30 2021-04-02 维沃移动通信有限公司 Call processing method and mobile terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104699A (en) * 2009-12-17 2011-06-22 深圳富泰宏精密工业有限公司 Automatic hanging-up method and system
CN102638612A (en) * 2012-02-23 2012-08-15 华为终端有限公司 Method and device for ending conversation
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647525A (en) * 2012-04-16 2012-08-22 中兴通讯股份有限公司 Mobile terminal and processing method on abnormal communication of mobile terminal
CN102984365A (en) * 2012-11-14 2013-03-20 北京小米科技有限责任公司 Judging and processing method and device of terminal call state and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104699A (en) * 2009-12-17 2011-06-22 深圳富泰宏精密工业有限公司 Automatic hanging-up method and system
CN102638612A (en) * 2012-02-23 2012-08-15 华为终端有限公司 Method and device for ending conversation
CN102982823A (en) * 2012-11-26 2013-03-20 中兴通讯股份有限公司 Method and device for adjusting volume automatically

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754711A (en) * 2015-03-04 2015-07-01 广东欧珀移动通信有限公司 Call ending method and terminal
CN105187612A (en) * 2015-03-23 2015-12-23 小米科技有限责任公司 Conversation state prompting method and device
CN105187612B (en) * 2015-03-23 2018-09-04 小米科技有限责任公司 A kind of reminding method and device of talking state

Also Published As

Publication number Publication date
CN104580668A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
WO2014154077A1 (en) Call ending method, device and mobile terminal
JP6489563B2 (en) Volume control method, system, device and program
US20150080048A1 (en) Mobile terminal and abnormal call processing method therefor
WO2017035967A1 (en) Smart speaker volume control method, device, smart speaker and mobile terminal
US20170318374A1 (en) Headset, an apparatus and a method with automatic selective voice pass-through
WO2013107307A1 (en) Noise reduction method and device
WO2013127302A1 (en) Method and terminal for preventing voice crosstalk between external loudspeaker and microphone
WO2015039441A1 (en) Sound volume adjusting method and device
JP7290749B2 (en) Voice call method and its device, electronic equipment and computer program
WO2016201767A1 (en) Voice control method and device, and computer storage medium
WO2014194584A1 (en) Terminal prompt mode adjusting method and terminal
WO2014183529A1 (en) Mobile terminal talk mode switching method, device and storage medium
WO2015131550A1 (en) Method and apparatus for controlling player to enter sleep mode and terminal device
CN105376418A (en) Incoming call information processing method, device and system
JP6381062B2 (en) Method and device for processing audio signals for communication devices
US9628910B2 (en) Method and apparatus for reducing acoustic feedback from a speaker to a microphone in a communication device
CN105516439A (en) Telephone answering method, telephone hanging up method, and terminal
TW201423587A (en) System and method for providing prompts for callee
WO2018018782A1 (en) Noise reduction method, terminal, and computer storage medium
CN104023117A (en) Method for information processing and electronic equipment
TW200428861A (en) Method for managing a calling in on a cellular phone
WO2017210856A1 (en) Method of controlling audio output, user terminal, and radio terminal
WO2015067067A1 (en) Calling method, communication terminal and storage medium
US10230830B2 (en) Sensor-based mute control for a softphone client
WO2023005125A1 (en) Bluetooth headset mode control method and device, and computer-readable storage medium

Legal Events

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

Ref document number: 14774910

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14774910

Country of ref document: EP

Kind code of ref document: A1