Movatterモバイル変換


[0]ホーム

URL:


CN105681556A - Recording control method and device and mobile terminal - Google Patents

Recording control method and device and mobile terminal
Download PDF

Info

Publication number
CN105681556A
CN105681556ACN201610032276.7ACN201610032276ACN105681556ACN 105681556 ACN105681556 ACN 105681556ACN 201610032276 ACN201610032276 ACN 201610032276ACN 105681556 ACN105681556 ACN 105681556A
Authority
CN
China
Prior art keywords
recording
signal
vibration
mobile phone
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610032276.7A
Other languages
Chinese (zh)
Inventor
李应伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610032276.7ApriorityCriticalpatent/CN105681556A/en
Publication of CN105681556ApublicationCriticalpatent/CN105681556A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a method and a device for controlling sound recording, wherein the method comprises the following steps: receiving a first vibration signal generated by knocking the mobile terminal; processing the first vibration signal to obtain a first processed signal; and judging whether the signal characteristics of the first processing signal are matched with the pre-stored first signal characteristics, and starting recording if the signal characteristics of the first processing signal are matched with the pre-stored first signal characteristics. The embodiment of the invention can simplify the recording control operation process of the mobile terminal and improve the efficiency of the recording control operation.

Description

Translated fromChinese
一种录音控制的方法及装置、移动终端Method and device for recording control, and mobile terminal

技术领域technical field

本发明涉及通讯技术领域,尤其涉及一种录音控制的方法及装置、移动终端。The present invention relates to the technical field of communication, in particular to a recording control method and device, and a mobile terminal.

背景技术Background technique

随着移动终端智能化的迅速发展,移动终端的使用已经非常普及,而人们对利用移动终端来进行录音的需求也日益增长。在现有技术中,常见的录音控制方式为:用户点亮移动终端的显示屏,再在移动终端的显示屏上选择并触摸虚拟录音功能按钮以触发录音。显然,这种录音控制方式过程非常繁琐,降低了录音效率。With the rapid development of mobile terminal intelligence, the use of mobile terminals has become very popular, and people's demand for using mobile terminals to record is also increasing. In the prior art, a common recording control method is as follows: the user lights up the display screen of the mobile terminal, and then selects and touches a virtual recording function button on the display screen of the mobile terminal to trigger recording. Obviously, the process of this recording control method is very cumbersome, which reduces the recording efficiency.

发明内容Contents of the invention

本发明实施例提供一种录音控制方法及装置、移动终端,可以解决现有技术中存在的录音控制过程繁琐,录音效率低的问题。Embodiments of the present invention provide a recording control method and device, and a mobile terminal, which can solve the problems of cumbersome recording control process and low recording efficiency in the prior art.

本发明实施例提供了一种录音控制的方法,其特征在于,包括:An embodiment of the present invention provides a recording control method, which is characterized in that it includes:

接收因移动终端被敲击而产生的第一振动信号;receiving the first vibration signal generated by tapping the mobile terminal;

对所述第一振动信号进行处理,以获得第一处理信号;processing the first vibration signal to obtain a first processed signal;

判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配,如果相匹配,则启动录音。It is judged whether the signal feature of the first processed signal matches the pre-stored first signal feature, and if so, the recording is started.

进一步地,若所述第一处理信号的信号特征与预存储的第一信号特征不匹配,则所述方法还包括:Further, if the signal feature of the first processed signal does not match the pre-stored first signal feature, the method further includes:

输出提示信息,用于提示是否启动录音;Output prompt information to prompt whether to start recording;

接收输入的启动录音的确认指令;receiving an input confirmation command to start recording;

响应所述确认指令,执行所述的启动录音的步骤。In response to the confirmation instruction, execute the step of starting recording.

进一步地,所述启动录音之后,所述方法还包括:Further, after the recording is started, the method further includes:

接收因移动终端被敲击而产生的第二振动信号;receiving a second vibration signal generated by tapping the mobile terminal;

对所述第二振动信号进行处理,以获得第二处理信号;processing the second vibration signal to obtain a second processed signal;

判断所述第二处理信号的信号特征是否与预存储的第二信号特征相匹配,如果相匹配,则停止录音并保存录音内容。It is judged whether the signal feature of the second processed signal matches the pre-stored second signal feature, and if it matches, the recording is stopped and the recording content is saved.

进一步地,所述对所述第一振动信号进行处理,获得第一处理信号包括:Further, the processing the first vibration signal and obtaining the first processed signal includes:

对所述第一振动信号进行放大处理和/或模数转换处理,获得第一处理信号;performing amplification processing and/or analog-to-digital conversion processing on the first vibration signal to obtain a first processed signal;

所述对所述第二振动信号进行处理,获得第二处理信号包括:The processing the second vibration signal and obtaining the second processed signal includes:

对所述第二振动信号进行放大处理和/或模数转换处理,获得第二处理信号。Perform amplification processing and/or analog-to-digital conversion processing on the second vibration signal to obtain a second processed signal.

进一步地,所述第一处理信号的信号特征包括振动频率特征、振动强度特征、振动持续时间特征、振动位置特征中的一种或几种;所述第二处理信号的信号特征包括振动频率特征、振动强度特征、振动持续时间特征、振动位置特征中的一种或几种。Further, the signal features of the first processed signal include one or more of vibration frequency features, vibration intensity features, vibration duration features, and vibration position features; the signal features of the second processed signal include vibration frequency features , one or more of vibration intensity features, vibration duration features, and vibration position features.

进一步地,所述启动录音包括:Further, the start-up recording includes:

判断所述移动终端是否发生通话事件;Judging whether a call event occurs in the mobile terminal;

若判断所述移动终端发生通话事件,则启动对所述通话事件的通话内容的录音。If it is determined that a call event occurs in the mobile terminal, recording of the call content of the call event is started.

进一步地,所述启动对所述通话事件的通话内容的录音之后,所述方法还包括:Further, after the recording of the call content of the call event is started, the method further includes:

判断所述通话事件是否结束;judging whether the call event is over;

若所述通话事件结束,则停止对所述通话内容的录音并保存录音内容。If the call event ends, stop recording the call content and save the recording content.

进一步地,在所述保存录音内容之后,还包括:Further, after the recording content is saved, it also includes:

获取所述移动终端的实时加速度值;Obtain the real-time acceleration value of the mobile terminal;

判断所述实时加速度值是否超过预设加速度值,如果是,从所述移动终端的通讯录中读取指定联系人,和/或,从所述移动终端当前运行的社交应用中读取指定关系用户;Judging whether the real-time acceleration value exceeds a preset acceleration value, if so, reading a specified contact from the address book of the mobile terminal, and/or reading a specified relationship from a social application currently running on the mobile terminal user;

将所述录音内容传送给所述读取指定联系人和/或所述读取指定关系用户。Transmitting the recording content to the read-designated contact and/or the read-designated relationship user.

本发明实施例还提供了一种录音控制的装置,其特征在于,包括:The embodiment of the present invention also provides a recording control device, which is characterized in that it includes:

振动接收模块,用于接收因移动终端被敲击而产生的第一振动信号;The vibration receiving module is used to receive the first vibration signal generated by knocking on the mobile terminal;

处理模块,用于对所述第一振动信号进行处理,获得第一处理信号;A processing module, configured to process the first vibration signal to obtain a first processed signal;

判断模块,用于判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配;A judging module, configured to judge whether the signal feature of the first processed signal matches the pre-stored first signal feature;

录音模块,用于在所述判断模块判断所述第一处理信号的信号特征与预存储的第一信号特征相匹配后,启动录音。The recording module is configured to start recording after the judging module judges that the signal feature of the first processed signal matches the pre-stored first signal feature.

进一步地,所述录音控制的装置还包括Further, the recording control device also includes

提示模块,用于在所述判断模块判断所述第一处理信号的信号特征与预存储的第一信号特征不匹配后,发出提示信息,用于提示是否启动录音;A prompting module, configured to issue a prompting message to prompt whether to start recording after the judging module judges that the signal feature of the first processed signal does not match the pre-stored first signal feature;

接收模块,用于接收输入的启动录音的确认指令;A receiving module, configured to receive an input confirmation instruction to start recording;

所述录音模快,具体用于在所述判断模块判断所述第一处理信号的信号特征与预存储的第一信号特征不匹配后,响应所述确认指令,执行所述的启动录音的步骤。The recording module is specifically used to execute the step of starting recording in response to the confirmation instruction after the judging module judges that the signal feature of the first processed signal does not match the pre-stored first signal feature .

进一步地,所述振动接收模块,还用于在所述录音模块启动录音后,接收因移动终端被敲击而产生的第二振动信号;Further, the vibration receiving module is also configured to receive a second vibration signal generated by tapping the mobile terminal after the recording module starts recording;

处理模块,还用于对所述第二振动信号进行处理,获取第二处理信号;The processing module is further configured to process the second vibration signal to obtain a second processed signal;

判断模块,还用于判断所述第二处理信号的信号特征是否与预存储的第二信号特征相匹配;The judging module is also used to judge whether the signal feature of the second processed signal matches the pre-stored second signal feature;

录音模块,还用于在所述判断模块判断所述处理信号的信号特征与预存储的信号特征相匹配后,停止录音并保存录音内容。The recording module is further configured to stop recording and save the recording content after the judging module judges that the signal feature of the processed signal matches the pre-stored signal feature.

进一步地,所述处理模块,还具体用于对所述第一振动信号进行放大处理和/或模数转换处理,获得第一处理信号。Further, the processing module is also specifically configured to perform amplification processing and/or analog-to-digital conversion processing on the first vibration signal to obtain a first processed signal.

所述处理模块,还具体用于对所述第二振动信号进行放大处理和/或模数转换处理,获得第二处理信号。The processing module is further specifically configured to perform amplification processing and/or analog-to-digital conversion processing on the second vibration signal to obtain a second processed signal.

进一步地,所述录音模块,还具体用于判断是否发生通话事件;若判断所述移动终端发生通话事件,则启动对所述通话事件的通话内容的录音。Further, the recording module is also specifically configured to judge whether a call event occurs; if it is judged that a call event occurs in the mobile terminal, start recording the call content of the call event.

进一步地,所述录音控制的装置还包括Further, the recording control device also includes

所述判断模块,还用于在所述录音模块执行对所述通话事件的通话内容启动录音的操作之后,判断所述通话事件是否结束;The judging module is further configured to judge whether the calling event is over after the recording module starts recording the calling content of the calling event;

