CN112201242A - Method and device for waking up equipment, electronic equipment and storage medium - Google Patents

Method and device for waking up equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN112201242A
CN112201242A CN202011052496.9A CN202011052496A CN112201242A CN 112201242 A CN112201242 A CN 112201242A CN 202011052496 A CN202011052496 A CN 202011052496A CN 112201242 A CN112201242 A CN 112201242A
Authority
CN
China
Prior art keywords
voice
response
electronic equipment
broadcast message
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011052496.9A
Other languages
Chinese (zh)
Inventor
吴哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011052496.9A priority Critical patent/CN112201242A/en
Publication of CN112201242A publication Critical patent/CN112201242A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Abstract

The embodiment of the disclosure discloses a method and a device for waking up equipment, electronic equipment and a storage medium, wherein the method comprises the following steps: detecting a wake-up voice; in response to detecting the wake-up voice, starting a Bluetooth scanning function; scanning, based on the Bluetooth scanning function, broadcast messages sent based on the detection of the wake-up voice; wherein, the broadcast message at least carries a response priority; and determining whether the electronic equipment starts a voice signal recognition function responding to the voice instruction or not based on the response priority carried by the broadcast message and the response priority of the electronic equipment. In the embodiment of the disclosure, after the wake-up voice is detected, the electronic device with the higher response priority can be preferentially enabled to start the voice signal recognition function responding to the voice instruction, so that the situation that the electronic device with the lower response priority, which detects the wake-up voice, also starts the voice signal recognition function responding to the voice instruction is reduced, and the experience of the user in using the electronic device is improved.

Description

