CN108806678A - The voice awakening method and device of equipment - Google Patents
The voice awakening method and device of equipment Download PDFInfo
- Publication number
- CN108806678A CN108806678A CN201810479496.3A CN201810479496A CN108806678A CN 108806678 A CN108806678 A CN 108806678A CN 201810479496 A CN201810479496 A CN 201810479496A CN 108806678 A CN108806678 A CN 108806678A
- Authority
- CN
- China
- Prior art keywords
- voice
- instruction
- awakening
- wake
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 230000002618 waking effect Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 5
- 230000037007 arousal Effects 0.000 abstract 2
- 206010002953 Aphonia Diseases 0.000 abstract 1
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 12
- 238000004590 computer program Methods 0.000 description 9
- 230000008901 benefit Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005265 energy consumption Methods 0.000 description 2
- 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
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000704 physical effect Effects 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- 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)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses the voice awakening methods and device of a kind of equipment, it is related to voice technology field, main purpose is the equipment to not carrying voice arousal function, in the case where not changing equipment internal structure, realizes the voice arousal function of equipment and invents.The method of the embodiment of the present invention includes:It after the voice messaging for detecting pre-set user input, determines in the voice messaging and wakes up instruction with the presence or absence of voice, the voice wake-up instruction, which is used to indicate, wakes up target device, and the voice wakes up the facility information for including the target device in instruction;Instruction is waken up if so, the voice is waken up instruction and is converted into corresponding equipment, and is transmitted to the target device, the equipment wake-up instruction is used to indicate the target device and carries out wake operation after recognition.The embodiment of the present invention is used to carry out voice wake-up to 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 of equipment.
Background
With the continuous progress and development of technology, the renewable and utilization of energy is gradually regarded as important. In order to further protect the environment, reduce emission and reduce energy consumption, many devices usually have a standby mode or a sleep mode with low power consumption, and when a user does not use the device, the device can enter the standby mode or the 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.
Currently, when a user needs to wake up a target device, a related wake-up operation is usually required, for example, when a notebook computer enters a sleep mode, the user needs to strike a specific key of the notebook computer to wake up the notebook computer. However, with the development of voice recognition and voice control technologies, more and more devices are equipped with a voice wake-up function, and the devices can be waken up only by a voice command without requiring a user to perform a physical action.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present invention provide a voice wake-up method and apparatus for a device, and a main objective of the present invention is to implement a voice wake-up function for a device without changing a device structure.
To solve the foregoing technical problem, in a first aspect, an embodiment of the present invention provides a voice wake-up method for a device, where the method includes:
after voice information input by a preset user is detected, determining whether a voice awakening instruction exists in the voice information, wherein the voice awakening instruction is used for indicating to awaken target equipment and comprises equipment information of the target equipment;
and if so, converting the voice awakening instruction into a corresponding equipment awakening instruction, and transmitting the equipment awakening instruction to the target equipment, wherein the equipment awakening instruction is used for indicating the target equipment to perform awakening operation after identification.
Optionally, the converting the voice wake-up instruction into a corresponding device wake-up instruction and transmitting the voice wake-up instruction to the target device includes:
acquiring an instruction set corresponding to the target equipment according to the target equipment information in the voice awakening instruction, wherein the instruction set of the target equipment comprises an awakening instruction used for awakening the target equipment;
inquiring a wake-up instruction corresponding to the target equipment from an instruction set corresponding to the target equipment;
and determining the inquired awakening instruction corresponding to the target equipment as the equipment awakening instruction and transmitting the equipment awakening instruction to the target equipment.
Optionally, the determining whether the voice information contains a voice wakeup instruction includes:
and judging whether a voice awakening instruction matched with a preset voice awakening instruction set exists in the voice information, wherein the preset voice awakening instruction set comprises a plurality of voice awakening instructions for awakening different devices.
Optionally, the detecting voice information input by a preset user includes:
after voice information is acquired, analyzing the voiceprint characteristics of the voice information;
judging whether the voiceprint characteristics of the voice information are consistent with preset voiceprint characteristics or not;
and if so, determining that the voice information input by the preset user is detected.
In a second aspect, an embodiment of the present invention further provides a voice wake-up apparatus for a device, where the apparatus includes:
the device comprises a first determining unit, a second determining unit and a processing unit, wherein the first determining unit is used for determining whether a voice awakening instruction exists in voice information after the voice information input by a preset user is detected, the voice awakening instruction is used for indicating to awaken a target device, and the voice awakening instruction comprises device information of the target device;
and the conversion unit is used for converting the voice awakening instruction into a corresponding device awakening instruction and transmitting the device awakening instruction to the target device if the voice awakening instruction is determined to exist in the voice information, wherein the device awakening instruction is used for indicating the target device to perform awakening operation after being identified.
Optionally, the conversion unit includes:
an obtaining module, configured to obtain, according to the target device information in the voice wake-up instruction, an instruction set corresponding to the target device, where the instruction set of the target device includes a wake-up instruction for waking up the target device;
the query module is used for querying the awakening instruction corresponding to the target equipment from the instruction set corresponding to the target equipment;
and the determining module is used for determining the inquired awakening instruction corresponding to the target equipment as the equipment awakening instruction and transmitting the equipment awakening instruction to the target equipment, wherein the awakening instruction is used for indicating the target equipment to be awakened.
Optionally, the determining unit is specifically configured to determine whether a voice wake-up instruction matched with a preset voice wake-up instruction set exists in the voice message, where the preset voice wake-up instruction set includes a plurality of voice wake-up instructions for waking up different devices.
Optionally, the apparatus further comprises;
the analysis unit is used for analyzing the voiceprint characteristics of the voice information after the voice information is obtained;
the judging unit is used for judging whether the voiceprint characteristics of the voice information are consistent with preset voiceprint characteristics or not;
and the second determining unit is used for determining that the voice information input by the preset user is detected if the voiceprint feature of the voice information is determined to be consistent with the preset voiceprint feature.
In order to achieve the above object, according to a third 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 of the device.
In order to achieve the above object, according to a fourth 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 implementing the voice wake-up method of the device as described above.
By means of the technical scheme, the voice awakening method and the voice awakening device for the equipment, provided by the embodiment of the invention, have the advantages that for the problem that the body operation is required when the equipment is awakened in the prior art, whether the voice awakening instruction exists in the voice information is determined after the voice information input by a preset user is detected, then the voice awakening instruction is converted into the corresponding equipment awakening instruction and transmitted to the target equipment when the voice awakening instruction exists, so that the equipment can be awakened according to the equipment awakening instruction by converting the voice awakening instruction into the equipment awakening instruction which can be identified by the target equipment on the premise of not changing the structure of the equipment, the function of awakening the equipment in a voice mode is realized, and the convenience in the equipment awakening process is improved.
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 of a device according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a voice wake-up method of another device according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating a voice wake-up apparatus of a device according to an embodiment of the present invention;
fig. 4 is a block diagram illustrating a voice wake-up apparatus of another device according to an embodiment of the present invention;
fig. 5 shows a block diagram of a voice wake-up electronic device of a device 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 implement voice wake-up on a device that does not have a voice wake-up function, an embodiment of the present invention provides a voice wake-up method for a device, where as shown in fig. 1, the method includes:
101. after voice information input by a preset user is detected, whether a voice awakening instruction exists in the voice information is determined.
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, i.e. a sleep mode or a standby mode, is set, in which the device does not have a complete function but only has a partial function, and when a user needs to use the device, the device needs to be awakened so as to switch the device from a current standby or sleep state to a normal operating state. The method is used for realizing the voice awakening function of the equipment which is not provided with the voice awakening device. Therefore, in the embodiment of the present invention, when there is voice information outside, the voice information may be acquired through a voice device connected to the apparatus, and then, whether the voice information is uttered by a preset user is detected. Therefore, the problem that the equipment is mistakenly awakened when voice information which is not sent by the preset user exists outside can be avoided.
In this step, when there is voice information in the vicinity of the device, it is determined whether the voice information is a voice message uttered by a predetermined user, and the voice message may be recognized by a voiceprint or the like. Certainly, the comparison can also be performed in a voice library containing the voice preset by the user, so that whether the external voice information is sent by the user or not is recognized and judged. The identification and determination method may include, but is not limited to, any one of the above methods, and other methods may be selected according to actual needs for analysis and determination, which is not limited herein. Meanwhile, any one of the existing manners may be selected for acquiring the voice information, for example, the voice information may be acquired through a microphone. Therefore, the method for acquiring the voice information is not specifically limited, and a proper acquisition method can be selected on the premise of ensuring that the voice information can be accurately acquired.
When voice information sent by a preset user is detected, the device may need to be awakened, or the device may not need to be awakened but communicate with other people. In order to avoid unnecessary waking up the device, in the embodiment of the present invention, after the voice information of the preset user is obtained in step 101, it may be determined according to the voice information, and whether a voice wake-up instruction for instructing the device to wake up exists therein is determined.
In addition, when a user needs to wake up a device, a voice wake-up instruction in the voice message sent by the user includes not only an instruction of a wake-up operation, but also a device to be woken up, that is, the voice wake-up instruction generally includes device information of the target device, and specifically, the device information may be a specific name of the device, or may be any one or more kinds of information such as a code number and a common name of the device. For example, when the voice wake-up command in the voice message sent by the user is "wake-up Computer", the device information is "Computer", specifically, the device information is a PC (Personal Computer, PC for short) in the home of the user.
102. And if the voice awakening instruction exists in the voice information, converting the voice awakening instruction into a corresponding equipment awakening instruction and transmitting the equipment awakening instruction to the target equipment.
According to the judgment of the foregoing step 102, if it is determined that the voice message has the voice wake-up instruction, it indicates that the voice message is issued by the user and is used for instructing to wake up the device in the voice wake-up instruction. Since the device itself does not have a voice wakeup function, there is a problem in recognition of a voice wakeup command corresponding to voice information. Therefore, in order to ensure that the voice wake-up instruction can be converted into an instruction that can be recognized by the device, in an embodiment of the present invention, according to the method in this step, the voice wake-up instruction may be converted into a device wake-up instruction that can be recognized by the device, where the device wake-up instruction is used to instruct the target device to perform a wake-up operation after recognition. And after the conversion is finished, sending the instruction to the equipment so that the equipment can carry out corresponding awakening operation according to the equipment awakening instruction.
Specifically, in the embodiment of the present invention, when the voice wake-up instruction is converted into a wake-up instruction of a target device, an instruction format corresponding to the device may be obtained through device information, and then the voice wake-up instruction is converted into a device wake-up instruction corresponding to the instruction format of the target device. Of course, the instruction library of the target device may be obtained, and the wake-up instruction for controlling the target device to wake up may be obtained from the instruction library, and may be sent to the target device instead. For the manner of converting the voice wake-up command to the device wake-up command, a corresponding conversion manner may be selected according to an actual situation, and is not specifically limited herein.
The voice wake-up method of the device provided by the embodiment of the invention has the advantages that for the problem that the body operation is required when the device is awakened in the prior art, whether the voice wake-up instruction exists in the voice information is determined after the voice information input by a preset user is detected, and then the voice wake-up instruction is converted into the corresponding device wake-up instruction and transmitted to the target device when the voice wake-up instruction exists, so that the device can be awakened according to the device wake-up instruction by converting the voice wake-up instruction into the device wake-up instruction which can be recognized by the target device on the premise of not changing the structure of the device, the function of awakening the device in a voice mode is realized, and the convenience of the device wake-up process is improved.
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 for a device, as shown in fig. 2, the method includes the following specific steps:
201. and voice information input by a preset user is detected.
Specifically, in order to ensure that the detected voice information is input by the preset user, the voice information may be recognized based on the voiceprint feature in the detection process, so as to ensure that the voice information is sent by the preset user when the voice information exists outside. Among them, the voiceprint is a sound feature because it has the same individuality as the fingerprint and the pupil, i.e. the voiceprint of different individuals is different.
Thus, based on the principle of voiceprint, this step may comprise: firstly, after voice information is acquired, the voiceprint characteristics of the voice information are analyzed. And then, judging whether the voiceprint characteristics of the voice information are consistent with preset voiceprint characteristics. If the voice information is consistent with the preset voice information, the voice information is sent by the preset user, and if the voice information is not consistent with the preset voice information, the voice information is not sent by the preset user, and subsequent operation is not needed. In addition, in this step, as for the manner of acquiring the voice information, the voice information may be acquired through an existing manner, for example, by using a microphone, where the manner of acquiring is not limited, and may be selected as needed.
202. After voice information input by a preset user is detected, whether a voice awakening instruction exists in the voice information is determined.
According to the method in step 201, based on the detection of the voice information in the foregoing step, when it is detected that the voice information with the preset feature exists, it indicates that the preset user has sent the voice information, where the voice information may be a voice for waking up the target device and needs to be acquired, and therefore, this step may specifically be: and if the voice information is detected to be sent by a preset user, determining whether a voice awakening instruction exists in the voice information. Based on the foregoing, in the process of detecting the voice information, when the voice information is detected in a voiceprint recognition manner, when it is determined that the voice information has a preset voiceprint feature, it indicates that the user sending the voice information is a preset user, and the voice information needs to be acquired, and therefore, the step may specifically be: if the voiceprint feature of the voice message is determined to be consistent with the preset voiceprint feature, detecting that the voice message is sent by a preset user, and determining whether a voice awakening instruction exists in the voice message.
The voice awakening instruction is used for indicating to awaken the target equipment, and the voice awakening instruction comprises equipment information of the target equipment.
Because the voice message may include other information except the voice wake-up command, and for the convenience of user operation, it is generally not necessary for the user to issue the voice instruction in a strict manner, therefore, in order to ensure accurate recognition of whether the voice message contains the voice wake-up command, the method in this step specifically includes: and judging whether a voice awakening instruction matched with a preset voice awakening instruction set exists in the voice information, wherein the preset voice awakening instruction set comprises a plurality of voice awakening instructions for awakening different devices.
It should be noted that the preset voice wake-up instruction set in this step may be set by default in the system, and may be added and updated by recording the voice instruction of the user according to the user's needs. Here, the setting manner of the preset voice instruction set may be selected according to actual requirements, and is not specifically limited herein.
According to the method in the step, whether the voice information has the matched voice awakening instruction or not is judged in the preset voice awakening instruction set, so that the accuracy of the judgment result can be ensured, meanwhile, the preset voice awakening instruction set comprises various awakening instructions, so that a user can be ensured to awaken through different voice awakening instructions when the user awakens the target equipment, and the convenience of the voice awakening method of the equipment is ensured.
203. And if the voice awakening instruction exists in the voice information, converting the voice awakening instruction into a corresponding equipment awakening instruction and transmitting the equipment awakening instruction to the target equipment.
In order to enable a device without a voice wake-up function to implement a voice wake-up function, after a user has reached a voice wake-up command, the voice wake-up command needs to be converted into a wake-up command that can be recognized by a target device. Based on the difference of the target device, the specific types of the device wake-up instructions are also different, but it should be noted that the device wake-up instruction according to the embodiment of the present invention may be understood as an instruction that the target device can perform a wake-up operation after recognizing the instruction, that is, a wake-up instruction that the target device can recognize.
Specifically, in the process of converting the voice wakeup command, the step may be performed according to the following steps: firstly, according to the target device information in the voice wake-up instruction, acquiring an instruction set corresponding to the target device, wherein the instruction set of the target device comprises a wake-up instruction for waking up the target device. Then, a wake-up instruction corresponding to the target device is inquired from an instruction set corresponding to the target device. And finally, determining the inquired awakening instruction corresponding to the target equipment as an equipment awakening instruction and transmitting the equipment awakening instruction to the target equipment, so that the target equipment can be awakened according to the equipment awakening instruction.
Therefore, the corresponding awakening instruction is inquired from the instruction set corresponding to the target device information, and the inquired awakening instruction corresponding to the target device is determined to be the voice awakening instruction, so that the voice awakening instruction is sent, the process from the voice awakening instruction to the device awakening instruction can be accurately realized, the accuracy of the device awakening instruction is ensured, and the accuracy of the voice awakening of the device is improved.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention further provides a voice wake-up apparatus of a device, 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 first determination unit 31, and a conversion unit 32, wherein
The first determining unit 31 may be configured to determine, after detecting voice information input by a preset user, whether a voice wake-up instruction exists in the voice information, where the voice wake-up instruction is used to instruct to wake up a target device, and the voice wake-up instruction includes device information of the target device;
the converting unit 32 may be configured to, if the first determining unit 31 determines that a voice wake-up instruction exists in the voice information, convert the voice wake-up instruction into a corresponding device wake-up instruction, and transmit the device wake-up instruction to the target device, where the device wake-up instruction is used to instruct the target device to perform a wake-up operation after being identified.
Further, as an implementation of the method shown in fig. 2, an embodiment of the present invention further provides a voice wake-up apparatus of a device, 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 first determination unit 41, and a conversion unit 42, wherein
The first determining unit 41 may be configured to determine, after detecting voice information input by a preset user, whether a voice wake-up instruction exists in the voice information, where the voice wake-up instruction is used to instruct to wake up a target device, and the voice wake-up instruction includes device information of the target device;
the converting unit 42 may be configured to, if the first determining unit 41 determines that a voice wake-up instruction exists in the voice information, convert the voice wake-up instruction into a corresponding device wake-up instruction, and transmit the device wake-up instruction to the target device, where the device wake-up instruction is used to instruct the target device to perform a wake-up operation after being identified.
Further, the conversion unit 42 includes:
an obtaining module 421, configured to obtain, according to the target device information in the voice wake-up instruction, an instruction set corresponding to the target device, where the instruction set of the target device includes a wake-up instruction for waking up the target device;
the querying module 422 may be configured to query, from the instruction set corresponding to the target device acquired by the acquiring module 431, a wake-up instruction corresponding to the target device;
the determining module 423 may be configured to determine the wake-up instruction, which is queried by the querying module 432 and corresponds to the target device, as the device wake-up instruction and transmit the device wake-up instruction to the target device, where the wake-up instruction is used to instruct the target device to wake up.
Further, the determining unit 41 may be specifically configured to determine whether a voice wake-up instruction matched with a preset voice wake-up instruction set exists in the voice message, where the preset voice wake-up instruction set includes a plurality of voice wake-up instructions for waking up different devices.
Further, the device also comprises;
the analyzing unit 43 may be configured to, after the voice information is obtained, analyze a voiceprint feature of the voice information;
a judging unit 44, configured to judge whether a voiceprint feature of the voice information analyzed by the analyzing unit 43 is consistent with a preset voiceprint feature;
the second determining unit 45 may be configured to determine that the voice information input by the preset user is detected if the determining unit 44 determines that the voiceprint feature of the voice information is consistent with the preset voiceprint feature.
With the above technical solutions, embodiments of the present invention provide a voice wake-up method and apparatus for a device. For the problem that limb operation is required when equipment is awakened in the prior art, the voice awakening instruction is determined to exist in voice information after the voice information input by a preset user is detected, and then the voice awakening instruction is converted into the corresponding equipment awakening instruction and transmitted to the target equipment when the voice awakening instruction is determined to exist, so that the equipment can be awakened according to the equipment awakening instruction by converting the voice awakening instruction into the equipment awakening instruction which can be identified by the target equipment on the premise of not changing the equipment structure, the function of awakening the equipment in a voice mode is realized, and the convenience of the equipment awakening process is improved.
In addition, whether the voice information is sent by the preset user or not is detected, so that the accuracy of subsequent voice awakening can be ensured, and the error awakening of the target equipment when the voice information is sent by a non-preset user is avoided. In addition, the voice information is analyzed, and whether the voiceprint feature of the voice information is consistent with the preset voiceprint feature or not is judged, so that the identity of the sender of the voice information can be further confirmed, and the accuracy of voice awakening of subsequent equipment is further ensured. In addition, whether the voice information has the matched voice awakening instruction or not is judged in the preset voice awakening instruction set, so that the accuracy of the judgment result can be ensured, meanwhile, the preset voice awakening instruction set comprises various awakening instructions, so that a user can be ensured to awaken through different voice awakening instructions when awakening the target equipment, and the convenience of the voice awakening method of the equipment is ensured. Furthermore, the corresponding awakening instruction is inquired from the instruction set corresponding to the target device information, and the inquired awakening instruction corresponding to the target device is determined as the device awakening instruction, so that the process from the voice awakening instruction to the device awakening instruction can be accurately realized, the accuracy of the device awakening instruction is ensured, and the accuracy of the voice awakening of the device is improved.
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 of the device according to any one of the foregoing embodiments, as shown in fig. 5, where the electronic device includes a processor and a memory, the first determining unit, the converting 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 voice awakening is realized on the equipment which is not provided with the voice awakening function 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 a voice wake-up method of the device.
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 (10)
1. A method for voice wake-up of a device, comprising:
after voice information input by a preset user is detected, determining whether a voice awakening instruction exists in the voice information, wherein the voice awakening instruction is used for indicating to awaken target equipment and comprises equipment information of the target equipment;
and if so, converting the voice awakening instruction into a corresponding equipment awakening instruction, and transmitting the equipment awakening instruction to the target equipment, wherein the equipment awakening instruction is used for indicating the target equipment to perform awakening operation after identification.
2. The method of claim 1, wherein converting the voice wake-up command into a corresponding device wake-up command and transmitting the voice wake-up command to the target device comprises:
acquiring an instruction set corresponding to the target equipment according to the target equipment information in the voice awakening instruction, wherein the instruction set of the target equipment comprises an awakening instruction used for awakening the target equipment;
inquiring a wake-up instruction corresponding to the target equipment from an instruction set corresponding to the target equipment;
and determining the inquired awakening instruction corresponding to the target equipment as the equipment awakening instruction and transmitting the equipment awakening instruction to the target equipment.
3. The method of claim 2, wherein the determining whether a voice wake-up instruction is present in the voice message comprises:
and judging whether a voice awakening instruction matched with a preset voice awakening instruction set exists in the voice information, wherein the preset voice awakening instruction set comprises a plurality of voice awakening instructions for awakening different devices.
4. The method of claim 1, wherein the detecting the voice information input by the preset user comprises:
after voice information is acquired, analyzing the voiceprint characteristics of the voice information;
judging whether the voiceprint characteristics of the voice information are consistent with preset voiceprint characteristics or not;
and if so, determining that the voice information input by the preset user is detected.
5. A voice wake-up apparatus of a device, comprising:
the device comprises a first determining unit, a second determining unit and a processing unit, wherein the first determining unit is used for determining whether a voice awakening instruction exists in voice information after the voice information input by a preset user is detected, the voice awakening instruction is used for indicating to awaken a target device, and the voice awakening instruction comprises device information of the target device;
and the conversion unit is used for converting the voice awakening instruction into a corresponding device awakening instruction and transmitting the device awakening instruction to the target device if the voice awakening instruction is determined to exist in the voice information, wherein the device awakening instruction is used for indicating the target device to perform awakening operation after being identified.
6. The apparatus of claim 5, wherein the conversion unit comprises:
an obtaining module, configured to obtain, according to the target device information in the voice wake-up instruction, an instruction set corresponding to the target device, where the instruction set of the target device includes a wake-up instruction for waking up the target device;
the query module is used for querying the awakening instruction corresponding to the target equipment from the instruction set corresponding to the target equipment;
and the determining module is used for determining the inquired awakening instruction corresponding to the target equipment as the equipment awakening instruction and transmitting the equipment awakening instruction to the target equipment, wherein the awakening instruction is used for indicating the target equipment to be awakened.
7. The apparatus of claim 6,
the determining unit is specifically configured to determine whether a voice wake-up instruction matched with a preset voice wake-up instruction set exists in the voice message, where the preset voice wake-up instruction set includes a plurality of voice wake-up instructions for waking up different devices.
8. The apparatus of claim 7, further comprising;
the analysis unit is used for analyzing the voiceprint characteristics of the voice information after the voice information is obtained;
the judging unit is used for judging whether the voiceprint characteristics of the voice information are consistent with preset voiceprint characteristics or not;
and the second determining unit is used for determining that the voice information input by the preset user is detected if the voiceprint feature of the voice information is determined to be consistent with the preset voiceprint feature.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, the device where the storage medium is located is controlled to execute the voice wake-up method of the device according to any one of claims 1 to 4.
10. 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 a voice wake-up method for a device as claimed in any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810479496.3A CN108806678A (en) | 2018-05-18 | 2018-05-18 | The voice awakening method and device of equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810479496.3A CN108806678A (en) | 2018-05-18 | 2018-05-18 | The voice awakening method and device of equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108806678A true CN108806678A (en) | 2018-11-13 |
Family
ID=64092679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810479496.3A Pending CN108806678A (en) | 2018-05-18 | 2018-05-18 | The voice awakening method and device of equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108806678A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109215658A (en) * | 2018-11-30 | 2019-01-15 | 广东美的制冷设备有限公司 | Voice awakening method, device and the household appliance of equipment |
CN109243459A (en) * | 2018-11-30 | 2019-01-18 | 广东美的制冷设备有限公司 | Voice awakening method, device, household appliance and the control system of equipment |
CN111986663A (en) * | 2019-05-22 | 2020-11-24 | 深圳市掌网科技股份有限公司 | Film cutting machine and voice control device and method thereof |
CN114420094A (en) * | 2021-12-13 | 2022-04-29 | 北京声智科技有限公司 | Cross-device wake-up method, device, equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051781A (en) * | 2012-12-07 | 2013-04-17 | 百度在线网络技术(北京)有限公司 | Method for controlling backstage through voice and mobile terminal |
CN103257594A (en) * | 2012-02-16 | 2013-08-21 | 上海博泰悦臻电子设备制造有限公司 | Universal voice control device, voice control system and voice control method |
CN103873912A (en) * | 2014-04-08 | 2014-06-18 | 江苏惠通集团有限责任公司 | Electronic equipment and arousing method and device thereof |
CN105357006A (en) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | Method and equipment for performing security authentication based on voiceprint feature |
CN105511287A (en) * | 2016-01-27 | 2016-04-20 | 珠海格力电器股份有限公司 | Intelligent household appliance control method, device and system |
CN105575395A (en) * | 2014-10-14 | 2016-05-11 | 中兴通讯股份有限公司 | Voice wake-up method and apparatus, terminal, and processing method thereof |
CN106357497A (en) * | 2016-11-10 | 2017-01-25 | 北京智能管家科技有限公司 | Control system of intelligent home network |
CN107180632A (en) * | 2017-06-19 | 2017-09-19 | 微鲸科技有限公司 | Sound control method, device and readable storage medium storing program for executing |
CN107346245A (en) * | 2017-06-29 | 2017-11-14 | 杭州古北电子科技有限公司 | The control method and system of smart machine |
CN107544272A (en) * | 2017-09-18 | 2018-01-05 | 广东美的制冷设备有限公司 | terminal control method, device and storage medium |
-
2018
- 2018-05-18 CN CN201810479496.3A patent/CN108806678A/en active Pending
Patent Citations (10)
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 |
CN103051781A (en) * | 2012-12-07 | 2013-04-17 | 百度在线网络技术(北京)有限公司 | Method for controlling backstage through voice and mobile terminal |
CN103873912A (en) * | 2014-04-08 | 2014-06-18 | 江苏惠通集团有限责任公司 | Electronic equipment and arousing method and device thereof |
CN105357006A (en) * | 2014-08-20 | 2016-02-24 | 中兴通讯股份有限公司 | Method and equipment for performing security authentication based on voiceprint feature |
CN105575395A (en) * | 2014-10-14 | 2016-05-11 | 中兴通讯股份有限公司 | Voice wake-up method and apparatus, terminal, and processing method thereof |
CN105511287A (en) * | 2016-01-27 | 2016-04-20 | 珠海格力电器股份有限公司 | Intelligent household appliance control method, device and system |
CN106357497A (en) * | 2016-11-10 | 2017-01-25 | 北京智能管家科技有限公司 | Control system of intelligent home network |
CN107180632A (en) * | 2017-06-19 | 2017-09-19 | 微鲸科技有限公司 | Sound control method, device and readable storage medium storing program for executing |
CN107346245A (en) * | 2017-06-29 | 2017-11-14 | 杭州古北电子科技有限公司 | The control method and system of smart machine |
CN107544272A (en) * | 2017-09-18 | 2018-01-05 | 广东美的制冷设备有限公司 | terminal control method, device and storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109215658A (en) * | 2018-11-30 | 2019-01-15 | 广东美的制冷设备有限公司 | Voice awakening method, device and the household appliance of equipment |
CN109243459A (en) * | 2018-11-30 | 2019-01-18 | 广东美的制冷设备有限公司 | Voice awakening method, device, household appliance and the control system of equipment |
CN111986663A (en) * | 2019-05-22 | 2020-11-24 | 深圳市掌网科技股份有限公司 | Film cutting machine and voice control device and method thereof |
CN114420094A (en) * | 2021-12-13 | 2022-04-29 | 北京声智科技有限公司 | Cross-device wake-up method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107704275B (en) | Intelligent device awakening method and device, server and intelligent device | |
CN111223497B (en) | Nearby wake-up method and device for terminal, computing equipment and storage medium | |
CN105912092B (en) | Voice awakening method and speech recognition equipment in human-computer interaction | |
CN106782554B (en) | Voice awakening method and device based on artificial intelligence | |
CN108806678A (en) | The voice awakening method and device of equipment | |
CN109065044B (en) | Awakening word recognition method and device, electronic equipment and computer readable storage medium | |
CN111081217B (en) | Voice wake-up method and device, electronic equipment and storage medium | |
CN109346071A (en) | Wake up processing method, device and electronic equipment | |
CN108986822A (en) | Audio recognition method, device, electronic equipment and non-transient computer storage medium | |
CN111161714A (en) | Voice information processing method, electronic equipment and storage medium | |
CN108172228B (en) | Voice command word replacing method and device, voice control equipment and computer storage medium | |
CN111199733A (en) | Multi-stage recognition voice awakening method and device, computer storage medium and equipment | |
CN108806679B (en) | Voice wake-up method and device | |
CN111464992A (en) | Power-saving control method, device and system based on intelligent garbage can | |
CN110910878B (en) | Voice wake-up control method and device, storage medium and household appliance | |
US11423880B2 (en) | Method for updating a speech recognition model, electronic device and storage medium | |
CN115396860A (en) | NFC chip intelligent regulation method, device, equipment and storage medium | |
CN111261160A (en) | Signal processing method and device | |
US20200234707A1 (en) | Voice interaction processing method and apparatus | |
WO2019227370A1 (en) | Method, apparatus and system for controlling multiple voice assistants, and computer-readable storage medium | |
CN104598192B (en) | Information processing method and electronic equipment | |
CN110473542B (en) | Awakening method and device for voice instruction execution function and electronic equipment | |
CN111324328B (en) | Volume adjusting method and device | |
CN108093350B (en) | Microphone control method and microphone | |
CN111179924B (en) | Method and system for optimizing awakening performance based on mode switching |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |