WO2017118037A1 - Voice-triggering method for smart device and smart device - Google Patents
Voice-triggering method for smart device and smart device Download PDFInfo
- Publication number
- WO2017118037A1 WO2017118037A1 PCT/CN2016/096080 CN2016096080W WO2017118037A1 WO 2017118037 A1 WO2017118037 A1 WO 2017118037A1 CN 2016096080 W CN2016096080 W CN 2016096080W WO 2017118037 A1 WO2017118037 A1 WO 2017118037A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sound
- smart device
- amplitude
- determining
- scene
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Definitions
- This document relates to, but is not limited to, the field of communications, and in particular, to a sound triggering method and a smart device of a smart device.
- the microphone, audio channel, and recognition engine are always working. The status is to receive the user voice command input at any time.
- the device is normally in a dormant state, and the voice recognition function is triggered/activated by a physical switch such as a button, a touch or a gesture, and then the user voice command input can be received.
- the device is always running to receive the user's voice command, and the voice control is implemented by the voice command, or the user needs to actively initiate the wake-up action to receive the user's voice command, and then implement voice control through the voice command. That is, the current smart device can only achieve the voice recognition function by sacrificing power consumption or by the user making a wake-up action, resulting in low efficiency of voice control processing and affecting the user experience.
- the embodiment of the invention provides a sound triggering method and an intelligent device of a smart device, which can improve the efficiency of using the voice control function and the user experience.
- a sound triggering method for a smart device including:
- the corresponding function of the smart device is triggered according to the sound characteristics of the active sound film.
- the collecting the sounds within the set sound frequency range includes:
- Converting the sound into a valid sound piece includes:
- the sound signal stream is buffered in units of set time intervals to form the effective sound sheet.
- the triggering the corresponding function of the smart device according to the sound feature of the effective sound piece includes:
- the determining the current scene corresponding to the sound feature includes:
- a corresponding current scene is determined according to a change trend of the amplitude value and/or the amplitude of the effective sound piece.
- determining the corresponding current scene according to the change trend of the amplitude value and/or the amplitude of the effective sound piece includes:
- Determining an amplitude value of the effective sound piece determining that the current scene is when the sum of the amplitude values of all the valid sound pieces is greater than the first set threshold or the sum of the amplitude values of all the valid sound pieces exceeds the second set threshold First scene;
- the triggering the corresponding function of the smart device according to the current scenario includes:
- the smart device When the current scene is the first scene, the smart device is woken up or the screen is illuminated.
- the determining, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, determining a corresponding current scene including:
- Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining that the current scene is the second scene when the change trend is from small to large;
- the triggering the corresponding function of the smart device according to the current scenario includes:
- the smart device When the current scenario is the second scenario, the smart device is switched from the sleep state to the working state.
- the determining, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, determining a corresponding current scene including:
- Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining the current scene as the third scene when the change trend is greater than the hour;
- the triggering the corresponding function of the smart device according to the current scenario includes:
- the smart device is switched to the sleep state.
- the embodiment of the invention further provides a smart device, including:
- a collecting unit configured to collect sounds within a set sound frequency range
- the processing unit is configured to convert the sound into a valid sound piece and trigger a corresponding function of the smart device according to the sound characteristics of the effective sound piece.
- the collecting unit is configured to:
- the sound in the set sound frequency range is collected by the digital sound pressure sensor to obtain a sound signal stream of the sound output;
- Converting the sound into a valid sound sheet by the processing unit includes:
- the sound signal stream is buffered in units of set time intervals to form the effective sound sheet.
- the processing unit triggers a corresponding function of the smart device according to the sound feature of the effective sound piece, including:
- the processing unit determines, according to the sound feature of the effective sound piece, the current scene corresponding to the sound feature, including:
- the corresponding current scene is determined according to the trend of the amplitude value and/or the amplitude of the effective sound piece.
- the processing unit determines, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene, including:
- Determining an amplitude value of the effective sound piece determining that the current scene is when the sum of the amplitude values of all the valid sound pieces is greater than the first set threshold or the sum of the amplitude values of all the valid sound pieces exceeds the second set threshold First scene;
- the processing unit triggers corresponding functions of the smart device according to the current scenario, including:
- the smart device When the current scene is the first scene, the smart device is woken up or the screen is illuminated.
- the processing unit determines, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene, including:
- Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining that the current scene is the second scene when the change trend is from small to large;
- the processing unit triggers corresponding functions of the smart device according to the current scenario, including:
- the smart device When the current scenario is the second scenario, the smart device is switched from the sleep state to the working state.
- the processing unit determines, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene, including:
- Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining the current scene as the third scene when the change trend is greater than the hour;
- the processing unit triggers corresponding functions of the smart device according to the current scenario, including:
- the smart device is switched to the sleep state.
- the technical solution provided by the embodiment of the present invention includes: collecting sounds in a set sound frequency range, converting the sound into an effective sound piece, and triggering a corresponding function of the smart device according to the sound characteristics of the effective sound piece.
- the embodiment of the invention does not require the user to perform voice control or manual triggering, and the voice control is conveniently implemented, thereby improving the user's use.
- FIG. 1 is a flowchart of a sound triggering method of a smart device according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of waveforms approximately restored by a sound film according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for triggering a sound of a room lighting according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a smart device according to an embodiment of the present invention.
- a sound triggering method of a smart device includes:
- Step 101 Collect sounds in a range of set sound frequencies
- Step 102 Convert the sound into a valid sound film
- Step 103 Trigger a corresponding function of the smart device according to the sound feature of the effective sound piece.
- the corresponding functions can be triggered.
- the user does not need to perform voice triggering or manual triggering, which is convenient for the user to use.
- the sound triggering method of the smart device can be implemented by a system including a digital sound pressure sensor circuit, a sound data processing unit and a trigger control unit, wherein the digital sound pressure sensor circuit performs acoustic-electrical conversion, and outputs a digital signal flow reflecting the sound waveform at a certain sampling rate.
- the sound data processing unit buffers, analyzes the sound data picked up by the digital sound pressure sensor circuit and outputs the processing result; the trigger control unit performs the trigger control action according to the processing result.
- the system can be embedded in the main system of the device as part of the whole system, or it can work as a slave system and interface with the main system of the device through the trigger control unit.
- collect sounds within the set sound frequency range including:
- the sound in the set sound frequency range is collected by the digital sound pressure sensor to obtain a sound signal stream of the sound output;
- converting the sound into a valid sound film including:
- the sound signal stream is buffered in units of set time intervals to form a valid sound sheet.
- the step 101 can be completed by the digital sound pressure sensor circuit, and the portion of the sound feature determined in steps 102 and 103 can be completed by the sound data processing unit, and the portion of the corresponding function that triggers the smart device in step 103 is completed by the trigger control unit.
- the digital sound pressure sensor circuit in order to improve the accuracy of the scene recognition, can be adjusted to a specific frequency response range, and only a specific sound is picked up.
- the frequency response range of the embodiment can be 82 Hz to 1100 Hz.
- the digital sound pressure sensor circuit outputs the sound data in a digital form.
- the pulse code modulation (PCM) code stream can be used in this embodiment;
- the sound data processing unit continuously receives the PCM code stream, and buffers the sound data in units of a certain time interval.
- a 150 millisecond interval may be used, and for a voice having a frequency range of 150 Hz to 600 Hz.
- the waveform of 22.5 to 90 cycles can be approximately reduced, that is, each discrete sound slice formed includes a sound waveform of 22.5 to 90 cycles;
- FIG. 2 is a waveform diagram approximately restored by the sound slice, and the horizontal axis
- slice[i] is a valid sound slice formed by a 150 millisecond interval.
- the current scene may be determined according to the sound feature, and then the corresponding function of the smart device is triggered according to the current scene.
- the corresponding function of the smart device is triggered according to the sound feature of the effective sound piece, including :
- step 103 determining a current scene corresponding to the sound feature according to the sound feature of the effective sound piece, including:
- the corresponding current scene is determined according to the trend of the amplitude value and/or the amplitude of the effective sound piece.
- the sound around the smart device continues to be large.
- the change trend of the amplitude value and/or the amplitude of the effective sound piece is determined, including:
- the amplitude value of the effective sound piece is determined.
- the current scene is determined to be the first scene.
- the corresponding function of the smart device is triggered according to the current scenario, including:
- the sound around the smart device is changed from small to large.
- the change trend of the amplitude value and/or the amplitude of the effective sound piece is determined, including:
- Determining the amplitude value of the effective sound piece determining the amplitude of the effective sound piece when the average value of the amplitude values of all the effective sound pieces is less than or equal to the first set threshold or the sum of the amplitude values of all the effective sound pieces is less than or equal to the second set threshold
- the trend of change when the trend is small and large, determine the current scene as the second scene
- Trigger the corresponding functions of the smart device according to the current scenario including:
- the smart device When the current scenario is the second scenario, the smart device is switched from the sleep state to the working state.
- the sound around the smart device is changed from large to small.
- the change trend of the amplitude value and/or the amplitude of the effective sound piece is determined, including:
- Determining the amplitude value of the effective sound piece determining the amplitude of the effective sound piece when the average value of the amplitude values of all the effective sound pieces is less than or equal to the first set threshold or the sum of the amplitude values of all the effective sound pieces is less than or equal to the second set threshold
- the trend of change when the trend is changed from large to small, determine the current scene as the third scene
- Trigger the corresponding functions of the smart device according to the current scenario including:
- the smart device is switched to the sleep state.
- the following example illustrates the corresponding scene identified by the sound film, and triggers the corresponding function of the smart device according to the current scene.
- the valid sound slices sorted in the order of reception time are the following sequence: slice[1], slice[2],...,slice[i-1],slice[i],slice[i+1],...,slice[n ].
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- a wake-up command can be issued to wake up the device and end the sleep.
- Embodiment 2 is a diagrammatic representation of Embodiment 1:
- a sleep command can be issued to put the device into hibernation
- Embodiment 3 is a diagrammatic representation of Embodiment 3
- the device can be woken up or the screen is lit.
- the number of continuous sound slices and the first set threshold ref1 may be set according to experience, or may be adjusted by the user according to usage habits. For example, if the user wants to increase the sensitivity, the number of continuous sound slices may be reduced. / or reduce the first set threshold ref1.
- the embodiment can be applied to the lighting of the room lighting.
- it includes:
- Step 301 picking up an ambient sound, and completing acoustic-electrical conversion and digital-to-analog conversion, and outputting a sound signal stream;
- Step 302 Cache the sound signal stream at a set time interval to form a plurality of effective sound slices
- Step 303 Analyze whether the amplitude (Am-slice) values of the continuous effective sound slice slice[i], slice[i+1], . . . , slice[j](i ⁇ j) exceed the first set threshold ref1, if If the Am-slice values of the continuous effective sound slices slice[i], slice[i+1], . . . , slice[j](i ⁇ j) exceed the first set threshold ref1, then step 304 is performed, otherwise, the effective sound The Slice_[i], slice[i+1], ..., slice[j] (i ⁇ j) Am-slice values do not exceed the first set threshold ref1, continue to perform step 301;
- Step 304 Send an instruction to the main control unit of the smart home controller, and the main control unit of the smart home controller controls the room lighting to automatically light up.
- these sound films can also be used to combine other different scenes and trigger corresponding functions.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute a sound triggering method of the smart device.
- the embodiment of the present invention further provides a smart device, as shown in FIG. 4, including:
- the collecting unit 401 is configured to collect sounds within a set sound frequency range
- the processing unit 402 is configured to convert the sound into a valid sound piece and trigger a corresponding function of the smart device according to the sound characteristics of the effective sound piece.
- the collecting unit 401 may include the aforementioned digital sound pressure sensor, and the processing unit 402 may correspond to the foregoing sound data processing unit and the trigger control unit.
- the collecting unit 401 is configured to:
- the sound in the set sound frequency range is collected by the digital sound pressure sensor to obtain a sound signal stream of the sound output;
- the processing unit 402 converts the sound into a valid sound piece, including:
- the sound signal stream is buffered in units of set time intervals to form a valid sound sheet.
- the set sound frequency range may be: 82 Hz to 1100 Hz;
- the set time interval can be: 150 milliseconds.
- the processing unit 402 triggers a corresponding function of the smart device according to the sound feature of the effective sound piece, including:
- the processing unit 402 determines, according to the sound feature of the effective sound piece, the sound feature corresponding Current scenario for:
- the corresponding current scene is determined according to the trend of the amplitude value and/or the amplitude of the effective sound piece.
- the processing unit 402 determines the corresponding current scene according to the change trend of the amplitude value and/or the amplitude of the effective sound piece, including:
- Determining an amplitude value of the effective sound piece determining that the current scene is the first scene when the average value of the amplitude values of all the active sound pieces is greater than the first set threshold or the sum of the amplitude values of all the valid sound pieces exceeds the second set threshold;
- the processing unit 402 triggers corresponding functions of the smart device according to the current scenario, including:
- the processing unit 402 determines the corresponding current scene according to the change trend of the amplitude value and/or the amplitude of the effective sound piece, including :
- Determining an amplitude value of the effective sound piece when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold A trend of the amplitude of the effective sound piece is determined, and when the change trend is small and large, the current scene is determined to be the second scene.
- the processing unit 402 triggers corresponding functions of the smart device according to the current scenario, including:
- the smart device When the current scenario is the second scenario, the smart device is switched from sleep to normal working state.
- the processing unit 402 determines the corresponding current scene according to the change trend of the amplitude value and/or the amplitude of the effective sound piece, including :
- Determining the amplitude value of the effective sound piece determining the amplitude of the effective sound piece when the average value of the amplitude values of all the effective sound pieces is less than or equal to the first set threshold or the sum of the amplitude values of all the effective sound pieces is less than or equal to the second set threshold
- the trend of change when the trend is changed from large to small, determine the current scene as the third scene
- the processing unit 402 triggers corresponding functions of the smart device according to the current scenario, including:
- the smart device is switched to the sleep state.
- the sound in the set sound frequency range can be collected, and the sound is converted into an effective sound piece, and then the current scene corresponding to the sound feature is determined according to the sound feature of the effective sound piece, and then the basis can be realized.
- the current scenario triggers the corresponding function of the smart device.
- the user does not need to perform voice control or manual triggering, which is convenient for the user to use.
- each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions.
- the invention is not limited to any specific form of combination of hardware and software.
- the above technical solution conveniently realizes voice control and improves the user experience.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
Description
本文涉及但不限于通信领域,尤其涉及一种智能设备的声音触发方法及智能设备。This document relates to, but is not limited to, the field of communications, and in particular, to a sound triggering method and a smart device of a smart device.
对于带有智慧语音识别功能的设备,例如智能手机、智能音箱、智能家居设备等,为了能够接收用户的语音命令,通常有两种方式:其一,让麦克风、音频通路、识别引擎一直处于工作状态,随时接收用户语音指令输入;其二,设备平时处于休眠状态,通过按键、触摸或手势等物理开关的方式触发/启动语音识别功能,之后才能接收用户语音指令输入。For devices with smart voice recognition, such as smart phones, smart speakers, smart home devices, etc., in order to receive the user's voice commands, there are usually two ways: First, the microphone, audio channel, and recognition engine are always working. The status is to receive the user voice command input at any time. Second, the device is normally in a dormant state, and the voice recognition function is triggered/activated by a physical switch such as a button, a touch or a gesture, and then the user voice command input can be received.
在这些使用场景中,设备要么一直运行才可以接收用户的语音指令,通过语音指令实现语音控制,要么需要用户主动做出唤醒动作才可以接收用户的语音指令,再通过语音指令实现语音控制。即,目前的智能设备只能牺牲功耗或者由用户做出唤醒动作才能实现语音识别功能,造成语音控制处理效率低,影响用户的使用体验。In these usage scenarios, the device is always running to receive the user's voice command, and the voice control is implemented by the voice command, or the user needs to actively initiate the wake-up action to receive the user's voice command, and then implement voice control through the voice command. That is, the current smart device can only achieve the voice recognition function by sacrificing power consumption or by the user making a wake-up action, resulting in low efficiency of voice control processing and affecting the user experience.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种智能设备的声音触发方法及智能设备,能够提高使用语音控制功能的效率和用户使用体验。The embodiment of the invention provides a sound triggering method and an intelligent device of a smart device, which can improve the efficiency of using the voice control function and the user experience.
依据本发明实施例的一个方面,提供一种智能设备的声音触发方法,包括:According to an aspect of the embodiments of the present invention, a sound triggering method for a smart device is provided, including:
收集设定声音频率范围内的声音;Collect sounds within the set sound frequency range;
将所述声音转换为有效声音片;Converting the sound into a valid sound sheet;
根据有效声音片的声音特征,触发智能设备的相应功能。The corresponding function of the smart device is triggered according to the sound characteristics of the active sound film.
可选的,所述收集设定声音频率范围内的声音包括: Optionally, the collecting the sounds within the set sound frequency range includes:
通过数字声压传感器收集所述设定声音频率范围内的声音,获得声音输出的声音信号流;Collecting sounds in the set sound frequency range by a digital sound pressure sensor to obtain a sound signal stream of sound output;
所述将所述声音转换为有效声音片,包括:Converting the sound into a valid sound piece includes:
将所述声音信号流以设定时间间隔为单位缓存声音数据,形成所述有效声音片。The sound signal stream is buffered in units of set time intervals to form the effective sound sheet.
可选的,所述根据有效声音片的声音特征,触发智能设备的相应功能包括:Optionally, the triggering the corresponding function of the smart device according to the sound feature of the effective sound piece includes:
根据所述有效声音片的声音特征,确定声音特征对应的当前场景;Determining a current scene corresponding to the sound feature according to the sound feature of the effective sound sheet;
根据当前场景触发智能设备的相应功能。Trigger the corresponding function of the smart device according to the current scene.
可选的,所述确定声音特征对应的当前场景包括:Optionally, the determining the current scene corresponding to the sound feature includes:
根据所述有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景。A corresponding current scene is determined according to a change trend of the amplitude value and/or the amplitude of the effective sound piece.
可选的,所述根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景包括:Optionally, determining the corresponding current scene according to the change trend of the amplitude value and/or the amplitude of the effective sound piece includes:
确定所述有效声音片的振幅值,当所有所述有效声音片的振幅值均值大于第一设定阈值或所有所述有效声音片的振幅值总和超过第二设定阈值时,确定当前场景为第一场景;Determining an amplitude value of the effective sound piece, determining that the current scene is when the sum of the amplitude values of all the valid sound pieces is greater than the first set threshold or the sum of the amplitude values of all the valid sound pieces exceeds the second set threshold First scene;
所述根据当前场景触发智能设备的相应功能,包括:The triggering the corresponding function of the smart device according to the current scenario includes:
所述当前场景为第一场景时,唤醒智能设备或点亮屏幕。When the current scene is the first scene, the smart device is woken up or the screen is illuminated.
可选的,所述根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, the determining, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, determining a corresponding current scene, including:
确定所述有效声音片的振幅值,当所有所述有效声音片的振幅值均值小于或等于第一设定阈值或所有所述有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当所述变化趋势为由小及大时,确定当前场景为第二场景;Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining that the current scene is the second scene when the change trend is from small to large;
所述根据当前场景触发智能设备的相应功能,包括:The triggering the corresponding function of the smart device according to the current scenario includes:
所述当前场景为第二场景时,将智能设备从休眠状态切换到工作状态。 When the current scenario is the second scenario, the smart device is switched from the sleep state to the working state.
可选的,所述根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, the determining, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, determining a corresponding current scene, including:
确定所述有效声音片的振幅值,当所有所述有效声音片的振幅值均值小于或等于第一设定阈值或所有所述有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当所述变化趋势为由大及小时,确定当前场景为第三场景;Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining the current scene as the third scene when the change trend is greater than the hour;
所述根据当前场景触发智能设备的相应功能,包括:The triggering the corresponding function of the smart device according to the current scenario includes:
所述当前场景为第三场景时,将智能设备切换到休眠状态。When the current scenario is the third scenario, the smart device is switched to the sleep state.
本发明实施例还提供一种智能设备,包括:The embodiment of the invention further provides a smart device, including:
收集单元,设置为收集设定声音频率范围内的声音;a collecting unit configured to collect sounds within a set sound frequency range;
处理单元,设置为将所述声音转换为有效声音片,并根据有效声音片的声音特征,触发智能设备的相应功能。The processing unit is configured to convert the sound into a valid sound piece and trigger a corresponding function of the smart device according to the sound characteristics of the effective sound piece.
可选的,所述收集单元是设置为:Optionally, the collecting unit is configured to:
通过数字声压传感器收集设定声音频率范围内的声音,获得声音输出的声音信号流;The sound in the set sound frequency range is collected by the digital sound pressure sensor to obtain a sound signal stream of the sound output;
所述处理单元将所述声音转换为有效声音片包括:Converting the sound into a valid sound sheet by the processing unit includes:
将所述声音信号流以设定时间间隔为单位缓存声音数据,形成所述有效声音片。The sound signal stream is buffered in units of set time intervals to form the effective sound sheet.
可选的,所述处理单元根据有效声音片的声音特征,触发智能设备的相应功能,包括:Optionally, the processing unit triggers a corresponding function of the smart device according to the sound feature of the effective sound piece, including:
根据有效声音片的声音特征,确定声音特征对应的当前场景;Determining a current scene corresponding to the sound feature according to the sound characteristics of the effective sound sheet;
根据当前场景触发智能设备的相应功能。Trigger the corresponding function of the smart device according to the current scene.
可选的,所述处理单元根据有效声音片的声音特征,确定声音特征对应的当前场景包括:Optionally, the processing unit determines, according to the sound feature of the effective sound piece, the current scene corresponding to the sound feature, including:
根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景。The corresponding current scene is determined according to the trend of the amplitude value and/or the amplitude of the effective sound piece.
可选的,所述处理单元根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括: Optionally, the processing unit determines, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene, including:
确定所述有效声音片的振幅值,当所有所述有效声音片的振幅值均值大于第一设定阈值或所有所述有效声音片的振幅值总和超过第二设定阈值时,确定当前场景为第一场景;Determining an amplitude value of the effective sound piece, determining that the current scene is when the sum of the amplitude values of all the valid sound pieces is greater than the first set threshold or the sum of the amplitude values of all the valid sound pieces exceeds the second set threshold First scene;
所述处理单元根据当前场景触发智能设备的相应功能,包括:The processing unit triggers corresponding functions of the smart device according to the current scenario, including:
所述当前场景为第一场景时,唤醒智能设备或点亮屏幕。When the current scene is the first scene, the smart device is woken up or the screen is illuminated.
可选的,所述处理单元根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, the processing unit determines, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene, including:
确定所述有效声音片的振幅值,当所有所述有效声音片的振幅值均值小于或等于第一设定阈值或所有所述有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当所述变化趋势为由小及大时,确定当前场景为第二场景;Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining that the current scene is the second scene when the change trend is from small to large;
所述处理单元根据当前场景触发智能设备的相应功能,包括:The processing unit triggers corresponding functions of the smart device according to the current scenario, including:
所述当前场景为第二场景时,将智能设备从休眠状态切换到工作状态。When the current scenario is the second scenario, the smart device is switched from the sleep state to the working state.
可选的,所述处理单元根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, the processing unit determines, according to a change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene, including:
确定所述有效声音片的振幅值,当所有所述有效声音片的振幅值均值小于或等于第一设定阈值或所有所述有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当所述变化趋势为由大及小时,确定当前场景为第三场景;Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold Determining a trend of the amplitude of the effective sound piece, and determining the current scene as the third scene when the change trend is greater than the hour;
所述处理单元根据当前场景触发智能设备的相应功能,包括:The processing unit triggers corresponding functions of the smart device according to the current scenario, including:
所述当前场景为第三场景时,将智能设备切换到休眠状态。When the current scenario is the third scenario, the smart device is switched to the sleep state.
与相关技术相比,本发明实施例提供的技术方案,包括:收集设定声音频率范围内的声音,将声音转换为有效声音片,根据有效声音片的声音特征,触发智能设备的相应功能。本发明实施例在能够识别出声音特征时,不需要用户进行语音控制或者手动触发,便捷的实现了语音控制,提升了用户的使用Compared with the related art, the technical solution provided by the embodiment of the present invention includes: collecting sounds in a set sound frequency range, converting the sound into an effective sound piece, and triggering a corresponding function of the smart device according to the sound characteristics of the effective sound piece. When the voice feature can be recognized, the embodiment of the invention does not require the user to perform voice control or manual triggering, and the voice control is conveniently implemented, thereby improving the user's use.
在阅读并理解了附图和详细描述后,可以明白其他方面。 Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例提供的智能设备的声音触发方法流程图;FIG. 1 is a flowchart of a sound triggering method of a smart device according to an embodiment of the present invention;
图2为本发明实施例提供的由声音片近似还原出的波形示意图;2 is a schematic diagram of waveforms approximately restored by a sound film according to an embodiment of the present invention;
图3为本发明实施例提供的房间照明灯的声音触发方法流程图;3 is a flowchart of a method for triggering a sound of a room lighting according to an embodiment of the present invention;
图4为本发明实施例提供的智能设备结构示意图。FIG. 4 is a schematic structural diagram of a smart device according to an embodiment of the present invention.
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
如图1所示,本发明实施例提供的智能设备的声音触发方法,包括:As shown in FIG. 1 , a sound triggering method of a smart device according to an embodiment of the present invention includes:
步骤101、收集设定声音频率范围内的声音;Step 101: Collect sounds in a range of set sound frequencies;
步骤102、将声音转换为有效声音片;Step 102: Convert the sound into a valid sound film;
步骤103、根据有效声音片的声音特征,触发智能设备的相应功能。Step 103: Trigger a corresponding function of the smart device according to the sound feature of the effective sound piece.
通过分析收集到的声音的声音特征,即可触发相应的功能,在能够识别出声音特征时,不需要用户进行语音触发或者手动触发,便于用户的使用。By analyzing the sound characteristics of the collected sounds, the corresponding functions can be triggered. When the sound features can be recognized, the user does not need to perform voice triggering or manual triggering, which is convenient for the user to use.
智能设备的声音触发方法可以通过包括数字声压传感器电路、声音数据处理单元和触发控制单元的系统实现,其中数字声压传感器电路完成声电转换,以一定采样率输出反映声音波形的数字信号流;声音数据处理单元缓存、分析数字声压传感器电路拾取的声音数据并输出处理结果;触发控制单元根据处理结果,执行触发控制动作。本系统可以嵌入设备主系统中成为整个系统的一部分,也可以作为从系统单独工作,通过触发控制单元与设备主系统对接。The sound triggering method of the smart device can be implemented by a system including a digital sound pressure sensor circuit, a sound data processing unit and a trigger control unit, wherein the digital sound pressure sensor circuit performs acoustic-electrical conversion, and outputs a digital signal flow reflecting the sound waveform at a certain sampling rate. The sound data processing unit buffers, analyzes the sound data picked up by the digital sound pressure sensor circuit and outputs the processing result; the trigger control unit performs the trigger control action according to the processing result. The system can be embedded in the main system of the device as part of the whole system, or it can work as a slave system and interface with the main system of the device through the trigger control unit.
可选的,收集设定声音频率范围内的声音,包括:Optionally, collect sounds within the set sound frequency range, including:
通过数字声压传感器收集设定声音频率范围内的声音,获得声音输出的声音信号流;The sound in the set sound frequency range is collected by the digital sound pressure sensor to obtain a sound signal stream of the sound output;
可选的,将声音转换为有效声音片,包括:Optionally, converting the sound into a valid sound film, including:
将声音信号流以设定时间间隔为单位缓存声音数据,形成有效声音片。 The sound signal stream is buffered in units of set time intervals to form a valid sound sheet.
其中,步骤101可以通过数字声压传感器电路完成,步骤102和步骤103中确定声音特征的部分可以通过声音数据处理单元完成,步骤103中触发智能设备的相应功能的部分则通过触发控制单元完成。The
本发明实施例,为提高场景识别的准确性,数字声压传感器电路可以调校到特定的频率响应范围,仅拾取特定的声音,例如本实施例可以限定频率响应范围可以是82赫兹~1100赫兹,即人说话声,人说话声以外的声音被过滤掉,数字声压传感器电路输出数字形式的声音数据,例如本实施例可以为脉冲编码调制(Pulse Code Modulation,PCM)码流;In the embodiment of the present invention, in order to improve the accuracy of the scene recognition, the digital sound pressure sensor circuit can be adjusted to a specific frequency response range, and only a specific sound is picked up. For example, the frequency response range of the embodiment can be 82 Hz to 1100 Hz. , that is, the human voice, the sound other than the human voice is filtered out, and the digital sound pressure sensor circuit outputs the sound data in a digital form. For example, the pulse code modulation (PCM) code stream can be used in this embodiment;
在步骤102中,声音数据处理单元持续接收PCM码流,以一定时间间隔(interval)为单位缓存声音数据,例如本实施例中可以采用150毫秒间隔,对于频率范围是150赫兹~600赫兹的语音,可以近似还原22.5~90个周期的波形,即形成的每个离散声音片(slice)内包含22.5~90个周期的声音波形;图2为一个由声音片近似还原出的波形示意图,横轴为时间,单位毫秒,slice[i]是150毫秒间隔形成的一个有效声音片。In
为了便于用户的使用,可以根据声音特征确定出当前的场景,再根据当前场景来触发智能设备的相应功能,此时,步骤103,根据有效声音片的声音特征,触发智能设备的相应功能,包括:In order to facilitate the use of the user, the current scene may be determined according to the sound feature, and then the corresponding function of the smart device is triggered according to the current scene. At this step, in
根据有效声音片的声音特征,确定声音特征对应的当前场景;Determining a current scene corresponding to the sound feature according to the sound characteristics of the effective sound sheet;
根据当前场景触发智能设备的相应功能。Trigger the corresponding function of the smart device according to the current scene.
可选,步骤103,根据有效声音片的声音特征,确定声音特征对应的当前场景,包括:Optionally, in
根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景。The corresponding current scene is determined according to the trend of the amplitude value and/or the amplitude of the effective sound piece.
可选,一种可能的场景中,智能设备周围的声音持续较大,此时,根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, in a possible scenario, the sound around the smart device continues to be large. At this time, according to the change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene is determined, including:
确定有效声音片的振幅值,当所有有效声音片的振幅值均值大于第一设定阈值或所有有效声音片的振幅值总和超过第二设定阈值时,确定当前场景为第一场景。The amplitude value of the effective sound piece is determined. When the average value of the amplitude values of all the effective sound pieces is greater than the first set threshold or the sum of the amplitude values of all the effective sound pieces exceeds the second set threshold, the current scene is determined to be the first scene.
可选的,根据当前场景触发智能设备的相应功能,包括: Optionally, the corresponding function of the smart device is triggered according to the current scenario, including:
当前场景为第一场景时,唤醒智能设备或点亮屏幕。When the current scene is the first scene, wake up the smart device or light up the screen.
可选的,另一种可能的场景中,智能设备周围的声音由小变大,此时,根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, in another possible scenario, the sound around the smart device is changed from small to large. At this time, according to the change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene is determined, including:
确定有效声音片的振幅值,当所有有效声音片的振幅值均值小于或等于第一设定阈值或所有有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当变化趋势为由小及大时,确定当前场景为第二场景;Determining the amplitude value of the effective sound piece, determining the amplitude of the effective sound piece when the average value of the amplitude values of all the effective sound pieces is less than or equal to the first set threshold or the sum of the amplitude values of all the effective sound pieces is less than or equal to the second set threshold The trend of change, when the trend is small and large, determine the current scene as the second scene;
根据当前场景触发智能设备的相应功能,包括:Trigger the corresponding functions of the smart device according to the current scenario, including:
当前场景为第二场景时,将智能设备从休眠状态切换到工作状态。When the current scenario is the second scenario, the smart device is switched from the sleep state to the working state.
可选的,另一种可能的场景中,智能设备周围的声音由大变小,此时,根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, in another possible scenario, the sound around the smart device is changed from large to small. At this time, according to the change trend of the amplitude value and/or the amplitude of the effective sound piece, the corresponding current scene is determined, including:
确定有效声音片的振幅值,当所有有效声音片的振幅值均值小于或等于第一设定阈值或所有有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当变化趋势为由大及小时,确定当前场景为第三场景;Determining the amplitude value of the effective sound piece, determining the amplitude of the effective sound piece when the average value of the amplitude values of all the effective sound pieces is less than or equal to the first set threshold or the sum of the amplitude values of all the effective sound pieces is less than or equal to the second set threshold The trend of change, when the trend is changed from large to small, determine the current scene as the third scene;
根据当前场景触发智能设备的相应功能,包括:Trigger the corresponding functions of the smart device according to the current scenario, including:
当前场景为第三场景时,将智能设备切换到休眠状态。When the current scene is the third scene, the smart device is switched to the sleep state.
下面举例说明通过声音片识别出相应场景,并根据当前场景触发智能设备的相应功能。The following example illustrates the corresponding scene identified by the sound film, and triggers the corresponding function of the smart device according to the current scene.
假设以接收时间顺序排序的有效声音片为以下序列:slice[1],slice[2],…,slice[i-1],slice[i],slice[i+1],…,slice[n]。Suppose the valid sound slices sorted in the order of reception time are the following sequence: slice[1], slice[2],...,slice[i-1],slice[i],slice[i+1],...,slice[n ].
实施例一:Embodiment 1:
当从slice[1],…,slice[i],…,slice[n]序列中解析出来的声音频率(音调)的变化趋势相同(准确的说是忽略多普勒效应后的近似相同),并且波形在允许的容忍范围内近似相同,但振幅(响度)有逐渐增大的趋势,假设slice[i]的振幅平均值或总和表示为Am-slice[i],即Am-slice[1]<Am-slice[2]<…<Am-slice[i-1]<Am-slice[i]<Am-slice[i+1]<…<Am-slice[n],那么根据响度与到声源距离的平方成反比的原理,声音数据处理单元判断为人正在相对于设备 由远及近的运动,记为场景sc[1];When the frequency (tone) of the sound parsed from the sequence of slice[1],...,slice[i],...,slice[n] is the same (accurately, the approximation is the same after ignoring the Doppler effect), And the waveform is approximately the same within the allowable tolerance range, but the amplitude (loudness) has a tendency to gradually increase, assuming that the average or sum of the amplitudes of slice[i] is expressed as Am-slice[i], ie Am-slice[1] <Am-slice[2]<...<Am-slice[i-1]<Am-slice[i]<Am-slice[i+1]<...<Am-slice[n], then according to the loudness and the sound The principle that the square of the source distance is inversely proportional, the sound data processing unit determines that the person is relative to the device From the far and near movement, recorded as the scene sc[1];
当识别出场景sc[1]时,可以发出唤醒指令,唤醒设备,结束休眠。When the scene sc[1] is recognized, a wake-up command can be issued to wake up the device and end the sleep.
实施例二:Embodiment 2:
当从slice[1],…,slice[i],…,slice[n]序列中解析出来的声音波形的频率(音调)变化趋势相同(准确的说是忽略多普勒效应后的近似相同),并且波形在允许的容忍范围内近似相同,但振幅(响度)有逐渐减小的趋势,假设slice[i]的振幅平均值或总和表示为Am-slice[i],即Am-slice[1]>Am-slice[2]>…>Am-slice[i-1]>Am-slice[i]>Am-slice[i+1]>…>Am-slice[n],那么根据响度与到声源距离的平方成反比的原理,声音数据处理单元判断为人正在相对于设备由近及远的运动,记为场景sc[2];When the frequency (tone) of the sound waveform parsed from the sequence of slice[1],..., slice[i],...,slice[n] changes the same trend (accurately, the approximation is the same after ignoring the Doppler effect) And the waveform is approximately the same within the allowable tolerance range, but the amplitude (loudness) tends to decrease gradually, assuming that the average or sum of the amplitudes of slice[i] is expressed as Am-slice[i], ie Am-slice[1] ]>Am-slice[2]>...>Am-slice[i-1]>Am-slice[i]>Am-slice[i+1]>...>Am-slice[n], then according to the loudness and The principle that the square of the sound source distance is inversely proportional, the sound data processing unit determines that the person is moving from near to far with respect to the device, and records it as scene sc[2];
当识别出场景sc[2]时,可以发出休眠指令,使设备进入休眠;When the scene sc[2] is recognized, a sleep command can be issued to put the device into hibernation;
实施例三:Embodiment 3:
当某几个连续有效声音片slice[i],slice[i+1],…,slice[j](i<j)的Am-slice值都超过第一设定阈值ref1,则记为场景sc[3];When the Am-slice values of some consecutive valid sound slices slice[i], slice[i+1],...,slice[j](i<j) exceed the first set threshold ref1, it is recorded as scene sc [3];
当识别出场景sc[3]时,可以进行设备唤醒或点亮屏幕。When the scene sc[3] is recognized, the device can be woken up or the screen is lit.
其中,连续声音片的个数和第一设定阈值ref1可以根据经验来设定,也可以由用户根据使用习惯进行调整,例如,用户要调高灵敏度,则可以减少连续声音片的个数和/或减小第一设定阈值ref1。The number of continuous sound slices and the first set threshold ref1 may be set according to experience, or may be adjusted by the user according to usage habits. For example, if the user wants to increase the sensitivity, the number of continuous sound slices may be reduced. / or reduce the first set threshold ref1.
例如,该实施例可以应用在房间照明灯的点亮上,此时,如图3所示,包括:For example, the embodiment can be applied to the lighting of the room lighting. At this time, as shown in FIG. 3, it includes:
步骤301、拾取环境音,并完成声电转化和数模转换,输出声音信号流;Step 301, picking up an ambient sound, and completing acoustic-electrical conversion and digital-to-analog conversion, and outputting a sound signal stream;
步骤302、以设定时间间隔缓存声音信号流,形成若干有效声音片;Step 302: Cache the sound signal stream at a set time interval to form a plurality of effective sound slices;
步骤303、分析是否连续有效声音片slice[i],slice[i+1],…,slice[j](i<j)的振幅(Am-slice)值都超过第一设定阈值ref1,如果连续有效声音片slice[i],slice[i+1],…,slice[j](i<j)的Am-slice值都超过第一设定阈值ref1,则执行步骤304,否则,有效声音片slice[i],slice[i+1],…,slice[j](i<j)的Am-slice值没有都超过第一设定阈值ref1,继续执行步骤301; Step 303: Analyze whether the amplitude (Am-slice) values of the continuous effective sound slice slice[i], slice[i+1], . . . , slice[j](i<j) exceed the first set threshold ref1, if If the Am-slice values of the continuous effective sound slices slice[i], slice[i+1], . . . , slice[j](i<j) exceed the first set threshold ref1, then step 304 is performed, otherwise, the effective sound The Slice_[i], slice[i+1], ..., slice[j] (i<j) Am-slice values do not exceed the first set threshold ref1, continue to perform step 301;
步骤304、向智能家居总控制器主控单元发出指令,智能家居总控制器主控单元控制房间照明灯自动点亮。Step 304: Send an instruction to the main control unit of the smart home controller, and the main control unit of the smart home controller controls the room lighting to automatically light up.
当然,除上述实施例外,根据不同应用场景和需求,还可以利用这些声音片组合出其它不同的场景并触发相应功能。Of course, in addition to the above implementations, according to different application scenarios and requirements, these sound films can also be used to combine other different scenes and trigger corresponding functions.
本发明实施例还提供一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行智能设备的声音触发方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute a sound triggering method of the smart device.
本发明实施例还相应提供一种智能设备,如图4所示,包括:The embodiment of the present invention further provides a smart device, as shown in FIG. 4, including:
收集单元401,设置为收集设定声音频率范围内的声音;The collecting
处理单元402,设置为将声音转换为有效声音片,并根据有效声音片的声音特征,触发智能设备的相应功能。The
其中,收集单元401可以包括前述的数字声压传感器,处理单元402可以对应于前述的声音数据处理单元及触发控制单元。The collecting
可选的,收集单元401是设置为:Optionally, the collecting
通过数字声压传感器收集设定声音频率范围内的声音,获得声音输出的声音信号流;The sound in the set sound frequency range is collected by the digital sound pressure sensor to obtain a sound signal stream of the sound output;
处理单元402将声音转换为有效声音片,包括:The
将声音信号流以设定时间间隔为单位缓存声音数据,形成有效声音片。The sound signal stream is buffered in units of set time intervals to form a valid sound sheet.
本发明实施例,设定声音频率范围可以为:82赫兹~1100赫兹;In the embodiment of the present invention, the set sound frequency range may be: 82 Hz to 1100 Hz;
设定时间间隔可以为:150毫秒。The set time interval can be: 150 milliseconds.
可选的,处理单元402根据有效声音片的声音特征,触发智能设备的相应功能,包括:Optionally, the
根据有效声音片的声音特征,确定声音特征对应的当前场景;Determining a current scene corresponding to the sound feature according to the sound characteristics of the effective sound sheet;
根据当前场景触发智能设备的相应功能。Trigger the corresponding function of the smart device according to the current scene.
可选的,处理单元402根据有效声音片的声音特征,确定声音特征对应
的当前场景,用于:Optionally, the
根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景。The corresponding current scene is determined according to the trend of the amplitude value and/or the amplitude of the effective sound piece.
可选的,一种可能的场景中,智能设备周围的声音持续较大,此时,处理单元402根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, in a possible scenario, the sound surrounding the smart device continues to be large. At this time, the
确定有效声音片的振幅值,当所有有效声音片的振幅值均值大于第一设定阈值或所有有效声音片的振幅值总和超过第二设定阈值时,确定当前场景为第一场景;Determining an amplitude value of the effective sound piece, determining that the current scene is the first scene when the average value of the amplitude values of all the active sound pieces is greater than the first set threshold or the sum of the amplitude values of all the valid sound pieces exceeds the second set threshold;
处理单元402根据当前场景触发智能设备的相应功能,包括:The
当前场景为第一场景时,唤醒智能设备或点亮屏幕。When the current scene is the first scene, wake up the smart device or light up the screen.
可选的,另一种可能的场景中,智能设备周围的声音由小变大,此时,处理单元402根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, in another possible scenario, the sound around the smart device is changed from small to large. At this time, the
确定所述有效声音片的振幅值,当所有所述有效声音片的振幅值均值小于或等于第一设定阈值或所有所述有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当所述变化趋势为由小及大时,确定当前场景为第二场景。Determining an amplitude value of the effective sound piece, when an average value of amplitude values of all the valid sound pieces is less than or equal to a first set threshold or a sum of amplitude values of all the valid sound pieces is less than or equal to a second set threshold A trend of the amplitude of the effective sound piece is determined, and when the change trend is small and large, the current scene is determined to be the second scene.
处理单元402根据当前场景触发智能设备的相应功能,包括:The
当前场景为第二场景时,将智能设备从休眠切换到正常工作状态。When the current scenario is the second scenario, the smart device is switched from sleep to normal working state.
可选的,另一种可能的场景中,智能设备周围的声音由大变小,此时,处理单元402根据有效声音片的振幅值和/或振幅的变化趋势,确定对应的当前场景,包括:Optionally, in another possible scenario, the sound around the smart device is changed from large to large. At this time, the
确定有效声音片的振幅值,当所有有效声音片的振幅值均值小于或等于第一设定阈值或所有有效声音片的振幅值总和小于或等于第二设定阈值时,确定有效声音片的振幅的变化趋势,当变化趋势为由大及小时,确定当前场景为第三场景;Determining the amplitude value of the effective sound piece, determining the amplitude of the effective sound piece when the average value of the amplitude values of all the effective sound pieces is less than or equal to the first set threshold or the sum of the amplitude values of all the effective sound pieces is less than or equal to the second set threshold The trend of change, when the trend is changed from large to small, determine the current scene as the third scene;
处理单元402根据当前场景触发智能设备的相应功能,包括:
The
当前场景为第三场景时,将智能设备切换到休眠状态。When the current scene is the third scene, the smart device is switched to the sleep state.
通过该智能设备的声音触发方法,可以收集设定声音频率范围内的声音,并将声音转换为有效声音片,再根据有效声音片的声音特征,确定声音特征对应的当前场景,进而可以实现根据当前场景触发智能设备的相应功能,在可以识别的场景下,不需要用户进行语音控制或者手动触发,便于用户的使用。Through the sound triggering method of the smart device, the sound in the set sound frequency range can be collected, and the sound is converted into an effective sound piece, and then the current scene corresponding to the sound feature is determined according to the sound feature of the effective sound piece, and then the basis can be realized. The current scenario triggers the corresponding function of the smart device. In the identifiable scenario, the user does not need to perform voice control or manual triggering, which is convenient for the user to use.
本说明书中的实施例均采用递进的方式描述,实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是其与其他实施例的不同之处。尤其对于装置实施例而言,由于其基本相似与方法实施例,所以,描述的比较简单,相关之处参见方法实施例的部分说明即可。The embodiments in the present specification are described in a progressive manner, and the same or similar parts between the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. Especially for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
虽然通过实施例描述了本申请,本领域的技术人员知道,本申请有许多变形和变化而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。While the present invention has been described by the embodiments of the invention, it will be understood that Thus, it is intended that the present invention cover the modifications and modifications of the invention
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的每个模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, being executed by a processor and stored in a memory. Programs/instructions to implement their respective functions. The invention is not limited to any specific form of combination of hardware and software.
虽然本申请所揭露的实施方式如上,但所述的内容仅为便于理解本申请而采用的实施方式,并非用以限定本申请,如本发明实施方式中的具体的实现方法。任何本申请所属领域内的技术人员,在不脱离本申请所揭露的精神和范围的前提下,可以在实施的形式及细节上进行任何的修改与变化,但本申请的专利保护范围,仍须以所附的权利要求书所界定的范围为准。 The embodiments disclosed in the present application are as described above, but the descriptions are only for the purpose of understanding the present application, and are not intended to limit the present application, such as the specific implementation method in the embodiments of the present invention. Any modifications and changes in the form and details of the embodiments may be made by those skilled in the art without departing from the spirit and scope of the disclosure. The scope defined by the appended claims shall prevail.
上述技术方案便捷的实现了语音控制,提升了用户的使用体验。 The above technical solution conveniently realizes voice control and improves the user experience.
Claims (14)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610009697.8A CN106941644A (en) | 2016-01-05 | 2016-01-05 | The sounds trigger method and smart machine of a kind of smart machine |
| CN201610009697.8 | 2016-01-05 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017118037A1 true WO2017118037A1 (en) | 2017-07-13 |
Family
ID=59273132
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/096080 Ceased WO2017118037A1 (en) | 2016-01-05 | 2016-08-19 | Voice-triggering method for smart device and smart device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106941644A (en) |
| WO (1) | WO2017118037A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108733017A (en) * | 2018-07-10 | 2018-11-02 | Tcl通力电子(惠州)有限公司 | Intelligent environment control system and method |
| CN114863924B (en) * | 2021-04-02 | 2024-09-10 | 青岛海尔电冰箱有限公司 | Judgment method for multi-device voice control, smart home appliance and readable storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101046955A (en) * | 2006-04-24 | 2007-10-03 | 华为技术有限公司 | PCM code flow voice detection method |
| CN102710867A (en) * | 2012-06-20 | 2012-10-03 | 北京三星通信技术研究有限公司 | Control device and method of mobile terminal |
| WO2015111772A1 (en) * | 2014-01-24 | 2015-07-30 | 숭실대학교산학협력단 | Method for determining alcohol consumption, and recording medium and terminal for carrying out same |
| CN104978955A (en) * | 2014-04-14 | 2015-10-14 | 美的集团股份有限公司 | Voice control method and system |
| CN105042408A (en) * | 2015-06-29 | 2015-11-11 | 叶秀兰 | Voice-operated LED (light-emitting diode) night lamp |
-
2016
- 2016-01-05 CN CN201610009697.8A patent/CN106941644A/en active Pending
- 2016-08-19 WO PCT/CN2016/096080 patent/WO2017118037A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101046955A (en) * | 2006-04-24 | 2007-10-03 | 华为技术有限公司 | PCM code flow voice detection method |
| CN102710867A (en) * | 2012-06-20 | 2012-10-03 | 北京三星通信技术研究有限公司 | Control device and method of mobile terminal |
| WO2015111772A1 (en) * | 2014-01-24 | 2015-07-30 | 숭실대학교산학협력단 | Method for determining alcohol consumption, and recording medium and terminal for carrying out same |
| CN104978955A (en) * | 2014-04-14 | 2015-10-14 | 美的集团股份有限公司 | Voice control method and system |
| CN105042408A (en) * | 2015-06-29 | 2015-11-11 | 叶秀兰 | Voice-operated LED (light-emitting diode) night lamp |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106941644A (en) | 2017-07-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9549273B2 (en) | Selective enabling of a component by a microphone circuit | |
| US9992745B2 (en) | Extraction and analysis of buffered audio data using multiple codec rates each greater than a low-power processor rate | |
| CN110060685B (en) | Voice wake-up method and device | |
| US20220358909A1 (en) | Processing audio signals | |
| JP2015501450A5 (en) | ||
| US20160019886A1 (en) | Method and apparatus for recognizing whisper | |
| US11264049B2 (en) | Systems and methods for capturing noise for pattern recognition processing | |
| US10461712B1 (en) | Automatic volume leveling | |
| JP2016526331A (en) | VAD detection microphone and operation method thereof | |
| CN106782613B (en) | Signal detection method and device | |
| CN104115118A (en) | Gesture detection based on information from multiple types of sensors | |
| CN110473544A (en) | A kind of low-power consumption voice awakening method and device | |
| CN109240107A (en) | A kind of control method of electrical equipment, device, electrical equipment and medium | |
| CN108763901A (en) | Ear print information acquisition method and device, terminal, earphone and readable storage medium | |
| US10222862B2 (en) | Method to sense force exertion on handheld device for behavior setting and input for quick response | |
| WO2017118037A1 (en) | Voice-triggering method for smart device and smart device | |
| CN104270858B (en) | Method and device for intelligently controlling lighting system by using sound | |
| CN108429946A (en) | Method and device for controlling microphone to be used and microphone | |
| CN114360550B (en) | Equipment awakening method and device, electronic equipment and storage medium | |
| CN117014547A (en) | Device volume control method and related device | |
| CN205545492U (en) | Mobile terminal | |
| KR20090128187A (en) | Apparatus and method for controlling video output function using sound signal | |
| CN115810350B (en) | Training data acquisition method, device, equipment and storage medium | |
| WO2022230236A1 (en) | Audio control system, audio control method, and program | |
| KR20250146401A (en) | Method, device and recording medium for controlling proximity voice recognition device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16883167 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16883167 Country of ref document: EP Kind code of ref document: A1 |