Method and device for waking up equipment, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for waking up a device, an electronic device, and a storage medium.
Background
At present, with the continuous development of intelligent voice recognition technology, the application of artificial intelligence awakening function is more and more extensive. For example, a smart speaker, a smart television, a smart floor sweeping robot, etc. in a smart home can be awakened through an artificial intelligence awakening function. The wide application of the artificial intelligence awakening function brings great convenience to users.
However, as the number of voice devices used in a home increases, when a user wakes up a certain voice device by waking up voice, there is a situation that a plurality of voice devices are woken up at the same time, which brings a bad user experience to the user.
Disclosure of Invention
The disclosure provides a method and a device for waking up a device, an electronic device and a storage medium.
According to a first aspect of the present disclosure, there is provided a method for waking up a device, wherein the method is applied to an electronic device, and the method includes:
detecting a wake-up voice;
in response to detecting the wake-up voice, starting a Bluetooth scanning function;
scanning, based on the Bluetooth scanning function, broadcast messages sent based on the detection of the wake-up voice; wherein, the broadcast message at least carries a response priority;
and determining whether the electronic equipment starts a voice signal recognition function responding to the voice instruction or not based on the response priority carried by the broadcast message and the response priority of the electronic equipment.
In one embodiment, the method further comprises:
in response to detecting the wake-up voice, sending the broadcast message based on a Bluetooth protocol.
In one embodiment, the determining, based on the response priority carried in the broadcast message and the response priority of the electronic device, whether the electronic device turns on a voice signal recognition function responding to a voice instruction includes:
in response to that the response priority carried by at least one broadcast message received in a preset time period is higher than the response priority of the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
responding to the response priority carried by each broadcast message received in a preset time period and lower than the response priority of the electronic equipment, and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and in response to that the response priority carried by each broadcast message received in a preset time period is equal to the response priority of the electronic equipment, determining whether the electronic equipment starts a voice signal recognition function responding to a voice instruction according to the volume of the detected awakening voice carried by each broadcast message and the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the determining, according to the volume of the detected wake-up voice carried by each broadcast message and the volume of the wake-up voice detected by the electronic device, whether the electronic device responds to a voice command includes:
in response to that the volume of the detected awakening voice carried by at least one broadcast message is larger than the volume of the awakening voice detected by the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction in response to that the volume of the detected awakening voice carried by each broadcast message is smaller than the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the method further comprises:
and in response to the fact that the broadcast message is not scanned in the preset time period, determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction.
According to a second aspect of the present disclosure, an apparatus for waking up a device is provided, where the apparatus is applied to an electronic device, and the apparatus includes a detection module, a starting module, a scanning module, and a determination module; wherein the content of the first and second substances,
the detection module is used for detecting the awakening voice;
the starting module is used for: in response to detecting the wake-up voice, starting a Bluetooth scanning function;
the scanning module is used for scanning broadcast messages sent based on the detected awakening voice based on the Bluetooth scanning function; wherein, the broadcast message at least carries a response priority;
the determining module is configured to determine whether the electronic device starts a voice signal recognition function for responding to a voice instruction based on the response priority carried in the broadcast message and the response priority of the electronic device.
In one embodiment, the apparatus further comprises a sending module; wherein the content of the first and second substances,
the sending module is configured to: in response to detecting the wake-up voice, sending the broadcast message based on a Bluetooth protocol.
In one embodiment, the determining module is further configured to:
in response to that the response priority carried by at least one broadcast message received in a preset time period is higher than the response priority of the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
responding to the response priority carried by each broadcast message received in a preset time period and lower than the response priority of the electronic equipment, and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and in response to that the response priority carried by each broadcast message received in a preset time period is equal to the response priority of the electronic equipment, determining whether the electronic equipment starts a voice signal recognition function responding to a voice instruction according to the volume of the detected awakening voice carried by each broadcast message and the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the determining module is further configured to:
in response to that the volume of the detected awakening voice carried by at least one broadcast message is larger than the volume of the awakening voice detected by the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction in response to that the volume of the detected awakening voice carried by each broadcast message is smaller than the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the determining module is further configured to:
and in response to the fact that the broadcast message is not scanned in the preset time period, determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction.
According to a third aspect of the embodiments of the present disclosure, there is also provided a communication apparatus including:
an antenna;
a memory;
and the processor is respectively connected with the antenna and the memory, is used for controlling the antenna to transmit and receive wireless signals by executing the executable program stored in the memory, and can execute the steps of the method provided by any one of the technical schemes.
According to a fourth aspect of the embodiments of the present disclosure, there is also provided a non-transitory computer-readable storage medium storing an executable program, wherein the executable program, when executed by a processor, implements the steps of the method provided in any of the foregoing technical solutions.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, the electronic device wakes up the voice by detecting; in response to detecting the wake-up voice, starting a Bluetooth scanning function; scanning, based on the Bluetooth scanning function, broadcast messages sent based on the detection of the wake-up voice; wherein, the broadcast message at least carries a response priority. In this way, the electronic device may scan for a broadcast message transmitted based on the detection of the wake-up voice, and may determine a response priority of the electronic device transmitting the broadcast message based on a response priority carried in the broadcast message. And the electronic equipment determines whether to start a voice signal recognition function responding to the voice instruction or not based on the response priority carried by the broadcast message and the response priority of the electronic equipment. Therefore, compared with the mode that the electronic equipment starts the voice signal recognition function responding to the voice instruction as long as the awakening voice is detected, the electronic equipment with high response priority can be preferentially made to start the voice signal recognition function responding to the voice instruction, the situation that the electronic equipment with low priority and the electronic equipment with the awakening voice also start the voice signal recognition function responding to the voice instruction is reduced, and therefore when only one electronic equipment with high response priority needs to be awakened, a plurality of electronic equipment which are around and detect the awakening voice cannot be awakened simultaneously, and the experience of using the electronic equipment by a user is improved. In the embodiment of the present disclosure, wireless communication is performed based on the bluetooth scanning function to wake up the electronic device, and compared with wireless communication performed based on a wireless fidelity (wifi) function between the electronic devices in the same local area network, only a wireless communication mode for waking up the electronic devices accessed to the same local area network can be realized, all the electronic devices in a set spatial range can be scanned based on the bluetooth scanning function, and nearby wake-up of the electronic devices in the set spatial range can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram illustrating a smart voice wake-up scenario in a smart home, according to an example embodiment.
Fig. 2 is a flow chart illustrating a method of waking up a device according to an example embodiment.
FIG. 3 is a schematic diagram illustrating a cycle according to an exemplary embodiment.
Fig. 4 is a flow chart illustrating a method of waking up a device according to an example embodiment.
Fig. 5 is a flow chart illustrating a method of waking up a device according to an example embodiment.
Fig. 6 is a flow chart illustrating a method of waking up a device according to an example embodiment.
Fig. 7 is a flow chart illustrating a method of waking up a device in accordance with an example embodiment.
FIG. 8 is a block diagram illustrating a control device according to an exemplary embodiment.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
To facilitate understanding of any embodiment of the present disclosure, first, an intelligent voice wake-up scenario in an intelligent home is taken as an example for explanation.
Referring to fig. 1, in the smart voice wake-up scenario of the smart home, the electronic device with a voice recognition function is provided, which includes: a television 01, a sound box 02 and a sweeping robot 03. Here, the above-mentioned 3 electronic devices are all disposed in one space, for example, a living room. The user can wake up the electronic equipment with the voice recognition function by sending out the wake-up voice. For example, the user may wake up the electronic device having a voice recognition function by a wake-up voice calling the wake-up word "xxx". Here, waking up the electronic device having the voice recognition function may be activating a voice signal recognition function of the electronic device in response to a voice instruction. Here, the voice signal recognition function in response to the voice instruction may be a function of executing an action indicated by the voice instruction after receiving the voice instruction. For example, the voice signal recognition function of the television set in response to the voice command may be a function of performing "zapping" after receiving the voice command of "zapping".
In one embodiment, when the volume of the wake-up voice received by the electronic device with voice recognition function is greater than the set volume threshold, the electronic device with voice recognition function starts the voice signal recognition function responding to the voice command. And when the volume of the awakening voice received by the electronic equipment with the voice recognition function is smaller than a set volume threshold, the electronic equipment with the voice recognition function does not start the voice signal recognition function responding to the voice instruction.
In one embodiment, the user needs to turn on the tv 01 in the living room, the user calls the "play" wake-up word, and after receiving the "play" wake-up voice, the tv 01, the speaker 02 and the floor sweeping robot 03 in the living room determine whether the volume of the wake-up voice is greater than the set volume threshold. In one embodiment, if the volume of the wake-up voice received by the television 01 is greater than the volume threshold set by the television 01, and the volumes of the wake-up voices received by the sound box 02 and the floor-sweeping robot 03 are less than the respective set volume thresholds, the television 01 will start the voice signal recognition function responding to the voice instruction, and the sound box 02 and the floor-sweeping robot 03 will not start the voice signal recognition function responding to the voice instruction. After the voice signal recognition function in response to the voice command is turned on, if the television set 01 receives a voice command of "zapping", the operation of "zapping" is executed. Thereby realizing voice control of the television set 01. It should be noted that, after the voice signal recognition function of the television 01 responding to the voice instruction is turned on, if the volume of the voice signal received by the television 01 and related to the "voice instruction" is less than the volume threshold set by the television 01, the television 01 will not execute the operation indicated by the voice instruction. For example, when the voice signal of the voice instruction "zap" is smaller than the volume threshold set by the television set 01, even if the television set 01 receives the voice signal instruction of "zap", the operation of "zapping" is not performed. Here, the voice signal of the voice instruction may be a voice signal generated when the user calls out a keyword for issuing a voice instruction, for example, a voice signal generated when the user calls out "zap", "tune", or "rotate" to issue a voice instruction.
Here, since the voice signal recognition function of the sound box 02 and the floor sweeping robot 03 is not turned on in response to the instruction, the operation instructed by the voice instruction is not performed even if the voice instruction is received. For example, the sound box 02 does not perform the tuning operation indicated by the voice instruction of "tuning"; the sweeping robot 03 does not perform the rotation operation indicated by the voice instruction of "rotation".
Here, when the volumes of the wake-up voices received by the television 01, the speaker 02 and the floor-sweeping robot 03 are all greater than the respective set volume thresholds, the voice signal recognition functions of the television 01, the speaker 02 and the floor-sweeping robot 03 responding to the voice command may be simultaneously activated.
As shown in fig. 2, an embodiment of the present disclosure provides a flowchart of a method for waking up a device, which is applied to an electronic device as shown in fig. 1, where the method includes the following steps:
step 21, detecting a wake-up voice;
step 22, responding to the detected awakening voice, and starting a Bluetooth scanning function;
step 23, scanning a broadcast message sent based on the detected awakening voice based on the Bluetooth scanning function; wherein, the broadcast message at least carries a response priority;
and 24, determining whether the electronic equipment starts a voice signal recognition function responding to the voice command or not based on the response priority carried by the broadcast message and the response priority of the electronic equipment.
In one embodiment, the method for waking up the device is applied to the electronic device. The electronic device may be various types of mobile devices or stationary devices. For example, the electronic device may be a smart wearable terminal, a smart home terminal, an industrial sensing device, a medical device, and/or the like.
In one embodiment, the wake-up signal may be a voice signal emitted by a user for controlling the electronic device. Here, the wake-up signal may be a voice signal having a preset characteristic. For example, the wake-up signal may be a voice signal containing the keyword "xxx". Here, the preset feature of the wake-up signal may be stored in the electronic device, and when the electronic device receives the voice signal, the voice signal is compared with a voice signal corresponding to the preset feature stored in the electronic device to determine whether the voice signal is the wake-up signal. That is, when the electronic device receives a voice signal, it first determines whether the voice signal is a voice signal conforming to a predetermined characteristic, and only when the voice signal is a voice signal conforming to the predetermined characteristic, a response operation is performed with respect to the voice signal. Here, the response operation includes determining whether or not the volume of the voice signal is larger than a set volume threshold value, and the like.
In one embodiment, the operating states of the electronic device include a sleep state and an active state. When the electronic device is in a sleep state, the function of receiving the voice signal is turned on, and the functions other than the function of receiving the voice signal are turned off. For example, a function of receiving a voice signal is turned on, and a bluetooth scan function, a broadcast function, and the like are turned off. The electronic device is only woken up by the wake-up voice with the preset characteristics, and the functions except the function of receiving the voice signal can be turned on. At this time, the electronic device enters an operating state, and the electronic device entering the operating state may respond to an operation instructed by the execution of the voice instruction. Therefore, the electric energy of the electronic equipment is saved, and the standby time of the electronic equipment is prolonged.
In one embodiment, the wake-up tone may be detected periodically. Referring to fig. 3, the period can be divided into a sleep period and a running period. When the electronic equipment is in the dormant period, the electronic equipment stops detecting the awakening voice; and when the electronic equipment is in the operation period, the electronic equipment detects the awakening voice. Here, the ratio of the duration of the sleep period to the duration of the operation period may be determined according to the frequency of waking up the electronic device. When the frequency of the electronic device being awakened is greater than the frequency threshold, the time length ratio of the time length of the sleep period to the time length of the operation period may be set to be less than the time length ratio threshold. When the frequency of waking up the electronic device is less than the frequency threshold, the time length ratio of the time length of the sleep period to the time length of the operation period may be set to be greater than the time length ratio threshold. Therefore, the electronic equipment can be ensured to work in a low-energy consumption state, and the electric energy is saved.
In one embodiment, the wake-up signal is determined to be detected in response to the electronic device receiving a voice signal and the voice signal having a predetermined characteristic. In one embodiment, the voice signal having the predetermined characteristic may be a voice signal generated by the user calling out a keyword of "xxx" and/or a volume of the voice signal is greater than a set volume threshold. For example, if the voice signal received by the television is a voice signal generated by calling out the keyword "play" by the user and the volume of the voice signal is greater than the volume threshold a value set by the television, the electronic device determines that the wake-up signal is detected.
In one embodiment, the bluetooth scan function is enabled when the electronic device detects a voice signal having a predetermined characteristic. When the electronic device does not detect a voice signal with a predetermined characteristic, the bluetooth scanning function is not turned on. Here, the bluetooth scan function of the electronic device is a function of scanning a signal based on a bluetooth low energy protocol. Here, the bluetooth scanning function may be to scan a voice signal carrying a voice command issued by a user. Here, the voice instruction may be a control instruction instructing the electronic device to perform a related operation. For example, the voice instruction may be a "zapping" instruction instructing the television set to perform an operation of "zapping"; the voice instruction can also be a 'rotation' instruction for instructing the sweeping robot, and the 'rotation' instruction is used for instructing the sweeping robot to execute the 'rotation' operation; the voice instruction may also be an "up volume" instruction that instructs the loudspeaker to perform an "up volume" operation.
In one embodiment, the bluetooth scanning function is periodically performed after being turned on. Referring again to fig. 3, the cycle may be divided into a sleep period and a run period. When the electronic equipment is in the dormant period, the electronic equipment stops scanning operation; when the electronic equipment is in the operation period, the electronic equipment executes scanning operation. Here, the ratio of the duration of the sleep period to the duration of the operation period may be determined according to the frequency of receiving voice commands of the electronic device. When the frequency of the electronic device receiving the voice command is greater than the frequency threshold, the time length ratio of the duration of the sleep period to the duration of the operation period may be set to be less than the time length ratio threshold. When the frequency of the electronic device receiving the voice command is less than the frequency threshold, the time length ratio of the duration of the sleep period to the duration of the operation period may be set to be greater than the time length ratio threshold. Therefore, the electronic equipment can be ensured to work in a low-energy consumption state, and the electric energy is saved.
In one embodiment, the broadcast message may be transmitted by other devices in the same space than the electronic device. For example, taking fig. 1 as an example, the electronic device is a television 01, and the broadcast message may be sent by a sound box 02 in a living room and a sweeping robot 03.
In one embodiment, the broadcast message may carry the following information: the device type of the electronic device that sent the broadcast message, the response priority of the electronic device, and the volume at which the electronic device received the wake-up voice. Here, the electronic device type is used to identify the kind of electronic device that transmits the broadcast message. Here, the response priority of the electronic device may be a priority of turning on a voice signal recognition function in response to a voice instruction. For example, the response priority of the first electronic device is higher than the response priority of the second electronic device, and when the first electronic device and the second electronic device simultaneously detect a wake-up voice, the first electronic device preferentially turns on a voice signal recognition function in response to a voice command.
In one embodiment, the broadcast message only carries the device type of the electronic device and the volume at which the wake-up voice is received. Here, the response priority of the electronic device may be implicitly indicated according to the device type of the electronic device. That is, after receiving the broadcast message, the electronic device may determine the response priority of the electronic device that transmits the broadcast message according to the device type of the electronic device carried by the electronic device. For example, if the device type of the electronic device is the first type, the response priority of the electronic device is the first priority.
In one embodiment, the response priority may be determined based on the number of times the electronic device is awakened. The greater the number of times the electronic device is awakened, the higher the response priority of the electronic device. The fewer times the electronic device is awakened, the lower the response priority of the electronic device. For example, the number of times that each electronic device is awakened in a history period may be counted, in which the electronic device that is awakened more often has a high response priority and the electronic device that is awakened less often has a low response priority in the history period. Therefore, the response priority can flexibly change along with the awakening times of the electronic equipment to adapt to the awakening requirement, so that the electronic equipment has higher accuracy and lower false awakening rate when being awakened.
In one embodiment, the response priority may be determined according to a number of times the electronic device was awakened within a set period of time prior to the current time. The more times the electronic device is awakened during the period, the higher the response priority of the electronic device. The fewer times the electronic device is awakened, the lower the response priority of the electronic device.
In one embodiment, the electronic device wakes up at different frequencies during different periods of time, and different response priorities may be set for the electronic device during the different periods of time. For example, a desk lamp with voice wake-up function may set different response priorities in a first time period corresponding to the day and a second time period corresponding to the evening. And a second response priority level during the first period of time, wherein the first response priority level is higher than the second response priority level. Therefore, the response priority can flexibly change along with the working time interval of the electronic equipment to adapt to the awakened requirement, so that the electronic equipment has higher accuracy and lower false awakening rate when being awakened.
In an embodiment, the electronic device wakes up at different frequencies in different scenes, and different corresponding priorities can be set for the electronic device in different scenes. For example, in a first scenario corresponding to a bedroom and a second scenario corresponding to a home theater, a speaker with voice wake-up functionality may set different response priorities. And setting to have a second response priority in the first scene and a first response priority in the second scene, wherein the first response priority is higher than the second response priority. Therefore, the response priority can flexibly change along with the working scene of the electronic equipment to adapt to the awakened requirement, so that the electronic equipment has higher accuracy and lower false awakening rate when being awakened.
In one embodiment, a wake-up voice is determined to be detected when a voice signal is received and the voice signal has a predetermined characteristic. The device sends a broadcast message after detecting the wake-up voice. For example, the television 01, the sound box 02 and the sweeping robot 03 in the living room detect the wake-up voice at the same time, and the sweeping robot 03 and the sound box 02 send a broadcast message to the television 01 after receiving the wake-up voice.
In one embodiment, an electronic device may receive broadcast messages sent by other multiple electronic devices. For example, the television 01 in the living room may receive the broadcast message sent by the sound box 02 and the broadcast message sent by the sweeping robot 03.
In one embodiment, the electronic device obtains the response priority from the broadcast message after receiving the broadcast message. Here, the response priority is a response priority of the transmitting device that transmits the broadcast message.
In one embodiment, in response to the response priority carried by the broadcast message being higher than the response priority of the electronic device, it is determined that the electronic device does not turn on a voice signal recognition function in response to a voice instruction.
In one embodiment, in response to that the response priority carried by each broadcast message is lower than the response priority of the electronic device, it is determined that the electronic device starts a voice signal recognition function responding to a voice command.
In one embodiment, in response to that the response priority carried by each broadcast message is equal to the response priority of the electronic device, it is determined whether the electronic device starts a voice signal recognition function responding to a voice command according to the volume of the detected wake-up voice carried by each broadcast message and the volume of the wake-up voice detected by the electronic device. In one embodiment, when the volume of the detected wake-up voice carried by each broadcast message is greater than the volume of the wake-up voice detected by the electronic device, a voice signal recognition function responding to a voice instruction is not started; and when the volume of the detected awakening voice carried by each broadcast message is smaller than the volume of the awakening voice detected by the electronic equipment, starting a voice signal recognition function responding to a voice instruction.
In one embodiment, after receiving a broadcast message, an electronic device may calculate the number of broadcast messages with response priorities higher than the response priority of the electronic device, which are carried in the broadcast message. When the number is larger than or equal to a number threshold value, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction; and when the number is smaller than the number threshold value, determining that the electronic equipment starts a voice signal recognition function responding to the voice instruction. For example, the electronic device is a television, and a fan with a voice recognition function, an air conditioner, a television, a sound box and a floor sweeping robot are arranged in the living room. The priority is in the order of a fan, an air conditioner, a television, a sound box and a sweeping robot from high to low.
If the number threshold is 2, after the fan, the air conditioner, the television, the sound box and the sweeping robot receive the awakening voice, the fan and the air conditioner start a voice signal recognition function responding to the voice instruction because the response priority of the fan and the air conditioner is greater than the response priority of the television, and the television does not start the voice signal recognition function responding to the voice instruction.
If the number threshold is 3, after the fan, the air conditioner, the television, the sound box and the sweeping robot receive the awakening voice, the fan, the air conditioner and the television can start a voice signal recognition function responding to the voice instruction as only the response priority of the fan and the air conditioner is greater than the response priority of the television.
In one embodiment, the voice signal recognition function responsive to the voice instruction may be that the electronic device performs an operation indicated by the voice instruction after receiving the voice instruction. For example, after receiving the voice of the "power off" keyword called out by the user, the electronic device performs the power off operation. In one embodiment, after the voice signal recognition function responding to the voice command is turned on, the electronic device executes the operation indicated by the voice command after receiving the voice command. When the voice signal recognition function responding to the voice command is not started, the electronic equipment cannot execute the operation indicated by the voice command after receiving the voice command.
In the embodiment of the disclosure, the electronic device wakes up the voice by detecting; in response to detecting the wake-up voice, starting a Bluetooth scanning function; scanning, based on the Bluetooth scanning function, broadcast messages sent based on the detection of the wake-up voice; wherein, the broadcast message at least carries a response priority; in this way, the electronic device may scan for a broadcast message transmitted based on the detection of the wake-up voice, and may determine a response priority of a transmitting device that transmits the broadcast message based on a response priority carried in the broadcast message. And the electronic equipment determines whether to start a voice signal recognition function responding to the voice instruction or not based on the response priority carried by the broadcast message and the response priority of the electronic equipment. Therefore, compared with the mode that the electronic equipment starts the voice signal recognition function responding to the voice instruction as long as the awakening voice is detected, the electronic equipment with high response priority can be preferentially made to start the voice signal recognition function responding to the voice instruction, the situation that the electronic equipment with low priority and the electronic equipment with the awakening voice also start the voice signal recognition function responding to the voice instruction is reduced, and therefore when only one electronic equipment with high response priority needs to be awakened, a plurality of electronic equipment which are around and detect the awakening voice cannot be awakened simultaneously, and the experience of using the electronic equipment by a user is improved. In the embodiment of the present disclosure, wireless communication is performed based on the bluetooth scanning function to wake up the electronic device, and compared with wireless communication performed based on a wireless fidelity (wifi) function between the electronic devices in the same local area network, only a wireless communication mode for waking up the electronic devices accessed to the same local area network can be realized, all the electronic devices in a set spatial range can be scanned based on the bluetooth scanning function, and nearby wake-up of the electronic devices in the set spatial range can be realized. As shown in fig. 4, an embodiment of the present disclosure provides a flowchart of a method for waking up a device, as shown in fig. 4, where the method includes the following steps:
and 41, responding to the detection of the awakening voice, and sending the broadcast message based on a Bluetooth protocol.
In one embodiment, the wake-up voice may be a voice signal emitted by a user for controlling the electronic device. Here, the wake-up voice may be a voice signal having a preset characteristic. For example, the wake-up signal may be a wake-up voice containing the keyword "xxx". Here, the preset feature of the wake-up signal may be stored in the electronic device, and when the electronic device receives the voice signal, the voice signal is compared with a voice signal corresponding to the preset feature stored in the electronic device to determine whether the voice signal is the wake-up signal. That is, when the electronic device receives a voice signal, it first determines whether the voice signal is a voice signal conforming to a predetermined characteristic, and only if the voice signal is a voice signal conforming to the predetermined characteristic, a further response operation is performed on the voice signal. For example, it is determined whether the volume of the voice signal is greater than a set volume threshold value, or the like.
In one embodiment, the operating states of the electronic device include a sleep state and an active state. When the electronic device is in a sleep mode, the function of receiving the voice signal is turned on, and the functions other than the function of receiving the voice signal are turned off. For example, a function of receiving a voice signal is turned on, and a bluetooth scan function, a broadcast function, and the like are turned off. The electronic device is only woken up by the wake-up voice with the preset characteristics, and the functions except the function of receiving the voice signal can be turned on. At this time, the electronic device enters an operating state, and the electronic device entering the operating state may respond to an operation instructed by the execution of the voice instruction. Therefore, the electric energy of the electronic equipment is saved, and the standby time of the electronic equipment is prolonged.
In one embodiment, the wake-up tone may be detected periodically. Referring again to fig. 3, the cycle may be divided into a sleep period and a run period. When the electronic equipment is in the dormant period, the electronic equipment stops detecting the awakening voice; and when the electronic equipment is in the operation period, the electronic equipment detects the awakening voice. Here, the ratio of the duration of the sleep period to the duration of the operation period may be determined according to the frequency with which the electronic device is awakened. When the frequency of the electronic device being awakened is greater than the frequency threshold, the time length ratio of the time length of the sleep period to the time length of the operation period may be set to be less than the time length ratio threshold. When the frequency of waking up the electronic device is less than the frequency threshold, the time length ratio of the time length of the sleep period to the time length of the operation period may be set to be greater than the time length ratio threshold. Therefore, the electronic equipment can be ensured to work in a low-energy consumption state, and the electric energy is saved.
In one embodiment, the wake-up signal is determined to be detected in response to the electronic device receiving a voice signal and the voice signal having a predetermined characteristic. In one embodiment, the voice signal having the predetermined characteristic may be a voice signal generated by the user calling out a keyword of "xxx" and/or a volume of the voice signal is greater than a set volume threshold. For example, if the voice signal received by the television is a voice signal generated by calling out the keyword "play" by the user and the volume of the voice signal is greater than the volume threshold a value set by the television, the electronic device determines that the wake-up signal is detected.
In one embodiment, the broadcast message may carry the following information: a device type of the electronic device, a response priority of the electronic device, and a volume at which the wake-up voice is received. Here, the device type is used to identify the kind of the electronic device. Here, the response priority of the electronic device may be a priority of turning on a voice signal recognition function in response to a voice instruction. For example, the response priority of the first electronic device is higher than the response priority of the second electronic device, and when the first electronic device and the second electronic device simultaneously detect a wake-up voice, the first electronic device preferentially turns on a voice signal recognition function in response to a voice command.
In one embodiment, only the device type of the electronic device (e.g., television) and the volume at which the wake-up voice was received are carried in the broadcast message. After receiving the broadcast message, the other electronic device (e.g., a loudspeaker) may determine a priority of sending a response of the electronic device according to the device type of the electronic device carried. Here, it may be the first electronic device that transmits the broadcast message, and the other electronic devices may be the second electronic devices.
In one embodiment, in response to the response priority carried by the broadcast message being higher than the response priority of the second electronic device, the second electronic device may not turn on the voice signal recognition function in response to the voice instruction.
In one embodiment, in response to each broadcast message carrying a response priority lower than the response priority of the second electronic device, the second electronic device may turn on a voice signal recognition function in response to the voice command.
In one embodiment, in response to that the response priority carried by each broadcast message is equal to the response priority of the second electronic device, the second electronic device determines whether the second electronic device starts a voice signal recognition function responding to the voice command according to the volume of the detected wake-up voice carried by each broadcast message and the volume of the wake-up voice detected by the second electronic device. In an embodiment, when the volume of the detected wake-up voice carried by each broadcast message is greater than the volume of the wake-up voice detected by the second electronic device, the second electronic device may not turn on a voice signal recognition function responding to the voice instruction; when the volume of the detected wake-up voice carried by each broadcast message is smaller than the volume of the wake-up voice detected by the second electronic device, the second electronic device may start a voice signal recognition function responding to a voice instruction.
As shown in fig. 5, a flowchart of a method for waking up a device is provided in an embodiment of the present disclosure, and as shown in fig. 5, the determining, based on a response priority carried in the broadcast message and a response priority of the electronic device, whether the electronic device turns on a voice signal recognition function responding to a voice instruction includes:
step 51, in response to that the response priority carried by at least one broadcast message received in a preset time period is higher than the response priority of the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
responding to the response priority carried by each broadcast message received in a preset time period and lower than the response priority of the electronic equipment, and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and in response to that the response priority carried by each broadcast message received in a preset time period is equal to the response priority of the electronic equipment, determining whether the electronic equipment starts a voice signal recognition function responding to a voice instruction according to the volume of the detected awakening voice carried by each broadcast message and the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the response priority of the electronic device may be preset. Here, N priority levels may be set, and the user may set a response priority level of the electronic device. Here, N is a positive integer of 1 or more. For example, 3 response priority levels are set, which are a first response priority, a second response priority, and a third response priority, respectively, wherein the first response priority, the second response priority, and the third response priority are ranked from high to low. The user may set the priority of the electronic device to the first response priority when initializing the electronic device. In one embodiment, the response priority of the first electronic device is a first response priority, the response priority of the second electronic device is a second response priority, and the response priority of the first electronic device is higher than the response priority of the second electronic device. Here, the electronic device of high response priority may preferentially turn on the voice signal recognition function in response to the voice instruction.
In one embodiment, after receiving the broadcast messages, the electronic device performs an operation of comparing the response priorities of the electronic device with the response priorities carried in each broadcast message one by one, and determines a size relationship between the response priorities of the electronic device and the response priorities carried in each broadcast message. Here, in response to the magnitude of the response priority carried in at least one broadcast message being larger than the response priority of the electronic device, the operation of comparing the response priorities of the electronic devices one by one with the response priorities carried in the respective broadcast messages may be stopped.
In one embodiment, after receiving the broadcast messages, the electronic device may rank the response priorities carried in each broadcast message, and determine the response priority with the highest response priority. Then, the response priority of the electronic device is compared with the highest response priority to obtain a comparison result.
In one embodiment, in a preset time period, after receiving each broadcast message, the electronic device performs an operation of comparing the response priority of the electronic device with the response priority carried in the broadcast message, and obtains a comparison result.
In one embodiment, after the electronic device receives each broadcast message within a preset time period, that is, after a timer of the preset time period expires, the electronic device performs an operation of comparing the response priority of the electronic device with the response priority carried in the broadcast message, so as to obtain a comparison result.
In one embodiment, the voice signal recognition function responsive to the voice instruction may be that the electronic device performs an operation indicated by the voice instruction after receiving the voice instruction. For example, after receiving the voice of the "power off" keyword called out by the user, the electronic device performs the power off operation. In one embodiment, after the voice signal recognition function responding to the voice command is turned on, the electronic device executes the operation indicated by the voice command after receiving the voice command. When the voice signal recognition function responding to the voice command is not started, the electronic equipment cannot execute the operation indicated by the voice command after receiving the voice command.
In one embodiment, the preset period may be determined according to a user's operation. For example, the preset time period is determined according to a received operation instruction of the user. In one embodiment, a setting page of the electronic device may set a plurality of preset time periods for a user to select, and when the electronic device is initialized, one preset time period may be selected according to an operation instruction of the user. Here, when the time delay of the electronic device required to respond to the voice command is smaller than a time delay threshold value, setting a preset time period smaller than the time period threshold value; and when the time delay of the electronic equipment for responding to the voice command is required to be greater than the time delay threshold, setting the preset time interval to be greater than the time interval threshold. Thus, the electronic equipment can respond to the voice command in time. Therefore, the time delay of the electronic equipment responding to the voice instruction can be flexibly adapted to the setting of the preset time period.
As shown in fig. 6, a flowchart of a method for waking up a device is provided in an embodiment of the present disclosure, and as shown in fig. 6, the determining, according to a volume of the detected wake-up voice carried in each broadcast message and a volume of the wake-up voice detected by the electronic device, whether the electronic device responds to a voice signal recognition function of a voice instruction includes:
step 61, in response to that the volume of the detected wake-up voice carried by at least one broadcast message is greater than the volume of the wake-up voice detected by the electronic device, determining that the electronic device does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction in response to that the volume of the detected awakening voice carried by each broadcast message is smaller than the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the electronic device compares the volume of the wake-up voice detected by the electronic device with the volume of the wake-up voice detected in each broadcast message, and determines the relationship between the volume of the wake-up voice detected by the electronic device and the volume of the wake-up voice detected in each broadcast message. Here, in response to that the volume of the detected wake-up voice carried in at least one broadcast message is greater than the volume of the detected wake-up voice of the electronic device, the operation of comparing the volume of the wake-up voice detected by the electronic device with the volume of the detected wake-up voice carried in each broadcast message is stopped.
In an embodiment, the electronic device may sequence the detected volumes of the wake-up voices carried in the broadcast messages, and determine the detected volume of the wake-up voice with the largest detected volume of the wake-up voices. Then, comparing the volume of the wake-up voice detected by the electronic equipment with the highest detected volume of the wake-up voice to obtain a comparison result.
As shown in fig. 7, an embodiment of the present disclosure provides a flowchart of a method for waking up a device, and as shown in fig. 7, the method further includes:
step 71, in response to that the broadcast message is not scanned in the preset time period, determining that the electronic device starts a voice signal recognition function responding to a voice instruction.
In one embodiment, the preset period may be determined according to a user's operation. For example, the preset time period is determined according to a received operation instruction of the user. In one embodiment, a setting page of the electronic device may set a plurality of preset time periods for a user to select, and when the electronic device is initialized, one preset time period may be selected according to an operation instruction of the user. Here, when the time delay of the electronic device required to respond to the voice command is smaller than a time delay threshold value, setting a preset time period smaller than the time period threshold value; and when the time delay of the electronic equipment for responding to the voice command is required to be greater than the time delay threshold, setting the preset time interval to be greater than the time interval threshold. Thus, the electronic equipment can respond to the voice command in time. Therefore, the time delay of the electronic equipment responding to the voice instruction can be flexibly adapted to the setting of the preset time period.
To facilitate an understanding of any embodiment of the disclosure, the technical solutions of the disclosure are further explained by the following exemplary embodiments.
Example 1:
in this example, the scene is applied to a smart home, and electronic devices in the smart home include a sound box, a television and a desk lamp. The method for waking up the equipment comprises the following steps:
step a1, the user calls out the awakening word of the love classmate to awaken the sound box. After each electronic device is awakened, a Low power consumption Bluetooth (BLE) scanning function and a broadcasting function are simultaneously started. Wherein a Bluetooth Low Energy (BLE) scanning function is used to scan for broadcast messages. The broadcast function is used to send the broadcast message. The broadcast message carries: the device type of the electronic device, the response priority of the electronic device, and the volume at which the electronic device receives the wake-up word.
Step a2, in a preset time period, if the sound box scans the broadcast message and the sound box determines that the response priority of the television is higher than that of the sound box according to the response priority of the television carried by the broadcast message, the sound box determines to close the voice recognition function responding to the voice instruction and does not perform Natural Language Processing (NLP) recognition any more.
Step a3, in a preset time period, if the sound box scans the broadcast message and determines that the corresponding priority of all the electronic devices (television and desk lamp) is less than the response priority of the sound box according to the response priority of the electronic devices carried by the broadcast message, the sound box starts the voice recognition function responding to the voice instruction and performs Natural Language Processing (NLP) recognition outside the preset time period, namely after the timer indicating the preset time period is overtime.
Step a4, if the broadcast message sent by the electronic device is not scanned in the preset time period, the sound box will start the voice recognition function responding to the voice instruction to perform Natural Language Processing (NLP) recognition.
Step a5, if the scanned broadcast message of the electronic device and the loudspeaker box determine that the electronic device sending the broadcast message is the same type of device according to the device type, judging whether to perform Natural Language Processing (NLP) recognition according to the volume of the wake-up word received by the electronic device sending the broadcast message. If the volume of the awakening word received by the electronic equipment sending the broadcast message is larger than that of the awakening word received by the sound box, the sound box defaults to close the voice recognition function responding to the voice instruction and does not perform Natural Language Processing (NLP) recognition; otherwise, the sound box starts a voice recognition function responding to the voice command, and Natural Language Processing (NLP) recognition is carried out.
Fig. 8 provides an apparatus for waking up a device according to an exemplary embodiment, where the apparatus for waking up a device is applied to an electronic device; as shown in fig. 8, the apparatus includes a detection module 81, an activation module 82, a scanning module 83, and a determination module 84; wherein the content of the first and second substances,
the detection module 81 is configured to detect a wake-up voice;
the enabling module 82 is configured to: in response to detecting the wake-up voice, starting a Bluetooth scanning function;
the scanning module 83 is configured to scan, based on the bluetooth scanning function, a broadcast message sent based on the detection of the wake-up voice; wherein, the broadcast message at least carries a response priority;
the determining module 84 is configured to determine whether the electronic device starts a voice signal recognition function responding to a voice instruction based on the response priority carried in the broadcast message and the response priority of the electronic device.
In one embodiment, the apparatus further comprises a sending module 85; wherein the content of the first and second substances,
the sending module is configured to: in response to detecting the wake-up voice, sending the broadcast message based on a Bluetooth protocol.
In one embodiment, the determining module 84 is further configured to:
in response to that the response priority carried by at least one broadcast message received in a preset time period is higher than the response priority of the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
responding to the response priority carried by each broadcast message received in a preset time period and lower than the response priority of the electronic equipment, and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and in response to that the response priority carried by each broadcast message received in a preset time period is equal to the response priority of the electronic equipment, determining whether the electronic equipment starts a voice signal recognition function responding to a voice instruction according to the volume of the detected awakening voice carried by each broadcast message and the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the determining module 84 is further configured to:
in response to that the volume of the detected awakening voice carried by at least one broadcast message is larger than the volume of the awakening voice detected by the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction in response to that the volume of the detected awakening voice carried by each broadcast message is smaller than the volume of the awakening voice detected by the electronic equipment.
In one embodiment, the determining module 84 is further configured to:
and in response to the fact that the broadcast message is not scanned in the preset time period, determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction.
An embodiment of the present disclosure further provides an electronic device, which includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when the executable instructions are executed, the control method of any embodiment of the disclosure is realized.
The memory may include various types of storage media, which are non-transitory computer storage media capable of continuing to remember the information stored thereon after a communication device has been powered down.
The processor may be connected to the memory via a bus or the like for reading the executable program stored on the memory.
Embodiments of the present disclosure also provide a computer-readable storage medium storing an executable program, wherein the executable program, when executed by a processor, implements the control method according to any embodiment of the present disclosure. For example, at least one of the methods shown in fig. 1 to 3 is implemented.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an electronic device 600 according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, electronic device 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices 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 or optical disks.
Power supply component 606 provides power to the various components of electronic device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and a user. In some embodiments, the screen 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 an input signal 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 boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the electronic device 600, the sensor component 614 may also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, orientation or acceleration/deceleration of the electronic device 600, and a change in the temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the electronic device 600 and other devices in a wired or wireless manner. The electronic device 600 may 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 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 820 of the electronic device 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A method for waking up a device, wherein the method is applied to an electronic device, and the method comprises the following steps:
detecting a wake-up voice;
in response to detecting the wake-up voice, starting a Bluetooth scanning function;
scanning, based on the Bluetooth scanning function, broadcast messages sent based on the detection of the wake-up voice; wherein, the broadcast message at least carries a response priority;
and determining whether the electronic equipment starts a voice signal recognition function responding to the voice instruction or not based on the response priority carried by the broadcast message and the response priority of the electronic equipment.
2. The method of claim 1, wherein the method further comprises:
in response to detecting the wake-up voice, sending the broadcast message based on a Bluetooth protocol.
3. The method according to any one of claims 1 to 2, wherein the determining whether the electronic device starts a voice signal recognition function for responding to the voice command based on the response priority carried in the broadcast message and the response priority of the electronic device includes:
in response to that the response priority carried by at least one broadcast message received in a preset time period is higher than the response priority of the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
responding to the response priority carried by each broadcast message received in a preset time period and lower than the response priority of the electronic equipment, and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and in response to that the response priority carried by each broadcast message received in a preset time period is equal to the response priority of the electronic equipment, determining whether the electronic equipment starts a voice signal recognition function responding to a voice instruction according to the volume of the detected awakening voice carried by each broadcast message and the volume of the awakening voice detected by the electronic equipment.
4. The method of claim 3, wherein the determining whether the electronic device responds to a voice signal recognition function of a voice instruction according to the volume of the detected wake-up voice carried by each broadcast message and the volume of the wake-up voice detected by the electronic device comprises:
in response to that the volume of the detected awakening voice carried by at least one broadcast message is larger than the volume of the awakening voice detected by the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction; alternatively, the first and second electrodes may be,
and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction in response to that the volume of the detected awakening voice carried by each broadcast message is smaller than the volume of the awakening voice detected by the electronic equipment.
5. The method of claim 3, wherein the method further comprises:
and in response to the fact that the broadcast message is not scanned in the preset time period, determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction.
6. The device for waking up the equipment is applied to the electronic equipment and comprises a detection module, a starting module, a scanning module and a determination module; wherein the content of the first and second substances,
the detection module is used for detecting the awakening voice;
the starting module is used for: in response to detecting the wake-up voice, starting a Bluetooth scanning function;
the scanning module is used for scanning broadcast messages sent based on the detected awakening voice based on the Bluetooth scanning function; wherein, the broadcast message at least carries a response priority;
the determining module is configured to determine whether the electronic device starts a voice signal recognition function for responding to a voice instruction based on the response priority carried in the broadcast message and the response priority of the electronic device.
7. The apparatus of claim 6, wherein the apparatus further comprises a transmitting module; wherein the content of the first and second substances,
the sending module is configured to: in response to detecting the wake-up voice, sending the broadcast message based on a Bluetooth protocol.
8. The apparatus of any of claims 6 to 7, wherein the determining means is further configured to:
in response to that the response priority carried by at least one broadcast message received in a preset time period is higher than the response priority of the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
responding to the response priority carried by each broadcast message received in a preset time period and lower than the response priority of the electronic equipment, and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and in response to that the response priority carried by each broadcast message received in a preset time period is equal to the response priority of the electronic equipment, determining whether the electronic equipment starts a voice signal recognition function responding to a voice instruction according to the volume of the detected awakening voice carried by each broadcast message and the volume of the awakening voice detected by the electronic equipment.
9. The apparatus of claim 8, wherein the means for determining is further configured to:
in response to that the volume of the detected awakening voice carried by at least one broadcast message is larger than the volume of the awakening voice detected by the electronic equipment, determining that the electronic equipment does not start a voice signal recognition function responding to a voice instruction;
alternatively, the first and second electrodes may be,
and determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction in response to that the volume of the detected awakening voice carried by each broadcast message is smaller than the volume of the awakening voice detected by the electronic equipment.
10. The apparatus of claim 8, wherein the means for determining is further configured to:
and in response to the fact that the broadcast message is not scanned in the preset time period, determining that the electronic equipment starts a voice signal recognition function responding to a voice instruction.
11. A communication device, comprising:
an antenna;
a memory;
a processor, coupled to the antenna and the memory, respectively, configured to control the transceiving of the antenna by executing computer-executable instructions stored on the memory, and to implement the method provided by any of claims 1 to 5.
12. A computer storage medium having stored thereon computer-executable instructions capable, when executed by a processor, of carrying out the method provided in any one of claims 1 to 5.
CN202011052496.9A 2020-09-29 2020-09-29 Method and device for waking up equipment, electronic equipment and storage medium Pending CN112201242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011052496.9A CN112201242A (en) 2020-09-29 2020-09-29 Method and device for waking up equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011052496.9A CN112201242A (en) 2020-09-29 2020-09-29 Method and device for waking up equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112201242A true CN112201242A (en) 2021-01-08

