CN105551504A - Method and device for triggering function application of intelligent mobile terminal based on crying sound - Google Patents
Method and device for triggering function application of intelligent mobile terminal based on crying sound Download PDFInfo
- Publication number
- CN105551504A CN105551504A CN201510882379.8A CN201510882379A CN105551504A CN 105551504 A CN105551504 A CN 105551504A CN 201510882379 A CN201510882379 A CN 201510882379A CN 105551504 A CN105551504 A CN 105551504A
- Authority
- CN
- China
- Prior art keywords
- sound
- feature
- mobile terminal
- crying
- smart mobile
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 206010011469 Crying Diseases 0.000 title claims abstract description 77
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000001960 triggered effect Effects 0.000 claims abstract description 16
- 238000012544 monitoring process Methods 0.000 claims description 12
- 239000000284 extract Substances 0.000 claims description 10
- 238000007781 pre-processing Methods 0.000 description 4
- 238000001228 spectrum Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000004883 computer application Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
- G10L25/63—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for estimating an emotional state
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/01—Indexing scheme relating to G06F3/01
- G06F2203/011—Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Hospice & Palliative Care (AREA)
- Psychiatry (AREA)
- Computational Linguistics (AREA)
- Child & Adolescent Psychology (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种基于哭声触发智能移动终端功能应用的方法及装置,该方法包括:当监测到有声音时,提取所述声音的声音特征并记为第一声音特征;如果所述声音的持续时间大于或等于第一预设值,且所述第一声音特征与预先获取的第二声音特征的吻合度大于或等于第二预设值,则触发智能移动终端执行安慰功能,其中,所述第二声音特征为智能移动终端当前用户的哭泣声特征。利用该方法,在用户哭泣时,能够触发智能移动终端主动对用户进行安慰,以减少用户的悲伤情绪,达到了智能移动终端主动执行功能应用的目的,体现了智能移动终端的人性化特点,进一步提升了用户体验。
The invention discloses a method and device for triggering the function application of an intelligent mobile terminal based on crying. The method includes: when a sound is detected, extracting the sound feature of the sound and recording it as the first sound feature; if the sound duration is greater than or equal to the first preset value, and the degree of coincidence between the first sound feature and the pre-acquired second sound feature is greater than or equal to the second preset value, triggering the smart mobile terminal to execute the comfort function, wherein, The second sound feature is the crying sound feature of the current user of the smart mobile terminal. Using this method, when the user is crying, the smart mobile terminal can be triggered to actively comfort the user, so as to reduce the user's sadness, achieve the purpose of the smart mobile terminal actively executing functional applications, and reflect the humanized characteristics of the smart mobile terminal. Improved user experience.
Description
技术领域technical field
本发明实施例涉及计算机应用技术领域,尤其涉及一种基于哭声触发智能移动终端功能应用的方法及装置。The embodiments of the present invention relate to the technical field of computer applications, and in particular to a method and device for triggering functional applications of smart mobile terminals based on crying sounds.
背景技术Background technique
随着计算机技术的广泛应用和发展创新,越来越多的智能产品出现在人们的生活中,智能移动终端成为人们受欢迎的智能产品之一,智能移动终端除了最基本的通信功能外,还基于安装在其上的相关硬件和各种应用软件为人们的生活学习和工作提供了极大的帮助。With the wide application and development and innovation of computer technology, more and more smart products appear in people's lives. Smart mobile terminals have become one of the popular smart products. In addition to the most basic communication functions, smart mobile terminals also Based on the relevant hardware and various application software installed on it, it provides great help for people's life, study and work.
现有的智能移动终端集多种功能应用于一身,能够作为相机拍照,作为导航仪导航,作为播放器观看视频以及作为游戏机娱乐消遣等等,充分体现了其多功能性。随着智能移动终端的广泛使用,人们对智能移动终端上功能应用的要求也越来越高,很希望智能移动终端可以自动感应用户需求,主动给出相应的智能应用服务,但现有智能移动终端上很多功能应用的设计都是被动的服务于用户,不能很好体现智能移动终端主观人性化的特点。Existing smart mobile terminals integrate multiple functions into one body, and can be used as a camera to take pictures, navigate as a navigator, watch videos as a player, and entertain as a game console, etc., which fully embodies its versatility. With the widespread use of smart mobile terminals, people have higher and higher requirements for functional applications on smart mobile terminals. It is very hoped that smart mobile terminals can automatically sense user needs and actively provide corresponding smart application services. Many functional applications on the terminal are designed to passively serve users, which cannot well reflect the subjective and humanized characteristics of smart mobile terminals.
发明内容Contents of the invention
本发明的目的是提出一种基于哭声触发智能移动终端功能应用的方法及装置,以实现智能移动终端在用户哭泣时主动执行安慰功能的操作。The purpose of the present invention is to propose a method and device for triggering the function application of an intelligent mobile terminal based on crying, so as to realize the operation that the intelligent mobile terminal actively executes the comfort function when the user is crying.
一方面,本发明实施例提供了一种基于哭声触发智能移动终端功能应用的方法,包括:On the one hand, an embodiment of the present invention provides a method for triggering a functional application of a smart mobile terminal based on crying, including:
当监测到有声音时,提取所述声音的声音特征并记为第一声音特征;When a sound is detected, the sound feature of the sound is extracted and recorded as the first sound feature;
如果所述声音的持续时间大于或等于第一预设值,且所述第一声音特征与预先获取的第二声音特征的吻合度大于或等于第二预设值,则触发智能移动终端执行安慰功能,其中,所述第二声音特征为智能移动终端当前用户的哭泣声特征。If the duration of the sound is greater than or equal to the first preset value, and the degree of coincidence between the first sound feature and the pre-acquired second sound feature is greater than or equal to the second preset value, trigger the smart mobile terminal to perform comfort function, wherein the second sound feature is the crying sound feature of the current user of the smart mobile terminal.
另一方面,本发明实施例提供了一种基于哭声触发智能移动终端功能应用的装置,包括:On the other hand, an embodiment of the present invention provides a device for triggering a functional application of a smart mobile terminal based on a crying sound, including:
声音监测模块,用于当监测到有声音时,提取所述声音的声音特征并记为第一声音特征;The sound monitoring module is used to extract the sound feature of the sound and record it as the first sound feature when a sound is detected;
功能触发模块,用于当所述声音的持续时间大于或等于第一预设值,且所述第一声音特征与预先获取的第二声音特征的吻合度大于或等于第二预设值时,触发智能移动终端执行安慰功能,其中,所述第二声音特征为智能移动终端当前用户的哭泣声特征。A function trigger module, configured to when the duration of the sound is greater than or equal to a first preset value, and the degree of coincidence between the first sound feature and the pre-acquired second sound feature is greater than or equal to a second preset value, The smart mobile terminal is triggered to execute the comfort function, wherein the second sound feature is the crying sound feature of the current user of the smart mobile terminal.
本发明实施例提供了一种基于哭声触发智能移动终端功能应用的方法和装置,本发明的方法可概括为:当监测到用户的声音时,首先提取该声音的声音特征,与已预先获取的用户哭声特征相比对,如果达到预设吻合度且声音持续时间大于预设值,则认为智能移动终端的当前用户处于悲伤情绪;然后触发智能移动终端执行安慰功能。利用该方法,在用户哭泣时,能够触发智能移动终端主动对用户进行安慰,以减少用户的悲伤情绪,达到了智能移动终端主动执行功能应用的目的,体现了智能移动终端的人性化特点,进一步提升了用户体验。The embodiment of the present invention provides a method and device for triggering the function application of an intelligent mobile terminal based on crying sound. Compared with the characteristics of the user's cry, if the preset matching degree is reached and the sound duration is longer than the preset value, it is considered that the current user of the smart mobile terminal is in a sad mood; then the smart mobile terminal is triggered to perform a comfort function. Using this method, when the user is crying, the smart mobile terminal can be triggered to actively comfort the user, so as to reduce the user's sadness, achieve the purpose of the smart mobile terminal actively executing functional applications, and reflect the humanized characteristics of the smart mobile terminal. Improved user experience.
附图说明Description of drawings
图1为本发明实施例一提供的一种基于哭声触发智能移动终端功能应用的方法的流程示意图;FIG. 1 is a schematic flowchart of a method for triggering a function application of a smart mobile terminal based on a crying sound according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种基于哭声触发智能移动终端功能应用的方法的流程示意图;FIG. 2 is a schematic flowchart of a method for triggering a function application of a smart mobile terminal based on a crying sound according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种基于哭声触发智能移动终端功能应用的的装置的结构框图。FIG. 3 is a structural block diagram of an apparatus for triggering a function application of a smart mobile terminal based on a crying sound according to Embodiment 3 of the present invention.
具体实施方式detailed description
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The technical solution of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1为本发明实施例一提供的一种基于哭声触发智能移动终端功能应用的方法的流程示意图,该方法可以由基于哭声触发智能移动终端功能应用的装置执行,其中该装置可由软件和/或硬件实现,并一般集成于智能移动终端中。Figure 1 is a schematic flowchart of a method for triggering functional applications of an intelligent mobile terminal based on crying sounds provided by Embodiment 1 of the present invention. The method can be executed by a device for triggering functional applications of an intelligent mobile terminal based on crying sounds, wherein the device can be implemented by software and /or implemented by hardware, and generally integrated in an intelligent mobile terminal.
如图1所示,本发明实施例提供的一种基于哭声触发智能移动终端功能应用的方法,具体包括如下操作:As shown in FIG. 1 , a method for triggering a functional application of a smart mobile terminal based on a crying sound provided by an embodiment of the present invention specifically includes the following operations:
S101、当监测到有声音时,提取所述声音的声音特征并记为第一声音特征。S101. When a sound is detected, extract a sound feature of the sound and record it as a first sound feature.
在本实施例中,基于本发明所提方法,可以一直监测智能移动终端周围是否有声音出现,一般地,本发明能够监测所有的声音,优选地,本发明所监测的声音主要为人发出的声音。因此当监测到有人声时,就对监测到的人声进行提取处理,一般地,主要提取处理得到所监测声音的声音特征,该声音特征一般为声音的频谱。为了便于表述,本实施例将所提取的声音特征记为第一声音特征。在本实施例中,所述智能移动终端具体为智能手机,平板电脑等能够为用户提供智能应用功能的移动终端。In this embodiment, based on the method proposed in the present invention, it is possible to always monitor whether there is sound around the smart mobile terminal. Generally, the present invention can monitor all sounds. Preferably, the sound monitored by the present invention is mainly the sound made by people. . Therefore, when a human voice is detected, the detected human voice is extracted. Generally, the main extraction process is to obtain the sound feature of the monitored sound, and the sound feature is generally the frequency spectrum of the sound. For the convenience of expression, in this embodiment, the extracted sound feature is recorded as the first sound feature. In this embodiment, the smart mobile terminal is specifically a smart phone, a tablet computer and other mobile terminals that can provide users with smart application functions.
S102、如果所述声音的持续时间大于或等于第一预设值,且所述第一声音特征与预先获取的第二声音特征的吻合度大于或等于第二预设值,则触发智能移动终端执行安慰功能,其中,所述第二声音特征为智能移动终端当前用户的哭泣声特征。S102. If the duration of the sound is greater than or equal to the first preset value, and the degree of coincidence between the first sound feature and the pre-acquired second sound feature is greater than or equal to the second preset value, trigger the smart mobile terminal Executing a comforting function, wherein the second sound feature is the crying sound feature of the current user of the smart mobile terminal.
在本实施例中,对所监测的声音进行声音特征提取后,还要继续监测该声音的持续时间,此外,还要对所提取的第一声音特征进行比对判断。首先对于声音持续时间的监测来说,需要判断所述声音持续时间是否大于等于第一预设值;之后对于第一声音特征的比对判断来说,需要判断所述第一声音特征与预先获取的第二声音特征的吻合度是否大于等于第二预设值;最后,如果上述两个判断条件都满足要求,那么就可以触发智能移动终端执行安慰功能。In this embodiment, after the sound feature is extracted from the monitored sound, the duration of the sound should be continuously monitored, and in addition, the extracted first sound feature should be compared and judged. First of all, for the monitoring of the sound duration, it is necessary to judge whether the sound duration is greater than or equal to the first preset value; then for the comparison and judgment of the first sound feature, it is necessary to judge whether the first sound feature and the pre-acquired Whether the matching degree of the second sound feature is greater than or equal to the second preset value; finally, if the above two judgment conditions meet the requirements, then the smart mobile terminal can be triggered to perform the comfort function.
进一步的,所述第一预设值为:20秒;所述第二预设值为80%。Further, the first preset value is: 20 seconds; the second preset value is 80%.
在本实施例中,所述第一预设值具体可指所设定的用于判定声音持续时间长短的预设值,一般地,将该预设值设定在15秒至30秒的时间范围内为宜,优选地,将该预设值设定为20秒,但又不限定为20秒。此外,所述第二预设值具体可指用于判定第一声音特征与第二声音特征吻合度的预设值,一般地,可以将该预设值设定在70%至100%的取值范围内,优选地,将该预设值设定为80%,但有不仅限于80%。In this embodiment, the first preset value may specifically refer to the preset value set to determine the duration of the sound. Generally, the preset value is set at 15 seconds to 30 seconds. Preferably, the preset value is set to 20 seconds, but it is not limited to 20 seconds. In addition, the second preset value may specifically refer to a preset value for judging the coincidence degree between the first sound feature and the second sound feature. Generally, the preset value may be set at a value ranging from 70% to 100%. Within the value range, preferably, the preset value is set to 80%, but not limited to 80%.
在本实施例中,所述预先获取的第二声音特征为智能移动终端当前用户的哭泣声特征,其哭声特征可以通过预处理获得。所述触发智能移动终端执行安慰功能具体表现在:触发智能移动终端播放音乐、视频或者可爱的动画,也可触发智能移动终端自动向亲戚朋友发送寻求安慰的短信,以缓解用户的悲伤情绪。In this embodiment, the pre-acquired second sound feature is the crying sound feature of the current user of the smart mobile terminal, and the crying sound feature can be obtained through preprocessing. The triggering of the smart mobile terminal to execute the comfort function is specifically manifested in: triggering the smart mobile terminal to play music, video or cute animation, and also triggering the smart mobile terminal to automatically send messages seeking comfort to relatives and friends, so as to alleviate the user's sadness.
本发明实施例一提供的一种基于哭声触发智能移动终端功能应用的方法,该方法将监测到的用户声音进行声音特征提取,并将提取后的声音特征与预先获取的哭声特征作比对,如果声音持续时间达到预设值并且声音特征达到吻合条件,则触发智能移动终端执行安慰功能。利用该方法,达到智能移动终端在用户哭泣时主动执行安慰功能的目的,体现了智能移动终端的人性化特点。Embodiment 1 of the present invention provides a method for triggering the function application of an intelligent mobile terminal based on crying sounds. The method extracts sound features from the monitored user voice, and compares the extracted sound features with pre-acquired crying features. Yes, if the sound duration reaches the preset value and the sound characteristics meet the matching conditions, the smart mobile terminal is triggered to execute the comfort function. By using this method, the purpose of the intelligent mobile terminal actively executing the comfort function when the user is crying is achieved, which embodies the humanized characteristics of the intelligent mobile terminal.
实施例二Embodiment two
图2为本发明实施例二提供的一种基于哭声触发智能移动终端功能应用的方法的流程示意图,本实施例在上述实施例的基础上进行优化,在本实施例中,在步骤“当监测到有声音时,提取所述声音的声音特征并记为第一声音特征”之前,增加了步骤“采集多人在说话和哭泣时的声音样本,获取说话声与哭泣声之间的对应关系;采集智能移动终端当前用户的说话声,并提取所述说话声的声音特征,记为第三声音特征;基于所述说话声与哭泣声之间的对应关系及所述第三声音特征,获取当前用户的哭泣声特征,记为第二声音特征。”Fig. 2 is a schematic flowchart of a method for triggering the function application of an intelligent mobile terminal based on crying sound provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment. In this embodiment, in the step When a sound is detected, extract the sound feature of the sound and record it as the first sound feature" before adding the step "collect the sound samples of many people talking and crying, and obtain the correspondence between speaking and crying Collect the speech of the current user of the smart mobile terminal, and extract the sound feature of the speech, which is recorded as the third sound feature; based on the correspondence between the speech and crying and the third sound feature, obtain The feature of the crying sound of the current user is recorded as the second sound feature."
如图2所示,本发明实施例提供的一种基于哭声触发智能移动终端功能应用的方法,具体包括如下步骤:As shown in FIG. 2 , a method for triggering a functional application of a smart mobile terminal based on a crying sound provided by an embodiment of the present invention specifically includes the following steps:
步骤S201、采集多人在说话和哭泣时的声音样本,获取说话声与哭泣声之间的对应关系。Step S201 , collect voice samples of multiple people speaking and crying, and obtain the correspondence between speaking voices and crying voices.
在本实施例中,在基于用户的哭泣声触发智能移动终端的安慰功能前,还需要一定的预处理工作,例如,进行声音样本的采集,对声音样本进行声音特征的提取等,因此,步骤S201主要为声音样本的采集和处理。In this embodiment, before the comfort function of the smart mobile terminal is triggered based on the user's crying sound, certain preprocessing work is required, for example, the collection of sound samples, the extraction of sound features of the sound samples, etc., therefore, the steps S201 is mainly for collecting and processing sound samples.
具体的,该步骤可以描述为:采集录取很多人正常说话时的声音,同时采集录取这些人哭泣时的声音;之后将采集的说话声和哭泣声的声音样本经过语音分析系统处理,通过所述语音分析系统来分析人们正常说话的声音与哭泣时的声音之间所存在的联系;最终获取得到人们的说话声与哭泣声之间存在的对应关系。一般地,主要通过说话声和哭泣声的声音频谱图分析提取说话声和哭泣声的对应关系。Specifically, this step can be described as: collecting and recording the sounds of many people speaking normally, and collecting and recording the sounds of these people when they cry; The voice analysis system analyzes the connection between people's normal speaking voice and crying voice; finally obtains the corresponding relationship between people's speaking voice and crying voice. Generally, the corresponding relationship between the speaking voice and the crying voice is mainly extracted by analyzing the spectrograms of the speaking voice and the crying voice.
步骤S202、采集智能移动终端当前用户的说话声,并提取所述说话声的声音特征,记为第三声音特征。Step S202, collect the speech of the current user of the smart mobile terminal, and extract the sound feature of the speech, which is recorded as the third sound feature.
在本实施例中,在基于用户的哭泣声触发智能移动终端的安慰功能之前,进行的预处理时,还包括对智能移动终端当前用户的说话声进行样本采集的操作,其中,步骤S202可以理解为对智能移动终端当前用户的声音样本进行采集分析的操作。In this embodiment, before the comfort function of the smart mobile terminal is triggered based on the user's crying sound, the preprocessing also includes the operation of sample collection of the current user's voice of the smart mobile terminal, wherein step S202 can be understood It is an operation of collecting and analyzing the voice samples of the current user of the smart mobile terminal.
具体的,该步骤可以描述为:在智能移动终端当前用户进行通话时,采集通话过程中当前用户的语音信息,或者特意对智能移动终端当前用户的说话声进行录音实现声音样本采集;之后,对采集到的当前用户的说话声进行语音分析,并提取当前用户说话声音的声音特征。为了便于表述,将当前用户说话声的声音特征记为第三声音特征。Specifically, this step can be described as: when the current user of the smart mobile terminal is making a call, collect the voice information of the current user during the call, or deliberately record the voice of the current user of the smart mobile terminal to achieve sound sample collection; Speech analysis is performed on the collected speech of the current user, and sound features of the speech of the current user are extracted. For the convenience of expression, the sound feature of the current user's voice is recorded as the third sound feature.
步骤S203、基于所述说话声与哭泣声之间的对应关系及所述第三声音特征,获取当前用户的哭泣声特征,记为第二声音特征。Step S203 , based on the correspondence between the speaking voice and the crying voice and the third voice feature, acquire the crying voice feature of the current user, and record it as the second voice feature.
在本实施例中,基于步骤S201获取的说话声与哭泣声的对应关系,以及步骤S202获取的智能移动终端当前用户的说话声的声音特征(第三声音特征),就可以模拟出当前用户哭泣时的声音特征,为了便于表述,将所模拟出的当前用户的哭泣声音特征记为第二声音特征。In this embodiment, based on the corresponding relationship between the speaking voice and the crying sound acquired in step S201, and the voice feature (third voice feature) of the voice of the current user of the smart mobile terminal acquired in step S202, it is possible to simulate the crying of the current user The sound feature of the time, for the convenience of expression, the simulated crying sound feature of the current user is recorded as the second sound feature.
步骤S204、当监测到有声音时,提取所述声音的声音特征并记为第一声音特征。Step S204, when a sound is detected, extract the sound feature of the sound and record it as the first sound feature.
在本实施例中,完成上述步骤S201至步骤S203的操作,便完成了基于用户的哭泣声触发智能移动终端的安慰功能的预处理工作。之后基于步骤S204启动声音监测,对智能移动终端周围的声音进行实时监测,且所监测的声音一般优选为人发出的声音;当监测到有声音出现时,对所监测的声音进行处理,并提取声音特征,该声音特征就是第一声音特征。In this embodiment, after the above steps S201 to S203 are completed, the preprocessing work of triggering the comfort function of the smart mobile terminal based on the crying sound of the user is completed. Then start the sound monitoring based on step S204 to monitor the sound around the smart mobile terminal in real time, and the sound monitored is generally preferably the sound of a person; when a sound is detected, the monitored sound is processed and the sound is extracted feature, the sound feature is the first sound feature.
进一步的,所述第一声音特征和第二声音特征均为声音频谱图。Further, both the first sound feature and the second sound feature are sound spectrograms.
具体的,本发明所提方法中的声音特征,如第一声音特征和第二声音特征,这些声音特征均指声音频谱图。所述声音频谱图具体可理解为一个按声音频率排列所得的图像分布曲线。所述声音频谱基于频率的大小可以分为高音频段、中高音频段、中低音频段以及低音频段,一般地,声音频谱主要用于音色和音调的分析,从而对不同的声音进行识别。Specifically, the sound features in the method of the present invention, such as the first sound feature and the second sound feature, all refer to the sound spectrogram. The sound spectrogram can be specifically understood as an image distribution curve obtained by arranging sound frequencies. The sound spectrum can be divided into high frequency range, middle high frequency range, middle low frequency range and low frequency range based on frequency. Generally, the sound spectrum is mainly used for the analysis of timbre and tone, so as to identify different sounds.
步骤S205、判断所述声音的持续时间是否大于或等于第一预设值,若是,则执行步骤S206;若否,则返回步骤S204。Step S205, judging whether the duration of the sound is greater than or equal to the first preset value, if yes, execute step S206; if not, return to step S204.
示例性的,步骤S205可理解以为:判断所监测到的声音持续时间是否大于或等于20秒,如果大于或等于20秒,则执行步骤S206;如果没有达到20秒,则直接返回步骤S204。需要注意的是,本实施例中的设定的声音持续时间20秒为一优选值,并不仅限定为该时间长度。Exemplarily, step S205 can be understood as: judging whether the duration of the monitored sound is greater than or equal to 20 seconds, if greater than or equal to 20 seconds, then execute step S206; if not 20 seconds, then directly return to step S204. It should be noted that the set sound duration of 20 seconds in this embodiment is a preferred value, and is not limited to this duration.
步骤S206、判断所述第一声音特征与所述第二声音特征的吻合度是否大于或等于第二预设值,若是,则执行步骤S207;若否,则返回步骤S204。Step S206, judging whether the degree of coincidence between the first sound feature and the second sound feature is greater than or equal to a second preset value, if yes, execute step S207; if not, return to step S204.
示例性的,步骤S206可以理解为:判断所监测到的声音的声音特征与预先获取的第二声音特征的吻合度是否大于或等于了80%,如果吻合度大于或等于80%,则执行步骤S207;否则,可直接返回步骤S204。Exemplarily, step S206 can be understood as: judging whether the matching degree of the sound feature of the monitored sound and the second sound feature acquired in advance is greater than or equal to 80%, and if the matching degree is greater than or equal to 80%, perform step S207; otherwise, directly return to step S204.
在本实施例中,所述声音特征的吻合度具体可理解为声音频谱图的相似度或者重合度。需要注意的是,本实施例中设定的吻合度80%也是一个优选值,并不仅限定于该取值;此外,只有在同时满足步骤S205及步骤S206的判定条件时才能执行后面的步骤S207。In this embodiment, the degree of coincidence of the sound features may specifically be understood as the degree of similarity or coincidence of sound spectrograms. It should be noted that the matching degree of 80% set in this embodiment is also a preferred value, and is not limited to this value; in addition, the following step S207 can only be executed when the judgment conditions of step S205 and step S206 are met at the same time .
步骤S207、触发智能移动终端执行安慰功能。Step S207, triggering the smart mobile terminal to execute the comfort function.
在本实施例中,本发明方法的最终目的就是基于用户的哭声实现智能移动终端安慰功能的自动触发,也即智能移动终端可以在识别出用户的哭声后作出响应,主动对智能移动终端的当前用户进行安抚,缓解悲伤情绪。In this embodiment, the ultimate goal of the method of the present invention is to automatically trigger the comfort function of the smart mobile terminal based on the cry of the user, that is, the smart mobile terminal can respond after recognizing the cry of the user, and actively respond to the smart mobile terminal. The current users of the app are comforted and relieved of sadness.
进一步的,所述触发智能移动终端执行安慰功能,具体包括:触发智能移动终端播放预设的音乐或动画视频;和/或触发智能移动终端向预设的手机号码发送预设的寻求安慰短信。Further, the triggering the smart mobile terminal to execute the comforting function specifically includes: triggering the smart mobile terminal to play preset music or animation video; and/or triggering the smart mobile terminal to send a preset comfort message to a preset mobile phone number.
在本实施例中,智能移动终端执行安慰功能的表现形式有多种,具体的,可以触发智能移动终端播放音乐或者动画视频,其中,所播放的音乐提前存储在智能移动终端存储卡中,具体的音乐内容可人为设定,所设定的音乐内容可以是预先人为录制的用于安慰的话语,也可以是用户喜爱的歌曲等;同样,所播放的视频也提前存放在智能移动终端的存储卡中,播放的视频内容也可人为设定,其内容可以是预先录制的真实视频,也可以是用户喜爱节目或动画视频。In this embodiment, the smart mobile terminal can perform the comfort function in various forms. Specifically, the smart mobile terminal can be triggered to play music or animated videos, wherein the played music is stored in the memory card of the smart mobile terminal in advance. The music content can be set artificially. The set music content can be artificially recorded words for comfort in advance, or it can be the user's favorite song, etc.; similarly, the played video is also stored in the storage device of the smart mobile terminal in advance. In the card, the video content to be played can also be artificially set, and its content can be a pre-recorded real video, or a user's favorite program or animated video.
此外,本发明方法还可以触发智能移动终端自动向亲人朋友发送寻求安慰的短信,其中,在短信发送之前,需要人为设定短信发送的目标对象及其手机号码,一般地,本发明可同时设定多个目标对象,然后使智能移动终端向预设的所有人进行短信群发;同时,所发送的寻求安慰的短信内容也是预先编辑好的,存放在相应的文件夹中。In addition, the method of the present invention can also trigger the intelligent mobile terminal to automatically send messages seeking comfort to relatives and friends. Before sending the message, it is necessary to manually set the target object and the mobile phone number of the message. Generally, the present invention can simultaneously set Set multiple target objects, and then make the smart mobile terminal send mass text messages to all the preset people; at the same time, the contents of the sent comfort text messages are also pre-edited and stored in corresponding folders.
本发明实施例二提供的一种基于哭声触发智能移动终端功能应用的方法,该方法首先采集多人的说话声和哭声样本,提取分析说话声与哭声之间的对应关系;然后再采集智能移动终端当前用户的说话声;之后基于所述对应关系以及用户的说话声,预先获取一个用户的哭声特征样本;最终将监测时获取的声音特征与哭声特征样本比较,进行智能移动终端安慰功能的自动触发,使智能移动终端能够自动播放音乐或视频;或智能移动终端自动向预设的亲人朋友发送需求安慰的短信。利用该方法,基于对哭声特征的识别触发智能移动终端自动执行安慰功能,体现了智能移动终端人性化的特点,同时提升了用户对智能移动终端的用户体验。Embodiment 2 of the present invention provides a method for triggering the function application of an intelligent mobile terminal based on crying. The method first collects samples of speaking and crying of multiple people, extracts and analyzes the corresponding relationship between speaking and crying; and then Collect the voice of the current user of the smart mobile terminal; then, based on the corresponding relationship and the voice of the user, pre-acquire a cry feature sample of a user; finally compare the voice feature acquired during monitoring with the cry feature sample, and perform intelligent mobile The automatic triggering of the comfort function of the terminal enables the smart mobile terminal to automatically play music or video; or the smart mobile terminal automatically sends text messages requiring comfort to preset relatives and friends. Using this method, the intelligent mobile terminal is triggered to automatically execute the comfort function based on the recognition of the characteristics of the crying sound, which embodies the humanized characteristics of the intelligent mobile terminal, and at the same time improves the user experience of the user on the intelligent mobile terminal.
实施例三Embodiment three
图3为本发明实施例三提供的一种基于哭声触发智能移动终端功能应用的装置的结构示意图。该装置可由软件和/或硬件实现,并一般集成于智能移动终端中。如图3所示,该装置的具体结构如下,包括:声音监测模块311和功能触发模块312。其中,FIG. 3 is a schematic structural diagram of an apparatus for triggering a function application of a smart mobile terminal based on a crying sound according to Embodiment 3 of the present invention. The device can be implemented by software and/or hardware, and is generally integrated in an intelligent mobile terminal. As shown in FIG. 3 , the specific structure of the device is as follows, including: a sound monitoring module 311 and a function triggering module 312 . in,
声音监测模块311,用于当监测到有声音时,提取所述声音的声音特征并记为第一声音特征;The sound monitoring module 311 is used to extract the sound feature of the sound and record it as the first sound feature when a sound is detected;
功能触发模块312,用于当所述声音的持续时间大于或等于第一预设值,且所述第一声音特征与预先获取的第二声音特征的吻合度大于或等于第二预设值时,触发智能移动终端执行安慰功能,其中,所述第二声音特征为智能移动终端当前用户的哭泣声特征。A function trigger module 312, configured to when the duration of the sound is greater than or equal to a first preset value, and the degree of coincidence between the first sound feature and the pre-acquired second sound feature is greater than or equal to a second preset value , triggering the smart mobile terminal to execute the comfort function, wherein the second sound feature is the crying sound feature of the current user of the smart mobile terminal.
进一步的,该装置还包括:第一采集模块301、第二采集模块302和哭声特征获取模块303。其中,Further, the device further includes: a first collection module 301 , a second collection module 302 and a cry feature acquisition module 303 . in,
第一采集模块301,用于采集多人在说话和哭泣时的声音样本,分析说话声与哭泣声之间的对应关系;The first collection module 301 is used to collect sound samples of many people when speaking and crying, and analyze the correspondence between speaking and crying;
第二采集模块302,用于采集智能移动终端当前用户的说话声,并提取所述说话声的声音特征,记为第三声音特征;The second collection module 302 is used to collect the speech of the current user of the smart mobile terminal, and extract the sound feature of the speech, which is recorded as the third sound feature;
哭声特征获取模块303,用于基于所述说话声与哭泣声之间的对应关系及所述第三声音特征,获取当前用户的哭泣声特征,记为第二声音特征。The crying feature acquisition module 303 is configured to acquire the crying feature of the current user based on the correspondence between the speaking voice and the crying sound and the third voice feature, which is recorded as the second voice feature.
在本实施例中,该装置首先通过第一采集模块301采集多人在说话时和哭泣时的声音样本,得到说话声与哭泣声之间的对应关系;然后通过第二采集模块302采集智能移动终端当前用户的说话声;之后通过哭声特征获取模块303基于所采集的当前用户的说话声以及所得到的说话声和哭声的对应关系确定当前用户哭泣声的声音特征;之后再基于声音监测模块311随时监测是否有声音出现,当监测到有声音出现时,提取该声音的声音特征;最终通过功能触发模块312来判定所提取的声音特征与确定的用户哭泣声的声音特征的吻合度是否大于等于预设值,且判定所监测到的声音持续时间是否大于等于预设值,如果上述条件均满足,则自动触发智能移动终端执行安慰功能,如播放预设的音乐或动画视频,或向亲人朋友发送预设的需求安慰的短信。In this embodiment, the device first collects sound samples of many people talking and crying through the first collection module 301 to obtain the correspondence between speaking and crying; The speech of the current user of the terminal; then determine the sound feature of the current user's cry based on the collected speech of the current user and the corresponding relationship between the obtained speech and crying by the cry feature acquisition module 303; then based on sound monitoring Module 311 monitors whether there is a sound at any time, and when a sound is detected, the sound feature of the sound is extracted; finally, the function trigger module 312 is used to determine whether the sound feature extracted is consistent with the sound feature of the user's crying sound. greater than or equal to the preset value, and determine whether the duration of the monitored sound is greater than or equal to the preset value, if the above conditions are met, the smart mobile terminal will be automatically triggered to perform comfort functions, such as playing preset music or animated videos, or sending Relatives and friends send preset text messages for comfort.
在上述实施例基础上,所述功能触发模块312,具体用于:当基于所述声音监测模块监测到的声音持续时间大于或等于第一预设值,且所述第一声音特征与预先获取的第二声音特征的吻合度大于或等于第二预设值时,触发智能移动终端播放预设的音乐或动画视频;和/或On the basis of the above embodiments, the function triggering module 312 is specifically configured to: when the duration of the sound detected by the sound monitoring module is greater than or equal to a first preset value, and the first sound feature is consistent with the pre-acquired When the matching degree of the second sound feature is greater than or equal to the second preset value, the smart mobile terminal is triggered to play preset music or animation video; and/or
当基于所述声音监测模块监测到的声音持续时间大于或等于第一预设值,且所述第一声音特征与预先获取的第二声音特征的吻合度大于或等于第二预设值时,触发智能移动终端向预设的手机号码发送预设的寻求安慰短信。When the sound duration monitored by the sound monitoring module is greater than or equal to a first preset value, and the degree of coincidence between the first sound feature and the pre-acquired second sound feature is greater than or equal to a second preset value, The smart mobile terminal is triggered to send a preset text message seeking comfort to a preset mobile phone number.
同时,在基于哭声触发智能移动终端功能应用的装置中,所述第一预设值为:20秒;所述第二预设值为:80%。At the same time, in the device for triggering the function application of the smart mobile terminal based on crying, the first preset value is: 20 seconds; the second preset value is: 80%.
此外,在上述实施例基础上,所述第一声音特征和第二声音特征均为声音频谱图。In addition, on the basis of the above embodiments, the first sound feature and the second sound feature are sound spectrograms.
本发明实施例三提供的一种基于哭声触发智能移动终端功能应用的装置,利用该装置,在用户哭泣时,能够使智能移动终端主动播放音乐或视频对用户进行安慰,或者智能移动终端自动向用户的亲人朋友发送寻求安慰的短信,减少用户的悲伤情绪,达到智能移动终端在用户哭泣时主动执行安慰功能的目的,体现了智能移动终端的人性化特点。Embodiment 3 of the present invention provides a device for triggering functional applications of smart mobile terminals based on crying sounds. With this device, when a user is crying, the smart mobile terminal can actively play music or video to comfort the user, or the smart mobile terminal can automatically Send comfort messages to relatives and friends of the user, reduce the sadness of the user, and achieve the purpose of the intelligent mobile terminal actively performing the comfort function when the user is crying, reflecting the humanized characteristics of the intelligent mobile terminal.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510882379.8A CN105551504B (en) | 2015-12-03 | 2015-12-03 | A method and device for triggering functional application of an intelligent mobile terminal based on crying |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510882379.8A CN105551504B (en) | 2015-12-03 | 2015-12-03 | A method and device for triggering functional application of an intelligent mobile terminal based on crying |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105551504A true CN105551504A (en) | 2016-05-04 |
CN105551504B CN105551504B (en) | 2019-04-23 |
Family
ID=55830652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510882379.8A Expired - Fee Related CN105551504B (en) | 2015-12-03 | 2015-12-03 | A method and device for triggering functional application of an intelligent mobile terminal based on crying |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105551504B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108960157A (en) * | 2018-07-09 | 2018-12-07 | 广东小天才科技有限公司 | Man-machine interaction method based on intelligent desk lamp and intelligent desk lamp |
CN108961887A (en) * | 2018-07-24 | 2018-12-07 | 广东小天才科技有限公司 | Voice search control method and family education equipment |
CN110874909A (en) * | 2018-08-29 | 2020-03-10 | 杭州海康威视数字技术股份有限公司 | Monitoring method, system and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2701025Y (en) * | 2004-05-24 | 2005-05-18 | 洪鸿文 | Voice-activated automatic voice comfort crying baby electronic device |
CN101064104A (en) * | 2006-04-24 | 2007-10-31 | 中国科学院自动化研究所 | Emotion voice creating method based on voice conversion |
CN101086741A (en) * | 2006-06-09 | 2007-12-12 | 索尼株式会社 | Information processing apparatus and information processing method |
CN102881284A (en) * | 2012-09-03 | 2013-01-16 | 江苏大学 | Unspecific human voice and emotion recognition method and system |
CN103489282A (en) * | 2013-09-24 | 2014-01-01 | 华南理工大学 | Infant monitor capable of identifying infant crying sound and method for identifying infant crying sound |
CN104347066A (en) * | 2013-08-09 | 2015-02-11 | 盛乐信息技术(上海)有限公司 | Deep neural network-based baby cry identification method and system |
CN105015608A (en) * | 2015-06-29 | 2015-11-04 | 叶秀兰 | Intelligent infant trolley |
-
2015
- 2015-12-03 CN CN201510882379.8A patent/CN105551504B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2701025Y (en) * | 2004-05-24 | 2005-05-18 | 洪鸿文 | Voice-activated automatic voice comfort crying baby electronic device |
CN101064104A (en) * | 2006-04-24 | 2007-10-31 | 中国科学院自动化研究所 | Emotion voice creating method based on voice conversion |
CN101086741A (en) * | 2006-06-09 | 2007-12-12 | 索尼株式会社 | Information processing apparatus and information processing method |
CN102881284A (en) * | 2012-09-03 | 2013-01-16 | 江苏大学 | Unspecific human voice and emotion recognition method and system |
CN104347066A (en) * | 2013-08-09 | 2015-02-11 | 盛乐信息技术(上海)有限公司 | Deep neural network-based baby cry identification method and system |
CN103489282A (en) * | 2013-09-24 | 2014-01-01 | 华南理工大学 | Infant monitor capable of identifying infant crying sound and method for identifying infant crying sound |
CN105015608A (en) * | 2015-06-29 | 2015-11-04 | 叶秀兰 | Intelligent infant trolley |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108960157A (en) * | 2018-07-09 | 2018-12-07 | 广东小天才科技有限公司 | Man-machine interaction method based on intelligent desk lamp and intelligent desk lamp |
CN108961887A (en) * | 2018-07-24 | 2018-12-07 | 广东小天才科技有限公司 | Voice search control method and family education equipment |
CN110874909A (en) * | 2018-08-29 | 2020-03-10 | 杭州海康威视数字技术股份有限公司 | Monitoring method, system and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105551504B (en) | 2019-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110446115B (en) | Live broadcast interaction method and device, electronic equipment and storage medium | |
US10270736B2 (en) | Account adding method, terminal, server, and computer storage medium | |
CN103035247B (en) | Based on the method and device that voiceprint is operated to audio/video file | |
CN112653902B (en) | Speaker recognition method and device and electronic equipment | |
CN110602516A (en) | Information interaction method and device based on live video and electronic equipment | |
CN105551498A (en) | Voice recognition method and device | |
CN107040452B (en) | Information processing method and device and computer readable storage medium | |
CN110914828A (en) | Speech translation method and translation device | |
CN104091596A (en) | Music identifying method, system and device | |
WO2016187910A1 (en) | Voice-to-text conversion method and device, and storage medium | |
CN108242238A (en) | Audio file generation method and device and terminal equipment | |
CN106020449A (en) | A virtual reality interaction method and device | |
CN108847221A (en) | Audio recognition method, device, storage medium and electronic equipment | |
CN111413877A (en) | Method and device for controlling household appliance | |
CN107451185B (en) | Recording method, reading system, computer readable storage medium and computer device | |
CN113450804B (en) | Speech visualization method, device, projection equipment and computer-readable storage medium | |
CN106027801A (en) | Communication message processing method and device and mobile device | |
CN110019848A (en) | Conversation interaction method and device and robot | |
CN113129893B (en) | Voice recognition method, device, equipment and storage medium | |
CN105551504B (en) | A method and device for triggering functional application of an intelligent mobile terminal based on crying | |
CN113301372A (en) | Live broadcast method, device, terminal and storage medium | |
CN105810219B (en) | Player method, play system and the voice frequency terminal of multimedia file | |
CN110197663A (en) | A kind of control method, device and electronic equipment | |
CN107977187A (en) | Reverberation adjusting method and electronic equipment | |
CN109271480B (en) | A kind of voice search method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190423 |