Voice false wake-up processing method and electronic device
By setting the Do Not Disturb mode in home electronic devices and analyzing voice information, the false wake-up problem is solved, and the accuracy and user experience of voice recognition are improved.
Patent Information
- Application Number
- CN202110342159.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-30
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2041-03-30
AI Technical Summary
In the prior art, household electronic devices are prone to false wake-up problems when using voice control functions, which affects the accuracy of voice recognition and causes interference to users during night breaks.
By setting the do not disturb mode in advance, it is determined whether the electronic device is turned on. If it is turned on, the voice information is analyzed and processed according to the preset processing rules to determine whether it is an active wake-up operation of the user, and control the operation of the electronic device based on the analysis results.
It improves the accuracy of voice recognition, reduces the situation of false wake-up, reduces the interference of false wake-up voice to users, and improves the user experience.
Smart Images

Figure CN115148199B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of voice processing, and in particular relates to a method for processing voice false wake-up and an electronic device. Background Art
[0002] With the development of smart home appliance technology, more and more home electronic devices can realize voice control function.
[0003] Currently, when users use voice control functions to control home electronic devices, they can use voice commands to control the electronic devices to perform related actions. For example, they can use the voice command "turn on the water heater" to automatically turn on the heating function of the water heater.
[0004] However, all electronic devices have the problem of false wake-up, which affects the accuracy of voice recognition. After a false wake-up occurs, especially when resting at night, the false wake-up voice will cause great interference to the user, affecting the user's experience. Summary of the invention
[0005] In order to solve the above problems in the prior art, improve the accuracy of speech recognition, and reduce false awakening situations, the present invention provides a speech false awakening processing method and an electronic device.
[0006] In a first aspect, the present invention provides a method for processing false voice wake-up, comprising:
[0007] Get voice information;
[0008] Determine whether the electronic device is in Do Not Disturb mode;
[0009] If it is determined that the do not disturb mode has been turned on, the voice information is analyzed and processed according to a preset processing rule to determine whether it is an active wake-up operation by the user, and an analysis result is obtained;
[0010] The electronic device is controlled to operate according to the analysis result.
[0011] In a possible design, determining whether the electronic device has turned on the do not disturb mode includes:
[0012] Get the current time;
[0013] Whether the do not disturb mode is turned on for the electronic device is determined according to the current time and the preset do not disturb mode on period.
[0014] In a possible design, the electronic device includes a do not disturb mode status indicator, and determining whether the electronic device turns on the do not disturb mode includes:
[0015] It is determined whether the electronic device has turned on the Do Not Disturb mode according to the Do Not Disturb mode status identifier.
[0016] In a possible design, if it is determined that the do not disturb mode has been turned on, the voice information is analyzed and processed according to a preset processing rule to determine whether it is an active wake-up operation by the user, and an analysis result is obtained, including:
[0017] If it is determined that the do not disturb mode has been turned on, determining whether user information can be sensed within a preset range of the electronic device according to a human sensing recognition rule;
[0018] If the user information can be sensed, the voice information is analyzed and processed according to the voiceprint recognition rules to determine whether it is an active wake-up operation by the user and obtain an analysis result.
[0019] In a possible design, controlling the action of the electronic device according to the analysis result includes:
[0020] If the analysis result is a user-initiated wake-up operation, controlling the electronic device action according to the preset Do Not Disturb mode configuration parameters and the voice information;
[0021] Alternatively, if the analysis result is not a user-initiated wake-up operation, the voice information is not responded to.
[0022] In a possible design, after not responding to the voice information if the analysis result is not a user-initiated wake-up operation, the method further includes:
[0023] Record the number of non-user-initiated wake-up operations;
[0024] If the number of non-user-initiated wake-up operations reaches a preset number within the first preset time period, the do not disturb mode is exited.
[0025] In a possible design, if the number of non-user-initiated wake-up operations reaches a preset number within a preset time period, after exiting the do not disturb mode, the method further includes:
[0026] If no new voice information is obtained after the second preset time period, and the preset conditions for turning on the do not disturb mode are met, the do not disturb mode is turned on.
[0027] In a second aspect, the present invention provides a voice false wakeup processing device, comprising:
[0028] An acquisition module, used for acquiring voice information;
[0029] A processing module, used to determine whether the electronic device is in the do not disturb mode;
[0030] The processing module is further configured to analyze and process the voice information according to a preset processing rule if it is determined that the do not disturb mode has been turned on, determine whether it is an active wake-up operation by the user, and obtain an analysis result;
[0031] The processing module is further used to control the action of the electronic device according to the analysis result.
[0032] In a possible design, the processing module is further used for:
[0033] Get the current time;
[0034] Whether the do not disturb mode is turned on for the electronic device is determined according to the current time and the preset do not disturb mode on period.
[0035] In a possible design, the electronic device includes a do not disturb mode status indicator, and the processing module is further used to:
[0036] It is determined whether the electronic device has turned on the Do Not Disturb mode according to the Do Not Disturb mode status identifier.
[0037] In a possible design, the processing module is further used for:
[0038] If it is determined that the do not disturb mode has been turned on, determining whether user information can be sensed within a preset range of the electronic device according to a human sensing recognition rule;
[0039] If the user information can be sensed, the voice information is analyzed and processed according to the voiceprint recognition rules to determine whether it is an active wake-up operation by the user and obtain an analysis result.
[0040] In a possible design, the processing module is further used for:
[0041] If the analysis result is a user-initiated wake-up operation, controlling the electronic device action according to the preset Do Not Disturb mode configuration parameters and the voice information;
[0042] Alternatively, if the analysis result is not a user-initiated wake-up operation, the voice information is not responded to.
[0043] In a possible design, the processing module is further used for:
[0044] Record the number of non-user-initiated wake-up operations;
[0045] If the number of non-user-initiated wake-up operations reaches a preset number within the first preset time period, the do not disturb mode is exited.
[0046] In a possible design, the processing module is further used for:
[0047] If no new voice information is obtained after the second preset time period, and the preset conditions for turning on the do not disturb mode are met, the do not disturb mode is turned on.
[0048] In a third aspect, the present invention provides an electronic device, comprising at least one processor and a memory;
[0049] The memory stores computer-executable instructions;
[0050] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the voice false wake-up processing method described in the first aspect and various possible designs of the first aspect.
[0051] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the voice false wake-up processing method described in the first aspect and various possible designs of the first aspect is implemented.
[0052] In a fifth aspect, the present invention provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the voice false wake-up processing method described in the first aspect and various possible designs of the first aspect.
[0053] It can be understood by those skilled in the art that the present invention provides a method for processing false voice wake-up and an electronic device. After adopting the above scheme, voice information can be obtained first, and then it can be determined whether the electronic device has turned on the do not disturb mode. If it is determined that the electronic device has turned on the do not disturb mode, the voice information is analyzed and processed according to the preset processing rules to determine whether it is a user-initiated wake-up operation, and the analysis result is obtained, and then the electronic device is controlled according to the analysis result. By presetting a do not disturb mode and analyzing and processing the acquired voice information according to the do not disturb mode, the accuracy of voice recognition is improved, the interference caused to the user by the false wake-up voice is reduced, and the user experience is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The preferred implementation of the method for processing false voice wake-up and the electronic device of the present invention will be described below with reference to the accompanying drawings.
[0055] Figure 1 A schematic diagram of the architecture of an application system of the method for processing false voice wake-up provided by an embodiment of the present invention;
[0056] Figure 2 A flowchart of a method for handling false voice wake-up provided by an embodiment of the present invention;
[0057] Figure 3 A flowchart of a method for handling false voice wake-up provided by another embodiment of the present invention;
[0058] Figure 4 A schematic diagram of the structure of a device for processing false voice wake-up provided by an embodiment of the present invention;
[0059] Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. According to the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0062] In the prior art, when a user uses voice control to control household electronic devices (e.g., water heaters, washing machines, smart speakers, dryers, televisions, etc.), the user can use voice commands to control the electronic device to perform related actions. For example, the user can use the voice command "turn on the water heater" to automatically turn on the heating function of the water heater. However, each electronic device has the problem of false awakening, that is, the user did not originally want to wake up the electronic device, but mistakenly woke up the electronic device due to factors such as noise in the surrounding environment. After the false awakening occurs, especially when resting at night, the false awakening voice will cause great interference to the user, and the false awakening can only be avoided by turning off the voice function, which affects the user's normal use of the voice function. Frequent switching of the voice function will also cause trouble to the user, affecting the user's experience.
[0063] Based on the above problems, the present application pre-sets a do not disturb mode and analyzes and processes the acquired voice information according to the do not disturb mode, thereby achieving the technical effect of improving the accuracy of voice recognition, reducing the interference caused to users by false awakening voices, and improving the user experience.
[0064] The preferred technical solutions of the method for processing false voice wake-up and the electronic device of the present invention are described below in combination with specific technical features.
[0065] Figure 1 A schematic diagram of the architecture of an application system of the method for handling false voice wake-up provided by an embodiment of the present invention, such as Figure 1 As shown, the application system may include an electronic device 101, a smart terminal 102, and a cloud server 103. The smart terminal 102 may remotely set the mode of the electronic device 101 through the cloud server 103, that is, may turn on or off the do not disturb mode of the electronic device 101. When the electronic device 101 obtains voice information, it may perform different processing procedures according to whether the do not disturb mode is turned on, and finally realizes the control of the electronic device itself.
[0066] The smart terminal 102 may be a terminal capable of remotely controlling electronic devices, such as a smart phone, a tablet, a wearable device, etc. The electronic device 101 may be a smart home device, such as a water heater, a washing machine, a smart speaker, a dryer, a television, etc.
[0067] In addition, the mode of the electronic device 101 can also be directly set through the voice function or key function of the electronic device 101 itself, that is, the mode of the electronic device 101 can be set without going through the smart terminal 102.
[0068] Figure 2 This is a flow chart of a method for handling voice false wake-up provided in an embodiment of the present invention. The execution subject of this embodiment may be the electronic device 101, specifically, the processor in the electronic device 101, and this embodiment is not particularly limited here. Figure 2 As shown, the method may specifically include:
[0069] S201: Acquire voice information.
[0070] In this embodiment, when the electronic device is powered on, it can detect in real time whether there is voice information in the surrounding environment through the deployed voice sensor. The acquired voice information can include the voice information sent by the user's active intention or the voice information in the surrounding environment.
[0071] In addition, the range of voice sensor detection can be associated with the model of the voice sensor itself. In addition, in order to improve the accuracy of voice sensor detection, the detection range of the voice sensor can be set according to the actual application scenario, which can avoid the problem of not being able to obtain the user's voice information due to the detection range being set too small, and can also avoid the problem of not being able to accurately recognize the user's voice information due to the detection range being set too large, thereby improving the accuracy of voice recognition.
[0072] S202: Determine whether the electronic device is in Do Not Disturb mode.
[0073] In this embodiment, in order to reduce the probability of false wake-up, a do not disturb mode can be pre-set. In the do not disturb mode, the acquired voice information can be analyzed first, and then the electronic device can be further controlled according to the analysis results, thereby improving the accuracy of voice information recognition.
[0074] Furthermore, there are multiple implementation methods for determining whether the electronic device is in the Do Not Disturb mode, which may be:
[0075] In one implementation, the current time may be obtained first, and then it may be determined whether the electronic device turns on the do not disturb mode according to the current time and a preset do not disturb mode on period.
[0076] Specifically, a do not disturb mode on period can be pre-set, during which the electronic device can automatically turn on the do not disturb mode, and then when judging whether the electronic device has turned on the do not disturb mode, the current time can be directly obtained, and then it can be judged whether the current time is in the pre-set do not disturb mode on period, if it is, it is determined that the electronic device has turned on the do not disturb mode, if not, it is determined that the electronic device has not turned on the do not disturb mode. Among them, in order to avoid the user's normal rest, the period corresponding to the night rest time can be set to the do not disturb mode. Or the period corresponding to the baby's rest time can be set to the do not disturb mode. Exemplarily, the period from 10 pm to 6 am can be set to the do not disturb mode.
[0077] In addition, when setting the time period of the do not disturb mode, the time period of the do not disturb mode can be set through the voice control module of the electronic device or between buttons, or the time period corresponding to the do not disturb mode of the electronic device can be remotely set through the smart terminal.
[0078] In another implementation, it may be determined whether the electronic device has turned on the Do Not Disturb mode based on a Do Not Disturb mode status indicator.
[0079] Specifically, it is also possible to determine whether the electronic device has turned on the do not disturb mode by means of a do not disturb mode status identifier. Further, the electronic device may have two states, namely, a do not disturb mode on state and a do not disturb mode off state, and each state corresponds to a state identifier. That is, the do not disturb mode on state corresponds to a do not disturb mode on identifier, and the do not disturb mode off state corresponds to a do not disturb mode off identifier, and the identifier can be used to directly determine whether the electronic device has turned on the do not disturb mode.
[0080] S203: If it is determined that the Do Not Disturb mode is turned on, the voice information is analyzed and processed according to a preset processing rule to determine whether it is an active wake-up operation by the user, and an analysis result is obtained.
[0081] In this embodiment, after determining whether the electronic device has the do not disturb mode turned on, two results can be obtained, one is to determine that the electronic device has the do not disturb mode turned on, and the other is to determine that the electronic device has not the do not disturb mode turned on. If it is determined that the electronic device has not the do not disturb mode turned on, the acquired voice information can be analyzed according to the normal processing flow, and the electronic device can be controlled to perform actions according to the analysis result of the voice information.
[0082] In addition, after determining that the electronic device has turned on the do not disturb mode, the voice information can be analyzed and processed according to preset processing rules to determine whether it is an active wake-up operation by the user and obtain an analysis result.
[0083] Furthermore, if it is determined that the Do Not Disturb mode has been turned on, the voice information is analyzed and processed according to a preset processing rule to determine whether it is an active wake-up operation by the user, and the analysis result is obtained, which may specifically include:
[0084] If it is determined that the Do Not Disturb mode is turned on, it is determined whether the user information can be sensed within the preset range of the electronic device based on the human sensor recognition rules.
[0085] If the user information can be sensed, the voice information is analyzed and processed according to the voiceprint recognition rules to determine whether it is an active wake-up operation by the user and obtain the analysis result.
[0086] Specifically, after determining that the Do Not Disturb mode has been turned on, in order to determine whether the acquired voice information is an active wake-up operation by the user, it can first be determined whether the user information can be sensed within the preset range of the electronic device according to the human sensor recognition rules, that is, whether there is a user around the electronic device. After sensing that there is a user around the electronic device, the voice information can be further analyzed and processed according to the voiceprint recognition rules to determine whether it is an active wake-up operation by the user and obtain an analysis result.
[0087] In addition, when it is determined according to the human sensor recognition rule that no user information can be sensed within the preset range of the electronic device, it indicates that there is no user around the electronic device, and further indicates that the possibility of the user's active wake-up operation is very small. Therefore, it can be directly determined as a non-user-initiated wake-up operation, and the subsequent processing process is no longer executed.
[0088] In addition, the voice information can be analyzed and processed according to the voiceprint recognition rules first, and then the human sense recognition rules can be used to determine whether the user information can be sensed. That is, the human sense recognition rules and voiceprint recognition rules can be combined to determine whether it is a user-initiated wake-up operation.
[0089] In a possible implementation, a do not disturb mode model may be pre-trained, and then the do not disturb mode model may be used to determine whether the user actively wakes up the operation. The training may be performed based on a neural network model.
[0090] Among them, the specific recognition methods of the human perception recognition rules and the voiceprint recognition rules can be implemented using existing technologies, which will not be discussed in detail here.
[0091] S204: Controlling the actions of the electronic device according to the analysis results.
[0092] In this embodiment, two analysis results can be obtained, one is a user-initiated wake-up operation, and the other is a non-user-initiated wake-up operation. The electronic device can then be controlled to perform different actions according to different analysis results.
[0093] Furthermore, controlling the actions of the electronic device according to the analysis results may specifically include:
[0094] If the analysis result is that the user actively wakes up the operation, the electronic device action is controlled according to the preset Do Not Disturb mode configuration parameters and voice information.
[0095] Specifically, if the analysis result is that the user actively wakes up the operation, it indicates that the electronic device needs to be controlled to respond to the user. In the process of controlling the electronic device to respond to the user, the electronic device action can be controlled according to the preset do not disturb mode configuration parameters and voice information.
[0096] Furthermore, the configuration parameters of the Do Not Disturb mode can be pre-set according to the actual application scenario, and can be set as a unified parameter, that is, no matter what kind of voice information is received, the electronic device action is controlled according to the unified configuration parameters. Exemplarily, the configuration parameters of the Do Not Disturb mode can be uniformly configured as a reply voice "Now in Do Not Disturb mode, are you sure to control the electronic device action?", that is, the user needs to confirm twice, and after receiving the user's affirmative reply, the electronic device action is controlled. If the user does not receive a second confirmation, the electronic device will not be controlled to continue to act.
[0097] In addition, the Do Not Disturb mode configuration parameters can also be set to control the actions of the electronic device based only on voice information without voice broadcast or reply, or to reduce the volume of voice broadcast or reply to avoid affecting the user's rest.
[0098] If the analysis result is that the user did not initiate the wake-up operation, the voice message will not be responded to.
[0099] Specifically, if it is determined that the analysis result is not a user-initiated wake-up operation, it means that there is no need to control the electronic device to respond to the voice information, and the voice information can be ignored.
[0100] From the above description, it can be seen that after adopting the above scheme, voice information can be obtained first, and then it can be determined whether the electronic device has turned on the do not disturb mode. If it is determined that the electronic device has turned on the do not disturb mode, the voice information is analyzed and processed according to the preset processing rules to determine whether it is an active wake-up operation by the user, and the analysis results are obtained, and then the electronic device action is controlled according to the analysis results. By pre-setting a do not disturb mode and analyzing and processing the acquired voice information according to the do not disturb mode, the accuracy of voice recognition is improved, the interference caused to the user by the voice of false awakening is reduced, and the user experience is improved.
[0101] according to Figure 2 The present specification also provides some specific implementation plans of the method, which are described below.
[0102] In addition, in another embodiment, if the analysis result is not a user-initiated wake-up operation, then after not responding to the voice information, the method may further include:
[0103] Records the number of non-user-initiated wake-up operations.
[0104] If the number of non-user-initiated wake-up operations reaches the preset number within the first preset time period, the Do Not Disturb mode is exited.
[0105] In this embodiment, after determining that the acquired voice information is a non-user-initiated wake-up operation, in order to avoid misoperation, the number of non-user-initiated wake-up operations can be recorded. When the number of non-user-initiated wake-up operations within the first preset time reaches the pre-stored number, the Do Not Disturb mode is exited and the normal processing flow is entered, thereby improving the accuracy of voice recognition. Among them, the first preset time can be customized according to the actual application scenario. For example, the first preset time can be any value within 3-10 minutes. The preset number of times can also be customized according to the actual application scenario. For example, the preset number of times can be any value between 3 and 5 times.
[0106] In addition, in another embodiment, if the number of non-user-initiated wake-up operations reaches a preset number within a preset time period, after exiting the do not disturb mode, the following may also be included:
[0107] If no new voice information is obtained after the second preset time period, and the preset conditions for turning on the do not disturb mode are met, the do not disturb mode is turned on.
[0108] In this embodiment, after exiting the Do Not Disturb mode, in order to avoid affecting the user's rest, the Do Not Disturb mode can be turned on after no new voice information is obtained after the second preset time. The second preset time can also be customized according to the actual application scenario, and can be the same as the first preset time, or different from the first preset time. Exemplarily, the second preset time can be any value within 10-15 minutes.
[0109] Further, before turning on the do not disturb mode, it can be determined whether the preset conditions for turning on the do not disturb mode are met. Exemplarily, it can be determined whether it is in the turn-on time period of the do not disturb mode.
[0110] Figure 3 A flow chart of a method for processing false voice wake-up provided by another embodiment of the present invention is shown as follows: Figure 3 As shown, in this embodiment, the do not disturb mode of the electronic device can be configured through the smart terminal and the cloud server, the conditions for opening the do not disturb mode can be determined, and the electronic device can automatically open the do not disturb mode when the conditions for opening the do not disturb mode are met. Then, after receiving the voice wake-up and operation, it can be determined whether the do not disturb mode of the electronic device has been turned on. If not, the voice information obtained is responded to according to the normal voice. If the do not disturb mode has been turned on, it can be determined according to the voiceprint recognition and human body feeling whether the obtained voice information is a user-initiated wake-up operation. If so, the electronic device is controlled to perform the corresponding action according to the configuration parameters of the do not disturb mode. If not, the number of non-user-initiated wake-up operations is recorded, and when the preset number is reached within the first preset time, the do not disturb mode is exited. Then, when no new voice information is obtained within the second preset time, the do not disturb mode is re-entered, thereby improving the accuracy of voice recognition and reducing the probability of false wake-up.
[0111] For the detailed functional description of each module in this embodiment, please refer to the description in the embodiment of the method, which will not be elaborated here.
[0112] Figure 4 A schematic diagram of the structure of a voice false wake-up processing device provided in an embodiment of the present invention, such as Figure 4 As shown, in this embodiment, the device may specifically include:
[0113] The acquisition module 401 is used to acquire voice information.
[0114] The processing module 402 is used to determine whether the electronic device is in the Do Not Disturb mode.
[0115] In this embodiment, in one implementation, the processing module is further used to:
[0116] The current time is obtained, and the electronic device is judged whether the do not disturb mode is turned on according to the current time and the preset do not disturb mode on period.
[0117] In another implementation, the electronic device includes a do not disturb mode status indicator, and the processing module is further used to:
[0118] It is determined whether the electronic device has turned on the Do Not Disturb mode according to the Do Not Disturb mode status identifier.
[0119] The processing module 402 is further used to analyze and process the voice information according to a preset processing rule if it is determined that the do not disturb mode has been turned on, to determine whether it is an active wake-up operation by the user, and to obtain an analysis result.
[0120] In this embodiment, the processing module is further used for:
[0121] If it is determined that the do not disturb mode has been turned on, it is determined whether user information can be sensed within a preset range of the electronic device according to human sensing recognition rules.
[0122] If the user information can be sensed, the voice information is analyzed and processed according to the voiceprint recognition rules to determine whether it is an active wake-up operation by the user and obtain an analysis result.
[0123] The processing module 402 is further configured to control the action of the electronic device according to the analysis result.
[0124] In this embodiment, the processing module is further used for:
[0125] If the analysis result is an active wake-up operation by the user, the action of the electronic device is controlled according to the preset do not disturb mode configuration parameters and the voice information.
[0126] Alternatively, if the analysis result is not a user-initiated wake-up operation, the voice information is not responded to.
[0127] In addition, in another embodiment, the processing module 402 is further configured to:
[0128] The number of non-user-initiated wake-up operations is recorded. If the number of non-user-initiated wake-up operations reaches a preset number within a first preset time period, the do not disturb mode is exited.
[0129] In addition, in another embodiment, the processing module 402 is further configured to:
[0130] If no new voice information is obtained after the second preset time period, and the preset conditions for turning on the do not disturb mode are met, the do not disturb mode is turned on.
[0131] Figure 5A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention is shown in FIG. Figure 5 As shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. The electronic device 50 also includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus 504.
[0132] In the specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that at least one processor 501 executes the voice false wake-up processing method executed by the above electronic device.
[0133] The specific implementation process of the processor 501 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0134] In the above Figure 5 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0135] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage.
[0136] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0137] An embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the voice false wake-up processing method in the above method embodiment is implemented.
[0138] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile 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. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0139] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0140] 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.
[0141] An embodiment of the present invention provides a computer program product, including a computer program. When the computer program is executed by a processor, the method for processing false voice wakeup in the above method embodiment is implemented.
[0142] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for processing false voice wake-up, characterized in that: include: Get voice information; Determine whether the electronic device is in Do Not Disturb mode; If it is determined that the do not disturb mode has been turned on, determining whether user information can be sensed within a preset range of the electronic device according to a human sensing recognition rule; If the user information can be sensed, the voice information is analyzed and processed according to the voiceprint recognition rules to determine whether it is an active wake-up operation by the user, and obtain an analysis result; Controlling the action of the electronic device according to the analysis result; If the user information cannot be sensed, it is determined to be a non-user-initiated wake-up operation, and the voice information is not responded to.
2. The method according to claim 1, characterized in that: The determining whether the electronic device is in the do not disturb mode includes: Get the current time; Whether the do not disturb mode is turned on for the electronic device is determined according to the current time and the preset do not disturb mode on period.
3. The method according to claim 1, characterized in that The electronic device includes a do not disturb mode status indicator, and the step of determining whether the do not disturb mode is turned on in the electronic device includes: It is determined whether the electronic device has turned on the Do Not Disturb mode according to the Do Not Disturb mode status identifier.
4. The method according to any one of claims 1 to 3, characterized in that: The controlling the action of the electronic device according to the analysis result comprises: If the analysis result is a user-initiated wake-up operation, controlling the electronic device action according to the preset Do Not Disturb mode configuration parameters and the voice information; Alternatively, if the analysis result is not a user-initiated wake-up operation, the voice information is not responded to.
5. The method according to claim 4, characterized in that After not responding to the voice information if the analysis result is not a user-initiated wake-up operation, the method further includes: Record the number of non-user-initiated wake-up operations; If the number of non-user-initiated wake-up operations reaches a preset number within the first preset time period, the do not disturb mode is exited.
6. The method according to claim 5, characterized in that If the number of non-user-initiated wake-up operations reaches a preset number within the first preset time, after exiting the do not disturb mode, the method further includes: If no new voice information is obtained after the second preset time period, and the preset conditions for turning on the do not disturb mode are met, the do not disturb mode is turned on.
7. An electronic device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor implements the voice false wake-up processing method according to any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the processor executes the computer-executable instructions, the method for processing false voice wake-up according to any one of claims 1 to 6 is implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for processing voice false wakeup according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Voice false wake-up avoiding method and electronic equipment
CN111754989A