Family

ID=74008511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011052496.9A Pending CN112201242A (en) 2020-09-29 2020-09-29 Method and device for waking up equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112201242A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116074150A (en) * 2023-03-02 2023-05-05 广东浩博特科技股份有限公司 Switch control method and device for intelligent home and intelligent home
WO2023240649A1 (en) * 2022-06-17 2023-12-21 北京小米移动软件有限公司 Method and apparatus for updating wake-up priority
CN117135733B (en) * 2023-10-26 2024-01-30 深圳市欧思微电子有限公司 Intelligent dormancy control method and system for low-power consumption Bluetooth chip

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700304A (en) * 2000-07-10 2005-11-23 松下电器产业株式会社 Priority determination apparatus and priority determination method
US20140358535A1 (en) * 2013-05-28 2014-12-04 Samsung Electronics Co., Ltd. Method of executing voice recognition of electronic device and electronic device using the same
CN110335601A (en) * 2019-07-10 2019-10-15 三星电子(中国)研发中心 Voice assistant equipment and its voice awakening method
CN110349578A (en) * 2019-06-21 2019-10-18 北京小米移动软件有限公司 Equipment wakes up processing method and processing device
CN110459221A (en) * 2019-08-27 2019-11-15 苏州思必驰信息科技有限公司 The method and apparatus of more equipment collaboration interactive voices
US20200043490A1 (en) * 2018-08-03 2020-02-06 Samsung Electronics Co., Ltd. Electronic device and method for determining electronic device to perform speech recognition
CN110784830A (en) * 2019-09-18 2020-02-11 华为技术有限公司 Data processing method, Bluetooth module, electronic device and readable storage medium
CN111369988A (en) * 2018-12-26 2020-07-03 华为终端有限公司 Voice awakening method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1700304A (en) * 2000-07-10 2005-11-23 松下电器产业株式会社 Priority determination apparatus and priority determination method
US20140358535A1 (en) * 2013-05-28 2014-12-04 Samsung Electronics Co., Ltd. Method of executing voice recognition of electronic device and electronic device using the same
US20200043490A1 (en) * 2018-08-03 2020-02-06 Samsung Electronics Co., Ltd. Electronic device and method for determining electronic device to perform speech recognition
CN111369988A (en) * 2018-12-26 2020-07-03 华为终端有限公司 Voice awakening method and electronic equipment
CN110349578A (en) * 2019-06-21 2019-10-18 北京小米移动软件有限公司 Equipment wakes up processing method and processing device
CN110335601A (en) * 2019-07-10 2019-10-15 三星电子(中国)研发中心 Voice assistant equipment and its voice awakening method
CN110459221A (en) * 2019-08-27 2019-11-15 苏州思必驰信息科技有限公司 The method and apparatus of more equipment collaboration interactive voices
CN110784830A (en) * 2019-09-18 2020-02-11 华为技术有限公司 Data processing method, Bluetooth module, electronic device and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023240649A1 (en) * 2022-06-17 2023-12-21 北京小米移动软件有限公司 Method and apparatus for updating wake-up priority
CN116074150A (en) * 2023-03-02 2023-05-05 广东浩博特科技股份有限公司 Switch control method and device for intelligent home and intelligent home
CN116074150B (en) * 2023-03-02 2023-06-09 广东浩博特科技股份有限公司 Switch control method and device for intelligent home and intelligent home
CN117135733B (en) * 2023-10-26 2024-01-30 深圳市欧思微电子有限公司 Intelligent dormancy control method and system for low-power consumption Bluetooth chip

Similar Documents

Publication Publication Date Title
US11924869B2 (en) Method and device for configuration and adjusting search space parameter
KR101837333B1 (en) Method and apparatus for awakening electronic device
KR101846752B1 (en) Method and device for turning on air conditioner
CN106604376B (en) Channel monitoring control method, device and user terminal
US10031575B2 (en) Method and device for waking up MCU chip
WO2020077575A1 (en) Bandwidth part switching method and apparatus
US9940828B2 (en) Home appliance control method and device
CN107608561B (en) Touch screen control method and device
RU2663212C2 (en) Method and device for starting energy-saving mode
US9928725B2 (en) Method and device for reminding user
JP2017532855A (en) Method and apparatus for operating intelligent electrical equipment
CN107919124B (en) Equipment awakening method and device
CN112201242A (en) Method and device for waking up equipment, electronic equipment and storage medium
CN108370544A (en) Implementation method, device, user equipment and the base station of discontinuous reception
RU2627940C2 (en) Method and device for controlling intelligent home power source
RU2632319C2 (en) Methods and apparatus for controlling wireless access point
CN112037787A (en) Wake-up control method, device and computer readable storage medium
US20170003728A1 (en) Method and device for waking up a controller
US20210345443A1 (en) Discontinuous reception configuration method and device
CN109862169B (en) Electronic equipment control method, device and storage medium
CN109522058B (en) Wake-up method, device, terminal and storage medium
CN111966412A (en) Method, device and storage medium for waking up terminal
CN110599711A (en) Doorbell prompt control method and device and storage medium
CN110928589A (en) Information processing method, device and storage medium
CN107979695B (en) Network message receiving method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination