技术领域technical field
本发明涉及通信技术领域,尤其涉及一种声音信号处理方法及移动终端。The present invention relates to the field of communication technologies, in particular to a sound signal processing method and a mobile terminal.
背景技术Background technique
随着移动终端的迅速发展,移动终端已经慢慢成为人们交流的一种主要工具,并且越来越多的用户已经习惯于使用移动终端进行交流。当用户之间使用移动终端进行通话的时候,移动终端会将接收到的声音信号在用户之间进行传播,但是有时候移动终端传播真实的声音信号可能存在安全隐患。例如:当用户打电话进行举报的时候,可能会因为自己的声音而被认出;又或者用户在执行某些任务的时候要隐藏自己的身份,也可能因为通话声音的原因而暴露自己的身份。With the rapid development of mobile terminals, mobile terminals have gradually become a main tool for people to communicate, and more and more users have become accustomed to using mobile terminals for communication. When users use the mobile terminal to communicate, the mobile terminal will transmit the received sound signal among the users, but sometimes there may be a security risk when the mobile terminal transmits the real sound signal. For example: when a user calls to make a report, he may be recognized because of his own voice; or when the user needs to hide his identity when performing certain tasks, his identity may also be exposed due to the sound of the call .
可见,现有的移动终端在通话时只能将用户真实的声音信号进行发送,通话安全性比较差。It can be seen that the existing mobile terminal can only send the user's real voice signal during a call, and the call security is relatively poor.
发明内容Contents of the invention
本发明实施例提供一种声音信号处理方法及移动终端,以解决移动终端在通话时只能将用户真实的声音信号进行发送,导致通话安全性比较差的问题。Embodiments of the present invention provide a sound signal processing method and a mobile terminal to solve the problem that the mobile terminal can only send the user's real voice signal during a call, resulting in poor call security.
第一方面,本发明实施例提供了一种声音信号处理方法,包括:In a first aspect, an embodiment of the present invention provides a sound signal processing method, including:
获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;Acquiring target information, the target information including at least one of location information, temperature information, face information and fingerprint information;
判断所述目标信息是否为预设用于控制声音的控制信息;judging whether the target information is preset control information for controlling sound;
若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;If the target information is the control information, using a sound processing method matching the control information to perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal;
向目标终端发送经过所述变声处理后的所述声音信号。Sending the sound signal after the sound change processing to the target terminal.
第二方面,本发明实施例还提供一种移动终端,包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, including:
获取模块,用于获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;An acquisition module, configured to acquire target information, the target information including at least one of location information, temperature information, face information and fingerprint information;
判断模块,用于判断所述获取模块获取的目标信息是否为预设用于控制声音的控制信息;A judging module, configured to judge whether the target information acquired by the acquiring module is preset control information for controlling sound;
处理模块,用于若所述判断模块判断所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;A processing module, configured to, if the judging module judges that the target information is the control information, use a sound processing method that matches the control information to perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal;
发送模块,用于向目标终端发送经过所述处理模块变声处理后的所述声音信号。The sending module is configured to send the sound signal processed by the processing module to change the sound to the target terminal.
这样,本发明实施例中,获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。这样可以根据获取的目标信息查找匹配的声音处理方式,对声音信号进行变声处理,从而可以隐藏用户的身份,提高了通话的安全性。In this way, in the embodiment of the present invention, the target information is acquired, and the target information includes at least one of position information, temperature information, face information and fingerprint information; and it is judged whether the target information is preset for controlling sound information; if the target information is the control information, then adopt a sound processing method that matches the control information to perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal; send the voice-changing signal to the target terminal The processed sound signal. In this way, a matching sound processing method can be found according to the acquired target information, and the sound signal can be changed into sound, so that the identity of the user can be hidden and the security of the call can be 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 based on these drawings without any creative effort.
图1是本发明第一实施例提供的声音信号处理方法的流程图;Fig. 1 is a flow chart of the sound signal processing method provided by the first embodiment of the present invention;
图2是本发明第二实施例提供的声音信号处理方法的流程图;Fig. 2 is a flow chart of the sound signal processing method provided by the second embodiment of the present invention;
图3是本发明第三实施例提供的移动终端的结构图之一;Fig. 3 is one of the structural diagrams of the mobile terminal provided by the third embodiment of the present invention;
图4是本发明第三实施例提供的移动终端的结构图之二;FIG. 4 is the second structural diagram of the mobile terminal provided by the third embodiment of the present invention;
图5是本发明第三实施例提供的移动终端的结构图之三;FIG. 5 is the third structural diagram of the mobile terminal provided by the third embodiment of the present invention;
图6是本发明第三实施例提供的移动终端的结构图之四;FIG. 6 is the fourth structural diagram of the mobile terminal provided by the third embodiment of the present invention;
图7是本发明第三实施例提供的移动终端的结构图之五;FIG. 7 is the fifth structural diagram of the mobile terminal provided by the third embodiment of the present invention;
图8是本发明第四实施例提供的移动终端的结构图;FIG. 8 is a structural diagram of a mobile terminal provided by a fourth embodiment of the present invention;
图9是本发明第五实施例提供的移动终端的结构图。Fig. 9 is a structural diagram of a mobile terminal provided by a fifth 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 part 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.
第一实施例first embodiment
参见图1,图1是本发明实施例提供的声音信号处理方法的流程图,如图1所示,包括以下步骤:Referring to Fig. 1, Fig. 1 is a flow chart of the sound signal processing method provided by the embodiment of the present invention, as shown in Fig. 1, comprising the following steps:
步骤101、获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项。Step 101. Obtain target information, where the target information includes at least one item of location information, temperature information, face information, and fingerprint information.
本发明实施例中,上述位置信息,可以是通过无线保真定位、基站定位或者卫星定位得到的位置信息。上述温度信息,可以是人体的温度,也可以是环境的温度。上述人脸信息,可以是移动终端前置摄像头采集的人脸信息,也可以是移动终端后置摄像头采集的人脸信息。上述指纹信息,可以是任何一个手指的指纹信息。In the embodiment of the present invention, the above location information may be location information obtained through Wi-Fi positioning, base station positioning or satellite positioning. The above temperature information may be the temperature of the human body or the temperature of the environment. The above-mentioned face information may be the face information collected by the front camera of the mobile terminal, or the face information collected by the rear camera of the mobile terminal. The above-mentioned fingerprint information may be the fingerprint information of any finger.
步骤102、判断所述目标信息是否为预设用于控制声音的控制信息。Step 102, judging whether the target information is preset control information for controlling sound.
本发明实施例中,上述控制信息可以有不同的形式。控制信息可以是具体的某个位置,某个商场,某个火车站,当然也可以是用户的住宅或者办公室。控制信息也可以是预先设置的一个温度阈值,例如38至40度之间,或者40至42度之间。当然这里也可以是大于某个温度的范围,例如大于38度、39度或者40度等等。控制信息也可以是预设的人脸信息,例如用户开心时的人脸信息,或者用户悲伤时的人脸信息,又或者是用户估计做出的一个奇怪表情的人脸信息。控制信息也可以是预设的某个指纹信息,例如拇指的指纹、食指的指纹、中指的指纹、无名指的指纹或者小指的指纹。当然,这里也可以是某两个指纹的组合信息,例如先录入食指指纹再录入中指的指纹,或者先录入中指的指纹再录入食指的指纹,任何用户自定的录入方式在这里也是可以的。In the embodiments of the present invention, the foregoing control information may have different forms. The control information can be a specific location, a shopping mall, a railway station, and of course the user's residence or office. The control information may also be a preset temperature threshold, for example, between 38 and 40 degrees, or between 40 and 42 degrees. Of course, it may also be a range greater than a certain temperature, such as greater than 38 degrees, 39 degrees or 40 degrees, and so on. The control information can also be preset face information, such as face information when the user is happy, or face information when the user is sad, or face information of a strange expression estimated to be made by the user. The control information may also be preset certain fingerprint information, such as the fingerprint of the thumb, the fingerprint of the index finger, the fingerprint of the middle finger, the fingerprint of the ring finger or the fingerprint of the little finger. Of course, this can also be a combination of two fingerprints, for example, first enter the fingerprint of the index finger and then the fingerprint of the middle finger, or enter the fingerprint of the middle finger first and then the fingerprint of the index finger. Any user-defined input method is also possible here.
步骤103、若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理。Step 103: If the target information is the control information, perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal by using a sound processing method that matches the control information.
本发明实施例中,上述声音处理方式可以是对波长的处理、频率的处理、幅值的处理或者滤波的处理等等。上述与控制信息相匹配的声音处理方式可以这样理解。与控制信息匹配的声音处理方式可以有一种处理方式,例如波长调整方式或者幅度调整方式;当然与控制信息匹配的声音处理方式也可以有多种,例如与波长调整方式和频率调整方式匹配,也可以与波长调整方式、相位调整方式和频率调整方式匹配等等。In the embodiment of the present invention, the above-mentioned sound processing manner may be processing on wavelength, processing on frequency, processing on amplitude, or processing on filtering, and so on. The above-mentioned sound processing manner matched with the control information can be understood in this way. The sound processing method matching the control information may have one processing method, such as wavelength adjustment method or amplitude adjustment method; of course, there may be multiple sound processing methods matching the control information, such as matching the wavelength adjustment method and frequency adjustment method, or It can be matched with the wavelength adjustment method, the phase adjustment method and the frequency adjustment method, etc.
波长调整方式对麦克风采集的声音信号的波长进行处理,频率调整方式对麦克风采集的声音信号的频率进行处理,幅度调整方式对麦克风采集的声音信号的幅度进行处理。在与多种声音处理方式相匹配的时候,使声音处理更加多元化,能更好的隐藏真实的声音。The wavelength adjustment method processes the wavelength of the sound signal collected by the microphone, the frequency adjustment method processes the frequency of the sound signal collected by the microphone, and the amplitude adjustment method processes the amplitude of the sound signal collected by the microphone. When matching with a variety of sound processing methods, it makes the sound processing more diversified and can better hide the real sound.
本发明实施例中,若目标信息不为控制信息,可以继续等待,也可以结束流程,本发明实施例中的图1以结束流程进行举例说明。In the embodiment of the present invention, if the target information is not control information, you can continue to wait, or end the process. Figure 1 in the embodiment of the present invention uses the end process as an example for illustration.
步骤104、向目标终端发送经过所述变声处理后的所述声音信号。Step 104, sending the voice signal after the voice modification processing to the target terminal.
本发明实施例中,上述目标终端可以是手机,也可以是笔记本电脑,当然也可以是台式机。上述向目标终端发送经过所述变声处理后的所述声音信号,可以是用户之间在打电话,可以是用户使用某些聊天软件在不同的终端上进行的语音聊天,当然也可以是用户使用某些聊天软件发送的语音文件。这样向目标终端发送经过变声处理后的声音信号,隐藏了用户的真实声音,这样就保证了通话的安全性。In the embodiment of the present invention, the above-mentioned target terminal may be a mobile phone, may also be a notebook computer, and of course may also be a desktop computer. The above-mentioned sending of the voice signal after the voice-changing process to the target terminal may be a call between users, it may be a voice chat performed by the user on different terminals using some chat software, or it may be that the user uses Voice files sent by some chat software. In this way, the voice signal processed by the voice-changing process is sent to the target terminal to hide the user's real voice, thus ensuring the security of the call.
本发明实施例中,上述移动终端可以是手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digitalassistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet PersonalComputer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet device (Mobile Internet Device, MID) Or wearable device (Wearable Device) and so on.
本发明实施例的声音信号处理方法,获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。这样可以根据获取的目标信息查找匹配的声音处理方式,对声音信号进行变声处理,从而可以隐藏用户的身份,提高了通话的安全性。In the sound signal processing method of the embodiment of the present invention, target information is obtained, and the target information includes at least one item of position information, temperature information, face information and fingerprint information; and it is judged whether the target information is preset for controlling sound control information; if the target information is the control information, use a sound processing method that matches the control information to perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal; The sound signal after the sound change processing. In this way, a matching sound processing method can be found according to the acquired target information, and the sound signal can be changed into sound, so that the identity of the user can be hidden and the security of the call can be improved.
第二实施例second embodiment
参见图2,图2是本发明实施例提供的声音信号处理方法的流程图,如图2所示,包括以下步骤:Referring to Fig. 2, Fig. 2 is a flow chart of the sound signal processing method provided by the embodiment of the present invention, as shown in Fig. 2, including the following steps:
步骤201、获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项。Step 201. Obtain target information, where the target information includes at least one item of location information, temperature information, face information, and fingerprint information.
本发明实施例中,上述位置信息,可以是通过无线保真定位、基站定位或者卫星定位得到的位置信息。上述温度信息,可以是人体的温度,也可以是环境的温度。上述人脸信息,可以是移动终端前置摄像头采集的人脸信息,也可以是移动终端后置摄像头采集的人脸信息。上述指纹信息,可以是任何一个手指的指纹信息。In the embodiment of the present invention, the above location information may be location information obtained through Wi-Fi positioning, base station positioning or satellite positioning. The above temperature information may be the temperature of the human body or the temperature of the environment. The above-mentioned face information may be the face information collected by the front camera of the mobile terminal, or the face information collected by the rear camera of the mobile terminal. The above-mentioned fingerprint information may be the fingerprint information of any finger.
步骤202、判断所述目标信息是否为预设用于控制声音的控制信息。Step 202, judging whether the target information is preset control information for controlling sound.
本发明实施例中,上述控制信息可以有不同的形式。控制信息可以是具体的某个位置,某个商场,某个火车站,当然也可以是用户的住宅或者办公室。控制信息也可以是预先设置的一个温度阈值,例如38至40度之间,或者40至42度之间。当然这里也可以是大于某个温度的范围,例如大于38度、39度或者40度等等。控制信息也可以是预设的人脸信息,例如用户开心时的人脸信息,或者用户悲伤时的人脸信息,又或者是用户估计做出的一个奇怪表情的人脸信息。控制信息也可以是预设的某个指纹信息,例如拇指的指纹、食指的指纹、中指的指纹、无名指的指纹或者小指的指纹。当然,这里也可以是某两个指纹的组合信息,例如先录入食指指纹再录入中指的指纹,或者先录入中指的指纹再录入食指的指纹,任何用户自定的录入方式在这里也是可以的。In the embodiments of the present invention, the foregoing control information may have different forms. The control information can be a specific location, a shopping mall, a railway station, and of course the user's residence or office. The control information may also be a preset temperature threshold, for example, between 38 and 40 degrees, or between 40 and 42 degrees. Of course, it may also be a range greater than a certain temperature, such as greater than 38 degrees, 39 degrees or 40 degrees, and so on. The control information can also be preset face information, such as face information when the user is happy, or face information when the user is sad, or face information of a strange expression estimated to be made by the user. The control information may also be preset certain fingerprint information, such as the fingerprint of the thumb, the fingerprint of the index finger, the fingerprint of the middle finger, the fingerprint of the ring finger or the fingerprint of the little finger. Of course, this can also be a combination of two fingerprints, for example, first enter the fingerprint of the index finger and then the fingerprint of the middle finger, or enter the fingerprint of the middle finger first and then the fingerprint of the index finger. Any user-defined input method is also possible here.
步骤203、若所述目标信息为所述控制信息,确定与所述控制信息相匹配的声音处理方式。Step 203, if the target information is the control information, determine a sound processing mode matching the control information.
本发明实施例中,上述声音处理方式可以是对波长的处理、频率的处理、幅值的处理或者滤波的处理等等。上述与控制信息相匹配的声音处理方式可以这样理解。与控制信息匹配的声音处理方式可以有一种处理方式,例如波长调整方式或者幅度调整方式;当然与控制信息匹配的声音处理方式也可以有多种,例如与波长调整方式和频率调整方式匹配,也可以与波长调整方式、相位调整方式和频率调整方式匹配等等。In the embodiment of the present invention, the above-mentioned sound processing manner may be processing on wavelength, processing on frequency, processing on amplitude, or processing on filtering, and so on. The above-mentioned sound processing manner matched with the control information can be understood in this way. The sound processing method matching the control information may have one processing method, such as wavelength adjustment method or amplitude adjustment method; of course, there may be multiple sound processing methods matching the control information, such as matching the wavelength adjustment method and frequency adjustment method, or It can be matched with the wavelength adjustment method, the phase adjustment method and the frequency adjustment method, etc.
本发明实施例中,若所述目标信息不为所述控制信息,可以继续等待,也可以结束流程,本发明实施例的图2中以结束流程进行举例说明。In the embodiment of the present invention, if the target information is not the control information, you can continue to wait, or end the process. Figure 2 of the embodiment of the present invention uses the end process as an example for illustration.
步骤204、获取与所述声音处理方式对应的变声处理参数。Step 204, Acquiring voice modification processing parameters corresponding to the voice processing manner.
本发明实施例中,上述声音处理方式若为幅度调整,则获取的变声处理参数为幅度;上述声音处理方式若为频率调整,则获取的变声处理参数为频率;上述声音处理方式若为相位调整,则获取的变声处理参数为相位等等。In the embodiment of the present invention, if the above-mentioned sound processing method is amplitude adjustment, the obtained sound-changing processing parameter is amplitude; if the above-mentioned sound processing method is frequency adjustment, the obtained sound-changing processing parameter is frequency; if the above-mentioned sound processing method is phase adjustment , then the obtained voice changing processing parameters are phase and so on.
步骤205、按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理。Step 205: Perform voice modification processing on the sound signal collected by the microphone of the mobile terminal according to the voice modification processing parameters.
本发明实施例中,若上述变声处理参数为频率,则可以对麦克风采集声音信号的频率进行调整,可以是将频率调整为某个值,也可以将频率增大或者减少多少;若上述变声处理参数为幅值,则可以对麦克风采集声音信号的幅值进行调整,可以是将幅值调整为某个值,也可以将幅值增大或者减少多少;若上述变声处理参数为波长,则可以对麦克风采集声音信号的波长进行调整,可以是将波长调整为某个值,也可以将波长增大或者减少多少;若上述变声处理参数为相位,则可以对麦克风采集声音信号的相位进行调整,可以是将相位调整为某个值,也可以将相位增大或者减少多少等等。这样,通过不同的参数对麦克风获取的声音信号进行不同的调整,这样能隐藏用户真实的声音,使通话的安全性得到提高。In the embodiment of the present invention, if the above-mentioned voice-changing processing parameter is frequency, the frequency of the sound signal collected by the microphone can be adjusted, the frequency can be adjusted to a certain value, or the frequency can be increased or decreased; if the above-mentioned voice-changing processing If the parameter is amplitude, the amplitude of the sound signal collected by the microphone can be adjusted, either by adjusting the amplitude to a certain value, or by increasing or decreasing the amplitude; if the above-mentioned sound changing processing parameter is wavelength, then you can The wavelength of the sound signal collected by the microphone can be adjusted by adjusting the wavelength to a certain value, or by increasing or decreasing the wavelength; if the above-mentioned sound change processing parameter is phase, the phase of the sound signal collected by the microphone can be adjusted. It can be to adjust the phase to a certain value, or to increase or decrease the phase, and so on. In this way, different adjustments are made to the sound signal acquired by the microphone through different parameters, which can hide the real voice of the user and improve the security of the call.
步骤206、向目标终端发送经过所述变声处理后的所述声音信号。Step 206: Send the voice signal after the voice modification processing to the target terminal.
本发明实施例中,上述目标终端可以是手机,也可以是笔记本电脑,当然也可以是台式机。上述向目标终端发送经过所述变声处理后的所述声音信号,可以是用户之间在打电话,可以是用户使用某些聊天软件在不同的终端上进行的语音聊天,当然也可以是用户使用某些聊天软件发送的语音文件。这样向目标终端发送经过变声处理后的声音信号,隐藏了用户的真实声音,这样就保证了通话的安全性。In the embodiment of the present invention, the above-mentioned target terminal may be a mobile phone, may also be a notebook computer, and of course may also be a desktop computer. The above-mentioned sending of the voice signal after the voice-changing process to the target terminal may be a call between users, it may be a voice chat performed by the user on different terminals using some chat software, or it may be that the user uses Voice files sent by some chat software. In this way, the voice signal processed by the voice-changing process is sent to the target terminal to hide the user's real voice, thus ensuring the security of the call.
本发明实施例,可以根据获取的目标信息查找匹配的声音处理方式,并获取声音处理参数,对麦克风采集的声音信号进行处理,这样在声音处理之后很难辨别是哪位用户,这样用户的身份得以隐藏,通话的安全性得到了提高。In the embodiment of the present invention, it is possible to search for a matching sound processing method according to the acquired target information, obtain sound processing parameters, and process the sound signal collected by the microphone, so that it is difficult to distinguish which user is after the sound processing, so the identity of the user can be hidden, and the security of the call has been improved.
可选的,所述控制信息包括位置信息,所述确定与所述控制信息相匹配的声音处理方式的步骤,包括:确定与所述控制信息相匹配的幅度调整方式;则所述获取与所述声音处理方式对应的变声处理参数的步骤,包括:获取与所述幅度调整方式对应的幅度调整参数;则所述按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理的步骤,包括:按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整。Optionally, the control information includes position information, and the step of determining the sound processing mode matching the control information includes: determining the amplitude adjustment mode matching the control information; The step of changing the sound processing parameter corresponding to the sound processing method, comprising: obtaining the amplitude adjustment parameter corresponding to the amplitude adjustment method; then according to the sound changing processing parameter, the sound signal collected by the microphone of the mobile terminal is changed. The processing step includes: adjusting the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter.
本发明实施例中,上述位置信息,可以是商场、车站或者游乐场等等。因为有些地方,声音比较嘈杂,例如某个集市或者某个车站,此时将麦克风采集的声音信号进行处理可以使用户的声音更加清楚,这样不至于与用户通话的人听不到用户的声音。In the embodiment of the present invention, the above location information may be a shopping mall, a station, or an amusement park. Because in some places, the sound is relatively noisy, such as a certain market or a certain station, at this time, processing the sound signal collected by the microphone can make the user's voice clearer, so that the person who is talking to the user cannot hear the user's voice .
本发明实施例中,上述确定与所述控制信息相匹配的幅度调整方式以及获取与所述幅度调整方式对应的幅度调整参数可以这样理解。例如:与车站相匹配的幅度调整方式为第一幅度调整方式,获取的幅度调整参数为第一幅度调整参数;与游乐场相匹配的幅度调整方式为第二幅度调整方式,获取的幅度调整参数为第二幅度调整参数。按照第一幅度调整参数,可以将麦克风采集的声音信号的幅值调大30分贝,按照第二幅度调整参数,可以将麦克风采集的声音信号的幅值调大40分贝。这样在这些比较喧闹的地方,将声音的幅值调大,这样与用户通话的人就更加能够听清楚用户的声音。当然,这里调大的数值可以是任意用户自定义的数值,50分贝、55分贝、60分贝或者其他数值在这里都是可以的,当然两个不同的地方也可以进行相同幅值的调整。通过幅值的调整,使与用户通话的人能够听清楚用户的声音。当然,在这里除了获取位置信息以外也可以获取其他的信息,这样可以进行多元化的调整。In the embodiment of the present invention, the determination of the amplitude adjustment mode matching the control information and the acquisition of the amplitude adjustment parameter corresponding to the amplitude adjustment mode can be understood in this way. For example: the amplitude adjustment method that matches the station is the first amplitude adjustment method, and the obtained amplitude adjustment parameter is the first amplitude adjustment parameter; the amplitude adjustment method that matches the playground is the second amplitude adjustment method, and the obtained amplitude adjustment parameter Adjust the parameters for the second magnitude. Adjusting the parameters according to the first range can increase the amplitude of the sound signal collected by the microphone by 30 decibels, and adjusting the parameters according to the second range can increase the amplitude of the sound signal collected by the microphone by 40 decibels. In this way, in these relatively noisy places, the amplitude of the sound is increased, so that the person talking to the user can hear the user's voice more clearly. Of course, the value to be increased here can be any user-defined value, 50 decibels, 55 decibels, 60 decibels or other values are all possible here, and of course two different places can also be adjusted to the same amplitude. By adjusting the amplitude, the person talking with the user can hear the user's voice clearly. Of course, in addition to obtaining location information, other information can also be obtained here, so that diversified adjustments can be made.
可选的,所述控制信息包括温度信息,所述确定与所述控制信息相匹配的声音处理方式的步骤,包括:确定与所述控制信息相匹配的幅度调整方式和频率调整方式;则所述获取与所述声音处理方式对应的变声处理参数的步骤,包括:获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述频率调整方式对应的频率调整参数;则所述按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理的步骤,包括:按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;以及按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整。Optionally, the control information includes temperature information, and the step of determining the sound processing mode that matches the control information includes: determining an amplitude adjustment mode and a frequency adjustment mode that match the control information; The step of obtaining the sound-changing processing parameters corresponding to the sound processing method includes: obtaining the amplitude adjustment parameters corresponding to the amplitude adjustment method, and obtaining the frequency adjustment parameters corresponding to the frequency adjustment method; The voice-changing processing parameter, the step of performing voice-changing processing on the sound signal collected by the microphone of the mobile terminal includes: adjusting the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter; and according to the above-mentioned The frequency adjustment parameter is used to adjust the frequency of the sound signal collected by the microphone of the mobile terminal.
本发明实施例中,上述温度信息可以是38-40度之间,也可以是40-42度之间,或者是某个温度值,例如38度或者39度,当然这里也可以是大于或者小于某个温度。因为在用户感冒或者发烧的时候,体温可能会上升,并且此时用户一般来说都比较虚弱,说话的声音一般会比较小,频率也会比较慢,在检测用户的温度的情况下对声音进行处理,可以使用户的声音听上去更加正常,与用户通话的人可以听得更加清楚。In the embodiment of the present invention, the above temperature information can be between 38-40 degrees, or between 40-42 degrees, or a certain temperature value, such as 38 degrees or 39 degrees, of course, it can also be greater than or less than a certain temperature. Because when the user has a cold or a fever, the body temperature may rise, and at this time the user is generally weak, the voice of the speech is generally relatively low, and the frequency is relatively slow. Processing can make the user's voice sound more normal, and the person talking to the user can hear it more clearly.
本发明实施例中,上述确定与所述控制信息相匹配的幅度调整方式和频率调整方式,获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述频率调整方式对应的频率调整参数可以这样理解。例如:与39-39.5度相匹配的幅度调整方式和频率调整方式为第一幅度调整方式和第一频率调整方式,获取的幅度调整参数和频率调整参数为第一幅度调整参数和第一频率调整参数;与39.5-40度相匹配的幅度调整方式和频率调整方式为第二幅度调整方式和第二频率调整方式,获取的幅度调整参数和频率调整参数为第二幅度调整参数和第二频率调整参数。In the embodiment of the present invention, the aforementioned determination of the amplitude adjustment mode and frequency adjustment mode matching the control information, acquisition of the amplitude adjustment parameter corresponding to the amplitude adjustment mode, and acquisition of the frequency adjustment parameter corresponding to the frequency adjustment mode It can be understood in this way. For example: the amplitude adjustment method and frequency adjustment method matching 39-39.5 degrees are the first amplitude adjustment method and the first frequency adjustment method, and the obtained amplitude adjustment parameters and frequency adjustment parameters are the first amplitude adjustment parameters and the first frequency adjustment Parameters; the amplitude adjustment method and frequency adjustment method matching 39.5-40 degrees are the second amplitude adjustment method and the second frequency adjustment method, and the obtained amplitude adjustment parameters and frequency adjustment parameters are the second amplitude adjustment parameters and the second frequency adjustment parameter.
这样,按照第一幅度调整参数和第一频率调整参数,可以将麦克风采集的声音信号的幅度调大20分贝,频率调大300赫兹;按照第二幅度调整参数和第二频率调整参数,可以将麦克风采集的声音信号的幅度调大30分贝,频率调大500赫兹。当然,这里的幅度调大的数值和频率调大的数值可以是用户自定义的一个数值,当然除了调大也可以调小,任何用户自定义的调整在这里都是可以的。这样在用户感冒或者发烧的时候,声音比较小,并且说话速度比较慢,移动终端根据检测到的用户的温度对麦克风采集的声音信号进行调整,将幅度相应调高,频率相应调快,这样使与用户通话的人听到的声音是正常的和清晰的声音,而不至于因为用户说话的声音太小而听不清楚。当然,在这里除了获取温度信息以外也可以获取其他的信息,这样可以进行多元化的调整。In this way, according to the first amplitude adjustment parameter and the first frequency adjustment parameter, the amplitude of the sound signal collected by the microphone can be increased by 20 decibels, and the frequency can be increased by 300 Hz; according to the second amplitude adjustment parameter and the second frequency adjustment parameter, the The amplitude of the sound signal collected by the microphone is increased by 30 decibels, and the frequency is increased by 500 Hz. Of course, the values for increasing the amplitude and increasing the frequency here can be a value defined by the user. Of course, in addition to increasing or decreasing, any user-defined adjustment is possible here. In this way, when the user catches a cold or has a fever, the voice is relatively low and the speaking speed is relatively slow. The mobile terminal adjusts the sound signal collected by the microphone according to the detected temperature of the user, and adjusts the amplitude accordingly and the frequency correspondingly. The voice heard by the person speaking with the user is a normal and clear voice, not because the voice of the user speaking is too low to be heard clearly. Of course, in addition to obtaining temperature information, other information can also be obtained here, so that diversified adjustments can be made.
可选的,所述控制信息包括人脸信息,所述确定与所述控制信息相匹配的声音处理方式的步骤,包括:确定与所述控制信息相匹配的幅度调整方式和滤波方式;则所述获取与所述声音处理方式对应的变声处理参数的步骤,包括:获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述滤波方式对应的滤波参数;则所述按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理的步骤,包括:按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;以及按照所述滤波参数,对所述移动终端的麦克风采集的声音信号进行滤波。Optionally, the control information includes face information, and the step of determining the sound processing mode matching the control information includes: determining the amplitude adjustment mode and filtering mode matching the control information; The step of obtaining the sound-changing processing parameters corresponding to the sound processing method includes: obtaining the amplitude adjustment parameters corresponding to the amplitude adjustment method, and obtaining the filter parameters corresponding to the filtering method; Processing parameters, the step of performing voice-changing processing on the sound signal collected by the microphone of the mobile terminal, including: adjusting the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter; and adjusting the amplitude according to the filtering parameter , filtering the sound signal collected by the microphone of the mobile terminal.
本发明实施例中,上述人脸信息,可以是用户悲伤时的脸部信息,可以是用户流泪时的脸部信息,当然除了这些脸部信息也可以是用户任何的一个表情下的脸部信息。当用户悲伤或者流泪的时候,声音可能比较小,有时候也会伴有抽泣声,这样与用户通话的人可能听不清用户的声音,此时将声音信号进行处理,可以使用户的声音听上去更加正常,与用户通话的人可以听得更加清楚。In the embodiment of the present invention, the above-mentioned face information may be the face information when the user is sad, or the face information when the user is crying. Of course, in addition to these face information, it may also be the face information under any expression of the user. . When the user is sad or crying, the sound may be relatively small, sometimes accompanied by sobbing, so that the person talking to the user may not be able to hear the user's voice clearly. At this time, the sound signal can be processed to make the user's voice heard It looks more normal, and the person talking to the user can hear it more clearly.
本发明实施例中,上述确定与所述控制信息相匹配的幅度调整方式和滤波方式,获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述滤波方式对应的滤波参数可以这样理解。例如:与悲伤时脸部信息相匹配的幅度调整方式和滤波方式为第一幅度调整方式和第一滤波方式,获取的幅度调整参数和滤波参数为第一幅度调整参数和第一滤波参数;与流泪时脸部信息相匹配的幅度调整方式和滤波方式为第二幅度调整方式和第二滤波方式,获取的幅度调整参数和滤波参数为第二幅度调整参数和第二滤波参数。In the embodiment of the present invention, the aforementioned determination of the amplitude adjustment mode and filtering mode matching the control information, acquisition of the amplitude adjustment parameters corresponding to the amplitude adjustment mode, and acquisition of the filtering parameters corresponding to the filtering mode can be understood in this way . For example: the amplitude adjustment method and filtering method matching the facial information when sad are the first amplitude adjustment method and the first filtering method, and the acquired amplitude adjustment parameters and filtering parameters are the first amplitude adjustment parameters and the first filtering parameters; and The amplitude adjustment method and filtering method that match the face information when crying are the second amplitude adjustment method and the second filtering method, and the obtained amplitude adjustment parameters and filtering parameters are the second amplitude adjustment parameters and the second filtering parameters.
这样,按照第一幅度调整参数和第一滤波参数,可以将麦克风采集的声音信号的幅度调大30分贝,并且过滤掉频率为300-500赫兹的声音信号;按照第二幅度调整参数和第二滤波参数,可以将麦克风采集的声音信号的幅度调大50分贝,并且过滤掉频率为200-600赫兹的声音信号。当然,这里幅度调整的数值和滤波过滤的范围至也是可以用户任意自定意的。这样,在用户悲伤或者流泪的时候,将麦克风采集的声音信号的幅值进行调大,并且过滤掉一些杂音,这样使与用户通话的人能够听到清晰的声音,并且可以掩盖用户的抽泣或者哽咽的声音。当然,在这里除了获取人脸信息以外也可以获取其他的信息,这样可以进行多元化的调整。In this way, adjusting the parameters and the first filtering parameters according to the first amplitude can increase the amplitude of the sound signal collected by the microphone by 30 decibels, and filter out the sound signals with a frequency of 300-500 Hz; adjust the parameters and the second filtering parameters according to the second amplitude The filter parameter can increase the amplitude of the sound signal collected by the microphone by 50 decibels, and filter out the sound signal with a frequency of 200-600 Hz. Of course, the value of amplitude adjustment and the range of filtering can also be freely determined by the user. In this way, when the user is sad or crying, the amplitude of the sound signal collected by the microphone is increased, and some noise is filtered out, so that the person talking to the user can hear a clear voice, and can cover the user's crying or Choking sound. Of course, in addition to obtaining face information, other information can also be obtained here, so that diversified adjustments can be made.
可选的,所述控制信息包括指纹信息,所述确定与所述控制信息相匹配的声音处理方式的步骤,包括:确定与所述控制信息相匹配的幅度调整方式、频率调整方式和相位调整方式;则所述获取与所述声音处理方式对应的变声处理参数的步骤,包括:获取与所述幅度调整方式对应的幅度调整参数,获取与所述频率调整方式对应的频率调整参数,以及获取与所述相位调整方式对应的相位调整参数;则所述按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理的步骤,包括:按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整;以及按照所述相位调整参数,对所述移动终端的麦克风采集的声音信号进行相位调整。Optionally, the control information includes fingerprint information, and the step of determining the sound processing mode matching the control information includes: determining the amplitude adjustment mode, frequency adjustment mode and phase adjustment mode matching the control information method; then the step of obtaining the sound-changing processing parameters corresponding to the sound processing method includes: obtaining the amplitude adjustment parameters corresponding to the amplitude adjustment method, obtaining the frequency adjustment parameters corresponding to the frequency adjustment method, and obtaining A phase adjustment parameter corresponding to the phase adjustment method; then, the step of performing voice modification processing on the sound signal collected by the microphone of the mobile terminal according to the voice modification processing parameter includes: adjusting the parameter according to the amplitude adjusting the amplitude of the sound signal collected by the microphone of the mobile terminal; adjusting the frequency of the sound signal collected by the microphone of the mobile terminal according to the frequency adjustment parameter; and adjusting the frequency of the sound signal collected by the microphone of the mobile terminal according to the phase adjustment parameter The collected sound signal is phase adjusted.
本发明实施例中,上述指纹信息可以是用户任何一个手指的指纹信息。有时候用户在执行一些任务的时候,或者是进行举报的时候,暴露自己的身份有可能会给用户自身带来一些麻烦,通过指纹控制来简单的控制可以使用户的声音完发生改变,隐藏用户的身份,并且操作简单,也不易被察觉。In the embodiment of the present invention, the above fingerprint information may be the fingerprint information of any finger of the user. Sometimes when a user performs some tasks or makes a report, exposing his identity may cause some troubles to the user himself. Simple control through fingerprint control can completely change the user's voice and hide the user's identity. The identity, and the operation is simple, and it is not easy to be detected.
本发明实施例中,上述确定与所述控制信息相匹配的幅度调整方式、频率调整方式和相位调整方式,获取与所述幅度调整方式对应的幅度调整参数,获取与所述频率调整方式对应的频率调整参数,以及获取与所述相位调整方式对应的相位调整参数可以这样理解。例如:与食指相匹配的幅度调整方式、频率调整方式和相位调整方式为第一幅度调整方式、第一频率调整方式和第一相位调整方式,获取的幅度调整参数、频率调整参数和相位调整参数为第一幅度调整参数、第一频率调整参数和第一相位调整参数;与中指相匹配的幅度调整方式、频率调整方式和相位调整方式为第二幅度调整方式、第二频率调整方式和第二相位调整方式,获取的幅度调整参数、频率调整参数和相位调整参数为第二幅度调整参数、第二频率调整参数和第二相位调整参数。In the embodiment of the present invention, the amplitude adjustment mode, frequency adjustment mode, and phase adjustment mode matching the control information are determined above, the amplitude adjustment parameters corresponding to the amplitude adjustment mode are obtained, and the frequency adjustment mode corresponding to the frequency adjustment mode is obtained. The frequency adjustment parameter and the acquisition of the phase adjustment parameter corresponding to the phase adjustment manner can be understood in this way. For example: the amplitude adjustment method, frequency adjustment method and phase adjustment method matching the index finger are the first amplitude adjustment method, the first frequency adjustment method and the first phase adjustment method, and the obtained amplitude adjustment parameters, frequency adjustment parameters and phase adjustment parameters It is the first amplitude adjustment parameter, the first frequency adjustment parameter and the first phase adjustment parameter; the amplitude adjustment mode, frequency adjustment mode and phase adjustment mode matching the middle finger are the second amplitude adjustment mode, the second frequency adjustment mode and the second In the phase adjustment mode, the obtained amplitude adjustment parameters, frequency adjustment parameters and phase adjustment parameters are second amplitude adjustment parameters, second frequency adjustment parameters and second phase adjustment parameters.
这样,按照第一幅度调整参数、第一频率调整参数和第一相位调整参数,可以将麦克风采集的声音信号的幅度调小20分贝,频率调大1000赫兹,相位调大60度;按照第二幅度调整参数、第二频率调整参数和第二相位调整参数,可以将麦克风采集的声音信号的幅度调小30分贝,频率调小500赫兹,相位调小40度。当然,这里的幅度、频率和相位调整的大小可以是用户任意自定义的数值。这样在用户不想自己身份被认出时,使用指纹控制移动终端对麦克风采集的声音信号进行处理,隐藏了用户的身份,使通话的安全性得到提高。当然,在这里除了获取指纹信息以外也可以获取其他的信息,这样可以进行多元化的调整。In this way, according to the first amplitude adjustment parameter, the first frequency adjustment parameter and the first phase adjustment parameter, the amplitude of the sound signal collected by the microphone can be reduced by 20 decibels, the frequency can be increased by 1000 Hz, and the phase can be adjusted by 60 degrees; according to the second The amplitude adjustment parameter, the second frequency adjustment parameter and the second phase adjustment parameter can reduce the amplitude of the sound signal collected by the microphone by 30 decibels, the frequency by 500 Hz, and the phase by 40 degrees. Of course, the magnitudes of the amplitude, frequency and phase adjustment here can be arbitrary user-defined values. In this way, when the user does not want his identity to be recognized, the fingerprint is used to control the mobile terminal to process the sound signal collected by the microphone, which hides the user's identity and improves the security of the call. Of course, in addition to obtaining fingerprint information, other information can also be obtained here, so that diversified adjustments can be made.
本发明实施例的声音信号处理方法,获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,确定与所述控制信息相匹配的声音处理方式;获取与所述声音处理方式对应的变声处理参数;按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。这样可以根据获取的目标信息查找匹配的声音处理方式,并获取声音处理参数,对麦克风采集的声音信号进行处理,这样在声音处理之后很难辨别是哪位用户,这样用户的身份得以隐藏,通话的安全性得到了提高。In the sound signal processing method of the embodiment of the present invention, target information is obtained, and the target information includes at least one item of position information, temperature information, face information and fingerprint information; and it is judged whether the target information is preset for controlling sound control information; if the target information is the control information, determine the sound processing method that matches the control information; obtain the sound modification processing parameters corresponding to the sound processing method; according to the sound modification processing parameters, performing voice changing processing on the sound signal collected by the microphone of the mobile terminal; and sending the sound signal after the sound changing processing to the target terminal. In this way, the matching sound processing method can be found according to the obtained target information, and the sound processing parameters can be obtained to process the sound signal collected by the microphone, so that it is difficult to identify which user is after the sound processing, so that the user's identity can be hidden, and the call security has been improved.
第三实施例third embodiment
参见图3,图3是本发明实施例提供的移动终端的结构图,该移动终端能实现第一实施例至第二实施例中的声音信号处理方法的细节,并达到相同的效果。如图3所示,移动终端300包括获取模块301、判断模块302、处理模块303和发送模块304;其中,获取模块301和判断模块302连接,判断模块302和处理模块303连接,处理模块303和发送模块304连接。Referring to FIG. 3, FIG. 3 is a structural diagram of a mobile terminal provided by an embodiment of the present invention. The mobile terminal can implement the details of the sound signal processing methods in the first to second embodiments and achieve the same effect. As shown in Figure 3, the mobile terminal 300 includes an acquisition module 301, a judgment module 302, a processing module 303 and a sending module 304; The sending module 304 is connected.
获取模块301,用于获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项。The acquiring module 301 is configured to acquire target information, where the target information includes at least one item of location information, temperature information, face information and fingerprint information.
判断模块302,用于判断所述获取模块301获取的目标信息是否为预设用于控制声音的控制信息。The judging module 302 is configured to judge whether the target information acquired by the acquiring module 301 is preset control information for controlling sound.
处理模块303,用于若所述判断模块302判断所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理。A processing module 303, configured to, if the judging module 302 judges that the target information is the control information, use a sound processing method that matches the control information to change the sound of the sound signal collected by the microphone of the mobile terminal deal with.
发送模块304,用于向目标终端发送经过所述处理模块303变声处理后的所述声音信号。The sending module 304 is configured to send the sound signal processed by the processing module 303 to the target terminal.
可选的,如图4所示,所述处理模块303,包括:Optionally, as shown in FIG. 4, the processing module 303 includes:
确定单元3031,用于确定与所述控制信息相匹配的声音处理方式。The determining unit 3031 is configured to determine a sound processing mode that matches the control information.
获取单元3032,用于获取与所述确定单元3031确定的声音处理方式对应的变声处理参数。The acquiring unit 3032 is configured to acquire the voice changing processing parameters corresponding to the voice processing manner determined by the determining unit 3031 .
处理单元3033,用于按照所述获取单元3032获取的变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理。The processing unit 3033 is configured to perform voice modification processing on the sound signal collected by the microphone of the mobile terminal according to the voice modification processing parameters acquired by the acquisition unit 3032 .
可选的,所述控制信息包括位置信息,所述确定单元3031用于确定与所述控制信息相匹配的幅度调整方式。Optionally, the control information includes position information, and the determining unit 3031 is configured to determine an amplitude adjustment manner that matches the control information.
所述获取单元3032用于获取与所述幅度调整方式对应的幅度调整参数。The acquiring unit 3032 is configured to acquire an amplitude adjustment parameter corresponding to the amplitude adjustment mode.
所述处理单元3033用于按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整。The processing unit 3033 is configured to adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter.
可选的,所述控制信息包括温度信息,所述确定单元3031用于确定与所述控制信息相匹配的幅度调整方式和频率调整方式。Optionally, the control information includes temperature information, and the determining unit 3031 is configured to determine an amplitude adjustment mode and a frequency adjustment mode that match the control information.
所述获取单元3032用于获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述频率调整方式对应的频率调整参数。The acquiring unit 3032 is configured to acquire an amplitude adjustment parameter corresponding to the amplitude adjustment mode, and acquire a frequency adjustment parameter corresponding to the frequency adjustment mode.
如图5所示,所述处理单元3033,包括:As shown in Figure 5, the processing unit 3033 includes:
第一幅度调整子单元30331,用于按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整。The first amplitude adjustment subunit 30331 is configured to adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter.
第一频率调整子单元30332,用于按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整。The first frequency adjustment subunit 30332 is configured to adjust the frequency of the sound signal collected by the microphone of the mobile terminal according to the frequency adjustment parameter.
可选的,所述控制信息包括人脸信息,所述确定单元3031用于确定与所述控制信息相匹配的幅度调整方式和滤波方式。Optionally, the control information includes face information, and the determining unit 3031 is configured to determine an amplitude adjustment mode and a filtering mode that match the control information.
所述获取单元3032用于获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述滤波方式对应的滤波参数。The acquiring unit 3032 is configured to acquire the amplitude adjustment parameter corresponding to the amplitude adjustment mode, and acquire the filtering parameter corresponding to the filtering mode.
如图6所示,所述处理单元3033,包括:As shown in Figure 6, the processing unit 3033 includes:
第二幅度调整子单元30333,用于按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整。The second amplitude adjustment subunit 30333 is configured to adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter.
滤波调整子单元30334,用于按照所述滤波参数,对所述移动终端的麦克风采集的声音信号进行滤波。The filter adjustment subunit 30334 is configured to filter the sound signal collected by the microphone of the mobile terminal according to the filter parameters.
可选的,所述控制信息包括指纹信息,所述确定单元3031用于确定与所述控制信息相匹配的幅度调整方式、频率调整方式和相位调整方式。Optionally, the control information includes fingerprint information, and the determining unit 3031 is configured to determine an amplitude adjustment mode, a frequency adjustment mode, and a phase adjustment mode that match the control information.
所述获取单元3032用于获取与所述幅度调整方式对应的幅度调整参数,获取与所述频率调整方式对应的频率调整参数,以及获取与所述相位调整方式对应的相位调整参数。The acquiring unit 3032 is configured to acquire an amplitude adjustment parameter corresponding to the amplitude adjustment mode, acquire a frequency adjustment parameter corresponding to the frequency adjustment mode, and acquire a phase adjustment parameter corresponding to the phase adjustment mode.
如图7所示,所述处理单元3033,包括:As shown in Figure 7, the processing unit 3033 includes:
第三幅度调整子单元30335,用于按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整。The third amplitude adjustment subunit 30335 is configured to adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter.
第二频率调整子单元30336,用于按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整。The second frequency adjustment subunit 30336 is configured to adjust the frequency of the sound signal collected by the microphone of the mobile terminal according to the frequency adjustment parameter.
相位调整子单元30337,用于按照所述相位调整参数,对所述移动终端的麦克风采集的声音信号进行相位调整。The phase adjustment subunit 30337 is configured to perform phase adjustment on the sound signal collected by the microphone of the mobile terminal according to the phase adjustment parameter.
本发明实施例的移动终端,获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。这样可以根据获取的目标信息查找匹配的声音处理方式,对声音信号进行变声处理,从而可以隐藏用户的身份,提高了通话的安全性。The mobile terminal according to the embodiment of the present invention acquires target information, and the target information includes at least one item of position information, temperature information, face information and fingerprint information; and judges whether the target information is a control preset for controlling sound information; if the target information is the control information, then adopt a sound processing method that matches the control information to perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal; send the voice-changing signal to the target terminal The processed sound signal. In this way, a matching sound processing method can be found according to the acquired target information, and the sound signal can be changed into sound, so that the identity of the user can be hidden and the security of the call can be improved.
第四实施例Fourth embodiment
参见图8,图8是本发明实施例提供的移动终端的结构图,该移动终端能实现第一实施例至第二实施例中的声音信号处理方法的细节,并达到相同的效果。如图8所示,移动终端800包括:至少一个处理器801、存储器802、至少一个网络接口804和用户接口803。移动终端800中的各个组件通过总线系统805耦合在一起。可理解,总线系统805用于实现这些组件之间的连接通信。总线系统805除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统805。Referring to FIG. 8 , FIG. 8 is a structural diagram of a mobile terminal provided by an embodiment of the present invention. The mobile terminal can implement the details of the sound signal processing methods in the first embodiment to the second embodiment, and achieve the same effect. As shown in FIG. 8 , a mobile terminal 800 includes: at least one processor 801 , a memory 802 , at least one network interface 804 and a user interface 803 . Various components in the mobile terminal 800 are coupled together through a bus system 805 . It can be understood that the bus system 805 is used to realize connection and communication between these components. In addition to the data bus, the bus system 805 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 805 in FIG. 8 for clarity of illustration.
其中,用户接口803可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(track ball)、触感板或者触摸屏等。Wherein, the user interface 803 may include a display, a keyboard or a pointing device (for example, a mouse, a track ball (track ball), a touch panel or a touch screen, and the like.
可以理解,本发明实施例中的存储器802可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable P ROM,EPROM)、电可擦除可编程只读存储器(Electrically EP ROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous D RAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSD RAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SD RAM,ESDRAM)、同步连接动态随机存取存储器(Synch link D RAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器802旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 802 in the embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable P ROM, EPROM), electronic Erasable programmable read-only memory (Electrically EP ROM, EEPROM) or flash memory. 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 Rate SD RAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SD RAM, ESDRAM), synchronous connection dynamic random access memory (Synch link D RAM, SLDRAM) and Direct Memory Bus Random Access Memory (Direct Rambus RAM, DRRAM). Memory 802 of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器802存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统8021和应用程序8022。In some implementations, the memory 802 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 8021 and an application program 8022 .
其中,操作系统8021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序8022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序8022中。Among them, the operating system 8021 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 8022 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 8022 .
在本发明实施例中,通过调用存储器802存储的程序或指令,具体的,可以是应用程序8022中存储的程序或指令,处理器801用于:获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。In this embodiment of the present invention, by calling the program or instruction stored in the memory 802, specifically, the program or instruction stored in the application program 8022, the processor 801 is configured to: obtain target information, the target information includes location information, At least one of temperature information, face information and fingerprint information; judging whether the target information is preset control information for controlling sound; if the target information is the control information, using the control information The matching sound processing method is to perform sound modification processing on the sound signal collected by the microphone of the mobile terminal; and send the sound signal after the sound modification processing to the target terminal.
上述本发明实施例揭示的方法可以应用于处理器801中,或者由处理器801实现。处理器801可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器801中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器801可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器802,处理器801读取存储器802中的信息,结合其硬件完成上述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 801 or implemented by the processor 801 . The processor 801 may be an integrated circuit chip with 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 801 or instructions in the form of software. The above-mentioned processor 801 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 802, and the processor 801 reads the information in the memory 802, and completes the steps of the above method in combination with its hardware.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein 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 a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选的,处理器801还用于:确定与所述控制信息相匹配的声音处理方式;获取与所述声音处理方式对应的变声处理参数;按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理。Optionally, the processor 801 is further configured to: determine a sound processing mode that matches the control information; acquire a voice changing processing parameter corresponding to the sound processing mode; The sound signal collected by the microphone is processed for sound change.
可选的,所述控制信息包括位置信息,处理器801还用于:确定与所述控制信息相匹配的幅度调整方式;获取与所述幅度调整方式对应的幅度调整参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整。Optionally, the control information includes position information, and the processor 801 is further configured to: determine an amplitude adjustment mode that matches the control information; acquire an amplitude adjustment parameter corresponding to the amplitude adjustment mode; parameter, and adjust the amplitude of the sound signal collected by the microphone of the mobile terminal.
可选的,所述控制信息包括温度信息,处理器801还用于:确定与所述控制信息相匹配的幅度调整方式和频率调整方式;获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述频率调整方式对应的频率调整参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;以及按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整。Optionally, the control information includes temperature information, and the processor 801 is further configured to: determine an amplitude adjustment mode and a frequency adjustment mode that match the control information; acquire an amplitude adjustment parameter corresponding to the amplitude adjustment mode, and Acquire a frequency adjustment parameter corresponding to the frequency adjustment mode; adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter; and adjust the frequency of the microphone of the mobile terminal according to the frequency adjustment parameter The frequency of the collected sound signal is adjusted.
可选的,所述控制信息包括人脸信息,处理器801还用于:确定与所述控制信息相匹配的幅度调整方式和滤波方式;获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述滤波方式对应的滤波参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;以及按照所述滤波参数,对所述移动终端的麦克风采集的声音信号进行滤波。Optionally, the control information includes face information, and the processor 801 is further configured to: determine an amplitude adjustment mode and a filtering mode that match the control information; obtain an amplitude adjustment parameter corresponding to the amplitude adjustment mode, and Obtain a filter parameter corresponding to the filtering method; adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter; and adjust the sound collected by the microphone of the mobile terminal according to the filter parameter The signal is filtered.
可选的,所述控制信息包括指纹信息,处理器801还用于:确定与所述控制信息相匹配的幅度调整方式、频率调整方式和相位调整方式;获取与所述幅度调整方式对应的幅度调整参数,获取与所述频率调整方式对应的频率调整参数,以及获取与所述相位调整方式对应的相位调整参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整;以及按照所述相位调整参数,对所述移动终端的麦克风采集的声音信号进行相位调整。Optionally, the control information includes fingerprint information, and the processor 801 is further configured to: determine an amplitude adjustment mode, a frequency adjustment mode, and a phase adjustment mode that match the control information; acquire an amplitude adjustment mode corresponding to the amplitude adjustment mode Adjusting parameters, acquiring frequency adjustment parameters corresponding to the frequency adjustment mode, and acquiring phase adjustment parameters corresponding to the phase adjustment mode; adjusting the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameters adjusting: performing frequency adjustment on the sound signal collected by the microphone of the mobile terminal according to the frequency adjustment parameter; and performing phase adjustment on the sound signal collected by the microphone of the mobile terminal according to the phase adjustment parameter.
移动终端800能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 800 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
本发明实施例的移动终端中,获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。这样可以根据获取的目标信息查找匹配的声音处理方式,对声音信号进行变声处理,从而可以隐藏用户的身份,提高了通话的安全性。In the mobile terminal according to the embodiment of the present invention, the target information is acquired, and the target information includes at least one item of position information, temperature information, face information and fingerprint information; it is judged whether the target information is preset for controlling sound Control information; if the target information is the control information, then use a sound processing method that matches the control information to perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal; The sound signal after the sound change processing. In this way, a matching sound processing method can be found according to the acquired target information, and the sound signal can be changed into sound, so that the identity of the user can be hidden and the security of the call can be improved.
第五实施例fifth embodiment
请参阅图9,图9是本发明实施提供的移动终端的结构图,该移动终端能能实现第一实施例和第二实施例中的声音信号处理方法的细节,并达到相同的效果。如图9所示,移动终端900包括射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、处理器950、音频电路960、通信模块970、和电源980。Please refer to FIG. 9. FIG. 9 is a structural diagram of a mobile terminal provided by the present invention. The mobile terminal can implement the details of the sound signal processing methods in the first embodiment and the second embodiment, and achieve the same effect. As shown in FIG. 9 , a mobile terminal 900 includes a radio frequency (Radio Frequency, RF) circuit 910 , a memory 920 , an input unit 930 , a display unit 940 , a processor 950 , an audio circuit 960 , a communication module 970 , and a power supply 980 .
其中,输入单元930可用于接收用户输入的数字或字符信息,以及产生与移动终端900的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元930可以包括触控面板931。触控面板931,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器950,并能接收处理器950发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 930 can be used to receive number or character information input by the user, and generate signal input related to the user setting and function control of the mobile terminal 900 . Specifically, in the embodiment of the present invention, the input unit 930 may include a touch panel 931 . The touch panel 931, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 931 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, 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, converts it into contact coordinates, and sends it to the to the processor 950, and can receive and execute commands sent by the processor 950. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 931, the input unit 930 may also include other input devices 932, 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.
其中,显示单元940可用于显示由用户输入的信息或提供给用户的信息以及移动终端900的各种菜单界面。显示单元940可包括显示面板941,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。Wherein, the display unit 940 can be used to display information input by the user or provided to the user and various menu interfaces of the mobile terminal 900 . The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板931可以覆盖显示面板941,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器950以确定触摸事件的类型,随后处理器950根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 931 can cover the display panel 941 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 950 to determine the type of the touch event, and then the processor The 950 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.
其中处理器950是移动终端900的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器921内的软件程序和/或模块,以及调用存储在第二存储器922内的数据,执行移动终端900的各种功能和处理数据,从而对移动终端900进行整体监控。可选的,处理器950可包括一个或多个处理单元。Wherein the processor 950 is the control center of the mobile terminal 900, utilizes various interfaces and lines to connect various parts of the whole mobile phone, and runs or executes the software programs and/or modules stored in the first memory 921, and calls the software programs and/or modules stored in the second memory 921. The data in the memory 922 executes various functions of the mobile terminal 900 and processes data, so as to monitor the mobile terminal 900 as a whole. Optionally, the processor 950 may include one or more processing units.
在本发明实施例中,通过调用存储该第一存储器921内的软件程序和/或模块和/或该第二存储器922内的数据,处理器950用于:获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。In the embodiment of the present invention, by calling the software programs and/or modules stored in the first memory 921 and/or the data in the second memory 922, the processor 950 is configured to: obtain target information, the target information includes At least one of location information, temperature information, face information and fingerprint information; judging whether the target information is preset control information for controlling sound; if the target information is the control information, then adopt the The voice processing method matched with the control information is used to perform voice modification processing on the voice signal collected by the microphone of the mobile terminal; and send the voice signal after the voice modification processing to the target terminal.
可选的,处理器950还用于:确定与所述控制信息相匹配的声音处理方式;获取与所述声音处理方式对应的变声处理参数;按照所述变声处理参数,对所述移动终端的麦克风采集的声音信号进行变声处理。Optionally, the processor 950 is further configured to: determine a sound processing mode that matches the control information; acquire a voice changing processing parameter corresponding to the sound processing mode; The sound signal collected by the microphone is processed for sound change.
可选的,所述控制信息包括位置信息,处理器950还用于:确定与所述控制信息相匹配的幅度调整方式;获取与所述幅度调整方式对应的幅度调整参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整。Optionally, the control information includes position information, and the processor 950 is further configured to: determine an amplitude adjustment mode that matches the control information; obtain an amplitude adjustment parameter corresponding to the amplitude adjustment mode; parameter, and adjust the amplitude of the sound signal collected by the microphone of the mobile terminal.
可选的,所述控制信息包括温度信息,处理器950还用于:确定与所述控制信息相匹配的幅度调整方式和频率调整方式;获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述频率调整方式对应的频率调整参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;以及按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整。Optionally, the control information includes temperature information, and the processor 950 is further configured to: determine an amplitude adjustment mode and a frequency adjustment mode that match the control information; acquire an amplitude adjustment parameter corresponding to the amplitude adjustment mode, and Acquire a frequency adjustment parameter corresponding to the frequency adjustment mode; adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter; and adjust the frequency of the microphone of the mobile terminal according to the frequency adjustment parameter The frequency of the collected sound signal is adjusted.
可选的,所述控制信息包括人脸信息,处理器950还用于:确定与所述控制信息相匹配的幅度调整方式和滤波方式;获取与所述幅度调整方式对应的幅度调整参数,以及获取与所述滤波方式对应的滤波参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;以及按照所述滤波参数,对所述移动终端的麦克风采集的声音信号进行滤波。Optionally, the control information includes face information, and the processor 950 is further configured to: determine an amplitude adjustment mode and a filtering mode that match the control information; acquire an amplitude adjustment parameter corresponding to the amplitude adjustment mode, and Obtain a filter parameter corresponding to the filtering method; adjust the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameter; and adjust the sound collected by the microphone of the mobile terminal according to the filter parameter The signal is filtered.
可选的,所述控制信息包括指纹信息,处理器950还用于:确定与所述控制信息相匹配的幅度调整方式、频率调整方式和相位调整方式;获取与所述幅度调整方式对应的幅度调整参数,获取与所述频率调整方式对应的频率调整参数,以及获取与所述相位调整方式对应的相位调整参数;按照所述幅度调整参数,对所述移动终端的麦克风采集的声音信号进行幅度调整;按照所述频率调整参数,对所述移动终端的麦克风采集的声音信号进行频率调整;以及按照所述相位调整参数,对所述移动终端的麦克风采集的声音信号进行相位调整。Optionally, the control information includes fingerprint information, and the processor 950 is further configured to: determine an amplitude adjustment mode, a frequency adjustment mode, and a phase adjustment mode that match the control information; obtain an amplitude adjustment mode corresponding to the amplitude adjustment mode Adjusting parameters, acquiring frequency adjustment parameters corresponding to the frequency adjustment mode, and acquiring phase adjustment parameters corresponding to the phase adjustment mode; adjusting the amplitude of the sound signal collected by the microphone of the mobile terminal according to the amplitude adjustment parameters adjusting: performing frequency adjustment on the sound signal collected by the microphone of the mobile terminal according to the frequency adjustment parameter; and performing phase adjustment on the sound signal collected by the microphone of the mobile terminal according to the phase adjustment parameter.
移动终端900能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 900 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的移动终端中,获取目标信息,所述目标信息包括位置信息、温度信息、人脸信息和指纹信息中的至少一项;判断所述目标信息是否为预设用于控制声音的控制信息;若所述目标信息为所述控制信息,则采用与所述控制信息相匹配的声音处理方式,对所述移动终端的麦克风采集的声音信号进行变声处理;向目标终端发送经过所述变声处理后的所述声音信号。这样可以根据获取的目标信息查找匹配的声音处理方式,对声音信号进行变声处理,从而可以隐藏用户的身份,提高了通话的安全性。In the mobile terminal according to the embodiment of the present invention, the target information is acquired, and the target information includes at least one item of position information, temperature information, face information and fingerprint information; it is judged whether the target information is preset for controlling sound Control information; if the target information is the control information, then use a sound processing method that matches the control information to perform sound-changing processing on the sound signal collected by the microphone of the mobile terminal; The sound signal after the sound change processing. In this way, a matching sound processing method can be found according to the acquired target information, and the sound signal can be changed into sound, so that the identity of the user can be hidden and the security of the call can be improved.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein 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. Those skilled in the art 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 shown 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 the embodiment of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611191366.7ACN106406809B (en) | 2016-12-21 | 2016-12-21 | Sound signal processing method and mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611191366.7ACN106406809B (en) | 2016-12-21 | 2016-12-21 | Sound signal processing method and mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN106406809Atrue CN106406809A (en) | 2017-02-15 |
| CN106406809B CN106406809B (en) | 2023-06-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611191366.7AActiveCN106406809B (en) | 2016-12-21 | 2016-12-21 | Sound signal processing method and mobile terminal |
| Country | Link |
|---|---|
| CN (1) | CN106406809B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109285555A (en)* | 2017-07-20 | 2019-01-29 | 北京唱吧科技股份有限公司 | A kind of change of voice method, device and mobile terminal |
| CN113571086A (en)* | 2020-04-28 | 2021-10-29 | 阿里巴巴集团控股有限公司 | Sound signal processing method and device, electronic equipment and readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060206320A1 (en)* | 2005-03-14 | 2006-09-14 | Li Qi P | Apparatus and method for noise reduction and speech enhancement with microphones and loudspeakers |
| CN1937663A (en)* | 2006-09-30 | 2007-03-28 | 华为技术有限公司 | Method, system and device for realizing variable voice telephone business |
| CN101304391A (en)* | 2008-06-30 | 2008-11-12 | 腾讯科技(深圳)有限公司 | Voice call method and system based on instant communication system |
| US20140029755A1 (en)* | 2012-07-30 | 2014-01-30 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling sound signal output |
| CN103632672A (en)* | 2012-08-28 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Voice-changing system, voice-changing method, man-machine interaction system and man-machine interaction method |
| CN104299619A (en)* | 2014-09-29 | 2015-01-21 | 广东欧珀移动通信有限公司 | Method and device for processing audio file |
| CN104811565A (en)* | 2015-04-30 | 2015-07-29 | 努比亚技术有限公司 | Voice change communication realization method and terminal |
| WO2015147383A1 (en)* | 2014-03-28 | 2015-10-01 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
| CN105049646A (en)* | 2015-07-13 | 2015-11-11 | 宇龙计算机通信科技(深圳)有限公司 | Voice change conversation method, device and terminal |
| CN105611458A (en)* | 2015-11-11 | 2016-05-25 | 广东欧珀移动通信有限公司 | Directed recording control method and device of mobile terminal |
| JP2016136299A (en)* | 2015-01-23 | 2016-07-28 | 株式会社日本総合研究所 | Authentication server, voiceprint authentication system, and voiceprint authentication method |
| CN105872253A (en)* | 2016-05-31 | 2016-08-17 | 腾讯科技(深圳)有限公司 | Live broadcast sound processing method and mobile terminal |
| CN105979084A (en)* | 2016-04-29 | 2016-09-28 | 维沃移动通信有限公司 | Voice communication processing method and communication terminal |
| US20160299556A1 (en)* | 2015-04-08 | 2016-10-13 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
| CN106101927A (en)* | 2016-06-29 | 2016-11-09 | 维沃移动通信有限公司 | A kind of acoustic signal processing method, chip and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060206320A1 (en)* | 2005-03-14 | 2006-09-14 | Li Qi P | Apparatus and method for noise reduction and speech enhancement with microphones and loudspeakers |
| CN1937663A (en)* | 2006-09-30 | 2007-03-28 | 华为技术有限公司 | Method, system and device for realizing variable voice telephone business |
| CN101304391A (en)* | 2008-06-30 | 2008-11-12 | 腾讯科技(深圳)有限公司 | Voice call method and system based on instant communication system |
| US20140029755A1 (en)* | 2012-07-30 | 2014-01-30 | Samsung Electronics Co., Ltd. | Method and apparatus for controlling sound signal output |
| CN103632672A (en)* | 2012-08-28 | 2014-03-12 | 腾讯科技(深圳)有限公司 | Voice-changing system, voice-changing method, man-machine interaction system and man-machine interaction method |
| US20150278498A1 (en)* | 2014-03-28 | 2015-10-01 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
| WO2015147383A1 (en)* | 2014-03-28 | 2015-10-01 | Lg Electronics Inc. | Mobile terminal and method of controlling the same |
| CN104299619A (en)* | 2014-09-29 | 2015-01-21 | 广东欧珀移动通信有限公司 | Method and device for processing audio file |
| JP2016136299A (en)* | 2015-01-23 | 2016-07-28 | 株式会社日本総合研究所 | Authentication server, voiceprint authentication system, and voiceprint authentication method |
| US20160299556A1 (en)* | 2015-04-08 | 2016-10-13 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
| CN104811565A (en)* | 2015-04-30 | 2015-07-29 | 努比亚技术有限公司 | Voice change communication realization method and terminal |
| CN105049646A (en)* | 2015-07-13 | 2015-11-11 | 宇龙计算机通信科技(深圳)有限公司 | Voice change conversation method, device and terminal |
| CN105611458A (en)* | 2015-11-11 | 2016-05-25 | 广东欧珀移动通信有限公司 | Directed recording control method and device of mobile terminal |
| CN105979084A (en)* | 2016-04-29 | 2016-09-28 | 维沃移动通信有限公司 | Voice communication processing method and communication terminal |
| CN105872253A (en)* | 2016-05-31 | 2016-08-17 | 腾讯科技(深圳)有限公司 | Live broadcast sound processing method and mobile terminal |
| CN106101927A (en)* | 2016-06-29 | 2016-11-09 | 维沃移动通信有限公司 | A kind of acoustic signal processing method, chip and electronic equipment |
| Title |
|---|
| JERIC RYAN R. DE JOSEF等: "Ultrasonic Key Recognition: Security Algorithm for Pre-composed High Frequency Sound as a Mode of Unlocking a Security Lock", IEEE, pages 655 - 660* |
| 丁雪洁;李彬;韦迪;张萌;孙德刚;: "基于声信道的隐蔽信息传输关键技术", 信息安全研究, no. 02, pages 131 - 136* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109285555A (en)* | 2017-07-20 | 2019-01-29 | 北京唱吧科技股份有限公司 | A kind of change of voice method, device and mobile terminal |
| CN113571086A (en)* | 2020-04-28 | 2021-10-29 | 阿里巴巴集团控股有限公司 | Sound signal processing method and device, electronic equipment and readable storage medium |
| CN113571086B (en)* | 2020-04-28 | 2022-07-08 | 阿里巴巴集团控股有限公司 | Sound signal processing method and device, electronic equipment and readable storage medium |
| Publication number | Publication date |
|---|---|
| CN106406809B (en) | 2023-06-23 |
| Publication | Publication Date | Title |
|---|---|---|
| CN107105367B (en) | Audio signal processing method and terminal | |
| CN107835321B (en) | Incoming call processing method and mobile terminal | |
| CN109461117B (en) | Image processing method and mobile terminal | |
| CN105388995A (en) | Systems and Methods for Shape Input and Output for a Haptically-Enabled Deformable Surface | |
| CN106791109A (en) | A kind of sound prompting method and mobile terminal | |
| CN105260161A (en) | Method for application software volume control and mobile terminal | |
| CN107369459A (en) | A kind of audio-frequency processing method and mobile terminal | |
| CN103716309A (en) | Security authentication method and terminal | |
| CN108683968A (en) | Display control method and related products | |
| CN108038360B (en) | A kind of operation mode switching method and mobile terminal | |
| CN107861669B (en) | Switching method of user system and mobile terminal | |
| CN110287925A (en) | reading page turning control method and related product | |
| CN108073405B (en) | Application program unloading method and mobile terminal | |
| CN110188666A (en) | Vein collection method and related products | |
| CN110765502A (en) | Information processing methods and related products | |
| CN110210395B (en) | Vein image acquisition method and related product | |
| WO2017161824A1 (en) | Method and device for controlling terminal | |
| CN107613193A (en) | A camera control method and mobile terminal | |
| CN108628644A (en) | A kind of the startup method, apparatus and mobile terminal of application | |
| CN107690032B (en) | Call control method and mobile terminal | |
| CN110221696B (en) | Eyeball tracking method and related product | |
| CN106406809B (en) | Sound signal processing method and mobile terminal | |
| CN108803983A (en) | Notification message display control method and device, electronic device and storage medium | |
| CN108762648A (en) | Screen operation control method and mobile terminal | |
| CN107944242B (en) | Biometric function disabling method and mobile terminal |
| 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 | ||
| TG01 | Patent term adjustment | ||
| TG01 | Patent term adjustment |