所述录音模块具体用于,在启动对所述通话事件的通话内容的录音之后,判断所述通话事件是否结束;若判断为通话事件结束,则停止对所述通话内容的录音并保存录音内容。The recording module is specifically used to, after starting the recording of the call content of the call event, judge whether the call event is over; if it is judged that the call event is over, stop recording the call content and save the recording content .

进一步地,所述录音控制的装置还包括Further, the recording control device also includes

还包括传送模块,用于在所述录音模块保存录音内容之后,It also includes a transmission module, which is used to save the recording content after the recording module,

获取所述移动终端的实时加速度值;Obtain the real-time acceleration value of the mobile terminal;

判断所述实时加速度值是否超过预设加速度值,如果是,从所述移动终端的通讯录中读取指定联系人,和/或,从所述移动终端当前运行的社交应用中读取指定关系用户;Judging whether the real-time acceleration value exceeds a preset acceleration value, if so, reading a specified contact from the address book of the mobile terminal, and/or reading a specified relationship from a social application currently running on the mobile terminal user;

将所述录音内容传送给所述读取指定联系人和/或所述读取指定关系用户。Transmitting the recording content to the read-designated contact and/or the read-designated relationship user.

本发明实施例还提供了一种移动终端,其特征在于,包括上述的录音控制的装置。An embodiment of the present invention also provides a mobile terminal, which is characterized by comprising the above-mentioned recording control device.

与现有技术相比,本发明实施例具有如下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

本发明实施例中,在移动终端被敲击时,移动终端会产生振动信号;移动终端对所述振动信号进行处理后可以获取处理信号;移动终端判断所述处理信号的信号特征是否与预存储的信号特征相匹配,如果相匹配,移动终端启动录音。这样用户需要进行录音时,不需要点亮移动终端的显示屏并选择虚拟录音按钮来触发录音,只需要直接敲击移动终端即可开始录音,极大程度上简化了录音控制操作的过程,同时提高了录音控制操作的效率。In the embodiment of the present invention, when the mobile terminal is tapped, the mobile terminal will generate a vibration signal; the mobile terminal can obtain the processed signal after processing the vibration signal; the mobile terminal judges whether the signal feature of the processed signal is consistent with the pre-stored The signal features of the mobile terminal match, and if they match, the mobile terminal starts recording. In this way, when the user needs to record, he does not need to light up the display screen of the mobile terminal and select the virtual recording button to trigger the recording, but only needs to directly tap the mobile terminal to start recording, which greatly simplifies the process of recording control operation, and at the same time The efficiency of recording control operations has been improved.

附图说明Description of drawings

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

图1是本发明实施例提供的一种录音控制的方法的流程示意图;FIG. 1 is a schematic flowchart of a recording control method provided by an embodiment of the present invention;

图2是本发明实施例提供的另一种录音控制的方法的流程示意图;FIG. 2 is a schematic flowchart of another recording control method provided by an embodiment of the present invention;

图3是本发明实施例提供的另一种录音控制的方法的流程示意图;FIG. 3 is a schematic flowchart of another recording control method provided by an embodiment of the present invention;

图4是本发明实施例提供的一种录音控制的装置的结构示意图;Fig. 4 is a schematic structural diagram of a recording control device provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种录音控制的装置的结构示意图;FIG. 5 is a schematic structural diagram of another recording control device provided by an embodiment of the present invention;

图6是本发明实施例提供的另一种录音控制的装置的结构示意图;6 is a schematic structural diagram of another recording control device provided by an embodiment of the present invention;

图7是本发明实施例提供的另一种录音控制的装置的结构示意图。Fig. 7 is a schematic structural diagram of another recording control device provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本发明实施例提供一种录音控制的方法及装置,可以解决现有技术中存在的录音控制过程繁琐,录音效率低的问题,以下分别说明。Embodiments of the present invention provide a method and device for recording control, which can solve the problems of cumbersome recording control process and low recording efficiency in the prior art, which will be described separately below.

实施例一、Embodiment one,

参考图1,在图1所描述的实施例中,以手机作为执行主体为例,该方法的具体流程可以包括以下步骤:Referring to FIG. 1, in the embodiment described in FIG. 1, taking the mobile phone as the execution subject as an example, the specific flow of the method may include the following steps:

S101、接收因移动终端被敲击而产生的第一振动信号;S101. Receive a first vibration signal generated when the mobile terminal is tapped;

本发明实施例中,例如,用户敲击手机时,导致手机振动,手机上的受话器或扬声器的振膜都会跟着一起振动,振膜就会带动受话器或扬声器的线圈做切割磁力线的运动,从而线圈中就会产生与敲击手机振动频率和振动强度对应的电流信号,所述电流信号是所述第一振动信号的一种,手机接收所述电流信号。值得说明的是,产生第一振动信号的方式有很多种,第一振动信号也包括很多种类,再例如,用户敲击手机时,导致手机振动,手机上的加速度传感随之也会振动从而导致加速度传感器检测到振动对应的加速度信号,所述加速度信号也是所述第一振动信号的一种。In the embodiment of the present invention, for example, when the user knocks on the mobile phone, the mobile phone vibrates, and the receiver or the diaphragm of the speaker on the mobile phone will vibrate together, and the diaphragm will drive the coil of the receiver or speaker to cut the magnetic force line, so that the coil A current signal corresponding to the vibration frequency and vibration intensity of tapping the mobile phone will be generated, the current signal is one of the first vibration signals, and the mobile phone receives the current signal. It is worth noting that there are many ways to generate the first vibration signal, and the first vibration signal also includes many types. For example, when the user taps the mobile phone, the mobile phone vibrates, and the acceleration sensor on the mobile phone will also vibrate accordingly. The acceleration sensor detects an acceleration signal corresponding to the vibration, and the acceleration signal is also a type of the first vibration signal.

S102、对所述第一振动信号进行处理,以获得第一处理信号;S102. Process the first vibration signal to obtain a first processed signal;

本发明实施例中,例如,对S101步骤产生的电流信号进行放大处理和/或模数转换处理,以获得处理后的电流信号,所述处理后的电流信号即为所述第一处理信号的一种。In the embodiment of the present invention, for example, the current signal generated in step S101 is amplified and/or analog-to-digital converted to obtain a processed current signal, and the processed current signal is the first processed signal. A sort of.

S103、判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配,如果相匹配,则执行步骤S104,如果不匹配,则结束本次流程;S103. Judging whether the signal feature of the first processed signal matches the pre-stored first signal feature, if it matches, execute step S104, and if not, end this process;

本发明实施例中,例如,所述处理后的电流信号的信号特征包括电流强度值,手机振动幅度越大,手机上的受话器或扬声器的振膜振动幅度就越大,振膜带动受话器或扬声器的线圈做切割磁力线的运动就越剧烈,从而线圈中产生的与敲击手机振动强度对应的电流信号就越强,所以经过处理后的电流信号的电流强度绝对值也就越大。同理,手机振动幅度越小,电流强度绝对值就越小。判断所述电流强度绝对值与预存储的电流强度绝对值是否匹配,如果能匹配,则执行步骤S104,如果不能匹配,则结束本次流程。In the embodiment of the present invention, for example, the signal characteristics of the processed current signal include the current intensity value. The greater the vibration amplitude of the mobile phone, the greater the vibration amplitude of the receiver or speaker on the mobile phone, and the vibration membrane drives the receiver or speaker. The more intense the motion of the coil cutting the magnetic force line, the stronger the current signal corresponding to the vibration intensity of the knocking mobile phone generated in the coil, so the absolute value of the current intensity of the processed current signal is also greater. Similarly, the smaller the vibration amplitude of the mobile phone, the smaller the absolute value of the current intensity. It is judged whether the absolute value of the current intensity matches the pre-stored absolute value of the current intensity, if they match, step S104 is performed, and if they do not match, this process ends.

本发明实施例中,例如,判断所述电流强度绝对值与预存储的电流强度绝对值是否相同,如果相同,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配,然后执行步骤S104;如果不同,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配,然后则结束本次流程。再例如,判断所述电流强度绝对值与预存储的电流强度绝对值的差值是否在预设的范围内,如果是,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配,然后执行步骤S104;如果不是,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配,然后则结束本次流程。值得说明的是,匹配判断规则可以是预设的规则,本发明实施例对匹配规则不做限定。In the embodiment of the present invention, for example, it is judged whether the absolute value of the current intensity is the same as the absolute value of the pre-stored current intensity, and if they are the same, it is judged that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity, and then execution Step S104: If different, it is judged that the absolute value of the current intensity does not match the absolute value of the pre-stored current intensity, and then this process ends. For another example, it is judged whether the difference between the absolute value of the current intensity and the pre-stored absolute value of the current intensity is within a preset range, and if so, it is judged that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity , and then execute step S104; if not, it is judged that the absolute value of the current intensity does not match the absolute value of the pre-stored current intensity, and then this process ends. It should be noted that the matching judgment rule may be a preset rule, and this embodiment of the present invention does not limit the matching rule.

可选的,本发明实施例中,所述处理后的电流信号的信号特征还可以包括电流正负极性变化频率、电流持续时间、电流发生位置中的一种或多种。Optionally, in the embodiment of the present invention, the signal characteristics of the processed current signal may also include one or more of current positive and negative polarity change frequency, current duration, and current occurrence location.

例如,手机振动频率越高,手机上的受话器或扬声器的振膜振动频率就越高,振膜带动受话器或扬声器的线圈做切割磁力线的运动频率就越高,从而线圈中产生的与敲击手机振动强度对应的电流信号正负极变化就越快,所以经过处理后的电流信号的电流正负极性变化频率也就越高。判断所述电流正负极性变化频率与预存储的电流正负极性变化频率是否匹配,如果能匹配,则执行步骤S104,如果不能匹配,则结束本次流程。For example, the higher the vibration frequency of the mobile phone, the higher the vibration frequency of the diaphragm of the receiver or speaker on the mobile phone, and the higher the frequency of the vibration film driving the coil of the receiver or speaker to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The faster the positive and negative polarity of the current signal corresponding to the vibration intensity changes, the higher the positive and negative polarity change frequency of the processed current signal is. It is judged whether the positive and negative polarity change frequency of the current matches the pre-stored positive and negative polarity change frequency of the current, if they match, step S104 is performed, and if they do not match, this process ends.

再例如,手机振动持续时间越久,手机上的受话器或扬声器的振膜振动时间就越久,振膜带动受话器或扬声器的线圈做切割磁力线的持续时间就越久,从而线圈中产生的与敲击手机振动强度对应的电流信号持续时间就越久,所以经过处理后的电流信号的电流持续时间就越久。判断所述电流持续时间与预存储的电流持续时间是否匹配,如果能匹配,则执行步骤S104,如果不能匹配,则结束本次流程。For another example, the longer the vibration of the mobile phone lasts, the longer the vibrating time of the receiver or the speaker's diaphragm on the mobile phone is, and the longer the duration of the diaphragm driving the coil of the receiver or speaker is to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The duration of the current signal corresponding to the intensity is longer, so the current duration of the processed current signal is longer. It is judged whether the current duration matches the pre-stored current duration, if yes, step S104 is performed, and if not, this process ends.

再例如,手机上有多个受话器,每个受话器都预先对应一个位置信息。当敲击手机使手机发生振动时,离敲击点越近的受话器其振动强度就越大,从而其产生的电流强度值绝对值就越大,通过判断手机上哪个受话器电流强度值绝对值最大,即可获得电流发生位置特征。判断所述电流发生位置与预存储的电流发生位置是否匹配,如果能匹配,则执行步骤S104,如果不能匹配,则结束本次流程。For another example, there are multiple receivers on the mobile phone, and each receiver corresponds to a piece of location information in advance. When the mobile phone is tapped to vibrate the mobile phone, the closer the receiver is to the tap point, the greater the vibration intensity, so the absolute value of the current intensity value generated by it is greater. By judging which receiver on the mobile phone has the largest absolute value of the current intensity value , you can get the location feature of the current generation. It is judged whether the current generation position matches the pre-stored current generation position, if they match, step S104 is performed, and if they do not match, this process ends.

可选的,判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配,既可以是判断第一处理信号的多个信号特征是否同时匹配预存储的第一信号特征,也可以是判断第一处理信号的单一个信号特征是否匹配预存储的第一信号特征。Optionally, judging whether the signal feature of the first processed signal matches the pre-stored first signal feature may be judging whether multiple signal features of the first processed signal match the pre-stored first signal feature at the same time, It may also be judged whether a single signal feature of the first processed signal matches the pre-stored first signal feature.

S104、启动录音。S104, start recording.

本发明实施例中,例如,手机开启麦克风并对麦克风采集到的音频进行录音。In the embodiment of the present invention, for example, the mobile phone turns on the microphone and records the audio collected by the microphone.

在图1所描述的方法中,在移动终端被敲击时,移动终端会产生一个振动信号,如果这个振动信号经过处理后符合预先存储的信号特征,那么移动终端就会开始录音,这样就避免繁琐的录音过程,极大程度上简化录音控制操作的过程,提高录音控制操作的效率。In the method described in Figure 1, when the mobile terminal is tapped, the mobile terminal will generate a vibration signal, and if the vibration signal is processed and conforms to the pre-stored signal characteristics, then the mobile terminal will start recording, thus avoiding The tedious recording process greatly simplifies the process of recording control operation and improves the efficiency of recording control operation.

实施例二、Embodiment two,

参考图2,在图2所描述的实施例中,以手机作为执行主体为例,该方法的具体流程可以包括以下步骤:Referring to FIG. 2, in the embodiment described in FIG. 2, taking the mobile phone as the execution subject as an example, the specific process of the method may include the following steps:

S201、接收因移动终端被敲击而产生的第一振动信号;S201. Receive a first vibration signal generated when the mobile terminal is tapped;

例如,用户敲击手机时,导致手机振动,手机上的受话器或扬声器的振膜都会跟着一起振动,振膜就会带动受话器或扬声器的线圈做切割磁力线的运动,从而线圈中就会产生与敲击手机振动频率和振动强度对应的电流信号,所述电流信号是所述第一振动信号的一种,手机接收所述电流信号。值得说明的是,产生第一振动信号的方式有很多种,第一振动信号也包括很多种类,再例如,用户敲击手机时,导致手机振动,手机上的加速度传感随之也会振动从而导致加速度传感器检测到振动对应的加速度信号,所述加速度信号也是所述第一振动信号的一种。For example, when the user knocks on the mobile phone, the mobile phone vibrates, and the receiver or the diaphragm of the speaker on the mobile phone will vibrate together, and the diaphragm will drive the coil of the receiver or speaker to cut the magnetic field line, so that there will be a vibration in the coil. The current signal corresponding to the vibration frequency and the vibration intensity of the mobile phone is struck, the current signal is one of the first vibration signals, and the mobile phone receives the current signal. It is worth noting that there are many ways to generate the first vibration signal, and the first vibration signal also includes many types. For example, when the user taps the mobile phone, the mobile phone vibrates, and the acceleration sensor on the mobile phone will also vibrate accordingly. The acceleration sensor detects an acceleration signal corresponding to the vibration, and the acceleration signal is also a type of the first vibration signal.

S202、对所述第一振动信号进行处理,以获得第一处理信号;S202. Process the first vibration signal to obtain a first processed signal;

例如,对S201步骤产生的电流信号进行放大处理和/或模数转换处理,以获得处理后的电流信号,所述处理后的电流信号即为所述第一处理信号的一种。For example, the current signal generated in step S201 is amplified and/or analog-to-digital converted to obtain a processed current signal, and the processed current signal is one of the first processed signals.

S203、判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配,如果相匹配,则执行步骤S204,如果不匹配,则执行步骤S205;S203. Judging whether the signal feature of the first processed signal matches the pre-stored first signal feature, if it matches, execute step S204, and if not, execute step S205;

例如,所述处理后的电流信号的信号特征包括电流强度值,手机振动幅度越大,手机上的受话器或扬声器的振膜振动幅度就越大,振膜带动受话器或扬声器的线圈做切割磁力线的运动就越剧烈,从而线圈中产生的与敲击手机振动强度对应的电流信号就越强,所以经过处理后的电流信号的电流强度绝对值也就越大。同理,手机振动幅度越小,电流强度绝对值就越小。判断所述电流强度绝对值与预存储的电流强度绝对值是否匹配,如果能匹配,则执行步骤S204,如果不能匹配,则执行步骤S205。For example, the signal characteristics of the processed current signal include the current intensity value. The greater the vibration amplitude of the mobile phone, the greater the vibration amplitude of the receiver or speaker on the mobile phone. The diaphragm drives the coil of the receiver or speaker to cut the magnetic field line The more violent the movement, the stronger the current signal corresponding to the vibration intensity of the knocking mobile phone generated in the coil, so the absolute value of the current intensity of the processed current signal is also greater. Similarly, the smaller the vibration amplitude of the mobile phone, the smaller the absolute value of the current intensity. It is judged whether the absolute value of the current intensity matches the pre-stored absolute value of the current intensity, and if they match, step S204 is performed, and if they do not match, step S205 is performed.

例如,判断所述电流强度绝对值与预存储的电流强度绝对值是否相同,如果相同,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配,然后执行步骤S204;如果不同,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配,然后则执行步骤S205。再例如,判断所述电流强度绝对值与预存储的电流强度绝对值的差值是否在预设的范围内,如果是,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配,然后执行步骤S204;如果不是,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配,然后则执行步骤S205。值得说明的是,匹配判断规则可以是预设的规则,本发明实施例对匹配规则不做限定。For example, judging whether the absolute value of the current intensity is the same as the absolute value of the pre-stored current intensity, if they are the same, then judging that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity, and then perform step S204; if not, Then it is judged that the absolute value of the current intensity does not match the pre-stored absolute value of the current intensity, and then step S205 is executed. For another example, it is judged whether the difference between the absolute value of the current intensity and the pre-stored absolute value of the current intensity is within a preset range, and if so, it is judged that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity , and then execute step S204; if not, it is determined that the absolute value of the current intensity does not match the pre-stored absolute value of the current intensity, and then execute step S205. It should be noted that the matching judgment rule may be a preset rule, and this embodiment of the present invention does not limit the matching rule.

可选的,所述处理后的电流信号的信号特征还可以包括电流正负极性变化频率、电流持续时间、电流发生位置中的一种或多种。Optionally, the signal characteristics of the processed current signal may also include one or more of current positive and negative polarity change frequency, current duration, and current occurrence location.

例如,手机振动频率越高,手机上的受话器或扬声器的振膜振动频率就越高,振膜带动受话器或扬声器的线圈做切割磁力线的运动频率就越高,从而线圈中产生的与敲击手机振动强度对应的电流信号正负极变化就越快,所以经过处理后的电流信号的电流正负极性变化频率也就越高。判断所述电流正负极性变化频率与预存储的电流正负极性变化频率是否匹配,如果能匹配,则执行步骤S204,如果不能匹配,则执行步骤S205。For example, the higher the vibration frequency of the mobile phone, the higher the vibration frequency of the diaphragm of the receiver or speaker on the mobile phone, and the higher the frequency of the vibration film driving the coil of the receiver or speaker to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The faster the positive and negative polarity of the current signal corresponding to the vibration intensity changes, the higher the positive and negative polarity change frequency of the processed current signal is. It is judged whether the positive and negative polarity change frequency of the current matches the pre-stored positive and negative polarity change frequency of the current, and if they match, step S204 is performed; if not, step S205 is performed.

再例如,手机振动持续时间越久,手机上的受话器或扬声器的振膜振动时间就越久,振膜带动受话器或扬声器的线圈做切割磁力线的持续时间就越久,从而线圈中产生的与敲击手机振动强度对应的电流信号持续时间就越久,所以经过处理后的电流信号的电流持续时间就越久。For another example, the longer the vibration of the mobile phone lasts, the longer the vibrating time of the receiver or the speaker's diaphragm on the mobile phone is, and the longer the duration of the diaphragm driving the coil of the receiver or speaker is to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The duration of the current signal corresponding to the intensity is longer, so the current duration of the processed current signal is longer.

判断所述电流持续时间与预存储的电流持续时间是否匹配,如果能匹配,则执行步骤S204,如果不能匹配,则执行步骤S205。It is judged whether the current duration matches the pre-stored current duration, if yes, step S204 is performed, and if not, step S205 is performed.

再例如,手机上有多个受话器,每个受话器都预先对应一个位置信息。当敲击手机使手机发生振动时,离敲击点越近的受话器其振动强度就越大,从而其产生的电流强度值绝对值就越大,通过判断手机上哪个受话器电流强度值绝对值最大,即可获得电流发生位置特征。判断所述电流发生位置与预存储的电流发生位置是否匹配,如果能匹配,则执行步骤S204,如果不能匹配,则执行步骤S205。For another example, there are multiple receivers on the mobile phone, and each receiver corresponds to a piece of location information in advance. When the mobile phone is tapped to vibrate the mobile phone, the closer the receiver is to the tap point, the greater the vibration intensity, so the absolute value of the current intensity value generated by it is greater. By judging which receiver on the mobile phone has the largest absolute value of the current intensity value , you can get the location feature of the current generation. It is judged whether the current generation position matches the pre-stored current generation position, and if they match, step S204 is performed, and if they do not match, step S205 is performed.

可选的,判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配,既可以是判断第一处理信号的多个信号特征是否同时匹配预存储的第一信号特征,也可以是判断第一处理信号的单一个信号特征是否匹配预存储的第一信号特征。Optionally, judging whether the signal feature of the first processed signal matches the pre-stored first signal feature may be judging whether multiple signal features of the first processed signal match the pre-stored first signal feature at the same time, It may also be judged whether a single signal feature of the first processed signal matches the pre-stored first signal feature.

S204、启动录音;S204, start recording;

例如,手机开启麦克风并对麦克风采集到的音频进行录音。For example, the mobile phone turns on the microphone and records the audio collected by the microphone.

S205、输出提示信息,用于提示是否启动录音;S205. Output prompt information for prompting whether to start recording;

例如,手机通过扬声器输出语音提示信息“需要开始录音么”,提示用户是否需要启动录音;再例如,手机通过显示屏输出文字提示信息“需要开始录音么”,提示用户是否需要启动录音。值得说明的是,本发明实施例不对输出提示信息的方式和途径进行限定。For example, the mobile phone outputs a voice prompt message "Do you need to start recording" through the speaker to prompt the user whether to start recording; another example, the mobile phone outputs a text prompt message "Do you need to start recording" through the display screen to prompt the user whether to start recording. It is worth noting that the embodiment of the present invention does not limit the manner and way of outputting the prompt information.

S206、接收输入的启动录音的确认指令;响应所述确认指令,执行所述的启动录音的步骤。S206. Receive an input confirmation instruction for starting recording; and execute the step of starting recording in response to the confirmation instruction.

例如,手机接收用户点击显示屏上显示的确认启动录音的虚拟确认键;再例如,手机接收用户说出的确认启动录音的语音指令;再例如,手机摄像头接收用户用于确认启动录音的手势动作。手机接收输入的启动录音的确认指令后,执行步骤S204。For example, the mobile phone receives the user's click on the virtual confirmation button displayed on the display screen to confirm the start of recording; another example, the mobile phone receives the voice command spoken by the user to confirm the start of recording; another example, the mobile phone camera receives the user's gesture for confirming the start of recording . After the mobile phone receives the input confirmation instruction for starting the recording, step S204 is performed.

在图2所描述的方法中,在移动终端被用户敲击时,移动终端会产生一个振动信号,这个振动信号经过处理后会产生一个处理信号,当这个处理信号的信号特征与预存储的信号特征不匹配时,移动终端会输出一个提示信息用来提示用户是否要启动录音,当移动终端接收用户输入的启动录音用的确认指令后,就会响应所述确认指令执行录音。可见,通过实施图2所描述的方法,可以允许用户在想要开启录音但在未正确敲击移动终端时也能主动选择开启录音,从而可以有效提升用户敲击移动终端开启录音的成功率。In the method described in FIG. 2, when the mobile terminal is tapped by the user, the mobile terminal will generate a vibration signal, and the vibration signal will generate a processed signal after processing. When the signal characteristics of the processed signal and the pre-stored signal When the characteristics do not match, the mobile terminal will output a prompt message to prompt the user whether to start the recording, and when the mobile terminal receives the confirmation instruction for starting the recording input by the user, it will respond to the confirmation instruction to execute the recording. It can be seen that by implementing the method described in FIG. 2 , the user can actively choose to start the recording when he wants to start the recording but fails to tap the mobile terminal correctly, thereby effectively improving the success rate of the user tapping the mobile terminal to start the recording.

实施例三、Embodiment three,

参考图3,在图3所描述的实施例中,以手机作为执行主体为例,该方法可以包括以下步骤:Referring to FIG. 3, in the embodiment described in FIG. 3, taking the mobile phone as the execution subject as an example, the method may include the following steps:

其中,步骤S301~S304与实施例一中步骤S101~S104相同,本发明实施例不做赘述。Wherein, steps S301-S304 are the same as steps S101-S104 in Embodiment 1, and are not described in detail in this embodiment of the present invention.

S305、接收因移动终端被敲击而产生的第二振动信号;S305. Receive a second vibration signal generated by tapping the mobile terminal;

例如,在手机启动录音后,用户敲击手机时,导致手机振动,手机上的受话器或扬声器的振膜都会跟着一起振动,振膜就会带动受话器或扬声器的线圈做切割磁力线的运动,从而线圈中就会产生与敲击手机振动频率和振动强度对应的电流信号,所述电流信号是所述第二振动信号的一种,手机接收所述电流信号。值得说明的是,产生第二振动信号的方式有很多种,第二振动信号也包括很多种类,再例如,用户敲击手机时,导致手机振动,手机上的加速度传感随之也会振动从而导致加速度传感器检测到振动对应的加速度信号,所述加速度信号也是所述第二振动信号的一种。For example, after the mobile phone starts recording, when the user taps the mobile phone, the mobile phone will vibrate, and the receiver or the diaphragm of the speaker on the mobile phone will vibrate together, and the diaphragm will drive the coil of the receiver or speaker to cut the magnetic force line, so that the coil A current signal corresponding to the vibration frequency and vibration intensity of tapping the mobile phone will be generated, the current signal is a type of the second vibration signal, and the mobile phone receives the current signal. It is worth noting that there are many ways to generate the second vibration signal, and the second vibration signal also includes many types. For example, when the user taps the mobile phone, the mobile phone vibrates, and the acceleration sensor on the mobile phone will also vibrate accordingly. The acceleration sensor detects an acceleration signal corresponding to the vibration, and the acceleration signal is also a type of the second vibration signal.

S306、对所述第二振动信号进行处理,以获得第二处理信号;S306. Process the second vibration signal to obtain a second processed signal;

例如,对S305步骤产生的电流信号进行放大处理和/或模数转换处理,获得处理后的电流信号,所述处理后的电流信号即为所述第二处理信号的一种。For example, the current signal generated in step S305 is amplified and/or analog-to-digital converted to obtain a processed current signal, and the processed current signal is one of the second processed signals.

S307、判断所述第二处理信号的信号特征是否与预存储的第二信号特征相匹配,如果相匹配,则执行步骤S308,如果不匹配,则结束本次流程;S307. Judging whether the signal feature of the second processed signal matches the pre-stored second signal feature, if it matches, execute step S308, and if not, end this process;

例如,所述处理后的电流信号的信号特征包括电流强度值,手机振动幅度越大,手机上的受话器或扬声器的振膜振动幅度就越大,振膜带动受话器或扬声器的线圈做切割磁力线的运动就越剧烈,从而线圈中产生的与敲击手机振动强度对应的电流信号就越强,所以经过处理后的电流信号的电流强度绝对值也就越大。同理,手机振动幅度越小,电流强度绝对值就越小。判断所述电流强度绝对值与预存储的电流强度绝对值是否匹配,如果能匹配,则执行步骤S308,如果不能匹配,则结束本次流程。For example, the signal characteristics of the processed current signal include the current intensity value. The greater the vibration amplitude of the mobile phone, the greater the vibration amplitude of the receiver or speaker on the mobile phone. The diaphragm drives the coil of the receiver or speaker to cut the magnetic field line The more violent the movement, the stronger the current signal corresponding to the vibration intensity of the knocking mobile phone generated in the coil, so the absolute value of the current intensity of the processed current signal is also greater. Similarly, the smaller the vibration amplitude of the mobile phone, the smaller the absolute value of the current intensity. It is judged whether the absolute value of the current intensity matches the pre-stored absolute value of the current intensity. If they match, step S308 is performed. If they do not match, this procedure ends.

例如,判断所述电流强度绝对值与预存储的电流强度绝对值是否相同,如果相同,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配,然后执行步骤S308;如果不同,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配,然后结束本次流程。再例如,判断所述电流强度绝对值与预存储的电流强度绝对值的差值是否在预设的范围内,如果是,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配,然后执行步骤S308;如果不是,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配,然后则结束本次流程。值得说明的是,匹配判断规则可以是预设的规则,本发明实施例对匹配规则不做限定。For example, judging whether the absolute value of the current intensity is the same as the absolute value of the pre-stored current intensity, if they are the same, then judging that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity, and then perform step S308; if not, Then it is judged that the absolute value of the current intensity does not match the pre-stored absolute value of the current intensity, and then this process ends. For another example, it is judged whether the difference between the absolute value of the current intensity and the pre-stored absolute value of the current intensity is within a preset range, and if so, it is judged that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity , and then execute step S308; if not, it is judged that the absolute value of the current intensity does not match the absolute value of the pre-stored current intensity, and then this process ends. It should be noted that the matching judgment rule may be a preset rule, and this embodiment of the present invention does not limit the matching rule.

可选的,所述处理后的电流信号的信号特征还可以包括电流正负极性变化频率、电流持续时间、电流发生位置中的一种或多种。Optionally, the signal characteristics of the processed current signal may also include one or more of current positive and negative polarity change frequency, current duration, and current occurrence location.

例如,手机振动频率越高,手机上的受话器或扬声器的振膜振动频率就越高,振膜带动受话器或扬声器的线圈做切割磁力线的运动频率就越高,从而线圈中产生的与敲击手机振动强度对应的电流信号正负极变化就越快,所以经过处理后的电流信号的电流正负极性变化频率也就越高。判断所述电流正负极性变化频率与预存储的电流正负极性变化频率是否匹配,如果能匹配,则执行步骤S308,如果不能匹配,则结束本次流程。For example, the higher the vibration frequency of the mobile phone, the higher the vibration frequency of the diaphragm of the receiver or speaker on the mobile phone, and the higher the frequency of the vibration film driving the coil of the receiver or speaker to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The faster the positive and negative polarity of the current signal corresponding to the vibration intensity changes, the higher the positive and negative polarity change frequency of the processed current signal is. It is judged whether the positive and negative polarity change frequency of the current matches the pre-stored positive and negative polarity change frequency of the current, if they match, step S308 is performed, and if they do not match, this process ends.

再例如,手机振动持续时间越久,手机上的受话器或扬声器的振膜振动时间就越久,振膜带动受话器或扬声器的线圈做切割磁力线的持续时间就越久,从而线圈中产生的与敲击手机振动强度对应的电流信号持续时间就越久,所以经过处理后的电流信号的电流持续时间就越久。For another example, the longer the vibration of the mobile phone lasts, the longer the vibrating time of the receiver or the speaker's diaphragm on the mobile phone is, and the longer the duration of the diaphragm driving the coil of the receiver or speaker is to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The duration of the current signal corresponding to the intensity is longer, so the current duration of the processed current signal is longer.

判断所述电流持续时间与预存储的电流持续时间是否匹配,如果能匹配,则执行步骤S308,如果不能匹配,则结束本次流程。It is judged whether the current duration matches the pre-stored current duration, if yes, step S308 is performed, and if not, this procedure ends.

再例如,手机上有多个受话器,每个受话器都预先对应一个位置信息。当敲击手机使手机发生振动时,离敲击点越近的受话器其振动强度就越大,从而其产生的电流强度值绝对值就越大,通过判断手机上哪个受话器电流强度值绝对值最大,即可获得电流发生位置特征。判断所述电流发生位置与预存储的电流发生位置是否匹配,如果能匹配,则执行步骤S308,如果不能匹配,则结束本次流程。For another example, there are multiple receivers on the mobile phone, and each receiver corresponds to a piece of location information in advance. When the mobile phone is tapped to vibrate the mobile phone, the closer the receiver is to the tap point, the greater the vibration intensity, so the absolute value of the current intensity value generated by it is greater. By judging which receiver on the mobile phone has the largest absolute value of the current intensity value , you can get the location feature of the current generation. It is judged whether the current generation position matches the pre-stored current generation position, if they match, step S308 is performed, and if they do not match, this process ends.

可选的,判断所述第二处理信号的信号特征是否与预存储的第二信号特征相匹配,既可以是判断第二处理信号的多个信号特征是否同时匹配预存储的第二信号特征,也可以是判断第二处理信号的单独一个信号特征是否匹配预存储的第二信号特征。Optionally, judging whether the signal feature of the second processed signal matches the pre-stored second signal feature may be judging whether multiple signal features of the second processed signal match the pre-stored second signal feature at the same time, It may also be judging whether a single signal feature of the second processed signal matches a pre-stored second signal feature.

S308、停止录音并保存录音内容。S308. Stop recording and save the recording content.

停止录音并保存录音内容至手机内置存储装置、服务器或其他预设的存储装置。在图3所描述的方法中,在移动终端开始录音后,用户通过敲击移动终端可以停止录音,可见,通过实施图3所描述的方法,仅需要敲击移动终端便可以可以停止录音并保存录音内容,非常方便地停止录音并保存录音内容。Stop recording and save the recording content to the built-in storage device of the mobile phone, server or other preset storage devices. In the method described in Fig. 3, after the mobile terminal starts recording, the user can stop the recording by tapping the mobile terminal. It can be seen that by implementing the method described in Fig. 3, the recording can be stopped and saved only by tapping the mobile terminal. Recording content, it is very convenient to stop recording and save the recording content.

实施例四、Embodiment four,

参考图4,在图4所描述的实施例中,以手机作为执行主体为例,该方法的具体流程与实施例二相比,还可以包括以下步骤:Referring to FIG. 4, in the embodiment described in FIG. 4, taking the mobile phone as the execution subject as an example, the specific flow of the method may also include the following steps compared with Embodiment 2:

其中,步骤S401~S403与实施例三中步骤S301~S303相同,本发明实施例不做赘述。Wherein, steps S401-S403 are the same as steps S301-S303 in the third embodiment, and are not described in detail in this embodiment of the present invention.

S4041、判断所述移动终端是否发生通话事件;如果是,则执行步骤S4042,如果不是,则执行步骤S4043;S4041. Determine whether the mobile terminal has a call event; if yes, execute step S4042; if not, execute step S4043;

例如,手机在要启动录音时,先判断手机当前是否处于通话状态中或拨号过程中。For example, when the mobile phone is about to start recording, it first judges whether the mobile phone is currently in a call state or in a dialing process.

S4042、启动对所述通话事件的通话内容的录音;S4042. Start recording the call content of the call event;

手机对通话各方的音频进行录音。The phone records the audio of all parties to the call.

S4043、开启麦克风并对麦克风采集到的音频进行录音。S4043. Turn on the microphone and record the audio collected by the microphone.

手机开启麦克风并对麦克风采集到的音频进行录音。The mobile phone turns on the microphone and records the audio collected by the microphone.

本实施例其它细节内容请参考实施例三,不再赘述。For other details of this embodiment, please refer to Embodiment 3, and details are not repeated here.

实施例五、Embodiment five,

在实施例四的基础上,本实施例还包括以下步骤:On the basis of Embodiment 4, this embodiment also includes the following steps:

判断所述通话事件是否结束;judging whether the call event is over;

若所述通话事件结束,则停止对所述通话内容的录音并保存录音内容。If the call event ends, stop recording the call content and save the recording content.

例如,手机在启动对所述通话事件的通话内容的录音后,周期性判断所述通话事件是否结束,若所述通话事件结束,则手机停止对所述通话内容的录音并保存录音内容至手机内置存储装置、服务器或其他预设的存储装置。值得说明的是,本发明实施例不对手机判断通话事件是否结束的方法做限定,例如,手机判断所述通话事件是否结束的方法,还可以是通话事件结束后上报一个终端给手机使得手机能够判断所述通话事件已经结束。For example, after the mobile phone starts recording the call content of the call event, it periodically judges whether the call event is over. If the call event ends, the mobile phone stops recording the call content and saves the recording content to the mobile phone. Built-in storage device, server or other preset storage device. It is worth noting that the embodiment of the present invention does not limit the method for the mobile phone to determine whether the call event is over. For example, the method for the mobile phone to determine whether the call event is over may also be to report a terminal to the mobile phone after the call event ends so that the mobile phone can judge The call event has ended.

本实施例其它细节内容请参考实施例四,不再赘述。For other details of this embodiment, please refer to Embodiment 4, and details are not repeated here.

实施例六、Embodiment six,

在实施例五的基础上,本实施例还包括以下步骤:On the basis of embodiment five, this embodiment also includes the following steps:

获取所述移动终端的实时加速度值;Obtain the real-time acceleration value of the mobile terminal;

判断所述实时加速度值是否超过预设加速度值,如果是,从所述移动终端的通讯录中读取指定联系人,和/或,从所述移动终端当前运行的社交应用中读取指定关系用户;将所述录音内容传送给所述读取指定联系人和/或所述读取指定关系用户。Judging whether the real-time acceleration value exceeds a preset acceleration value, if so, reading a specified contact from the address book of the mobile terminal, and/or reading a specified relationship from a social application currently running on the mobile terminal The user; transmitting the recording content to the read-designated contact and/or the read-designated relationship user.

以手机为例,手机在保存录音内容后,检测手机的实时加速度值,例如用户此时摇一摇手机,则手机会产生一个实时的加速度值。如果所述实时加速度值超过预设加速度值,那么手机可以从通讯录中读取预先设定的联系人,将所述录音内容以彩信或邮件形式发送给所述联系人;此外,手机还可以从当前运行的社交应用中读取预设的用户信息,然后将所述录音通过社交软件发送给所述用户。Taking the mobile phone as an example, the mobile phone detects the real-time acceleration value of the mobile phone after saving the recording content. For example, if the user shakes the mobile phone at this time, the mobile phone will generate a real-time acceleration value. If the real-time acceleration value exceeds the preset acceleration value, the mobile phone can read the preset contact person from the address book, and send the recording content to the contact person in the form of MMS or email; in addition, the mobile phone can also Read preset user information from a currently running social application, and then send the recording to the user through social software.

本实施例其它细节内容请参考实施例五,不再赘述。For other details of this embodiment, please refer to Embodiment 5, and details are not repeated here.

实施例七、Embodiment seven,

为了实现上述实施例,本申请还提出一种录音控制的装置,包括:In order to realize the above embodiments, the present application also proposes a recording control device, including:

振动接收模块,用于接收因移动终端被敲击而产生的第一振动信号;The vibration receiving module is used to receive the first vibration signal generated by knocking on the mobile terminal;

处理模块,用于对所述第一振动信号进行处理,获得第一处理信号;A processing module, configured to process the first vibration signal to obtain a first processed signal;

判断模块,用于判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配;A judging module, configured to judge whether the signal feature of the first processed signal matches the pre-stored first signal feature;

录音模块,用于在所述判断模块判断所述第一处理信号的信号特征与预存储的第一信号特征相匹配后,启动录音。The recording module is configured to start recording after the judging module judges that the signal feature of the first processed signal matches the pre-stored first signal feature.

参看图5,图5为本发明实施例六公开的一种录音控制的装置的结构示意图。其中,在图5所描述的实施例中,以手机为例,该控录音控制的装置包括:Referring to FIG. 5 , FIG. 5 is a schematic structural diagram of a recording control device disclosed in Embodiment 6 of the present invention. Wherein, in the embodiment described in Fig. 5, taking a mobile phone as an example, the device for controlling recording includes:

50装置;所述装置可以是一种移动终端,也可以是一种物理设备。50 device; the device may be a mobile terminal or a physical device.

501振动接收模块,用于接收因移动终端被敲击而产生的第一振动信号。501 A vibration receiving module, configured to receive a first vibration signal generated when the mobile terminal is tapped.

例如,用户敲击手机时,导致手机振动,手机上的受话器或扬声器的振膜都会跟着一起振动,振膜就会带动受话器或扬声器的线圈做切割磁力线的运动,从而线圈中就会产生与敲击手机振动频率和振动强度对应的电流信号,所述电流信号是所述第一振动信号的一种,手机应用处理器或者电流检测器接收所述电流信号。值得说明的是,产生第一振动信号的方式有很多种,第一振动信号也包括很多种类,再例如,用户敲击手机时,导致手机振动,手机上的加速度传感随之也会振动从而导致加速度传感器检测到振动对应的加速度信号,所述加速度信号也是所述第一振动信号的一种。For example, when the user knocks on the mobile phone, the mobile phone vibrates, and the receiver or the diaphragm of the speaker on the mobile phone will vibrate together, and the diaphragm will drive the coil of the receiver or speaker to cut the magnetic field line, so that there will be a vibration in the coil. A current signal corresponding to the vibration frequency and vibration intensity of the mobile phone is struck, the current signal is one of the first vibration signals, and the mobile phone application processor or current detector receives the current signal. It is worth noting that there are many ways to generate the first vibration signal, and the first vibration signal also includes many types. For example, when the user taps the mobile phone, the mobile phone vibrates, and the acceleration sensor on the mobile phone will also vibrate accordingly. The acceleration sensor detects an acceleration signal corresponding to the vibration, and the acceleration signal is also a type of the first vibration signal.

502处理模块,用于对所述第一振动信号进行处理,获得第一处理信号。502 A processing module, configured to process the first vibration signal to obtain a first processed signal.

例如,对S301步骤产生的电流信号进行放大处理和/或模数转换处理,获得处理后的电流信号,所述处理后的电流信号即为所述第一处理信号的一种。For example, the current signal generated in step S301 is amplified and/or analog-to-digital converted to obtain a processed current signal, and the processed current signal is one of the first processed signals.

503判断模块,用于判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配。503 A judging module, configured to judge whether the signal feature of the first processed signal matches the pre-stored first signal feature.

例如,所述处理后的电流信号的信号特征包括电流强度值,手机振动幅度越大,手机上的受话器或扬声器的振膜振动幅度就越大,振膜带动受话器或扬声器的线圈做切割磁力线的运动就越剧烈,从而线圈中产生的与敲击手机振动强度对应的电流信号就越强,所以经过处理后的电流信号的电流强度绝对值也就越大。同理,手机振动幅度越小,电流强度绝对值就越小。手机判断所述电流强度绝对值与预存储的电流强度绝对值是否匹配。例如,判断所述电流强度绝对值与预存储的电流强度绝对值是否相同,如果相同,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹;如果不同,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配。再例如,判断所述电流强度绝对值与预存储的电流强度绝对值的差值是否在预设的范围内,如果是,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配;如果不是,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配。值得说明的是,匹配判断规则可以是预设的规则,本发明实施例对匹配规则不做限定。For example, the signal characteristics of the processed current signal include the current intensity value. The greater the vibration amplitude of the mobile phone, the greater the vibration amplitude of the receiver or speaker on the mobile phone. The diaphragm drives the coil of the receiver or speaker to cut the magnetic field line The more violent the movement, the stronger the current signal corresponding to the vibration intensity of the knocking mobile phone generated in the coil, so the absolute value of the current intensity of the processed current signal is also greater. Similarly, the smaller the vibration amplitude of the mobile phone, the smaller the absolute value of the current intensity. The mobile phone judges whether the absolute value of the current intensity matches the pre-stored absolute value of the current intensity. For example, judging whether the absolute value of the current intensity is the same as the absolute value of the pre-stored current intensity, if they are the same, then judging that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity; The absolute value of the intensity does not match the pre-stored absolute value of the current intensity. For another example, it is judged whether the difference between the absolute value of the current intensity and the pre-stored absolute value of the current intensity is within a preset range, and if so, it is judged that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity ; If not, it is judged that the absolute value of the current intensity does not match the absolute value of the pre-stored current intensity. It should be noted that the matching judgment rule may be a preset rule, and this embodiment of the present invention does not limit the matching rule.

可选的,所述处理后的电流信号的信号特征还可以包括电流正负极性变化频率、电流持续时间、电流发生位置中的一种或多种。Optionally, the signal characteristics of the processed current signal may also include one or more of current positive and negative polarity change frequency, current duration, and current occurrence location.

例如,手机振动频率越高,手机上的受话器或扬声器的振膜振动频率就越高,振膜带动受话器或扬声器的线圈做切割磁力线的运动频率就越高,从而线圈中产生的与敲击手机振动强度对应的电流信号正负极变化就越快,所以经过处理后的电流信号的电流正负极性变化频率也就越高。手机判断所述电流正负极性变化频率与预存储的电流正负极性变化频率是否匹配。For example, the higher the vibration frequency of the mobile phone, the higher the vibration frequency of the diaphragm of the receiver or speaker on the mobile phone, and the higher the frequency of the vibration film driving the coil of the receiver or speaker to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The faster the positive and negative polarity of the current signal corresponding to the vibration intensity changes, the higher the positive and negative polarity change frequency of the processed current signal is. The mobile phone judges whether the positive and negative polarity change frequency of the current matches the pre-stored positive and negative polarity change frequency of the current.

再例如,手机振动持续时间越久,手机上的受话器或扬声器的振膜振动时间就越久,振膜带动受话器或扬声器的线圈做切割磁力线的持续时间就越久,从而线圈中产生的与敲击手机振动强度对应的电流信号持续时间就越久,所以经过处理后的电流信号的电流持续时间就越久。手机判断所述电流持续时间与预存储的电流持续时间是否匹配。For another example, the longer the vibration of the mobile phone lasts, the longer the vibrating time of the receiver or the speaker's diaphragm on the mobile phone is, and the longer the duration of the diaphragm driving the coil of the receiver or speaker is to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The duration of the current signal corresponding to the intensity is longer, so the current duration of the processed current signal is longer. The mobile phone judges whether the current duration matches the pre-stored current duration.

再例如,手机上有多个受话器,每个受话器都预先对应一个位置信息。当敲击手机使手机发生振动时,离敲击点越近的受话器其振动强度就越大,从而其产生的电流强度值绝对值就越大,通过判断手机上哪个受话器电流强度值绝对值最大,即可获得电流发生位置特征。手机判断所述电流发生位置与预存储的电流发生位置是否匹配。For another example, there are multiple receivers on the mobile phone, and each receiver corresponds to a piece of location information in advance. When the mobile phone is tapped to vibrate the mobile phone, the closer the receiver is to the tap point, the greater the vibration intensity, so the absolute value of the current intensity value generated by it is greater. By judging which receiver on the mobile phone has the largest absolute value of the current intensity value , you can get the location feature of the current generation. The mobile phone judges whether the current generation location matches the pre-stored current generation location.

可选的,判断所述第一处理信号的信号特征是否与预存储的第一信号特征相匹配,既可以是判断第一处理信号的多个信号特征是否同时匹配预存储的第一信号特征,也可以是判断第一处理信号的单一个信号特征是否匹配预存储的第一信号特征。Optionally, judging whether the signal feature of the first processed signal matches the pre-stored first signal feature may be judging whether multiple signal features of the first processed signal match the pre-stored first signal feature at the same time, It may also be judged whether a single signal feature of the first processed signal matches the pre-stored first signal feature.

504录音模块,用于在所述判断模块判断所述第一处理信号的信号特征与预存储的第一信号特征相匹配后,启动录音。504 A recording module, configured to start recording after the judging module judges that the signal feature of the first processed signal matches the pre-stored first signal feature.

例如,手机开启麦克风并对麦克风采集到的音频进行录音。For example, the mobile phone turns on the microphone and records the audio collected by the microphone.

505提示模块,用于在所述判断模块判断所述第一处理信号的信号特征与预存储的第一信号特征不匹配后,发出提示信息,用于提示是否启动录音;505. A prompting module, configured to send a prompt message to prompt whether to start recording after the judging module judges that the signal feature of the first processed signal does not match the pre-stored first signal feature;

例如,手机通过扬声器输出语音提示信息“需要开始录音么”,提示用户是否需要启动录音;再例如,手机通过显示屏输出文字提示信息“需要开始录音么”,提示用户是否需要启动录音。值得说明的是,本发明实施例不对输出提示信息的方式和途径进行限定。For example, the mobile phone outputs a voice prompt message "Do you need to start recording" through the speaker to prompt the user whether to start recording; another example, the mobile phone outputs a text prompt message "Do you need to start recording" through the display screen to prompt the user whether to start recording. It is worth noting that the embodiment of the present invention does not limit the manner and way of outputting the prompt information.

506接收模块,用于接收输入的启动录音的确认指令;所述录音模快,具体用于在所述判断模块判断所述第一处理信号的信号特征与预存储的第一信号特征不匹配后,响应所述确认指令,执行所述的启动录音的步骤。例如,手机接收用户点击显示屏上显示的确认启动录音的虚拟确认键;再例如,手机接收用户说出的确认启动录音的语音指令;再例如,手机摄像头接收用户用于确认启动录音的手势动作。手机接收输入的启动录音的确认指令后,启动录音。506 receiving module, configured to receive an input confirmation instruction for starting recording; the recording module is specifically used for after the judging module judges that the signal feature of the first processed signal does not match the pre-stored first signal feature , executing the step of starting recording in response to the confirmation instruction. For example, the mobile phone receives the user's click on the virtual confirmation button displayed on the display screen to confirm the start of recording; another example, the mobile phone receives the voice command spoken by the user to confirm the start of recording; another example, the mobile phone camera receives the user's gesture for confirming the start of recording . The mobile phone starts the recording after receiving the input confirmation instruction for starting the recording.

实施例八、Embodiment eight,

本实施例与实施例七区别在于:所述振动接收模块,还用于在所述录音模块启动录音后,接收因移动终端被敲击而产生的第二振动信号;处理模块,还用于对所述第二振动信号进行处理,获取第二处理信号。The difference between this embodiment and Embodiment 7 is that: the vibration receiving module is also used to receive the second vibration signal generated by the mobile terminal being tapped after the recording module starts recording; the processing module is also used to The second vibration signal is processed to obtain a second processed signal.

判断模块,还用于判断所述第二处理信号的信号特征是否与预存储的第二信号特征相匹配。The judging module is further configured to judge whether the signal feature of the second processed signal matches the pre-stored second signal feature.

录音模块,还用于在所述判断模块判断所述处理信号的信号特征与预存储的信号特征相匹配后,停止录音并保存录音内容。The recording module is further configured to stop recording and save the recording content after the judging module judges that the signal feature of the processed signal matches the pre-stored signal feature.

例如,在手机启动录音后,用户敲击手机时,导致手机振动,手机上的受话器或扬声器的振膜都会跟着一起振动,振膜就会带动受话器或扬声器的线圈做切割磁力线的运动,从而线圈中就会产生与敲击手机振动频率和振动强度对应的电流信号,所述电流信号是所述第二振动信号的一种,手机应用处理器或者电力检测器接受所述电流信号。值得说明的是,产生第二振动信号的方式有很多种,第二振动信号也包括很多种类,再例如,用户敲击手机时,导致手机振动,手机上的加速度传感随之也会振动从而导致加速度传感器检测到振动对应的加速度信号,所述加速度信号也是所述第二振动信号的一种。For example, after the mobile phone starts recording, when the user taps the mobile phone, the mobile phone will vibrate, and the receiver or the diaphragm of the speaker on the mobile phone will vibrate together, and the diaphragm will drive the coil of the receiver or speaker to cut the magnetic force line, so that the coil A current signal corresponding to the vibration frequency and vibration intensity of tapping the mobile phone will be generated, the current signal is a kind of the second vibration signal, and the mobile phone application processor or power detector receives the current signal. It is worth noting that there are many ways to generate the second vibration signal, and the second vibration signal also includes many types. For example, when the user taps the mobile phone, the mobile phone vibrates, and the acceleration sensor on the mobile phone will also vibrate accordingly. The acceleration sensor detects an acceleration signal corresponding to the vibration, and the acceleration signal is also a type of the second vibration signal.

对所述电流信号进行放大处理和/或模数转换处理,获得处理后的电流信号,所述处理后的电流信号即为所述第二处理信号的一种。Perform amplification processing and/or analog-to-digital conversion processing on the current signal to obtain a processed current signal, and the processed current signal is one of the second processed signals.

所述处理后的电流信号的信号特征包括电流强度值,手机振动幅度越大,手机上的受话器或扬声器的振膜振动幅度就越大,振膜带动受话器或扬声器的线圈做切割磁力线的运动就越剧烈,从而线圈中产生的与敲击手机振动强度对应的电流信号就越强,所以经过处理后的电流信号的电流强度绝对值也就越大。同理,手机振动幅度越小,电流强度绝对值就越小。手机判断所述电流强度绝对值与预存储的电流强度绝对值是否匹配。例如,判断所述电流强度绝对值与预存储的电流强度绝对值是否相同,如果相同,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹;如果不同,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配。再例如,判断所述电流强度绝对值与预存储的电流强度绝对值的差值是否在预设的范围内,如果是,则判断所述电流强度绝对值与预存储的电流强度绝对值相匹配;如果不是,则判断所述电流强度绝对值与预存储的电流强度绝对值不相匹配。值得说明的是,匹配判断规则可以是预设的规则,本发明实施例对匹配规则不做限定。The signal characteristics of the processed current signal include the current intensity value. The greater the vibration amplitude of the mobile phone, the greater the vibration amplitude of the receiver or speaker on the mobile phone. The diaphragm drives the coil of the receiver or speaker to cut the magnetic force line. The more intense, the stronger the current signal generated in the coil corresponding to the vibration intensity of knocking on the mobile phone, so the absolute value of the current intensity of the processed current signal is also greater. Similarly, the smaller the vibration amplitude of the mobile phone, the smaller the absolute value of the current intensity. The mobile phone judges whether the absolute value of the current intensity matches the pre-stored absolute value of the current intensity. For example, judging whether the absolute value of the current intensity is the same as the absolute value of the pre-stored current intensity, if they are the same, then judging that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity; The absolute value of the intensity does not match the pre-stored absolute value of the current intensity. For another example, it is judged whether the difference between the absolute value of the current intensity and the pre-stored absolute value of the current intensity is within a preset range, and if so, it is judged that the absolute value of the current intensity matches the absolute value of the pre-stored current intensity ; If not, it is judged that the absolute value of the current intensity does not match the absolute value of the pre-stored current intensity. It should be noted that the matching judgment rule may be a preset rule, and this embodiment of the present invention does not limit the matching rule.

可选的,所述处理后的电流信号的信号特征还可以包括电流正负极性变化频率、电流持续时间、电流发生位置中的一种或多种。Optionally, the signal characteristics of the processed current signal may also include one or more of current positive and negative polarity change frequency, current duration, and current occurrence location.

例如,手机振动频率越高,手机上的受话器或扬声器的振膜振动频率就越高,振膜带动受话器或扬声器的线圈做切割磁力线的运动频率就越高,从而线圈中产生的与敲击手机振动强度对应的电流信号正负极变化就越快,所以经过处理后的电流信号的电流正负极性变化频率也就越高。手机判断所述电流正负极性变化频率与预存储的电流正负极性变化频率是否匹配。For example, the higher the vibration frequency of the mobile phone, the higher the vibration frequency of the diaphragm of the receiver or speaker on the mobile phone, and the higher the frequency of the vibration film driving the coil of the receiver or speaker to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The faster the positive and negative polarity of the current signal corresponding to the vibration intensity changes, the higher the positive and negative polarity change frequency of the processed current signal is. The mobile phone judges whether the positive and negative polarity change frequency of the current matches the pre-stored positive and negative polarity change frequency of the current.

再例如,手机振动持续时间越久,手机上的受话器或扬声器的振膜振动时间就越久,振膜带动受话器或扬声器的线圈做切割磁力线的持续时间就越久,从而线圈中产生的与敲击手机振动强度对应的电流信号持续时间就越久,所以经过处理后的电流信号的电流持续时间就越久。手机判断所述电流持续时间与预存储的电流持续时间是否匹配。For another example, the longer the vibration of the mobile phone lasts, the longer the vibrating time of the receiver or the speaker's diaphragm on the mobile phone is, and the longer the duration of the diaphragm driving the coil of the receiver or speaker is to cut the magnetic field lines, so that the vibration generated in the coil and the vibration of the mobile phone The duration of the current signal corresponding to the intensity is longer, so the current duration of the processed current signal is longer. The mobile phone judges whether the current duration matches the pre-stored current duration.

再例如,手机上有多个受话器,每个受话器都预先对应一个位置信息。当敲击手机使手机发生振动时,离敲击点越近的受话器其振动强度就越大,从而其产生的电流强度值绝对值就越大,通过判断手机上哪个受话器电流强度值绝对值最大,即可获得电流发生位置特征。手机判断所述电流发生位置与预存储的电流发生位置是否匹配。For another example, there are multiple receivers on the mobile phone, and each receiver corresponds to a piece of location information in advance. When the mobile phone is tapped to vibrate the mobile phone, the closer the receiver is to the tap point, the greater the vibration intensity, so the absolute value of the current intensity value generated by it is greater. By judging which receiver on the mobile phone has the largest absolute value of the current intensity value , you can get the location feature of the current generation. The mobile phone judges whether the current generation location matches the pre-stored current generation location.

可选的,判断所述第二处理信号的信号特征是否与预存储的第二信号特征相匹配,既可以是判断第二处理信号的多个信号特征是否同时匹配预存储的第二信号特征,也可以是判断第二处理信号的单独一个信号特征是否匹配预存储的第二信号特征。Optionally, judging whether the signal feature of the second processed signal matches the pre-stored second signal feature may be judging whether multiple signal features of the second processed signal match the pre-stored second signal feature at the same time, It may also be judging whether a single signal feature of the second processed signal matches a pre-stored second signal feature.

在所述判断模块判断所述处理信号的信号特征与预存储的信号特征相匹配后,手机停止录音并保存录音内容至手机内置存储装置、服务器或其他预设的存储装置。After the judging module judges that the signal feature of the processed signal matches the pre-stored signal feature, the mobile phone stops recording and saves the recording content to a built-in storage device of the mobile phone, a server or other preset storage devices.

本实施例其它细节内容请参考实施例七,不再赘述。For other details of this embodiment, please refer to Embodiment 7, and details are not repeated here.

实施例九、Embodiment nine,

本实施例与实施例八区别在于:The difference between this embodiment and embodiment eight is:

所述录音模块,还具体用于判断是否发生通话事件;若判断所述移动终端发生通话事件,则启动对所述通话事件的通话内容的录音。The recording module is also specifically used for judging whether a call event occurs; if it is judged that a call event occurs in the mobile terminal, then start recording the call content of the call event.

例如,手机在要启动录音时,先判断手机当前是否处于通话状态中或拨号过程中。For example, when the mobile phone is about to start recording, it first judges whether the mobile phone is currently in a call state or in a dialing process.

如果手机当前处于通话状态中或拨号过程中,则手机对通话各方的音频进行录音。If the mobile phone is currently in a call state or in the process of dialing, the mobile phone will record the audio of all parties in the call.

如果手机手机当前未处于通话状态中或拨号过程中,则手机开启麦克风并对麦克风采集到的音频进行录音。If the mobile phone is not currently in a call state or in a dialing process, the mobile phone turns on the microphone and records the audio collected by the microphone.

本实施例其它细节内容请参考实施例八,不再赘述。For other details of this embodiment, please refer to Embodiment 8, and details are not repeated here.

实施例十、Embodiment ten,

本实施例与实施例九区别在于:所述录音模块,还用于在执行对所述通话事件的通话内容启动录音的操作之后,判断所述通话事件是否结束;若判断为通话事件结束,则停止对所述通话内容的录音并保存录音内容。The difference between this embodiment and Embodiment 9 is that: the recording module is further configured to determine whether the call event is over after performing the operation of starting the recording of the call content of the call event; if it is determined that the call event is over, then Stop recording the call content and save the recording content.

例如,手机在启动对所述通话事件的通话内容的录音后,周期性判断所述通话事件是否结束,若所述通话事件结束,则手机停止对所述通话内容的录音并保存录音内容至手机内置存储装置、服务器或其他预设的存储装置。值得说明的是,本发明实施例不对手机判断通话事件是否结束的方法做限定,例如,手机判断所述通话事件是否结束的方法,还可以是通话事件结束后上报一个终端给手机使得手机能够判断所述通话事件已经结束。For example, after the mobile phone starts recording the call content of the call event, it periodically judges whether the call event is over. If the call event ends, the mobile phone stops recording the call content and saves the recording content to the mobile phone. Built-in storage device, server or other preset storage device. It is worth noting that the embodiment of the present invention does not limit the method for the mobile phone to determine whether the call event is over. For example, the method for the mobile phone to determine whether the call event is over may also be to report a terminal to the mobile phone after the call event ends so that the mobile phone can judge The call event has ended.

本实施例其它细节内容请参考实施例九,不再赘述。For other details of this embodiment, please refer to Embodiment 9, and details are not repeated here.

实施例十一、Embodiment eleven,

本实施例与实施例十区别在于:还包括传送模块,用于在所述录音模块保存录音内容之后,获取所述移动终端的实时加速度值;判断所述实时加速度值是否超过预设加速度值,如果是,从所述移动终端的通讯录中读取指定联系人,和/或,从所述移动终端当前运行的社交应用中读取指定关系用户,将所述录音内容传送给所述读取指定联系人和/或所述读取指定关系用户。The difference between this embodiment and Embodiment 10 is that: it also includes a transmission module, which is used to obtain the real-time acceleration value of the mobile terminal after the recording module saves the recording content; judge whether the real-time acceleration value exceeds the preset acceleration value, If so, read the specified contact from the address book of the mobile terminal, and/or read the specified relationship user from the social application currently running on the mobile terminal, and transmit the recorded content to the read Designate contacts and/or users of the read designation relationship.

参考图6,图6为本实施例提供的一种录音控制的装置的结构示意图。其中,在图6所描述的实施例中,以手机作为执行主体为例,该装置还包括:507传送模块,用于在所述录音模块保存录音内容之后,获取所述移动终端的实时加速度值;判断所述实时加速度值是否超过预设加速度值,如果是,从所述移动终端的通讯录中读取指定联系人,和/或,从所述移动终端当前运行的社交应用中读取指定关系用户,将所述录音内容传送给所述读取指定联系人和/或所述读取指定关系用户。Referring to FIG. 6 , FIG. 6 is a schematic structural diagram of a recording control device provided in this embodiment. Wherein, in the embodiment described in FIG. 6 , taking the mobile phone as the execution subject as an example, the device further includes: 507 a transmission module, which is used to obtain the real-time acceleration value of the mobile terminal after the recording module saves the recording content ; determine whether the real-time acceleration value exceeds the preset acceleration value, if so, read the specified contact from the address book of the mobile terminal, and/or, read the specified contact from the social application currently running on the mobile terminal The related user transmits the recording content to the read-designated contact person and/or the read-designated related user.

以手机为例,手机在保存录音内容后,获取手机的实时加速度值,例如用户此时摇一摇手机,则手机会产生一个实时的加速度值。如果所述实时加速度值超过预设加速度值,那么手机可以从通讯录中读取预先设定的联系人,将所述录音内容以彩信或邮件形式发送给所述联系人;此外,手机还可以从当前运行的社交应用中读取预设的用户信息,然后将所述录音通过社交软件发送给所述用户。Taking the mobile phone as an example, the mobile phone obtains the real-time acceleration value of the mobile phone after saving the recording content. For example, if the user shakes the mobile phone at this time, the mobile phone will generate a real-time acceleration value. If the real-time acceleration value exceeds the preset acceleration value, the mobile phone can read the preset contact person from the address book, and send the recording content to the contact person in the form of MMS or email; in addition, the mobile phone can also Read preset user information from a currently running social application, and then send the recording to the user through social software.

本实施例其它细节内容请参考实施例十,不再赘述。For other details of this embodiment, please refer to Embodiment 10, and details are not repeated here.

实施例十二、Embodiment 12,

请见图7。以手机为例,图中,扬声器在用户敲击后产生一个振动信号,所述产生振动信号的方法请参考前文实施例一至实施例十一,这里不再赘述。所述振动信号经过放大器进行发达处理后,传送到A/D转换器(模数转换器)进行模数转换然后成为处理信号。前端DSP(digitalsignalprocessor数字信号处理器)判断所述经处理信号是否符合预设的规则,所述判断所述经处理信号是否符合预设的规则的方法请参考前文实施例一至实施例十一,这里不再赘述。若前端DSP判断所述经处理信号符合预设的规则,则上报中断给应用处理器,应用处理器收到中断后开始执行录音的操作,所述执行录音的操作请参考实施例一至实施例十一,这里不再赘述。Please see Figure 7. Take a mobile phone as an example. In the figure, the speaker generates a vibration signal after the user taps it. For the method of generating the vibration signal, please refer to Embodiment 1 to Embodiment 11 above, which will not be repeated here. After the vibration signal is developed and processed by the amplifier, it is sent to an A/D converter (analog-to-digital converter) for analog-to-digital conversion and then becomes a processed signal. The front-end DSP (digital signal processor) judges whether the processed signal conforms to the preset rules. For the method of judging whether the processed signal conforms to the preset rules, please refer to the first embodiment to the eleventh embodiment. Here No longer. If the front-end DSP judges that the processed signal conforms to the preset rules, it will report an interrupt to the application processor, and the application processor will start to perform the recording operation after receiving the interruption. For the recording operation, please refer to Embodiment 1 to Embodiment 10. One, I will not repeat them here.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定是必须针对相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, descriptions referring to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms are not necessarily necessarily directed to the same embodiment or example. Furthermore, the described specific features, structures, materials or characteristics may be combined in any suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without conflicting with each other.

本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合和组合。本发明所有实施例中的单元或单元,可以通过通用集成电路,例如CPU(CentralProcessingUnit,中央处理器),或通过ASIC(ApplicationSpecificIntegratedCircuit,专用集成电路)来实现。Those skilled in the art can combine and combine different embodiments and features of different embodiments described in this specification. The units or units in all the embodiments of the present invention can be implemented by a general integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).

本发明所有实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减;本发明所有实施例装置中的单元或单元可以根据实际需要进行合并、划分和删减。The steps in the methods of all embodiments of the present invention can be adjusted, combined and deleted according to actual needs; the units or units in the devices of all embodiments of the present invention can be combined, divided and deleted according to actual needs.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的单元、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所述技术领域的技术人员所理解。Any process or method descriptions described in flowcharts or otherwise herein may be understood as representing a unit, segment or portion of code comprising one or more executable instructions for implementing a specific logical function or step of the process , and the scope of preferred embodiments of the invention includes alternative implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order depending on the functions involved, which shall It should be understood by those skilled in the art described in the embodiments of the present invention.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment for use. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. processing to obtain the program electronically and store it in computer memory.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. During execution, one or a combination of the steps of the method embodiments is included.

此外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。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. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行变化、修改、替换和变型。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present invention, those skilled in the art can make the above-mentioned The embodiments are subject to changes, modifications, substitutions and variations.

以上所揭露的仅为本发明的较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and certainly cannot limit the scope of rights of the present invention with this. Those of ordinary skill in the art can understand all or part of the process for realizing the above embodiments, and according to the claims of the present invention The equivalent changes made still belong to the scope covered by the invention.

Claims (16)

CN201610032276.7A2016-01-152016-01-15Recording control method and device and mobile terminalPendingCN105681556A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610032276.7ACN105681556A (en)2016-01-152016-01-15Recording control method and device and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610032276.7ACN105681556A (en)2016-01-152016-01-15Recording control method and device and mobile terminal

Publications (1)

Publication NumberPublication Date
CN105681556Atrue CN105681556A (en)2016-06-15

Family

ID=56301366

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610032276.7APendingCN105681556A (en)2016-01-152016-01-15Recording control method and device and mobile terminal

Country Status (1)

CountryLink
CN (1)CN105681556A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106448708A (en)*2016-10-312017-02-22宇龙计算机通信科技(深圳)有限公司Device terminal, device terminal recording control method and device terminal recording system thereof
CN108845672A (en)*2018-06-272018-11-20河南省航丰智能科技有限公司A kind of method and apparatus and mobile terminal of audio frequency of mobile terminal typing
CN112486393A (en)*2020-12-082021-03-12深圳海智创科技有限公司Application interface running method and device convenient to operate

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20020082064A (en)*2001-04-232002-10-30주식회사 인터넷시큐리티Program install method using security key
CN101620465A (en)*2008-07-022010-01-06联想(北京)有限公司Instruction input method and data processing system
CN102202131A (en)*2010-03-262011-09-28索尼爱立信移动通讯有限公司Vibration-based application activation of portable electronic equipment
CN104184901A (en)*2014-08-282014-12-03北京金和软件股份有限公司Method for controlling handheld device by means of gravity sensor and acceleration sensor
CN104850222A (en)*2015-04-152015-08-19郑德豪Instruction recognition method and electronic terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20020082064A (en)*2001-04-232002-10-30주식회사 인터넷시큐리티Program install method using security key
CN101620465A (en)*2008-07-022010-01-06联想(北京)有限公司Instruction input method and data processing system
CN102202131A (en)*2010-03-262011-09-28索尼爱立信移动通讯有限公司Vibration-based application activation of portable electronic equipment
CN104184901A (en)*2014-08-282014-12-03北京金和软件股份有限公司Method for controlling handheld device by means of gravity sensor and acceleration sensor
CN104850222A (en)*2015-04-152015-08-19郑德豪Instruction recognition method and electronic terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106448708A (en)*2016-10-312017-02-22宇龙计算机通信科技(深圳)有限公司Device terminal, device terminal recording control method and device terminal recording system thereof
CN108845672A (en)*2018-06-272018-11-20河南省航丰智能科技有限公司A kind of method and apparatus and mobile terminal of audio frequency of mobile terminal typing
CN112486393A (en)*2020-12-082021-03-12深圳海智创科技有限公司Application interface running method and device convenient to operate

Similar Documents

PublicationPublication DateTitle
US10809964B2 (en)Portable intelligent voice interactive control device, method and system
CN110634483B (en) Human-computer interaction method, device, electronic device and storage medium
CN110413250B (en)Voice interaction method, device and system
TWI489372B (en)Voice control method and mobile terminal apparatus
JP2019117623A (en)Voice dialogue method, apparatus, device and storage medium
KR101633208B1 (en)Instant communication voice recognition method and terminal
CN106896362A (en)A kind of terminal that function is detected with ultrasonic distance
CN112912955B (en)Electronic device and system for providing speech recognition based services
TW201440482A (en)Voice answering method and mobile terminal apparatus
US9444927B2 (en)Methods for voice management, and related devices
CN108320751A (en)A kind of voice interactive method, device, equipment and server
CN105760154A (en) Audio control method and device
CN103596155A (en)Method for providing voice call using text data and electronic device thereof
KR20230133864A (en) Systems and methods for handling speech audio stream interruptions
US20240386893A1 (en)Smart glasses, system and control method based on generative artificial intelligence large language models
CN108110858A (en)The method of work and wireless charger of a kind of wireless charger
CN105681556A (en)Recording control method and device and mobile terminal
WO2020063451A1 (en)Call voicemail messaging method, terminal, and device having storage function
CN111324331A (en) Interactive message prompting method and device, electronic device and storage medium
WO2019061292A1 (en)Noise reduction method for terminal and terminal
KR101643808B1 (en)Method and system of providing voice service using interoperation between application and server
WO2020051881A1 (en)Information prompt method and related product
CN110880330A (en) Audio conversion method and terminal device
CN105718165A (en) A method and device for starting a terminal background application
CN105516493B (en)A kind of mobile terminal and its alarm clock control method

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20160615

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp