Wake-up processing method, device, smart speaker and electronic device
By introducing a cloud verification mechanism into the smart speaker, it ensures that the user's voice is not sent to the cloud before the verification result is obtained. This solves the problem of privacy leakage when the smart speaker is awake and improves the security of user privacy and processing efficiency. Take into consideration.
Patent Information
- Application Number
- CN201910351630.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-28
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2039-04-28
AI Technical Summary
Existing smart speakers have security risks. They may leak user privacy when monitoring users' daily conversations or behaviors. In particular, they transmit voice data to the cloud without verification when they are awake, which poses the risk of hacker intrusion and privacy leakage.
After detecting the wake-up word in the listening state, switch to the wake-up state, collect the second voice and perform cloud verification. Only transmit the user voice data to the cloud after the verification passes, ensuring that it is not sent to the cloud before the verification result is obtained. User voice collected during wake-up state to prevent privacy leakage.
Through the cloud verification mechanism, unverified voice data transmission is effectively prevented, ensuring the security of user privacy while taking into account processing efficiency and avoiding the risk of privacy leakage caused by network transmission.
Smart Images

Figure CN111862965B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a wake-up processing method, device, smart speaker and electronic device, and belongs to the field of computer technology. Background Art
[0002] Smart speakers are an upgraded version of traditional speakers. They can use voice to access the Internet, for example, to order songs, shop online, or get weather forecasts. Smart speakers can also control smart home devices, such as opening curtains and setting refrigerator temperatures.
[0003] However, some smart speakers in the existing technology have security risks. Smart speakers can monitor users' daily or work conversations or behaviors through their microphones, thus posing great information security risks to users' work and life. Summary of the invention
[0004] Embodiments of the present invention provide a wake-up processing method, device, smart speaker, and electronic device to protect user privacy.
[0005] In order to achieve the above object, an embodiment of the present invention provides a wake-up processing method, including:
[0006] In the monitoring state, the user's first voice is collected. If the wake-up word is detected, it switches to the wake-up state and performs the following processing:
[0007] In the wake-up state, the user's second voice is collected, and the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word is verified;
[0008] If the verification passes, processing is performed in response to the second voice, and if the verification fails, the awake state is terminated.
[0009] The embodiment of the present invention further provides a wake-up processing method, including:
[0010] Receive the text of the wake-up word or the first voice corresponding to the wake-up word sent from the smart device, and verify the text of the wake-up word or the first voice with the registered wake-up word in the user registration information. If the verification passes, return the result of the verification passing to the smart device; otherwise, return the result of the verification failing to the smart device.
[0011] The embodiment of the present invention further provides a wake-up processing device, including:
[0012] A first voice collection module is used to collect the user's first voice in the monitoring state, and switch to the wake-up state if a wake-up word is detected;
[0013] A second voice collection module is used to collect the second voice of the user in the wake-up state, and send the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word to the verification end for verification, wherein the verification end includes any one or more of a server, other device ends other than the current device, and a processing unit in the current device for performing local verification;
[0014] The first processing module is used to perform processing in response to the second voice if the verification is passed, and terminate the wake-up state if the verification is not passed.
[0015] The embodiment of the present invention further provides a wake-up processing device, including:
[0016] A wake-up word receiving module, used to receive a text of a wake-up word or a first voice corresponding to the wake-up word sent from a smart device;
[0017] The wake-up word verification module is used to verify the text of the wake-up word or the first voice with the registered wake-up word in the user registration information. If the verification passes, the verification result is returned to the smart device; otherwise, the verification result is returned to the smart device.
[0018] An embodiment of the present invention further provides an electronic device, including:
[0019] Memory, used to store programs;
[0020] A processor, coupled to the memory, is configured to execute the program to perform the following processing:
[0021] In the monitoring state, the user's first voice is collected. If the wake-up word is detected, it switches to the wake-up state and performs the following processing:
[0022] In the wake-up state, the user's second voice is collected, and the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word is verified;
[0023] If the verification passes, processing is performed in response to the second voice, and if the verification fails, the awake state is terminated.
[0024] The embodiment of the present invention further provides a smart speaker, including:
[0025] Microphone, used to collect user voice;
[0026] A speaker, used to play audio according to control instructions;
[0027] A monitoring processing module, used to collect the user's first voice through the microphone in the monitoring state, and trigger switching to the wake-up state if a wake-up word is detected;
[0028] A wake-up processing module, which is used to collect the user's second voice through the microphone in the wake-up state, and send the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word to the verification end for verification;
[0029] The verification result processing module is used to perform processing in response to the second voice when a verification result indicating that the verification has passed is received from the verification end, and terminate the wake-up state when a verification result indicating that the verification has failed is received from the verification end.
[0030] The embodiment of the present invention further provides a wake-up processing method, including:
[0031] In the monitoring state, the user's first voice is collected, and if the wake-up word is detected, the state is switched to the wake-up state;
[0032] Verifying the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word;
[0033] If the verification fails, the wake-up state is terminated.
[0034] An embodiment of the present invention further provides an electronic device, including:
[0035] Memory, used to store programs;
[0036] A processor, coupled to the memory, is configured to execute the program to perform the following processing:
[0037] In the monitoring state, the user's first voice is collected, and if the wake-up word is detected, the state is switched to the wake-up state;
[0038] Verifying the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word;
[0039] If the verification fails, the wake-up state is terminated.
[0040] After the smart device is awakened, the embodiment of the present invention simultaneously collects the user's voice and verifies the wake-up word, and does not send the user's voice collected in the awakened state before the verification result is obtained. In this way, the security of user privacy is ensured while taking into account the processing efficiency.
[0041] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of an application scenario of a wake-up processing method using a smart speaker as an example according to an embodiment of the present invention;
[0043] Figure 2 This is a flowchart of a wake-up processing method according to an embodiment of the present invention;
[0044] Figure 3 The second flowchart of the wake-up processing method according to the embodiment of the present invention;
[0045] Figure 4 This is a schematic diagram of the structure of the wake-up processing device according to an embodiment of the present invention;
[0046] Figure 5 This is a second structural diagram of the wake-up processing device according to an embodiment of the present invention;
[0047] Figure 6 This is a schematic diagram of the structure of a smart speaker according to an embodiment of the present invention;
[0048] Figure 7 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0050] The technical solution of the present invention is further illustrated by some specific embodiments below.
[0051] In order to prevent the user's voice signal from mistakenly triggering the smart speaker to execute processing, and also to prevent the smart speaker from recognizing meaningless commands, smart speakers are set with a wake-up mode. Only when the smart speaker is in the wake-up state will it recognize the user's voice control commands and further execute control commands.
[0052] With the development of cloud technology, many control instructions will involve cloud processing. For example, "Please play xxxx song", this control instruction involves cloud retrieval and sending the retrieved song data to the smart speaker. Another example is "Please tell me today's weather conditions", which involves the retrieval of weather data in the cloud and providing weather data to each smart speaker. In addition, in order to make voice recognition more accurate and intelligent, the recognition and processing of user voice control instructions will also be completed in the cloud. For this reason, after the smart speaker is awakened, the user voice collected locally by the smart speaker is sent to the cloud through the network.
[0053] A major difference between the awake state and the non-awakening state (monitoring state) is that in the awake state, the smart speaker will continuously collect user voice for a certain period of time, generate voice files, and transmit them to the cloud through the network, so that the cloud can recognize control instructions and trigger corresponding processing actions. In the non-awakening state, the smart speaker is in a monitoring state. Although it will also collect user voice through microphones and other sounds, it is only for the purpose of recognizing the wake-up word. The collected user voice files only exist in the memory and will not be sent to the network. In addition, in the non-awakening state, the control instructions of the collected user voice will not be recognized.
[0054] Currently, there are two wake-up mechanisms: regular wake-up mode and quick wake-up mode. The differences between these two modes are introduced below.
[0055] Normal wake-up mode
[0056] Normally, the user needs to say the wake-up word first to wake up the smart speaker and put it in a voice command receiving state. The smart speaker will collect the user's voice and transmit it to the cloud through the network for voice command recognition, extract the control command and trigger the corresponding processing action. For example, the user needs to say "XXX Elf" (such as the name of the smart speaker) to wake up the smart speaker, and then say the voice control command for further control. In the normal wake-up mode, the boundary between the wake-up word and the control command is relatively clear.
[0057] Quick wake-up mode
[0058] In order to make it more convenient for users to control the smart speaker by voice, some quick wake-up commands can be allowed. The quick wake-up commands combine the wake-up words and control commands. For example: the quick wake-up command is "next song". In the monitoring state, when the smart speaker detects the quick wake-up command, it switches to the wake-up state, and transmits the quick wake-up command and the user voice collected subsequently to the cloud through the network, and performs control command recognition to execute the processing action corresponding to the control command. Of course, for some simple quick wake-up commands, the control command can also be recognized locally at the same time. If the control command is recognized and it is found that it does not need to be processed by the cloud, the control command can also be executed directly locally.
[0059] For the sake of distinction, the wake-up word in the regular wake-up mode is referred to as the "regular wake-up word", and the wake-up word in the quick wake-up mode is referred to as the "quick wake-up instruction". That is, in the description of the present invention, unless otherwise specified, the wake-up word includes the regular wake-up word and the quick wake-up instruction.
[0060] Whether it is awakened by a regular wake-up word or a quick wake-up command, the smart speaker will be in a state of collecting user voice and transmitting it to the cloud through the network for a period of time after awakening. Through some hacking techniques, it is possible to invade the smart speaker and modify the wake-up word or quick wake-up command. For example, some common words in daily conversations can be used as wake-up words or quick wake-up commands, so as to easily wake up the smart speaker and intercept the voice files transmitted by the smart speaker to the cloud. This will seriously damage the interests of users and pose a great security risk.
[0061] It should be noted that the embodiment of the present invention is designed for the situation where the user's voice will be transmitted to the cloud by default for further recognition after wake-up (only in this case will there be a security risk of privacy leakage due to network transmission). The recognition of voice control commands is completely completed locally and is not within the scope of consideration of the present invention.
[0062] In addition, in the general settings of smart speakers, after being awakened by the wake-up word, the user will be prompted by a prompt light that the smart speaker has been awakened, that is, the user can know that the smart speaker is collecting the user's voice. However, since the quick wake-up command has a relatively short wake-up time, current smart speakers generally do not prompt users that the smart speaker is in the awake state, which also poses certain security risks, causing users to collect some personal privacy information without noticing.
[0063] Wake-up recognition is generally implemented through ASR (Automatic Speech Recognition) technology, which triggers the wake-up of smart devices by configuring pre-configured wake-up words or quick wake-up commands in the ASR logic.
[0064] For the wake-up mechanism, in order to avoid the delay of wake-up processing, most of them choose to perform wake-up recognition locally. However, if the smart speaker is hacked, the ASR judgment logic is tampered with, and the wake-up word or quick wake-up command is modified, the user will not know about it, which can easily cause privacy leakage. For example, hackers can arbitrarily set many wake-up words or quick wake-up commands, so that smart devices can wake up frequently and collect user voice to transmit to the network, which seriously endangers user privacy security.
[0065] In view of this situation, the present invention proposes a cloud-based verification mechanism for the wake-up word. Only after the wake-up word verification is passed, the smart speaker is allowed to send the user voice collected after wake-up to the cloud. While the wake-up word verification is being performed on the cloud, the smart speaker will still collect and record the user's voice, but it will not be sent to the cloud before the cloud verification result is obtained.
[0066] In order to distinguish the user voice collected before and after awakening, the user voice collected before awakening is called the first voice, and the user voice collected after awakening is called the second voice.
[0067] like Figure 1 As shown in FIG. 1 , it is a schematic diagram of an application scenario of the wake-up processing method using a smart speaker as an example in an embodiment of the present invention. After the smart speaker is turned on, it is in a listening state by default. In the listening state, the microphone is used to collect sound signals. When the sound signal exceeds a certain threshold, the detection and recognition of the wake-up word is started. Figure 1 As shown, after the first voice is collected, wake-up word detection will be performed. The specific detection method can be based on ASR speech recognition to extract the text information corresponding to the first voice and compare it with the preset wake-up words in the smart speaker (including regular wake-up words and quick wake-up instructions). If a match is found, the listening state is switched to the wake-up state, otherwise, the listening state is maintained.
[0068] After switching to the awake state, two branches will be processed simultaneously. One branch is: continue to collect the second voice in the awake state, but will not transmit it to the cloud. The other branch is: transmit the previously detected wake-up word to the cloud for wake-up word verification, and wait for the verification result of the cloud.
[0069] In order to verify the wake-up word, after defining the wake-up word locally, the user needs to further register the wake-up word in the cloud during use. The wake-up word transmitted by the smart speaker to the cloud can be the text of the wake-up word, which is then verified by the cloud through text comparison. The smart speaker can also directly transmit the first voice collected in the monitoring state to the cloud, and the cloud extracts and compares the text of the first voice, and then compares it with the text of the pre-registered wake-up word, or directly uses the first voice to compare with the pre-registered user voice as the wake-up word.
[0070] When the smart speaker receives the verification result from the cloud, it determines whether to transmit the second voice collected in the wake-up state to the cloud based on the verification result. Specifically, if the verification result is passed, the second voice is transmitted to the cloud to trigger the cloud to further identify the control instructions and execute the action processing corresponding to the control instructions. For the conventional wake-up mode, the control instructions issued by the user through voice will only appear in the second voice, so it is only necessary to transmit the second voice to the cloud. For the quick wake-up mode, since the quick wake-up instruction as the wake-up word itself contains part or all of the control instructions, after wake-up, it is necessary to transmit the first voice and the second voice to the cloud so that the cloud can perform complete control instruction recognition. Of course, if the first voice is received during the cloud wake-up word verification process, the smart speaker can also only transmit the second voice to the cloud after the verification passes.
[0071] After the cloud receives the second voice, it can identify the control instruction and execute the processing actions that need to be executed by the cloud based on the control instruction, such as retrieving information or obtaining content data, etc., and then send the identified control instruction and / or content data to the smart speaker. The smart speaker performs action processing according to the received control instruction and / or content data.
[0072] The above introduces the improvement of the wake-up mechanism of the smart speaker in the embodiment of the present invention. On the other hand, in order to prompt the user to speak the control command, in the case of a conventional wake-up word, an indicator light will be used to prompt the user to let the user know that they are in the voice collection state, while in the quick wake-up state, no prompt will be given to the user. Therefore, in the quick wake-up state, the user often ignores that they are being recorded, and may not pay attention to their privacy leakage. In this regard, the present invention will also prompt the user for the quick wake-up command to draw the user's attention. The prompt can be in the form of an indicator light or voice to remind the user that they are being recorded.
[0073] It should be noted that the above-mentioned cloud can be a cloud server or a distributed cloud server cluster or a cloud processing platform that provides cloud processing. Of course, it can also be a network server that adopts traditional technology.
[0074] In addition, since voice control based on the wake-up mechanism is not only used in smart speakers, but can also be applied to many smart devices, such as mobile phones, computers and other office equipment, as well as refrigerators, air conditioners and other household appliances, these smart devices also have the risk of privacy leakage due to the wake-up mechanism when interacting with the cloud. These smart devices are also suitable for the technical solutions provided in the embodiments of the present invention.
[0075] After the smart device is awakened, the embodiment of the present invention simultaneously collects the user's voice and verifies the wake-up word in the cloud. Before obtaining the cloud verification result, the user's voice collected in the awakened state will not be sent to the cloud. In this way, the processing efficiency is taken into account while ensuring the security of user privacy.
[0076] Embodiment 1
[0077] In an embodiment of the present invention, the user's first voice is first collected in the monitoring state. If a wake-up word is detected, it is switched to the wake-up state, and the second voice input by the subsequent user is continuously collected, and the text of the detected wake-up word or the first voice corresponding to the wake-up word is verified. If the verification fails, the wake-up state is terminated, so that the second voice collected after wake-up will not be sent to the network, thereby ensuring the security of user privacy. Among them, the verification end that performs the verification operation can be any one or more of the server, other device ends outside the current device, and the processing unit in the current device for performing local verification. Therefore, the text of the detected wake-up word or the first voice can be sent to the verification end for further verification.
[0078] In actual applications, many control instructions of smart devices involve processing by cloud servers. For example, after waking up, you need to search for songs in the server, or control other smart devices through the server. Therefore, you can generally choose the server as the verification end for the wake-up word. The following will mainly use the server as the verification end for exemplary explanation.
[0079] like Figure 2 The figure is one of the flowcharts of the wake-up processing method according to an embodiment of the present invention. The flowchart is executed on the smart device side and includes:
[0080] S101: In the monitoring state, the user's first voice is collected, and if the wake-up word is detected, the state is switched to the wake-up state. In this step, after switching to the wake-up state, a prompt that the user is in the recording state can be issued to the user to remind the user to pay attention to personal privacy. The prompt method can be in the form of an indicator light or a voice prompt.
[0081] S102: In the awake state, collecting a second voice of the user.
[0082] S103: Send the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word to the server to trigger the wake-up word verification. Step S102 and step S103 can be performed simultaneously to improve processing efficiency.
[0083] S104: Receive the verification result returned by the server. If the verification result is failed, execute S105; if the verification result is passed, execute S106.
[0084] S105: terminating the awakening state. After terminating the awakening state, the device may switch back to the monitoring state to continue monitoring the user's voice.
[0085] S106: In response to the second voice, the second voice is sent to the server in general application scenarios. Of course, in some cases, local control processing is performed directly based on the second voice. In this step, if it is a quick wake-up method, the first voice and the second voice can be sent to the server together.
[0086] After step S106, it may also include: the smart device receives the control instruction and / or content data corresponding to the second voice or the first voice and the second voice returned by the server, and performs processing according to the control instruction and / or content data. Many control instructions need to be completed by the server and the smart device together, for example, the control instruction of "play XXX song". After the server recognizes the control instruction, it needs to download the song and transmit it to the smart device, and the smart device performs the playing action according to the downloaded song and the control instruction. It should be noted that the recognition of the control instruction can also be completed on the smart device. The reason why it needs to be sent to the server is that the completion of many control instructions requires the cooperation of the server. Therefore, after sending it to the server, the action processing corresponding to the control instruction can be completed after waiting for the content data transmitted by the server.
[0087] like Figure 3 As shown, it is a second flowchart of the wake-up processing method of an embodiment of the present invention. On the server side, a verification process for the wake-up word is performed, which specifically includes:
[0088] S201: Receive a text of a wake-up word or a first voice corresponding to the wake-up word sent from a smart device.
[0089] S202: Verify the text of the wake-up word or the first voice with the registered wake-up word in the user registration information. If the verification passes, execute S203; if the verification fails, execute S204.
[0090] S203: Return the verification result to the smart device.
[0091] S204: Returning a verification failure result to the smart device.
[0092] In addition, the embodiment of the present invention further provides another wake-up processing method, including:
[0093] S301: In the monitoring state, collecting the user's first voice, if the wake-up word is detected, switching to the wake-up state;
[0094] S302: Verify the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word;
[0095] S303: If the verification fails, the wake-up state is terminated.
[0096] The wake-up processing method of the embodiment of the present invention collects the user's voice and verifies the wake-up word of the server synchronously after the smart device is awakened. Before obtaining the verification result of the server, the user's voice collected in the awakening state will not be sent to the server. In this way, the processing efficiency is taken into account while ensuring the security of user privacy.
[0097] Embodiment 2
[0098] like Figure 4 As shown, it is one of the structural schematic diagrams of the wake-up processing device according to an embodiment of the present invention. The device is arranged on a smart device and includes:
[0099] The first voice collection module 11 is used to collect the user's first voice in the monitoring state, and if the wake-up word is detected, it switches to the wake-up state. In addition, after switching to the wake-up state, the first voice collection module 11 can send a prompt to the user that it is in the recording state to remind the user to pay attention to personal privacy. The prompt method can be in the form of an indicator light or a voice prompt.
[0100] The second voice collection module 12 is used to collect the second voice of the user in the wake-up state, and send the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word to the verification end for verification. The verification end may include any one or more of a server, other device ends other than the current device, and a processing unit in the current device for performing local verification.
[0101] The first processing module 13 is used to terminate the wake-up state when the verification fails. Specifically, taking the server as the verification end as an example, when the verification result returned by the server indicating that the verification fails is received, the wake-up state is terminated, and when the verification result returned by the server indicating that the verification passes is received, the second voice is sent to the server.
[0102] In addition, the device may also include:
[0103] The second processing module 14 is used to receive the control instruction and / or content data corresponding to the second voice or the first voice and the second voice returned by the server, and perform processing according to the control instruction and / or the content data.
[0104] like Figure 5 As shown, it is a second structural schematic diagram of the wake-up processing device according to an embodiment of the present invention. The device is arranged on a server and includes:
[0105] The wake-up word receiving module 21 is used to receive the text of the wake-up word sent from the smart device or the first voice corresponding to the wake-up word.
[0106] The wake-up word verification module 22 is used to verify the text or the first voice of the wake-up word with the registered wake-up word in the user registration information. If the verification passes, the verification result is returned to the smart device; otherwise, the verification result is returned to the smart device.
[0107] The wake-up processing device of the embodiment of the present invention collects the user's voice and verifies the wake-up word of the server synchronously after the smart device is awakened, and does not send the user's voice collected in the awakening state to the server before obtaining the verification result of the server. In this way, the security of user privacy is ensured while taking into account the processing efficiency.
[0108] Embodiment 3
[0109] like Figure 6 As shown, it is a schematic diagram of the structure of the smart speaker according to an embodiment of the present invention, which includes:
[0110] Microphone 31 is used to collect user voice.
[0111] The speaker 32 is used to play audio according to the control instruction.
[0112] The monitoring processing module 33 is used to collect the user's first voice through the microphone in the monitoring state, and trigger switching to the wake-up state if a wake-up word is detected.
[0113] The wake-up processing module 34 is used to collect the user's second voice through the microphone in the wake-up state, and send the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word to the verification end for verification. The verification end may include any one or more of a server, other device ends other than the current device, and a processing unit in the current device for performing local verification.
[0114] The verification result processing module 35 is used to terminate the wake-up state when the verification fails. Specifically, taking the server as the verification end as an example, when the verification result returned by the server indicating that the verification fails is received, the wake-up state is terminated, and when the verification result returned by the server indicating that the verification passes is received, the second voice is sent to the server.
[0115] The smart speaker of the embodiment of the present invention, after being awakened, simultaneously collects the user's voice and verifies the wake-up word of the server, and does not send the user's voice collected in the awakened state to the server before obtaining the verification result of the server. In this way, the security of user privacy is ensured while taking into account the processing efficiency.
[0116] Embodiment 4
[0117] The above embodiments describe the process processing and device structure of the embodiments of the present invention. The functions of the above methods and devices can be implemented by means of an electronic device, such as Figure 7 As shown, it is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention, which specifically includes: a memory 110 and a processor 120.
[0118] The memory 110 is used to store programs.
[0119] In addition to the above-mentioned programs, the memory 110 may also be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.
[0120] The memory 110 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0121] The processor 120 is coupled to the memory 110 and is used to execute the program in the memory 110 to perform the following processing:
[0122] In the monitoring state, the user's first voice is collected. If the wake-up word is detected, it switches to the wake-up state and performs the following processing:
[0123] In the wake-up state, the user's second voice is collected, and the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word is verified;
[0124] If the verification fails, the wake-up state is terminated.
[0125] Among them, verifying the detected text of the wake-up word or the first voice corresponding to the wake-up word may include:
[0126] The text of the detected wake-up word or the first voice corresponding to the wake-up word is sent to the verification end for verification, wherein the verification end includes any one or more of a server, other device ends outside the current device, and a processing unit in the current device for performing local verification.
[0127] The step of verifying the detected text of the wake-up word or the first voice corresponding to the wake-up word includes:
[0128] Sending the detected text of the wake-up word or the first voice corresponding to the wake-up word to a server for verification;
[0129] If a verification result indicating that the verification has failed is received from the server, the awakening state is terminated; if a verification result indicating that the verification has passed is received from the server, the second voice is sent to the server.
[0130] Among them, the wake-up word can be a quick wake-up instruction for executing wake-up and control instructions. When switched to the wake-up state, a prompt is issued to the user that the recording state is in progress.
[0131] Wherein, the wake-up word may be a conventional wake-up word, and the above processing may further include:
[0132] Receive the control instruction and / or content data corresponding to the second voice returned by the server, and perform processing according to the control instruction and / or content data.
[0133] The wake-up word may be a quick wake-up instruction for executing the wake-up and control instructions. The above processing may also include:
[0134] Receive control instructions and / or content data corresponding to the first voice and the second voice returned by the server, and perform processing according to the control instructions and / or content data.
[0135] As another embodiment, the above process may include:
[0136] Receive the text of the wake-up word or the first voice corresponding to the wake-up word sent from the smart device, and verify the text of the wake-up word or the first voice with the registered wake-up word in the user registration information. If the verification passes, return the result of the verification passing to the smart device; otherwise, return the result of the verification failing to the smart device.
[0137] As another embodiment, the above process may include:
[0138] In the monitoring state, the user's first voice is collected, and if the wake-up word is detected, the state is switched to the wake-up state;
[0139] Verifying the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word;
[0140] If the verification fails, the wake-up state is terminated.
[0141] The specific description of the above-mentioned processing process, the detailed description of the technical principle and the detailed analysis of the technical effect have been described in detail in the previous embodiments and will not be repeated here.
[0142] Furthermore, as shown in the figure, the electronic device may also include other components such as a communication component 130, a power component 140, an audio component 150, and a display 160. The figure only schematically shows some components, which does not mean that the electronic device only includes the components shown in the figure.
[0143] The communication component 130 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 130 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 130 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0144] The power supply component 140 provides power to various components of the electronic device. The power supply component 140 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.
[0145] The audio component 150 is configured to output and / or input audio signals. For example, the audio component 150 includes a microphone (MIC), and when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 110 or sent via the communication component 130. In some embodiments, the audio component 150 also includes a speaker for outputting audio signals.
[0146] The display 160 includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0147] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0148] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A wake-up processing method, applied to a smart device, comprising: In the monitoring state, the user's first voice is collected. If the wake-up word is detected, it switches to the wake-up state and performs the following processing: In the wake-up state, the user's second voice is collected, and the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word is verified; wherein, the verification of the detected text of the wake-up word or the first voice corresponding to the wake-up word includes: sending the detected text of the wake-up word or the first voice corresponding to the wake-up word to the server for verification; if a verification result indicating that the verification failed is received from the server, it is determined that the verification failed; if a verification result indicating that the verification passed is received from the server, it is determined that the verification passed and the second voice is sent to the server; If the verification is passed, the second voice is sent to the server so that the server performs processing in response to the second voice; if the verification is not passed, the awake state is terminated.
2. The method according to claim 1, wherein: Verifying the detected text of the wake-up word or the first voice corresponding to the wake-up word includes: The text of the detected wake-up word or the first voice corresponding to the wake-up word is sent to the verification end for verification, wherein the verification end includes any one or more of a server, other device ends outside the current device, and a processing unit in the current device for performing local verification.
3. The method according to claim 1, wherein: If the wake-up word is a quick wake-up instruction for executing wake-up and control instructions, a prompt is given to the user after switching to the wake-up state.
4. The method according to claim 1, wherein: The wake-up word is a conventional wake-up word, and the method further includes: Receive the control instruction and / or content data corresponding to the second voice returned by the server, and perform processing according to the control instruction and / or content data.
5. The method according to claim 1, wherein: The wake-up word is a quick wake-up instruction for executing a wake-up and control instruction, and the method further includes: Receive control instructions and / or content data corresponding to the first voice and the second voice returned by the server, and perform processing according to the control instructions and / or content data.
6. A wake-up processing method, applied to a server, comprising: Receive the text of the wake-up word or the first voice corresponding to the wake-up word sent by the smart device, and verify the text of the wake-up word or the first voice with the registered wake-up word in the user registration information; if the verification passes, return the verification result to the smart device so that the smart device can feedback the second voice collected in the wake-up state; otherwise, return the verification failure result to the smart device so that the smart device terminates the wake-up state, wherein the wake-up state is the state to which the smart device switches after detecting the wake-up word, and the second voice is the voice synchronously collected by the smart device during the wake-up word verification process on the server.
7. A wake-up processing device, comprising: A first voice collection module is used to collect the user's first voice in the monitoring state, and switch to the wake-up state if a wake-up word is detected; A second voice collection module is used to collect the second voice of the user in the wake-up state, and verify the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word; wherein, verifying the text of the detected wake-up word or the first voice corresponding to the wake-up word includes: sending the text of the detected wake-up word or the first voice corresponding to the wake-up word to the server for verification; if a verification result indicating that the verification failed is received from the server, it is determined that the verification failed; if a verification result indicating that the verification passed is received from the server, it is determined that the verification passed, and the second voice is sent to the server; The first processing module is used to send the second voice to the server so that the server performs processing in response to the second voice if the verification is passed, and terminate the wake-up state if the verification is not passed.
8. A wake-up processing device, comprising: A wake-up word receiving module, used to receive a text of a wake-up word or a first voice corresponding to the wake-up word sent from a smart device; A wake-up word verification module is used to verify the text of the wake-up word or the first voice with the registered wake-up word in the user registration information. If the verification passes, the verification result is returned to the smart device so that the smart device can feedback the second voice collected in the wake-up state; otherwise, the verification failure result is returned to the smart device so that the smart device terminates the wake-up state, wherein the wake-up state is the state to which the smart device switches after detecting the wake-up word, and the second voice is the voice synchronously collected by the smart device during the wake-up word verification process on the server.
9. An electronic device, comprising: Memory, used to store programs; A processor, coupled to the memory, is configured to execute the program to perform the method according to any one of claims 1 to 6.
10. A smart speaker, comprising: Microphone, used to collect user voice; A speaker, used to play audio according to control instructions; A monitoring processing module, used to collect the user's first voice through the microphone in the monitoring state, and trigger switching to the wake-up state if a wake-up word is detected; A wake-up processing module, which is used to collect the user's second voice through the microphone in the wake-up state, and send the text of the wake-up word detected in the monitoring state or the first voice corresponding to the wake-up word to the verification end for verification; A verification result processing module, configured to execute processing in response to the second voice when a verification result indicating a verification pass is received from the verification end, and terminate the wake-up state when a verification result indicating a verification fail is received from the verification end; Wherein, the verification end is a server, and the verification result processing module is further used to send the second voice to the server when receiving the verification result of passing the verification returned by the verification end so that the server performs processing in response to the second voice.
