CN108806679B - Voice wake-up method and device - Google Patents
Voice wake-up method and device Download PDFInfo
- Publication number
- CN108806679B CN108806679B CN201810480631.6A CN201810480631A CN108806679B CN 108806679 B CN108806679 B CN 108806679B CN 201810480631 A CN201810480631 A CN 201810480631A CN 108806679 B CN108806679 B CN 108806679B
- Authority
- CN
- China
- Prior art keywords
- wake
- voice
- instruction
- awakening
- voice information
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000004913 activation Effects 0.000 claims abstract description 73
- 230000002618 waking effect Effects 0.000 claims abstract description 11
- 230000003213 activating effect Effects 0.000 claims description 5
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 10
- 238000004590 computer program Methods 0.000 description 9
- 230000008901 benefit Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
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
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4418—Suspend and resume; Hibernate and awake
-
- 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
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a voice awakening method and a voice awakening device, relates to the technical field of voice, and mainly aims to reduce actual power consumption when equipment carrying a voice awakening function is in a non-working state. The method of the invention comprises the following steps: receiving voice information through a voice trigger device, wherein the voice trigger device is used for collecting the voice information when the voice information input by a user is detected; determining whether a wake-up instruction exists in the voice information through the voice trigger device, wherein the wake-up instruction is used for waking up target equipment; if so, outputting an activation instruction to a wake-up device of the target equipment through the voice trigger device according to the wake-up instruction, wherein the activation instruction is used for indicating the wake-up device to be activated according to the activation instruction and waking up the target equipment after activation. The method and the device are used for voice awakening of the equipment.
Description
Technical Field
The embodiment of the invention relates to the technical field of voice, in particular to a voice awakening method and device.
Background
With the continuous progress and development of technology, the renewable energy is gradually regarded as important. In order to reduce the power consumption, many devices are usually configured to have a low power consumption standby mode or sleep mode, and when the user does not use the device, the device can enter the standby mode or sleep mode. Unlike the normal mode of operation, in this type of mode, the device only maintains a low power consumption, and when the user needs to use the device, the device wakes up from the above mode into the normal mode of operation.
At present, with the rise of voice awakening technology, more and more devices are equipped with voice awakening devices or voice awakening modules, when a user needs to awaken the device, the user only needs to send corresponding voice, the voice awakening devices or the voice awakening modules receive the voice information, and the device is awakened according to the voice information. However, in practical applications, in order to receive the voice of the user in time to wake up the device, the voice wake-up apparatus needs to be kept in an operating state all the time, and power consumption is large. Therefore, the actual power consumption of the device with the voice wake-up device is large in the process of voice wake-up of the user.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a voice wake-up method and apparatus, which mainly aim to reduce actual power consumption of a device with a voice wake-up function in a non-operating state.
To solve the foregoing technical problem, in a first aspect, an embodiment of the present invention provides a voice wake-up method, where the method includes:
receiving voice information through a voice trigger device, wherein the voice trigger device is used for collecting the voice information when the voice information input by a user is detected;
determining whether a wake-up instruction exists in the voice information through the voice trigger device, wherein the wake-up instruction is used for waking up target equipment;
if so, outputting an activation instruction to a wake-up device of the target equipment through the voice trigger device according to the wake-up instruction, so that the wake-up device can be activated according to the activation instruction, and awakening the target equipment after activation.
Optionally, the outputting, by the voice trigger device according to the wake-up instruction, an activation instruction to a wake-up device of a target device includes:
acquiring the category of the awakening device, and determining the command format of the awakening device according to the category of the awakening device;
generating an activation instruction corresponding to the awakening device according to the command format and the awakening instruction of the awakening device;
and outputting the generated activation instruction to a wake-up device of the target equipment.
Optionally, the obtaining the category of the wake-up apparatus, and determining the command format of the wake-up apparatus according to the category of the wake-up apparatus includes:
determining the category of the awakening device through an interface protocol of the awakening device;
and acquiring a corresponding command format from a preset command set according to the category of the awakening device, wherein the preset command set stores the command formats corresponding to the awakening devices of different categories.
Optionally, the determining, by the voice trigger device, whether a wake-up instruction exists in the voice message includes:
judging whether a wakeup instruction in a preset wakeup instruction list exists in the voice information, wherein the preset wakeup instruction list comprises a plurality of instruction information for waking up the target equipment;
and if so, determining that the voice message has a wake-up instruction.
Optionally, before the receiving the voice information by the voice trigger apparatus, the method further includes:
judging whether the awakening device of the target equipment is in a non-working state or not;
the receiving of the voice information through the voice trigger device includes:
and if the awakening device of the target equipment is judged to be in a non-working state, receiving the voice information through the voice trigger device.
In a second aspect, an embodiment of the present invention further provides a voice wake-up apparatus, where the apparatus includes:
the receiving unit is used for receiving voice information through a voice trigger device, and the voice trigger device is used for collecting the voice information when the voice information input by a user is detected;
a determining unit, configured to determine, by the voice trigger device, whether a wake-up instruction exists in the voice information, where the wake-up instruction is used to wake up a target device;
and the output unit is used for outputting an activation instruction to a wake-up device of the target equipment through the voice trigger device according to the wake-up instruction if the voice information is determined to have the wake-up instruction, wherein the activation instruction is used for indicating the wake-up device to be activated according to the activation instruction, and awakening the target equipment after activation.
Optionally, the output unit includes:
the acquiring module is used for acquiring the category of the awakening device and determining the command format of the awakening device according to the category of the awakening device;
the generating module is used for generating an activating instruction corresponding to the awakening device according to the command format and the awakening instruction of the awakening device;
and the output module is used for outputting the generated activation instruction to the awakening device of the target equipment.
Optionally, the obtaining module includes:
the determining submodule is used for determining the category of the awakening device through an interface protocol of the awakening device;
and the acquisition sub-module is used for acquiring the corresponding command format from a preset command set according to the category of the awakening device, wherein the preset command set stores the command formats corresponding to the awakening devices of different categories.
Optionally, the determining unit includes:
the judging module is used for judging whether a wakeup instruction in a preset wakeup instruction list exists in the voice information, and the preset wakeup instruction list comprises a plurality of instruction information for waking up the target equipment;
and the determining module is used for determining that the voice information has the awakening instruction if the awakening instruction in the preset awakening instruction list exists in the voice information.
Optionally, the apparatus further comprises;
the judging unit is used for judging whether the awakening device of the target equipment is in a non-working state or not;
the receiving unit is specifically configured to receive the voice information through the voice trigger device if it is determined that the wake-up device of the target device is in the non-operating state.
In order to achieve the above object, according to a third aspect of the embodiments of the present invention, there is provided a voice trigger device, where the voice trigger device is connected to a wake-up device of a target device, and after receiving voice information, the voice trigger device determines whether a wake-up instruction exists in the voice information, and outputs an activation instruction to the wake-up device of the target device according to the wake-up instruction when determining that the wake-up instruction exists in the voice information, so that the wake-up device is activated according to the activation instruction.
In order to achieve the above object, according to a fourth aspect of the embodiments of the present invention, a storage medium is provided, where the storage medium includes a stored program, and when the program runs, a device on which the storage medium is located is controlled to execute the above voice wakeup method.
In order to achieve the above object, according to a fifth aspect of the embodiments of the present invention, there is provided an electronic device, which includes one or more processors and a memory, where the memory is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more programs enable the one or more processors to implement the voice wake-up method as described above.
By means of the technical scheme, the voice awakening method and the voice awakening device provided by the embodiment of the invention have the advantages that for the problem that in the prior art, when the equipment is in a non-working state, the voice awakening device needs to be always kept in a working state to awaken the equipment in order to receive the voice of a user in time, so that the power consumption is large, the embodiment of the invention receives the voice information through the voice trigger device, determines whether the voice information contains an awakening instruction or not through the voice trigger device, if yes, the voice trigger device outputs an activation instruction to the awakening device of the target equipment according to the awakening instruction, the activation instruction is used for indicating the awakening device to be activated according to the activation instruction, and awakens the target equipment after activation, so that when the voice information does not exist outside, the awakening device of the target equipment can be in the non-working state, when voice information exists outside, the awakening device can be activated through the voice trigger device, so that the effects of reducing power consumption and saving energy are achieved while timely response to the voice information of a user is guaranteed.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flowchart of a voice wake-up method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating another voice wake-up method according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a voice wake-up apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating another voice wake-up apparatus according to an embodiment of the present invention;
fig. 5 shows a block diagram of an electronic device for voice wake-up according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the embodiments to those skilled in the art.
In order to reduce actual power consumption when a device with a voice wake-up function is in a non-operating state, an embodiment of the present invention provides a voice wake-up method, as shown in fig. 1, where the method includes:
101. and receiving voice information through the voice trigger device.
The voice trigger device is used for collecting the voice information when the voice information input by a user is detected.
Generally, when the device is not triggered or used for a long time, in order to reduce energy consumption, a mode with lower power consumption, that is, a non-operating mode, is set, wherein the mode may include a plurality of modes, such as a sleep mode, a standby mode, and the like, in such a mode, the device does not have a complete function, but only has a partial function, and meanwhile, devices supporting various functions in the device may be in a corresponding standby state. When a user needs to use the device, the device needs to be awakened so as to switch the device from the current non-working state to the normal working state.
The embodiment of the invention aims to reduce the influence of the carried awakening device on power consumption when the target equipment is in a non-working state. Therefore, in the embodiment of the present invention, a module or a unit for activating the wake-up apparatus needs to be provided, that is, the voice trigger apparatus according to the embodiment of the present invention. The voice trigger device may be composed of a microphone and an identification chip on which a BSP (Board Support Package, BSP) technology is mounted, the microphone is used to collect external voice, the identification chip is provided with a program for identifying whether there is a corresponding wake-up instruction in the external voice, and the corresponding instruction is output according to an identification result after identification. Compared with the voice awakening device in the existing equipment, the voice trigger device has a simpler structure and fewer arranged devices, and can maintain smaller power consumption under the condition of keeping the working state, so that the awakening device which is always in the working state can be enabled to enter the non-working state, and when the awakening device is required to be in the working state, the voice trigger device is used for activating the awakening device, and the voice awakening device is used for awakening the equipment, so that the actual power consumption of the target equipment in the non-working state is integrally reduced.
In order to respond to the voice information sent by the user in real time, in the embodiment of the present invention, an external voice environment needs to be monitored by the set voice trigger device, and when the voice information is detected, the voice trigger device receives the voice information.
102. And determining whether the voice information has a wake-up instruction according to the voice trigger device.
In the foregoing step 101, after the voice trigger device receives the voice information sent by the user, it is required to identify the currently received voice information, and determine whether a preset wake-up instruction exists in the voice information, where the wake-up instruction in the embodiment of the present invention may be preset by the user before the voice wake-up method in the embodiment of the present invention, or may be set by default in the system. Certainly, in this step, it is determined whether the voice message has a wake-up instruction, and the voice message may include the wake-up instruction by matching among a plurality of wake-up instructions in a preset command list, where when the wake-up instruction is matched, that is, the user has reached the wake-up instruction for the device. It should be noted that, in order to ensure that the implementation process of the wake-up function is more humanized and convenient. The preset command list may have a plurality of wake-up instructions for implementing the wake-up function, and of course, in order to improve the accuracy of wake-up, only one wake-up instruction may be set, and the voice information may be accurately compared with the preset wake-up instruction. The manner for determining whether the voice message has the wake-up instruction may include, but is not limited to, any of the above manners, and the specific determination manner may be set according to the implementation needs of the user, which is not specifically limited herein.
103. And if the voice information is confirmed to have the awakening instruction, outputting an activation instruction to an awakening device of the target equipment through the voice trigger device according to the awakening instruction.
By the judgment of the method in the foregoing step 102, when it is determined that the voice message contains the wake-up instruction, it indicates that the user has reached the instruction to wake up the device. In this regard, the voice trigger device described in the embodiment of the present invention needs to output an instruction to the wake-up device of the target device according to the wake-up instruction, so that the wake-up device can be activated from the non-operating state to the operating state, and then the wake-up device is caused to perform subsequent wake-up operations on the target device.
In this step, for the output process of the activation instruction, an instruction of the wake-up apparatus corresponding to the target device may be selected from a preset instruction library, and the instruction is used as the activation instruction to be output to the wake-up apparatus. In this step, the type and format of the activation command are not specifically limited and may be selected as needed, but the activation command is recognized by the wake-up device and activated from the inactive state to the active state.
The voice awakening method provided by the embodiment of the invention has the advantages that for the problem that in the prior art, when the equipment is in a non-working state, in order to timely receive the voice of a user to awaken the equipment, the voice awakening device is required to be always in a working state, so that the power consumption is large, the voice information is received by the voice trigger device, whether an awakening instruction exists in the voice information or not is determined by the voice trigger device, if yes, the voice trigger device outputs an activation instruction to the awakening device of the target equipment according to the awakening instruction, the activation instruction is used for indicating the awakening device to be activated according to the activation instruction, and the target equipment is awakened after being activated, so that when the voice information does not exist outside, the awakening device of the target equipment can be in the non-working state, and when the voice information exists outside, the awakening device can be activated through the voice trigger device, so that the effects of reducing power consumption and saving energy can be realized while timely responding to the voice information of the user is ensured.
Further, as a refinement and an extension of the embodiment shown in fig. 1, an embodiment of the present invention further provides another voice wake-up method, as shown in fig. 2, which includes the specific steps of:
201. and judging whether the awakening device of the target equipment is in a non-working state or not.
In the voice wake-up method according to the embodiment of the present invention, in order to avoid a problem that the wake-up device is disturbed due to activation operation performed when the wake-up device of the target device is in a working state during the voice wake-up process, according to the method in this step, when the voice trigger device detects an external voice, the operating state of the voice wake-up device of the target device is determined, and whether the voice trigger device is in a non-working state is determined, and when the wake-up device is determined to be in the non-working state, it is determined that the current wake-up device is in a sleep or standby state, and the voice wake-up function of the voice trigger device may be turned off. And when the awakening device of the target equipment is judged to be in the working state, the current awakening device is indicated to be in normal working. When the awakening device works normally, the voice information sent by the user can be directly received, and then subsequent response is carried out, and the voice trigger device does not need to activate the awakening device in the embodiment of the invention, so when the awakening device of the target equipment is determined to be in a working state, subsequent activation operation is not needed.
Therefore, when voice information is detected, whether the awakening device of the target equipment is in a non-working state or not is judged through the voice trigger device, so that the problem that the awakening device is subsequently activated additionally when being in a working state can be avoided, unnecessary activation operation is reduced, system consumption and occupation are saved, and the problem of equipment disorder possibly caused by activation operation of the awakening device in the working state is avoided.
202. And if the awakening device of the target equipment is judged to be in a non-working state, receiving the voice information through the voice trigger device.
The configuration and description of the voice trigger device according to the embodiment of the present invention are the same as those in step 101 in the foregoing embodiment, and are not repeated herein.
After the method in step 201 is performed, when it is determined that the wake-up device of the target device is in the non-operating state, it indicates that the current external voice information needs to be received by the voice trigger device, so as to determine whether the voice information is information for instructing the target device to wake up.
203. And determining whether the voice information has a wake-up instruction according to the voice trigger device.
In order to perform subsequent wake-up operations, in this step, the voice information needs to be recognized and analyzed to determine whether a wake-up instruction exists. Specifically, in the determination process, the step may be: firstly, judging whether a wakeup instruction in a preset wakeup instruction list exists in the voice message, wherein in the preset wakeup instruction list, various instruction information for waking up the target equipment can be set according to the preference of a user. Then, if the wake-up instruction in the preset instruction list is determined to exist, it is indicated that the voice message sent by the current user is actually the voice used for instructing the device to wake up, so that the wake-up instruction exists in the voice message.
According to the method in the step, whether the voice information has the awakening instruction or not is judged by the preset awakening instruction list, so that the accuracy of awakening instruction judgment can be ensured, and meanwhile, the preset awakening instruction list comprises a plurality of awakening instructions for awakening equipment, so that the voice awakening method disclosed by the embodiment of the invention has higher convenience and flexibility.
204. And if the voice information is confirmed to have the awakening instruction, outputting an activation instruction to an awakening device of the target equipment through the voice trigger device according to the awakening instruction.
Since the embodiment of the present invention aims to achieve that the target device with the voice wake-up apparatus consumes less actual power during the voice wake-up standby process, when it is determined in step 203 that the voice information contains the wake-up instruction, the voice trigger apparatus may analyze the wake-up instruction to determine the device to be woken up and the wake-up apparatus corresponding to the device.
Because there is a difference between the internal design and the instruction form of different wake-up apparatuses, in order to ensure the accuracy of the output activation instruction, this step may specifically include: firstly, the category of the awakening device is obtained, and the command format of the awakening device is determined according to the category of the awakening device. And then, generating an activation instruction corresponding to the wake-up device according to the command format and the wake-up instruction of the wake-up device, wherein the activation instruction can be used for switching the operation state of the wake-up device from a non-working state to a working state. And finally, outputting the generated activation instruction to a wake-up device of the target equipment.
Further, in the step of obtaining the category of the wake-up device, and determining the command format of the wake-up device according to the category of the wake-up device, the specific execution mode may be: first, the class of the wake-up unit is determined by the interface protocol of the wake-up unit. Then, based on different classes of wake-up devices and corresponding instruction formats thereof, a corresponding command format may be obtained from a preset command set according to the class of the wake-up device, where in this step, the preset command set stores the command formats corresponding to the different classes of wake-up devices.
Therefore, in this step, after the category of the wake-up device is obtained, the command format of the wake-up device is determined according to the category of the wake-up device, the activation instruction corresponding to the wake-up device is generated based on the command format and is output to the wake-up device, the output activation instruction can correspond to the wake-up device and can be identified by the wake-up device, and therefore the accuracy of the activation instruction is ensured, and the accurate implementation of the wake-up function of the target device is ensured. In addition, the class of the awakening device is determined through the interface protocol of the awakening device, so that the class of the awakening device can be determined, the subsequent activating command can be ensured to correspond to the awakening device, and the accuracy of voice awakening in the embodiment of the invention is integrally ensured.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention further provides a voice wake-up apparatus, which is used for implementing the method shown in fig. 1. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 3, the apparatus includes: a receiving unit 31, a determining unit 32, and an output unit 33, wherein
The receiving unit 31 may be configured to receive voice information through a voice trigger device, where the voice trigger device is configured to collect the voice information when the voice information input by the user is detected.
The determining unit 32 may be configured to determine, by the voice trigger device, whether a wake-up instruction exists in the voice information received by the receiving unit 31, where the wake-up instruction is used to wake up a target device.
The output unit 33 may be configured to, if the determining unit 32 determines that the voice information includes a wake-up instruction, output an activation instruction to a wake-up apparatus of the target device through the voice trigger apparatus according to the wake-up instruction, where the activation instruction is used to instruct the wake-up apparatus to activate according to the activation instruction, and wake up the target device after activation.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention further provides a voice wake-up apparatus, which is used for implementing the method shown in fig. 2. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 4, the apparatus includes: : a receiving unit 41, a determining unit 42, and an output unit 43, wherein
The receiving unit 41 may be configured to receive voice information through a voice trigger device, where the voice trigger device is configured to collect the voice information when the voice information input by the user is detected.
The determining unit 42 may be configured to determine, by the voice trigger device, whether a wake-up instruction exists in the voice information received by the receiving unit 41, where the wake-up instruction is used to wake up a target device.
The output unit 43 may be configured to, if the determining unit 42 determines that the voice information includes a wake-up instruction, output, by the voice trigger device, an activation instruction to a wake-up device of the target device according to the wake-up instruction, where the activation instruction is used to instruct the wake-up device to activate according to the activation instruction, and wake up the target device after activation.
Further, the output unit pack 43 includes:
an obtaining module 431, configured to obtain a category of the wake-up apparatus, and determine a command format of the wake-up apparatus according to the category of the wake-up apparatus;
a generating module 432, configured to generate an activation instruction corresponding to the wake-up apparatus according to the wake-up instruction and the command format of the wake-up apparatus acquired by the acquiring module 431;
an output module 433, configured to output the activation instruction generated by the generating module 432 to a wake-up apparatus of the target device.
Further, the obtaining module 431 includes:
a determining sub-module 4311, configured to determine a category of the wake-up apparatus according to an interface protocol of the wake-up apparatus;
the obtaining sub-module 4312 may be configured to obtain, according to the category of the wake-up apparatus determined by the determining sub-module 4311, a corresponding command format from a preset command set, where the preset command set stores command formats corresponding to different categories of wake-up apparatuses.
Further, the determining unit 42 includes:
the determining module 421 may be configured to determine whether a wake-up instruction in a preset wake-up instruction table exists in the voice information, where the preset wake-up instruction table includes multiple instruction information for waking up a target device;
the determining module 422 may be configured to determine that a wake-up instruction exists in the voice message if the determining module 421 determines that the wake-up instruction in the preset wake-up instruction table exists in the voice message.
Further, the device also comprises;
a determining unit 44, configured to determine whether a wake-up apparatus of the target device is in a non-operating state;
the receiving unit 41 may be specifically configured to receive the voice information through the voice triggering device if the determining unit 44 determines that the wake-up device of the target device is in the non-operating state.
With the above technical solutions, embodiments of the present invention provide a voice wake-up method and apparatus. For the problem that the power consumption is large because the voice awakening device needs to be kept in a working state all the time to awaken the equipment by receiving the voice of a user in time when the equipment is in a non-working state in the prior art, the voice awakening device receives the voice information through the voice trigger device, determines whether an awakening instruction exists in the voice information through the voice trigger device, outputs an activation instruction to the awakening device of the target equipment through the voice trigger device according to the awakening instruction if the awakening instruction exists in the voice information, and the activation instruction is used for indicating the awakening device to be activated according to the activation instruction and awakens the target equipment after activation, so that the awakening device of the target equipment can be in the non-working state when the voice information does not exist outside, and can be activated through the voice trigger device when the voice information exists outside, therefore, the effects of reducing power consumption and saving energy are realized while timely response to the voice information of the user is ensured.
In addition, when voice information is detected, whether the awakening device of the target equipment is in a non-working state or not is judged through the voice trigger device, so that the problem that the awakening device is activated additionally subsequently when being in a working state can be solved, unnecessary activation operation is reduced, system consumption and occupation are saved, and the problem of equipment disorder possibly caused by activation operation of the awakening device in the working state is solved. In addition, whether the voice information has the awakening instruction or not is judged through the preset awakening instruction list, so that the accuracy of awakening instruction judgment can be ensured, and meanwhile, the preset awakening instruction list comprises a plurality of awakening instructions for awakening equipment, so that the voice awakening method disclosed by the embodiment of the invention has higher convenience and flexibility.
Furthermore, after the category of the wake-up device is obtained, the command format of the wake-up device is determined according to the category of the wake-up device, the activation instruction corresponding to the wake-up device is generated based on the command format and is output to the wake-up device, the output activation instruction can correspond to the wake-up device and is recognized by the wake-up device, and therefore the accuracy of the activation instruction is ensured, and the accurate implementation of the wake-up function of the target device is further ensured. Moreover, the class of the wake-up device is determined through an interface protocol of the wake-up device, and the determination of the class of the wake-up device can be ensured, so that a subsequent activation command can be ensured to correspond to the wake-up device, and the accuracy of voice wake-up in the embodiment of the invention is integrally ensured.
Further, an embodiment of the present invention further provides a structural block diagram of an electronic device, configured to execute the voice wake-up method according to any one of the foregoing embodiments, as shown in fig. 5, where the electronic device includes a processor and a memory, the receiving unit, the determining unit, the outputting unit, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. Specifically, the electronic device according to the embodiment of the present invention includes:
at least one processor (processor) 501;
and at least one memory (memory)502, a bus 503 connected to the processor 501; wherein,
the processor 501 and the memory 502 complete mutual communication through the bus 503;
the processor 501 is used to call program instructions in the memory 502 to perform the methods provided by the above-described method embodiments. The processor 501 includes a kernel, and the kernel calls a corresponding program unit from a memory. The kernel can be set to be one or more than one, and the actual power consumption of the equipment carrying the voice awakening function in the non-working state is reduced by adjusting the kernel parameters.
The memory 502 may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory 502 includes at least one memory chip.
Further, an embodiment of the present invention provides a storage medium, on which a program is stored, where the program, when executed by a processor, implements the voice wake-up method.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (6)
1. A voice wake-up method, comprising:
receiving voice information through a voice trigger device, wherein the voice trigger device is used for collecting the voice information when the voice information input by a user is detected;
determining whether a wake-up instruction exists in the voice information through the voice trigger device, wherein the wake-up instruction is used for waking up target equipment;
if so, outputting an activation instruction to a wake-up device of the target equipment through the voice trigger device according to the wake-up instruction, wherein the activation instruction is used for indicating the wake-up device to be activated according to the activation instruction and waking up the target equipment after activation;
wherein, the outputting an activation instruction to the wake-up device of the target device according to the wake-up instruction by the voice trigger device includes: acquiring the category of the awakening device, and determining the command format of the awakening device according to the category of the awakening device; generating an activation instruction corresponding to the awakening device according to the command format and the awakening instruction of the awakening device; outputting the generated activation instruction to a wake-up device of the target equipment;
the obtaining the category of the wake-up device and determining the command format of the wake-up device according to the category of the wake-up device includes:
determining the category of the awakening device through an interface protocol of the awakening device;
and acquiring a corresponding command format from a preset command set according to the category of the awakening device, wherein the preset command set stores the command formats corresponding to the awakening devices of different categories.
2. The method of claim 1, wherein the determining, by the voice trigger device, whether a wake-up instruction is present in the voice message comprises:
judging whether a wakeup instruction in a preset wakeup instruction list exists in the voice information, wherein the preset wakeup instruction list comprises a plurality of instruction information for waking up the target equipment;
and if so, determining that the voice message has a wake-up instruction.
3. The method according to any of claims 1-2, wherein prior to said receiving voice information by a voice trigger device, the method further comprises:
judging whether the awakening device of the target equipment is in a non-working state or not;
the receiving of the voice information through the voice trigger device includes:
and if the awakening device of the target equipment is judged to be in a non-working state, receiving the voice information through the voice trigger device.
4. A voice wake-up apparatus, comprising:
the receiving unit is used for receiving voice information through a voice trigger device, and the voice trigger device is used for collecting the voice information when the voice information input by a user is detected;
a determining unit, configured to determine, by the voice trigger device, whether a wake-up instruction exists in the voice information, where the wake-up instruction is used to wake up a target device;
the output unit is used for outputting an activation instruction to a wake-up device of target equipment through the voice trigger device according to the wake-up instruction if the voice information is determined to have the wake-up instruction, wherein the activation instruction is used for indicating the wake-up device to be activated according to the activation instruction and waking up the target equipment after activation;
wherein the output unit includes: the acquiring module is used for acquiring the category of the awakening device and determining the command format of the awakening device according to the category of the awakening device; the generating module is used for generating an activating instruction corresponding to the awakening device according to the command format and the awakening instruction of the awakening device; the output module is used for outputting the generated activation instruction to the awakening device of the target equipment;
the acquisition module includes:
the determining submodule is used for determining the category of the awakening device through an interface protocol of the awakening device;
and the acquisition sub-module is used for acquiring the corresponding command format from a preset command set according to the category of the awakening device, wherein the preset command set stores the command formats corresponding to the awakening devices of different categories.
5. A storage medium, comprising a stored program, wherein the program, when executed, controls a device in which the storage medium is located to perform the voice wakeup method according to any one of claims 1 to 3.
6. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the voice wake-up method of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810480631.6A CN108806679B (en) | 2018-05-18 | 2018-05-18 | Voice wake-up method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810480631.6A CN108806679B (en) | 2018-05-18 | 2018-05-18 | Voice wake-up method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108806679A CN108806679A (en) | 2018-11-13 |
CN108806679B true CN108806679B (en) | 2021-04-13 |
Family
ID=64092720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810480631.6A Active CN108806679B (en) | 2018-05-18 | 2018-05-18 | Voice wake-up method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108806679B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109243459A (en) * | 2018-11-30 | 2019-01-18 | 广东美的制冷设备有限公司 | Voice awakening method, device, household appliance and the control system of equipment |
CN111629492A (en) * | 2019-02-28 | 2020-09-04 | 松下电气机器(北京)有限公司 | Intelligent lighting lamp and control method thereof |
CN109979438A (en) * | 2019-04-04 | 2019-07-05 | Oppo广东移动通信有限公司 | Voice awakening method and electronic equipment |
CN110234044A (en) * | 2019-05-10 | 2019-09-13 | 万魔声学科技有限公司 | A kind of voice awakening method, voice Rouser and earphone |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257594A (en) * | 2012-02-16 | 2013-08-21 | 上海博泰悦臻电子设备制造有限公司 | Universal voice control device, voice control system and voice control method |
CN105511287A (en) * | 2016-01-27 | 2016-04-20 | 珠海格力电器股份有限公司 | Intelligent household appliance control method, device and system |
CN106131292A (en) * | 2016-06-03 | 2016-11-16 | 上海与德通讯技术有限公司 | The system of the method for terminal wake-up, awakening method and correspondence is set |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5412654A (en) * | 1994-01-10 | 1995-05-02 | International Business Machines Corporation | Highly dynamic destination-sequenced destination vector routing for mobile computers |
EP0876037A3 (en) * | 1997-04-30 | 1999-04-14 | Koninklijke Philips Electronics N.V. | Terminal, method of automatic call-back and telecommunications system |
US6343083B1 (en) * | 1998-04-09 | 2002-01-29 | Alcatel Usa Sourcing, L.P. | Method and apparatus for supporting a connectionless communication protocol over an ATM network |
US20160077573A1 (en) * | 2014-09-16 | 2016-03-17 | Samsung Electronics Co., Ltd. | Transmission apparatus and reception apparatus for transmission and reception of wake-up packet, and wake-up system and method |
-
2018
- 2018-05-18 CN CN201810480631.6A patent/CN108806679B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257594A (en) * | 2012-02-16 | 2013-08-21 | 上海博泰悦臻电子设备制造有限公司 | Universal voice control device, voice control system and voice control method |
CN105511287A (en) * | 2016-01-27 | 2016-04-20 | 珠海格力电器股份有限公司 | Intelligent household appliance control method, device and system |
CN106131292A (en) * | 2016-06-03 | 2016-11-16 | 上海与德通讯技术有限公司 | The system of the method for terminal wake-up, awakening method and correspondence is set |
Also Published As
Publication number | Publication date |
---|---|
CN108806679A (en) | 2018-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108806679B (en) | Voice wake-up method and device | |
TWI669710B (en) | A method of controlling speaker and device,storage medium and electronic devices | |
JP5734505B2 (en) | Method and system for dynamically controlling power to multiple cores in a multi-core processor of a portable computing device | |
CN110971430B (en) | Automatic capacity expansion and reduction control method and device, storage medium and processor | |
CN108845727B (en) | Mutual capacitance type touch screen based awakening method and device | |
CN109391282B (en) | Wearable device and information display method and device of wearable device | |
CN108806678A (en) | The voice awakening method and device of equipment | |
CN115718626A (en) | SOC (system on chip) system capable of being awakened quickly and quick awakening method | |
CN104598192A (en) | Information processing method and electronic equipment | |
CN114839909A (en) | Low-power-consumption control system and interaction method in low-power-consumption control system | |
CN108858189B (en) | Robot control method and device | |
CN108711427A (en) | The acquisition method and device of voice messaging | |
CN117632272A (en) | Method and device for waking up storage device, terminal device and storage medium | |
CN106603526B (en) | WiFi/hotspot starting method and device | |
CN109769288A (en) | The method and device of standby network is set | |
CN110175450A (en) | A kind of processing method of information, device and equipment | |
CN113075992B (en) | Memory power-on method, device, equipment and computer readable storage medium | |
CN108767344A (en) | A kind of battery powered optimization method and device of intelligent sound | |
CN114816031A (en) | Power saving method of terminal device, terminal device and medium | |
CN110912900B (en) | Boundary intelligent security monitoring method, device and equipment based on Internet of things | |
CN109669526B (en) | Method, system, terminal and storage medium for configuring energy-saving mode of cluster server | |
CN112506686A (en) | Method and device for realizing log system of DCS (distributed control system) controller | |
CN115474227B (en) | Abnormality detection method and device and vehicle | |
CN112732068A (en) | Standby low-power-consumption chip and method for entering and exiting standby low-power-consumption mode of chip | |
CN110968206A (en) | Method and equipment for pressing extended function key of electromagnetic handwriting pen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230614 Address after: 210034 floor 8, building D11, Hongfeng Science Park, Nanjing Economic and Technological Development Zone, Jiangsu Province Patentee after: New Technology Co.,Ltd. Patentee after: VOLKSWAGEN (CHINA) INVESTMENT Co.,Ltd. Address before: 100094 1001, 10th floor, office building a, 19 Zhongguancun Street, Haidian District, Beijing Patentee before: MOBVOI INFORMATION TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |